/* RESET */

*{
margin:0;
padding:0;
box-sizing:border-box;
}

html{
scroll-behavior:smooth;
}

body{

background:
linear-gradient(
180deg,
#0F1D19 0%,
#11241F 50%,
#0F1D19 100%
);

font-family:'Inter',sans-serif;

color:#F5EFE4;

overflow-x:hidden;

}

/* NAVBAR */

.navbar{

position:fixed;

top:0;

left:0;

width:100%;

height:80px;

padding:0 20px;

display:flex;

justify-content:space-between;

align-items:center;

/*background:rgba(15,29,25,.95)*/

background:rgba(5,15,12,.55);

backdrop-filter:blur(20px);

-webkit-backdrop-filter:blur(20px);

z-index:999;

border-bottom:1px solid rgba(201,175,140,.08);

}

.navbar-logo img{

height: 70px;
    width: auto;
    display: block;

}

#menu-btn{

background:none;

border:none;

color:#C9AF8C;

font-size:2rem;

cursor:pointer;

}

/* MENÚ */

#mobile-menu{

position:fixed;

top:0;

right:-100%;

width:280px;

height:100vh;

background:#10211c;

background:rgba(5,15,12,.78);

backdrop-filter:blur(20px);

-webkit-backdrop-filter:blur(20px);

box-shadow:-10px 0 40px rgba(0,0,0,.25);

display:flex;

flex-direction:column;

padding:100px 30px;

gap:25px;

transition:.35s ease;

z-index:998;

border-left:1px solid rgba(201,175,140,.15);

}

#mobile-menu.active{

right:0;

}

#mobile-menu a{

color:#F5EFE4;

text-decoration:none;

font-size:1.05rem;

font-weight:500;

transition:.3s;

}

#mobile-menu a:hover{

color:#C9AF8C;

padding-left:10px;

}

/* HERO */

.hero {
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 100px 25px 40px;

    box-sizing: border-box;

    position: relative;
    overflow: hidden;
}

.hero-content {
    width: 100%;
    max-width: 600px;

    text-align: center;

    position: relative;
    z-index: 2;
}

.hero-logo {
    display: block;

    width: 100%;
    max-width: 240px;
    height: auto;

    margin: 0 auto 30px;
}

.hero h1{

font-family:'Cinzel',serif;

font-size:2.2rem;

line-height:1.2;

margin-bottom:20px;

color:#F5EFE4;

}

.hero p{

font-size:1rem;

line-height:1.8;

color:#d9d1c4;

margin-bottom:35px;

}

.hero-watermark{

position:absolute;

top:50%;

left:50%;

transform:translate(-50%,-50%);

width:min(700px,70vw);

max-width:80vw;

opacity:.04;

pointer-events:none;

z-index:1;

}

@media (max-width: 768px) {

    .hero {
        min-height: 100svh;
        padding: 95px 20px 35px;
    }

    .hero-content {
        width: 220px;
        max-width: 520px;
    }

    .hero-logo {
        max-width: 190px;
        margin: 0 auto 22px;
    }
}

/* BOTONES */

.hero-buttons{

display:flex;

flex-direction:column;

gap:15px;

}

.btn-primary{

background:#C9AF8C;

color:#0F1D19;

text-decoration:none;

padding:15px;

border-radius:14px;

font-weight:600;

transition:.3s;

}

.btn-primary:hover{

transform:translateY(-3px);

box-shadow:0 10px 25px rgba(201,175,140,.25);

}

.btn-secondary{

border:1px solid #C9AF8C;

color:#C9AF8C;

text-decoration:none;

padding:15px;

border-radius:14px;

font-weight:600;

transition:.3s;

}

.btn-secondary:hover{

background:#C9AF8C;

color:#0F1D19;

transform:translateY(-3px);

box-shadow:0 10px 25px rgba(201,175,140,.2);

}

/* =========================================
   BOTÓN MEMBRESÍA MAAT LEX
========================================= */

.membership-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 15px 28px;
    margin-top: 18px;

    background: linear-gradient(
        135deg,
        #b9975b 0%,
        #e0c27f 45%,
        #b9975b 100%
    );

    color: #0b2b24;
    border: 1px solid #e2c985;
    border-radius: 14px;

    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;

    cursor: pointer;
    overflow: hidden;

    box-shadow:
        0 0 0 rgba(185, 151, 91, 0),
        0 8px 25px rgba(0, 0, 0, 0.22);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;

    animation: membershipPulse 2.5s infinite;
}


/* BRILLO QUE RECORRE EL BOTÓN */

.membership-btn::before {
    content: "";
    position: absolute;

    top: -50%;
    left: -80%;

    width: 45%;
    height: 200%;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.65),
        transparent
    );

    transform: rotate(20deg);

    animation: membershipShine 3.2s infinite;
}


/* HOVER */

