/* ==========================================================================
   NIIU Club Boutique — Sanctuary Boutique design system
   Tokens: design/DESIGN.md · Reglas: openspec/
   ========================================================================== */

:root {
  /* Paleta de marca */
  --olive: #55563d;          /* Oliva NIIU — acciones primarias */
  --olive-deep: #393c2b;     /* Oliva profundo — hover/pressed */
  --taupe: #a48d78;          /* Topo suave — acentos editoriales */
  --taupe-text: #6e5b48;     /* Topo legible (AA) para texto */
  --sage: #dde2d4;           /* Salvia pálido — Sala Nido */
  --rose: #ead8d2;           /* Rosa empolvado — maternidad */
  --ivory: #f4ede5;          /* Marfil cálido — lienzo */
  --cream: #fffcf8;          /* Blanco crema — superficies */
  --ink: #302f2a;            /* Carbón cálido — texto */
  --ink-soft: #48473e;       /* Texto secundario */
  --line: rgba(164, 141, 120, 0.25);
  --line-strong: rgba(164, 141, 120, 0.45);
  --ivory-deep: #eee7df;
  --error: #ba1a1a;
  --error-bg: #ffdad6;
  --success-bg: #e6ead9;

  /* Tipografía */
  --font-serif: "EB Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Espaciado */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2.5rem;
  --space-2xl: 4rem;
  --gutter: 1rem;
  --margin: 1.25rem;
  --section-y: clamp(72px, 9vw, 136px);
  --max-w: 1320px;
  --header-h: 72px;

  /* Radios */
  --r-sm: 8px;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-full: 9999px;

  /* Elevación (sombras cálidas) */
  --shadow-1: 0 4px 24px -2px rgba(85, 86, 61, 0.06);
  --shadow-2: 0 12px 36px -4px rgba(57, 60, 43, 0.09);
  --shadow-3: 0 24px 48px -8px rgba(48, 47, 42, 0.12);

  /* Movimiento */
  --t-header: 220ms;
  --t-btn: 160ms;
  --t-card: 240ms;
  --t-filter: 200ms;
  --t-reveal: 450ms;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (min-width: 768px) {
  :root { --gutter: 1.5rem; --margin: 2rem; --header-h: 80px; }
}
@media (min-width: 1024px) {
  :root { --margin: 3rem; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
svg { flex-shrink: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--rose); color: var(--ink); }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: var(--space-md);
  top: -100px;
  z-index: 200;
  background: var(--olive-deep);
  color: var(--cream);
  padding: 0.75rem 1.25rem;
  border-radius: var(--r-full);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: var(--space-md); }

:focus-visible {
  outline: 2px solid var(--olive-deep);
  outline-offset: 3px;
  border-radius: 6px;
}

.icon { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon--sm { width: 16px; height: 16px; }
.icon--lg { width: 26px; height: 26px; }

.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--margin);
}

