/* ============================================================
   TETO MEDINA — Sistema visual
   Comunidad · Amanecer · Bienestar humano
   Paleta cálida con corazón editorial
   ============================================================ */

:root {
  /* Color — paleta amanecer / comunidad */
  --c-bg:         #fdfaf3;      /* crema cálida */
  --c-bg-soft:    #fef6e9;      /* peach milk */
  --c-bg-warm:    #fef3e7;      /* warm cream */
  --c-bg-card:    #ffffff;
  --c-bg-deep:    #fbf4e7;      /* fondo seccional */

  --c-ink:        #2c2826;      /* texto principal — warm dark, no negro */
  --c-ink-2:      #3d3934;
  --c-mute:       #76695e;      /* texto suave warm */
  --c-mute-2:     #a3978a;

  --c-line:       #efe7d5;      /* bordes muy sutiles */
  --c-line-2:     #e4d8be;

  /* Acentos cálidos */
  --c-green:      #16a34a;      /* esperanza viva */
  --c-green-soft: #dcfce7;
  --c-green-deep: #14532d;

  --c-amber:      #f59e0b;      /* sol */
  --c-amber-soft: #fff4dc;
  --c-amber-deep: #b45309;

  --c-coral:      #fb923c;      /* calidez / amistad */
  --c-coral-soft: #ffe9d3;

  --c-sky:        #93c5fd;      /* paz */
  --c-sky-soft:   #e0f2fe;

  --c-rose:       #fb7185;      /* afecto */
  --c-rose-soft:  #ffe4e6;

  --c-wa:         #25d366;      /* WhatsApp brand */

  /* Gradientes amanecer */
  --grad-sunrise: linear-gradient(135deg, #fff4dc 0%, #ffe9d3 50%, #ffe4e6 100%);
  --grad-warm:    linear-gradient(135deg, var(--c-amber) 0%, var(--c-coral) 100%);
  --grad-hope:    linear-gradient(135deg, #34d399 0%, #16a34a 100%);
  --grad-overlay: linear-gradient(180deg, rgba(253,250,243,.2) 0%, rgba(253,250,243,.55) 60%, rgba(253,250,243,.92) 100%);

  /* Tipografía amigable + editorial */
  --f-serif: 'Fraunces', 'Cormorant Garamond', Georgia, serif;
  --f-sans:  'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;

  /* Escala fluida */
  --fs-xs:   clamp(.75rem, .72rem + .15vw, .82rem);
  --fs-sm:   clamp(.85rem, .82rem + .2vw, .92rem);
  --fs-base: clamp(1rem, .96rem + .2vw, 1.08rem);
  --fs-md:   clamp(1.12rem, 1.05rem + .4vw, 1.3rem);
  --fs-lg:   clamp(1.4rem, 1.2rem + 1vw, 1.85rem);
  --fs-xl:   clamp(2rem, 1.5rem + 2.4vw, 3.4rem);
  --fs-2xl:  clamp(2.4rem, 1.8rem + 3.2vw, 4.4rem);
  --fs-3xl:  clamp(3rem, 2.2rem + 4.6vw, 6.2rem);

  --sp-1: .25rem; --sp-2: .5rem;  --sp-3: 1rem;
  --sp-4: 1.5rem; --sp-5: 2.5rem; --sp-6: 4rem;
  --sp-7: 6rem;   --sp-8: 9rem;

  /* Redondeces generosas */
  --radius:    14px;
  --radius-sm: 8px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  /* Sombras cálidas */
  --shadow-sm: 0 2px 12px -4px rgba(180, 83, 9, .12);
  --shadow:    0 14px 40px -18px rgba(180, 83, 9, .22), 0 4px 12px -6px rgba(180, 83, 9, .12);
  --shadow-lg: 0 30px 60px -30px rgba(180, 83, 9, .35);

  --ease:     cubic-bezier(.16, 1, .3, 1);
  --ease-out: cubic-bezier(.2, .8, .2, 1);

  --header-h: 78px;
  --container: 1240px;

  /* — Aliases de compatibilidad (sobrevive a las refs inline de la versión dark) — */
  --c-white: var(--c-ink);
  --c-blood: var(--c-rose);
  --c-navy:  var(--c-ink);
  --c-navy-2: var(--c-mute);
}

/* — Reset — */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-sans);
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--c-ink);
  background:
    radial-gradient(ellipse 60% 40% at 0% 0%, rgba(245, 158, 11, .08) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 100% 30%, rgba(52, 211, 153, .06) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(251, 113, 133, .05) 0%, transparent 60%),
    var(--c-bg);
  background-attachment: fixed;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
}

img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--c-amber-deep); }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
ul { list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--f-serif);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -.015em;
  color: var(--c-ink);
  font-variation-settings: "opsz" 96, "SOFT" 50;
}

::selection { background: var(--c-amber); color: #fff; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--c-amber); color: #fff;
  padding: .6rem 1.2rem; z-index: 10000;
  font-weight: 600; border-radius: var(--radius-pill);
}
.skip-link:focus { left: 1rem; top: 1rem; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.2rem, 4vw, 2.5rem);
}