.membership-btn:hover {
    transform: translateY(-4px) scale(1.04);

    background: linear-gradient(
        135deg,
        #c5a35f,
        #f0d895,
        #c5a35f
    );

    box-shadow:
        0 0 25px rgba(213, 188, 140, 0.50),
        0 12px 30px rgba(0, 0, 0, 0.30);
}


/* PULSO DORADO */

@keyframes membershipPulse {

    0%, 100% {
        box-shadow:
            0 0 0 0 rgba(185, 151, 91, 0.35),
            0 8px 25px rgba(0, 0, 0, 0.22);
    }

    50% {
        box-shadow:
            0 0 0 9px rgba(185, 151, 91, 0),
            0 0 24px rgba(213, 188, 140, 0.35),
            0 8px 25px rgba(0, 0, 0, 0.22);
    }
}


/* REFLEJO */

@keyframes membershipShine {

    0% {
        left: -80%;
    }

    35%,
    100% {
        left: 140%;
    }
}


/* CELULAR */

@media (max-width: 768px) {

    .membership-btn {
        padding: 14px 24px;
        font-size: 0.95rem;
    }

}


/* ACCESIBILIDAD: QUITAR ANIMACIÓN SI EL
   USUARIO TIENE MOVIMIENTO REDUCIDO */

@media (prefers-reduced-motion: reduce) {

    .membership-btn,
    .membership-btn::before {
        animation: none;
    }

}

/* SECCIONES */

.resources-section{

padding:70px 25px;

max-width:1200px;

margin:auto;

}

.resources-grid{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

gap:25px;

margin-top:50px;

}

.resource-card{

background:rgba(255,255,255,.03);

border:1px solid rgba(201,175,140,.15);

border-radius:25px;

padding:30px;

transition:.3s ease;

}

.resource-card:hover{

transform:translateY(-6px);

border-color:#C9AF8C;

box-shadow:0 15px 35px rgba(0,0,0,.25);

}

.resource-card h3{

margin-bottom:15px;

color:#C9AF8C;

}

.resource-card p{

line-height:1.7;

margin-bottom:20px;

}

.resource-card a{

color:#C9AF8C;

text-decoration:none;

font-weight:600;

}

.resources-cta{

margin-top:60px;

text-align:center;

padding:40px;

background:rgba(255,255,255,.03);

border:1px solid rgba(201,175,140,.15);

border-radius:25px;

}

.resources-cta h3{

margin-bottom:15px;

}

.resources-cta p{

margin-bottom:25px;

opacity:.85;

}

/* FOOTER */

footer{

padding:70px 25px;

text-align:center;

border-top:1px solid rgba(201,175,140,.15);

}

footer img{

width:70px;

margin-bottom:20px;

}

footer h3{

font-family:'Cinzel',serif;

font-size:1.6rem;

margin-bottom:5px;

}

footer span{

color:#C9AF8C;

}

.footer-credit{

margin-top:35px;

font-size:.9rem;

opacity:.65;

}

.red{

color:#e53935;

}

/* DESKTOP */

@media(min-width:900px){

.hero h1{

font-size:3.2rem;

}

.hero p{

font-size:1.1rem;

}

.hero-buttons{

flex-direction:row;

justify-content:center;

}

.btn-primary,
.btn-secondary{

padding:16px 32px;

}

}

/* SERVICIOS */

.services{

padding:100px 25px;

max-width:1200px;

margin:auto;

}

.section-title{

font-family:'Cinzel',serif;

font-size:2rem;

text-align:center;

color:#C9AF8C;

margin-bottom:15px;



}

.section-subtitle{

text-align:center;

max-width:700px;

margin:auto;

margin-bottom:50px;

line-height:1.8;

color:#d9d1c4;

}

.services-grid{

display:grid;

grid-template-columns:1fr;

gap:20px;

}

.service-card{

background:rgba(255,255,255,.02);

border:1px solid rgba(201,175,140,.15);

border-radius:22px;

padding:25px;

text-decoration:none;

transition:.3s;

}

.service-card:hover{

transform:translateY(-8px);

border-color:#C9AF8C;

box-shadow:0 12px 35px rgba(0,0,0,.25);

}

.service-card h3{

font-family:'Cinzel',serif;

color:#C9AF8C;

margin-bottom:15px;

}

.service-card p{

color:#d9d1c4;

line-height:1.8;

margin-bottom:15px;

}

.service-card span{

color:#C9AF8C;

font-weight:600;

}

.secondary-services{

display:flex;

justify-content:center;

gap:15px;

flex-wrap:wrap;

margin-top:35px;

}

.secondary-services-title{

text-align:center;

margin-top:40px;

margin-bottom:15px;

color:#C9AF8C;

font-weight:600;

letter-spacing:1px;

}

.secondary-services a{

padding:12px 25px;

border:1px solid rgba(201,175,140,.25);

border-radius:50px;

text-decoration:none;

color:#f5e4e4;

transition:.3s;

}

