/* =========================================================
   NAVBAR
   ========================================================= */

.contenedor {
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.174);
    transition: background-color 0.3s ease;
    width: 100%;
    display: flex;
    align-items: center;
    z-index: 1000;
    padding: 2px 20px;
    justify-content: space-between;
    box-sizing: border-box;
}

.contenedor.scrolled {
    background-color: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 90px;
    margin-right: 0;
    flex-grow: 1;
}

.sublista {
    height: 10px;
    display: flex;
    align-items: center;
}

.sublista ul {
    display: flex;
    transition: color 0.3s ease;
    list-style: none;
    align-items: center;
    height: 10px;
    width: 100%;
    margin-top: 10px;
    padding: 0;
}

.sublista li {
    margin-left: 30px;
    transition: color 0.3s ease;
}

.sublista a {
    color: rgb(252, 252, 231);
    font-size: 0.8em;
    font-family: 'Inter', sans-serif;
    text-decoration: none;
    transition: color 0.3s ease;
}

.language {
    margin-left: 10px;
    background-color: transparent;
    padding: 3px 6px;
    border-radius: 20px;
    cursor: pointer;
    border: 1px solid rgb(255, 255, 255);
    font-family: 'Inter', sans-serif;
    color: rgb(252, 252, 231);
    font-size: 12px;
    gap: 1px;
    transition: color 0.3s ease;
}

.contenedor.scrolled .language {
    color: #000000;
}

.contenedor.scrolled .sublista ul li a {
    color: #000000;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    flex-direction: column;
    gap: 50px;
}

#carouselPrincipal {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.carousel-inner {
    height: 100%;
}

.slide-bg {
    height: 100%;
    width: 100%;
    background-size: cover !important;
    background-position: center !important;
    position: relative;
}

.slide-bg::before {
    content: "";
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(10, 24, 15, .72) 0%,
            rgba(10, 24, 15, .48) 40%,
            rgba(10, 24, 15, .80) 100%
        );
}

.slide-bg > * {
    position: relative;
    z-index: 10;
}

.carousel-item {
    height: 100%;
}

.herocont {
    margin-top: 0;
    text-align: center;
    z-index: 99;
}

.hero h1 {
    font-size: 70px;
    font-family: var(--font-titulo);
    color: rgb(253, 253, 253);
    font-weight: 700;
    letter-spacing: 1.2px;
}

.hero p {
    font-size: 28px;
    color: rgb(255, 255, 255);
    font-family: 'Inter', sans-serif;
    margin: 0;
    letter-spacing: 1px;
    font-weight: 400;
}

.hero h2 {
    font-size: 20px;
    color: rgb(255, 255, 255);
    font-family: 'Inter', sans-serif;
    margin: 0 0 20px;
    font-weight: 300;
}

.organic-boton {
    background-color: #044f0e;
    color: rgb(255, 255, 255);
    font-size: 14px;
    border: 1px solid green;
    padding: 7px 14px;
    cursor: pointer;
    border-radius: 20px;
    font-family: 'Inter', sans-serif;
    margin-bottom: 10px;
}

.botones {
    display: flex;
    justify-content: center;
    z-index: 99;
    text-align: center;
    gap: 18px;
    transform: translateY(-22px);
}

.conocenos-boton {
    background-color: rgb(41, 122, 16);
    color: rgb(255, 255, 255);
    font-size: 15px;
    border: 1px solid green;
    padding: 8px 16px;
    cursor: pointer;
    border-radius: 40px;
    font-family: 'Inter', sans-serif;
    margin-top: 0;
}

.cafe-boton {
    background-color: transparent;
    color: rgb(255, 255, 255);
    font-size: 15px;
    border: 2px solid rgb(255, 255, 255);
    padding: 3px 10px;
    cursor: pointer;
    border-radius: 40px;
    font-family: 'Inter', sans-serif;
    gap: 16px;
}


/* =================================================
   SECCIÓN VALORES
================================================= */

.vals-sec {
    padding: 75px 6%;
    background: #ffffff;
}


/* =================================================
   ENCABEZADO
================================================= */

