/* =========================================================
   CENTRO DE CUIDADO INTEGRAL LA ESPERANZA
   Premium Visual System v2.0 — Luxury Healthcare
   HTML5 + CSS3 · Playfair Display + Plus Jakarta Sans
   Editorial · Cinematic · Glassmorphism · Motion-ready
   ========================================================= */

/* ---------- 1. DESIGN TOKENS ---------- */
:root {
  /* Paleta de marca (refinada, cálida, no hospitalaria) */
  --forest:       #2F5641;   /* verde bosque profundo */
  --forest-2:     #234232;
  --ink-900:      #16241B;   /* casi negro verdoso (secciones oscuras) */
  --green:        #4A7C59;
  --green-dark:   #355C42;
  --sage:         #A8C686;   /* verde salvia */
  --sage-soft:    #C9DDB4;
  --green-tint:   #EFF4E9;
  --blue:         #8FC1D4;
  --orange:       #E8843C;   /* naranja cálido (CTA) */
  --orange-2:     #F2A65E;
  --orange-dark:  #CF6E27;
  --cream:        #F6F1E7;   /* crema cálido */
  --bone:         #FBFAF7;   /* blanco hueso */
  --white:        #FFFFFF;
  --ink:          #243029;
  --muted:        #66756B;
  --line:         #E7E0D3;
  --gold:         #C9A24B;   /* acento editorial sutil */
  --wa:           #25D366;
  --wa-dark:      #1ebe57;

  /* Tipografía premium */
  --font-head: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Escala fluida amplia (más aire, más editorial) */
  --display: clamp(2.6rem, 1.6rem + 4.6vw, 5rem);
  --h1: clamp(2.4rem, 1.6rem + 3.4vw, 4rem);
  --h2: clamp(1.9rem, 1.4rem + 2.2vw, 2.9rem);
  --h3: clamp(1.25rem, 1.05rem + 0.9vw, 1.6rem);
  --lead: clamp(1.08rem, 1rem + 0.45vw, 1.3rem);

  /* Espaciado / contenedores */
  --space-section: clamp(4.5rem, 3rem + 6vw, 9rem);
  --container: 1220px;
  --container-wide: 1400px;
  --radius: 22px;
  --radius-sm: 14px;
  --radius-lg: 34px;

  /* Sombras premium (suaves, en capas) */
  --shadow-sm: 0 6px 20px rgba(31,46,36,.06);
  --shadow:    0 18px 50px rgba(31,46,36,.10);
  --shadow-lg: 0 40px 90px rgba(31,46,36,.18);
  --shadow-glow: 0 20px 60px rgba(232,132,60,.28);

  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --transition: .45s var(--ease);
}

/* ---------- 2. RESET / BASE ---------- */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
html:not(.lenis) { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 18px; line-height: 1.72; color: var(--ink);
  background: var(--bone); overflow-x: hidden;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
h1,h2,h3,h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.1; color: var(--ink); letter-spacing: -.01em; }
::selection { background: var(--sage); color: var(--forest-2); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

/* Lenis smooth scroll */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* ---------- 3. LAYOUT ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 1.4rem; }
.container--wide { max-width: var(--container-wide); }
.section { padding-block: var(--space-section); position: relative; }
.section--tint { background: var(--green-tint); }
.section--cream { background: var(--cream); }
.section--bone { background: var(--bone); }
.section--white { background: var(--white); }
.section--ink { background: var(--ink-900); color: rgba(255,255,255,.85); }
.section--ink h1,.section--ink h2,.section--ink h3 { color: #fff; }
.section--ink .section__subtitle { color: rgba(255,255,255,.7); }
.section__head { max-width: 760px; margin: 0 auto 3.4rem; text-align: center; }
.section__head.left { margin-inline: 0; text-align: left; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-body); font-weight: 700;
  font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--green);
  margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 26px; height: 1.5px; background: var(--orange); display: inline-block; }
.section--ink .eyebrow { color: var(--sage); }
.section__title { font-size: var(--h2); margin-bottom: 1rem; }
.section__title em { font-style: italic; color: var(--green); font-family: var(--font-head); }
.section--ink .section__title em { color: var(--sage); }
.section__subtitle { font-size: var(--lead); color: var(--muted); }
.grid { display: grid; gap: 1.6rem; }

/* Blobs de profundidad ambiental */
.bg-blobs { position: absolute; inset: 0; overflow: hidden; z-index: 0; pointer-events: none; }
.bg-blobs span { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; }
.bg-blobs .b1 { width: 380px; height: 380px; background: var(--sage-soft); top: -120px; right: -80px; }
.bg-blobs .b2 { width: 320px; height: 320px; background: var(--blue); bottom: -120px; left: -90px; opacity: .35; }
.section > .container { position: relative; z-index: 1; }

