/*
Theme Name: ASPEBECAN
Theme URI: https://aspebecan.com/
Author: ASPEBECAN
Description: Tema personalizado de ASPEBECAN
Version: 1.1
*/

:root {
    --gold: #c9a24a;
    --gold-dark: #a98232;
    --black: #111111;
    --white: #ffffff;
    --gray: #f7f7f5;
    --text: #222222;
    --muted: #666666;
    --border: #e7e2d6;
    --container: 1180px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: auto;
}

/* =========================
   HEADER
========================= */

.site-header {
    height: 86px;
    background: #fff;
    border-bottom: 1px solid #eee;
    position: relative;
    z-index: 1000;
}

.header-inner {
    height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.site-branding {
    display: flex;
    align-items: center;
    min-width: 210px;
}

.site-branding .custom-logo-link,
.site-branding .text-logo {
    display: block;
}

.site-branding img {
    width: 205px;
    height: auto;
}

.main-nav,
.main-nav .menu {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}

.main-nav a {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    transition: .2s;
}

.main-nav a:hover,
.main-nav .active {
    color: var(--gold-dark);
}

.nav-arrow {
    font-size: 10px;
    margin-left: 4px;
}

.header-button,
.btn-gold {
    background: var(--gold);
    color: #fff;
    padding: 15px 24px;
    border-radius: 5px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    transition: .25s;
    border: 1px solid var(--gold);
}

.header-button:hover,
.btn-gold:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
}

.mobile-menu {
    display: none;
    border: 0;
    background: transparent;
    font-size: 28px;
    cursor: pointer;
}

/* =========================
   HERO
========================= */