.vals-hdr {
    text-align: center;
    margin-bottom: 48px;
}


.vals-hdr .eyebrow {
    display: inline-block;

    color: #279447;

    font-size: 14px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 2px;

    margin-bottom: 8px;
}


.vals-hdr .sec-heading {
    margin: 5px 0 12px;

    color: #222;

    font-size: 36px;
    font-weight: 800;
}


.vals-hdr .sec-body {
    max-width: 680px;
    margin: 0 auto;
    color: #666;
    font-size: 16px;
    line-height: 1.6;
}


/* =================================================
   GRID DE TARJETAS
================================================= */

.vals-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    max-width: 1250px;
    margin: 0 auto;
}


/* =================================================
   TARJETA
================================================= */

.val-card {
    position: relative;
    height: 450px;
    overflow: hidden;
    background: #ffffff;
    border-radius: var(--r-sm);
    box-shadow:
        0 6px 18px rgba(0, 0, 0, 0.15);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


/* =================================================
   EFECTO AL PASAR EL MOUSE
================================================= */

.val-card:hover {
    transform: translateY(-7px);
    box-shadow:
        0 12px 28px rgba(0, 0, 0, 0.22);
}


/* =================================================
   IMAGEN
================================================= */

.val-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease;
}


.val-card:hover .val-img {
    transform: scale(1.06);
}


/* =================================================
   OSCURECER IMAGEN
================================================= */

.val-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.03) 0%,
        rgba(0, 0, 0, 0.08) 25%,
        rgba(0, 0, 0, 0.15) 55%,
        rgba(0, 0, 0, 0.50) 100%
    );

    z-index: 1;

    pointer-events: none;
}


/* =================================================
   ICONO VERDE
================================================= */

.val-icon {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 58px;
    height: 58px;
    background: #25a84a;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 29px;
    font-weight: bold;
    z-index: 3;
    box-shadow:
        0 3px 8px rgba(0, 0, 0, 0.15);
}


/* =================================================
   TITULO
================================================= */

.val-title {
    position: absolute;
    left: 7%;
    right: 7%;
    bottom: 90px;
    padding: 16px 10px;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 9px;
    text-align: center;
    color: #333333;
    font-size: 18px;
    font-weight: 800;
    z-index: 3;
    box-shadow:
        0 3px 8px rgba(0, 0, 0, 0.12);
}


/* =================================================
   TEXTO INFERIOR
================================================= */

.val-bottom {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    padding: 9px 8px;
    background: rgba(0, 0, 0, 0.35);
    border-radius: 3px;
    color: #ffffff;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    z-index: 3;
}


/* =================================================
   RESPONSIVE - TABLET
================================================= */

@media (max-width: 1050px) {

    .vals-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 750px;
    }

}


/* =================================================
   RESPONSIVE - CELULAR
================================================= */

@media (max-width: 600px) {

    .vals-sec {
        padding: 55px 20px;
    }

    .vals-hdr {
        margin-bottom: 35px;
    }

    .vals-hdr .sec-heading {
        font-size: 28px;
    }

    .vals-hdr .sec-body {
        font-size: 15px;
    }

    .vals-grid {
        grid-template-columns: 1fr;

        max-width: 400px;
    }

    .val-card {
        height: 430px;
    }

}
/* =========================================================
   ESTADÍSTICAS
   ========================================================= */

.stats-sec {
    position: relative;
    background: #0F1E15;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 72px 24px;
    overflow: hidden;
}

.stats-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* velo oscuro para que el texto siga legible */
.stats-sec::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(15, 30, 21, .45) 0%,
        rgba(15, 30, 21, .20) 50%,
        rgba(15, 30, 21, .45) 100%);
    z-index: 1;
}

.stats-inner {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
}

@media (prefers-reduced-motion: reduce) {
    .stats-bg { display: none; }
}

.stat-item {
    padding: 20px;
}

.stat-item + .stat-item {
    border-left: 1px solid var(--bg-soft);
}