/* ---------- 4. BOTONES ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem; line-height: 1; letter-spacing: .01em;
  padding: 1.05rem 1.9rem; border-radius: 999px;
  transition: transform .4s var(--ease-out), box-shadow var(--transition), background var(--transition), color var(--transition);
  text-align: center; white-space: nowrap; will-change: transform;
}
.btn svg { width: 1.15em; height: 1.15em; transition: transform var(--transition); }
.btn--primary { background: linear-gradient(135deg, var(--orange-2), var(--orange)); color: #fff; box-shadow: var(--shadow-glow); }
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 26px 70px rgba(232,132,60,.4); }
.btn--primary:hover svg { transform: translateX(3px); }
.btn--ghost { background: transparent; color: var(--green-dark); border: 1.5px solid var(--sage); }
.btn--ghost:hover { background: var(--forest); color: #fff; border-color: var(--forest); transform: translateY(-3px); }
.btn--light { background: rgba(255,255,255,.92); color: var(--forest-2); box-shadow: var(--shadow-sm); backdrop-filter: blur(6px); }
.btn--light:hover { transform: translateY(-3px); box-shadow: var(--shadow); background:#fff; }
.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 14px 36px rgba(37,211,102,.32); }
.btn--wa:hover { background: var(--wa-dark); transform: translateY(-3px); }
.btn--lg { padding: 1.2rem 2.3rem; font-size: 1.06rem; }
.btn--block { display: flex; width: 100%; }
/* Ripple */
.btn .ripple { position: absolute; border-radius: 50%; transform: scale(0); background: rgba(255,255,255,.45); animation: ripple .65s var(--ease-out); pointer-events: none; z-index: -1; }
@keyframes ripple { to { transform: scale(2.6); opacity: 0; } }

/* ---------- 5. HEADER ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: transparent; transition: background .5s var(--ease), box-shadow .5s var(--ease), padding .4s var(--ease);
}
.site-header.scrolled { background: rgba(251,250,247,.82); backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 6px 30px rgba(31,46,36,.08); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.1rem; transition: padding .4s var(--ease); }
.site-header.scrolled .nav { padding-block: .65rem; }
.nav__logo { display: flex; align-items: center; gap: .6rem; }
.nav__logo img { height: 88px; width: auto; transition: height .4s var(--ease); filter: drop-shadow(0 3px 9px rgba(0,0,0,.18)); }
.site-header.scrolled .nav__logo img { height: 70px; }
@media (max-width: 600px) { .nav__logo img { height: 68px; } .site-header.scrolled .nav__logo img { height: 58px; } }
.nav__menu { display: none; align-items: center; gap: 2rem; }
.nav__link { font-weight: 500; font-size: .96rem; color: var(--ink); position: relative; padding: .35rem 0; }
.nav__link::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--orange); border-radius: 2px; transition: width var(--transition); }
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--green); }
.nav__link[aria-current="page"]::after, .nav__link:hover::after { width: 100%; }
/* Header sobre hero (texto claro hasta hacer scroll) */
body[data-page="inicio"] .site-header:not(.scrolled) .nav__link,
body[data-page="landing"] .site-header:not(.scrolled) .nav__link { color: rgba(255,255,255,.92); }
body[data-page="inicio"] .site-header:not(.scrolled) .nav__phone { color: #fff; }
.nav__actions { display: flex; align-items: center; gap: 1rem; }
/* Teléfono del header: minimalista, icono pequeño y elegante */
.nav__phone { display: none; font-weight: 600; color: var(--green-dark); font-size: .9rem; align-items: center; gap: .45rem; letter-spacing: .01em; }
.nav__phone:hover { color: var(--orange); }
.nav__phone-ico { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--green-tint); color: var(--green); flex: none; }
.nav__phone-ico svg { width: 13px; height: 13px; }
body[data-page="inicio"] .site-header:not(.scrolled) .nav__phone-ico,
body[data-page="landing"] .site-header:not(.scrolled) .nav__phone-ico { background: rgba(255,255,255,.16); color: #fff; }
.nav__cta { display: none; }
/* Botón WhatsApp del header: pequeño, elegante, premium */
.nav__wa { display: none; align-items: center; gap: .45rem; padding: .5rem 1rem; border-radius: 999px; font-family: var(--font-body); font-weight: 600; font-size: .86rem; color: #fff; background: var(--wa); border: 1.5px solid rgba(255,255,255,.25); box-shadow: 0 6px 16px rgba(37,211,102,.28); transition: transform .3s var(--ease-out), background var(--transition), box-shadow var(--transition); white-space: nowrap; }
.nav__wa svg { width: 16px; height: 16px; }
.nav__wa:hover { background: var(--wa-dark); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(37,211,102,.42); }
@media (min-width: 768px) { .nav__wa { display: inline-flex; } }
.nav__toggle { display: inline-flex; flex-direction: column; gap: 5px; padding: .55rem; }
.nav__toggle span { width: 26px; height: 2.5px; background: var(--green-dark); border-radius: 2px; transition: var(--transition); }
body[data-page="inicio"] .site-header:not(.scrolled) .nav__toggle span,
body[data-page="landing"] .site-header:not(.scrolled) .nav__toggle span { background: #fff; }
.nav__toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile drawer */
.mobile-menu { position: fixed; inset: 0 0 0 auto; width: min(84%, 360px); background: var(--bone); box-shadow: var(--shadow-lg); z-index: 110; transform: translateX(100%); transition: transform .5s var(--ease-out); display: flex; flex-direction: column; padding: 5.5rem 1.8rem 2rem; }
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a { padding: 1rem 0; font-size: 1.12rem; font-weight: 500; border-bottom: 1px solid var(--line); }
.mobile-menu a[aria-current="page"] { color: var(--green); }
.mobile-menu .btn { margin-top: 1.6rem; }
.menu-overlay { position: fixed; inset: 0; background: rgba(22,36,27,.5); backdrop-filter: blur(3px); z-index: 105; opacity: 0; visibility: hidden; transition: var(--transition); }
.menu-overlay.open { opacity: 1; visibility: visible; }

/* ---------- 6. HERO CINEMATOGRÁFICO ---------- */
.hero { position: relative; display: grid; align-items: center; min-height: 84vh; color: #fff; isolation: isolate; overflow: hidden; }
.hero__media, .hero__bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__video, .hero__fallback, .hero__media img, .hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.hero__fallback { z-index: 0; }
.hero__video { z-index: 1; opacity: 0; transition: opacity 1.1s var(--ease); }   /* aparece sobre la imagen al cargar */
.hero__video.is-ready { opacity: 1; }
/* Ken Burns cinematográfico: escala 1.0 -> 1.08, 20s, infinito */
.hero__video, .hero__fallback, .hero__media img, .hero__bg img { animation: kenburns 20s ease-in-out infinite alternate; transform-origin: center; will-change: transform; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.08); } }
/* Overlay oscuro con degradado + refuerzo lateral para legibilidad perfecta */
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(20,40,25,.55) 0%, rgba(20,40,25,.18) 55%, rgba(20,40,25,0) 100%),
    linear-gradient(rgba(20,40,25,.65), rgba(20,40,25,.45)); }
