/*
 * landing.css — Ganadera Araucanía
 * ------------------------------------------------------------
 * Override del tema base: paleta earth tones (verde campo + ocre + crema),
 * tipografía Inter, layout de landing/forms moderno.
 * Carga DESPUÉS de base.css + components.css.
 * ------------------------------------------------------------ */

:root {
    --ga-green:        #1f3d2b;   /* verde campo profundo (primary) */
    --ga-green-soft:   #2d5a3d;
    --ga-ocre:         #b08243;   /* acento tierra */
    --ga-cream:        #faf7f1;   /* fondo crema */
    --ga-cream-2:      #f1ece1;
    --ga-ink:          #14201a;
    --ga-ink-soft:     #4a544c;
    --ga-line:         #e3ddcd;

    /* override del tema base */
    --color-text:          var(--ga-ink);
    --color-text-muted:    var(--ga-ink-soft);
    --color-bg:            #ffffff;
    --color-bg-alt:        var(--ga-cream);
    --color-bg-hover:      var(--ga-cream-2);
    --color-border:        var(--ga-line);
    --color-border-strong: #cbc4b0;
    --color-primary:       var(--ga-green);
    --color-primary-hover: var(--ga-green-soft);
    --color-primary-text:  #ffffff;
    --container-max:       1180px;
    --font-family:         "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

body.ga-body {
    background: var(--ga-cream); color: var(--ga-ink);
    font-family: var(--font-family);
    overflow-x: hidden; /* evita scroll horizontal por overflows */
    -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; }

/* Tipografía estilo Grupo Araucanía: titulares en mayúscula, espaciado abierto */
body.ga-body h1,
body.ga-body h2 {
    text-transform: uppercase;
    letter-spacing: .02em;
    font-weight: 700;
}
body.ga-body h3 { font-weight: 700; letter-spacing: -.005em; }
body.ga-body .ga-lead { font-weight: 400; }

/* Patrón verde tenue (tipo grupoaraucania.cl/agropecuaria sections) */
.ga-pattern-bg {
    background:
        repeating-linear-gradient(45deg,
            rgba(31,61,43,.04) 0 2px,
            transparent 2px 14px),
        var(--ga-green-soft);
    color: #fff;
}

/* Card blanca grande "elevada" sobre el patrón verde */
.ga-card-overlay {
    background: var(--ga-cream);
    border-radius: 6px;
    padding: 3rem;
    box-shadow: 0 30px 70px -30px rgba(0,0,0,.35);
}

/* ==========================================================
   Reveal animations (IntersectionObserver)
   ========================================================== */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition:
        opacity .7s cubic-bezier(.22,.9,.3,1.1),
        transform .8s cubic-bezier(.22,.9,.3,1.1);
    transition-delay: var(--d, 0s);
    will-change: opacity, transform;
}
.reveal--right { transform: translateX(-26px); }
.reveal--zoom  { transform: scale(.96); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1 !important; transform: none !important; transition: none; }
}

.container--narrow { max-width: 760px; }

/* ==========================================================
   Topbar
   ========================================================== */
.ga-topbar {
    background: var(--ga-green);
    color: rgba(255,255,255,.85);
    font-size: .8rem;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.ga-topbar .ga-topbar__inner {
    display: flex; align-items: center; justify-content: flex-end;
    gap: 1.5rem; padding-top: .85rem; padding-bottom: .85rem;
    flex-wrap: wrap;
}
.ga-topbar ul { list-style: none; padding: 0; margin: 0; display: flex; gap: 1.4rem; flex-wrap: wrap; align-items: center; }
.ga-topbar a { color: inherit; text-decoration: none; transition: color .15s ease; }
.ga-topbar a:hover { color: #fff; }
.ga-topbar__contact { justify-content: flex-end; }
.ga-topbar__contact li { display: inline-flex; align-items: center; gap: .45rem; }
.ga-topbar__contact svg { color: var(--ga-ocre); flex-shrink: 0; }

/* ==========================================================
   Header
   ========================================================== */
.ga-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255,255,255,0.92);
    backdrop-filter: saturate(180%) blur(8px);
    -webkit-backdrop-filter: saturate(180%) blur(8px);
}
.ga-header__inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 2rem; padding-top: 1rem; padding-bottom: 1rem;
}
.ga-logo {
    display: inline-flex; align-items: center; gap: .65rem;
    text-decoration: none; color: var(--ga-ink);
}
.ga-logo__img {
    height: 48px !important;
    width: auto !important;
    max-height: 48px;
    max-width: 230px;
    display: block;
    object-fit: contain;
    transition: opacity .2s ease;
}
.ga-logo__img--inverted {
    filter: brightness(0) invert(1);
    height: 54px !important;
    max-height: 54px;
    max-width: 270px;
}
@media (max-width: 640px) {
    .ga-logo__img { height: 42px !important; max-height: 42px; max-width: 190px; }
    .ga-logo__img--inverted { height: 38px !important; max-height: 38px; max-width: 190px; }
}

.ga-nav {
    display: flex; align-items: center; gap: 2.2rem;
    margin-left: auto; margin-right: 2rem;
}
.ga-nav a {
    text-decoration: none; color: var(--ga-ink);
    font-family: "Poppins", var(--font-family);
    font-weight: 400; font-size: 16px; line-height: 24px;
    padding: .35rem 0;
    border-bottom: 2px solid transparent;
    transition: color .15s ease, border-color .15s ease;
}
.ga-nav a:hover { color: var(--ga-green); }
.ga-nav a.is-active { color: var(--ga-green); border-bottom-color: var(--ga-green); }
.ga-nav__ext { color: var(--ga-ink-soft) !important; }

.btn--lg { padding: .85rem 1.6rem; font-size: 1rem; font-weight: 600; border-radius: 8px; }
.btn--sm { padding: .45rem .9rem; font-size: .85rem; border-radius: 6px; }