.secondary-services a:hover{

transform:translateY(-2px);

border-color:#C9AF8C;

}

.secondary-services div{

padding:10px 18px;

border:1px solid rgba(201,175,140,.2);

border-radius:50px;

color:#C9AF8C;

}

@media(min-width:900px){

.services-grid{

grid-template-columns:repeat(2,1fr);

}

}

/* NOSOTROS */

.about{

padding:20px 25px; 

max-width:1200px; 

margin:auto;

}

.team-grid{

display:grid;

grid-template-columns:1fr;

gap:25px;

margin-top:40px;

}

.team-card{

background:rgba(255,255,255,.02);

border:1px solid rgba(201,175,140,.15);

border-radius:22px;

padding:25px;

text-align:center;

}

.team-photo{

width:120px;

height:120px;

border-radius:50%;

margin:auto;

margin-bottom:20px;

background:rgba(201,175,140,.1);

display:flex;

align-items:center;

justify-content:center;

color:#C9AF8C;

font-weight:600;

}

.team-card h3{

font-family:'Cinzel',serif;

color:#C9AF8C;

margin-bottom:10px;

}

.team-card p{

color:#d9d1c4;

line-height:1.7;

}

/* =========================================
   ZONAS DEL EQUIPO
========================================= */

.team-zone {
    width: 100%;
    margin-top: 45px;
}


/* TÍTULO DE CADA ZONA */

.team-zone-title {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 18px;

    max-width: 650px;

    margin: 0 auto 32px;
}


.team-zone-title h3 {
    margin: 0;

    color: #0b2b24;

    font-size: 1.35rem;
    font-weight: 600;

    white-space: nowrap;
}


/* LÍNEAS DORADAS */

.team-zone-title span {
    display: block;

    width: 70px;
    height: 1px;

    background-color: #b9975b;
}


/* =========================================
   ZONA NORTE
   Centrar las dos tarjetas
========================================= */

.team-grid-north {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    width: calc((100% - 25px) * 2 / 3);
    max-width: none;

    margin-left: auto;
    margin-right: auto;

    gap: 25px;
}


/* =========================================
   FOTO PROVISIONAL
========================================= */

.team-photo-placeholder {
    width: 120px;
    height: 120px;

    margin: 0 auto 25px;

    border-radius: 50%;

    background-color: #0b2b24;

    border: 2px solid #b9975b;

    display: flex;
    align-items: center;
    justify-content: center;
}


.team-photo-placeholder span {
    color: #d5bc8c;

    font-size: 1.6rem;
    font-weight: 600;
}


/* =========================================
   RESPONSIVE
========================================= */

/* CELULAR Y TABLET */
@media (max-width: 768px) {

    .team-zone {
        margin-top: 35px;
    }

    .team-zone-title {
        gap: 12px;
        padding: 0 20px;
        margin-bottom: 25px;
    }

    .team-zone-title h3 {
        font-size: 1.1rem;
    }

    .team-zone-title span {
        width: 35px;
    }

    /* En celular todas las tarjetas van una debajo de otra */
    .team-grid-north {
        width: 100%;
        grid-template-columns: 1fr;
        gap: 20px;
    }

}


/* =========================================
   COMPUTADORA
========================================= */

@media (min-width: 900px) {

    /* Zona Centro: 3 tarjetas por fila */
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }


    /* Zona Norte: 2 tarjetas del mismo tamaño,
       pero centradas */
    .team-grid.team-grid-north {
        grid-template-columns: repeat(2, 1fr);

        width: calc((100% - 25px) * 2 / 3);

        margin-left: auto;
        margin-right: auto;
    }

}

/* FAQ */

.faq-section{

padding:20px 25px;

max-width:900px;

margin:auto;

}

.faq-container{

margin-top:40px;

display:flex;

flex-direction:column;

gap:15px;

}

.faq-item{

border:1px solid rgba(201,175,140,.15);

border-radius:18px;

overflow:hidden;

background:rgba(255,255,255,.02);

}

.faq-question{

width:100%;

background:none;

border:none;

padding:20px;

display:flex;

justify-content:space-between;

align-items:center;

cursor:pointer;

color:#F5EFE4;

font-size:1rem;

font-weight:600;

text-align:left;

}

.faq-question span{

color:#C9AF8C;

font-size:1.4rem;

}

.faq-answer{

max-height:0;

overflow:hidden;

transition:max-height .3s ease;

}

.faq-answer p{

padding:0 20px 20px;

line-height:1.8;

color:#d9d1c4;

}

.whatsapp-float{

position:fixed;

bottom:25px;

right:25px;

width:65px;

height:65px;

border-radius:50%;

background:#25D366;

display:flex;

align-items:center;

justify-content:center;

color:white;

z-index:9999;

box-shadow:0 10px 30px rgba(0,0,0,.3);

transition:transform .3s ease;

}

.whatsapp-float:hover{

transform:scale(1.08);

}