.hero__grain { position: absolute; inset: 0; z-index: -1; opacity: .05; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero__canvas { position: absolute; inset: 0; z-index: -1; opacity: .55; pointer-events: none; }
.hero__inner { max-width: 720px; padding-block: 7rem 4rem; }
.hero__badge {
  display: inline-flex; align-items: center; gap: .55rem; font-family: var(--font-body); font-size: .82rem; font-weight: 600; letter-spacing: .02em;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28);
  padding: .6rem 1.1rem; border-radius: 999px; margin-bottom: 1.6rem; backdrop-filter: blur(10px);
  box-shadow: 0 8px 30px rgba(0,0,0,.18);
}
.hero__badge svg { width: 1.1em; height: 1.1em; color: var(--sage); }
.hero h1 { font-size: var(--display); color: #fff; margin-bottom: 1.3rem; font-weight: 600; text-shadow: 0 4px 30px rgba(0,0,0,.25); }
.hero h1 em { font-style: italic; color: var(--sage-soft); }
.hero p { font-size: var(--lead); color: rgba(255,255,255,.92); margin-bottom: 2.4rem; max-width: 38rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__cue { position: absolute; bottom: 1.8rem; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: .5rem; font-size: .72rem; letter-spacing: .25em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.hero__cue span { width: 24px; height: 38px; border: 2px solid rgba(255,255,255,.5); border-radius: 14px; position: relative; }
.hero__cue span::after { content: ""; position: absolute; top: 7px; left: 50%; width: 4px; height: 8px; background: #fff; border-radius: 4px; transform: translateX(-50%); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translate(-50%,0); } 40% { opacity: 1; } 80%,100% { opacity: 0; transform: translate(-50%,12px); } }

/* Hero corto (páginas interiores) */
.hero--short { min-height: 64vh; }
.hero--short .hero__inner { text-align: center; max-width: 820px; margin-inline: auto; padding-block: 9rem 4rem; }
.hero--short::after { background: linear-gradient(rgba(20,40,25,.68), rgba(20,40,25,.5)); }
/* Hero con foto grupal (Servicios y Contacto): más alto para mostrar a todas las
   personas y con el encuadre ajustado para no cortar los rostros. */
.hero--group { min-height: 82vh; }
.hero--group .hero__media img, .hero--group .hero__fallback, .hero--group .hero__bg img { object-fit: cover; object-position: center 42%; }
.hero--group::after { background: linear-gradient(rgba(16,26,20,.70), rgba(20,40,25,.55)); }
/* Variación coherente entre páginas: intensidad de overlay */
.hero--ov-soft::after { background: linear-gradient(rgba(20,40,25,.5), rgba(20,40,25,.4)) !important; }
.hero--ov-deep::after { background: linear-gradient(rgba(16,26,20,.8), rgba(20,40,25,.64)) !important; }
/* Variación: texto alineado a la izquierda */
.hero--short.hero--left .hero__inner { text-align: left; margin-inline: 0; }
/* Breadcrumbs del hero */
.hero__crumbs { display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; justify-content: center; font-family: var(--font-body); font-size: .8rem; letter-spacing: .04em; color: rgba(255,255,255,.82); margin-bottom: 1rem; }
.hero--left .hero__crumbs { justify-content: flex-start; }
.hero__crumbs a { color: rgba(255,255,255,.82); transition: color var(--transition); }
.hero__crumbs a:hover { color: #fff; }
.hero__crumbs .sep { opacity: .55; }
.hero__crumbs [aria-current] { color: var(--sage-soft); font-weight: 600; }

/* ---------- 7. TRUST BAR (glass) ---------- */
.trust { position: relative; margin-top: -3.5rem; z-index: 5; }
.trust__grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 0; background: rgba(255,255,255,.82); backdrop-filter: blur(18px); border: 1px solid rgba(255,255,255,.6); border-radius: var(--radius); box-shadow: var(--shadow); padding: 2.2rem; }
.trust__item { display: flex; gap: .9rem; align-items: flex-start; padding: 1rem; }
.trust__icon { flex: none; width: 50px; height: 50px; display: grid; place-items: center; border-radius: 14px; background: linear-gradient(140deg, var(--green-tint), #fff); color: var(--green); box-shadow: var(--shadow-sm); }
.trust__icon svg { width: 24px; height: 24px; }
.trust__item h3 { font-family: var(--font-body); font-size: 1.02rem; font-weight: 700; margin-bottom: .2rem; }
.trust__item p { font-size: .9rem; color: var(--muted); line-height: 1.5; }

/* ---------- 8. STATS / CONTADORES ---------- */
.stats__grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 2rem 1rem; }
.stat { text-align: center; position: relative; }
.stat__num { font-family: var(--font-head); font-size: clamp(2.6rem, 1.8rem + 3vw, 4.2rem); font-weight: 600; line-height: 1; color: #fff; display: inline-flex; align-items: baseline; }
.stat__num .suffix { color: var(--sage); margin-left: .1em; }
.stat__label { display: block; margin-top: .7rem; font-size: .95rem; letter-spacing: .06em; color: rgba(255,255,255,.72); }
.stat + .stat::before { content: ""; }

/* ---------- 9. SPLIT (texto + imagen, profundidad) ---------- */
.split { display: grid; gap: 2.8rem; align-items: center; }
.split__media { position: relative; }
.split__media > img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; height: auto; display: block; }
.split__media::before { content: ""; position: absolute; inset: -14px -14px 18px 18px; border: 1.5px solid var(--sage); border-radius: var(--radius); z-index: -1; opacity: .6; }
.split__media .badge-float {
  position: absolute; bottom: -22px; left: -14px; background: rgba(255,255,255,.86); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.7); border-radius: var(--radius-sm); box-shadow: var(--shadow); padding: 1rem 1.2rem; display: flex; gap: .8rem; align-items: center; max-width: 250px;
}
.split__media .badge-float svg { width: 36px; height: 36px; color: var(--orange); flex: none; }
.split__media .badge-float strong { display: block; font-size: .98rem; font-family: var(--font-body); }
.split__media .badge-float span { font-size: .8rem; color: var(--muted); }
.split__body h2 { font-size: var(--h2); margin-bottom: 1.1rem; }
.split__body h2 em { font-style: italic; color: var(--green); }
.split__body p { color: var(--muted); margin-bottom: 1.1rem; }
.split__body .btn { margin-top: 1rem; }
.split.reverse .split__media { order: -1; }

/* ---------- 10. CARDS / SERVICIOS (tilt 3D) ---------- */
.cards { display: grid; grid-template-columns: 1fr; gap: 1.7rem; perspective: 1200px; }
.card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2.2rem 1.9rem; box-shadow: var(--shadow-sm);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease), border-color var(--transition);
  display: flex; flex-direction: column; transform-style: preserve-3d; will-change: transform;
}
.card::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); opacity: 0; transition: opacity var(--transition); background: radial-gradient(140% 120% at var(--mx,50%) var(--my,0%), rgba(168,198,134,.18), transparent 60%); pointer-events: none; }
.card:hover { box-shadow: var(--shadow-lg); border-color: var(--sage); }
.card:hover::after { opacity: 1; }
.card > * { transform: translateZ(28px); }
.card__icon { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: linear-gradient(140deg, var(--forest), var(--green)); color: #fff; margin-bottom: 1.3rem; box-shadow: 0 12px 26px rgba(47,86,65,.3); }
.card__icon svg { width: 28px; height: 28px; }
.card__title { font-size: var(--h3); margin-bottom: .6rem; }
.card__text { color: var(--muted); font-size: .98rem; margin-bottom: 1.3rem; flex: 1; line-height: 1.6; }
.card__link { font-family: var(--font-body); font-weight: 600; color: var(--green); display: inline-flex; align-items: center; gap: .45rem; }
.card__link svg { width: 1em; height: 1em; transition: transform var(--transition); }
.card:hover .card__link svg { transform: translateX(5px); }
.card__link:hover { color: var(--orange); }

/* ---------- 11. FEATURES / DIFERENCIALES (Apple-like) ---------- */
.features { display: grid; grid-template-columns: 1fr; gap: 1.4rem; }
.feature { display: flex; gap: 1.1rem; align-items: flex-start; background: #fff; border-radius: var(--radius); padding: 1.7rem 1.7rem; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform var(--transition), box-shadow var(--transition); }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature__check { flex: none; width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(140deg, var(--forest), var(--green)); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 18px rgba(47,86,65,.28); }
.feature__check svg { width: 21px; height: 21px; }
.feature h3 { font-family: var(--font-body); font-size: 1.08rem; font-weight: 700; margin-bottom: .25rem; }
.feature p { font-size: .94rem; color: var(--muted); line-height: 1.55; }
.section--ink .feature { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); }
.section--ink .feature h3 { color: #fff; }
.section--ink .feature p { color: rgba(255,255,255,.66); }

/* ---------- 12. GALERÍA MASONRY + LIGHTBOX ---------- */
.gallery__filters { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-bottom: 2.4rem; }
.filter-btn { padding: .6rem 1.3rem; border-radius: 999px; border: 1.5px solid var(--line); font-family: var(--font-body); font-weight: 600; font-size: .88rem; color: var(--muted); background: #fff; transition: var(--transition); }
.filter-btn.active, .filter-btn:hover { background: var(--forest); color: #fff; border-color: var(--forest); transform: translateY(-2px); }
.gallery__grid { column-count: 2; column-gap: 1.1rem; }
.gallery__item { position: relative; overflow: hidden; border-radius: var(--radius-sm); cursor: zoom-in; margin-bottom: 1.1rem; break-inside: avoid; box-shadow: var(--shadow-sm); }
.gallery__item img { width: 100%; height: auto; display: block; transition: transform .7s var(--ease-out), filter .5s var(--ease); }
.gallery__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 50%, rgba(22,36,27,.55)); opacity: 0; transition: var(--transition); }
.gallery__item::before { content: "＋"; position: absolute; z-index: 2; top: 50%; left: 50%; transform: translate(-50%,-50%) scale(.6); width: 50px; height: 50px; border-radius: 50%; background: rgba(255,255,255,.9); color: var(--forest); display: grid; place-items: center; font-size: 1.4rem; opacity: 0; transition: var(--transition); }
.gallery__item:hover img { transform: scale(1.08); }
.gallery__item:hover::after { opacity: 1; }
.gallery__item:hover::before { opacity: 1; transform: translate(-50%,-50%) scale(1); }
.gallery__item.hide { display: none; }
/* Masonry balanceado (JS coloca cada foto en la columna más corta → columnas parejas,
   imágenes completas sin recortar, sin huecos en blanco). Posiciones las calcula main.js. */
.gallery__grid.masonry { column-count: initial; display: block; position: relative; }
.gallery__grid.masonry .gallery__item { position: absolute; margin: 0; top: 0; left: 0; }
.gallery__grid.masonry .gallery__item img { width: 100%; height: 100%; object-fit: cover; display: block; }

.lightbox { position: fixed; inset: 0; background: rgba(16,26,20,.94); backdrop-filter: blur(8px); z-index: 200; display: none; place-items: center; padding: 2rem; }
.lightbox.open { display: grid; animation: fadeIn .4s var(--ease); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.lightbox img { max-width: 92vw; max-height: 84vh; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); animation: lbIn .5s var(--ease-out); }
@keyframes lbIn { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: scale(1); } }
.lightbox__close, .lightbox__nav { position: absolute; color: #fff; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-size: 1.5rem; transition: var(--transition); }
.lightbox__close { top: 1.4rem; right: 1.4rem; }
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,.28); transform: scale(1.05); }
.lightbox__nav.prev { left: 1.2rem; top: 50%; transform: translateY(-50%); }
.lightbox__nav.next { right: 1.2rem; top: 50%; transform: translateY(-50%); }