/* ============================================================
   HEADER — claro, aireado, sticky con blur
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 100;
  background: rgba(253, 250, 243, .75);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: background .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
  overflow: visible;   /* permite que el nav mobile se expanda fuera del header */
}
.site-header.is-scrolled {
  background: rgba(253, 250, 243, .92);
  border-bottom-color: var(--c-line);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand {
  display: inline-flex; align-items: center; gap: .65rem;
  font-family: var(--f-serif);
  letter-spacing: -.02em;
}
.brand-mark {
  font-size: 1.7rem; font-weight: 600;
  color: var(--c-amber-deep);
  line-height: 1;
  background: var(--grad-warm);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.brand-dot { -webkit-text-fill-color: var(--c-green); margin: 0 .05em; }
.brand-name {
  font-size: .92rem; color: var(--c-ink);
  font-weight: 500; letter-spacing: .06em;
  text-transform: uppercase;
  font-family: var(--f-sans);
}

.primary-nav ul {
  display: flex; align-items: center; gap: 2rem;
}
.primary-nav a {
  font-size: .82rem;
  letter-spacing: .04em;
  font-weight: 500;
  color: var(--c-mute);
  position: relative; padding: .5rem .2rem;
  font-family: var(--f-sans);
}
.primary-nav a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: -2px;
  height: 2px; background: var(--c-amber);
  border-radius: var(--radius-pill);
  transition: right .35s var(--ease);
}
.primary-nav a:hover, .primary-nav a.is-active { color: var(--c-ink); }
.primary-nav a:hover::after, .primary-nav a.is-active::after { right: 0; }

.primary-nav .nav-cta {
  color: #fff;
  background: var(--c-ink);
  padding: .75rem 1.4rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  transition: all .25s var(--ease);
}
.primary-nav .nav-cta::after { display: none; }
.primary-nav .nav-cta:hover {
  background: var(--c-amber-deep); color: #fff; transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

/* ——— Social icons en el header ——— */
.header-socials {
  display: flex; align-items: center; gap: .35rem;
  margin-right: .5rem;
}
.hs-icon {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .4rem .5rem;
  border-radius: var(--radius-pill);
  color: var(--c-mute);
  transition: color .25s var(--ease), background .25s var(--ease);
  line-height: 1;
}
.hs-icon svg { width: 18px; height: 18px; flex-shrink: 0; }
.hs-icon:hover { color: var(--c-amber-deep); background: var(--c-amber-soft); }

/* YouTube — tiene etiqueta de texto */
.hs-yt {
  background: rgba(255,0,0,.06);
  color: #cc0000;
  padding: .38rem .75rem .38rem .5rem;
  border: 1px solid rgba(255,0,0,.15);
}
.hs-yt svg { color: #ff0000; }
.hs-yt-label {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .02em;
  white-space: nowrap;
}
.hs-yt:hover { background: rgba(255,0,0,.12); color: #990000; }

/* En mobile el header no tiene espacio — ocultar socials, van dentro del menú */
@media (max-width: 980px) {
  .header-socials { display: none; }
}

/* Redes sociales en menú mobile abierto */
.nav-socials-mobile {
  display: none;
}

/* — — — — — — — — — — — — — — — — — */

.nav-toggle {
  display: none; width: 42px; height: 42px;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  border-radius: var(--radius-pill);
}
.nav-toggle span {
  width: 22px; height: 2px; background: var(--c-ink);
  transition: .35s var(--ease); border-radius: var(--radius-pill);
}

@media (max-width: 980px) {
  .nav-toggle { display: flex; }

  /* Scrim oscuro detrás del menú — en body, fuera del header */
  body.nav-open::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(44, 40, 38, .45);
    z-index: 98;   /* debajo del header (z-index:100) */
    animation: scrimIn .25s ease forwards;
  }
  @keyframes scrimIn {
    from { opacity: 0; }
    to   { opacity: 1; }
  }

  /*
   * IMPORTANTE: position:absolute (no fixed) para evitar el bug de iOS Safari
   * donde backdrop-filter en el padre rompe position:fixed en hijos.
   * top:100% cae justo debajo del header. height:100dvh ocupa toda la pantalla.
   */
  .primary-nav {
    position: absolute;
    top: 100%;
    left: -1.2rem;      /* compensar padding del .container */
    right: -1.2rem;
    height: calc(100dvh - var(--header-h));
    height: calc(100vh  - var(--header-h)); /* fallback */
    background: #fdfaf3;
    border-top: 1px solid var(--c-line);
    box-shadow: 0 20px 60px -10px rgba(44,40,38,.25);
    padding: 1.5rem 1.8rem 4rem;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 10;   /* dentro del stacking context del header (z-index:100) */
  }
  .primary-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
  }

  .primary-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-bottom: 1.5rem;
  }
  .primary-nav li {
    border-bottom: 1px solid var(--c-line);
  }
  .primary-nav li:last-child {
    border-bottom: none;
    padding-top: 1rem;
  }
  .primary-nav a {
    font-size: 1.05rem;
    color: var(--c-ink);
    display: block;
    padding: .95rem .4rem;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }
  .primary-nav a:hover { color: var(--c-amber-deep); }
  .primary-nav a::after { display: none; }   /* sin underline animado en mobile */

  .primary-nav .nav-cta {
    display: block;
    text-align: center;
    border-radius: var(--radius-pill);
    padding: .9rem 2rem;
    background: var(--c-ink);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    -webkit-text-fill-color: #fff;
    margin-top: .5rem;
  }
  .primary-nav .nav-cta:hover { background: var(--c-amber-deep); }

  /* Redes sociales dentro del menú mobile */
  .nav-socials-mobile {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--c-line);
  }
  .nav-socials-mobile a {
    font-size: .88rem;
    color: var(--c-mute);
    padding: .6rem .4rem;
    border-bottom: 1px solid var(--c-line);
    font-weight: 500;
    display: block;
    touch-action: manipulation;
  }
  .nav-socials-mobile a:last-child { border-bottom: none; }
  .nav-socials-mobile a:hover { color: var(--c-amber-deep); }

  /* Hamburguesa → X */
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ============================================================
   HERO — luz amanecer, fotografía a color
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: grid; place-items: center;
  overflow: hidden;
  padding: calc(var(--header-h) + 3rem) 0 5rem;
  background: var(--grad-sunrise);
}
/* Blobs orgánicos de luz */
.hero::before, .hero::after {
  content: ''; position: absolute; z-index: 0;
  width: 50vw; height: 50vw; max-width: 700px; max-height: 700px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .55;
  pointer-events: none;
}
.hero::before {
  top: -15vw; right: -10vw;
  background: radial-gradient(circle, #fbbf24 0%, transparent 70%);
}
.hero::after {
  bottom: -20vw; left: -10vw;
  background: radial-gradient(circle, #34d399 0%, transparent 70%);
  opacity: .35;
}
.hero-media { position: absolute; inset: 0; z-index: 1; }
.hero-media::after {
  content: ''; position: absolute; inset: 0;
  background: var(--grad-overlay);
}
.hero-media img, .hero-media video {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 25%;
  filter: contrast(1.02) saturate(1.05);
  opacity: .85;
}
.hero-inner {
  position: relative; z-index: 2;
  max-width: 920px; width: 100%;
  padding: 0 clamp(1.2rem, 4vw, 2.5rem);
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .8rem;
  font-size: .78rem; letter-spacing: .15em; text-transform: uppercase;
  color: var(--c-amber-deep); font-weight: 600;
  margin-bottom: 1.8rem;
  padding: .55rem 1.1rem;
  background: rgba(255, 244, 220, .8);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(245, 158, 11, .25);
}
.hero-eyebrow::before {
  content: '·'; color: var(--c-green); font-size: 1.5em; line-height: 0;
}
.hero-title {
  font-size: var(--fs-3xl);
  font-weight: 400;
  line-height: 1;
  color: var(--c-ink);
  margin-bottom: 1.5rem;
  letter-spacing: -.025em;
}
.hero-title em {
  font-style: italic; font-weight: 500;
  background: var(--grad-warm);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-lead {
  font-size: var(--fs-md);
  color: var(--c-mute);
  max-width: 580px;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero-scroll {
  position: absolute; bottom: 1.5rem; left: 50%;
  transform: translateX(-50%); z-index: 3;
  color: var(--c-mute);
  font-size: .72rem; letter-spacing: .15em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: .8rem;
  font-weight: 500;
}
.hero-scroll::after {
  content: ''; width: 1px; height: 48px; background: var(--c-line-2);
  transform-origin: top;
  animation: scrollLine 2.8s var(--ease) infinite;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  50.1%{ transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============================================================
   BUTTONS — pill, amigables, con elevación
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: .7rem;
  padding: .95rem 1.8rem;
  font-size: .9rem; font-weight: 600;
  letter-spacing: .01em;
  border: 1px solid transparent;
  transition: all .3s var(--ease);
  cursor: pointer; position: relative;
  border-radius: var(--radius-pill);
  font-family: var(--f-sans);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: var(--c-ink); color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--c-amber-deep); color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.btn-whatsapp {
  background: var(--c-wa); color: #fff;
  box-shadow: 0 8px 24px -8px rgba(37, 211, 102, .45);
}
.btn-whatsapp:hover {
  background: #1ebe5d; color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -8px rgba(37, 211, 102, .55);
}
.btn-ghost {
  background: var(--c-bg-card); color: var(--c-ink);
  border-color: var(--c-line-2);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover {
  border-color: var(--c-ink); color: var(--c-ink);
  background: #fff;
  transform: translateY(-2px);
}
.btn-lg { padding: 1.15rem 2.4rem; font-size: .95rem; }

/* ============================================================
   SECTIONS
   ============================================================ */
section { position: relative; padding: var(--sp-7) 0; }

.sec-eyebrow {
  display: inline-flex; align-items: center; gap: .7rem;
  font-size: .75rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--c-amber-deep); font-weight: 600;
  margin-bottom: 1.5rem;
  padding: .45rem 1rem;
  background: var(--c-amber-soft);
  border-radius: var(--radius-pill);
  font-family: var(--f-sans);
}
.sec-eyebrow .chapter {
  font-family: var(--f-serif); font-style: italic;
  color: var(--c-mute); letter-spacing: 0; font-size: 1em; font-weight: 500;
}
.sec-eyebrow::before {
  content: ''; width: 8px; height: 8px; background: var(--c-green);
  border-radius: 50%;
}
.sec-title {
  font-size: var(--fs-2xl);
  font-weight: 400; line-height: 1.05;
  max-width: 820px;
  margin-bottom: 1.5rem;
  letter-spacing: -.02em;
  color: var(--c-ink);
}
.sec-title em {
  font-style: italic; font-weight: 500;
  color: var(--c-amber-deep);
}
.sec-lead {
  font-size: var(--fs-md);
  color: var(--c-mute);
  max-width: 640px;
  line-height: 1.6;
}
.sec-centered { text-align: center; }
.sec-centered .sec-eyebrow { display: inline-flex; }
.sec-centered .sec-title, .sec-centered .sec-lead { margin-left: auto; margin-right: auto; }

/* ============================================================
   STORY / split block — luz suave, fotos a color
   ============================================================ */
.story {
  position: relative;
  background:
    radial-gradient(ellipse 60% 50% at 100% 0%, rgba(245, 158, 11, .14) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 0% 100%, rgba(52, 211, 153, .12) 0%, transparent 60%),
    linear-gradient(180deg, #fefbf3 0%, #fdf2dc 100%);
}
.story + .story {
  background:
    radial-gradient(ellipse 60% 50% at 0% 0%, rgba(147, 197, 253, .18) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 100% 100%, rgba(251, 146, 60, .15) 0%, transparent 60%),
    linear-gradient(180deg, #f0f9ff 0%, #fef6e9 100%);
}
.story-grid {
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.story-grid.reverse { grid-template-columns: 1.1fr 1fr; }
.story-grid.reverse .story-image { order: 2; }
.story-image {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.story-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.4s var(--ease);
}
.story-image:hover img { transform: scale(1.06); }
.story-image::after {
  content: ''; position: absolute;
  top: 1.2rem; left: 1.2rem;
  width: 90px; height: 90px;
  background: var(--grad-warm);
  border-radius: 50%; opacity: .85;
  filter: blur(2px);
  z-index: 2; pointer-events: none;
  mix-blend-mode: multiply;
}
.story-text p {
  font-size: var(--fs-base);
  color: var(--c-mute);
  margin-bottom: 1.2rem;
  line-height: 1.8;
}
.story-text > p:first-of-type::first-letter {
  font-family: var(--f-serif);
  font-size: 4.2em;
  float: left; line-height: .85;
  padding: .12em .18em 0 0;
  color: var(--c-amber-deep);
  font-weight: 500;
  font-style: italic;
}
.pull-quote {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: var(--fs-lg);
  color: var(--c-ink);
  padding: 1.5rem 2rem;
  margin: 2.2rem 0;
  line-height: 1.35;
  background: var(--c-amber-soft);
  border-radius: var(--radius);
  border-left: 4px solid var(--c-amber);
  position: relative;
}
.pull-quote::before {
  content: '"';
  position: absolute; top: -.6rem; left: 1.2rem;
  font-size: 3.5rem; color: var(--c-amber);
  font-family: var(--f-serif); line-height: 1;
  font-style: normal;
}

@media (max-width: 820px) {
  .story-grid, .story-grid.reverse { grid-template-columns: 1fr; }
  .story-grid.reverse .story-image { order: 0; }
}

/* ============================================================
   PILLARS — cards comunitarias amables
   ============================================================ */
.pillars-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem; margin-top: 3rem;
}
.pillar {
  padding: 2.5rem 2rem;
  background: var(--c-bg-card);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  transition: all .45s var(--ease);
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.pillar:nth-child(3n+1) { background: linear-gradient(160deg, var(--c-bg-card) 60%, var(--c-amber-soft) 100%); }
.pillar:nth-child(3n+2) { background: linear-gradient(160deg, var(--c-bg-card) 60%, var(--c-green-soft) 100%); }
.pillar:nth-child(3n+3) { background: linear-gradient(160deg, var(--c-bg-card) 60%, var(--c-sky-soft) 100%); }
.pillar:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--c-line-2);
}
.pillar-num {
  font-family: var(--f-serif); font-style: italic;
  color: var(--c-amber-deep); font-size: 1rem; letter-spacing: .02em;
  margin-bottom: 1.2rem; display: inline-flex;
  background: #fff; padding: .35rem .9rem;
  border-radius: var(--radius-pill);
  font-weight: 500;
  border: 1px solid var(--c-line);
}
.pillar-title { font-size: var(--fs-lg); margin-bottom: 1rem; color: var(--c-ink); }
.pillar p { color: var(--c-mute); line-height: 1.7; font-size: .95rem; }

@media (max-width: 820px) {
  .pillars-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   TESTIMONIALS — cards luminosas
   ============================================================ */
.testimonials-preview {
  background:
    radial-gradient(ellipse 60% 50% at 0% 0%, rgba(251, 146, 60, .25) 0%, transparent 60%),
    radial-gradient(ellipse 70% 60% at 100% 100%, rgba(52, 211, 153, .22) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 50% 50%, rgba(251, 113, 133, .12) 0%, transparent 60%),
    linear-gradient(180deg, #fff7e8 0%, #fef6e9 50%, #ecfdf5 100%);
  position: relative;
}
.testimonials-preview::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle 200px at 10% 20%, rgba(255, 255, 255, .35) 0%, transparent 70%),
    radial-gradient(circle 250px at 90% 80%, rgba(255, 255, 255, .25) 0%, transparent 70%);
}
.testimonials-preview > .container { position: relative; }
.test-cards {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem; margin-top: 3rem;
}
.test-card {
  padding: 2.5rem 2rem;
  background: var(--c-bg-card);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  position: relative;
  transition: all .45s var(--ease);
  box-shadow: var(--shadow-sm);
}
.test-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.test-quote {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 1.18rem;
  color: var(--c-ink);
  line-height: 1.55;
  margin-bottom: 2rem;
  position: relative;
  padding-top: 1.5rem;
}
.test-quote::before {
  content: '"';
  font-family: var(--f-serif);
  font-size: 4rem; color: var(--c-amber);
  position: absolute; top: -1rem; left: -.5rem;
  line-height: 1;
  font-style: normal;
}
.test-author {
  display: flex; align-items: center; gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px dashed var(--c-line-2);
}
.test-author strong { display: block; color: var(--c-ink); font-weight: 600; font-size: .98rem; }
.test-author small { color: var(--c-mute); font-size: .82rem; }

@media (max-width: 820px) {
  .test-cards { grid-template-columns: 1fr; }
}

/* ============================================================
   CTA FINAL EMOCIONAL — sunrise overlay
   ============================================================ */
.cta-block {
  position: relative;
  padding: var(--sp-8) 0;
  background:
    radial-gradient(ellipse 70% 60% at 20% 30%, rgba(245, 158, 11, .45) 0%, transparent 60%),
    radial-gradient(ellipse 70% 60% at 80% 70%, rgba(22, 163, 74, .35) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(251, 113, 133, .25) 0%, transparent 60%),
    linear-gradient(135deg, #fff4dc 0%, #ffe9d3 35%, #ffe4e6 70%, #ecfdf5 100%);
  overflow: hidden;
  text-align: center;
}
.cta-block::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle 300px at 10% 80%, rgba(255, 255, 255, .4) 0%, transparent 70%),
    radial-gradient(circle 250px at 90% 20%, rgba(255, 255, 255, .35) 0%, transparent 70%);
  z-index: 0;
  animation: ctaShimmer 12s var(--ease) infinite alternate;
}
@keyframes ctaShimmer {
  0%   { opacity: .8; }
  100% { opacity: 1; }
}
.cta-block > .container { position: relative; z-index: 2; }
.cta-actions {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
  margin-top: 2.5rem;
}

/* ============================================================
   FOOTER — claro, contenedor amable
   ============================================================ */
.site-footer {
  background: var(--c-bg-card);
  border-top: 1px solid var(--c-line);
  padding: var(--sp-6) 0 var(--sp-3);
  color: var(--c-mute);
  font-size: .92rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.5fr;
  gap: 3rem; margin-bottom: 3rem;
}
.footer-brand .brand-mark { font-size: 2.4rem; }
.footer-tag {
  font-family: var(--f-serif);
  font-size: 1.4rem; color: var(--c-ink);
  margin-top: 1rem; line-height: 1.25;
}
.footer-tag em {
  color: var(--c-amber-deep);
  font-style: italic; font-weight: 500;
}
.footer-title {
  font-family: var(--f-sans);
  font-size: .76rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--c-amber-deep);
  font-weight: 700;
  margin-bottom: 1.2rem;
}
.footer-col ul li { margin-bottom: .65rem; }
.footer-col a { color: var(--c-mute); }
.footer-col a:hover { color: var(--c-ink); }
.footer-disclaimer p { line-height: 1.6; margin-bottom: .8rem; font-size: .87rem; }
.footer-disclaimer .emergency {
  color: var(--c-ink);
  padding: 1rem 1.2rem;
  background: var(--c-rose-soft);
  border-left: 3px solid var(--c-rose);
  border-radius: var(--radius);
  font-size: .85rem; line-height: 1.5;
}
.footer-disclaimer .emergency strong { color: var(--c-ink); }
.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--c-line);
  font-size: .78rem;
  color: var(--c-mute-2);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}
.footer-legal a { color: var(--c-mute-2); }
.footer-legal a:hover { color: var(--c-mute); }

.footer-credit {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .78rem;
  color: var(--c-mute-2);
  font-weight: 500;
}
.footer-credit .heart {
  width: 14px; height: 14px;
  color: var(--c-rose);
  animation: heartBeat 1.6s ease-in-out infinite;
  transform-origin: center;
  flex-shrink: 0;
}
@keyframes heartBeat {
  0%, 100% { transform: scale(1); }
  15%      { transform: scale(1.25); }
  30%      { transform: scale(1); }
  45%      { transform: scale(1.18); }
  60%      { transform: scale(1); }
}
.footer-credit a {
  color: var(--c-amber-deep);
  font-weight: 700;
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease);
}
.footer-credit a:hover {
  color: var(--c-ink);
  border-bottom-color: var(--c-amber);
}

/* — Barra de estadísticas — */
.stats-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .4rem .8rem;
  padding: .6rem 0 .8rem;
  font-size: .72rem;
  color: var(--c-mute-2);
  border-top: 1px dashed var(--c-line);
  margin-top: .5rem;
}
.sbar-item { display: inline-flex; align-items: center; gap: .25rem; }
.sbar-item strong { color: var(--c-mute); font-weight: 700; font-variant-numeric: tabular-nums; }
.sbar-sep { color: var(--c-line-2); }
.sbar-online strong { color: var(--c-green); }
.sbar-dot {
  display: inline-block;
  width: 7px; height: 7px;
  background: var(--c-green);
  border-radius: 50%;
  animation: statsOnline 1.8s ease infinite;
}
@keyframes statsOnline {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .5; transform: scale(.7); }
}