.section { padding-block: var(--section-y); scroll-margin-top: var(--header-h); }
.section--cream { background: var(--cream); }
.section--sage { background: linear-gradient(180deg, #e9ecdf 0%, var(--ivory) 100%); }

/* ---------- Tipografía ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--taupe-text);
  margin-bottom: var(--space-md);
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--taupe);
}
.eyebrow--center { justify-content: center; }

.display {
  font-size: clamp(2.375rem, 5.2vw + 0.5rem, 4.25rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
}
.h2 {
  font-size: clamp(2rem, 3vw + 0.75rem, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
}
.h3 { font-size: clamp(1.5rem, 1vw + 1.1rem, 1.75rem); line-height: 1.2; font-weight: 500; }
.h4 { font-size: 1.25rem; line-height: 1.3; font-weight: 600; }
.serif-italic { font-style: italic; color: var(--taupe-text); }
.lead { font-size: clamp(1rem, 0.3vw + 0.95rem, 1.125rem); line-height: 1.7; color: var(--ink-soft); }
.muted { color: var(--ink-soft); }
.small { font-size: 13px; line-height: 1.55; }

.section-head { max-width: 720px; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head .lead { margin-top: var(--space-md); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--split {
  max-width: none;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-lg);
}
.section-head--split > div { max-width: 640px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 52px;
  padding: 0 1.75rem;
  border-radius: var(--r-full);
  border: 1.5px solid transparent;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--t-btn) var(--ease), color var(--t-btn) var(--ease),
    border-color var(--t-btn) var(--ease), box-shadow var(--t-btn) var(--ease), transform var(--t-btn) var(--ease);
  white-space: nowrap;
}
.btn .icon { transition: transform var(--t-btn) var(--ease); }
.btn:hover .icon--arrow { transform: translateX(3px); }
.btn:active { transform: scale(0.98); }

.btn--primary { background: var(--olive); color: var(--cream); box-shadow: 0 6px 18px -6px rgba(85, 86, 61, 0.45); }
.btn--primary:hover { background: var(--olive-deep); }
.btn--ghost { background: transparent; border-color: var(--taupe); color: var(--ink); }
.btn--ghost:hover { background: rgba(221, 226, 212, 0.4); }
.btn--light { background: var(--cream); color: var(--olive-deep); }
.btn--light:hover { background: var(--ivory); }
.btn--sm { min-height: 44px; padding: 0 1.25rem; font-size: 13px; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; transform: none; }
.btn.is-loading { pointer-events: none; opacity: 0.8; }
.btn.is-loading::after {
  content: "";
  width: 16px; height: 16px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 44px;
  color: var(--olive);
  font-weight: 600;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--line-strong);
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: color var(--t-btn), text-decoration-color var(--t-btn);
}
.link-arrow:hover { color: var(--olive-deep); text-decoration-color: currentColor; }
.link-arrow:hover .icon { transform: translateX(3px); }
.link-arrow .icon { transition: transform var(--t-btn) var(--ease); }

/* ---------- Chips / tags ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 44px;
  padding: 0 1.1rem;
  border-radius: var(--r-full);
  border: 1px solid rgba(164, 141, 120, 0.3);
  background: var(--ivory);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color var(--t-filter) var(--ease), color var(--t-filter) var(--ease), border-color var(--t-filter);
}
.chip:hover { border-color: var(--taupe); }
.chip[aria-pressed="true"], .chip[aria-selected="true"], .chip:has(input:checked) {
  background: var(--olive);
  border-color: var(--olive);
  color: var(--cream);
}
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip:has(input:focus-visible) { outline: 2px solid var(--olive-deep); outline-offset: 3px; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.7rem;
  border-radius: var(--r-full);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--ivory);
  color: var(--ink-soft);
}
.tag--nido { background: var(--sage); color: var(--olive-deep); }
.tag--maternal { background: var(--rose); color: var(--ink); }
.tag--neutral { background: var(--ivory-deep); color: var(--ink-soft); }
.tag--pending { background: transparent; border: 1px dashed var(--taupe); color: var(--taupe-text); }

/* ---------- Tarjetas ---------- */
.card {
  background: var(--cream);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-1);
  padding: 18px;
  transition: box-shadow var(--t-card) var(--ease), transform var(--t-card) var(--ease);
}
@media (min-width: 768px) { .card { padding: 28px; } }
.card--hover:hover { box-shadow: var(--shadow-2); transform: translateY(-3px); }

.icon-tile {
  width: 52px; height: 52px;
  border-radius: var(--r);
  display: grid;
  place-items: center;
  background: var(--ivory);
  color: var(--olive);
}
.icon-tile--rose { background: var(--rose); color: var(--taupe-text); }
.icon-tile--sage { background: var(--sage); color: var(--olive-deep); }

.notice {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.9rem 1.1rem;
  border-radius: var(--r);
  background: var(--cream);
  border: 1px dashed var(--line-strong);
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.notice .icon { color: var(--taupe-text); margin-top: 1px; }
.notice strong { color: var(--ink); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(244, 237, 229, 0.86);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  transition: box-shadow var(--t-header) var(--ease), background-color var(--t-header) var(--ease);
}
.site-header.is-scrolled { background: rgba(255, 252, 248, 0.94); box-shadow: 0 1px 0 var(--line), var(--shadow-1); }
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.brand { display: inline-flex; align-items: center; gap: 0.75rem; text-decoration: none; color: var(--olive); }
.brand__mark { width: 66px; height: 30px; color: var(--olive); }
.brand__mark .leaf { fill: #8a8b6c; stroke: none; }
.brand__sub {
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding-left: 0.75rem;
  border-left: 1px solid var(--line-strong);
  line-height: 1.3;
}

.nav-desktop { display: none; }
.nav-desktop ul { display: flex; gap: clamp(0.75rem, 1.6vw, 1.75rem); }
.nav-desktop a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color var(--t-btn);
}
.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 8px;
  height: 1px;
  background: var(--olive);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-header) var(--ease);
}
.nav-desktop a:hover, .nav-desktop a[aria-current="true"] { color: var(--olive-deep); }
.nav-desktop a:hover::after, .nav-desktop a[aria-current="true"]::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: var(--space-sm); }
.header-cta { display: none; }

.menu-toggle {
  width: 48px; height: 48px;
  display: grid;
  place-items: center;
  border-radius: var(--r-full);
  border: 1px solid var(--line-strong);
  background: var(--cream);
  color: var(--olive-deep);
  cursor: pointer;
}

@media (min-width: 640px) { .header-cta { display: inline-flex; } }
@media (min-width: 1100px) {
  .nav-desktop { display: block; }
  .menu-toggle { display: none; }
}

/* Menú móvil */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: none;
}
.mobile-menu.is-open { display: block; }
.mobile-menu__backdrop {
  position: absolute; inset: 0;
  background: rgba(48, 47, 42, 0.35);
  animation: fade-in var(--t-header) var(--ease);
}
.mobile-menu__panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(380px, 100%);
  background: var(--cream);
  border-radius: var(--r-xl) 0 0 var(--r-xl);
  box-shadow: var(--shadow-3);
  padding: var(--space-lg) var(--margin);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  overflow-y: auto;
  animation: slide-in var(--t-card) var(--ease);
}
.mobile-menu__top { display: flex; justify-content: space-between; align-items: center; }
.mobile-menu nav a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 56px;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.mobile-menu nav a .icon { color: var(--taupe); }
@keyframes fade-in { from { opacity: 0; } }
@keyframes slide-in { from { transform: translateX(40px); opacity: 0; } }