.whatsapp-float svg{

width:40px;

height:40px;

display:block;

transform:translateX(1px);

}

a[href^="tel"]{

color:#C9AF8C;

text-decoration:none;

font-weight:600;

}

/* CONTACTO */

.contact-section{

padding:70px 25px;

max-width:1200px;

margin:auto;

}

.contact-grid{

display:flex;

justify-content:center;

align-items:stretch;

gap:25px;

flex-wrap:wrap;

max-width:900px;

margin:40px auto;

}

/*ASI ESTABA*/

/*
.contact-grid{

display:grid;

grid-template-columns:1fr;

gap:20px;

margin-top:40px;

margin-bottom:40px;

}

*/

.contact-card{

background:rgba(255,255,255,.02);

border:1px solid rgba(201,175,140,.15);

border-radius:22px;

padding:25px;

text-decoration:none;

transition:.3s;

color:#F5EFE4;

width:280px;

flex:0 1 300px;

min-height:100px;

max-width:300px;

text-align:center;

}

.contact-card:hover{

transform:translateY(-5px);

border-color:#C9AF8C;

box-shadow:0 10px 30px rgba(0,0,0,.25);

}

.contact-card h3{

font-family:'Cinzel',serif;

color:#C9AF8C;

margin-bottom:10px;

}

.contact-card p{

line-height:1.8;

color:#F5EFE4;

}

.contact-card span{

display:inline-block;

margin-top:15px;

color:#C9AF8C;

font-weight:600;

}

/* PAGINAS INTERNAS */

.internal-hero{

padding:140px 25px 120px;

display:flex;

align-items:center;

justify-content:center;

text-align:center;

padding:40px;

position:relative;

background:linear-gradient(
135deg,
#0E0E0E,
#1A1A1A
);

}

.internal-overlay{

position:absolute;

inset:0;

background:rgba(0,0,0,.45);

}

.internal-content{

position:relative;

z-index:2;

max-width:900px;

}

.internal-content h1{

font-family:'Cinzel',serif;

font-size:clamp(2.5rem,8vw,4rem);

color:#C9AF8C;

margin-bottom:20px;

}

.internal-content p{

font-size:1.1rem;

line-height:1.9;

max-width:800px;

margin:auto;

margin-bottom:30px;

color:#F5EFE4;

}

.info-section{

padding:100px 25px;

max-width:1100px;

margin:auto;

text-align:center;

}

.section-text{

max-width:850px;

margin:auto;

line-height:2;

font-size:1.05rem;

color:#d9d1c4;

}

.hero-btn{

display:inline-block;

background:#C9AF8C;

color:#0E0E0E;

padding:15px 30px;

border-radius:50px;

text-decoration:none;

font-weight:700;

transition:.3s;

margin-top:20px;

}

.hero-btn:hover{

transform:translateY(-3px);

}

.services-detail{

padding:10px 40px;

max-width:1200px;

margin:auto;

}

.detail-grid{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

gap:25px;

margin-top:50px;

}

.detail-card{

background:rgba(255,255,255,.02);

border:1px solid rgba(201,175,140,.15);

border-radius:22px;

padding:22px;


}

.detail-card h3{

font-family:'Cinzel',serif;

color:#C9AF8C;

margin-bottom:15px;

}

.detail-card p{

color:#F5EFE4;

line-height:1.8;

}

.cta-section{

padding:50px 25px;

text-align:center;

max-width:900px;

margin:auto;

}

.problems-section{

max-width:1400px;

margin:auto;

padding:80px 40px;

}

.back-home{

position:fixed;

top:25px;

left:25px;

z-index:1000;

background:rgba(0,0,0,.4);

border:1px solid rgba(201,175,140,.25);

color:#C9AF8C;

text-decoration:none;

padding:12px 20px;

border-radius:50px;

backdrop-filter:blur(10px);

transition:.3s;

font-weight:600;

}

.back-home:hover{

border-color:#C9AF8C;

transform:translateY(-2px);

}

*{

-webkit-tap-highlight-color: transparent;

}

.service-card,
.detail-card,
.contact-card{

transition:.3s ease;

}

.service-card:hover,
.detail-card:hover,
.contact-card:hover{

transform:translateY(-6px);

border-color:#C9AF8C;

box-shadow:0 15px 35px rgba(0,0,0,.25);

}

.why-us{

padding:100px 25px;

background:rgba(255,255,255,.03);

border-top:1px solid rgba(201,175,140,.1);

border-bottom:1px solid rgba(201,175,140,.1);

}

.why-grid{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

gap:25px;

margin-top:50px;

}

.why-card{

background:rgba(255,255,255,.02);

border:1px solid rgba(201,175,140,.15);

border-radius:22px;

padding:30px;

transition:.3s ease;

}

.why-card:hover{

transform:translateY(-6px);

border-color:#C9AF8C;

box-shadow:0 15px 35px rgba(0,0,0,.25);

}

