/* =====================================================================
   PRIMARY PERFORMANCE · ESTILOS
   Paleta y tipografías tomadas del catálogo Fluye Suralis 2026.
   Para cambiar colores o letras, edita solo el bloque :root
   ===================================================================== */
:root {
  /* Fondos */
  --bg: #F4F3EF;            /* blanco cálido */
  --tone: #E6E5E0;          /* gris claro */
  --paper: #FFFFFF;         /* tarjetas */
  --dark: #141716;          /* negro principal */
  --charcoal: #2C322F;      /* gris carbón */
  /* Textos */
  --ink: #141716;
  --muted: #5B605D;
  --on-dark: #F4F3EF;
  --on-dark-muted: rgba(244, 243, 239, .68);
  /* Acentos (azul del logo) */
  --accent: #50ACE0;        /* azul claro: botones y detalles sobre fondo oscuro */
  --accent-hover: #74BEE8;
  --accent-press: #3A98CF;
  --accent-deep: #08749C;   /* azul profundo: etiquetas y detalles sobre fondo claro */
  --accent-deep-hover: #065F80;
  /* Líneas */
  --line: rgba(20, 23, 22, .12);
  --line-strong: rgba(20, 23, 22, .24);
  --line-light: rgba(244, 243, 239, .16);

  --display: "Oswald", "Arial Narrow", "Helvetica Neue", sans-serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --r: 10px;
  --r-sm: 6px;
  --max: 1320px;
  --pad: clamp(20px, 5vw, 64px);
  --sec: clamp(88px, 11vw, 160px);
  --ease: cubic-bezier(.22, .65, .2, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 16.5px; line-height: 1.65; font-weight: 400;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: transparent;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
section[id] { scroll-margin-top: 64px; }
::selection { background: var(--accent); color: var(--ink); }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--accent); color: var(--ink); padding: 10px 16px; border-radius: 6px; font-weight: 700; }
.skip:focus { left: 8px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: var(--sec) 0; }
.section--tone { background: var(--tone); }
.section--dark { background: var(--charcoal); color: var(--on-dark); }