/* ==========================================================================
   01 Hero
   ========================================================================== */
.hero { padding-top: calc(var(--header-h) + clamp(24px, 4vw, 56px)); padding-bottom: var(--section-y); }
.hero__grid { display: grid; gap: var(--space-xl); align-items: center; }
.hero__media { order: -1; position: relative; }
.hero__img-wrap {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4 / 3.4;
  background: var(--ivory-deep);
  box-shadow: var(--shadow-2);
}
.hero__img-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: 40% center; }
.hero__img-wrap::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(57, 60, 43, 0.28), transparent 45%);
}
.hero__float {
  position: absolute;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.9rem 1rem;
  border-radius: var(--r);
  background: rgba(255, 252, 248, 0.94);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-2);
}
.hero__float p { font-size: 13px; line-height: 1.4; color: var(--ink-soft); }
.hero__float strong { display: block; color: var(--ink); font-size: 14px; }
.pulse-dot { position: relative; width: 10px; height: 10px; border-radius: 50%; background: #7c8a63; margin-left: auto; }
.pulse-dot::after {
  content: "";
  position: absolute; inset: -5px;
  border-radius: 50%;
  border: 1.5px solid #7c8a63;
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse { 0% { transform: scale(0.6); opacity: 0.9; } 100% { transform: scale(1.6); opacity: 0; } }

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0.95rem;
  border-radius: var(--r-full);
  background: var(--cream);
  box-shadow: var(--shadow-1);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--olive);
  margin-bottom: var(--space-lg);
}
.hero__eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--olive); }
.hero h1 { margin-bottom: var(--space-lg); }
.hero h1 em { display: block; font-style: italic; color: var(--taupe-text); }
.hero .lead { max-width: 34rem; margin-bottom: var(--space-xl); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: var(--space-md); margin-bottom: var(--space-xl); }
.hero__pillars { display: grid; gap: 0.75rem; }
.hero__pillar {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.75rem 1rem;
  border-radius: var(--r);
  background: var(--cream);
  box-shadow: var(--shadow-1);
  font-size: 13px;
  font-weight: 600;
}
.hero__pillar .icon { color: var(--olive); }

@media (min-width: 560px) {
  .hero__pillars { grid-template-columns: repeat(3, 1fr); }
  .hero__ctas .btn { min-width: 0; }
}
@media (min-width: 1024px) {
  .hero__grid { grid-template-columns: 45fr 55fr; gap: clamp(2.5rem, 5vw, 5rem); }
  .hero__media { order: 0; }
  .hero__img-wrap { aspect-ratio: 4 / 4.6; }
  .hero__float { left: 24px; right: 24px; bottom: 24px; }
}

/* ==========================================================================
   02 Universo NIIU
   ========================================================================== */
.pillars { display: grid; gap: var(--gutter); }
.pillar h3 { margin: 1.5rem 0 0.75rem; }
.pillar__foot {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 13px;
  font-weight: 600;
  color: var(--olive);
}
@media (min-width: 768px) { .pillars { grid-template-columns: repeat(3, 1fr); } }

.quote-band {
  margin-top: clamp(3rem, 6vw, 5rem);
  text-align: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.4rem, 1.5vw + 1rem, 2rem);
  line-height: 1.35;
  color: var(--taupe-text);
  max-width: 780px;
  margin-inline: auto;
}

/* ==========================================================================
   03 Etapas
   ========================================================================== */
.tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.35rem;
  border-radius: var(--r-full);
  background: var(--cream);
  box-shadow: var(--shadow-1);
}
.tabs [role="tab"] {
  min-height: 44px;
  padding: 0 1.2rem;
  border: 0;
  border-radius: var(--r-full);
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background-color var(--t-filter) var(--ease), color var(--t-filter) var(--ease);
}
.tabs [role="tab"]:hover { color: var(--ink); background: var(--ivory); }
.tabs [role="tab"][aria-selected="true"] { background: var(--olive); color: var(--cream); }
.tabs-center { display: flex; justify-content: center; margin-bottom: var(--space-xl); }