@media (max-width: 920px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
}

/* ============================================================
   WHATSAPP FLOATING
   ============================================================ */
.wa-float {
  position: fixed; right: 1.4rem; bottom: 1.4rem;
  z-index: 99;
  background: var(--c-wa);
  color: #fff;
  height: 60px; min-width: 60px; padding: 0 1.3rem 0 1rem;
  border-radius: var(--radius-pill);
  display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
  box-shadow: 0 14px 32px -8px rgba(37, 211, 102, .55), 0 0 0 0 rgba(37, 211, 102, .6);
  transition: all .35s var(--ease);
  animation: pulseWa 2.6s ease-out infinite;
  font-weight: 600; font-size: .9rem; letter-spacing: .01em;
}
.wa-float .wa-label { display: inline; white-space: nowrap; }
.wa-float:hover {
  color: #fff; background: #1ebe5d;
  transform: translateY(-2px);
  animation: none;
}
@keyframes pulseWa {
  0%   { box-shadow: 0 14px 32px -8px rgba(37, 211, 102, .55), 0 0 0 0 rgba(37, 211, 102, .55); }
  70%  { box-shadow: 0 14px 32px -8px rgba(37, 211, 102, .55), 0 0 0 22px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 14px 32px -8px rgba(37, 211, 102, .55), 0 0 0 0 rgba(37, 211, 102, 0); }
}