/* ---------- tipografía ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 12px; margin-bottom: 22px;
  font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-deep);
}
.eyebrow span { font-family: var(--display); font-weight: 500; font-size: 15px; letter-spacing: .04em; padding-right: 12px; border-right: 1px solid currentColor; line-height: 1; }
.eyebrow--light { color: var(--accent); }
.h2 {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(38px, 5vw, 72px); line-height: 1.02; letter-spacing: .005em; max-width: 14ch;
}
.h2 em, .h3 em { font-style: normal; color: var(--accent-deep); }
.section--dark .h2 em { color: var(--accent); }
.h3 { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(24px, 2.2vw, 30px); line-height: 1.1; letter-spacing: .01em; }
.label { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.label--accent { color: var(--accent-deep); }
.label--light { color: var(--accent); }
.lead { font-size: clamp(17px, 1.3vw, 18.5px); line-height: 1.65; color: var(--muted); max-width: 560px; }
.section--dark .lead { color: var(--on-dark-muted); }
.prose p { color: var(--muted); margin-top: 16px; }
.link { font-size: 14.5px; font-weight: 700; text-decoration: none; display: inline-flex; gap: 10px; align-items: center; padding-bottom: 3px; border-bottom: 2px solid var(--accent); transition: color .3s var(--ease); }
.link:hover { color: var(--accent-deep); }
.link span { transition: transform .35s var(--ease); }
.link:hover span { transform: translateX(4px); }

.head { display: grid; grid-template-columns: 1fr auto; gap: 32px 64px; align-items: end; margin-bottom: clamp(48px, 6vw, 80px); }
.head__lead { max-width: 440px; }
.head__notes { min-width: 260px; border-top: 2px solid var(--ink); }
.head__notes li { font-size: 14px; padding: 11px 0 11px 20px; border-bottom: 1px solid var(--line); color: var(--muted); position: relative; }
.head__notes li::before { content: ""; position: absolute; left: 0; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--accent); }

/* ---------- botones (estados: normal, hover, foco, presionado) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: var(--r-sm);
  font: 700 14px/1 var(--sans); letter-spacing: .04em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  border: 1.5px solid transparent; cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn--accent { background: var(--accent); color: var(--ink); }
.btn--accent:hover { background: var(--accent-hover); box-shadow: 0 10px 24px -12px rgba(80, 172, 224, .8); }
.btn--accent:active { background: var(--accent-press); }
.btn--dark { background: var(--ink); color: var(--on-dark); }
.btn--dark:hover { background: var(--accent-deep); }
.btn--dark:active { background: var(--accent-deep-hover); }
.btn--outline { border-color: var(--line-strong); color: var(--ink); background: var(--paper); }
.btn--outline:hover { border-color: var(--ink); background: var(--ink); color: var(--on-dark); }
.btn--outline:active { background: var(--charcoal); }
.btn--ghost-light { color: var(--on-dark); border-color: rgba(244, 243, 239, .4); background: transparent; }
.btn--ghost-light:hover { border-color: var(--accent); color: var(--accent); background: rgba(80, 172, 224, .08); }
.btn--ghost-light:active { background: rgba(80, 172, 224, .16); }
.btn--light { background: var(--on-dark); color: var(--ink); }
.btn--light:hover { background: #fff; }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 12.5px; }
.ico { width: 17px; height: 17px; flex: none; }

/* ---------- fotos con respaldo ---------- */
.media { position: relative; overflow: hidden; border-radius: var(--r); background: #D2D3CF; aspect-ratio: 4 / 3; isolation: isolate; }
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), filter .8s var(--ease); }
.media.is-empty { background: linear-gradient(155deg, #DCDCD7 0%, #C7C9C4 100%); }
.media.is-empty::after {
  content: attr(data-label); position: absolute; left: 18px; bottom: 16px; right: 18px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(20, 23, 22, .42);
}
.media--dark.is-empty { background: linear-gradient(160deg, #353B38, #1C201E); }
.media--dark.is-empty::after { color: rgba(244, 243, 239, .4); }
.media--tall { aspect-ratio: 4 / 5; }
.section--dark .media { background: #3A403D; }

/* ---------- encabezado ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 60; color: var(--on-dark); transition: background .45s var(--ease), box-shadow .45s var(--ease); }
.header::before { content: ""; position: absolute; inset: 0 0 -40px; background: linear-gradient(180deg, rgba(20, 23, 22, .55), rgba(20, 23, 22, 0)); pointer-events: none; transition: opacity .45s; }
.header.is-solid { background: rgba(20, 23, 22, .94); box-shadow: 0 1px 0 rgba(255, 255, 255, .06); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); }
.header.is-solid::before { opacity: 0; }
.header__inner { position: relative; max-width: 1520px; margin: 0 auto; padding: 0 var(--pad); height: 84px; display: flex; align-items: center; gap: 32px; transition: height .4s var(--ease); }
.header.is-solid .header__inner { height: 68px; }
.brand { display: block; margin-right: auto; line-height: 0; }
.brand img { height: 40px; width: auto; transition: height .4s var(--ease); }
.header.is-solid .brand img { height: 34px; }
.nav__list { display: flex; gap: 26px; }
.nav__list a { text-decoration: none; font-size: 13px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; position: relative; padding: 6px 0; opacity: .88; transition: opacity .3s, color .3s; }
.nav__list a span { display: none; }
.nav__list a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--accent); transition: right .4s var(--ease); }
.nav__list a:hover { opacity: 1; color: #fff; }
.nav__list a:hover::after { right: 0; }
.nav__foot { display: none; }
.header__cta { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; padding: 11px 18px; border-radius: var(--r-sm); background: var(--accent); color: var(--ink); transition: background .3s; }
.header__cta:hover { background: var(--accent-hover); }
.header__cta:active { background: var(--accent-press); }
.menu-toggle { display: none; width: 44px; height: 44px; margin-right: -10px; border: 0; background: none; color: inherit; cursor: pointer; position: relative; }
.menu-toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease); }
.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 25px; }

/* ---------- A. portada ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); min-height: 100vh; min-height: 100svh; background: var(--dark); color: var(--on-dark); }
.hero__panel { display: flex; align-items: flex-end; padding: 130px var(--pad) clamp(48px, 8vh, 96px); }
.hero__content { width: 100%; max-width: 620px; margin-left: auto; }
.hero__kicker { font-size: 12.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.hero__title { margin-top: 18px; font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(48px, 5.6vw, 104px); line-height: .94; letter-spacing: .005em; color: var(--on-dark); }
.hero__lead { margin-top: 22px; font-size: clamp(17px, 1.45vw, 21px); line-height: 1.45; color: var(--on-dark); max-width: 30ch; }
.hero__services { display: flex; flex-wrap: wrap; margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(80, 172, 224, .55); font-size: 15px; color: var(--on-dark-muted); }
.hero__services li:not(:last-child)::after { content: "·"; margin: 0 10px; color: var(--accent); }
.hero__city { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 15px; font-weight: 500; color: var(--on-dark); }
.hero__city .ico { color: var(--accent); width: 18px; height: 18px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__photo { position: relative; border-left: 4px solid var(--accent); }
.hero__media { position: absolute; inset: 0; border-radius: 0; aspect-ratio: auto; }
.hero__media img { object-position: 45% 35%; transform: scale(1.05); transition: transform 2.2s var(--ease); }
.is-loaded .hero__media img { transform: scale(1); }
.hero__media.is-empty::after { left: 24px; right: auto; top: 110px; bottom: auto; }
.hero__kicker, .hero__title, .hero__lead, .hero__services, .hero__city, .hero__actions { opacity: 0; transform: translateY(18px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.hero__title { transition-delay: .08s; }
.hero__lead { transition-delay: .18s; }
.hero__services, .hero__city { transition-delay: .26s; }
.hero__actions { transition-delay: .34s; }
.is-loaded .hero__kicker, .is-loaded .hero__title, .is-loaded .hero__lead, .is-loaded .hero__services, .is-loaded .hero__city, .is-loaded .hero__actions { opacity: 1; transform: none; }

/* ---------- B. esencia ---------- */
.manifesto { font-family: var(--display); font-weight: 500; text-transform: uppercase; font-size: clamp(30px, 3.9vw, 56px); line-height: 1.12; letter-spacing: .005em; max-width: 24ch; }
.manifesto em { font-style: normal; color: var(--accent-deep); }
.essence { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(48px, 8vw, 120px); margin-top: clamp(64px, 8vw, 112px); align-items: start; }
.essence__media { position: relative; padding-bottom: 16%; }
.essence__a { width: 76%; }
.essence__b { position: absolute; right: 0; bottom: 0; width: 52%; aspect-ratio: 3 / 2; border-left: 4px solid var(--accent); box-shadow: 0 0 0 8px var(--bg); }
.essence__text { padding-top: 6%; }
.essence__title { margin-bottom: 4px; }
.audience { margin-top: 36px; padding: 24px 26px; background: var(--dark); color: var(--on-dark); border-left: 4px solid var(--accent); border-radius: var(--r-sm); }
.audience .label { color: var(--accent); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tags li { font-size: 13.5px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line-strong); }
.audience .tags li, .tags--light li { border-color: var(--line-light); color: var(--on-dark); }
.index-list { margin-top: clamp(72px, 9vw, 130px); display: grid; grid-template-columns: repeat(5, 1fr); gap: 0 20px; }
.index-list__item { padding-top: 18px; border-top: 2px solid var(--accent-deep); }
.index-list__n { font-family: var(--display); font-size: 20px; font-weight: 500; color: var(--accent-deep); }
.index-list__t { margin: 10px 0 8px; font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 21px; line-height: 1.15; }
.index-list__item p { font-size: 14.5px; color: var(--muted); line-height: 1.55; }

/* ---------- C. planes ---------- */
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.plan { position: relative; display: flex; flex-direction: column; padding: 28px 24px 24px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s; }
.plan:hover { transform: translateY(-4px); box-shadow: 0 28px 56px -36px rgba(20, 23, 22, .45); border-color: var(--accent); }
.plan--featured { background: var(--dark); color: var(--on-dark); border-color: var(--dark); }
.plan--featured::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--accent); border-radius: var(--r) var(--r) 0 0; }
.plan__head { display: flex; justify-content: space-between; align-items: center; min-height: 26px; }
.plan__tag { font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-deep); }
.plan--featured .plan__tag { color: var(--accent); }
.plan__badge { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: var(--accent); color: var(--ink); }
.plan__name { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(22px, 1.75vw, 28px); line-height: 1.05; margin: 20px 0 10px; overflow-wrap: break-word; }
.plan__desc { font-size: 14.5px; line-height: 1.55; color: var(--muted); min-height: 4.65em; }
.plan--featured .plan__desc { color: var(--on-dark-muted); }
.plan__from { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); font-family: var(--display); font-weight: 700; font-size: 44px; line-height: 1; display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 8px; }
.plan--featured .plan__from { border-color: var(--line-light); }
.plan__from span { width: 100%; font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.plan__from small { font-family: var(--sans); font-weight: 400; font-size: 13px; color: var(--muted); }
.plan--featured .plan__from span, .plan--featured .plan__from small { color: var(--on-dark-muted); }
.plan__table { margin-top: 18px; }
.plan__table li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; font-size: 14px; border-bottom: 1px solid var(--line); }
.plan--featured .plan__table li { border-color: var(--line-light); }
.plan__table li:last-child { border-bottom: 0; }
.plan__table span { color: var(--muted); }
.plan--featured .plan__table span { color: var(--on-dark-muted); }
.plan__table strong { font-weight: 700; font-variant-numeric: tabular-nums; }
.plan__inc { margin-top: 16px; display: grid; gap: 6px; }
.plan__inc li { font-size: 13px; line-height: 1.45; color: var(--muted); padding-left: 16px; position: relative; }
.plan__inc li::before { content: ""; position: absolute; left: 0; top: .5em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.plan--featured .plan__inc li { color: var(--on-dark-muted); }
.plan__cta { margin-top: auto; padding-top: 24px; }
.plan__cta .btn { width: 100%; white-space: normal; text-align: center; padding: 0 14px; }
.rail-hint { display: none; }

/* ---------- D. kinesiología ---------- */
.kine { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(48px, 8vw, 120px); align-items: start; }
.kine__media { position: sticky; top: 100px; }
.kine__media .media { aspect-ratio: 4 / 5.2; border-left: 4px solid var(--accent); }
.kine__body .lead { margin-top: 24px; }
.kine__body .tags { margin-top: 22px; }
.kine__list { margin-top: 40px; border-top: 1px solid var(--line-light); }
.kine__list li { display: grid; grid-template-columns: 52px 1fr; gap: 12px; padding: 20px 0; border-bottom: 1px solid var(--line-light); }
.kine__n { font-family: var(--display); font-weight: 500; font-size: 20px; color: var(--accent); line-height: 1.3; }
.kine__list h3 { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 22px; line-height: 1.2; }
.kine__list p { font-size: 15px; color: var(--on-dark-muted); margin-top: 4px; }
.kine__price { margin: 36px 0 30px; padding: 22px 24px; display: grid; gap: 8px; background: var(--dark); border-left: 4px solid var(--accent); border-radius: var(--r-sm); }
.kine__value { display: block; font-family: var(--display); font-weight: 700; font-size: 56px; line-height: 1; }
.kine__label { display: block; font-size: 14px; color: var(--on-dark-muted); margin-top: 8px; }
.kine__small { font-size: 12.5px; color: rgba(244, 243, 239, .5); }
.promo { justify-self: start; font-size: 13px; font-weight: 700; padding: 7px 14px; border-radius: 999px; background: var(--accent); color: var(--ink); }

/* ---------- E. servicios ---------- */
.services { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 44px 18px; }
.service { grid-column: span 2; display: flex; flex-direction: column; }
.service:nth-child(5n+1), .service:nth-child(5n+2) { grid-column: span 3; }
.service__media { aspect-ratio: 4 / 5; }
.service:nth-child(5n+1) .service__media, .service:nth-child(5n+2) .service__media { aspect-ratio: 5 / 4; }
.service:hover .service__media img { transform: scale(1.035); }
.service__body { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding-top: 20px; }
.service__name { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(22px, 1.9vw, 27px); line-height: 1.1; }
.service__desc { margin-top: 6px; font-size: 15px; color: var(--muted); max-width: 420px; }
.service__prices { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 14px 0 20px; width: 100%; padding-top: 12px; border-top: 1px solid var(--line); }
.service__prices li { font-size: 14px; display: flex; gap: 8px; }
.service__prices span { color: var(--muted); }
.service__prices strong { font-weight: 700; font-variant-numeric: tabular-nums; }
.service .btn { margin-top: auto; }

.gift { margin-top: clamp(64px, 8vw, 112px); display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--r); overflow: hidden; background: var(--dark); color: var(--on-dark); }
.gift__body { padding: clamp(36px, 5vw, 72px); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; border-left: 4px solid var(--accent); }
.gift__title { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(40px, 4.4vw, 64px); line-height: 1; margin: 14px 0; }
.gift__desc { color: var(--on-dark-muted); max-width: 420px; }
.gift__price { margin: 18px 0 28px; font-size: 14px; color: var(--on-dark-muted); }
.gift__price strong { color: var(--on-dark); font-weight: 700; }
.gift__media { border-radius: 0; aspect-ratio: auto; min-height: 360px; }

/* ---------- F. convenios ---------- */
.logos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.logo-cell { padding: 22px 22px 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); transition: border-color .4s var(--ease), transform .4s var(--ease); }
.logo-cell:hover { border-color: var(--accent); transform: translateY(-2px); }
.media--logo { aspect-ratio: 16 / 9; background: transparent; border-radius: var(--r-sm); }
.media--logo img { object-fit: contain; padding: 10% 8%; }
.media--logo.is-empty { background: var(--bg); border: 1px dashed var(--line-strong); }
.media--logo.is-empty::after { inset: 0; display: grid; place-items: center; text-align: center; color: rgba(20, 23, 22, .35); }
.logo-cell__name { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 17px; letter-spacing: .02em; }
.logo-cell__benefit { font-size: 14px; color: var(--muted); margin-top: 4px; line-height: 1.5; }
.logos__empty { grid-column: 1 / -1; padding: 48px; text-align: center; color: var(--muted); background: var(--paper); border-radius: var(--r); }
.activate { display: grid; grid-template-columns: 1.35fr 1fr; gap: 14px; margin-top: clamp(48px, 6vw, 72px); }
.activate__card { padding: clamp(28px, 4vw, 48px); border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; align-items: flex-start; }
.activate__card .label { color: var(--accent-deep); }
.activate__card .h3 { margin: 12px 0 0; }
.activate__card--dark { background: var(--charcoal); color: var(--on-dark); border-color: var(--charcoal); }
.activate__card--dark .label { color: var(--accent); }
.activate__text { color: var(--on-dark-muted); margin: 14px 0 30px; max-width: 420px; }
.activate__card--dark .btn { margin-top: auto; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 28px 0 32px; width: 100%; }
.steps li { padding-top: 16px; border-top: 2px solid var(--accent-deep); }
.steps span { font-family: var(--display); font-weight: 700; font-size: 30px; line-height: 1; display: block; margin-bottom: 10px; color: var(--accent-deep); }
.steps p { font-size: 14.5px; color: var(--muted); line-height: 1.55; }