.why-card h3{

font-family:'Cinzel',serif;

color:#C9AF8C;

margin-bottom:15px;

}

.why-card p{

line-height:1.8;

}

/* =========================================
   FOTOS DEL EQUIPO
========================================= */

.team-photo {
    cursor: zoom-in;
    transition: transform 0.25s ease,
                box-shadow 0.25s ease;
}

.team-photo:hover {
    transform: scale(1.025);
}


/* =========================================
   LIGHTBOX
========================================= */

.team-lightbox {
    position: fixed;
    inset: 0;

    z-index: 99999;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 30px;

    background: rgba(5, 20, 17, 0.94);

    opacity: 0;
    visibility: hidden;

    transition: opacity 0.25s ease,
                visibility 0.25s ease;
}


/* LIGHTBOX ABIERTO */

.team-lightbox.active {
    opacity: 1;
    visibility: visible;
}


/* FOTO GRANDE */

.team-lightbox img {
    display: block;

    max-width: min(90vw, 900px);
    max-height: 78vh;

    width: auto;
    height: auto;

    object-fit: contain;

    border-radius: 4px;

    box-shadow: 0 20px 60px rgba(0,0,0,0.45);
}


/* NOMBRE */

.team-lightbox p {
    margin: 18px 0 0;

    color: #fffdf8;

    font-size: 1.05rem;
    font-weight: 500;

    text-align: center;
}


/* BOTÓN CERRAR */

.team-lightbox-close {
    position: absolute;

    top: 22px;
    right: 30px;

    width: 48px;
    height: 48px;

    padding: 0;

    border: 1px solid rgba(185, 151, 91, 0.6);
    border-radius: 50%;

    background: rgba(11, 43, 36, 0.75);

    color: #d5bc8c;

    font-size: 32px;
    font-weight: 300;
    line-height: 1;

    cursor: pointer;

    transition: background 0.2s ease,
                transform 0.2s ease;
}

.team-lightbox-close:hover {
    background: #0b2b24;
    transform: scale(1.05);
}


/* CELULAR */

@media (max-width: 768px) {

    .team-lightbox {
        padding: 20px;
    }

    .team-lightbox img {
        max-width: 94vw;
        max-height: 72vh;
    }

    .team-lightbox-close {
        top: 15px;
        right: 15px;

        width: 42px;
        height: 42px;

        font-size: 28px;
    }

    .team-lightbox p {
        font-size: 0.95rem;
    }
}

.stats{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(200px,1fr));

gap:30px;

max-width:1200px;

margin:40px auto;

padding:20px 25px;

text-align:center;

}

.stat-item{

padding:20px;

}

.counter{

font-family:'Cinzel',serif;

font-size:3rem;

color:#C9AF8C;

margin-bottom:10px;

}

.stat-item p{

font-size:1rem;

color:#F5EFE4;

}

.section-divider{

display:flex;

align-items:center;

justify-content:center;

gap:25px;

margin:70px auto 0px;

opacity:.7;

}

.section-divider::before,
.section-divider::after{

content:"";

width:140px;

height:1px;

background:rgba(201,175,140,.35);

}

.section-divider img{

width:45px;

height:auto;

opacity:.7;

}

.install-app{

display:flex;

justify-content:center;

margin:60px auto;

}

#installBtn{

display:inline-flex;

align-items:center;

justify-content:center;

gap:12px;

padding:14px 28px;

border-radius:50px;

background:rgba(255,255,255,.05);

border:1px solid rgba(201,175,140,.2);

color:#C9AF8C;

font-size:1rem;

font-weight:600;

cursor:pointer;

backdrop-filter:blur(10px);

transition:.3s ease;

}

#installBtn:hover{

transform:translateY(-2px);

border-color:#C9AF8C;

}

#installBtn svg{

width:22px;

height:22px;

flex-shrink:0;

position:relative;

top:-1px;

}

#installBtn.installed{

background:rgba(31,122,61,.15);

border-color:#1F7A3D;

color:#33C759;

}

#installBtn span{

display:flex;

align-items:center;

}

.locations-section{

padding:20px 25px;

max-width:1200px;

margin:auto;

}

.locations-grid{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(320px,1fr));

gap:30px;

margin-top:50px;

margin-bottom:50px;

}

.location-card{

background:rgba(255,255,255,.03);

border:1px solid rgba(201,175,140,.15);

border-radius:30px;

padding:35px;

transition:.3s ease;

}

.location-card:hover{

transform:translateY(-6px);

border-color:#C9AF8C;

box-shadow:0 15px 35px rgba(0,0,0,.25);

}

.location-card h3{

color:#C9AF8C;

margin-bottom:15px;

font-family:'Cormorant Garamond',serif;

font-size:2rem;

}

.location-card p{

line-height:1.8;

margin-bottom:20px;

}

.location-card a{

color:#C9AF8C;

text-decoration:none;

font-weight:600;

}