@media (max-width: 540px) {
  .wa-float { padding: 0; min-width: 56px; height: 56px; width: 56px; right: 1rem; bottom: 1rem; }
  .wa-float .wa-label { display: none; }
}

/* ============================================================
   PAGE HEADER (interior pages) — luz suave + foto
   ============================================================ */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 5rem) 0 4rem;
  min-height: 55vh;
  display: flex; align-items: flex-end;
  overflow: hidden;
  background: var(--grad-sunrise);
}
.page-hero::before {
  content: ''; position: absolute; z-index: 0;
  top: -10vw; right: -10vw;
  width: 50vw; height: 50vw; max-width: 600px; max-height: 600px;
  background: radial-gradient(circle, #fbbf24 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(80px); opacity: .45;
  pointer-events: none;
}
.page-hero-media {
  position: absolute; inset: 0; z-index: 0;
}
.page-hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 25%;
  opacity: .25;
  filter: contrast(1.02) saturate(1.08);
}
.page-hero-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(253,250,243,.4) 0%, rgba(253,250,243,.85) 100%);
}
.page-hero-inner { position: relative; z-index: 2; max-width: 900px; }
.page-hero h1 {
  font-size: var(--fs-2xl);
  color: var(--c-ink);
  margin-bottom: 1.2rem;
  font-weight: 400;
}
.page-hero h1 em {
  font-style: italic; font-weight: 500;
  background: var(--grad-warm);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.page-hero p { color: var(--c-mute); font-size: var(--fs-md); max-width: 600px; line-height: 1.6; }

/* ============================================================
   TIMELINE — comunidad, paso a paso
   ============================================================ */
.timeline {
  position: relative;
  max-width: 880px; margin: 4rem auto 0;
  padding-left: 2.5rem;
}
.timeline::before {
  content: ''; position: absolute;
  left: .6rem; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--c-amber) 0%, var(--c-green) 100%);
  border-radius: var(--radius-pill);
}
.tl-item { position: relative; padding-bottom: 4rem; }
.tl-item::before {
  content: ''; position: absolute;
  left: -2.45rem; top: .55rem;
  width: 16px; height: 16px; border-radius: 50%;
  background: #fff;
  border: 3px solid var(--c-amber);
  box-shadow: 0 0 0 6px rgba(245, 158, 11, .15);
}
.tl-year {
  font-family: var(--f-serif); font-style: italic;
  color: var(--c-amber-deep); font-size: 1.05rem;
  letter-spacing: .02em; margin-bottom: .5rem;
  font-weight: 500;
}
.tl-title {
  font-size: var(--fs-lg); color: var(--c-ink);
  margin-bottom: .8rem;
}
.tl-item p { color: var(--c-mute); line-height: 1.75; max-width: 620px; }