/* ---------- G. equipo ---------- */
.team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px 18px; }
.member { display: flex; flex-direction: column; }
.member__photo { aspect-ratio: 3 / 4; }
.member__photo img { filter: grayscale(1) contrast(1.04); }
.member__photo.is-empty { background: linear-gradient(160deg, #2C322F, #141716); }
.member__photo.is-empty::after { content: attr(data-initials); inset: 0; display: grid; place-items: center; font-family: var(--display); font-weight: 500; font-size: clamp(56px, 6vw, 84px); letter-spacing: .04em; color: var(--accent); }
.member:hover .member__photo img { filter: grayscale(0); transform: scale(1.02); }
.member__body { flex: 1; padding: 20px 20px 22px; margin-top: -12px; position: relative; background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: 0 0 var(--r) var(--r); }
.member__name { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(22px, 1.9vw, 26px); line-height: 1.1; }
.member__role { order: 0; font-size: 12.5px; font-weight: 700; letter-spacing: .02em; color: var(--accent-deep); margin-bottom: 8px; }
.member__spec { font-size: 14px; color: var(--ink); margin-top: 6px; line-height: 1.45; }
.member__desc { font-size: 14px; color: var(--muted); margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); line-height: 1.55; }

/* ---------- H. comunidad ---------- */
.event { margin-bottom: 36px; padding: 28px 32px; background: var(--dark); color: var(--on-dark); border-left: 4px solid var(--accent); border-radius: var(--r-sm); display: grid; grid-template-columns: auto 1fr auto; gap: 8px 32px; align-items: center; }
.event .label { color: var(--accent); grid-row: span 2; }
.event__title { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.1; }
.event__quote { color: var(--on-dark-muted); grid-column: 2; }
.event__date { grid-column: 3; grid-row: 1 / span 2; font-size: 14px; font-weight: 500; text-align: right; color: var(--on-dark); }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.gallery__item { margin: 0; }
.gallery__item .media { aspect-ratio: 4 / 3; }
.gallery__item:only-child .media { aspect-ratio: 21 / 9; }
.gallery__item:first-child:nth-last-child(n+4) { grid-column: span 2; grid-row: span 2; }
.gallery__item:first-child:nth-last-child(n+4) .media { aspect-ratio: auto; height: calc(100% - 32px); min-height: 300px; }
.gallery__item:hover .media img { transform: scale(1.035); }
.gallery__item figcaption { margin-top: 10px; font-size: 13px; color: var(--muted); }
.gallery__more { margin-top: 40px; }

/* ---------- I. medios de pago ---------- */
.band { background: var(--dark); color: var(--on-dark); }
.band__inner { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: center; padding-top: 36px; padding-bottom: 36px; }
.band__title { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 26px; line-height: 1.1; }
.band__title::before { content: ""; display: block; width: 32px; height: 3px; background: var(--accent); margin-bottom: 12px; }
.band__list { display: flex; flex-wrap: wrap; gap: 10px; }
.band__list li { font-size: 14px; padding: 8px 16px; border: 1px solid var(--line-light); border-radius: 999px; }

/* ---------- J. contacto ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(48px, 7vw, 112px); align-items: start; }
.address { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(36px, 4.4vw, 64px); line-height: 1.02; }
.address span, .address em { display: block; }
.address em { font-style: normal; color: var(--accent-deep); }
.contact__info .lead { margin-top: 24px; }
.info { margin: 36px 0 32px; border-top: 2px solid var(--ink); }
.info > div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.info dt { font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-deep); padding-top: 4px; }
.info dd { font-size: 16px; line-height: 1.6; }
.info dd span { color: var(--muted); margin-right: 8px; }
.info dd a { text-decoration: none; background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 2px no-repeat; transition: background-size .4s var(--ease); }
.info dd a:hover { background-size: 100% 2px; }
.map { border-radius: var(--r); overflow: hidden; background: #D2D3CF; aspect-ratio: 4 / 4.2; border-left: 4px solid var(--accent); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(1) contrast(1.05); }
.contact__map .link { margin-top: 18px; }

/* ---------- pie ---------- */
.footer { background: var(--dark); color: var(--on-dark-muted); padding: clamp(64px, 8vw, 104px) 0 32px; border-top: 4px solid var(--accent); }
.footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px; }
.footer__logo { height: clamp(52px, 6vw, 76px); width: auto; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin: 56px 0 40px; padding-top: 32px; border-top: 1px solid var(--line-light); font-size: 14.5px; }
.footer__cols .label { color: var(--accent); margin-bottom: 8px; }
.footer__cols a { text-decoration: none; color: var(--on-dark); }
.footer__cols a:hover { color: var(--accent); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; padding-top: 20px; border-top: 1px solid var(--line-light); }
.footer__bottom a { text-decoration: none; }
.footer__bottom a:hover { color: var(--accent); }

