/* Chamán Agro — sitio institucional estático (rediseño 2026).
 * Colores de marca tomados del sitio anterior: azul noche #0a1d26, verde profundo #012b27,
 * turquesa #32e2d7 (y #0b7f78 para texto sobre blanco, contraste AA), verde del logo #43b19f,
 * lima #bff009 (resaltado de títulos y botones principales). */

@font-face {
  font-family: 'Jakarta';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(/assets/fonts/plus-jakarta-sans-latin-wght-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --navy: #0a1d26;
  --navy-2: #102a35;
  --deep: #012b27;
  --teal: #32e2d7;
  --teal-text: #0b7f78;
  --green: #43b19f;
  --lime: #bff009;
  --lime-soft: #f3fccf;
  --text: #22333b;
  --muted: #536570;
  --soft: #f3f7f7;
  --soft-2: #e9f1f0;
  --line: #dfe8ea;
  --white: #fff;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 18px 50px -20px rgba(10, 29, 38, .28);
  --shadow-sm: 0 6px 20px -10px rgba(10, 29, 38, .25);
  --hdr: 72px;
  --wrap: 1240px;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
  --sec: clamp(4rem, 9vw, 7.5rem);
  --font: 'Jakarta', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + 1rem); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.65; color: var(--text); background: var(--white); overflow-x: hidden; }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { margin: 0; color: var(--navy); line-height: 1.12; letter-spacing: -.02em; font-weight: 750; text-wrap: balance; }
p { margin: 0; }
a { color: var(--teal-text); text-underline-offset: .2em; }
ul, ol { margin: 0; padding: 0; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--teal-text); outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible, .hero :focus-visible, .ftr :focus-visible, .cta :focus-visible { outline-color: var(--lime); }

.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 1rem; top: -100px; z-index: 1000; background: var(--lime); color: var(--navy); padding: .75rem 1rem; border-radius: 10px; font-weight: 700; }
.skip:focus { top: .75rem; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--pad)); margin-inline: auto; padding-inline: var(--pad); }

/* Resaltado lima de la marca (como los títulos del sitio anterior). */
.resaltado { background-image: linear-gradient(transparent 64%, var(--lime) 64%, var(--lime) 92%, transparent 92%); -webkit-box-decoration-break: clone; box-decoration-break: clone; padding-inline: .06em; }
.on-dark .resaltado, .hero .resaltado, .cta .resaltado { background: none; color: var(--lime); padding: 0; }