.hero {
    min-height: 480px;
    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,.90) 0%,
            rgba(0,0,0,.72) 42%,
            rgba(0,0,0,.10) 100%
        ),
        var(--hero-image, linear-gradient(135deg, #231a13, #765426)) center/cover no-repeat;
    color: white;
}

.hero-inner {
    min-height: 480px;
    display: flex;
    align-items: center;
}

.hero-content {
    width: 560px;
    padding: 50px 0;
}

.hero-kicker {
    color: var(--gold);
    font-size: 19px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.hero h1 {
    font-size: clamp(44px, 5vw, 68px);
    line-height: 1.05;
    margin-bottom: 22px;
    font-weight: 800;
}

.hero p {
    font-size: 18px;
    max-width: 540px;
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-outline {
    padding: 15px 25px;
    border: 1px solid var(--gold);
    border-radius: 5px;
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    transition: .25s;
}

.btn-outline:hover {
    background: var(--gold);
}

/* =========================
   SECTORS
========================= */

.sectors {
    background: #fff;
    border-bottom: 1px solid #eee;
}

.sectors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.sector {
    padding: 30px 20px;
    display: flex;
    align-items: center;
    gap: 18px;
    border-right: 1px solid #eee;
}

.sector:last-child {
    border-right: 0;
}

.sector-icon {
    width: 68px;
    height: 68px;
    min-width: 68px;
    border: 1px solid var(--border);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--gold);
    font-size: 27px;
}

.sector h3 {
    font-size: 14px;
    margin-bottom: 4px;
}

.sector p {
    font-size: 12px;
    color: var(--muted);
}

/* =========================
   ADVANTAGES
========================= */

.advantages {
    padding: 80px 0;
    background: #fff;
}

.advantages-layout {
    display: grid;
    grid-template-columns: 280px 1fr 255px;
    gap: 45px;
    align-items: start;
}

.section-title h2 {
    font-size: 32px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.gold-line {
    width: 45px;
    height: 3px;
    background: var(--gold);
    margin-bottom: 20px;
}

.section-title p {
    color: var(--muted);
    font-size: 14px;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.advantage {
    padding: 22px;
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
    text-align: center;
}

.advantage-icon {
    color: var(--gold);
    font-size: 30px;
    margin-bottom: 8px;
}

.advantage h3 {
    font-size: 13px;
    line-height: 1.3;
}

.advantage:nth-child(3n) {
    border-right: 0;
}

.advantage:nth-last-child(-n+3) {
    border-bottom: 0;
}

.more-link {
    display: block;
    text-align: center;
    margin-top: 15px;
    font-size: 13px;
    text-decoration: underline;
    font-weight: 700;
}

/* =========================
   MEMBERSHIP CARD
========================= */

.membership-card {
    background: #151515;
    color: #fff;
    padding: 30px;
    border-radius: 9px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0,0,0,.15);
}

.membership-icon {
    width: 52px;
    height: 52px;
    background: var(--gold);
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin: 0 auto 18px;
}

.membership-card h3 {
    font-size: 14px;
    text-transform: uppercase;
}

.price {
    color: var(--gold);
    font-size: 38px;
    font-weight: 800;
    margin: 8px 0 18px;
}

.price small {
    font-size: 14px;
    color: white;
}

.membership-list {
    list-style: none;
    text-align: left;
    font-size: 12px;
    margin-bottom: 20px;
}

.membership-list li {
    margin: 8px 0;
}

.membership-list li::before {
    content: "✓";
    color: var(--gold);
    margin-right: 8px;
    font-weight: bold;
}

.membership-card .btn-gold {
    width: 100%;
    padding: 13px;
}

/* =========================
   SERVICES
========================= */

.services {
    padding: 70px 0 90px;
    background: #fff;
}

.services-title {
    text-align: center;
    margin-bottom: 35px;
}

.services-title h2 {
    font-size: 30px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
}

.service-card {
    border: 1px solid #e8e8e8;
    border-radius: 5px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,.06);
    transition: .25s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,.10);
}

.service-image {
    height: 135px;
    background-position: center;
    background-size: cover;
}

.service-body {
    padding: 20px 14px;
    text-align: center;
}

.service-body h3 {
    font-size: 12px;
    margin-bottom: 9px;
}

.service-body p {
    color: var(--muted);
    font-size: 11px;
}

/* =========================
   CTA
========================= */

.cta {
    background:
        linear-gradient(
            90deg,
            rgba(15,15,15,.97),
            rgba(15,15,15,.85)
        ),
        var(--cta-image, linear-gradient(135deg, #111, #5d431e)) center/cover;
    color: white;
    padding: 45px 0;
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.cta-left {
    display: flex;
    align-items: center;
    gap: 22px;
}

.cta-icon {
    font-size: 55px;
    color: var(--gold);
}

.cta h2 {
    font-size: 28px;
    line-height: 1.25;
}

.cta-right {
    text-align: center;
}

.cta-right .btn-outline {
    display: inline-flex;
}

.cta-right p {
    font-size: 12px;
    margin-top: 8px;
}

/* =========================
   STATS
========================= */

.stats {
    padding: 35px 0;
    background: #fff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.stat {
    text-align: center;
    border-right: 1px solid #eee;
}

.stat:last-child {
    border: 0;
}

.stat-icon {
    color: var(--gold);
    font-size: 35px;
}

.stat strong {
    display: block;
    font-size: 27px;
}

.stat span {
    font-size: 12px;
    color: var(--muted);
}

/* =========================
   FOOTER
========================= */

.site-footer {
    background: #111;
    color: #fff;
    padding: 50px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.site-footer h3 {
    color: var(--gold);
    margin-bottom: 15px;
    font-size: 15px;
}

.site-footer p,
.site-footer a {
    color: #bbb;
    font-size: 13px;
}

.site-footer li {
    list-style: none;
    margin: 7px 0;
}

.copyright {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #333;
    text-align: center;
    color: #888;
    font-size: 11px;
}

/* =========================
   WHATSAPP
========================= */

.whatsapp {
    position: fixed;
    right: 22px;
    bottom: 22px;
    background: #25d366;
    color: white;
    border-radius: 50px;
    padding: 13px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(0,0,0,.25);
    z-index: 999;
}

.whatsapp-icon {
    font-size: 23px;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1050px) {

    .main-nav {
        gap: 15px;
    }

    .header-button {
        padding: 12px 15px;
    }

    .advantages-layout {
        grid-template-columns: 1fr;
    }

    .membership-card {
        max-width: 350px;
        margin: auto;
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 800px) {

    .site-header,
    .header-inner {
        height: 72px;
    }

    .logo img {
        width: 165px;
    }

    .main-nav,
    .header-button {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    .main-nav.mobile-open {
        display: flex;
        position: absolute;
        top: 72px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 25px;
        border-top: 1px solid #eee;
        box-shadow: 0 10px 20px rgba(0,0,0,.1);
    }

    .hero,
    .hero-inner {
        min-height: 570px;
    }

    .hero-content {
        width: 100%;
    }

    .hero h1 {
        font-size: 43px;
    }

    .sectors-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sector:nth-child(2) {
        border-right: 0;
    }

    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .advantage:nth-child(3n) {
        border-right: 1px solid #eee;
    }

    .advantage:nth-child(2n) {
        border-right: 0;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-inner {
        flex-direction: column;
        text-align: center;
    }

    .cta-left {
        flex-direction: column;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .stat:nth-child(2) {
        border: 0;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 500px) {

    .container {
        width: min(100% - 28px, 1180px);
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons a {
        width: 100%;
        text-align: center;
    }

    .sectors-grid {
        grid-template-columns: 1fr;
    }

    .sector {
        border-right: 0;
        border-bottom: 1px solid #eee;
    }

    .advantages {
        padding: 55px 0;
    }

    .advantages-grid {
        grid-template-columns: 1fr 1fr;
    }

    .advantage {
        padding: 16px 8px;
    }

    .services-grid {
        grid-template-columns: 1fr 1fr;
    }

    .service-image {
        height: 110px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .whatsapp {
        right: 12px;
        bottom: 12px;
        padding: 11px 15px;
    }
}

/* WordPress navigation and accessibility. */
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.text-logo { color: var(--black); font-size: 23px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.text-logo::before { content: "✦"; color: var(--gold); font-size: 40px; vertical-align: middle; margin-right: 9px; }
.text-logo span { display: inline-block; margin-left: 7px; font-size: 8px; font-weight: 700; letter-spacing: .02em; line-height: 1.15; text-transform: uppercase; }
.site-branding .custom-logo-link { line-height: 0; }
.site-branding .custom-logo { max-height: 64px; object-fit: contain; width: auto; }
.main-nav .menu { margin: 0; padding: 0; }
.main-nav li { list-style: none; position: relative; }
.main-nav .sub-menu { display: none; }
.main-nav a:focus-visible, .mobile-menu:focus-visible, .header-button:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.service-card:nth-child(2) .service-image { background-position: 65% center; filter: sepia(.35) saturate(.75); }
.service-card:nth-child(3) .service-image { background-position: 80% center; filter: grayscale(.25) contrast(1.1); }
.service-card:nth-child(4) .service-image { background-position: 55% center; filter: sepia(.5) brightness(1.1); }
.service-card:nth-child(5) .service-image { background-position: 72% center; filter: saturate(.6) brightness(.9); }
.service-card:nth-child(6) .service-image { background-position: 92% center; filter: sepia(.25) contrast(1.15); }

@media (max-width: 1050px) {
    .header-inner { gap: 18px; }
    .site-branding { min-width: 150px; }
    .main-nav, .main-nav .menu { gap: 13px; }
}

@media (max-width: 800px) {
    .site-branding .custom-logo { max-height: 54px; }
    .main-nav { display: none; }
    .main-nav.mobile-open { display: block; position: absolute; top: 72px; left: 0; width: 100%; background: #fff; border-top: 1px solid #eee; box-shadow: 0 12px 24px rgba(0,0,0,.12); }
    .main-nav.mobile-open .menu { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 20px 20px; }
    .main-nav.mobile-open a { display: block; padding: 13px 4px; }
    .mobile-menu { width: 42px; height: 42px; display: flex; flex-direction: column; justify-content: center; gap: 5px; align-items: center; }
    .mobile-menu > span:not(.screen-reader-text) { width: 25px; height: 2px; background: var(--black); transition: transform .2s ease; }
    .mobile-menu[aria-expanded="true"] > span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .mobile-menu[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
    .mobile-menu[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 500px) {
    .site-branding { min-width: 0; }
    .text-logo { font-size: 19px; }
    .text-logo span { display: none; }
    .text-logo::before { font-size: 30px; margin-right: 5px; }
    .site-branding .custom-logo { max-width: 185px; }
    .sector:last-child, .advantage:nth-last-child(-n+2) { border-bottom: 0; }
}

.association-hero {
    min-height: 500px;
    display: flex;
    align-items: center;
    color: #fff;
    background:
        linear-gradient(90deg, rgba(0,0,0,.92), rgba(0,0,0,.64), rgba(0,0,0,.08)),
        var(--association-image) center/cover no-repeat;
}

.association-hero-content {
    max-width: 650px;
    padding: 70px 0;
}

.association-hero h1 {
    margin: 0 0 22px;
    font-size: clamp(42px, 5vw, 66px);
    line-height: 1.06;
}

.association-hero p {
    max-width: 570px;
    margin-bottom: 30px;
    font-size: 18px;
}

.hero-kicker,
.section-kicker {
    margin-bottom: 10px;
    color: var(--gold);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .12em;
}

.association-intro,
.association-benefits {
    padding: 90px 0;
}

.association-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 100px;
}

.association-intro h2,
.association-title h2,
.association-cta h2 {
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.12;
}

.association-copy {
    color: var(--muted);
    font-size: 17px;
}

.association-values {
    padding: 75px 0;
    background: #151515;
    color: #fff;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 45px;
}

.values-grid article {
    padding-left: 25px;
    border-left: 1px solid #555;
}

.values-grid span {
    color: var(--gold);
    font-size: 35px;
}

.values-grid h3 {
    margin: 8px 0;
    font-size: 23px;
}

.values-grid p {
    color: #ccc;
}

.association-title {
    max-width: 650px;
    margin-bottom: 40px;
}

.benefits-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-top: 1px solid #eee;
    border-left: 1px solid #eee;
}

.benefits-list article {
    display: flex;
    gap: 16px;
    padding: 25px;
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.benefits-list > article > span {
    color: var(--gold);
    font-size: 22px;
    font-weight: 800;
}

.benefits-list h3 {
    margin: 0 0 5px;
    font-size: 16px;
}

.benefits-list p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.association-cta {
    padding: 70px 0;
    color: #fff;
    background: #151515;
}

.association-cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 45px;
}

.association-cta-content > div {
    max-width: 720px;
}

.association-cta-content p:last-child {
    color: #ddd;
}

@media (max-width: 800px) {
    .association-intro-grid,
    .values-grid,
    .benefits-list {
        grid-template-columns: 1fr;
    }

    .association-intro-grid {
        gap: 30px;
    }

    .association-cta-content {
        align-items: flex-start;
        flex-direction: column;
    }

    .association-intro,
    .association-benefits {
        padding: 60px 0;
    }
}