/* ============================================================
   ACCORDION / FAQ / DISCLAIMER
   ============================================================ */
.disclaimer {
  background: var(--c-rose-soft);
  border-left: 4px solid var(--c-rose);
  padding: 1.8rem 2rem;
  margin: 3rem 0;
  border-radius: var(--radius);
}
.disclaimer strong {
  color: var(--c-ink); display: block; margin-bottom: .5rem;
  font-family: var(--f-serif); font-size: 1.2rem; font-style: italic; font-weight: 600;
}
.disclaimer p { color: var(--c-ink-2); line-height: 1.65; }

/* ============================================================
   MEDIA / VIDEO CARDS
   ============================================================ */
.media-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem; margin-top: 2.5rem;
}
.media-card {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--c-bg-card);
  cursor: pointer;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
  box-shadow: var(--shadow-sm);
}
.media-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: var(--shadow);
}
.media-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s var(--ease), filter .3s var(--ease);
  filter: brightness(.92) saturate(1.05);
}
.media-card:hover img { transform: scale(1.06); filter: brightness(1) saturate(1.1); }
.media-card .play {
  position: absolute; top: 50%; left: 50%;
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(255, 255, 255, .95);
  display: grid; place-items: center;
  transform: translate(-50%, -50%); z-index: 3;
  transition: all .35s var(--ease);
  box-shadow: 0 8px 20px -6px rgba(0, 0, 0, .25);
}
.media-card:hover .play { background: var(--c-amber); transform: translate(-50%, -50%) scale(1.1); }
.media-card .play::before {
  content: ''; width: 0; height: 0;
  border-left: 14px solid var(--c-ink);
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  margin-left: 4px;
  transition: border-left-color .25s;
}
.media-card:hover .play::before { border-left-color: #fff; }
.media-card .meta {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 1.2rem;
  background: linear-gradient(180deg, transparent 0%, rgba(44, 40, 38, .92) 100%);
  color: #fff;
}
.media-card .meta h3 { font-size: 1.05rem; color: #fff; margin-bottom: .25rem; font-family: var(--f-sans); font-weight: 600; line-height: 1.3; }
.media-card .meta span { font-size: .72rem; letter-spacing: .15em; text-transform: uppercase; color: #fcd34d; font-weight: 500; }

@media (max-width: 820px) { .media-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .media-grid { grid-template-columns: 1fr; } }

/* — YouTube facade — */
.yt-embed { cursor: pointer; }
.yt-embed.is-playing img,
.yt-embed.is-playing .play,
.yt-embed.is-playing .meta { display: none; }
.yt-iframe-wrap {
  position: absolute; inset: 0; z-index: 4;
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
}
.yt-iframe-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Featured video grande */
.video-feature {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-line);
  cursor: pointer;
  background: var(--c-bg-card);
  box-shadow: var(--shadow);
}
.video-feature img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(.85) contrast(1.02);
  transition: filter .5s var(--ease), transform 1.2s var(--ease);
}
.video-feature:hover img { filter: brightness(.95); transform: scale(1.02); }
.video-feature .feature-overlay {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(1.5rem, 4vw, 3rem);
  background: linear-gradient(180deg, transparent 35%, rgba(44, 40, 38, .95) 100%);
  pointer-events: none;
}
.video-feature .feature-overlay > * { pointer-events: auto; }
.video-feature .feature-eyebrow {
  font-size: .78rem; letter-spacing: .15em; text-transform: uppercase;
  color: #fcd34d; margin-bottom: 1rem; font-weight: 600;
}
.video-feature .feature-title {
  font-family: var(--f-serif); font-weight: 500;
  font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.5rem);
  color: #fff; margin-bottom: 1rem;
  max-width: 700px; line-height: 1.15;
}
.video-feature .feature-desc {
  color: rgba(255, 255, 255, .85); max-width: 600px; margin-bottom: 1.5rem;
  font-size: .95rem; line-height: 1.6;
}
.video-feature .feature-play {
  display: inline-flex; align-items: center; gap: .7rem;
  background: var(--c-amber); color: var(--c-ink);
  padding: .9rem 1.6rem; border-radius: var(--radius-pill);
  font-size: .85rem; font-weight: 700;
  letter-spacing: .02em;
  transition: all .3s var(--ease);
}
.video-feature:hover .feature-play {
  background: #fff; transform: translateY(-2px);
  box-shadow: 0 12px 24px -8px rgba(245, 158, 11, .5);
}

/* Layouts auxiliares */
.media-grid.cols-2 { grid-template-columns: 1fr 1fr; }
.media-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .media-grid.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) {
  .media-grid.cols-2, .media-grid.cols-4 { grid-template-columns: 1fr; }
}

/* ============================================================
   BLOG
   ============================================================ */