/* Hamburger toggle (sólo mobile) */
.ga-nav-toggle {
    display: none;
    margin-left: auto;
    width: 40px; height: 40px; padding: 0;
    background: transparent; border: 0; cursor: pointer;
    flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.ga-nav-toggle span {
    display: block; width: 22px; height: 2px;
    background: var(--ga-ink); border-radius: 2px;
    transition: transform .25s ease, opacity .2s ease;
}
.ga-nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ga-nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.ga-nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================
   Eyebrow + section heads
   ========================================================== */
.ga-eyebrow {
    display: inline-block;
    font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
    color: var(--ga-ocre); font-weight: 600;
    margin-bottom: .9rem;
}
.ga-section-head { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.ga-section-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: -.02em; }

/* ==========================================================
   HERO
   ========================================================== */
.ga-hero {
    padding: 4rem 0 5rem;
    background-color: var(--ga-cream);
    position: relative;
    overflow: hidden;
}
/* Slideshow del hero: 2 capas que cross-fade alternadamente */
.ga-hero__bg {
    position: absolute; inset: 0; pointer-events: none;
    background-size: cover; background-position: center;
    opacity: 0; transition: opacity 1.8s ease;
}
.ga-hero__bg.is-active { opacity: 1; }
.ga-hero::before {
    content: '';
    position: absolute; inset: 0;
    background:
        linear-gradient(95deg,
            var(--ga-cream) 0%,
            rgba(250,247,241,.94) 35%,
            rgba(250,247,241,.55) 70%,
            rgba(250,247,241,.25) 100%);
    pointer-events: none;
    z-index: 1;
}
.ga-hero > .container { position: relative; z-index: 2; }
@media (max-width: 880px) {
    .ga-hero__bg { background-position: center; }
    .ga-hero::before {
        background: linear-gradient(180deg,
            rgba(250,247,241,.92) 0%,
            rgba(250,247,241,.85) 60%,
            rgba(250,247,241,.7) 100%);
    }
}
.ga-hero__inner {
    display: grid; grid-template-columns: 1.05fr .95fr;
    gap: 4rem; align-items: start;
}
.ga-hero h1 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.1; letter-spacing: .005em;
    margin-bottom: 1.4rem; font-weight: 800;
    text-transform: uppercase;
}
.ga-hero h1 em, .ga-about-hero h1 em {
    font-style: normal; color: var(--ga-green);
    background: linear-gradient(180deg, transparent 65%, rgba(176,130,67,.25) 65%);
    padding: 0 .1em;
}
.ga-lead {
    font-size: 1.15rem; color: var(--ga-ink-soft); line-height: 1.55;
    max-width: 620px; margin-bottom: 1.2rem;
}
.ga-hero--center .ga-lead { margin-left: auto; margin-right: auto; }

/* Desplegable "Leer más" en el hero */
.ga-hero__more {
    max-width: 620px;
    margin: -.4rem auto 1rem;
    text-align: left;
}
.ga-hero--center .ga-hero__more { text-align: center; }
/* Cuando se abre, el párrafo queda arriba y el "Leer menos" abajo */
.ga-hero__more[open] {
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 1.1rem;
}
.ga-hero--center .ga-hero__more[open] { align-items: center; }
.ga-hero__more summary {
    list-style: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: var(--ga-ocre);
    font-weight: 700;
    font-size: .82rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: .25rem 0;
    border-bottom: 1px solid currentColor;
    transition: color .2s ease;
}
.ga-hero__more summary::-webkit-details-marker { display: none; }
.ga-hero__more summary:hover { color: var(--ga-green); }
.ga-hero__more summary svg { transition: transform .25s ease; }
.ga-hero__more[open] summary svg { transform: rotate(180deg); }
.ga-hero__more-label-close { display: none; }
.ga-hero__more[open] .ga-hero__more-label-open { display: none; }
.ga-hero__more[open] .ga-hero__more-label-close { display: inline; }
.ga-hero__more p {
    margin: 0;
    color: var(--ga-ink-soft);
    line-height: 1.55;
    font-size: 1.15rem;
    animation: heroMoreIn .35s ease;
}
@keyframes heroMoreIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: none; }
}

.ga-hero__cta { display: flex; gap: .8rem; flex-wrap: wrap; margin-bottom: 1rem; }
.ga-hero__hint {
    display: none; /* sólo en mobile */
    align-items: center; gap: .4rem;
    font-size: .82rem; color: var(--ga-green); font-weight: 600;
    margin: .3rem 0 1.8rem;
}
.ga-hero__hint svg {
    color: var(--ga-ocre);
    animation: gaArrowBounce 1.6s ease-in-out infinite;
}
@keyframes gaArrowBounce {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(4px); }
}
.ga-hero__trust {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem;
    border-top: 1px solid var(--ga-line); padding-top: 1.5rem;
    font-size: .92rem; color: var(--ga-ink-soft);
}
.ga-hero__trust strong { display: block; color: var(--ga-ink); font-weight: 600; }

/* Wrapper del formulario único */
.ga-formcard {
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 30px 60px -25px rgba(20,32,26,.35);
    padding: 3rem 3.2rem 3.2rem;
    border: 1px solid var(--ga-line);
    position: relative;
    overflow: hidden;
}
.ga-formcard::before {
    content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px;
    background: linear-gradient(90deg, var(--ga-green), var(--ga-ocre));
}

/* ==========================================================
   Formulario único de captación (.ga-leadform)
   ========================================================== */
.ga-leadform { display: flex; flex-direction: column; gap: 1.8rem; }

.ga-leadform__choice { border: 0; padding: 0; margin: 0; }
.ga-leadform__legend {
    font-size: .72rem; letter-spacing: .14em;
    text-transform: uppercase; color: var(--ga-ocre);
    font-weight: 700; margin-bottom: .8rem;
    padding: 0;
}
.ga-leadform__choice-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: .8rem;
}
.ga-leadform__option { display: block; cursor: pointer; }
.ga-leadform__option input {
    position: absolute; opacity: 0; pointer-events: none;
}
.ga-leadform__option-card {
    display: flex; flex-direction: column; gap: .25rem;
    padding: 1.1rem 1.2rem;
    background: var(--ga-cream);
    border: 2px solid transparent;
    border-radius: 14px;
    transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.ga-leadform__option:hover .ga-leadform__option-card {
    background: #fff; border-color: var(--ga-line);
}
.ga-leadform__option input:checked + .ga-leadform__option-card {
    background: #fff;
    border-color: var(--ga-green);
    box-shadow: 0 10px 22px -14px rgba(31,61,43,.45);
}
.ga-leadform__option-icon {
    width: 36px; height: 36px; border-radius: 10px;
    background: var(--ga-cream-2); color: var(--ga-green);
    display: inline-flex; align-items: center; justify-content: center;
    margin-bottom: .35rem;
    transition: background .18s ease, color .18s ease;
}
.ga-leadform__option input:checked + .ga-leadform__option-card .ga-leadform__option-icon {
    background: var(--ga-green); color: #fff;
}
.ga-leadform__option-card strong {
    font-size: 1.1rem; font-weight: 700; color: var(--ga-ink);
}
.ga-leadform__option-card small {
    font-size: .85rem; color: var(--ga-ink-soft);
}

.ga-leadform__grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 1.3rem 1.8rem;
}
.ga-leadform__field { display: flex; flex-direction: column; min-width: 0; }
.ga-leadform__field--full { grid-column: 1 / -1; }
.ga-leadform__field > span {
    font-size: .82rem; font-weight: 600; color: var(--ga-ink);
    margin-bottom: .4rem;
}
.ga-leadform__field > span em {
    color: var(--ga-ink-soft); font-style: normal; font-weight: 500;
}
.ga-leadform__field input,
.ga-leadform__field select,
.ga-leadform__field textarea {
    background: var(--ga-cream);
    border: 1px solid transparent;
    border-bottom: 2px solid var(--ga-line);
    border-radius: 10px;
    padding: .8rem .95rem;
    font-size: .95rem;
    font-family: inherit;
    color: var(--ga-ink);
    transition: background .15s ease, border-color .15s ease;
}
.ga-leadform__field input::placeholder,
.ga-leadform__field textarea::placeholder { color: rgba(20,32,26,.4); }
.ga-leadform__field input:focus,
.ga-leadform__field select:focus,
.ga-leadform__field textarea:focus {
    background: #fff;
    border-bottom-color: var(--ga-green);
    outline: none;
}