.stage-panel {
  display: grid;
  gap: var(--space-xl);
  align-items: center;
  background: var(--cream);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-1);
  padding: clamp(1.25rem, 3vw, 2.5rem);
  animation: panel-in var(--t-card) var(--ease);
}
.stage-panel[hidden] { display: none; }
@keyframes panel-in { from { opacity: 0; transform: translateY(8px); } }
.stage-panel__img { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--ivory-deep); }
.stage-panel__img img { width: 100%; height: 100%; object-fit: cover; }
.stage-panel h3 { margin: 0.75rem 0 1rem; }
.stage-panel .lead { margin-bottom: var(--space-lg); }
.stage-recos { margin-bottom: var(--space-lg); }
.stage-recos p { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--taupe-text); margin-bottom: 0.6rem; }
.stage-recos ul { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.stage-recos li {
  padding: 0.45rem 0.9rem;
  border-radius: var(--r-full);
  background: var(--ivory);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 500;
}
@media (min-width: 900px) { .stage-panel { grid-template-columns: 1fr 1.1fr; } }

/* ==========================================================================
   04 Servicios
   ========================================================================== */
.filters {
  display: grid;
  gap: var(--space-md);
  padding: clamp(1rem, 2vw, 1.5rem);
  border-radius: var(--r-lg);
  background: var(--cream);
  box-shadow: var(--shadow-1);
  margin-bottom: var(--space-xl);
}
.filter-group { border: 0; padding: 0; margin: 0; min-width: 0; }
.filter-group legend {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--taupe-text);
  margin-bottom: 0.6rem;
  padding: 0;
}
.filter-group__chips { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.filters__foot { display: flex; flex-wrap: wrap; gap: var(--space-md); align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-top: var(--space-md); }
.filters__count { font-size: 13px; color: var(--ink-soft); }
@media (min-width: 1024px) {
  .filters { grid-template-columns: repeat(3, auto); justify-content: start; column-gap: 3rem; }
  .filters__foot { grid-column: 1 / -1; }
}

.services-grid { display: grid; gap: var(--gutter); }
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1280px) { .services-grid { grid-template-columns: repeat(4, 1fr); } }