.blog-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2rem; margin-top: 3rem;
}
.post-card {
  background: var(--c-bg-card);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: all .5s var(--ease);
  box-shadow: var(--shadow-sm);
}
.post-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--c-line-2);
}
.post-card .cover { aspect-ratio: 16/10; overflow: hidden; display: block; }
.post-card .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.post-card:hover .cover img { transform: scale(1.06); }
.post-card .body { padding: 1.8rem; display: flex; flex-direction: column; flex: 1; }
.post-card .cat {
  font-size: .72rem; letter-spacing: .15em; text-transform: uppercase;
  color: var(--c-amber-deep); margin-bottom: .8rem; font-weight: 700;
  background: var(--c-amber-soft);
  display: inline-block;
  padding: .3rem .8rem;
  border-radius: var(--radius-pill);
  align-self: flex-start;
}
.post-card h3 { font-size: 1.4rem; color: var(--c-ink); margin-bottom: .8rem; line-height: 1.25; }
.post-card p { color: var(--c-mute); line-height: 1.65; font-size: .92rem; margin-bottom: 1.3rem; }
.post-card .read-more {
  margin-top: auto; font-size: .82rem; letter-spacing: .03em;
  color: var(--c-amber-deep);
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 700;
}
.post-card:hover .read-more { color: var(--c-ink); gap: .8rem; }

@media (max-width: 980px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .blog-grid { grid-template-columns: 1fr; } }

/* ============================================================
   ARTICLE (single post)
   ============================================================ */
.article {
  max-width: 760px; margin: 0 auto;
  padding: 4rem 0;
}
.article h2 {
  font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem);
  color: var(--c-ink);
  margin: 3rem 0 1.2rem;
  line-height: 1.2;
}
.article h3 {
  font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem);
  color: var(--c-ink);
  margin: 2.2rem 0 .9rem;
}
.article p {
  color: var(--c-ink-2);
  font-size: 1.1rem;
  line-height: 1.85;
  margin-bottom: 1.4rem;
}
.article p strong { color: var(--c-ink); font-weight: 700; }
.article ul, .article ol { margin: 1rem 0 1.5rem 1.5rem; color: var(--c-ink-2); }
.article ul li, .article ol li { margin-bottom: .8rem; line-height: 1.75; padding-left: .3rem; }
.article ul li::marker { color: var(--c-amber); }
.article blockquote {
  border-left: 4px solid var(--c-amber);
  padding: 1.4rem 1.8rem;
  margin: 2.4rem 0;
  font-family: var(--f-serif); font-style: italic;
  font-size: 1.35rem; line-height: 1.45;
  color: var(--c-ink);
  background: var(--c-amber-soft);
  border-radius: var(--radius);
}
.article a {
  color: var(--c-amber-deep);
  border-bottom: 1px solid rgba(245, 158, 11, .45);
}
.article a:hover { border-bottom-color: var(--c-amber-deep); color: var(--c-ink); }
.article-meta {
  display: flex; gap: 1rem; flex-wrap: wrap; align-items: center;
  font-size: .8rem;
  color: var(--c-mute); margin-bottom: 2rem;
}
.article-meta .cat {
  color: var(--c-amber-deep); font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  background: var(--c-amber-soft);
  padding: .3rem .8rem;
  border-radius: var(--radius-pill);
}

/* ============================================================
   FORM
   ============================================================ */
.form-wrap {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  background: var(--c-bg-card);
  border: 1px solid var(--c-line);
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.form-wrap .form-intro h3 {
  font-size: var(--fs-lg); color: var(--c-ink); margin-bottom: 1rem;
}
.form-wrap .form-intro p { color: var(--c-mute); line-height: 1.65; margin-bottom: 1.2rem; }
.form-wrap .form-intro .contact-direct {
  margin-top: 2rem; padding-top: 2rem;
  border-top: 1px solid var(--c-line);
}
.form-wrap .form-intro .contact-direct a {
  display: flex; align-items: center; gap: .8rem;
  color: var(--c-ink); margin-bottom: .9rem; font-size: .95rem;
  padding: .6rem .8rem;
  border-radius: var(--radius);
  transition: background .2s, color .2s;
}
.form-wrap .form-intro .contact-direct a:hover {
  color: var(--c-amber-deep);
  background: var(--c-amber-soft);
}
.form-wrap form { display: grid; gap: 1.2rem; }
.form-wrap label {
  font-size: .8rem; letter-spacing: .05em;
  color: var(--c-mute); display: block; margin-bottom: .5rem; font-weight: 600;
}
.form-wrap input, .form-wrap textarea, .form-wrap select {
  width: 100%; padding: .95rem 1.1rem;
  background: var(--c-bg-soft);
  border: 1px solid var(--c-line);
  color: var(--c-ink);
  font: inherit; font-size: .95rem;
  border-radius: var(--radius);
  transition: border-color .25s, background .25s, box-shadow .25s;
}
.form-wrap input:focus, .form-wrap textarea:focus, .form-wrap select:focus {
  outline: none; border-color: var(--c-amber); background: #fff;
  box-shadow: 0 0 0 4px rgba(245, 158, 11, .12);
}
.form-wrap textarea { min-height: 140px; resize: vertical; }

@media (max-width: 820px) {
  .form-wrap { grid-template-columns: 1fr; }
}

/* ============================================================
   REVEAL ANIMATIONS — múltiples variantes visibles
   ============================================================ */
.reveal, .reveal-up, .reveal-down, .reveal-left, .reveal-right,
.reveal-scale, .reveal-pop, .reveal-blur, .reveal-rotate {
  opacity: 0;
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease), filter 1.1s var(--ease);
  will-change: opacity, transform, filter;
}
.reveal,
.reveal-up           { transform: translateY(60px); }
.reveal-down         { transform: translateY(-60px); }
.reveal-left         { transform: translateX(-80px); }
.reveal-right        { transform: translateX(80px); }
.reveal-scale        { transform: scale(.85); }
.reveal-pop          { transform: scale(.6) translateY(40px); }
.reveal-blur         { filter: blur(20px); transform: translateY(30px); }
.reveal-rotate       { transform: rotate(-6deg) translateY(40px) scale(.92); }

.reveal.is-visible,
.reveal-up.is-visible,
.reveal-down.is-visible,
.reveal-left.is-visible,
.reveal-right.is-visible,
.reveal-scale.is-visible,
.reveal-pop.is-visible,
.reveal-rotate.is-visible {
  opacity: 1;
  transform: none;
}
.reveal-blur.is-visible { opacity: 1; transform: none; filter: blur(0); }

.delay-1 { transition-delay: .12s; }
.delay-2 { transition-delay: .26s; }
.delay-3 { transition-delay: .42s; }
.delay-4 { transition-delay: .58s; }
.delay-5 { transition-delay: .74s; }