/* ---------- 13. TESTIMONIOS ---------- */
.testimonials { position: relative; max-width: 860px; margin-inline: auto; }
.testi-track { overflow: hidden; }
.testi-slides { display: flex; transition: transform .6s var(--ease-out); }
.testi { flex: 0 0 100%; padding: .5rem; }
.testi__card { background: #fff; border-radius: var(--radius); padding: 3rem 2.4rem; box-shadow: var(--shadow); text-align: center; border: 1px solid var(--line); position: relative; }
.testi__quotemark { font-family: var(--font-head); font-size: 4.5rem; color: var(--sage); line-height: .5; }
.testi__text { font-family: var(--font-head); font-size: 1.4rem; font-style: italic; color: var(--ink); margin: 1.2rem 0 1.8rem; line-height: 1.5; }
.testi__person { display: flex; align-items: center; justify-content: center; gap: .9rem; }
.testi__avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: center top; border: 2px solid var(--sage); }
.testi__name { font-family: var(--font-body); font-weight: 700; font-size: 1rem; }
.testi__role { font-size: .85rem; color: var(--muted); }
.testi__dots { display: flex; justify-content: center; gap: .5rem; margin-top: 1.8rem; }
.testi__dots button { width: 10px; height: 10px; border-radius: 50%; background: var(--line); transition: var(--transition); }
.testi__dots button.active { background: var(--orange); width: 28px; border-radius: 999px; }