/* ---------- WhatsApp flotante / barra móvil ---------- */
.wa-float { position: fixed; right: 24px; bottom: 24px; z-index: 50; width: 58px; height: 58px; border-radius: 50%; background: var(--accent); color: var(--ink); display: grid; place-items: center; box-shadow: 0 16px 36px -14px rgba(0, 0, 0, .5); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .5s var(--ease), transform .5s var(--ease), background .3s; }
.is-past-hero .wa-float { opacity: 1; transform: none; pointer-events: auto; }
.wa-float:hover { background: var(--accent-hover); transform: scale(1.05); }
.wa-float:active { background: var(--accent-press); }
.wa-float svg { width: 26px; height: 26px; }
.mobile-bar { display: none; }

/* ---------- animaciones discretas ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .hero__kicker, .hero__title, .hero__lead, .hero__services, .hero__city, .hero__actions { opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1240px) {
  .nav__list { gap: 18px; }
  .nav__list a { font-size: 12px; }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan__desc { min-height: 0; }
  .index-list { grid-template-columns: repeat(3, 1fr); gap: 32px 20px; }
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---- tablet y menú móvil ---- */
@media (max-width: 1080px) {
  .menu-toggle { display: block; z-index: 2; }
  .header__cta { display: none; }
  .nav {
    position: fixed; inset: 0; z-index: 1; background: var(--dark); color: var(--on-dark);
    display: flex; flex-direction: column; justify-content: space-between;
    padding: 96px var(--pad) calc(28px + env(safe-area-inset-bottom));
    opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s; overflow-y: auto;
  }
  .nav__list { flex-direction: column; gap: 0; border-top: 1px solid var(--line-light); }
  .nav__list li { border-bottom: 1px solid var(--line-light); }
  .nav__list a { display: flex; align-items: baseline; gap: 16px; padding: 13px 0; font-family: var(--display); font-size: clamp(26px, 6.4vw, 38px); font-weight: 700; letter-spacing: .01em; line-height: 1.1; opacity: 1; transform: translateY(12px); transition: transform .5s var(--ease), color .3s; }
  .nav__list a:hover, .nav__list a:active { color: var(--accent); }
  .nav__list a span { display: inline; font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--accent); width: 22px; }
  .nav__list a::after { display: none; }
  .nav__foot { display: grid; gap: 14px; margin-top: 28px; }
  .nav__foot .btn { width: 100%; }
  .nav__meta { font-size: 13px; color: var(--on-dark-muted); text-align: center; }
  .menu-open { overflow: hidden; }
  .menu-open .nav { opacity: 1; visibility: visible; }
  .menu-open .nav__list a { transform: none; }
  .menu-open .header { background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .menu-open .header::before { opacity: 0; }
  .menu-open .brand { position: relative; z-index: 2; }
  .menu-open .menu-toggle span:first-child { top: 21px; transform: rotate(45deg); }
  .menu-open .menu-toggle span:last-child { top: 21px; transform: rotate(-45deg); }

  .essence { grid-template-columns: 1fr; }
  .essence__text { padding-top: 0; }
  .kine { grid-template-columns: 1fr; }
  .kine__media { position: static; }
  .kine__media .media { aspect-ratio: 4 / 3; }
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service, .service:nth-child(5n+1), .service:nth-child(5n+2) { grid-column: span 1; }
  .service:nth-child(5n+1) .service__media, .service:nth-child(5n+2) .service__media { aspect-ratio: 4 / 5; }
  .gift { grid-template-columns: minmax(0, 1fr); }
  .gift__media { min-height: 280px; order: -1; }
  .gift__body { border-left: 0; border-top: 4px solid var(--accent); }
  .logos { grid-template-columns: repeat(2, 1fr); }
  .activate { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .map { aspect-ratio: 4 / 3; }
  .band__inner { grid-template-columns: 1fr; gap: 18px; }
  .head { grid-template-columns: 1fr; }
  .event { grid-template-columns: 1fr; }
  .event .label, .event__quote, .event__date { grid-column: auto; grid-row: auto; text-align: left; }
  .footer__cols { grid-template-columns: 1fr; gap: 20px; }
}

/* ---- portada apilada (tablet vertical y celular) ---- */
@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto; min-height: 0; }
  .hero__photo { order: -1; height: 58svh; min-height: 340px; max-height: 620px; border-left: 0; border-bottom: 4px solid var(--accent); }
  .hero__media img { object-position: 45% 30%; }
  .hero__panel { padding: 40px var(--pad) 48px; }
  .hero__content { margin-left: 0; max-width: 600px; }
}