/* Aliases para que .reveal.delay-N siga funcionando */
.reveal.delay-1, .reveal-up.delay-1, .reveal-scale.delay-1, .reveal-left.delay-1, .reveal-right.delay-1, .reveal-pop.delay-1, .reveal-blur.delay-1, .reveal-rotate.delay-1 { transition-delay: .12s; }
.reveal.delay-2, .reveal-up.delay-2, .reveal-scale.delay-2, .reveal-left.delay-2, .reveal-right.delay-2, .reveal-pop.delay-2, .reveal-blur.delay-2, .reveal-rotate.delay-2 { transition-delay: .26s; }
.reveal.delay-3, .reveal-up.delay-3, .reveal-scale.delay-3, .reveal-left.delay-3, .reveal-right.delay-3, .reveal-pop.delay-3, .reveal-blur.delay-3, .reveal-rotate.delay-3 { transition-delay: .42s; }

/* Flotación suave continua cuando ya apareció */
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
.floaty.is-visible { animation: floaty 6s var(--ease) infinite; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .reveal-up, .reveal-down, .reveal-left, .reveal-right,
  .reveal-scale, .reveal-pop, .reveal-blur, .reveal-rotate
  { opacity: 1; transform: none; filter: none; }
}

/* ============================================================
   FONDOS DE SECCIÓN — gradientes notorios
   ============================================================ */
.sec-bg-warm {
  background:
    radial-gradient(ellipse 80% 60% at 15% 0%, rgba(251, 146, 60, .25) 0%, transparent 60%),
    radial-gradient(ellipse 80% 60% at 95% 100%, rgba(245, 158, 11, .22) 0%, transparent 60%),
    linear-gradient(180deg, #fff7e8 0%, #ffeacd 100%);
}
.sec-bg-mint {
  background:
    radial-gradient(ellipse 70% 60% at 100% 0%, rgba(52, 211, 153, .25) 0%, transparent 60%),
    radial-gradient(ellipse 60% 60% at 0% 100%, rgba(147, 197, 253, .22) 0%, transparent 60%),
    linear-gradient(180deg, #ecfdf5 0%, #ddf5e6 100%);
}
.sec-bg-sky {
  background:
    radial-gradient(ellipse 70% 50% at 20% 10%, rgba(147, 197, 253, .3) 0%, transparent 60%),
    radial-gradient(ellipse 80% 60% at 100% 90%, rgba(252, 211, 77, .22) 0%, transparent 60%),
    linear-gradient(180deg, #f0f9ff 0%, #e0f2fe 100%);
}
.sec-bg-peach {
  background:
    radial-gradient(ellipse 80% 70% at 50% 0%, rgba(251, 113, 133, .2) 0%, transparent 60%),
    radial-gradient(ellipse 70% 60% at 0% 100%, rgba(245, 158, 11, .25) 0%, transparent 60%),
    linear-gradient(180deg, #fff1f2 0%, #ffe4e6 100%);
}
.sec-bg-cream {
  background:
    radial-gradient(ellipse 60% 50% at 0% 0%, rgba(245, 158, 11, .18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 100% 100%, rgba(52, 211, 153, .15) 0%, transparent 60%),
    linear-gradient(180deg, #fefbf3 0%, #fdf2dc 100%);
}

/* ============================================================
   SERVICE CARDS — 3 servicios diferenciados
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
  margin-top: 3.5rem;
}
.service-card {
  position: relative;
  display: flex; flex-direction: column;
  padding: 2.2rem 2rem 2rem;
  border-radius: var(--radius-lg);
  background: var(--c-bg-card);
  box-shadow: var(--shadow);
  border: 1px solid var(--c-line);
  overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 6px;
  background: var(--svc-grad, var(--grad-warm));
}
.service-card::after {
  content: '';
  position: absolute; top: -50px; right: -50px;
  width: 200px; height: 200px; border-radius: 50%;
  background: var(--svc-grad, var(--grad-warm));
  opacity: .12;
  filter: blur(20px);
  pointer-events: none;
}
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}
.service-card.svc-group   { --svc-grad: linear-gradient(135deg, #34d399 0%, #10b981 100%); }
.service-card.svc-private { --svc-grad: linear-gradient(135deg, #fbbf24 0%, #f97316 100%); }
.service-card.svc-whatsapp{ --svc-grad: linear-gradient(135deg, #25d366 0%, #128c7e 100%); }

.svc-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .72rem; letter-spacing: .15em; text-transform: uppercase;
  font-weight: 700;
  padding: .45rem 1rem;
  border-radius: var(--radius-pill);
  background: var(--svc-grad);
  color: #fff;
  margin-bottom: 1.5rem;
  align-self: flex-start;
  box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .25);
}
.svc-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--svc-grad);
  display: grid; place-items: center;
  color: #fff;
  margin-bottom: 1.5rem;
  box-shadow: 0 12px 24px -8px rgba(0, 0, 0, .25);
}
.svc-icon svg { width: 30px; height: 30px; }
.service-card h3 {
  font-size: 1.6rem;
  color: var(--c-ink);
  line-height: 1.2;
  margin-bottom: .5rem;
}
.svc-tagline {
  font-family: var(--f-serif);
  font-style: italic;
  color: var(--c-mute);
  font-size: 1rem;
  margin-bottom: 1.3rem;
  line-height: 1.4;
}
.svc-meta {
  display: flex; flex-wrap: wrap; gap: .6rem;
  margin-bottom: 1.5rem;
}
.svc-meta-item {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .8rem;
  color: var(--c-ink);
  background: var(--c-bg-soft);
  padding: .45rem .9rem;
  border-radius: var(--radius-pill);
  font-weight: 500;
}
.svc-meta-item svg { width: 14px; height: 14px; flex-shrink: 0; }
.service-card > p.svc-desc {
  color: var(--c-mute);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-size: .95rem;
}
.svc-list {
  margin: 0 0 1.8rem;
  display: flex; flex-direction: column; gap: .7rem;
}
.svc-list li {
  display: flex; gap: .65rem;
  font-size: .9rem;
  color: var(--c-ink-2);
  line-height: 1.5;
  padding-left: 0 !important;
  margin-bottom: 0 !important;
}
.svc-list li::before {
  content: '';
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--svc-grad);
  background-image:
    linear-gradient(rgba(255,255,255,.85), rgba(255,255,255,.85)),
    var(--svc-grad);
  background-size: 60% 60%, cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-top: 1px;
  position: relative;
}
.svc-list li {
  position: relative;
}
/* Checkmark via mask */
.svc-list li::before {
  background:
    var(--svc-grad);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'><circle cx='12' cy='12' r='10' fill='black'/><path d='M8 12.5l3 3 5-6' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' fill='none'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'><circle cx='12' cy='12' r='10' fill='black'/><path d='M8 12.5l3 3 5-6' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' fill='none'/></svg>") center/contain no-repeat;
}
.svc-list li::after { display: none; }

.svc-cta {
  margin-top: auto;
  padding: 1rem 1.5rem;
  background: var(--svc-grad);
  color: #fff;
  text-align: center;
  font-weight: 700;
  letter-spacing: .02em;
  border-radius: var(--radius-pill);
  font-family: var(--f-sans);
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .35);
}
.svc-cta:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 28px -10px rgba(0, 0, 0, .4);
}
.svc-cta svg { width: 16px; height: 16px; }

.svc-price {
  font-size: .75rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--c-mute);
  margin-top: 1rem; text-align: center;
  font-weight: 600;
}

@media (max-width: 980px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .service-card.svc-whatsapp { grid-column: 1 / -1; max-width: 600px; margin: 0 auto; width: 100%; }
}
@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; }
  .service-card.svc-whatsapp { max-width: none; }
}

/* ============================================================
   ENFOQUES DE CHARLA — talks grid
   ============================================================ */
.talks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.talk-card {
  background: var(--c-bg-card);
  border-radius: var(--radius);
  padding: 2rem 1.75rem 1.75rem;
  border: 1px solid var(--c-line);
  display: flex;
  flex-direction: column;
  gap: .0;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  position: relative;
  overflow: hidden;
}
.talk-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--talk-color, var(--c-amber));
  opacity: .7;
}
.talk-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.talk-tag {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .32rem .85rem;
  border-radius: var(--radius-pill);
  background: var(--talk-bg, var(--c-amber-soft));
  color: var(--talk-color, var(--c-amber-deep));
  margin-bottom: 1.1rem;
  align-self: flex-start;
}
.talk-icon {
  font-size: 2rem;
  margin-bottom: .85rem;
  line-height: 1;
}
.talk-title {
  font-family: var(--f-serif);
  font-size: clamp(1rem, .9rem + .5vw, 1.2rem);
  font-weight: 500;
  color: var(--c-ink);
  margin-bottom: .75rem;
  line-height: 1.25;
}
.talk-desc {
  color: var(--c-mute);
  font-size: .9rem;
  line-height: 1.65;
  flex: 1;
}
.talk-audience {
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--c-line);
  font-size: .75rem;
  font-weight: 600;
  color: var(--c-mute-2);
  letter-spacing: .04em;
}
.talk-audience strong {
  color: var(--talk-color, var(--c-amber-deep));
  font-weight: 700;
}