.map-container{

border-radius:30px;

overflow:hidden;

border:1px solid rgba(201,175,140,.15);

}

.map-container iframe{

width:100%;

height:450px;

border:none;

}

.map-container{

margin-top:50px;

border-radius:30px;

overflow:hidden;

border:1px solid rgba(201,175,140,.15);

box-shadow:0 15px 40px rgba(0,0,0,.25);

}

.map-container iframe{

width:100%;

height:500px;

border:none;

display:block;

}

@media (max-width:768px){

.map-container iframe{

height:350px;

}

}

/* =========================================
   MAPAS DE UBICACIONES
========================================= */

.maps-section {
    width: 100%;
    margin-top: 60px;
}

.map-block {
    margin-bottom: 55px;
}

.map-block h3 {
    margin: 0 0 6px;

    text-align: center;

    color: #0b2b24;

    font-size: 1.35rem;
    font-weight: 600;
}

.map-block > p {
    margin: 0 0 22px;

    text-align: center;

    color: #626860;

    font-size: 0.95rem;
}

.map-block .map-container {
    margin-top: 0;
}

/* =========================================
   ENCABEZADO SECCIÓN DE MAPAS
========================================= */

.maps-header {
    width: calc(100% + 80px);
    margin-left: -40px;

    margin-top: 70px;
    margin-bottom: 45px;

    padding: 42px 30px;

    text-align: center;

    background: #0b2b24;
    font-family:'Cormorant Garamond',serif;
}


.maps-label {
    display: inline-block;

    margin-bottom: 10px;

    color: #d5bc8c;

    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
}


.maps-header h3 {
    margin: 0;

    color: #fffdf8;

    font-size: 1.8rem;
    font-weight: 600;
}


.maps-header-line {
    width: 55px;
    height: 2px;

    margin: 16px auto;

    background: #b9975b;
}


.maps-header p {
    margin: 0;

    color: #e5ded1;

    font-size: 0.95rem;
}

/* CELULAR */

@media (max-width: 768px) {

    .maps-section {
        margin-top: 40px;
    }

    .map-block {
        margin-bottom: 40px;
    }

    .map-block h3 {
        font-size: 1.15rem;
    }

    .map-block > p {
        font-size: 0.9rem;
        margin-bottom: 16px;
    }

}

.maps-header {
    width: calc(100% + 40px);
    margin-left: -20px;

    margin-top: 50px;
    margin-bottom: 35px;

    padding: 35px 20px;
}

.maps-header h3 {
    font-size: 1.rem;
}

.maps-header p {
    font-size: 0.88rem;
}

.map-region-header {
    padding: 0 5px;
}

.map-region-number {
    width: 40px;
    height: 40px;
}

.map-region-header h3 {
    font-size: 1.05rem;
}

.map-region-header p {
    font-size: 0.85rem;
}

/* ENCABEZADO DE CADA MAPA */

.map-region-header {
    display: flex;
    align-items: center;

    gap: 16px;

    max-width: 1450px;
    margin: 0 auto 18px;

    padding-left: 5px;
}


.map-region-number {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 45px;
    height: 45px;

    flex-shrink: 0;

    border: 1px solid #b9975b;
    border-radius: 50%;

    color: #b9975b;

    font-size: 0.8rem;
    font-weight: 700;
}


.map-region-header h3 {
    margin: 0 0 3px;

    color: #0b2b24;

    font-size: 1.25rem;
    font-weight: 600;

    text-align: left;
}


.map-region-header p {
    margin: 0;

    color: #626860;

    font-size: 0.9rem;

    text-align: left;
}

/* =========================================
   ZONAS DE UBICACIONES
========================================= */

.location-zone {
    width: 100%;
    margin-top: 45px;
}


/* TÍTULO DE ZONA */

.location-zone-title {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 18px;

    max-width: 650px;

    margin: 0 auto 32px;
}


.location-zone-title h3 {
    margin: 0;

    color: #0b2b24;

    font-size: 1.35rem;
    font-weight: 600;

    white-space: nowrap;
}


/* LÍNEAS DORADAS */

.location-zone-title span {
    display: block;

    width: 70px;
    height: 1px;

    background-color: #b9975b;
}


/* =========================================
   OFICINA ZONA NORTE
========================================= */

.locations-grid-north {
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}


/* =========================================
   CELULAR
========================================= */

@media (max-width: 768px) {

    .location-zone {
        margin-top: 35px;
    }

    .location-zone-title {
        gap: 12px;
        padding: 0 20px;
        margin-bottom: 25px;
    }

    .location-zone-title h3 {
        font-size: 1.1rem;
    }

    .location-zone-title span {
        width: 35px;
    }

    .locations-grid-north {
        max-width: 100%;
    }

}

/*TARJETAS HORARIOS*/