.ga-leadform__submit {
    display: flex; flex-direction: column; align-items: stretch; gap: .8rem;
    padding-top: .4rem;
}
.ga-leadform__btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: .6rem;
    width: 100%;
}
.ga-leadform__note {
    color: var(--ga-ink-soft); text-align: center; font-size: .82rem;
}

/* ==========================================================
   Banner foto a ancho completo (asesoría humana)
   ========================================================== */
.ga-banner { background: var(--ga-cream); padding: 0; }
.ga-banner__photo {
    position: relative; min-height: 420px; max-height: 540px;
    overflow: hidden;
}
.ga-banner__photo img {
    position: absolute; inset: 0;
    width: 100%; height: 100%; object-fit: cover; display: block;
}
.ga-banner__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(90deg,
        rgba(15,30,21,.78) 0%,
        rgba(15,30,21,.55) 50%,
        rgba(15,30,21,.15) 100%);
    display: flex; align-items: center;
}
.ga-banner__overlay .container { color: #fff; max-width: 700px; }
.ga-banner__overlay .ga-eyebrow { color: var(--ga-ocre); }
.ga-banner__overlay h2 {
    color: #fff; font-size: clamp(1.5rem, 2.6vw, 2.2rem);
    margin-bottom: 1rem;
}
.ga-banner__overlay p { color: rgba(255,255,255,.85); font-size: 1.05rem; }
@media (max-width: 880px) {
    .ga-banner__photo { min-height: 320px; }
    .ga-banner__overlay { background: linear-gradient(180deg, rgba(15,30,21,.55) 0%, rgba(15,30,21,.85) 100%); }
}

/* ==========================================================
   PREGUNTAS FRECUENTES
   ========================================================== */
.ga-faq {
    padding: 4.5rem 0 5rem;
    background:
        repeating-linear-gradient(45deg, rgba(31,61,43,.035) 0 2px, transparent 2px 14px),
        #f7f6f1;
}
.ga-faq .ga-section-head { margin-bottom: 2.5rem; text-align: center; }
.ga-faq__list {
    display: flex; flex-direction: column; gap: .7rem;
}
.ga-faq__item {
    background: #fff;
    border: 1px solid var(--ga-line);
    border-radius: 12px;
    box-shadow: 0 1px 0 rgba(31,61,43,.03);
    overflow: hidden;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.ga-faq__item[open] {
    border-color: rgba(31,61,43,.25);
    box-shadow: 0 8px 24px -18px rgba(31,61,43,.25);
}
.ga-faq__item > summary {
    list-style: none; cursor: pointer;
    display: flex; align-items: center; justify-content: space-between;
    gap: 1rem; padding: 1.1rem 1.3rem;
    font-weight: 600; color: var(--ga-ink);
    font-size: 1rem;
}
.ga-faq__item > summary::-webkit-details-marker { display: none; }
.ga-faq__item > summary:hover { color: var(--ga-green); }
.ga-faq__chev {
    flex-shrink: 0; color: var(--ga-ocre);
    transition: transform .25s ease;
}
.ga-faq__item[open] .ga-faq__chev { transform: rotate(180deg); }
.ga-faq__answer {
    padding: 0 1.3rem 1.2rem;
    color: var(--ga-ink-soft);
    border-top: 1px solid var(--ga-line);
}
.ga-faq__answer p {
    margin: 1rem 0 0;
    font-size: .95rem; line-height: 1.6;
}

/* ==========================================================
   EQUIPO — organigrama
   ========================================================== */
.ga-team { padding: 5rem 0; background: #fff; }
.ga-org {
    max-width: 920px; margin: 0 auto;
    display: flex; flex-direction: column; align-items: center;
}
.ga-org__top { display: flex; justify-content: center; }
.ga-org__connector {
    width: 100%; height: 70px; color: var(--ga-line);
    margin: -8px 0 -8px;
}
.ga-org__connector svg { width: 100%; height: 100%; }
.ga-org__row {
    width: 100%;
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem;
}
.ga-org__node {
    background: var(--ga-cream);
    border: 1px solid var(--ga-line);
    border-radius: 16px;
    padding: 1.6rem 1.4rem 1.4rem;
    text-align: center;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    position: relative;
}
.ga-org__node:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 44px -25px rgba(20,32,26,.3);
    border-color: var(--ga-green);
}
.ga-org__node--boss {
    background: linear-gradient(160deg, var(--ga-green) 0%, #15301f 100%);
    border-color: transparent;
    color: #fff;
    padding: 2rem 2.2rem 1.6rem;
    margin-bottom: 0;
    box-shadow: 0 25px 50px -25px rgba(20,32,26,.45);
}
.ga-org__node--boss h3 { color: #fff; }
.ga-org__node--boss .ga-org__role { color: var(--ga-ocre); }
.ga-org__node--boss .ga-org__photo {
    border-color: rgba(255,255,255,.18);
    background: rgba(255,255,255,.08);
}
.ga-org__node--boss .ga-org__initials {
    background: linear-gradient(135deg, var(--ga-ocre), #d09f60);
    color: #fff;
}

.ga-org__photo {
    width: 110px; height: 110px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    overflow: hidden;
    background: var(--ga-cream-2);
    border: 2px solid var(--ga-line);
    display: flex; align-items: center; justify-content: center;
    position: relative;
}
.ga-org__node--boss .ga-org__photo { width: 130px; height: 130px; }
.ga-org__photo img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .5s ease;
}
.ga-org__node:hover .ga-org__photo img { transform: scale(1.05); }
.ga-org__initials {
    font-size: 2.2rem; font-weight: 700; letter-spacing: -.02em;
    color: var(--ga-green);
    background: linear-gradient(135deg, var(--ga-cream), #fff);
    width: 100%; height: 100%;
    display: inline-flex; align-items: center; justify-content: center;
}
.ga-org__node h3 {
    font-size: 1.05rem; margin: 0 0 .25rem;
    text-transform: uppercase; letter-spacing: .03em;
}
.ga-org__node--boss h3 { font-size: 1.25rem; }
.ga-org__role {
    font-size: .82rem; color: var(--ga-ink-soft); margin: 0 0 .9rem;
    text-transform: uppercase; letter-spacing: .08em; font-weight: 600;
}
.ga-org__contact {
    list-style: none; padding: .9rem 0 0; margin: 0;
    border-top: 1px solid var(--ga-line);
    display: flex; flex-direction: column; gap: .4rem;
    font-size: .82rem;
}
.ga-org__node--boss .ga-org__contact { border-top-color: rgba(255,255,255,.18); }
.ga-org__contact li {
    display: flex; align-items: center; gap: .5rem;
    color: var(--ga-ink-soft);
}
.ga-org__contact a {
    color: inherit; text-decoration: none;
    transition: color .15s ease;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.ga-org__contact a:hover { color: var(--ga-green); }
.ga-org__contact svg { color: var(--ga-ocre); flex-shrink: 0; }
.ga-org__node--boss .ga-org__contact,
.ga-org__node--boss .ga-org__contact li { color: #f5f1e6; }
.ga-org__node--boss .ga-org__contact a:hover { color: var(--ga-ocre); }

@media (max-width: 880px) {
    .ga-team { padding: 3rem 0; }
    .ga-org__row { grid-template-columns: 1fr; gap: 1.2rem; }
    .ga-org__connector {
        width: 2px; height: 32px; background: var(--ga-line); margin: 0;
    }
    .ga-org__connector svg { display: none; }
    .ga-org { gap: 1rem; }
    .ga-org__node--boss { padding: 1.5rem 1.6rem 1.2rem; }
    .ga-org__photo { width: 88px; height: 88px; }
    .ga-org__node--boss .ga-org__photo { width: 100px; height: 100px; }
    .ga-org__initials { font-size: 1.7rem; }
}

/* ==========================================================
   TIMELINE (about page)
   ========================================================== */
.ga-timeline {
    list-style: none; padding: 0; margin: 3rem 0 4rem;
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem;
    position: relative;
}
.ga-timeline::before {
    content: ''; position: absolute; left: 6%; right: 6%; top: 30px;
    height: 2px; background: linear-gradient(90deg, var(--ga-green), var(--ga-ocre));
    opacity: .25; z-index: 0;
}
.ga-timeline li {
    background: #fff; border: 1px solid var(--ga-line);
    border-radius: 14px; padding: 2rem 1.5rem 1.6rem; text-align: center;
    position: relative; z-index: 1;
}
.ga-timeline__year {
    display: inline-block; font-weight: 800; font-size: 1.4rem;
    color: var(--ga-green); letter-spacing: -.01em;
    background: var(--ga-cream); padding: .35rem 1rem; border-radius: 999px;
    margin-bottom: 1rem; border: 1px solid var(--ga-line);
}
.ga-timeline h4 { font-size: 1rem; text-transform: uppercase; letter-spacing: .04em; margin-bottom: .4rem; }
.ga-timeline p { color: var(--ga-ink-soft); font-size: .9rem; margin: 0; }

/* ==========================================================
   ABOUT — hero, stats, icon grid, units
   ========================================================== */
.ga-about-hero { padding: 4rem 0 3rem; background: var(--ga-cream); border-bottom: 1px solid var(--ga-line); }
.ga-back { display: inline-block; color: var(--ga-ink-soft); text-decoration: none; font-size: .9rem; margin-bottom: 1.5rem; }
.ga-back:hover { color: var(--ga-ink); }
.ga-about-hero__inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 3.5rem; align-items: end; }
.ga-stat-strip {
    display: flex; flex-direction: column; gap: 1.1rem;
    background: #fff; border: 1px solid var(--ga-line); border-radius: 14px;
    padding: 1.5rem; box-shadow: 0 18px 40px -25px rgba(20,32,26,.25);
}
.ga-stat {
    display: grid; grid-template-columns: 40px auto 1fr; gap: .6rem; align-items: center;
    padding-bottom: 1rem; border-bottom: 1px solid var(--ga-line);
}
.ga-stat:last-child { border-bottom: 0; padding-bottom: 0; }
.ga-stat svg {
    width: 40px; height: 40px; padding: 9px; border-radius: 10px;
    background: var(--ga-cream); color: var(--ga-green);
}
.ga-stat strong { font-size: 1.4rem; color: var(--ga-ink); letter-spacing: -.01em; }
.ga-stat span { color: var(--ga-ink-soft); font-size: .88rem; line-height: 1.35; }

.ga-values--rich { padding-bottom: 5rem; }
.ga-values__intro { max-width: 760px; margin: 0 auto 3rem; text-align: center; color: var(--ga-ink-soft); font-size: 1.05rem; }

.ga-icon-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem;
}
.ga-icon-card {
    background: #fff; border: 1px solid var(--ga-line); border-radius: 16px;
    padding: 1.8rem; position: relative; overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.ga-icon-card::before {
    content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
    background: linear-gradient(180deg, var(--ga-green), var(--ga-ocre));
    transform: scaleY(0); transform-origin: top; transition: transform .35s ease;
}
.ga-icon-card:hover { transform: translateY(-5px); box-shadow: 0 22px 48px -25px rgba(20,32,26,.32); border-color: transparent; }
.ga-icon-card:hover::before { transform: scaleY(1); }
.ga-icon-card__icon {
    width: 52px; height: 52px; border-radius: 14px;
    background: linear-gradient(135deg, var(--ga-cream), #fff);
    color: var(--ga-green);
    display: inline-flex; align-items: center; justify-content: center;
    margin-bottom: 1.2rem;
    border: 1px solid var(--ga-line);
}
.ga-icon-card:hover .ga-icon-card__icon {
    color: #fff; background: linear-gradient(135deg, var(--ga-green), #15301f);
    border-color: var(--ga-green);
}
.ga-icon-card h3 { font-size: 1.1rem; margin-bottom: .4rem; letter-spacing: -.01em; }
.ga-icon-card p { color: var(--ga-ink-soft); margin: 0; font-size: .92rem; }

.ga-units { padding: 5rem 0; background: var(--ga-cream); }
.ga-units__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.ga-unit-card {
    background: #fff; border: 1px solid var(--ga-line); border-radius: 18px;
    padding: 2.2rem 1.8rem; position: relative;
    transition: transform .25s ease, box-shadow .25s ease;
}
.ga-unit-card:hover { transform: translateY(-4px); box-shadow: 0 22px 48px -25px rgba(20,32,26,.3); }
.ga-unit-card__icon {
    width: 64px; height: 64px; border-radius: 16px;
    background: var(--ga-cream); color: var(--ga-green);
    display: inline-flex; align-items: center; justify-content: center;
    margin-bottom: 1.2rem;
}
.ga-unit-card__tag {
    position: absolute; top: 1.2rem; right: 1.2rem;
    background: var(--ga-ocre); color: #fff;
    font-size: .65rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
    padding: .25rem .6rem; border-radius: 999px;
}
.ga-unit-card h3 { font-size: 1.25rem; margin-bottom: .4rem; }
.ga-unit-card p { color: var(--ga-ink-soft); margin: 0 0 1.2rem; font-size: .95rem; }
.ga-unit-card__link { color: var(--ga-green); font-weight: 600; text-decoration: none; font-size: .92rem; }
.ga-unit-card__link:hover { color: var(--ga-ocre); }
.ga-unit-card--featured {
    background: linear-gradient(160deg, var(--ga-green), #15301f);
    color: #fff; border-color: transparent;
}
.ga-unit-card--featured h3, .ga-unit-card--featured .ga-unit-card__link { color: #fff; }
.ga-unit-card--featured p { color: rgba(255,255,255,.78); }
.ga-unit-card--featured .ga-unit-card__icon { background: rgba(255,255,255,.12); color: #fff; }
.ga-unit-card--featured .ga-unit-card__link:hover { color: var(--ga-cream); }

/* ==========================================================
   Valores
   ========================================================== */
.ga-values { padding: 5rem 0; background: #fff; }
.ga-values__grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start;
}
/* Variante con foto vertical lateral */
.ga-values__grid--withphoto {
    grid-template-columns: .85fr 1fr;
    gap: 3.5rem;
    align-items: stretch;
}
.ga-values__photo {
    margin: 0; position: relative; border-radius: 14px; overflow: hidden;
    grid-row: span 2;
    box-shadow: 0 30px 60px -25px rgba(20,32,26,.4);
}
.ga-values__photo img {
    width: 100%; height: 100%; min-height: 480px;
    object-fit: cover; display: block;
    transition: transform 6s ease;
}
.ga-values__photo:hover img { transform: scale(1.04); }
.ga-values__photo figcaption {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 1.4rem 1.6rem;
    background: linear-gradient(180deg, transparent 0%, rgba(15,30,21,.85) 60%);
    color: #fff; font-size: .9rem; font-weight: 600; letter-spacing: .03em;
}
.ga-values__list--full { grid-column: 2; }
@media (max-width: 880px) {
    .ga-values__grid--withphoto { grid-template-columns: 1fr; gap: 2rem; }
    .ga-values__photo { grid-row: auto; }
    .ga-values__photo img { min-height: 280px; }
    .ga-values__list--full { grid-column: 1; }
}
.ga-values__grid h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); letter-spacing: -.02em; }
.ga-values__grid p { color: var(--ga-ink-soft); font-size: 1.05rem; }
.ga-values__list { list-style: none; padding: 0; margin: 0; }
.ga-values__list li {
    padding: 1.1rem 0; border-bottom: 1px solid var(--ga-line);
    font-size: .98rem; color: var(--ga-ink-soft);
}
.ga-values__list li:last-child { border-bottom: 0; }
.ga-values__list strong { color: var(--ga-ink); display: block; margin-bottom: .15rem; font-weight: 600; }

/* ==========================================================
   CTA final
   ========================================================== */
.ga-cta {
    padding: 5rem 0; text-align: center;
    background: linear-gradient(180deg, var(--ga-green), #14301f);
    color: #fff;
}
.ga-cta h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); color: #fff; letter-spacing: -.02em; }
.ga-cta p { color: rgba(255,255,255,.78); font-size: 1.1rem; margin-bottom: 2rem; }
.ga-cta__actions { display: inline-flex; gap: .8rem; flex-wrap: wrap; justify-content: center; }
.ga-cta .btn { background: #fff; color: var(--ga-green); border-color: #fff; }
.ga-cta .btn:hover { background: var(--ga-cream); border-color: var(--ga-cream); color: var(--ga-green); }
.ga-cta .btn--secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.ga-cta .btn--secondary:hover { background: rgba(255,255,255,.1); color: #fff; border-color: #fff; }

/* ==========================================================
   Footer (estilo grupoaraucania.cl: oscuro + centrado)
   ========================================================== */
.ga-footer {
    background: #0a1410; color: rgba(255,255,255,.75);
    padding: 3.5rem 0 0; margin-top: 0;
}
.ga-footer__center {
    display: flex; flex-direction: column; align-items: center;
    gap: 1.4rem; padding-bottom: 2.5rem;
}
.ga-footer .ga-logo,
.ga-footer .ga-logo__text strong { color: #fff; }
.ga-footer .ga-logo__text em { color: rgba(255,255,255,.6); }
.ga-footer__social {
    list-style: none; padding: 0; margin: .3rem 0 0;
    display: flex; gap: .8rem;
}
.ga-footer__social a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255,255,255,.08); color: #fff;
    text-decoration: none; transition: background .2s ease;
}
.ga-footer__social a:hover { background: var(--ga-ocre); }
.ga-footer__links {
    display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; justify-content: center;
    margin-top: .4rem;
}
.ga-footer__links a {
    color: rgba(255,255,255,.7); text-decoration: none;
    font-size: .85rem; padding: .25rem 0;
}
.ga-footer__links a:hover { color: #fff; }
.ga-footer__bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 1.2rem 0; text-align: center;
}
.ga-footer__bottom small {
    color: rgba(255,255,255,.5); font-size: .8rem; letter-spacing: .02em;
}

/* ==========================================================
   Success
   ========================================================== */
.ga-success { padding: 6rem 0; min-height: 60vh; display: flex; align-items: center; }
.ga-success__card {
    max-width: 560px; margin: 0 auto; text-align: center;
    background: #fff; border: 1px solid var(--ga-line); border-radius: 18px;
    padding: 3rem 2.5rem;
    box-shadow: 0 30px 60px -30px rgba(20,32,26,.25);
}
.ga-success__check {
    width: 64px; height: 64px; border-radius: 50%;
    background: var(--ga-green); color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 2rem; margin-bottom: 1.2rem;
}
.ga-success h1 { font-size: 1.8rem; letter-spacing: -.02em; }
.ga-success p { color: var(--ga-ink-soft); margin-bottom: 1.8rem; }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 640px) {
    .ga-topbar { font-size: .72rem; }
    .ga-topbar .ga-topbar__inner {
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: .6rem;
        padding-top: .5rem; padding-bottom: .5rem;
    }
    .ga-topbar__contact {
        flex: 1; width: 100%; min-width: 0;
        gap: .6rem; flex-wrap: nowrap;
        justify-content: space-between;
        margin: 0;
    }
    .ga-topbar__contact li:nth-child(2) { display: none; } /* dirección oculta */
    .ga-topbar__contact li:nth-child(3) {                  /* teléfono — izquierda */
        order: 1;
        display: inline-flex;
        white-space: nowrap;
    }
    .ga-topbar__contact li:nth-child(1) {                  /* email — derecha */
        order: 2;
        display: inline-flex;
        white-space: nowrap;
        min-width: 0;
        max-width: 100%;
    }
    .ga-topbar__contact li:nth-child(1) a {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

@media (max-width: 880px) {
    /* Más respiro lateral en mobile */
    .container { padding: 0 1.25rem; }
    .ga-hero__hint { display: inline-flex; }

    .ga-hero__inner,
    .ga-values__grid,
    .ga-icon-grid,
    .ga-units__grid,
    .ga-about-hero__inner,
    .ga-footer__inner { grid-template-columns: 1fr; gap: 2.2rem; }

    /* Hero más compacto */
    .ga-hero { padding: 2rem 0 3rem; }
    .ga-hero__inner { gap: 2rem; }
    .ga-hero h1 { font-size: 1.85rem !important; line-height: 1.15; }
    .ga-lead { font-size: 1rem; }
    .ga-hero__more p,
    .ga-hero--center .ga-hero__more p { font-size: 1rem; }
    .ga-hero__cta { flex-direction: column; align-items: stretch; gap: .55rem; }
    .ga-hero__cta .btn { width: 100%; }
    .ga-hero__trust { gap: 1rem 1.5rem; padding-top: 1.2rem; font-size: .85rem; }

    /* Sections paddings reducidos */
    .ga-values, .ga-units, .ga-cta { padding: 3rem 0; }
    .ga-section-head { margin-bottom: 2rem; }
    .ga-section-head h2 { font-size: 1.6rem !important; }
    .ga-values__grid h2 { font-size: 1.6rem; }
    .ga-cta h2 { font-size: 1.6rem !important; }

    /* Form-card mobile */
    .ga-formcard { padding: 1.5rem 1.2rem 1.8rem; border-radius: 14px; }

    /* Mobile nav: drawer desplegable + logo centrado */
    .ga-nav-toggle {
        display: inline-flex;
        position: absolute; right: 1rem; top: 50%;
        transform: translateY(-50%);
        margin-left: 0;
    }
    /* En mobile el hero arranca pegado al header: sacamos la línea cremita
       del border-bottom para evitar el corte horizontal raro sobre el cielo. */
    .ga-header { border-bottom: 0; }
    .ga-header__inner {
        position: relative;
        gap: .5rem; padding: .8rem 1rem;
        justify-content: center;
    }
    .ga-header__inner .ga-logo { margin: 0 auto; }
    .ga-nav {
        position: absolute; top: 100%; left: 0; right: 0;
        flex-direction: column; align-items: stretch;
        gap: 0; margin: 0; padding: 0 1.2rem;
        background: transparent; border: 0;
        max-height: 0; overflow: hidden;
        transition: max-height .3s ease, padding .3s ease, background-color .2s ease, box-shadow .2s ease;
    }
    .ga-nav.is-open {
        max-height: 80vh; padding: 1rem 1.2rem 1.5rem;
        background: #fff;
        border-bottom: 1px solid var(--ga-line);
        box-shadow: 0 14px 28px -18px rgba(0,0,0,.2);
    }
    .ga-nav a {
        padding: .9rem 0; font-size: .95rem;
        border-bottom: 1px solid var(--ga-line) !important;
    }
    .ga-nav a:last-child { border-bottom: 0 !important; }
    .ga-nav .ga-nav__ext { font-size: .95rem !important; color: var(--ga-ink) !important; }

    /* Formulario único compacto en mobile */
    .ga-formcard { padding: 1.6rem 1.2rem 1.8rem; }
    .ga-leadform__choice-grid { grid-template-columns: 1fr 1fr; gap: .6rem; }
    .ga-leadform__option-card { padding: .8rem .9rem; }
    .ga-leadform__option-card strong { font-size: .98rem; }
    .ga-leadform__option-card small { font-size: .78rem; }
    .ga-leadform__grid { grid-template-columns: 1fr; gap: .9rem; }

    /* Unit cards padding */
    .ga-unit-card, .ga-icon-card { padding: 1.6rem 1.4rem; }

    /* About */
    .ga-about-hero h1 { font-size: 1.85rem !important; }
    .ga-stat-strip { padding: 1.2rem; }

    /* Footer stack */
    .ga-footer__cols { grid-template-columns: 1fr 1fr; }
    .ga-footer__center { gap: 1rem; padding-bottom: 2rem; }
    .ga-footer__links { font-size: .8rem; gap: .3rem 1rem; }

    /* FAQ */
    .ga-faq { padding: 3rem 0 3.5rem; }

    /* Timeline */
    .ga-timeline { grid-template-columns: 1fr; margin: 2rem 0 3rem; }
    .ga-timeline::before { display: none; }
}

/* ==========================================================
   Phones chicos (≤540px): refinamientos finales
   ========================================================== */
@media (max-width: 540px) {
    /* Container con padding mayor para que NADA quede pegado al borde */
    .container { padding: 0 1.4rem; }

    /* Topbar: solo email a la derecha (heredado del bloque ≤640px) */
    .ga-topbar__contact { gap: .5rem; }

    /* Header */
    .ga-header__inner { padding: .6rem .8rem; }
    .ga-logo__img { height: 44px !important; max-height: 44px; max-width: 200px; }

    /* Hero */
    .ga-hero { padding: 1.6rem 0 2.5rem; }
    .ga-hero h1 { font-size: 1.55rem !important; line-height: 1.18; letter-spacing: 0; }
    .ga-lead { font-size: .95rem; }
    .ga-hero__more p,
    .ga-hero--center .ga-hero__more p { font-size: .95rem; }
    .ga-hero__trust {
        display: grid; grid-template-columns: 1fr; gap: .55rem;
        font-size: .8rem; padding-top: 1rem;
    }
    .ga-hero__trust strong { display: inline; margin-right: .25em; }
    .ga-eyebrow { font-size: .65rem; }
    .ga-hero--center .ga-eyebrow { letter-spacing: .02em; }

    /* Form-card en phones chicos */
    .ga-formcard { padding: 1.4rem 1rem 1.6rem; border-radius: 14px; }
    .ga-leadform { gap: 1.4rem; }
    .ga-leadform__option-card { padding: .9rem 1rem; }
    .ga-leadform__option-card strong { font-size: 1rem; }
    .ga-leadform__field > span { font-size: .76rem; }
    /* font-size: 16px previene el auto-zoom de iOS Safari al hacer focus */
    .ga-leadform__field input,
    .ga-leadform__field select,
    .ga-leadform__field textarea {
        padding: .7rem .8rem; font-size: 16px;
    }

    /* Tipografía sections */
    .ga-section-head { margin-bottom: 1.5rem; }
    .ga-section-head h2 { font-size: 1.4rem !important; }
    .ga-values, .ga-units, .ga-cta, .ga-faq {
        padding: 2.5rem 0;
    }

    /* Banner asesoría */
    .ga-banner__photo { min-height: 280px; }
    .ga-banner__overlay h2 { font-size: 1.4rem !important; }
    .ga-banner__overlay p { font-size: .92rem; }

    /* FAQ tighter en phones chicos */
    .ga-faq__item > summary { padding: .95rem 1.1rem; font-size: .95rem; }
    .ga-faq__answer { padding: 0 1.1rem 1rem; }
    .ga-faq__answer p { font-size: .9rem; }

    /* Valores con foto */
    .ga-values__photo img { min-height: 220px; }
    .ga-values__list li { font-size: .92rem; padding: .9rem 0; }

    /* Icon grid (about) */
    .ga-icon-grid, .ga-units__grid { grid-template-columns: 1fr; }
    .ga-icon-card, .ga-unit-card { padding: 1.4rem 1.2rem; }
    .ga-icon-card h3, .ga-unit-card h3 { font-size: 1.05rem; }

    /* About */
    .ga-about-hero { padding: 2.5rem 0 2rem; }
    .ga-about-hero h1 { font-size: 1.55rem !important; }
    .ga-stat-strip { padding: 1rem; gap: .8rem; }
    .ga-stat strong { font-size: 1.15rem; }
    .ga-stat span { font-size: .8rem; }

    /* CTA final */
    .ga-cta h2 { font-size: 1.45rem !important; }
    .ga-cta p { font-size: .95rem; }
    .ga-cta__actions { flex-direction: column; align-items: stretch; gap: .5rem; }
    .ga-cta__actions .btn { width: 100%; }

    /* Footer */
    .ga-footer { padding: 2.5rem 0 0; }
    .ga-footer__center { gap: .85rem; }
    .ga-footer__links { font-size: .75rem; gap: .25rem .8rem; }
    .ga-footer__bottom small { font-size: .7rem; }

    /* Success */
    .ga-success { padding: 3rem 0; min-height: 50vh; }
    .ga-success__card { padding: 2rem 1.5rem; }
    .ga-success__check { width: 52px; height: 52px; font-size: 1.6rem; }
    .ga-success h1 { font-size: 1.4rem; }
}

/* Hide legacy site-header from base layout when our header is present */
body.ga-body .site-header { display: none; }

/* ==========================================================
   NUEVA HOME — Distribución estilo Grupo Araucanía
   - Hero centrado (sin form embebido)
   - Card flotante "Compromiso" con foto + texto + mini-cards + mapa
   - 2-col foto + features con check
   - Sección formulario dedicada
   ========================================================== */

/* Hero centrado — overlay oscuro y tipografía controlada */
.ga-hero--center {
    min-height: clamp(440px, 64vh, 640px);
    display: flex; align-items: center;
    padding: 5rem 0 7rem;
    position: relative;
}
/* Override del overlay crema original para variante centrada */
.ga-hero--center::before {
    background:
        linear-gradient(180deg,
            rgba(20, 32, 26, .55) 0%,
            rgba(20, 32, 26, .45) 40%,
            rgba(20, 32, 26, .65) 100%) !important;
}
.ga-hero--center .ga-hero__inner--center {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
}
.ga-hero--center .ga-hero__copy { max-width: 1100px; width: 100%; }
.ga-hero--center .ga-eyebrow {
    display: block;
    color: #fff;
    font-weight: 700;
    font-size: clamp(2.2rem, 6vw, 3.625rem);
    line-height: 1.19;
    letter-spacing: .04em;
    text-shadow: 0 2px 18px rgba(0,0,0,.45);
    margin-bottom: .8rem;
}
.ga-hero--center h1 {
    color: rgba(255,255,255,.92);
    font-size: clamp(1rem, 1.7vw, 1.35rem) !important;
    line-height: 1.4;
    letter-spacing: 0;
    font-weight: 500;
    text-shadow: 0 1px 12px rgba(0,0,0,.35);
    margin-bottom: 1.4rem;
    max-width: 760px;
    margin-left: auto; margin-right: auto;
    text-wrap: balance;
}
.ga-hero--center h1 em {
    font-style: normal; color: var(--ga-ocre);
    background: none;
    font-weight: 700;
}
.ga-hero--center .ga-lead {
    color: rgba(255,255,255,.95);
    font-size: 1.18rem;
    line-height: 1.6;
    margin: 0 auto .8rem;
    max-width: 720px;
    text-shadow: 0 1px 10px rgba(0,0,0,.35);
}
/* "Leer más" en hero centrado — todo blanco sobre overlay oscuro */
.ga-hero--center .ga-hero__more summary {
    color: #fff;
    border-bottom-color: rgba(255,255,255,.55);
    text-shadow: 0 1px 8px rgba(0,0,0,.4);
}
.ga-hero--center .ga-hero__more summary:hover {
    color: var(--ga-ocre);
    border-bottom-color: var(--ga-ocre);
}
.ga-hero--center .ga-hero__more p {
    color: rgba(255,255,255,.95);
    text-shadow: 0 1px 10px rgba(0,0,0,.35);
    max-width: 720px;
    margin: 0 auto;
    font-size: 1.18rem;
    line-height: 1.6;
}

.ga-hero--center .ga-hero__cta { justify-content: center; gap: 1rem; }
.ga-hero--center .ga-hero__cta .btn {
    min-width: 180px;
    padding: .95rem 1.6rem;
    font-weight: 700;
    letter-spacing: .02em;
    box-shadow: 0 12px 28px -16px rgba(0,0,0,.55);
}
.ga-hero--center .ga-hero__cta .btn--secondary {
    background: rgba(255,255,255,.08);
    color: #fff;
    border: 1.5px solid rgba(255,255,255,.85);
    backdrop-filter: blur(2px);
}
.ga-hero--center .ga-hero__cta .btn--secondary:hover {
    background: #fff; color: var(--ga-green); border-color: #fff;
}

/* COMPROMISO (card flotante con foto + texto + mapa) */
.ga-compromiso { padding: 0; margin-top: -90px; position: relative; z-index: 3; }
.ga-compromiso__card {
    background: #fff;
    border-radius: 18px;
    padding: 2.4rem;
    box-shadow: 0 30px 60px -25px rgba(20,32,26,.25), 0 8px 22px -16px rgba(20,32,26,.18);
    border: 1px solid var(--ga-line);
}
.ga-compromiso__grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2.4rem;
    align-items: center;
}
.ga-compromiso__photo {
    margin: 0;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 4/5;
    background: var(--ga-cream-2);
}
.ga-compromiso__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; display: block; }
.ga-compromiso__copy h2 {
    font-size: clamp(1.4rem, 2.2vw, 1.85rem);
    line-height: 1.2;
    margin: .4rem 0 1rem;
}
.ga-compromiso__copy p { color: var(--ga-ink-soft); line-height: 1.65; margin-bottom: 1.4rem; }
.ga-compromiso__contacts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .8rem;
}
.ga-mini-card {
    display: flex; align-items: center; gap: .85rem;
    padding: .9rem 1rem;
    border: 1px solid var(--ga-line);
    border-radius: 12px;
    text-decoration: none;
    color: var(--ga-ink);
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
    background: #fff;
}
.ga-mini-card:hover {
    border-color: var(--ga-green);
    box-shadow: 0 8px 18px -12px rgba(31,61,43,.3);
    transform: translateY(-1px);
}
.ga-mini-card__icon {
    flex: 0 0 38px; height: 38px;
    border-radius: 50%;
    background: var(--ga-cream-2);
    color: var(--ga-green);
    display: flex; align-items: center; justify-content: center;
}
.ga-mini-card__body { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.ga-mini-card__body strong { font-size: .92rem; font-weight: 700; }
.ga-mini-card__body span {
    font-size: .82rem; color: var(--ga-ink-soft);
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
/* Equipo de corredores — sección entre Gazaue y el mapa */
.ga-compromiso__team {
    margin-top: 1.8rem;
    padding-top: 1.6rem;
    border-top: 1px solid var(--ga-line);
}
.ga-compromiso__team-label {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ga-ocre);
    margin: 0 0 1rem;
}
.ga-compromiso__team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.ga-compromiso__map {
    margin-top: 1.8rem;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--ga-line);
    aspect-ratio: 16/4;
    background: var(--ga-cream-2);
    box-shadow: 0 18px 40px -28px rgba(20,32,26,.35);
}
.ga-compromiso__map iframe { width: 100%; height: 100%; border: 0; display: block; }
.ga-corredor {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    padding: 1.8rem 1.4rem 1.4rem;
    border: 1px solid rgba(20,32,26,.06);
    border-radius: 18px;
    color: var(--ga-ink);
    background: #fff;
    box-shadow: 0 22px 42px -22px rgba(20,32,26,.38), 0 4px 14px -8px rgba(20,32,26,.14);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.ga-corredor:hover {
    border-color: rgba(31,61,43,.18);
    box-shadow: 0 30px 56px -24px rgba(20,32,26,.42), 0 8px 22px -12px rgba(20,32,26,.2);
    transform: translateY(-2px);
}
.ga-corredor__photo {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 14px;
    overflow: hidden;
    background: var(--ga-cream-2);
    box-shadow: 0 0 0 1px rgba(20,32,26,.08), 0 10px 22px -10px rgba(20,32,26,.32);
}
.ga-corredor__photo img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center 25%;
    display: block;
}
.ga-corredor__info {
    display: flex;
    flex-direction: column;
    gap: .3rem;
    align-items: center;
}
.ga-corredor__info strong {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--ga-ink);
}
.ga-corredor__role {
    font-size: .72rem;
    color: var(--ga-ocre);
    text-transform: uppercase;
    letter-spacing: .12em;
    font-weight: 700;
}
.ga-corredor__actions {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    width: 100%;
    margin-top: .3rem;
}
.ga-corredor__action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    padding: .7rem .9rem;
    border-radius: 10px;
    text-decoration: none;
    font-size: .92rem;
    font-weight: 600;
    background: var(--ga-cream-2);
    color: var(--ga-ink);
    border: 1px solid transparent;
    transition: background .15s ease, color .15s ease, border-color .15s ease;
    min-width: 0;
}
.ga-corredor__action svg { flex: 0 0 16px; }
.ga-corredor__action span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.ga-corredor__action--phone { color: var(--ga-green); }
.ga-corredor__action--phone:hover {
    background: var(--ga-green);
    color: #fff;
}
.ga-corredor__action--mail:hover {
    background: #fff;
    border-color: var(--ga-line);
    color: var(--ga-green);
}

/* FORMULARIO DEDICADO */
.ga-formsection { padding: 4rem 0 5rem; background: var(--ga-cream); scroll-margin-top: 80px; }
.ga-formsection .ga-section-head { text-align: center; max-width: 720px; margin: 0 auto 2.4rem; }
.ga-formcard--standalone {
    max-width: 980px; margin: 0 auto;
}

@media (max-width: 880px) {
    .ga-hero--center { min-height: 360px; padding: 2.5rem 0; }
    .ga-compromiso { margin-top: 2rem; }
    .ga-compromiso__card {
        padding: 0 1.4rem 1.6rem;
        border-radius: 14px;
        overflow: hidden;
    }
    .ga-compromiso__grid { grid-template-columns: 1fr; gap: 1.2rem; }
    .ga-compromiso__photo {
        aspect-ratio: 4/3;
        max-width: none;
        margin: 0 -1.4rem;
        border-radius: 0;
    }
    .ga-compromiso__contacts { grid-template-columns: 1fr; }
    .ga-compromiso__map { aspect-ratio: 4/3; margin-top: 1.2rem; }
    .ga-compromiso__team { margin-top: 1.2rem; padding-top: 1.2rem; }
    .ga-compromiso__team-grid { grid-template-columns: 1fr; gap: .75rem; }

    /* Corredor cards en mobile: layout horizontal compacto (no foto full-width). */
    .ga-corredor {
        display: grid;
        grid-template-columns: 104px 1fr;
        grid-template-areas:
            "photo info"
            "actions actions";
        gap: .8rem 1rem;
        padding: 1rem;
        text-align: left;
        box-shadow: 0 8px 20px -14px rgba(20,32,26,.3);
    }
    .ga-corredor__photo {
        grid-area: photo;
        width: 104px; height: 104px;
        aspect-ratio: auto;
        border-radius: 50%;
    }
    .ga-corredor__info {
        grid-area: info;
        align-items: flex-start;
        align-self: center;
        gap: .2rem;
    }
    .ga-corredor__info strong { font-size: 1.05rem; }
    .ga-corredor__role { font-size: .68rem; }
    .ga-corredor__actions {
        grid-area: actions;
        flex-direction: column;
        gap: .4rem;
        margin-top: 0;
    }
    .ga-corredor__action {
        width: 100%;
        min-width: 0;
        padding: .55rem .75rem;
        font-size: .85rem;
        justify-content: flex-start;
    }
    .ga-corredor__action span {
        overflow: visible;
        text-overflow: clip;
        white-space: normal;
        word-break: break-all;
    }

    .ga-formsection { padding: 2.5rem 0 3rem; }
}

/* ==========================================================
   Modal del formulario (gatillado desde menú "Vender" / "Comprar")
   ========================================================== */
.ga-modal {
    position: fixed; inset: 0; z-index: 1000;
    display: flex; align-items: center; justify-content: center;
    padding: 1.2rem;
    opacity: 0;
    transition: opacity .22s ease;
}
.ga-modal[hidden] { display: none; }
.ga-modal.is-open { opacity: 1; }

.ga-modal__overlay {
    position: absolute; inset: 0;
    background: rgba(20, 32, 26, .55);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.ga-modal__panel {
    position: relative; z-index: 1;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 30px 60px -15px rgba(20, 32, 26, .45);
    width: min(560px, 100%);
    max-height: calc(100vh - 2.4rem);
    overflow-y: auto;
    padding: 2.2rem 2rem 2rem;
    transform: translateY(8px) scale(.98);
    transition: transform .22s ease;
    overflow: hidden auto;
}
.ga-modal__panel::before {
    content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px;
    background: linear-gradient(90deg, var(--ga-green), var(--ga-ocre));
}
.ga-modal.is-open .ga-modal__panel { transform: translateY(0) scale(1); }

.ga-modal__close {
    position: absolute; top: .8rem; right: .8rem;
    width: 36px; height: 36px;
    border: 0; background: transparent;
    border-radius: 999px;
    color: var(--ga-ink-soft); cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
    transition: background .15s ease, color .15s ease;
}
.ga-modal__close:hover { background: var(--ga-cream); color: var(--ga-ink); }

.ga-modal__head { margin-bottom: 1.4rem; padding-right: 2.2rem; }
.ga-modal__head h2 {
    font-size: 1.4rem; line-height: 1.25;
    margin: .35rem 0 0; color: var(--ga-ink);
}

body.ga-modal-open { overflow: hidden; }

@media (max-width: 540px) {
    .ga-modal { padding: 0; align-items: flex-end; }
    .ga-modal__panel {
        width: 100%;
        border-radius: 18px 18px 0 0;
        max-height: 92vh;
        padding: 1.8rem 1.2rem 1.4rem;
    }
    .ga-modal__head h2 { font-size: 1.2rem; }
}

/* ==========================================================
   Páginas CMS (.page) — contenido HTML libre desde admin
   ========================================================== */
.page {
    padding: 2.5rem 0 4rem;
    max-width: 760px;
    margin: 0 auto;
    word-wrap: break-word;
    overflow-wrap: break-word;
}
.page h1 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-bottom: 1.2rem; }
.page img, .page iframe, .page video, .page table { max-width: 100%; }
.page table { display: block; overflow-x: auto; }
.page pre { overflow-x: auto; }
@media (max-width: 540px) {
    .page { padding: 1.5rem 0 2.5rem; }
}