.service {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  animation: panel-in var(--t-filter) var(--ease);
}
.service[hidden] { display: none; }
.service__media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--ivory) 0%, var(--ivory-deep) 100%);
  display: grid;
  place-items: center;
  color: var(--taupe);
  overflow: hidden;
}
.service__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
.service:hover .service__media img { transform: scale(1.04); }
.service__media .icon { width: 44px; height: 44px; stroke-width: 1.1; }
.service__media--rose { background: linear-gradient(135deg, #f3e7e2 0%, var(--rose) 100%); }
.service__media--sage { background: linear-gradient(135deg, #eef0e7 0%, var(--sage) 100%); }
.service__num {
  position: absolute;
  top: 12px; left: 12px;
  font-family: var(--font-serif);
  font-size: 15px;
  padding: 0.15rem 0.6rem;
  border-radius: var(--r-full);
  background: rgba(255, 252, 248, 0.9);
  color: var(--ink);
}
.service__body { display: flex; flex-direction: column; flex: 1; padding: 1.25rem 1.25rem 1.5rem; gap: 0.75rem; }
.service__tags { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.service h3 { font-size: 1.4rem; font-weight: 500; line-height: 1.2; }
.service__summary { font-size: 14px; line-height: 1.6; color: var(--ink-soft); }
.service__meta { display: grid; gap: 0.35rem; font-size: 12.5px; color: var(--ink-soft); }
.service__meta div { display: flex; gap: 0.4rem; align-items: center; }
.service__meta .icon { width: 15px; height: 15px; color: var(--taupe); }
.service details { border-top: 1px solid var(--line); padding-top: 0.5rem; margin-top: auto; }
.service summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  font-size: 13px;
  font-weight: 600;
  color: var(--olive);
}
.service summary::-webkit-details-marker { display: none; }
.service summary .icon { transition: transform var(--t-card) var(--ease); }
.service details[open] summary .icon { transform: rotate(180deg); }
.service dl { display: grid; grid-template-columns: auto 1fr; gap: 0.35rem 0.75rem; font-size: 12.5px; margin: 0.25rem 0 0.75rem; }
.service dt { color: var(--ink-soft); }
.service dd { margin: 0; font-weight: 600; text-align: right; }
.service dd.pending { color: var(--taupe-text); font-weight: 500; font-style: italic; }

.empty-state {
  text-align: center;
  padding: clamp(2rem, 5vw, 3.5rem);
  border-radius: var(--r-lg);
  border: 1px dashed var(--line-strong);
  background: var(--cream);
}
.empty-state[hidden] { display: none; }
.empty-state .icon-tile { margin: 0 auto 1rem; }
.empty-state h3 { margin-bottom: 0.5rem; }
.empty-state p { color: var(--ink-soft); margin-bottom: 1.25rem; }

/* ==========================================================================
   05 Sala Nido
   ========================================================================== */
.nido {
  position: relative;
  background: var(--olive-deep);
  color: var(--cream);
  border-radius: var(--r-xl);
  padding: clamp(1.5rem, 5vw, 4.5rem);
  overflow: hidden;
}
.nido::before {
  content: "";
  position: absolute;
  width: 520px; height: 520px;
  right: -180px; top: -200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(221, 226, 212, 0.16), transparent 70%);
  pointer-events: none;
}
.nido h2, .nido h3, .nido h4 { color: var(--cream); }
.nido .eyebrow { color: var(--sage); }
.nido .eyebrow::before { background: var(--sage); }
.nido__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: var(--r-full);
  background: rgba(221, 226, 212, 0.14);
  color: var(--sage);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: var(--space-lg);
}
.nido h2 { margin-bottom: var(--space-lg); }
.nido h2 em { display: block; font-style: italic; color: #d9cfbf; }
.nido__lead { color: rgba(255, 252, 248, 0.82); max-width: 40rem; font-size: 1.05rem; line-height: 1.75; }
.nido__grid { position: relative; display: grid; gap: var(--space-xl); margin-top: var(--space-xl); }
@media (min-width: 1024px) { .nido__grid { grid-template-columns: 1.15fr 1fr; align-items: start; } }

.nido-conditions { display: grid; gap: 0.6rem; }
@media (min-width: 560px) { .nido-conditions { grid-template-columns: 1fr 1fr; } }
.nido-condition {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  padding: 1rem;
  border-radius: var(--r);
  background: rgba(255, 252, 248, 0.06);
  border: 1px solid rgba(221, 226, 212, 0.14);
}
.nido-condition .icon { color: var(--sage); margin-top: 2px; }
.nido-condition h4 { font-family: var(--font-sans); font-size: 14px; font-weight: 600; }
.nido-condition p { font-size: 13px; color: rgba(255, 252, 248, 0.68); }
.nido-condition .is-pending { font-style: italic; color: #d9cfbf; }
.nido__note { margin-top: var(--space-md); font-size: 12.5px; color: rgba(255, 252, 248, 0.6); }

.guardian {
  background: var(--cream);
  color: var(--ink);
  border-radius: var(--r-xl);
  border: 1px solid rgba(164, 141, 120, 0.25);
  box-shadow: var(--shadow-3);
  padding: clamp(1.25rem, 3vw, 2rem);
}
.guardian h3 { color: var(--ink); margin-bottom: 0.25rem; }
.guardian__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: var(--space-lg); }
.guardian__steps { display: grid; gap: var(--space-md); }
.guardian__status {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border-radius: var(--r);
  background: var(--sage);
  color: var(--olive-deep);
  font-size: 13px;
  line-height: 1.5;
}
.guardian__status strong { display: block; font-size: 14px; }
.guardian__status--warn { background: var(--rose); color: var(--ink); }

/* ==========================================================================
   Formularios
   ========================================================================== */
.field { display: grid; gap: 0.4rem; }
.field label, .field .label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.field .req { color: var(--taupe-text); }
.field .hint { font-size: 12px; color: var(--ink-soft); }
.input, .select, .textarea {
  width: 100%;
  min-height: 50px;
  padding: 0 1rem;
  border-radius: var(--r);
  border: 1px solid rgba(164, 141, 120, 0.55);
  background: var(--cream);
  font-size: 15px;
  transition: border-color var(--t-btn) var(--ease);
  appearance: none;
  -webkit-appearance: none;
}
.textarea { padding: 0.8rem 1rem; min-height: 110px; resize: vertical; }
.select {
  padding-right: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2355563d' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}
.input:hover, .select:hover, .textarea:hover { border-color: var(--taupe); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--olive); box-shadow: inset 0 0 0 1px var(--olive); }
.input:focus-visible, .select:focus-visible, .textarea:focus-visible { outline: 2px solid var(--olive-deep); outline-offset: 2px; }
[aria-invalid="true"] { border-color: var(--error) !important; }
.field-error { font-size: 12.5px; color: var(--error); display: flex; gap: 0.35rem; align-items: center; }
.field-error:empty { display: none; }

.check { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 13px; line-height: 1.55; color: var(--ink-soft); cursor: pointer; }
.check input {
  appearance: none;
  -webkit-appearance: none;
  flex-shrink: 0;
  width: 22px; height: 22px;
  margin: 0;
  border-radius: 6px;
  border: 1.5px solid var(--taupe);
  background: var(--cream);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background-color var(--t-btn), border-color var(--t-btn);
}
.check input::after {
  content: "";
  width: 6px; height: 11px;
  border: solid var(--cream);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translate(-1px, -1px) scale(0);
  transition: transform var(--t-btn) var(--ease);
}
.check input:checked { background: var(--olive); border-color: var(--olive); }
.check input:checked::after { transform: rotate(45deg) translate(-1px, -1px) scale(1); }
.check a { color: var(--olive); }

.segmented { display: flex; flex-wrap: wrap; gap: 0.45rem; border: 0; padding: 0; margin: 0; }
.segmented legend { font-size: 13px; font-weight: 600; margin-bottom: 0.55rem; padding: 0; }

.form-status {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 1rem 1.1rem;
  border-radius: var(--r);
  font-size: 14px;
  line-height: 1.55;
}
.form-status[hidden] { display: none; }
.form-status--success { background: var(--success-bg); color: var(--olive-deep); }
.form-status--error { background: var(--error-bg); color: #93000a; }
.form-status--info { background: var(--rose); color: var(--ink); }
.form-status strong { display: block; }

.turnstile-field[hidden] { display: none; }
.turnstile-widget { min-height: 65px; border-radius: var(--r); }
.turnstile-widget:focus { outline: none; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ==========================================================================
   06 Método
   ========================================================================== */
.steps { display: grid; gap: var(--gutter); counter-reset: step; }
.step { position: relative; }
.step__num {
  font-family: var(--font-serif);
  font-size: 3rem;
  line-height: 1;
  color: var(--taupe);
  font-style: italic;
  margin-bottom: 1.25rem;
  display: block;
}
.step h3 { margin-bottom: 0.6rem; font-size: 1.5rem; font-weight: 500; }
.step p { font-size: 15px; color: var(--ink-soft); }
.step::before {
  content: "";
  position: absolute;
  top: 0; left: 18px; right: 18px;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: var(--sage);
}
.step:nth-child(2)::before { background: var(--rose); }
.step:nth-child(3)::before { background: var(--taupe); opacity: 0.5; }
.step:nth-child(4)::before { background: var(--olive); opacity: 0.6; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.center-cta { display: flex; justify-content: center; margin-top: var(--space-xl); }

/* ==========================================================================
   07 Espacios
   ========================================================================== */
.bento { display: grid; gap: var(--gutter); }
.bento__item {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--ivory-deep);
  cursor: zoom-in;
  aspect-ratio: 4 / 3;
  text-align: left;
  color: var(--cream);
}
.bento__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease); }
.bento__item:hover img { transform: scale(1.04); }
.bento__item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(48, 47, 42, 0.62), rgba(48, 47, 42, 0) 55%);
}
.bento__caption { position: absolute; left: 1.25rem; right: 1.25rem; bottom: 1.1rem; z-index: 1; }
.bento__caption span { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.85; }
.bento__caption strong { display: block; font-family: var(--font-serif); font-weight: 400; font-size: 1.5rem; line-height: 1.2; }
.bento__zoom {
  position: absolute; top: 14px; right: 14px; z-index: 1;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255, 252, 248, 0.88);
  color: var(--olive-deep);
  display: grid; place-items: center;
  opacity: 0;
  transition: opacity var(--t-card);
}
.bento__item:hover .bento__zoom, .bento__item:focus-visible .bento__zoom { opacity: 1; }
@media (min-width: 768px) {
  .bento { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 220px; }
  .bento__item { aspect-ratio: auto; height: 100%; }
  .bento__item:nth-child(1) { grid-column: span 4; grid-row: span 2; }
  .bento__item:nth-child(2) { grid-column: span 2; grid-row: span 2; }
  .bento__item:nth-child(3) { grid-column: span 3; }
  .bento__item:nth-child(4) { grid-column: span 3; }
}
.disclaimer { margin-top: var(--space-lg); }