/* ---------- 14. ACTIVIDADES ---------- */
.carousel { display: flex; gap: 1.4rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1.2rem; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.carousel::-webkit-scrollbar { height: 8px; }
.carousel::-webkit-scrollbar-thumb { background: var(--sage); border-radius: 99px; }
.activity { flex: 0 0 80%; max-width: 340px; scroll-snap-align: start; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); transition: transform var(--transition), box-shadow var(--transition); }
.activity:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.activity > img { aspect-ratio: 3/4; object-fit: contain; width: 100%; background: var(--green-tint); }
.activity__body { padding: 1.3rem 1.4rem 1.7rem; }
.activity__body h3 { font-family: var(--font-body); font-size: 1.08rem; font-weight: 700; margin-bottom: .35rem; }
.activity__body p { font-size: .9rem; color: var(--muted); }

/* ---------- 15. ACORDEÓN FAQ ---------- */
.accordion { max-width: 860px; margin-inline: auto; display: grid; gap: 1rem; }
.acc-cat { font-family: var(--font-body); font-weight: 700; color: var(--green); text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; margin: 1.4rem 0 .2rem; }
.acc-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; transition: box-shadow var(--transition), border-color var(--transition); }
.acc-item.open { box-shadow: var(--shadow); border-color: var(--sage); }
.acc-trigger { width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.3rem 1.5rem; font-family: var(--font-body); font-weight: 600; font-size: 1.04rem; color: var(--ink); }
.acc-trigger .plus { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--green-tint); color: var(--green); display: grid; place-items: center; transition: var(--transition); font-size: 1.3rem; }
.acc-item.open .acc-trigger .plus { background: var(--orange); color: #fff; transform: rotate(135deg); }
.acc-panel { max-height: 0; overflow: hidden; transition: max-height .5s var(--ease); }
.acc-panel p { padding: 0 1.5rem 1.4rem; color: var(--muted); font-size: .98rem; line-height: 1.65; }

/* ---------- 16. CTA BAND ---------- */
.cta-band { position: relative; background: linear-gradient(135deg, var(--forest), var(--forest-2)); color: #fff; border-radius: var(--radius-lg); padding: clamp(2.8rem,2rem+4vw,5rem); text-align: center; overflow: hidden; isolation: isolate; box-shadow: var(--shadow); }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 82% 18%, rgba(168,198,134,.4), transparent 48%), radial-gradient(circle at 12% 88%, rgba(143,193,212,.32), transparent 44%); }
.cta-band h2 { color: #fff; font-size: var(--h2); margin-bottom: 1rem; }
.cta-band h2 em { font-style: italic; color: var(--sage-soft); }
.cta-band p { color: rgba(255,255,255,.92); font-size: var(--lead); max-width: 640px; margin: 0 auto 2.2rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* ---------- 17. EDITORIAL (Erika) ---------- */
.editorial { display: grid; gap: 2.8rem; align-items: center; }
.editorial__media { position: relative; }
.editorial__media img { width: 100%; border-radius: var(--radius-lg); aspect-ratio: 3/4; object-fit: cover; object-position: center 18%; box-shadow: var(--shadow-lg); }
.editorial__media .ribbon { position: absolute; bottom: 1.6rem; left: -1rem; background: var(--orange); color: #fff; padding: .8rem 1.4rem; border-radius: 999px; font-family: var(--font-body); font-weight: 700; font-size: .9rem; box-shadow: var(--shadow); }
.editorial__quote { font-family: var(--font-head); font-style: italic; font-size: clamp(1.6rem,1.2rem+1.6vw,2.4rem); line-height: 1.35; color: #fff; margin-bottom: 1.6rem; }
.editorial__name { font-family: var(--font-head); font-size: 1.6rem; color: #fff; margin-bottom: .2rem; }
.editorial__role { color: var(--sage); font-weight: 600; letter-spacing: .04em; margin-bottom: 1.6rem; }
.editorial__creds { display: grid; gap: .8rem; }
.editorial__creds li { display: flex; gap: .7rem; align-items: center; color: rgba(255,255,255,.82); font-size: .98rem; }
.editorial__creds svg { width: 20px; height: 20px; color: var(--sage); flex: none; }

/* ---------- 18. FORMULARIO ---------- */
.form { background: #fff; border-radius: var(--radius); padding: 2.4rem 2.1rem; box-shadow: var(--shadow); border: 1px solid var(--line); }
.form__row { display: grid; gap: 1.2rem; }
.field { display: flex; flex-direction: column; gap: .4rem; position: relative; }
.field label { font-family: var(--font-body); font-weight: 600; font-size: .9rem; }
.field input, .field select, .field textarea { font-family: inherit; font-size: 1rem; padding: .95rem 1.1rem; border: 1.5px solid var(--line); border-radius: 14px; background: var(--cream); color: var(--ink); transition: var(--transition); width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green); background: #fff; outline: none; box-shadow: 0 0 0 4px rgba(74,124,89,.12); }
.field textarea { resize: vertical; min-height: 120px; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #d4504f; }
.field .err { color: #d4504f; font-size: .8rem; display: none; }
.field.invalid .err { display: block; }
.form__hp { position: absolute; left: -9999px; opacity: 0; }
.form__note { font-size: .82rem; color: var(--muted); margin-top: 1rem; text-align: center; }
.form__msg { display: none; text-align: center; padding: 1rem; border-radius: 14px; margin-top: 1rem; font-weight: 600; }
.form__msg.ok { display: block; background: var(--green-tint); color: var(--green-dark); }
.form__msg.bad { display: block; background: #fbeaea; color: #b53b3a; }
.btn.is-loading { opacity: .7; pointer-events: none; }

/* ---------- 19. CONTACTO ---------- */
.contact-grid { display: grid; gap: 2.2rem; align-items: start; }
.contact-info { display: grid; gap: 1.1rem; }
.contact-info__item { display: flex; gap: 1rem; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.2rem 1.3rem; box-shadow: var(--shadow-sm); transition: transform var(--transition); }
.contact-info__item:hover { transform: translateX(4px); }
.contact-info__item svg { width: 26px; height: 26px; color: var(--green); flex: none; margin-top: 2px; }
.contact-info__item strong { display: block; font-family: var(--font-body); font-size: .98rem; }
.contact-info__item a, .contact-info__item span { color: var(--muted); font-size: .95rem; }
.contact-info__item a:hover { color: var(--orange); }
.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.map-embed iframe { width: 100%; height: 340px; border: 0; display: block; filter: grayscale(.2) contrast(1.05); }

/* ---------- 20. FOOTER ---------- */
.site-footer { background: var(--ink-900); color: rgba(255,255,255,.72); padding-block: 4.5rem 0; position: relative; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.6rem; }
.footer-col h4 { font-family: var(--font-body); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sage); margin-bottom: 1.2rem; }
.footer-col ul { display: grid; gap: .7rem; }
.footer-col a:hover { color: #fff; }
.footer-brand img { height: 70px; margin-bottom: 1.1rem; background: #fff; border-radius: 14px; padding: 8px 12px; }
.footer-brand p { font-size: .92rem; line-height: 1.7; max-width: 320px; }
.footer-contact li { display: flex; gap: .7rem; align-items: flex-start; font-size: .92rem; }
.footer-contact svg { width: 18px; height: 18px; color: var(--sage); flex: none; margin-top: 4px; }
.footer-social__intro { font-size: .92rem; line-height: 1.6; margin-top: 1.1rem; max-width: 330px; color: var(--sage-soft); }
.footer-social { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: .9rem; }
.footer-social a { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; transition: background var(--transition), transform var(--transition), box-shadow var(--transition); }
.footer-social a:hover { background: var(--orange); transform: translateY(-3px); }
.footer-social svg { width: 20px; height: 20px; }
/* Colores de marca al pasar el mouse (elegantes) */
.footer-social a.fs--fb:hover { background: #1877F2; }
.footer-social a.fs--ig:hover { background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF); }
.footer-social a.fs--tk:hover { background: #111; box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); }
.footer-social a.fs--wa:hover { background: #25D366; }
.footer-social a.fs--yt:hover { background: #FF0000; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 3.4rem; padding-block: 1.6rem; font-size: .82rem; display: flex; flex-direction: column; gap: .5rem; text-align: center; }

/* ---------- 21. WHATSAPP PREMIUM + BARRA MÓVIL ---------- */
.wa-float { position: fixed; right: 20px; bottom: 22px; z-index: 90; display: flex; align-items: center; gap: 0; height: 62px; padding: 0; border-radius: 999px; background: var(--wa); color: #fff; box-shadow: 0 14px 40px rgba(37,211,102,.4); transition: gap .4s var(--ease), padding .4s var(--ease), transform .4s var(--ease-out), background var(--transition); overflow: hidden; }
.wa-float .wa-ico { width: 62px; height: 62px; display: grid; place-items: center; flex: none; }
.wa-float .wa-ico svg { width: 32px; height: 32px; }
.wa-float__label { max-width: 0; opacity: 0; white-space: nowrap; font-family: var(--font-body); font-weight: 600; font-size: .95rem; transition: max-width .45s var(--ease), opacity .35s var(--ease), padding .45s var(--ease); }
.wa-float:hover { background: var(--wa-dark); transform: translateY(-2px); }
.wa-float:hover .wa-float__label { max-width: 180px; opacity: 1; padding-right: 1.3rem; }
.wa-float::after { content: ""; position: absolute; left: 8px; top: 8px; width: 46px; height: 46px; border-radius: 50%; background: var(--wa); z-index: -1; animation: wa-pulse 3.6s var(--ease) infinite; }
@keyframes wa-pulse { 0% { transform: scale(1); opacity: .4; } 70%,100% { transform: scale(1.7); opacity: 0; } }

.mobile-bar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 95; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; background: rgba(255,255,255,.82); backdrop-filter: blur(16px); box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,.6); border-radius: 999px; padding: .4rem; }
.mobile-bar a { display: flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem; font-family: var(--font-body); font-weight: 600; font-size: .95rem; border-radius: 999px; }
.mobile-bar a svg { width: 20px; height: 20px; }
.mobile-bar .call { color: var(--forest-2); }
.mobile-bar .wa { background: var(--wa); color: #fff; }

/* ---------- 21.5 FADE CAROUSEL (Quiénes somos) ---------- */
.fade-carousel { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 3/4; background: linear-gradient(160deg, var(--green-tint), #fff); }
.fade-carousel__slides { position: absolute; inset: 0; }
.fade-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity 1.1s var(--ease); }
.fade-slide.active { opacity: 1; transform: scale(1); }
.fc-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.78); backdrop-filter: blur(6px); color: var(--forest); display: grid; place-items: center; font-size: 1.2rem; box-shadow: var(--shadow-sm); opacity: 0; transition: var(--transition); z-index: 2; }
.fade-carousel:hover .fc-arrow { opacity: 1; }
.fc-arrow.prev { left: 12px; } .fc-arrow.next { right: 12px; }
.fc-arrow:hover { background: #fff; transform: translateY(-50%) scale(1.08); }
.fc-dots { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); display: flex; gap: .45rem; z-index: 2; }
.fc-dots button { width: 8px; height: 8px; border-radius: 999px; background: rgba(255,255,255,.6); transition: var(--transition); }
.fc-dots button.active { background: #fff; width: 22px; }

/* ---------- 21.6 MARQUEE (Instalaciones + Actividades) ---------- */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee__track { display: flex; gap: 1.4rem; width: max-content; animation: marquee var(--mq, 46s) linear infinite; will-change: transform; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee--reverse .marquee__track { animation-direction: reverse; }
/* Tarjeta de instalación (Airbnb-style) */
.inst-card { flex: 0 0 auto; height: clamp(280px, 46vh, 410px); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); position: relative; background: var(--green-tint); }
.inst-card img { height: 100%; width: auto; display: block; transition: transform .8s var(--ease-out); }
.inst-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(22,36,27,.5)); }
.inst-card figcaption { position: absolute; left: 1rem; bottom: .9rem; z-index: 2; color: #fff; font-family: var(--font-body); font-weight: 600; font-size: .95rem; }
.marquee:hover .inst-card img { transform: scale(1.05); }
.marquee .activity { flex: 0 0 auto; width: clamp(250px, 64vw, 320px); }

/* ---------- 21.7 AGENDA / SEGMENTED CONTROL ---------- */
.agenda-grid { display: grid; gap: 2.2rem; align-items: start; }
.agenda-aside { display: grid; gap: 1.1rem; align-content: start; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; background: var(--cream); border: 1.5px solid var(--line); border-radius: 999px; padding: .35rem; margin-bottom: .4rem; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label { display: flex; align-items: center; justify-content: center; gap: .5rem; padding: .8rem 1rem; border-radius: 999px; font-family: var(--font-body); font-weight: 600; font-size: .95rem; color: var(--muted); cursor: pointer; transition: var(--transition); }
.seg label svg { width: 18px; height: 18px; }
.seg input:checked + label { background: var(--forest); color: #fff; box-shadow: var(--shadow-sm); }
.seg label:hover { color: var(--forest); }
.seg input:checked + label:hover { color: #fff; }
/* Segmentado de 3 opciones (responsive) */
.seg--3 { grid-template-columns: 1fr; }
@media (min-width: 560px) { .seg--3 { grid-template-columns: repeat(3, 1fr); } }
/* Etiqueta superior del grupo */
.form__label-top { display: block; font-family: var(--font-body); font-weight: 600; font-size: .9rem; margin-bottom: .45rem; }
/* Campos con icono suave + microanimación al enfocar */
.field--icon .field__control { position: relative; }
.field--icon .field__ico { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--green); opacity: .6; pointer-events: none; transition: opacity var(--transition), color var(--transition); }
.field--icon .field__control input { padding-left: 2.7rem; }
.field--icon .field__control:focus-within .field__ico { opacity: 1; color: var(--green-dark); }

/* ---------- 22. UTIL / TABLA / REVEAL ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
table.compare { width: 100%; border-collapse: collapse; background: #fff; min-width: 580px; }
table.compare th, table.compare td { padding: 1.1rem 1.2rem; text-align: left; border-bottom: 1px solid var(--line); font-size: .95rem; }
table.compare thead th { background: var(--forest); color: #fff; font-family: var(--font-body); font-weight: 600; }
table.compare tbody tr:nth-child(even) { background: var(--green-tint); }
table.compare td:first-child { font-weight: 600; color: var(--green-dark); }

.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

/* Reveal (controlado por motion.js; con fallback) */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--rd, 0s); }
.reveal.in { opacity: 1; transform: none; }
.reveal--left { transform: translateX(-40px); }
.reveal--right { transform: translateX(40px); }
.reveal--scale { transform: scale(.94); }
.reveal--left.in, .reveal--right.in, .reveal--scale.in { transform: none; }
/* Text reveal (palabras) */
.tr-word { display: inline-block; overflow: hidden; vertical-align: top; }
.tr-word > span { display: inline-block; transform: translateY(110%); transition: transform .8s var(--ease-out); transition-delay: var(--wd, 0s); }
.tr.in .tr-word > span { transform: none; }

/* ---------- 22.5 MULTIMEDIA (videos en tarjetas, galería y modal) ---------- */
/* Video dentro de tarjetas de actividades (póster img + video superpuesto) */
.activity__media { position: relative; aspect-ratio: 3/4; overflow: hidden; background: var(--green-tint); }
.activity__media .activity__poster, .activity__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.activity__media video { opacity: 0; transition: opacity .6s var(--ease); }
.activity__media video.playing { opacity: 1; }
/* Tile de video en la galería: miniatura + botón play */
.gallery__item--video .play-badge {
  position: absolute; z-index: 3; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.92); color: var(--forest); box-shadow: var(--shadow);
  transition: var(--transition); pointer-events: none;
}
.gallery__item--video .play-badge svg { width: 24px; height: 24px; margin-left: 3px; }
.gallery__item--video:hover .play-badge { transform: translate(-50%,-50%) scale(1.12); background: #fff; }
.gallery__item--video::before { content: none; } /* oculta el "+" de imagen en tiles de video */
/* Video en el lightbox/modal */
.lightbox__video { max-width: 92vw; max-height: 84vh; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); background: #000; display: none; }
.lightbox__img { display: block; }

/* ---------- 23. RESPONSIVE ---------- */
@media (min-width: 600px) {
  .stats__grid { grid-template-columns: repeat(4,1fr); }
  .stat + .stat::before { position: absolute; left: -.5px; top: 12%; height: 76%; width: 1px; background: rgba(255,255,255,.14); }
}
@media (min-width: 640px) {
  .trust__grid { grid-template-columns: repeat(2,1fr); padding: 2.4rem; }
  .cards { grid-template-columns: repeat(2,1fr); }
  .gallery__grid { column-count: 3; }
  .hero__actions { flex-wrap: nowrap; }
}
@media (min-width: 768px) {
  .features { grid-template-columns: repeat(2,1fr); }
  .split { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .editorial { grid-template-columns: .9fr 1.1fr; gap: 4rem; }
  .contact-grid { grid-template-columns: 1.1fr .9fr; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .mobile-bar { display: none; }
  .wa-float { bottom: 26px; right: 26px; }
  .activity { flex-basis: 46%; }
}
@media (min-width: 1024px) {
  .nav__menu { display: flex; }
  .nav__phone { display: inline-flex; }
  .nav__cta { display: inline-flex; }
  .nav__toggle { display: none; }
  .trust__grid { grid-template-columns: repeat(4,1fr); }
  .cards { grid-template-columns: repeat(3,1fr); }
  .gallery__grid { column-count: 4; }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
  .activity { flex-basis: 31%; }
}

/* Accesibilidad: reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal, .tr-word > span { opacity: 1 !important; transform: none !important; }
  .hero__video, .hero__fallback, .hero__bg img, .hero__media img { animation: none !important; }
  .marquee { overflow-x: auto !important; }
  .marquee__track { animation: none !important; transform: none !important; }
  .fade-slide { transition: opacity .25s linear !important; transform: none !important; }
}