.stat-num {
    font-family: var(--font-titulo);
    font-size: 58px; 
    font-weight: 800;
    color: rgb(97, 203, 120);
    line-height: 1;
    display: block;
    margin-bottom: 8px;
}

.stat-lbl {
    font-size: 15px;
    color: var(--bg-soft);
    font-weight: 500;
}


/* =========================================================
   CAFÉ DESTACADO
   ========================================================= */

.cafe-sec {
    padding: var(--sec-pad-y) var(--sec-pad-x);
    background: var(--bg);
    text-align: center;
}

.cafe-hdr {
    max-width: 640px;
    margin: 0 auto 56px;
}


/* =========================================================
   TARJETA DEL MAPA + INFORMACIÓN
   ========================================================= */

.cafe-card {
    max-width: calc(var(--sec-max-w) - (2 * var(--sec-pad-x)));
    margin: 0 auto;
    background: var(--bg);
    /*border: 1px solid var(--border);*/
    border-radius: var(--r-sm);
    overflow: hidden;
    display: grid;
    grid-template-columns: 3fr 2fr;

    /*
     * IMPORTANTE:
     * Ambas columnas tendrán exactamente la misma
     * altura porque la fila se estira automáticamente.
     */
    align-items: stretch;

    box-shadow: var(--sh-lg);

}


/* =========================================================
   MAPA INTERACTIVO
   ========================================================= */

.mapa-img {

    position: relative;

    overflow: hidden;

    /*
     * ELIMINAMOS LA ALTURA FIJA COMO PROBLEMA.
     *
     * El grid de .cafe-card determina ahora la altura.
     */
    height: auto;

    min-height: 460px;

    align-self: stretch;

    background: #0f291d;

}


/*
 * El iframe ocupa absolutamente todo
 * el espacio disponible.
 */

.mapa-img iframe {

    display: block;

    width: 100%;

    height: 100%;

    min-height: 0;

    margin: 0;

    padding: 0;

    border: none;

    outline: none;

}


/*
 * No poner:
 *
 * height:460px
 * min-height:460px
 *
 * al iframe.
 *
 * La altura debe venir del contenedor.
 */


/* =========================================================
   ETIQUETA 5+ DESTINOS
   ========================================================= */

.cafe-score {
    position: absolute; top: 24px; left: 24px;
    background: var(--primary); color: #fff;
    padding: 8px 18px; border-radius: 100px;
    font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 700;
}
.cafe-body { 
    padding: 48px 44px; 
    text-align: left; 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
}
.cafe-body h3 { 
    font-family: var(--font-titulo); 
    font-size: 38px; 
    font-weight: 800;
    text-align: center; 
    color: var(--text); 
    margin-bottom: 6px; 
}
.cafe-sub { 
    font-size: 16px; 
    color: var(--accent); 
    font-weight: 600; 
    font-family: 'Inter', sans-serif; 
    margin-bottom: 28px;
    text-align: center;
}
.cafe-infos { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 16px; 
    margin-bottom: 28px; 
    margin-left: 45px;
}
.cafe-inf label { 
    display: block; 
    font-size: 12px; 
    font-weight: 700; 
    letter-spacing: 2px; 
    text-transform: uppercase; 
    color: var(--text-muted); 
    margin-bottom: 3px; 
    font-family: 'Inter', sans-serif; 
}
.cafe-inf span { 
    font-size: 14px; 
    color: var(--text); 
    font-weight: 500; 
}
.cafe-notas { 
    background: var(--bg-soft); 
    border-radius: var(--r-sm); 
    padding: 16px 18px; 
    margin-bottom: 28px; 
}
.cafe-notas strong { 
    display: block; 
    font-size: 15px; 
    font-weight: 700; 
    letter-spacing: 0.7px; 
    /*text-transform: uppercase;*/
    color: var(--accent); 
    margin-bottom: 4px; 
    font-family: 'Inter', sans-serif; 
}
.cafe-notas p { 
    font-size: 14px; 
    color: var(--text-muted); 
    line-height: 1.6; 
    margin: 0; 
    text-align: center;
}
/* =========================================================
   PROYECTOS RECIENTES
   ========================================================= */