/* Marcadores de datos pendientes: deben verse a simple vista. */
.dato-pendiente { display: inline; background: repeating-linear-gradient(-45deg, #fff6a6 0 8px, #ffee70 8px 16px); color: #3b2f00; outline: 2px dashed #b38600; outline-offset: 1px; border-radius: 4px; padding: 0 .3em; font-weight: 700; font-size: .92em; letter-spacing: 0; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.dato-pendiente--confirmar { background: repeating-linear-gradient(-45deg, #ffe4c2 0 8px, #ffd49c 8px 16px); outline-color: #b35c00; color: #3d1f00; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; padding: .75rem 1.4rem; border-radius: 999px; font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn--lime { background: var(--lime); color: var(--navy); box-shadow: 0 10px 24px -12px rgba(191, 240, 9, .9); }
.btn--lime:hover { background: #ccf63a; }
.btn--dark { background: var(--navy); color: var(--white); }
.btn--dark:hover { background: var(--deep); }
.btn--ghost { border-color: rgba(255, 255, 255, .55); color: var(--white); background: rgba(255, 255, 255, .06); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, .14); }
.btn--outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--outline:hover { background: var(--navy); color: var(--white); }
.btn--sm { min-height: 42px; padding: .55rem 1.1rem; font-size: .95rem; }
.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--teal-text); text-decoration: none; }
.link-arrow svg { width: 1.1em; height: 1.1em; transition: transform .2s ease; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Encabezado ---------- */
.hdr { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: saturate(160%) blur(12px); backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid transparent; transition: box-shadow .25s ease, border-color .25s ease; }
.hdr--scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 30px -18px rgba(10, 29, 38, .35); }
.hdr__in { display: flex; align-items: center; gap: 1.5rem; height: var(--hdr); }
.hdr__logo { flex: none; display: block; border-radius: 6px; }
.hdr__logo img { width: auto; height: 44px; }
.hdr__toggle { display: none; margin-left: auto; width: 48px; height: 48px; border: 0; border-radius: 12px; background: var(--soft); cursor: pointer; align-items: center; justify-content: center; }
.burger, .burger::before, .burger::after { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.burger { position: relative; }
.burger::before, .burger::after { content: ''; position: absolute; left: 0; }
.burger::before { top: -7px; }
.burger::after { top: 7px; }
.menu-abierto .burger { background: transparent; }
.menu-abierto .burger::before { transform: translateY(7px) rotate(45deg); }
.menu-abierto .burger::after { transform: translateY(-7px) rotate(-45deg); }

.nav { display: flex; align-items: center; flex: 1; gap: 1rem; }
.nav__list { list-style: none; display: flex; align-items: center; gap: .25rem; margin-left: auto; }
.nav__link { display: inline-flex; align-items: center; gap: .3rem; padding: .6rem .8rem; border-radius: 10px; color: var(--navy); font-weight: 600; font-size: .98rem; text-decoration: none; background: none; border: 0; cursor: pointer; }
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--teal-text); background: var(--soft); }
.nav__link svg { width: 16px; height: 16px; transition: transform .2s ease; }
.nav__item--dd { position: relative; }
.nav__cta { display: flex; gap: .5rem; margin-left: .5rem; }
.dd { position: absolute; top: calc(100% + 10px); left: 50%; width: min(680px, 90vw); transform: translate(-50%, 6px); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: .75rem; opacity: 0; visibility: hidden; transition: opacity .2s ease, transform .2s ease, visibility .2s; }
.dd::before { content: ''; position: absolute; inset: -12px 0 auto; height: 12px; }
.dd ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: .25rem; }
.dd a { display: block; padding: .7rem .85rem; border-radius: 12px; text-decoration: none; color: var(--navy); font-weight: 650; font-size: .95rem; line-height: 1.3; }
.dd a span { display: block; font-weight: 450; color: var(--muted); font-size: .84rem; margin-top: .15rem; }
.dd a:hover, .dd a[aria-current="page"] { background: var(--soft); color: var(--teal-text); }
.nav__item--dd:hover .dd, .nav__item--dd:focus-within .dd, .nav__item--dd.abierto .dd { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav__item--dd.abierto .nav__dd-btn svg, .nav__item--dd:hover .nav__dd-btn svg { transform: rotate(180deg); }

@media (max-width: 1099.98px) {
  .hdr__toggle { display: inline-flex; }
  /* El encabezado usa backdrop-filter (bloque contenedor de los fixed): el panel se posiciona con altura explícita. */
  .js .nav { position: fixed; top: var(--hdr); left: 0; right: 0; height: calc(100vh - var(--hdr)); height: calc(100dvh - var(--hdr)); flex-direction: column; align-items: stretch; gap: 1.25rem; background: var(--white); padding: 1rem var(--pad) 2rem; overflow-y: auto; overscroll-behavior: contain; border-top: 1px solid var(--line); opacity: 0; transform: translateY(-12px); visibility: hidden; pointer-events: none; transition: opacity .25s ease, transform .25s ease, visibility .25s; }
  .js .menu-abierto .nav { opacity: 1; transform: none; visibility: visible; pointer-events: auto; }
  .menu-abierto { overflow: hidden; }
  .hdr__in { flex-wrap: wrap; }
  html:not(.js) .nav { flex-basis: 100%; flex-direction: column; align-items: stretch; padding-bottom: 1rem; }
  html:not(.js) .hdr__in { height: auto; min-height: var(--hdr); }
  .nav__list { flex-direction: column; align-items: stretch; margin: 0; gap: 0; }
  .nav__list > li { border-bottom: 1px solid var(--line); }
  .nav__link { width: 100%; justify-content: space-between; padding: 1rem .25rem; font-size: 1.1rem; border-radius: 0; }
  .nav__link:hover { background: none; }
  .nav__dd-btn svg { display: none; }
  .dd { position: static; width: auto; transform: none; opacity: 1; visibility: visible; border: 0; box-shadow: none; padding: 0 0 1rem; background: none; }
  .dd::before { display: none; }
  .dd ul { grid-template-columns: 1fr; }
  .dd a { padding: .6rem .75rem; background: var(--soft); }
  .dd a span { display: none; }
  .nav__item--dd:hover .dd, .nav__item--dd:focus-within .dd, .nav__item--dd.abierto .dd { transform: none; }
  .nav__cta { margin: 0; flex-direction: column; }
  .nav__cta .btn { width: 100%; }
}

/* ---------- Secciones genéricas ---------- */
.sec { padding-block: var(--sec); }
.sec--soft { background: var(--soft); }
.sec--tight { padding-block: clamp(3rem, 6vw, 4.5rem); }
.sec__head { max-width: 760px; margin-bottom: clamp(2.25rem, 5vw, 3.5rem); }
.sec__head--center { margin-inline: auto; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-text); margin-bottom: 1rem; }
.eyebrow::before { content: ''; width: 22px; height: 3px; border-radius: 3px; background: var(--lime); }
.on-dark .eyebrow, .hero .eyebrow { color: var(--teal); }
.h2 { font-size: clamp(1.85rem, 1.2rem + 2.4vw, 3rem); }
.h3 { font-size: clamp(1.3rem, 1.05rem + .8vw, 1.65rem); }
.lead { font-size: clamp(1.07rem, 1rem + .35vw, 1.25rem); color: var(--muted); margin-top: 1.1rem; }
.on-dark { background: var(--navy); color: #cfe0e2; position: relative; overflow: hidden; }
.on-dark h2, .on-dark h3 { color: var(--white); }
.on-dark .lead { color: #b5cacd; }

/* ---------- Portada ---------- */
.hero { position: relative; color: var(--white); background: var(--deep); overflow: hidden; isolation: isolate; }
.hero__bg, .hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(95deg, rgba(1, 43, 39, .95) 0%, rgba(10, 29, 38, .86) 38%, rgba(10, 29, 38, .45) 72%, rgba(10, 29, 38, .25) 100%), linear-gradient(0deg, rgba(10, 29, 38, .7), rgba(10, 29, 38, 0) 45%); }
.hero__in { min-height: clamp(560px, calc(92vh - var(--hdr)), 820px); display: flex; flex-direction: column; justify-content: center; padding-block: clamp(4rem, 10vw, 7rem); }
.hero__content { max-width: 760px; }
.hero h1 { color: var(--white); font-size: clamp(2.3rem, 1.2rem + 4.4vw, 4.6rem); line-height: 1.04; letter-spacing: -.03em; }
.hero .lead { color: #d7e7e8; max-width: 620px; margin-top: 1.5rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2.25rem; }
.hero__puntos { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 2.5rem; color: #cfe0e2; font-size: .95rem; font-weight: 600; }
.hero__puntos li { display: inline-flex; align-items: center; gap: .5rem; }
.hero__puntos svg { width: 20px; height: 20px; color: var(--lime); flex: none; }
@media (max-width: 719.98px) {
  .hero::after { background: linear-gradient(180deg, rgba(1, 43, 39, .86) 0%, rgba(10, 29, 38, .82) 60%, rgba(10, 29, 38, .92) 100%); }
  .hero__ctas .btn { flex: 1 1 100%; }
}

/* ---------- Logos de confianza ---------- */
.logos { padding-block: clamp(2.25rem, 5vw, 3.25rem); border-bottom: 1px solid var(--line); }
.logos__in { display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 960px) { .logos__in { grid-template-columns: 260px 1fr; gap: 3rem; } }
.logos__title { font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); }
.logos__title span { display: block; margin-top: .35rem; text-transform: none; letter-spacing: 0; font-weight: 500; font-size: .95rem; color: var(--muted); }
.logos__list { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: .75rem 1.25rem; align-items: center; }
.logos__list a { display: flex; align-items: center; justify-content: center; height: 72px; padding: .5rem; border-radius: 12px; transition: background-color .2s ease; }
.logos__list a:hover { background: var(--soft); }
.logos__list img { max-height: 58px; width: auto; filter: grayscale(1); opacity: .8; transition: filter .25s ease, opacity .25s ease; }
.logos__list a:hover img, .logos__list a:focus-visible img { filter: none; opacity: 1; }

/* ---------- Cifras ---------- */
.cifras { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
@media (min-width: 900px) { .cifras { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.cifra { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem); position: relative; overflow: hidden; }
.cifra::after { content: ''; position: absolute; left: clamp(1.25rem, 3vw, 2rem); bottom: 0; width: 48px; height: 4px; border-radius: 4px 4px 0 0; background: var(--lime); }
.cifra__num { display: block; font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.1rem); font-weight: 800; color: var(--navy); letter-spacing: -.03em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.cifra__num small { font-size: .5em; font-weight: 700; letter-spacing: 0; margin-left: .1em; }
.cifra__num .dato-pendiente { font-size: .5em; vertical-align: middle; }
.cifra__txt { display: block; margin-top: .5rem; color: var(--muted); font-size: .98rem; line-height: 1.4; }
.cifras__nota { margin-top: 1.25rem; color: var(--muted); font-size: .95rem; }

/* ---------- Pasos ---------- */
.pasos { list-style: none; display: grid; gap: 1.25rem; counter-reset: paso; }
@media (min-width: 900px) { .pasos { grid-template-columns: repeat(3, 1fr); } }
.paso { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.75rem 1.75rem; transition: transform .25s ease, box-shadow .25s ease; }
.paso:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.paso__n { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--navy); color: var(--lime); font-weight: 800; font-size: 1.05rem; margin-bottom: 1.25rem; }
.paso h3 { font-size: 1.3rem; margin-bottom: .6rem; }
.paso p { color: var(--muted); }
.personal { margin-top: 1.25rem; display: grid; gap: 1rem 2rem; align-items: center; background: var(--lime-soft); border: 1px solid #e2f3a0; border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.25rem); }
@media (min-width: 900px) { .personal { grid-template-columns: auto 1fr; } }
.personal__icon { width: 56px; height: 56px; border-radius: 16px; background: var(--navy); color: var(--lime); display: grid; place-items: center; }
.personal__icon svg { width: 28px; height: 28px; }
.personal h3 { font-size: 1.25rem; margin-bottom: .4rem; }
.personal p { color: #3a4a3f; }

/* ---------- Servicios destacados (filas alternadas) ---------- */
.dest { display: grid; gap: clamp(4rem, 8vw, 6.5rem); }
.dest__row { display: grid; gap: clamp(1.75rem, 4vw, 4rem); align-items: center; }
@media (min-width: 900px) {
  .dest__row { grid-template-columns: 1.05fr 1fr; }
  .dest__row:nth-child(even) .dest__media { order: 2; }
}
.dest__media { position: relative; }
.dest__media picture, .media-card picture { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.dest__media img, .media-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .6s ease; }
.dest__row:hover .dest__media img { transform: scale(1.03); }
.chip-float { position: absolute; left: 1rem; bottom: 1rem; display: inline-flex; align-items: center; gap: .5rem; background: rgba(255, 255, 255, .95); color: var(--navy); font-weight: 700; font-size: .9rem; padding: .55rem .9rem; border-radius: 999px; box-shadow: var(--shadow-sm); }
.chip-float::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(191, 240, 9, .35); }
.dest__body .eyebrow { margin-bottom: .85rem; }
.dest__body h3 { font-size: clamp(1.55rem, 1.1rem + 1.6vw, 2.35rem); }
.dest__body p { margin-top: 1rem; color: var(--muted); font-size: 1.07rem; }
.checks { list-style: none; display: grid; gap: .6rem; margin-top: 1.5rem; }
.checks li { display: flex; gap: .7rem; align-items: flex-start; font-weight: 600; color: var(--navy); }
.checks svg { flex: none; width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--lime); color: var(--navy); margin-top: .05rem; }
.dest__body .btn, .dest__body .link-arrow { margin-top: 1.75rem; }

/* ---------- Tarjetas de servicio ---------- */
.cards { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.card { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.card picture { overflow: hidden; }
.card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .6s ease; }
.card:hover img { transform: scale(1.05); }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 1.4rem 1.5rem 1.6rem; }
.card__tag { font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-text); }
.card h3 { font-size: 1.2rem; margin-top: .55rem; line-height: 1.25; }
.card p { color: var(--muted); margin-top: .6rem; font-size: .98rem; }
.card .link-arrow { margin-top: auto; padding-top: 1.1rem; }
.card .link-arrow::after { content: ''; position: absolute; inset: 0; border-radius: var(--radius); }
.card:focus-within { box-shadow: 0 0 0 3px var(--teal-text); }
.card .link-arrow:focus-visible { outline: none; }

/* ---------- Plataforma ---------- */
.on-dark::before { content: ''; position: absolute; width: 720px; height: 720px; right: -240px; top: -260px; background: radial-gradient(circle, rgba(50, 226, 215, .22), rgba(50, 226, 215, 0) 65%); pointer-events: none; }
.plat__top { display: grid; gap: 2.5rem; align-items: center; margin-bottom: clamp(2.5rem, 5vw, 4rem); position: relative; }
@media (min-width: 1000px) { .plat__top { grid-template-columns: 1fr 1fr; } }
.plat__top .sec__head { margin-bottom: 0; }
.plat__shots { position: relative; padding-right: 18%; }
.plat__shots .shot-desk { border-radius: 14px; overflow: hidden; box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .7); border: 1px solid rgba(255, 255, 255, .12); }
.plat__shots .shot-mob { position: absolute; right: 0; bottom: -8%; width: 30%; border-radius: 18px; overflow: hidden; box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .8); border: 1px solid rgba(255, 255, 255, .12); }
.benef { list-style: none; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); position: relative; }
@media (min-width: 1100px) { .benef { grid-template-columns: repeat(6, 1fr); } .benef li { grid-column: span 2; } .benef li:nth-child(4), .benef li:nth-child(5) { grid-column: span 3; } }
.benef li { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius); padding: 1.6rem; transition: background-color .25s ease, border-color .25s ease, transform .25s ease; }
.benef li:hover { background: rgba(255, 255, 255, .07); border-color: rgba(50, 226, 215, .45); transform: translateY(-3px); }
.benef img { width: 52px; height: 52px; margin-bottom: 1.1rem; }
.benef__tag { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); border: 1px solid rgba(50, 226, 215, .4); border-radius: 999px; padding: .2rem .6rem; margin-bottom: .8rem; }
.benef h3 { font-size: 1.12rem; line-height: 1.35; }
.benef p { margin-top: .6rem; font-size: .96rem; color: #a9bfc3; }

/* ---------- Prueba social y testimonios ---------- */
.caso { display: grid; gap: 1.5rem; align-items: center; background: var(--navy); color: var(--white); border-radius: calc(var(--radius) + 4px); padding: clamp(1.75rem, 4vw, 3rem); position: relative; overflow: hidden; }
.caso::after { content: ''; position: absolute; right: -80px; bottom: -120px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(191, 240, 9, .25), rgba(191, 240, 9, 0) 70%); }
@media (min-width: 900px) { .caso { grid-template-columns: auto 1fr; gap: 2.5rem; } }
.caso__icon { width: 72px; height: 72px; border-radius: 20px; background: var(--lime); color: var(--navy); display: grid; place-items: center; }
.caso__icon svg { width: 36px; height: 36px; }
.caso blockquote { margin: 0; font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); font-weight: 700; line-height: 1.35; color: var(--white); position: relative; z-index: 1; }
.caso small { display: block; margin-top: .8rem; color: #a9bfc3; font-size: .9rem; position: relative; z-index: 1; }
.testis { list-style: none; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); margin-top: 2rem; }
.testi { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; display: flex; flex-direction: column; gap: 1.25rem; }
.testi blockquote { margin: 0; color: var(--text); font-size: 1.02rem; }
.testi figcaption { display: flex; align-items: center; gap: .85rem; margin-top: auto; }
.testi img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.testi strong { display: block; color: var(--navy); }
.testi span { color: var(--muted); font-size: .9rem; }
.dejar { display: grid; gap: clamp(2rem, 4vw, 3.5rem); margin-top: clamp(3rem, 6vw, 4.5rem); background: var(--white); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); padding: clamp(1.5rem, 4vw, 3rem); box-shadow: var(--shadow-sm); }
@media (min-width: 1000px) { .dejar { grid-template-columns: .9fr 1.1fr; } }
.dejar h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.dejar__info p { margin-top: 1rem; color: var(--muted); }
.dejar__alt { margin-top: 1.5rem; font-size: .95rem; }
.form { display: none; gap: 1rem; grid-template-columns: 1fr 1fr; }
.js .form { display: grid; }
.form .full { grid-column: 1 / -1; }
@media (max-width: 599.98px) { .form { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 700; font-size: .92rem; color: var(--navy); margin-bottom: .35rem; }
.field label small { font-weight: 500; color: var(--muted); }
.field input, .field textarea { width: 100%; border: 1.5px solid #c9d6d9; border-radius: 12px; padding: .8rem .95rem; background: var(--white); transition: border-color .2s ease, box-shadow .2s ease; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--teal-text); box-shadow: 0 0 0 4px rgba(11, 127, 120, .15); }
.check { display: flex; gap: .7rem; align-items: flex-start; font-size: .93rem; color: var(--text); }
.check input { width: 20px; height: 20px; margin-top: .15rem; accent-color: var(--teal-text); flex: none; }
.form__btns { display: flex; flex-wrap: wrap; gap: .75rem; }
.form__nota { font-size: .88rem; color: var(--muted); }
.form__estado { font-weight: 600; color: var(--teal-text); }
.form__estado:empty { display: none; }

/* ---------- Quiénes somos ---------- */
.nos { display: grid; gap: clamp(2rem, 5vw, 4.5rem); }
@media (min-width: 1000px) { .nos { grid-template-columns: 1.1fr .9fr; align-items: start; } }
.nos__txt p + p { margin-top: 1rem; }
.nos__txt p { color: var(--muted); font-size: 1.07rem; }
.nos__panel { background: var(--soft); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.25rem); }
.nos__panel h3 { font-size: 1.1rem; margin-bottom: 1rem; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips li { background: var(--white); border: 1px solid var(--line); color: var(--navy); font-weight: 650; font-size: .92rem; padding: .45rem .9rem; border-radius: 999px; }

/* ---------- Llamado final ---------- */
.cta { position: relative; isolation: isolate; color: var(--white); overflow: hidden; }
.cta__bg, .cta__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(1, 43, 39, .94), rgba(10, 29, 38, .8)); }
.cta__in { padding-block: clamp(4rem, 9vw, 6.5rem); display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .cta__in { grid-template-columns: 1.3fr auto; } }
.cta h2 { color: var(--white); font-size: clamp(2rem, 1.3rem + 2.8vw, 3.4rem); }
.cta p { margin-top: 1rem; color: #d7e7e8; font-size: 1.15rem; max-width: 620px; }
.cta__btns { display: flex; flex-wrap: wrap; gap: .85rem; }
@media (max-width: 599.98px) { .cta__btns .btn { flex: 1 1 100%; } }

/* ---------- Pie ---------- */
.ftr { background: #071820; color: #a9bfc3; padding-top: clamp(3.5rem, 7vw, 5rem); font-size: .97rem; }
.ftr__grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .ftr__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .ftr__grid { grid-template-columns: 1.4fr 1fr 1.3fr 1.2fr; } }
.ftr__logo img { width: auto; height: 56px; }
.ftr__brand p { margin-top: 1.1rem; max-width: 320px; }
.ftr__title { color: var(--white); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; margin-bottom: 1rem; }
.ftr ul { list-style: none; display: grid; gap: .5rem; }
.ftr a { color: #d5e3e5; text-decoration: none; }
.ftr a:hover { color: var(--lime); text-decoration: underline; }
.ftr__contact a { display: inline-flex; align-items: center; gap: .6rem; }
.ftr__contact svg { width: 18px; height: 18px; color: var(--teal); flex: none; }
.ftr__bottom { margin-top: 3rem; padding-block: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; flex-wrap: wrap; gap: .75rem 2rem; justify-content: space-between; font-size: .9rem; }

/* Botón flotante de WhatsApp */
.wa-float { position: fixed; right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 90; width: 60px; height: 60px; border-radius: 50%; box-shadow: 0 12px 28px -10px rgba(0, 0, 0, .45); transition: transform .2s ease; }
.wa-float:hover { transform: scale(1.06); }
.wa-float img { width: 60px; height: 60px; }
.menu-abierto .wa-float { display: none; }

/* ---------- Páginas de servicio ---------- */
.phero { background: linear-gradient(180deg, var(--soft) 0%, var(--white) 100%); padding-block: clamp(2rem, 4vw, 3rem) clamp(3.5rem, 7vw, 5.5rem); position: relative; overflow: hidden; }
.phero::before { content: ''; position: absolute; width: 560px; height: 560px; left: -220px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(50, 226, 215, .18), rgba(50, 226, 215, 0) 70%); }
.migas { position: relative; margin-bottom: clamp(1.75rem, 4vw, 3rem); font-size: .9rem; }
.migas ol { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; padding: 0; margin: 0; color: var(--muted); }
.migas li + li::before { content: '/'; margin-right: .35rem; color: #9fb1b6; }
.migas a { color: var(--muted); text-decoration: none; }
.migas a:hover { color: var(--teal-text); text-decoration: underline; }
.phero__grid { position: relative; display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 1000px) { .phero__grid { grid-template-columns: 1.1fr .9fr; } }
.phero h1 { font-size: clamp(2rem, 1.2rem + 3vw, 3.5rem); line-height: 1.08; letter-spacing: -.03em; }
.phero .lead { color: var(--text); }
.phero__res { margin-top: .9rem; font-weight: 700; color: var(--navy); font-size: 1.1rem; }
.phero__ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
@media (max-width: 599.98px) { .phero__ctas .btn { flex: 1 1 100%; } }
.media-card { position: relative; }
.media-card .chip-float { left: auto; right: 1rem; }
.metricas { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.contraste { display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .contraste { grid-template-columns: 1fr 1fr; } }
.contraste__col { border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.25rem); border: 1px solid var(--line); background: var(--white); }
.contraste__col--con { background: var(--navy); border-color: var(--navy); color: #d5e3e5; }
.contraste__col h3 { font-size: 1.2rem; display: flex; align-items: center; gap: .7rem; margin-bottom: 1.25rem; }
.contraste__col--con h3 { color: var(--white); }
.contraste__col h3 span { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; }
.contraste__col--sin h3 span { background: #fde8e6; color: #b42318; }
.contraste__col--con h3 span { background: var(--lime); color: var(--navy); }
.contraste__col h3 svg { width: 18px; height: 18px; }
.contraste ul { list-style: none; display: grid; gap: .85rem; }
.contraste li { display: flex; gap: .7rem; align-items: flex-start; }
.contraste li svg { width: 20px; height: 20px; flex: none; margin-top: .2rem; }
.contraste__col--sin li svg { color: #b42318; }
.contraste__col--con li svg { color: var(--lime); }
.como { list-style: none; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.como li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; transition: transform .25s ease, box-shadow .25s ease; }
.como li:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.como__n { display: inline-block; font-size: .8rem; font-weight: 800; color: var(--teal-text); background: var(--soft-2); border-radius: 8px; padding: .2rem .55rem; margin-bottom: .9rem; }
.como h3 { font-size: 1.12rem; }
.como p { margin-top: .5rem; color: var(--muted); font-size: .97rem; }
.bloque { display: grid; gap: 1.5rem 3rem; align-items: center; background: linear-gradient(120deg, var(--deep), var(--navy)); color: #d5e3e5; border-radius: calc(var(--radius) + 4px); padding: clamp(1.75rem, 4vw, 3.25rem); position: relative; overflow: hidden; }
.bloque::after { content: ''; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(50, 226, 215, .2), rgba(50, 226, 215, 0) 70%); }
@media (min-width: 900px) { .bloque { grid-template-columns: 1.3fr 1fr; } }
.bloque h2 { color: var(--white); font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); }
.bloque p { margin-top: 1rem; font-size: 1.07rem; }
.bloque .chips li { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16); color: var(--white); }
.bloque .eyebrow { color: var(--teal); }
.acordeon { display: grid; gap: .75rem; max-width: 900px; }
.acordeon details { background: var(--white); border: 1px solid var(--line); border-radius: 16px; transition: box-shadow .2s ease; }
.acordeon details[open] { box-shadow: var(--shadow-sm); }
.acordeon summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.15rem 1.35rem; font-weight: 700; color: var(--navy); font-size: 1.05rem; border-radius: 16px; }
.acordeon summary::-webkit-details-marker { display: none; }
.acordeon summary svg { width: 20px; height: 20px; flex: none; transition: transform .25s ease; color: var(--teal-text); }
.acordeon details[open] summary svg { transform: rotate(45deg); }
.acordeon details p { padding: 0 1.35rem 1.3rem; color: var(--muted); }

/* ---------- Texto legal y 404 ---------- */
.prosa { max-width: 780px; }
.prosa h2 { font-size: 1.35rem; margin: 2.25rem 0 .75rem; }
.prosa p, .prosa li { color: var(--text); }
.prosa ul { padding-left: 1.25rem; margin-top: .6rem; display: grid; gap: .4rem; }
.prosa .vigencia { color: var(--muted); margin-top: .75rem; }
.e404 { min-height: calc(100vh - var(--hdr)); display: grid; place-items: center; text-align: center; padding-block: 4rem; background: var(--soft); }
.e404__code { font-size: clamp(5rem, 3rem + 10vw, 9rem); font-weight: 800; line-height: 1; color: var(--navy); letter-spacing: -.05em; }
.e404__code span { color: var(--teal-text); }
.e404 h1 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem); margin-top: 1rem; }
.e404 p { margin: 1rem auto 0; max-width: 520px; color: var(--muted); }
.e404__btns { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-top: 2rem; }