.office-hours{

margin:18px 0;

padding-top:15px;

border-top:1px solid rgba(201,175,140,.15);

font-size:.95rem;

opacity:.9;

line-height:1.6;

}

.rights{

font-size:.95rem;

}


.footer-links{

margin-bottom:15px;

}

.footer-links a{

color:#C9AF8C;

text-decoration:none;

font-size:.95rem;

transition:.3s;

}

.footer-links a:hover{

opacity:.8;

}

.legal-page{

max-width:900px;

margin:120px auto;

padding:0 25px;

line-height:1.9;

}

.legal-page h1{

margin-bottom:30px;

}

.legal-page h2{

margin-top:40px;

margin-bottom:15px;

color:#C9AF8C;

}

/* BOTONES FLOTANTES DE REDES */
.floating-socials {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

/* Redes ocultas */
.social-options {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: 0.3s ease;
}

/* Mostrar redes en PC y celular */
.floating-socials:hover .social-options,
.floating-socials.active .social-options {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Tamaño general de botones */
.social-options a,
.whatsapp-float {
  width: 58px;
  height: 58px;
  min-width: 58px;
  min-height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 28px;
  text-decoration: none;
  border: none;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
  transition: 0.25s ease;
}

/* Colores de cada red */
.social-options a[aria-label="Facebook"] {
  background: #1877f2;
}

.social-options a[aria-label="Instagram"] {
  background: radial-gradient(circle at 30% 30%, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5);
}

.social-options a[aria-label="YouTube"] {
  background: #ff0000;
}

.social-options a[aria-label="TikTok"] {
  background: #000000;
}

.whatsapp-float {
  background: #25d366;
  font-size: 32px;
}

.social-options a:hover,
.whatsapp-float:hover {
  transform: scale(1.07);
}

/* REDES EN CONTACTO */
.contact-socials {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  gap: 14px;
}

.contact-socials a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(10, 38, 32, 0.65);
  border: 1px solid rgba(214, 181, 109, 0.28);
  color: #f5ead2;
  text-decoration: none;
  transition: 0.25s ease;
  min-width: 0;
  overflow: hidden;
}

.contact-socials a i {
  color: #d6b56d;
  font-size: 22px;
  min-width: 24px;
}

.contact-socials a span {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.2;
}

.contact-socials a:hover {
  transform: translateY(-3px);
  border-color: rgba(214, 181, 109, 0.65);
}

/* AJUSTE MÓVIL */
@media (max-width: 768px) {
  .floating-socials {
    right: 16px;
    bottom: 16px;
  }

  .social-options a,
  .whatsapp-float {
    width: 56px;
    height: 56px;
    min-width: 56px;
    min-height: 56px;
  }

  .contact-socials {
    grid-template-columns: 1fr;
  }
}

.floating-socials {
  right: 24px !important;
  bottom: 22px !important;
  align-items: center !important;
}

.social-options {
  width: 64px !important;
  align-items: center !important;
  gap: 14px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.social-options a,
.whatsapp-float {
  width: 64px !important;
  height: 64px !important;
  min-width: 64px !important;
  min-height: 64px !important;
  max-width: 64px !important;
  max-height: 64px !important;
  margin: 0 !important;
  padding: 0 !important;
  position: relative !important;
  right: auto !important;
  bottom: auto !important;
}

.whatsapp-float {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}


/* TERMINA BOTONES FLOTANTES DE REDES */

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

* {
  box-sizing: border-box;
}

img,
video,
iframe {
  max-width: 100%;
}

.menu-toggle {
  position: relative;
  z-index: 1001;
}

@media (max-width: 768px) {
  body {
    overflow-x: hidden;
  }

  .navbar {
    width: 100%;
    left: 0;
    right: 0;
    padding: 14px 18px;
  }

  .nav-links {
    max-width: 100%;
  }

  .floating-socials {
    right: 16px;
    bottom: 16px;
  }

  .whatsapp-float,
  .social-options a {
    width: 50px;
    height: 50px;
  }
}

/* ============================= */
/* TEMA CLARO MAAT LEX */
/* ============================= */

:root {
  --maat-bg: #F6F1E7;
  --maat-bg-alt: #EDE4D3;
  --maat-card: #FFFDF8;
  --maat-green: #0B2B24;
  --maat-green-2: #17483C;
  --maat-gold: #B9975B;
  --maat-gold-light: #D5BC8C;
  --maat-text: #202722;
  --maat-muted: #626860;
  --maat-border: #D9CCB6;
}

/* Fondo general claro */
body {
  background: var(--maat-bg) !important;
  color: var(--maat-text) !important;
}

/* Navbar y hero se quedan oscuros */
.navbar,
.hero,
footer {
  background: #081C17 !important;
  color: #F5EFE4 !important;
}

/* Menú móvil oscuro */
#mobile-menu {
  background: rgba(5, 15, 12, 0.92) !important;
}

/* Títulos */
.section-title,
.service-card h3,
.team-card h3,
.why-card h3,
.resource-card h3,
.contact-card h3,
.location-card h3,
.legal-page h2,
.counter {
  color: var(--maat-green) !important;
}

/* Subtítulos y textos */
.section-subtitle,
.service-card p,
.team-card p,
.why-card p,
.resource-card p,
.contact-card p,
.location-card p,
.faq-answer p,
.section-text,
.stat-item p {
  color: var(--maat-muted) !important;
}

/* Secciones principales claras */
.services,
.about,
.faq-section,
.contact-section,
.locations-section,
.resources-section,
.info-section,
.services-detail,
.cta-section,
.problems-section,
.legal-page {
  background: var(--maat-bg) !important;
}

/* Sección alterna beige */
.why-us,
.stats {
  background: var(--maat-bg-alt) !important;
}

/* Tarjetas claras */
.service-card,
.team-card,
.why-card,
.resource-card,
.resources-cta,
.faq-item,
.contact-card,
.detail-card,
.location-card {
  background: var(--maat-card) !important;
  border: 1px solid var(--maat-border) !important;
  color: var(--maat-text) !important;
  box-shadow: 0 10px 28px rgba(11, 43, 36, 0.07) !important;
}

/* Hover tarjetas */
.service-card:hover,
.team-card:hover,
.why-card:hover,
.resource-card:hover,
.contact-card:hover,
.detail-card:hover,
.location-card:hover,
.faq-item:hover {
  border-color: var(--maat-gold) !important;
  box-shadow: 0 15px 35px rgba(11, 43, 36, 0.13) !important;
}

/* Botones principales verdes */
.btn-primary,
.hero-btn {
  background: var(--maat-green) !important;
  color: #F6F1E7 !important;
  border: 1px solid var(--maat-green) !important;
}

.btn-primary:hover,
.hero-btn:hover {
  background: var(--maat-green-2) !important;
  box-shadow: 0 10px 25px rgba(11, 43, 36, 0.22) !important;
}

/* Botones secundarios */
.btn-secondary {
  background: transparent !important;
  color: var(--maat-green) !important;
  border: 1px solid var(--maat-green) !important;
}

.btn-secondary:hover {
  background: var(--maat-green) !important;
  color: #F6F1E7 !important;
}

/* Links y chips */
.service-card span,
.resource-card a,
.secondary-services-title,
.secondary-services div,
.contact-card span,
.location-card a,
.footer-links a,
a[href^="tel"] {
  color: var(--maat-gold) !important;
}

.secondary-services a {
  color: var(--maat-green) !important;
  border-color: var(--maat-border) !important;
}

.secondary-services a:hover {
  border-color: var(--maat-gold) !important;
}

/* FAQ */
.faq-question {
  color: var(--maat-text) !important;
}

.faq-question span {
  color: var(--maat-gold) !important;
}

/* Separadores */
.section-divider::before,
.section-divider::after,
.office-hours,
.map-container {
  border-color: var(--maat-border) !important;
}

/* Contacto redes */
.contact-socials a {
  background: var(--maat-card) !important;
  border: 1px solid var(--maat-border) !important;
  color: var(--maat-text) !important;
}

.contact-socials a i {
  color: var(--maat-gold) !important;
}

/* Botón instalar app */
#installBtn {
  background: var(--maat-card) !important;
  color: var(--maat-green) !important;
  border: 1px solid var(--maat-border) !important;
}