.proj-sec {
    padding: var(--sec-pad-y) 0;
    background: var(--bg-soft);
    text-align: center;
}

.proj-wrap {
    max-width: var(--sec-max-w);
    margin: 0 auto;
    padding: 0 var(--sec-pad-x);
}

.proj-hdr {
    max-width: 660px;
    margin: 0 auto 40px;
}

.proj-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 0 0 40px;
}

/* Tarjeta ahora es un <a> clicable */
.proj-card {
    position: relative;
    display: block;
    margin: 0;
    border-radius: var(--r-sm);
    overflow: hidden;
    background: var(--bg);
    width: 100%;
    height: 650px;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: box-shadow .3s, transform .3s;
}

.proj-card:visited,
.proj-card:hover,
.proj-card:active {
    color: inherit;
    text-decoration: none;
}

.proj-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}

.proj-card:hover img {
    transform: scale(1.06);
}

.proj-card:hover {
    box-shadow: var(--sh-lg);
    transform: translateY(-6px);
}

.proj-card .proj-caption {
    position: absolute;
    left: 0;
    right: 0;
    top: 85%;                  /* antes estaba en 50%, ahora más arriba */
    transform: translateY(-50%);
    z-index: 2;
    padding: 18px 20px;
    background: rgba(20, 20, 20, 0.55);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.proj-card .proj-year {
    display: none;
}

.proj-card .proj-act {
    display: block;
    font-family: var(--font-titulo);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.25;
    color: #ffffff;
}

.proj-cta-wrap {
    margin-top: 16px;
    text-align: center;
}
/* ===== TESTIMONIO ===== */
.testi-sec { 
    padding: 96px 24px; 
    background: var(--bg-soft); }
.testi-card {
    max-width: 1080px; margin: 0 auto;
    background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-lg);
    overflow: hidden; display: grid; grid-template-columns: 380px 1fr; box-shadow: var(--sh-lg);
}
.testi-img { position: relative; overflow: hidden; }
.testi-img img { width: 100%; height: 100%; object-fit: cover; }
.testi-img-ov { position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 40%, rgba(10,22,14,.88) 100%); }
.testi-author { position: absolute; bottom: 24px; left: 24px; right: 24px; }
.testi-author strong { display: block; font-family: 'Inter', sans-serif; font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 2px; }
.testi-author span { font-size: 13px; color: rgba(255,255,255,.72); }
.testi-body { padding: 52px; display: flex; flex-direction: column; justify-content: center; }
.quote-mark { font-size: 72px; line-height: .8; color: var(--bg-green);     font-family: var(--font-titulo); margin-bottom: 16px; }
.testi-body blockquote { font-size: 17px; color: var(--text); line-height: 1.78; font-style: italic; margin-bottom: 32px; border: none; padding: 0; }

/* ===== MAPA (mismo estilo original) ===== */
.mapa {

    display: flex;
    flex-direction: column;
    width: 100%;
    background: var(--bg);
}

.mapa-header {

    text-align: center;
    padding: 50px 20px 24px;

}

.mapa_google iframe {

    width: 100%;
    height: 350px;
    display: block;
    border: 0;

}


/* =========================================================
   ACOMPAÑAMIENTO TÉCNICO
   ========================================================= */

.acomp-sec {

    background: #fff;
    padding: var(--sec-pad-y) 0;

}

.acomp-wrap {

    max-width: var(--sec-max-w);
    margin: 0 auto;
    padding: 0 var(--sec-pad-x);

}

.acomp-head {

    text-align: center;
    max-width: 620px;
    margin: 0 auto 56px;

}

.acomp-head .sec-heading {

    margin: 14px auto 0;
    max-width: none;

}

.acomp-fotos {

    display: grid;
    grid-template-columns:
        repeat(3, 1fr);
    gap: 24px;

}

.acomp-foto {

    position: relative;
    margin: 0;
    border-radius: var(--r-sm);
    overflow: hidden;
    width: 100%;
    height: 650px;

}

.acomp-foto img {

    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition:
        transform .7s
        cubic-bezier(.2, .7, .3, 1);

}