/* Lightbox */
.lightbox {
  width: min(1100px, calc(100% - 2rem));
  max-height: calc(100vh - 2rem);
  padding: 0;
  border: 1px solid rgba(164, 141, 120, 0.25);
  border-radius: var(--r-xl);
  background: var(--cream);
  box-shadow: var(--shadow-3);
  overflow: hidden;
}
.lightbox::backdrop { background: rgba(48, 47, 42, 0.55); }
.lightbox[open] { animation: panel-in var(--t-card) var(--ease); }
.lightbox figure { margin: 0; }
.lightbox img { width: 100%; max-height: 72vh; object-fit: contain; background: var(--ink); }
.lightbox figcaption { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.25rem; flex-wrap: wrap; }
.lightbox figcaption strong { font-family: var(--font-serif); font-weight: 400; font-size: 1.35rem; display: block; }
.lightbox__controls { display: flex; gap: 0.5rem; }
.icon-btn {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--cream);
  color: var(--olive-deep);
  cursor: pointer;
  transition: background-color var(--t-btn);
}
.icon-btn:hover { background: var(--ivory); }

/* ==========================================================================
   08 Planes
   ========================================================================== */
.plans-head { display: flex; flex-direction: column; align-items: center; gap: var(--space-lg); margin-bottom: var(--space-xl); }
.plans-grid { display: grid; gap: var(--gutter); align-items: stretch; }
.plans-grid[hidden] { display: none; }
@media (min-width: 640px) { .plans-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .plans-grid--4 { grid-template-columns: repeat(4, 1fr); } .plans-grid--3 { grid-template-columns: repeat(3, 1fr); } }

.plan { display: flex; flex-direction: column; gap: 1rem; position: relative; border: 1px solid transparent; }
.plan--featured { background: var(--olive); color: var(--cream); box-shadow: var(--shadow-2); }
.plan--featured h3, .plan--featured .plan__price { color: var(--cream); }
.plan--featured .plan__desc, .plan--featured .plan__list li { color: rgba(255, 252, 248, 0.82); }
.plan--featured .plan__list .icon { color: var(--sage); }
.plan--featured .plan__kicker { color: var(--sage); }
.plan__flag {
  position: absolute;
  top: -12px; right: 20px;
  padding: 0.3rem 0.8rem;
  border-radius: var(--r-full);
  background: var(--rose);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.plan__kicker { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--taupe-text); }
.plan h3 { font-size: 1.6rem; font-weight: 500; }
.plan__desc { font-size: 14px; color: var(--ink-soft); }
.plan__price { font-family: var(--font-serif); font-size: 2.75rem; line-height: 1; color: var(--ink); }
.plan__price small { font-family: var(--font-sans); font-size: 13px; font-weight: 500; opacity: 0.75; }
.plan__price--text { font-size: 1.6rem; font-style: italic; }
.plan__list { display: grid; gap: 0.55rem; flex: 1; }
.plan__list li { display: flex; gap: 0.55rem; font-size: 14px; color: var(--ink-soft); }
.plan__list .icon { width: 17px; height: 17px; color: var(--olive); margin-top: 3px; }
.plan .btn { margin-top: 0.5rem; }