/* Colores por tarjeta */
.talk-amber  { --talk-color: #b45309; --talk-bg: #fff4dc; }
.talk-coral  { --talk-color: #c2410c; --talk-bg: #ffe9d3; }
.talk-sky    { --talk-color: #0369a1; --talk-bg: #e0f2fe; }
.talk-green  { --talk-color: #15803d; --talk-bg: #dcfce7; }
.talk-rose   { --talk-color: #be185d; --talk-bg: #ffe4e6; }
.talk-violet { --talk-color: #6d28d9; --talk-bg: #ede9fe; }

@media (max-width: 980px) { .talks-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .talks-grid { grid-template-columns: 1fr; } }

/* ============================================================
   PÁGINAS LEGALES — privacidad / aviso legal
   ============================================================ */
.legal {
  max-width: 820px;
  margin: 0 auto;
  padding: 3rem 0 5rem;
}
.legal h2 {
  font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem);
  color: var(--c-ink);
  margin: 2.5rem 0 1rem;
  line-height: 1.2;
}
.legal h3 {
  font-size: 1.2rem;
  color: var(--c-ink);
  margin: 1.8rem 0 .7rem;
  font-family: var(--f-sans);
  font-weight: 700;
  font-style: normal;
}
.legal p, .legal li {
  color: var(--c-ink-2);
  line-height: 1.75;
  margin-bottom: 1rem;
  font-size: .98rem;
}
.legal ul, .legal ol {
  margin: 0 0 1.2rem 1.5rem;
}
.legal ul li::marker { color: var(--c-amber); }
.legal a {
  color: var(--c-amber-deep);
  border-bottom: 1px solid rgba(245, 158, 11, .35);
}
.legal a:hover { color: var(--c-ink); border-bottom-color: var(--c-ink); }
.legal-updated {
  display: inline-block;
  padding: .4rem 1rem;
  background: var(--c-amber-soft);
  color: var(--c-amber-deep);
  border-radius: var(--radius-pill);
  font-size: .8rem; font-weight: 600;
  letter-spacing: .05em;
  margin-bottom: 2rem;
}

/* ============================================================
   COMUNIDAD — sección con fotos reales
   ============================================================ */
.community {
  position: relative;
  overflow: hidden;
}
/* — Galería masonry asimétrica — */
.community-grid.masonry {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 130px;
  gap: 1rem;
  margin: 3rem 0 0;
}
.community-photo {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--c-bg-card);
  box-shadow: var(--shadow);
  transition: transform .55s var(--ease), box-shadow .55s var(--ease);
}
.community-photo.c-big    { grid-column: span 3; grid-row: span 3; }
.community-photo.c-tall   { grid-column: span 3; grid-row: span 3; }
.community-photo.c-wide   { grid-column: span 4; grid-row: span 2; }
.community-photo.c-square { grid-column: span 2; grid-row: span 2; }

.community-photo:hover {
  transform: translateY(-6px) rotate(-.4deg);
  box-shadow: var(--shadow-lg);
  z-index: 2;
}
.community-photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  transition: transform 1.5s var(--ease), filter .5s var(--ease);
  filter: saturate(1.05) contrast(1.02);
}
.community-photo:hover img { transform: scale(1.08); filter: saturate(1.15); }
.community-photo figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.5rem 1.3rem 1.1rem;
  background: linear-gradient(180deg, transparent 0%, rgba(44, 40, 38, .95) 100%);
  color: #fff;
  font-family: var(--f-sans);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1.35;
  transform: translateY(8px);
  opacity: .92;
  transition: transform .4s var(--ease), opacity .4s var(--ease);
}
.community-photo:hover figcaption { transform: translateY(0); opacity: 1; }

/* Tablet */
@media (max-width: 980px) {
  .community-grid.masonry {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 120px;
  }
  .community-photo.c-big    { grid-column: span 4; grid-row: span 3; }
  .community-photo.c-tall   { grid-column: span 2; grid-row: span 3; }
  .community-photo.c-wide   { grid-column: span 2; grid-row: span 2; }
  .community-photo.c-square { grid-column: span 2; grid-row: span 2; }
}

/* Mobile */
@media (max-width: 620px) {
  .community-grid.masonry {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 140px;
  }
  .community-photo.c-big    { grid-column: span 2; grid-row: span 3; }
  .community-photo.c-tall,
  .community-photo.c-wide,
  .community-photo.c-square { grid-column: span 1; grid-row: span 2; }
  .community-photo figcaption { font-size: .8rem; padding: .9rem .8rem .7rem; }
}

/* ============================================================
   HERO con foto de fondo — efectos extra (zoom lento)
   ============================================================ */
.hero-media img {
  animation: heroZoom 18s var(--ease) infinite alternate;
}
@keyframes heroZoom {
  0%   { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.08) translate(-1%, -1%); }
}

/* ============================================================
   PAGE HERO con foto a color — más expresivo
   ============================================================ */
.page-hero-media img {
  opacity: .35;
  filter: saturate(1.1) contrast(1.02);
}

/* small utilities */
.text-center { text-align: center; }
.mt-3 { margin-top: 3rem; }
.mt-4 { margin-top: 4rem; }
.cta-row { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }
.cta-row.center { justify-content: center; }