/* Mantener hero oscuro legible */
.hero h1,
.hero p,
.hero .btn-secondary {
  color: #F5EFE4 !important;
}

.hero .btn-secondary {
  border-color: #C9AF8C !important;
}

.hero .btn-secondary:hover {
  background: #C9AF8C !important;
  color: #0F1D19 !important;
}

/* FIX: FONDO DESPUÉS DEL FOOTER */
html {
  background: #081C17 !important;
}

body {
  background: #F6F1E7 !important;
}

footer {
  width: 100vw !important;
  max-width: none !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  margin-bottom: 0 !important;
  padding: 80px 25px 110px !important;
  background: #081C17 !important;
  border-top: none !important;
}

footer {
  position: relative !important;
  overflow: visible !important;
  z-index: 1 !important;
  background: #081C17 !important;
}

footer::after {
  content: "";
  position: absolute;
  left: 0;
  top: 100%;
  width: 100vw;
  height: 100px;
  background: #081C17;
  z-index: 0;
  pointer-events: none;
}

/* FIX DEFINITIVO: OTROS SERVICIOS */
.secondary-services a,
.secondary-services div {
  background: #ffffff !important;
  color: #0B2B24 !important;
  border: 1px solid #D9CCB6 !important;
  box-shadow: 0 8px 20px rgba(11, 43, 36, 0.08) !important;
}

.secondary-services a:hover,
.secondary-services div:hover {
  background: #0B2B24 !important;
  color: #F6F1E7 !important;
  border-color: #0B2B24 !important;
}   