.conditions {
  margin-top: var(--space-xl);
  display: grid;
  gap: var(--space-md);
  padding: clamp(1.25rem, 3vw, 2rem);
  border-radius: var(--r-lg);
  background: var(--ivory);
  border: 1px solid var(--line);
}
.conditions h3 { font-size: 1.25rem; font-weight: 600; }
.conditions ul { display: grid; gap: 0.6rem 2rem; }
.conditions li { display: flex; justify-content: space-between; gap: 1rem; font-size: 14px; border-bottom: 1px dashed var(--line); padding-bottom: 0.5rem; }
.conditions li span:last-child { color: var(--taupe-text); font-style: italic; text-align: right; }
@media (min-width: 768px) { .conditions ul { grid-template-columns: repeat(2, 1fr); } }

/* ==========================================================================
   09 Equipo · 10 Comunidad
   ========================================================================== */
.team-grid { display: grid; gap: var(--gutter); }
@media (min-width: 640px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .team-grid { grid-template-columns: repeat(4, 1fr); } }
.team-card { text-align: left; }
.team-card__photo {
  aspect-ratio: 4 / 5;
  border-radius: var(--r-lg);
  margin-bottom: 1rem;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, var(--ivory) 0%, var(--ivory-deep) 100%);
  border: 1px dashed var(--line-strong);
  color: var(--taupe);
}
.team-card__photo .icon { width: 48px; height: 48px; stroke-width: 1; }
.team-card h3 { font-size: 1.3rem; font-weight: 500; }
.team-card p { font-size: 13px; color: var(--ink-soft); }

.community { display: grid; gap: var(--space-xl); align-items: center; }
@media (min-width: 1024px) { .community { grid-template-columns: 1fr 1.15fr; } }
.topics { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: var(--space-lg) 0 var(--space-xl); }

/* ==========================================================================
   11 Testimonios
   ========================================================================== */
.testimonials { position: relative; }
.testimonial { max-width: 760px; margin-inline: auto; text-align: center; }
.testimonial blockquote { margin: 0 0 1.25rem; font-family: var(--font-serif); font-size: clamp(1.4rem, 1.2vw + 1rem, 1.9rem); line-height: 1.4; font-style: italic; }
.carousel-controls { display: flex; justify-content: center; gap: 0.5rem; margin-top: var(--space-lg); }

/* ==========================================================================
   12 Diario
   ========================================================================== */
.articles { display: grid; gap: var(--gutter); }
@media (min-width: 768px) { .articles { grid-template-columns: repeat(3, 1fr); } }
.article { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.article__img { aspect-ratio: 3 / 2; overflow: hidden; background: var(--ivory-deep); }
.article__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease); }
.article:hover .article__img img { transform: scale(1.04); }
.article__body { padding: 1.25rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: 0.7rem; flex: 1; }
.article__meta { display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; font-size: 12px; color: var(--ink-soft); }
.article h3 { font-size: 1.45rem; font-weight: 500; line-height: 1.25; }
.article p { font-size: 14px; color: var(--ink-soft); }
.article__foot { margin-top: auto; padding-top: 0.5rem; font-size: 12.5px; color: var(--taupe-text); font-style: italic; }

/* ==========================================================================
   13 FAQ
   ========================================================================== */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 0.6rem; }
.faq__item { background: var(--cream); border-radius: var(--r); box-shadow: var(--shadow-1); overflow: hidden; }
.faq__item h3 { font-family: var(--font-sans); font-size: 1rem; font-weight: 600; }
.faq__btn {
  width: 100%;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border: 0;
  background: transparent;
  text-align: left;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  color: var(--ink);
}
.faq__btn:hover { color: var(--olive-deep); }
.faq__btn .icon-wrap {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ivory);
  color: var(--olive);
  transition: transform var(--t-card) var(--ease), background-color var(--t-card);
  flex-shrink: 0;
}
.faq__btn[aria-expanded="true"] .icon-wrap { transform: rotate(45deg); background: var(--sage); }
.faq__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--t-card) var(--ease); }
.faq__panel > div { overflow: hidden; }
.faq__panel p { padding: 0 1.25rem 1.25rem; color: var(--ink-soft); font-size: 15px; }
.faq__item.is-open .faq__panel { grid-template-rows: 1fr; }

/* ==========================================================================
   14 Contacto
   ========================================================================== */
.contact { display: grid; gap: var(--space-xl); }
@media (min-width: 1024px) { .contact { grid-template-columns: 0.9fr 1.1fr; gap: clamp(2.5rem, 5vw, 5rem); align-items: start; } }
.contact-info { display: grid; gap: 0.75rem; margin-top: var(--space-xl); }
.contact-info__item { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 1.1rem; border-radius: var(--r); background: var(--cream); box-shadow: var(--shadow-1); }
.contact-info__item h3 { font-family: var(--font-sans); font-size: 14px; font-weight: 600; }
.contact-info__item p { font-size: 14px; color: var(--ink-soft); }
.contact-info__item .is-pending { color: var(--taupe-text); font-style: italic; }