/* ---------- Microanimaciones al hacer scroll ---------- */
.reveal-on [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.reveal-on [data-reveal].is-in { opacity: 1; transform: none; }
.reveal-on [data-reveal="d1"] { --d: .08s; }
.reveal-on [data-reveal="d2"] { --d: .16s; }
.reveal-on [data-reveal="d3"] { --d: .24s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.mas-head { margin-top: clamp(4.5rem, 9vw, 7rem); }
.phero--legal { padding-bottom: clamp(1rem, 3vw, 2rem); }
.phero--legal + .sec--tight { padding-top: clamp(1rem, 3vw, 2rem); }

/* Cifras de la portada: grandes y centradas. */
.cifras--home { max-width: 1180px; margin-inline: auto; grid-template-columns: 1fr; gap: 1rem; text-align: center; }
@media (min-width: 760px) { .cifras--home { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cifras--home .cifra { padding: clamp(1.75rem, 3vw, 2.5rem) 1rem clamp(2rem, 3.5vw, 2.75rem); display: flex; flex-direction: column; align-items: center; container-type: inline-size; }
.cifras--home .cifra::after { left: 50%; transform: translateX(-50%); width: 64px; }
.cifras--home .cifra__num { font-size: 2.75rem; font-size: clamp(2.5rem, 22cqi, 4.9rem); white-space: nowrap; }
.cifras--home .cifra__num small { font-size: .45em; }
.cifras--home .cifra__txt { max-width: 24ch; margin-inline: auto; font-size: clamp(1rem, .95rem + .3vw, 1.15rem); margin-top: .65rem; }

/* Socios fundadores. */
.socios { margin-top: clamp(3.5rem, 7vw, 5.5rem); }
.socios__head { text-align: center; margin-bottom: clamp(1.75rem, 4vw, 2.75rem); }
.socios__list { list-style: none; display: grid; gap: 1.25rem; grid-template-columns: 1fr; max-width: 1080px; margin-inline: auto; }
@media (min-width: 760px) { .socios__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.socio { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.25rem); display: flex; align-items: center; gap: 1.25rem; transition: transform .25s ease, box-shadow .25s ease; }
.socio:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
@media (min-width: 760px) { .socio { flex-direction: column; text-align: center; } }
.socio__avatar { flex: none; display: grid; place-items: center; width: clamp(76px, 8vw, 104px); height: clamp(76px, 8vw, 104px); border-radius: 50%; background: linear-gradient(135deg, var(--navy), var(--deep)); color: var(--lime); font-weight: 800; font-size: clamp(1.5rem, 1.1rem + 1vw, 2rem); letter-spacing: .02em; box-shadow: 0 0 0 6px var(--lime-soft); }
.socio h4 { font-size: clamp(1.2rem, 1.05rem + .5vw, 1.4rem); color: var(--navy); }
.socio__rol { margin-top: .3rem; color: var(--teal-text); font-weight: 700; font-size: .95rem; }

/* Franja "Lo que dicen los estudios" (evidencia de terceros con fuente) */
.estudios__list { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.estudio { display: flex; flex-direction: column; gap: .6rem; background: var(--soft); border: 1px solid var(--line); border-left: 4px solid var(--teal-text); border-radius: var(--radius-sm); padding: clamp(1.15rem, 2.5vw, 1.6rem); }
.estudio__num { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.4rem); font-weight: 800; color: var(--navy); letter-spacing: -.03em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.estudio__txt { color: var(--text); font-size: .98rem; line-height: 1.5; flex: 1; }
.estudio__fuente { font-size: .85rem; color: var(--muted); line-height: 1.4; overflow-wrap: anywhere; }
.estudio__fuente a { font-weight: 600; }
.estudios__nota { margin-top: 1.25rem; max-width: 80ch; color: var(--muted); font-size: .85rem; line-height: 1.5; padding-top: 1rem; border-top: 1px solid var(--line); }