.acomp-foto:hover img {

    transform: scale(1.05);

}

.acomp-foto figcaption {

    position: absolute;
    left: 0;
    right: 0;
    top: 85%;
    transform: translateY(-50%);
    z-index: 2;
    padding: 18px 20px;
    background: rgba(20, 20, 20, 0.55);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

}

.acomp-zona {

    display: block;
    font-family: var(--font-texto);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
    color:
        var(--accent,
        #C8973A);
    margin-bottom: 6px;

}

.acomp-act {

    display: block;
    font-family: var(--font-titulo);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.25;
    color: #ffffff;

}

.acomp-pie {

    text-align: center;
    margin-top: 48px;

}

.acomp-link {

    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-texto);
    font-size: 15px;
    font-weight: 500;

    color:
        var(--primary,
        #1A3C28);

    text-decoration: none;

    padding-bottom: 4px;

    border-bottom:
        1px solid
        var(--border,
        #e4e0d6);

    transition:
        border-color .3s,
        gap .3s,
        color .3s;

}

.acomp-link:hover {

    color:
        var(--accent,
        #C8973A);

    border-bottom-color:
        var(--accent,
        #C8973A);

    gap: 16px;

}

.acomp-link i {

    font-size: 12px;

}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1024px) {

    /*
     * En tablet el diseño pasa a una sola columna.
     * Aquí sí necesitamos una altura explícita para
     * el mapa porque ya no comparte fila con el texto.
     */

    .cafe-card {

        grid-template-columns: 1fr;

    }


    .mapa-img {

        height: 380px;
        min-height: 380px;

    }


    .mapa-img iframe {

        width: 100%;
        height: 100%;
        min-height: 0;

    }


    .testi-card {
        grid-template-columns: 1fr;
    }


    .testi-img {
        height: 280px;
    }

}


/* =========================================================
   MENÚ MÓVIL
   ========================================================= */

.nav-toggle {

    display: none;

}

.nav-overlay {

    display: none;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background:
        rgba(0, 0, 0, .45);
    z-index: 9998;
    cursor: pointer;

}

.nav-overlay.active {

    display: block;

}


/* =========================================================
   TABLET / CELULAR
   ========================================================= */

@media (max-width: 768px) {

    .vals-grid {
        grid-template-columns: 1fr;

    }


    .stats-inner {

        grid-template-columns: 1fr;

    }


    .stat-item + .stat-item {

        border-left: none;
        border-top:
            1px solid
            var(--border);

    }


    .stats-sec {

        padding: 44px 20px;

    }


    .stat-item {

        padding: 12px;

    }


    .stat-num {

        font-size: 38px;

    }


    /* =====================================================
       CAFÉ
       ===================================================== */

    .cafe-body {

        padding: 28px 24px;

    }


    .cafe-infos {

        grid-template-columns: 1fr;

    }


    /*
     * En móvil ya no hay dos columnas.
     * El mapa recibe una altura fija apropiada.
     */

    .mapa-img {

        min-height: 330px;
        height: 330px;

    }


    .mapa-img iframe {

        width: 100%;
        min-height: 0;
        height: 100%;

    }


    .cafe-score {

        top: 16px;
        left: 16px;
        padding: 8px 16px;
        font-size: 12px;

    }


    /* =====================================================
       TESTIMONIO
       ===================================================== */

    .testi-body {

        padding: 32px 24px;

    }


    /* =====================================================
       HERO
       ===================================================== */

    .hero-title {

        font-size: 38px;

    }


    /* =====================================================
       NAVBAR
       ===================================================== */

    .v3-nav {

        position: fixed !important;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 10001 !important;

    }


    /* =====================================================
       HAMBURGUESA
       ===================================================== */

    .nav-toggle {

        display: flex !important;
        position: relative;
        width: 45px;
        height: 45px;
        margin: 0;
        padding: 8px;
        border: none;
        outline: none;
        background: transparent;
        cursor: pointer;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        z-index: 10002;
        -webkit-tap-highlight-color: transparent;

    }


    .nav-toggle span {

        display: block;
        width: 27px;
        height: 3px;
        background: #ffffff;
        border-radius: 5px;
        transition: all .3s ease;
        pointer-events: none;

    }


    .v3-nav.scrolled
    .nav-toggle span {
        background: #1A3C28;
    }


    /* =====================================================
       SIDEBAR
       ===================================================== */

    .nav-links {

        position: fixed !important;
        top: 0;
        right: -300px;
        width: 280px;
        height: 100vh;
        height: 100dvh;
        margin: 0;
        padding: 120px 25px 30px;
        box-sizing: border-box;
        background: #ffffff;
        display: flex !important;
        flex-direction: column;
        align-items: stretch;
        box-shadow:
            -8px 0 25px
            rgba(0, 0, 0, .18);
        z-index: 10000 !important;
        transition: right .35s ease;
        overflow-y: auto;
        overflow-x: hidden;

    }


    .nav-links.active {

        right: 0 !important;

    }


    /* =====================================================
       ENLACES
       ===================================================== */

    .nav-links a {

        display: flex !important;
        align-items: center;
        width: 100%;
        min-height: 70px;
        margin: 0;
        padding: 15px 18px;
        box-sizing: border-box;
        color: #1A3C28 !important;
        font-size: 17px;
        font-family: 'Inter', sans-serif;
        text-decoration: none;
        cursor: pointer;
        border-bottom:
            1px solid
            #eeeeee;
        transition: all .25s ease;

    }


    .nav-links a:hover {

        background: #f3f7f3;
        padding-left: 25px;

    }


    .nav-links a.active {

        color: #297A10 !important;
        font-weight: 700;

    }


    /* =====================================================
       BOTÓN CONTACTO
       ===================================================== */

    .nav-links .nav-cta-btn {

        margin-top: 20px;
        min-height: 65px;
        justify-content: center;
        text-align: center;
        background: #0F291D;
        color: #ffffff !important;
        border: none;
        border-radius: 35px;
        padding: 15px;

    }


    .nav-links .nav-cta-btn:hover {

        background: #16452e;
        padding-left: 15px;

    }


    /* =====================================================
       HAMBURGUESA → X
       ===================================================== */

    .nav-toggle.active
    span:nth-child(1) {

        transform:
            rotate(45deg)
            translate(6px, 6px);

    }


    .nav-toggle.active
    span:nth-child(2) {

        opacity: 0;

        transform: scale(0);

    }


    .nav-toggle.active
    span:nth-child(3) {

        transform:
            rotate(-45deg)
            translate(5px, -5px);

    }


    body.menu-abierto {

        overflow: hidden;

    }


    /* =====================================================
       ACOMPAÑAMIENTO
       ===================================================== */

    .acomp-fotos {

        grid-template-columns:
            repeat(2, 1fr);
        gap: 16px;

    }


    .acomp-foto:last-child {

        grid-column: 1 / -1;
        aspect-ratio: 16 / 9;

    }

}


/* =========================================================
   CELULAR PEQUEÑO
   ========================================================= */

@media (max-width: 480px) {

    .nav-links {

        width: 280px;
        right: -300px;
        padding-left: 20px;
        padding-right: 20px;

    }


    .nav-links a {

        font-size: 16px;
        min-height: 65px;

    }


    .hero h1 {

        font-size: 42px;
        line-height: 1.1;
        height: auto;

    }


    .hero p {
        font-size: 20px;
    }


    .hero h2 {

        font-size: 16px;
        padding: 0 20px;

    }


    .botones {

        flex-direction: column;
        gap: 10px;
        transform:
            translateY(-10px);
    }


    .conocenos-boton,
    .cafe-boton {
        min-width: 170px;
    }


    /* =====================================================
       MAPA EN CELULAR
       ===================================================== */

.acomp-sec {
    background: #fff;
    padding: var(--sec-pad-y) 0;
}
.acomp-wrap {
    max-width: var(--sec-max-w);
    margin: 0 auto;
    padding: 0 var(--sec-pad-x);
}


/* ---------- Encabezado centrado ---------- */
.acomp-head {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 56px;
}
.acomp-head .sec-heading {
    margin: 14px 0 0;
    /* El heading de shared.css tiene max-width y alineación a la
       izquierda; acá lo centramos sin tocar el archivo original. */
    max-width: none;
    margin-left: auto;
    margin-right: auto;
}


/* ---------- Fotos ----------
   4:5 vertical y sin tarjeta alrededor: el marco blanco y la
   sombra solo restarían protagonismo a la imagen. */
.acomp-fotos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.acomp-foto {
    position: relative;
    margin: 0;
    border-radius: var(--r-md,);
    overflow: hidden;
    width: 100%;
    height: 650px;
}
.acomp-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .7s cubic-bezier(.2, .7, .3, 1);
}
.acomp-foto:hover img { transform: scale(1.05); }

/* parte de la foto */
.acomp-foto figcaption {
    position: absolute;
    left: 0;
    right: 0;
    top: 85%;
    transform: translateY(-50%);
    z-index: 2;
    padding: 18px 20px;
    background: rgba(20, 20, 20, 0.55);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.acomp-zona {
    display: block;
    font-family: var(--font-texto);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--accent, #C8973A);
    margin-bottom: 6px;
}
.acomp-act {
    display: block;
    font-family: var(--font-titulo);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.25;
    color: #ffffff;
}


/* ---------- Enlace al pie ---------- */
.acomp-pie {
    text-align: center;
    margin-top: 48px;
}
.acomp-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-texto);
    font-size: 15px;
    font-weight: 500;
    color: var(--primary, #1A3C28);
    text-decoration: none;
    padding-bottom: 4px;
    border-bottom: 1px solid var(--border, #e4e0d6);
    transition: border-color .3s, gap .3s, color .3s;
}
.acomp-link:hover {
    color: var(--accent, #C8973A);
    border-bottom-color: var(--accent, #C8973A);
    gap: 16px;
}
.acomp-link i { font-size: 12px; }


/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .acomp-fotos { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    /* La tercera foto ocupa el ancho completo en formato horizontal. */
    .acomp-foto:last-child {
        grid-column: 1 / -1;
        aspect-ratio: 16 / 9;
    }

    .proj-grid { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 16px; 
    }
    /* La tercera tarjeta ocupa el ancho completo, igual que en acompañamiento. */
    .proj-card:last-child {
        grid-column: 1 / -1;
        aspect-ratio: 16 / 9;
    }
}

@media (max-width: 620px) {
    .acomp-sec  { padding: 68px 0; }
    .acomp-wrap { padding: 0 20px; }
    .acomp-head { margin-bottom: 36px; }

    .proj-sec  { padding: 68px 0; }
    .proj-wrap { padding: 0 20px; }

    /* Carrusel horizontal: tres fotos verticales apiladas serían
       pantalla y media de puro scroll. */
    .acomp-fotos {

        display: flex;
        gap: 14px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 8px;
        margin: 0 -20px;
        padding-left: 20px;
        padding-right: 20px;

    }


    .acomp-fotos::-webkit-scrollbar {

        display: none;

    }


    .acomp-foto {

        flex: 0 0 76%;
        scroll-snap-align: center;
        aspect-ratio: 4 / 5;

    }
    .acomp-foto:last-child { aspect-ratio: 4 / 5; }
    .acomp-act { font-size: 20px; }

    /* Mismo carrusel horizontal que acomp-fotos. */
    .proj-grid {
        display: flex;
        gap: 14px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 8px;
        margin: 0 -20px;
        padding-left: 20px;
        padding-right: 20px;
    }
    .proj-grid::-webkit-scrollbar { display: none; }
    .proj-card {
        flex: 0 0 76%;
        scroll-snap-align: center;
        aspect-ratio: 4 / 5;
    }
    .proj-card:last-child { aspect-ratio: 4 / 5; }
}

@media (prefers-reduced-motion: reduce) {
    .acomp-foto img, .acomp-link { transition: none; }
    .proj-card img { transition: none; }
}
}