.form-card { background: var(--cream); border-radius: var(--r-xl); box-shadow: var(--shadow-2); border: 1px solid rgba(164, 141, 120, 0.2); padding: clamp(1.25rem, 3.5vw, 2.5rem); }
.form-card h3 { margin-bottom: 0.35rem; }
.form-card > p { margin-bottom: var(--space-lg); }
.form-grid { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } }
.form-divider { height: 1px; background: var(--line); margin: 0.25rem 0; }
.booking-external[hidden] { display: none; }

/* ==========================================================================
   15 Footer
   ========================================================================== */
.site-footer { background: var(--olive-deep); color: rgba(255, 252, 248, 0.78); padding-top: clamp(3.5rem, 7vw, 6rem); scroll-margin-top: var(--header-h); }
.site-footer a { color: rgba(255, 252, 248, 0.86); text-decoration: none; }
.site-footer a:hover { color: var(--cream); text-decoration: underline; text-underline-offset: 4px; }
.footer-grid { display: grid; gap: var(--space-xl); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr repeat(3, 1fr); } }
.footer-brand .brand { color: var(--cream); }
.footer-brand .brand__mark { color: var(--cream); width: 90px; height: 40px; }
.footer-brand .brand__mark .leaf { fill: var(--sage); }
.footer-brand .brand__sub { color: rgba(255, 252, 248, 0.7); border-color: rgba(255, 252, 248, 0.25); }
.footer-brand p { margin-top: 1.25rem; font-size: 14px; max-width: 22rem; }
.footer-col h3 { font-family: var(--font-sans); font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sage); margin-bottom: 1rem; }
.footer-col ul { display: grid; gap: 0.2rem; }
.footer-col li { font-size: 14px; }
.footer-col li a, .footer-col li button { display: inline-flex; align-items: center; min-height: 36px; }
.footer-col .is-pending { font-style: italic; color: rgba(255, 252, 248, 0.55); }
.footer-link-btn { background: none; border: 0; padding: 0; color: rgba(255, 252, 248, 0.86); cursor: pointer; font-size: 14px; }
.footer-link-btn:hover { color: var(--cream); text-decoration: underline; text-underline-offset: 4px; }
.footer-closing {
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-block: 2rem;
  border-top: 1px solid rgba(255, 252, 248, 0.14);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  font-size: 13px;
}
.footer-closing p:first-child { font-family: var(--font-serif); font-style: italic; font-size: 1.35rem; color: var(--cream); }

/* ==========================================================================
   Barra CTA móvil + consentimiento
   ========================================================================== */
.mobile-cta {
  position: fixed;
  left: 12px; right: 12px; bottom: 12px;
  z-index: 90;
  display: flex;
  gap: 0.5rem;
  padding: 0.5rem;
  border-radius: var(--r-full);
  background: rgba(255, 252, 248, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-3);
  border: 1px solid var(--line);
  transform: translateY(140%);
  transition: transform var(--t-card) var(--ease);
}
.mobile-cta .btn { flex: 1; min-height: 48px; padding: 0 1rem; }
.mobile-cta.is-visible { transform: none; }
body.has-mobile-cta { padding-bottom: 84px; }
@media (min-width: 768px) { .mobile-cta { display: none; } body.has-mobile-cta { padding-bottom: 0; } }

.consent {
  position: fixed;
  left: 12px; right: 12px; bottom: 12px;
  z-index: 120;
  max-width: 560px;
  padding: 1.25rem;
  border-radius: var(--r-lg);
  background: var(--cream);
  border: 1px solid rgba(164, 141, 120, 0.25);
  box-shadow: var(--shadow-3);
  animation: panel-in var(--t-card) var(--ease);
}
.consent[hidden] { display: none; }
.consent h2 { font-size: 1.35rem; font-weight: 500; margin-bottom: 0.4rem; }
.consent p { font-size: 13px; color: var(--ink-soft); margin-bottom: 1rem; }
.consent__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.consent__actions .btn { flex: 1 1 auto; }
@media (min-width: 768px) { .consent { left: 24px; bottom: 24px; } }

/* ==========================================================================
   Animaciones de entrada
   ========================================================================== */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity var(--t-reveal) var(--ease), transform var(--t-reveal) var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.hero__content > * { animation: hero-in 700ms var(--ease) both; }
.hero__content > *:nth-child(2) { animation-delay: 80ms; }
.hero__content > *:nth-child(3) { animation-delay: 160ms; }
.hero__content > *:nth-child(4) { animation-delay: 240ms; }
.hero__content > *:nth-child(5) { animation-delay: 320ms; }
.hero__media { animation: hero-in 900ms var(--ease) both 120ms; }
@keyframes hero-in { from { opacity: 0; transform: translateY(14px); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .pulse-dot::after { display: none; }
}