/* ---- celulares (iPhone y Android) ---- */
@media (max-width: 680px) {
  body { font-size: 16px; }
  .section { padding: 80px 0; }
  .header__inner, .header.is-solid .header__inner { height: 62px; }
  .brand img, .header.is-solid .brand img { height: 30px; }

  .hero__photo { height: 50svh; min-height: 300px; }
  .hero__panel { padding: 32px var(--pad) 40px; }
  .hero__kicker { font-size: 11.5px; }
  .hero__title { margin-top: 12px; font-size: clamp(36px, 11.2vw, 60px); line-height: .95; }
  .hero__lead { margin-top: 14px; font-size: 17px; }
  .hero__services { margin-top: 20px; padding-top: 16px; font-size: 14px; row-gap: 2px; }
  .hero__services li:not(:last-child)::after { margin: 0 7px; }
  .hero__actions { flex-direction: column; margin-top: 28px; }
  .hero__actions .btn { width: 100%; }

  .h2 { font-size: clamp(34px, 10vw, 46px); }
  .head { margin-bottom: 40px; gap: 24px; }
  .head__notes { min-width: 0; }
  .manifesto { font-size: clamp(26px, 7.6vw, 34px); }
  .essence { margin-top: 48px; gap: 36px; }
  .essence__media { padding-bottom: 20%; }
  .essence__a { width: 78%; }
  .essence__b { width: 56%; box-shadow: 0 0 0 6px var(--bg); }
  .audience { padding: 20px; }
  .index-list { grid-template-columns: 1fr; gap: 24px; margin-top: 56px; }
  .index-list__item { display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; }
  .index-list__n { grid-row: span 2; }
  .index-list__t { margin-top: 0; font-size: 20px; }

  /* carruseles deslizables */
  .rail {
    display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 84%;
    gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    margin: 0 calc(var(--pad) * -1); padding: 4px var(--pad) 10px; scroll-padding: 0 var(--pad);
    scrollbar-width: none;
  }
  .rail::-webkit-scrollbar { display: none; }
  .rail > * { scroll-snap-align: start; }
  .rail .reveal { opacity: 1; transform: none; }
  .rail-hint { display: block; margin-top: 16px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-deep); }
  .services.rail { grid-auto-columns: 80%; gap: 14px; }
  .team.rail { grid-auto-columns: 74%; gap: 12px; }
  .service, .service:nth-child(5n+1), .service:nth-child(5n+2) { grid-column: auto; }
  .plan { padding: 26px 20px 20px; }
  .plan:hover, .service:hover, .logo-cell:hover { transform: none; box-shadow: none; }
  .plan__from { font-size: 40px; }

  .kine__list li { grid-template-columns: 40px 1fr; }
  .kine__list h3 { font-size: 20px; }
  .kine__value { font-size: 48px; }
  .kine__body > .btn { width: 100%; }

  .gift__body { padding: 30px 22px 34px; }
  .gift__body .btn { width: 100%; }
  .gift__media { min-height: 220px; }

  .logos { gap: 10px; }
  .logo-cell { padding: 14px 14px 16px; }
  .logo-cell__name { font-size: 15px; }
  .logo-cell__benefit { font-size: 13px; }
  .activate__card { padding: 26px 20px; }
  .activate__card .btn { width: 100%; white-space: normal; text-align: center; }
  .steps { grid-template-columns: 1fr; gap: 0; margin: 22px 0 26px; }
  .steps li { display: grid; grid-template-columns: 44px 1fr; padding: 14px 0; border-top-width: 1px; border-color: var(--line-strong); }
  .steps span { font-size: 24px; margin: 0; }

  .event { padding: 22px 20px; margin-bottom: 28px; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
  .gallery__item:only-child, .gallery__item:first-child:nth-last-child(n+4) { grid-column: 1 / -1; grid-row: auto; }
  .gallery__item:only-child .media, .gallery__item:first-child:nth-last-child(n+4) .media { aspect-ratio: 4 / 3; height: auto; min-height: 0; }
  .gallery__item figcaption { font-size: 12px; margin-top: 8px; }

  .band__list li { font-size: 13.5px; }
  .address { font-size: clamp(30px, 9vw, 42px); }
  .info > div { grid-template-columns: 1fr; gap: 2px; }
  .contact__info > .btn { width: 100%; }

  .footer { padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
  .footer__top .btn { width: 100%; }
  .footer__cols { margin: 40px 0 28px; }

  /* barra inferior fija con WhatsApp */
  .wa-float { display: none; }
  .mobile-bar {
    display: grid; grid-template-columns: auto 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(20, 23, 22, .94); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px);
    border-top: 1px solid rgba(255, 255, 255, .08);
    transform: translateY(110%); transition: transform .5s var(--ease);
  }
  .is-past-hero .mobile-bar { transform: none; }
  .menu-open .mobile-bar { transform: translateY(110%); }
  .mobile-bar a { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: var(--r-sm); font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; transition: background .3s, color .3s, border-color .3s; }
  .mobile-bar__plans { padding: 0 18px; color: var(--on-dark); border: 1.5px solid rgba(244, 243, 239, .3); }
  .mobile-bar__plans:active { border-color: var(--accent); color: var(--accent); }
  .mobile-bar__wa { background: var(--accent); color: var(--ink); }
  .mobile-bar__wa:active { background: var(--accent-press); }
}

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