/* ==========================================================================
   MAJE · Terapias Energéticas — Sistema de diseño v2
   Capas: fuentes → tokens → base → layout → componentes → secciones → utilidades
   Mobile first: los estilos base son para móvil; los @media (min-width) amplían.
   ========================================================================== */

/* ---------- Fuentes (autoalojadas) ---------- */
@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/playfair.woff2") format("woff2");
  font-weight: 400 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/playfair-italic.woff2") format("woff2");
  font-weight: 400 700; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope.woff2") format("woff2");
  font-weight: 400 800; font-style: normal; font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  /* Marca: azul exacto del logotipo (#00487C) y su escala */
  --navy: #00487C;
  --navy-600: #0B5C97;
  --navy-700: #003E6B;
  --navy-800: #00345A;
  --navy-900: #002A4A;
  --navy-950: #001D35;
  --sky: #7FA9CF;
  --navy-200: #BED2E5;
  --navy-100: #DFEAF4;
  --navy-50: #EFF5FA;
  --gold: #D4A548;
  --gold-soft: #EBD198;
  --gold-deep: #85621B;
  --white: #FFFFFF;
  --paper: #F4F7FA;
  --ink: #0E1C2B;
  --ink-2: #3D4E62;
  --ink-3: #56667A;
  --line: #E0E7EE;
  --line-dark: rgba(255, 255, 255, .16);
  --wa: #15803D;

  /* Tipografía */
  --f-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --f-sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --fs-xs: .75rem;
  --fs-sm: .875rem;
  --fs-base: 1rem;
  --fs-lg: clamp(1.03rem, .98rem + .25vw, 1.15rem);
  --fs-h4: clamp(1.1rem, 1.05rem + .25vw, 1.25rem);
  --fs-h3: clamp(1.25rem, 1.12rem + .55vw, 1.6rem);
  --fs-h2: clamp(1.8rem, 1.38rem + 1.9vw, 2.95rem);
  --fs-h1: clamp(2.3rem, 1.55rem + 3.3vw, 4.35rem);

  /* Espaciado y layout */
  --container: 1200px;
  --gutter: clamp(18px, 4vw, 48px);
  --section: clamp(52px, 3.6vw + 36px, 100px);
  --head-gap: clamp(26px, 2.6vw, 44px);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;

  /* Movimiento */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --t-fast: .2s;
  --t: .35s;
  --t-slow: .75s;

  --shadow-sm: 0 1px 2px rgba(0, 42, 74, .06), 0 4px 14px rgba(0, 42, 74, .05);
  --shadow: 0 14px 34px -16px rgba(0, 42, 74, .28);
  --shadow-lg: 0 30px 60px -28px rgba(0, 42, 74, .45);

  --header-h: 64px;
}
@media (min-width: 1000px) { :root { --header-h: 78px; --fs-base: 1.0625rem; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--f-sans);
  font-size: var(--fs-base);
  font-weight: 450;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-variant-numeric: lining-nums;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-serif); font-weight: 500; line-height: 1.12; letter-spacing: -.012em; color: inherit; text-wrap: balance; }
h1 { font-size: var(--fs-h1); line-height: 1.06; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 700; }
h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--navy); }
.on-dark h1 em, .on-dark h2 em { color: var(--gold-soft); }
ul, ol { padding: 0; margin: 0; list-style: none; }
::selection { background: var(--navy); color: var(--white); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 1000;
  background: var(--navy); color: var(--white); padding: 12px 18px; border-radius: var(--radius-sm);
  font-weight: 700; text-decoration: none; transition: top var(--t-fast);
}
.skip-link:focus { top: 16px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(860px + var(--gutter) * 2); }
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: calc(var(--section) * .65); }
.section--paper { background: var(--paper); }
.section--mist { background: var(--navy-50); }
.section--navy { background: var(--navy); color: var(--white); }
.section--deep { background: var(--navy-900); color: var(--white); }
.on-dark { color: var(--white); }
.on-dark p, .on-dark .lead { color: rgba(255, 255, 255, .8); }

.grid-2 { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 920px) { .grid-2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .grid-2--wide-left { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); } .grid-2--wide-right { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } }

/* ---------- Tipografía de apoyo ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-sans); font-size: .75rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--navy);
  margin: 0 0 14px;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--gold); transform: rotate(45deg); flex: none; }
.on-dark .eyebrow { color: var(--gold-soft); }
.lead { font-size: var(--fs-lg); line-height: 1.6; color: var(--ink-2); max-width: 58ch; }
.section-head { max-width: 720px; margin-bottom: var(--head-gap); }
.section-head h2 + .lead, .section-head h2 + p { margin-top: 14px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lead { margin-inline: auto; }
.section-head--split { max-width: none; display: grid; gap: 14px 48px; align-items: end; }
@media (min-width: 920px) { .section-head--split { grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); } .section-head--split .lead { justify-self: end; } }

/* ---------- Botones ---------- */
.btn {
  --btn-bg: var(--navy); --btn-fg: var(--white); --btn-bd: var(--navy);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 26px;
  font-family: var(--f-sans); font-size: .9375rem; font-weight: 700; letter-spacing: .01em; line-height: 1.25;
  color: var(--btn-fg); background: var(--btn-bg); border: 1.5px solid var(--btn-bd);
  border-radius: 999px; text-decoration: none; text-align: center;
  transition: background var(--t) var(--ease), color var(--t) var(--ease), border-color var(--t) var(--ease), transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--primary:hover { --btn-bg: var(--navy-700); --btn-bd: var(--navy-700); }
.btn--gold { --btn-bg: var(--gold); --btn-fg: var(--navy-950); --btn-bd: var(--gold); }
.btn--gold:hover { --btn-bg: var(--gold-soft); --btn-bd: var(--gold-soft); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--navy); --btn-bd: rgba(0, 72, 124, .3); }
.btn--ghost:hover { --btn-bg: var(--navy); --btn-fg: var(--white); --btn-bd: var(--navy); }
.on-dark .btn--ghost, .btn--ghost-light { --btn-bg: rgba(255, 255, 255, .04); --btn-fg: var(--white); --btn-bd: rgba(255, 255, 255, .42); }
.on-dark .btn--ghost:hover, .btn--ghost-light:hover { --btn-bg: var(--white); --btn-fg: var(--navy-900); --btn-bd: var(--white); }
.btn--sm { min-height: 44px; padding: 8px 18px; font-size: .875rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
@media (max-width: 520px) { .btn-row > .btn { flex: 1 1 100%; } }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: .9375rem; color: var(--navy); text-decoration: none;
  transition: gap var(--t) var(--ease), color var(--t);
}
.link-arrow svg { width: 18px; height: 18px; }
.link-arrow:hover { gap: 13px; }
.on-dark .link-arrow { color: var(--gold-soft); }

/* ---------- Iconos ---------- */
.icon { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon--lg { width: 30px; height: 30px; stroke-width: 1.4; }
.icon-badge {
  display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; flex: none;
  background: var(--navy-50); color: var(--navy);
}
.on-dark .icon-badge { background: rgba(255, 255, 255, .08); color: var(--gold-soft); }

/* ==========================================================================
   Cabecera
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  color: var(--navy-900);
  transition: background var(--t) var(--ease), box-shadow var(--t) var(--ease), color var(--t);
}
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand img { width: auto; }
.brand__mark { height: 38px; }
.brand__text { display: grid; gap: 4px; justify-items: start; }
.brand__word { height: 18px; }
.brand__claim { font-size: .5rem; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; white-space: nowrap; line-height: 1; }
.brand .logo-light { display: none; }
@media (min-width: 1000px) { .brand__mark { height: 44px; } .brand__word { height: 21px; } .brand__claim { font-size: .5625rem; } }

.nav { display: flex; align-items: center; gap: clamp(20px, 2.4vw, 36px); }
.nav__list { display: flex; gap: clamp(18px, 2.2vw, 32px); }
.nav__link { position: relative; text-decoration: none; font-size: .9375rem; font-weight: 600; padding: 8px 0; }
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; border-radius: 2px; background: var(--gold);
  transform: scaleX(0); transform-origin: right; transition: transform var(--t) var(--ease);
}
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

.nav-toggle {
  display: none; width: 46px; height: 46px; margin-right: -8px; border: 0; background: transparent; border-radius: 50%;
  align-items: center; justify-content: center; color: inherit;
}
.nav-toggle span { position: relative; display: block; width: 22px; height: 2px; border-radius: 2px; background: currentColor; transition: background var(--t); }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 22px; height: 2px; border-radius: 2px; background: currentColor; transition: transform var(--t) var(--ease), top var(--t) var(--ease); }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }

/* Sobre héroe azul */
.has-dark-hero .site-header:not(.is-scrolled) { color: var(--white); }
.has-dark-hero .site-header:not(.is-scrolled) .logo-dark { display: none; }
.has-dark-hero .site-header:not(.is-scrolled) .logo-light { display: block; }
.has-dark-hero .site-header:not(.is-scrolled) .btn--header { --btn-bg: var(--gold); --btn-fg: var(--navy-950); --btn-bd: var(--gold); }

.site-header.is-scrolled {
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 8px 24px -18px rgba(0, 42, 74, .4);
}

@media (max-width: 999px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; justify-content: center; align-items: stretch; gap: 32px;
    padding: calc(var(--header-h) + 20px) var(--gutter) 32px;
    background: var(--navy); color: var(--white);
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity var(--t) var(--ease), transform var(--t) var(--ease), visibility var(--t);
  }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list li { border-bottom: 1px solid var(--line-dark); }
  .nav__link { display: block; font-family: var(--f-serif); font-size: clamp(1.9rem, 8vw, 2.6rem); font-weight: 500; line-height: 1.2; padding: 14px 0; }
  .nav__link::after { display: none; }
  .nav__link[aria-current="page"] { color: var(--gold-soft); }
  .nav .btn--header { --btn-bg: var(--gold); --btn-fg: var(--navy-950); --btn-bd: var(--gold); min-height: 54px; font-size: 1rem; }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav-open .site-header { color: var(--white); background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav-open .site-header .logo-dark { display: none; }
  .nav-open .site-header .logo-light { display: block; }
  .nav-open .nav-toggle span { background: transparent; }
  .nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
  .nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }
  .nav-open { overflow: hidden; }
  .nav__contact { display: grid; gap: 4px; font-size: .9375rem; color: rgba(255, 255, 255, .75); }
  .nav__contact a { text-decoration: none; color: var(--white); font-weight: 600; }
}
@media (min-width: 1000px) { .nav__contact { display: none; } }

/* ==========================================================================
   Héroe principal (home) y héroes interiores
   ========================================================================== */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--navy); color: var(--white);
  padding-top: var(--header-h);
}
.hero__media { position: relative; height: clamp(300px, 78vw, 500px); overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 30%; }
.hero__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 72, 124, 0) 45%, rgba(0, 72, 124, .7) 78%, var(--navy) 100%);
}
.hero__content { position: relative; z-index: 2; margin-top: -72px; padding-bottom: clamp(40px, 6vw, 64px); }
.hero h1 { color: var(--white); max-width: 14ch; }
.hero__lead { margin-top: 18px; font-size: var(--fs-lg); line-height: 1.6; color: rgba(255, 255, 255, .86); max-width: 50ch; }
.hero .btn-row { margin-top: 26px; }
.hero__trust {
  margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line-dark);
  display: flex; flex-wrap: wrap; gap: 10px 24px;
}
.hero__trust li { white-space: nowrap; display: flex; gap: 10px; align-items: center; font-size: .9rem; line-height: 1.35; color: rgba(255, 255, 255, .9); font-weight: 600; }
.hero__trust .icon { color: var(--gold); width: 20px; height: 20px; }
.hero__badge { display: none; }


@media (min-width: 1000px) {
  .hero { min-height: min(100svh, 820px); display: flex; align-items: center; padding-block: calc(var(--header-h) + 40px) 64px; }
  .hero__media { position: absolute; inset: 0 0 0 auto; width: 57%; height: auto; z-index: -1; }
  .hero__media img { object-position: 52% 32%; }
  .hero__media::after {
    background:
      linear-gradient(90deg, var(--navy) 0%, rgba(0, 72, 124, .82) 10%, rgba(0, 72, 124, .25) 26%, rgba(0, 72, 124, 0) 40%),
      linear-gradient(0deg, rgba(0, 42, 74, .5) 0%, rgba(0, 42, 74, 0) 30%),
      linear-gradient(180deg, rgba(0, 42, 74, .45) 0%, rgba(0, 42, 74, 0) 22%);
  }
  .hero__content { margin-top: 0; padding-bottom: 0; max-width: 560px; }
  .hero__badge {
    display: flex; position: absolute; z-index: 3; right: var(--gutter); bottom: 40px;
    gap: 14px; align-items: center; max-width: 330px; padding: 14px 20px 14px 14px; border-radius: var(--radius);
    background: rgba(255, 255, 255, .96); color: var(--ink); box-shadow: var(--shadow-lg);
  }
  .hero__badge img { width: 44px; height: auto; flex: none; }
  .hero__badge strong { display: block; font-family: var(--f-serif); font-size: 1.1rem; font-weight: 600; line-height: 1.2; color: var(--navy-900); }
  .hero__badge span { display: block; font-size: .8rem; line-height: 1.4; color: var(--ink-2); margin-top: 2px; }
}
@media (min-width: 1440px) { .hero__media { width: 58%; } }

/* Héroes de páginas interiores */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--navy); color: var(--white);
  padding: calc(var(--header-h) + clamp(24px, 4vw, 48px)) 0 clamp(36px, 5vw, 64px);
}
.page-hero h1 { font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.6rem); max-width: 16ch; }
.page-hero .lead { margin-top: 14px; color: rgba(255, 255, 255, .85); }
.page-hero .btn-row { margin-top: 24px; }
.page-hero__mark { position: absolute; z-index: -1; right: -60px; bottom: -80px; width: min(60vw, 520px); opacity: .06; pointer-events: none; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 18px; font-size: .8125rem; font-weight: 600; color: rgba(255, 255, 255, .72); }
.breadcrumbs a { text-decoration: none; color: rgba(255, 255, 255, .92); }
.breadcrumbs a:hover { text-decoration: underline; }

.page-hero--media { padding-top: var(--header-h); }
.page-hero--media .page-hero__media { position: relative; height: clamp(240px, 64vw, 420px); overflow: hidden; }
.page-hero--media .page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero--media .page-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 72, 124, 0) 40%, rgba(0, 72, 124, .75) 80%, var(--navy) 100%); }
.page-hero--media .page-hero__content { position: relative; z-index: 2; margin-top: -56px; }
@media (min-width: 1000px) {
  .page-hero--media { min-height: 560px; display: flex; align-items: center; padding-block: calc(var(--header-h) + 36px) 56px; }
  .page-hero--media .page-hero__media { position: absolute; inset: 0 0 0 auto; width: 52%; height: auto; z-index: -1; }
  .page-hero--media .page-hero__media::after {
    background:
      linear-gradient(90deg, var(--navy) 0%, rgba(0, 72, 124, .7) 12%, rgba(0, 72, 124, 0) 38%),
      linear-gradient(180deg, rgba(0, 42, 74, .45) 0%, rgba(0, 42, 74, 0) 24%);
  }
  .page-hero--media .page-hero__content { margin-top: 0; max-width: 560px; }
}

/* Cifras rápidas en héroes */
.quick-facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line-dark); }
.quick-facts div { display: grid; gap: 2px; }
.quick-facts strong { font-family: var(--f-serif); font-size: 1.6rem; font-weight: 600; line-height: 1; color: var(--white); }
.quick-facts span { font-size: .8125rem; font-weight: 600; color: rgba(255, 255, 255, .75); }

/* ==========================================================================
   Home · ¿Qué te gustaría cambiar? (problema → servicio)
   ========================================================================== */
.needs { display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); }
.need {
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center;
  padding: 14px 16px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white);
  text-decoration: none; color: var(--ink);
  transition: background var(--t) var(--ease), border-color var(--t) var(--ease), transform var(--t) var(--ease), box-shadow var(--t) var(--ease), color var(--t);
}
.need .icon-badge { width: 44px; height: 44px; transition: background var(--t), color var(--t); }
.need__title { display: block; font-family: var(--f-serif); font-size: 1.08rem; font-weight: 600; line-height: 1.25; color: var(--navy-900); transition: color var(--t); }
.need__svc { display: block; margin-top: 3px; font-size: .8125rem; font-weight: 700; color: var(--navy); letter-spacing: .01em; transition: color var(--t); }
.need__go { width: 18px; height: 18px; color: var(--navy); transition: transform var(--t) var(--ease), color var(--t); }
.need:hover { background: var(--navy); border-color: var(--navy); transform: translateY(-3px); box-shadow: var(--shadow); }
.need:hover .need__title { color: var(--white); }
.need:hover .need__svc, .need:hover .need__go { color: var(--gold-soft); }
.need:hover .icon-badge { background: rgba(255, 255, 255, .1); color: var(--gold-soft); }
.need:hover .need__go { transform: translateX(3px); }
.need--key { background: var(--navy); border-color: var(--navy); }
.need--key .need__title { color: var(--white); }
.need--key .need__svc, .need--key .need__go { color: var(--gold-soft); }
.need--key .icon-badge { background: rgba(255, 255, 255, .1); color: var(--gold-soft); }
.need--key:hover { background: var(--navy-700); }

@media (min-width: 600px) {
  .needs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}
@media (min-width: 900px) {
  .needs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .need--key { grid-column: 1 / -1; }
}
@media (min-width: 1180px) {
  .needs { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
  .need { grid-template-columns: minmax(0, 1fr); align-content: start; gap: 16px; padding: 22px 20px 20px; min-height: 196px; }
  .need .icon-badge { width: 48px; height: 48px; }
  .need__go { position: absolute; right: 18px; top: 26px; }
  .need__text { display: flex; flex-direction: column; height: 100%; }
  .need__svc { margin-top: auto; padding-top: 12px; }
  .need--key { grid-column: auto; }
}
.needs-foot { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; margin-top: 22px; padding: 18px 22px; border-radius: var(--radius); background: var(--navy-50); }
.needs-foot p { margin: 0; font-weight: 600; color: var(--ink-2); }

/* ==========================================================================
   Home · Qué es el péndulo y cómo funciona (sección azul profundo)
   ========================================================================== */
.method { background: radial-gradient(90% 70% at 15% 0%, #0B5C97 0%, rgba(11, 92, 151, 0) 60%), var(--navy-900); color: var(--white); overflow: hidden; }
.method__intro { display: grid; gap: clamp(24px, 4vw, 64px); align-items: center; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 860px) { .method__intro { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); } }

.pendulum-stage { position: relative; display: grid; place-items: center; padding-block: 6px; }
.pendulum-stage::before {
  content: ""; position: absolute; width: min(78%, 320px); aspect-ratio: 1; border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%, -42%);
  background: radial-gradient(circle, rgba(212, 165, 72, .22) 0%, rgba(212, 165, 72, 0) 65%);
}
.pendulum-figure { position: relative; margin: 0; width: min(54%, 230px); }
.pendulum-swing { transform-origin: 200px 64px; animation: swing 3.4s ease-in-out infinite alternate; }
@keyframes swing { from { transform: rotate(-8deg); } to { transform: rotate(8deg); } }
.pendulum-legend { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; width: 100%; max-width: 420px; margin-top: 18px; }
.pendulum-legend li { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line-dark); font-size: .8125rem; font-weight: 600; line-height: 1.3; color: rgba(255, 255, 255, .9); }
.pendulum-legend b { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; flex: none; background: var(--gold); color: var(--navy-950); font-size: .75rem; font-weight: 800; }

.facts { display: grid; gap: 10px; margin-top: 22px; }
.facts li { display: flex; gap: 12px; align-items: center; font-weight: 600; color: rgba(255, 255, 255, .92); line-height: 1.4; }
.facts .icon { width: 22px; height: 22px; padding: 4px; box-sizing: content-box; border-radius: 50%; background: rgba(212, 165, 72, .16); color: var(--gold); stroke-width: 2.2; }

/* Tres movimientos animados */
.moves-title { margin: clamp(40px, 5vw, 64px) 0 clamp(20px, 2.4vw, 32px); display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; }
.moves-title h3 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); }
.moves-title p { margin: 0; color: rgba(255, 255, 255, .72); font-weight: 600; font-size: .9375rem; }
.moves { position: relative; display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); counter-reset: move; }
.move {
  position: relative; display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 16px; align-items: center;
  padding: 16px; border-radius: var(--radius-lg); background: rgba(255, 255, 255, .05); border: 1px solid var(--line-dark);
}
.move__art { width: 84px; height: 84px; border-radius: 50%; background: radial-gradient(circle at 50% 40%, rgba(255, 255, 255, .14), rgba(255, 255, 255, .03)); display: grid; place-items: center; }
.move__art svg { width: 72px; height: 72px; overflow: visible; }
.move__step { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 4px; }
.move h4 { font-size: 1.35rem; color: var(--white); }
.move p { margin: 4px 0 0; font-size: .9375rem; line-height: 1.5; color: rgba(255, 255, 255, .76); }
@media (min-width: 860px) {
  .moves { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .moves::before {
    content: ""; position: absolute; top: 72px; left: 16%; right: 16%; height: 2px; z-index: 0;
    background: linear-gradient(90deg, rgba(212, 165, 72, .1), rgba(212, 165, 72, .8), rgba(212, 165, 72, .1));
    background-size: 200% 100%; animation: flow 4s linear infinite;
  }
  .move { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; padding: 26px 22px 24px; z-index: 1; background: rgba(0, 42, 74, .85); }
  .move__art { width: 96px; height: 96px; }
}
@keyframes flow { from { background-position: 200% 0; } to { background-position: 0 0; } }

/* Animación 1: detectar (ondas de radar) */
.scan-ring { fill: none; stroke: var(--sky); stroke-width: 1.4; transform-origin: 36px 44px; transform-box: view-box; animation: scan 2.8s ease-out infinite; opacity: 0; }
.scan-ring:nth-of-type(2) { animation-delay: .93s; }
.scan-ring:nth-of-type(3) { animation-delay: 1.86s; }
@keyframes scan { 0% { transform: scale(.2); opacity: .9; } 100% { transform: scale(1.35); opacity: 0; } }
.mini-swing { transform-origin: 36px 6px; transform-box: view-box; animation: miniswing 1.6s ease-in-out infinite alternate; }
@keyframes miniswing { from { transform: rotate(-14deg); } to { transform: rotate(14deg); } }
/* Animación 2: liberar (partículas que se van) */
.spark { fill: var(--gold); transform-box: view-box; transform-origin: 36px 36px; animation: release 2.6s ease-out infinite; opacity: 0; }
.spark:nth-of-type(2) { --x: 30px; --y: -22px; animation-delay: .3s; }
.spark:nth-of-type(3) { --x: -28px; --y: -24px; animation-delay: .65s; }
.spark:nth-of-type(4) { --x: 32px; --y: 18px; animation-delay: 1s; }
.spark:nth-of-type(5) { --x: -30px; --y: 20px; animation-delay: 1.35s; }
.spark:nth-of-type(6) { --x: 2px; --y: -36px; animation-delay: 1.7s; }
.spark:nth-of-type(7) { --x: 0px; --y: 34px; animation-delay: 2.05s; }
@keyframes release { 0% { transform: translate(0, 0) scale(1.2); opacity: 0; } 15% { opacity: 1; } 100% { transform: translate(var(--x, 30px), var(--y, -20px)) scale(.3); opacity: 0; } }
.core { fill: rgba(255, 255, 255, .9); transform-box: view-box; transform-origin: 36px 36px; animation: breathe 2.6s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { transform: scale(.85); } 50% { transform: scale(1.08); } }
/* Animación 3: reprogramar y sellar (círculo que se dibuja) */
.seal-draw { fill: none; stroke: var(--gold); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 176; stroke-dashoffset: 176; transform-box: view-box; transform-origin: 36px 36px; transform: rotate(-90deg); animation: draw 3.2s var(--ease) infinite; }
@keyframes draw { 0% { stroke-dashoffset: 176; } 55%, 80% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.seal-orbit { transform-box: view-box; transform-origin: 36px 36px; animation: spin 9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ==========================================================================
   Home · Ámbitos en órbita
   ========================================================================== */
.orbit { position: relative; width: 100%; max-width: 460px; aspect-ratio: 1; margin-inline: auto; }
.orbit__ring { position: absolute; border-radius: 50%; border: 1px dashed rgba(0, 72, 124, .28); }
.orbit__ring--1 { inset: 16%; animation: spin 60s linear infinite; }
.orbit__ring--2 { inset: 31%; border-style: solid; border-color: rgba(0, 72, 124, .12); }
.orbit__ring--1::after { content: ""; position: absolute; top: -5px; left: 50%; width: 9px; height: 9px; margin-left: -4.5px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px rgba(212, 165, 72, .2); }
.orbit__core {
  position: absolute; inset: 37%; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy); box-shadow: 0 18px 40px -14px rgba(0, 72, 124, .6);
}
.orbit__core img { width: 58%; height: auto; }
.orbit__core::before, .orbit__core::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(0, 72, 124, .4); animation: pulse 3.6s ease-out infinite; }
.orbit__core::after { animation-delay: 1.8s; }
@keyframes pulse { from { transform: scale(1); opacity: .9; } to { transform: scale(2.3); opacity: 0; } }
.orbit__node { position: absolute; display: grid; justify-items: center; gap: 6px; width: 120px; margin-left: -60px; margin-top: -28px; text-align: center; }
.orbit__node .icon-badge { width: 56px; height: 56px; border-radius: 50%; background: var(--white); color: var(--navy); box-shadow: var(--shadow-sm), 0 0 0 1px var(--line); }
.orbit__node strong { font-size: .875rem; font-weight: 800; color: var(--navy-900); line-height: 1.2; }
.orbit__node--n { top: 16%; left: 50%; }
.orbit__node--e { top: 50%; left: 84%; }
.orbit__node--s { top: 84%; left: 50%; }
.orbit__node--w { top: 50%; left: 16%; }
.scope-list { display: grid; gap: 10px; margin-top: 22px; }
.scope-list li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: start; }
.scope-list .icon { color: var(--gold-deep); margin-top: 2px; width: 22px; height: 22px; stroke-width: 2; }
.scope-list strong { color: var(--navy-900); }
.scope-list span { color: var(--ink-2); }

/* ==========================================================================
   Home · Así es tu sesión (carrusel en móvil)
   ========================================================================== */
.journey {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(78%, 300px); gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 14px; scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}
.journey::-webkit-scrollbar { display: none; }
.stop { scroll-snap-align: start; display: flex; flex-direction: column; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); overflow: hidden; }
.stop__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy-100); }
.stop__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.stop:hover .stop__img img { transform: scale(1.04); }
.stop__num { position: absolute; left: 12px; top: 12px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: var(--white); font-family: var(--f-serif); font-weight: 600; font-size: 1.05rem; box-shadow: 0 0 0 4px rgba(255, 255, 255, .6); }
.stop__body { padding: 16px 18px 18px; }
.stop h3 { font-size: 1.2rem; color: var(--navy-900); }
.stop p { margin: 6px 0 0; font-size: .9375rem; line-height: 1.5; color: var(--ink-2); }
.journey-hint { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-size: .8125rem; font-weight: 700; color: var(--ink-3); }
.journey-hint .icon { width: 16px; height: 16px; }
@media (min-width: 900px) {
  .journey { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; margin: 0; padding: 0; gap: 16px; }
  .journey-hint { display: none; }
}
.modes { display: grid; gap: 10px; margin-top: 18px; grid-template-columns: minmax(0, 1fr); }
.mode { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: var(--radius); background: var(--navy-50); }
.mode .icon { color: var(--navy); }
.mode strong { display: block; font-size: .9375rem; color: var(--navy-900); line-height: 1.3; }
.mode span { display: block; font-size: .8125rem; color: var(--ink-2); line-height: 1.4; }
@media (min-width: 760px) { .modes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ==========================================================================
   Home · Quién soy (confianza)
   ========================================================================== */
.about-media { position: relative; padding-bottom: 36px; padding-right: 14%; width: 100%; max-width: 540px; }
.about-media__main { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 4.2; box-shadow: var(--shadow); }
.about-media__main img { width: 100%; height: 100%; object-fit: cover; object-position: 40% center; }
.about-media__cert { position: absolute; right: 0; bottom: 0; width: 46%; border-radius: 14px; overflow: hidden; border: 5px solid var(--white); box-shadow: var(--shadow-lg); transform: rotate(2.5deg); }
.about-media__tag { position: absolute; left: 14px; top: 14px; display: inline-flex; gap: 8px; align-items: center; padding: 8px 14px 8px 10px; border-radius: 999px; background: rgba(255, 255, 255, .95); font-size: .8125rem; font-weight: 700; color: var(--navy-900); box-shadow: var(--shadow-sm); }
.about-media__tag .icon { width: 18px; height: 18px; color: var(--gold-deep); stroke-width: 2; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 24px 0; }
.stat { padding: 14px 12px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.stat strong { display: block; font-family: var(--f-serif); font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 600; line-height: 1; color: var(--navy); }
.stat span { display: block; margin-top: 6px; font-size: .75rem; font-weight: 600; line-height: 1.35; color: var(--ink-2); }
.section--paper .stat { background: var(--white); }

/* ==========================================================================
   Compromisos (banda azul)
   ========================================================================== */
.promises { display: grid; gap: 1px; grid-template-columns: repeat(2, minmax(0, 1fr)); background: var(--line-dark); border-radius: var(--radius-lg); overflow: hidden; }
.promise { padding: 18px 16px; background: var(--navy); }
.promise .icon { color: var(--gold); width: 26px; height: 26px; }
.promise h3 { margin-top: 10px; font-family: var(--f-sans); font-size: .9375rem; font-weight: 800; line-height: 1.3; color: var(--white); letter-spacing: 0; }
.promise p { margin: 4px 0 0; font-size: .8125rem; line-height: 1.45; color: rgba(255, 255, 255, .75); }
@media (min-width: 900px) { .promises { grid-template-columns: repeat(4, minmax(0, 1fr)); } .promise { padding: 24px 22px; } .promise p { font-size: .875rem; } }

/* ==========================================================================
   Tarifas
   ========================================================================== */
.prices { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 860px) { .prices { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; } }
.price {
  position: relative; display: flex; flex-direction: column; padding: 22px 22px 20px; border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid var(--line);
}
.price__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.price__tag { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); }
.price h3 { margin-top: 6px; font-size: 1.4rem; color: var(--navy-900); }
.price .price__amount { margin: 0; font-family: var(--f-serif); color: var(--navy); line-height: 1; white-space: nowrap; }
.price .price__amount strong { font-size: 2.6rem; font-weight: 600; }
.price .price__amount span { font-size: 1.3rem; margin-left: 2px; }
.price > p { margin: 12px 0 0; font-size: .9375rem; line-height: 1.5; color: var(--ink-2); }
.price ul { display: grid; gap: 6px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.price li { display: flex; gap: 8px; align-items: center; font-size: .875rem; font-weight: 600; color: var(--ink-2); }
.price li .icon { width: 18px; height: 18px; color: var(--navy); stroke-width: 2.2; }
.price--feature { background: var(--navy); border-color: var(--navy); color: var(--white); box-shadow: var(--shadow-lg); }
.price--feature h3, .price--feature .price .price__amount { color: var(--white); }
.price.price--feature .price__amount { color: var(--white); }
.price--feature .price__tag { color: var(--gold-soft); }
.price--feature > p, .price--feature li { color: rgba(255, 255, 255, .85); }
.price--feature li .icon { color: var(--gold); }
.price--feature ul { border-color: var(--line-dark); }
.price__flag { position: absolute; top: -11px; right: 20px; padding: 4px 12px; border-radius: 999px; background: var(--gold); color: var(--navy-950); font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.prices-foot { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; margin-top: 16px; padding: 16px 20px; border-radius: var(--radius); background: var(--navy-50); }
.prices-foot p { margin: 0; max-width: 60ch; font-size: .9375rem; color: var(--ink-2); }
.prices-foot strong { color: var(--navy-900); }
.pay { display: flex; flex-wrap: wrap; gap: 8px; }
.pay span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: .8125rem; font-weight: 700; color: var(--navy-900); }
.pay .icon { width: 18px; height: 18px; color: var(--navy); }

/* ==========================================================================
   Preguntas frecuentes
   ========================================================================== */
.faq { display: grid; gap: 24px 64px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 920px) { .faq { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); align-items: start; } .faq__head { position: sticky; top: calc(var(--header-h) + 24px); } }
.faq__head .lead { margin-top: 12px; }
.faq__head .btn-row { margin-top: 20px; }
.accordion { display: grid; gap: 8px; }
.accordion details { border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); transition: border-color var(--t), box-shadow var(--t); }
.accordion details[open] { border-color: var(--navy-200); box-shadow: var(--shadow-sm); }
.accordion summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 16px 18px; font-weight: 700; font-size: 1rem; line-height: 1.4; color: var(--navy-900);
}
.accordion summary::-webkit-details-marker { display: none; }
.plus { position: relative; width: 28px; height: 28px; border-radius: 50%; background: var(--navy-50); flex: none; transition: background var(--t), transform var(--t) var(--ease); }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 2px; margin: -1px 0 0 -5.5px; border-radius: 2px; background: var(--navy); transition: transform var(--t) var(--ease), background var(--t); }
.plus::after { transform: rotate(90deg); }
details[open] .plus { background: var(--navy); transform: rotate(180deg); }
details[open] .plus::before, details[open] .plus::after { background: var(--white); }
details[open] .plus::after { transform: rotate(0); }
.answer { padding: 0 18px 18px; color: var(--ink-2); font-size: .9688rem; line-height: 1.6; }

/* ==========================================================================
   CTA final con foto
   ========================================================================== */
.cta-final { position: relative; isolation: isolate; overflow: hidden; background: var(--navy); color: var(--white); }
.cta-final__media { position: relative; height: clamp(220px, 60vw, 360px); overflow: hidden; }
.cta-final__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 35%; }
.cta-final__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 72, 124, 0) 40%, var(--navy) 100%); }
.cta-final__content { position: relative; padding-block: 8px clamp(44px, 6vw, 72px); }
.cta-final h2 { max-width: 15ch; color: var(--white); }
.cta-final .lead { margin-top: 14px; color: rgba(255, 255, 255, .85); }
.cta-final .btn-row { margin-top: 24px; }
.cta-final__info { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; font-size: .875rem; font-weight: 600; color: rgba(255, 255, 255, .82); }
.cta-final__info span { display: inline-flex; gap: 8px; align-items: center; }
.cta-final__info .icon { width: 18px; height: 18px; color: var(--gold); }
@media (min-width: 1000px) {
  .cta-final { min-height: 480px; display: flex; align-items: center; }
  .cta-final__media { position: absolute; inset: 0 0 0 auto; width: 50%; height: auto; z-index: -1; }
  .cta-final__media::after { background: linear-gradient(90deg, var(--navy) 0%, rgba(0, 72, 124, .8) 12%, rgba(0, 72, 124, .3) 28%, rgba(0, 72, 124, 0) 46%); }
  .cta-final__content { padding-block: 72px; max-width: 560px; }
}

/* ==========================================================================
   Servicios · filtros y fichas
   ========================================================================== */
.filters-bar { position: sticky; top: var(--header-h); z-index: 20; margin: 0 calc(var(--gutter) * -1) 18px; padding: 10px var(--gutter); background: rgba(244, 247, 250, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.filters { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.filters::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .filters-bar { position: static; margin: 0 0 24px; padding: 0; background: none; border: 0; -webkit-backdrop-filter: none; backdrop-filter: none; } .filters { flex-wrap: wrap; overflow: visible; } }
.chip {
  flex: none; min-height: 42px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--white);
  font-size: .875rem; font-weight: 700; color: var(--navy-900); white-space: nowrap;
  transition: background var(--t), color var(--t), border-color var(--t);
}
.chip:hover { border-color: var(--navy); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }

.services { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 720px) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1120px) { .services { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.service {
  display: flex; flex-direction: column; padding: 20px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line);
  transition: box-shadow var(--t) var(--ease), border-color var(--t), transform var(--t) var(--ease);
  scroll-margin-top: calc(var(--header-h) + 76px);
}
.service:hover { box-shadow: var(--shadow); border-color: var(--navy-200); }
.service[hidden] { display: none; }
.service__head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: center; }
.service__head .icon-badge { width: 52px; height: 52px; border-radius: 16px; background: var(--navy); color: var(--gold-soft); }
.service__cat { display: block; font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 3px; }
.service h3 { font-size: 1.35rem; color: var(--navy-900); }
.service__desc { margin: 14px 0 0; font-size: .9375rem; line-height: 1.55; color: var(--ink-2); }
.service__label { margin: 16px 0 8px; font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--navy); }
.service__list { display: grid; gap: 6px; }
.service__list li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 8px; font-size: .9rem; line-height: 1.45; color: var(--ink); font-weight: 500; }
.service__list .icon { width: 18px; height: 18px; margin-top: 1px; color: var(--navy); stroke-width: 2.2; }
.service .service__note { margin: 14px 0 0; padding: 10px 12px; border-radius: 10px; background: var(--navy-50); font-size: .8125rem; line-height: 1.5; color: var(--ink-2); }
.service__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.service__list + .service__foot, .service__note + .service__foot { margin-top: 18px; }
.service__price { margin: 0; font-family: var(--f-serif); font-size: 1.35rem; font-weight: 600; color: var(--navy); line-height: 1.1; }
.service__price small { display: block; margin-top: 3px; font-family: var(--f-sans); font-size: .75rem; font-weight: 600; color: var(--ink-3); }
.service--dark { background: var(--navy); border-color: var(--navy); color: var(--white); justify-content: center; }
.service--dark h3 { color: var(--white); }
.service--dark .service__desc { color: rgba(255, 255, 255, .82); }
.service--dark .service__head .icon-badge { background: rgba(255, 255, 255, .1); }
.service--dark .service__cat { color: var(--gold-soft); }
.service--dark .service__foot { border-color: var(--line-dark); justify-content: flex-start; }

/* Ámbitos en tarjetas */
.scope-cards { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 960px) { .scope-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
.scope-card { padding: 18px 16px; border-radius: var(--radius-lg); background: rgba(255, 255, 255, .06); border: 1px solid var(--line-dark); }
.scope-card .icon-badge { width: 48px; height: 48px; border-radius: 50%; }
.scope-card h3 { margin-top: 12px; font-size: 1.2rem; color: var(--white); }
.scope-card p { margin: 6px 0 0; font-size: .875rem; line-height: 1.5; }
@media (max-width: 420px) { .scope-cards { grid-template-columns: minmax(0, 1fr); } }

/* Orientador */
.guide { padding: clamp(20px, 3vw, 36px); border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.guide__progress { display: flex; gap: 6px; margin-bottom: 18px; }
.guide__progress span { flex: 1; height: 4px; border-radius: 4px; background: var(--navy-100); transition: background var(--t); }
.guide__progress span.is-done { background: var(--navy); }
.guide__q { font-family: var(--f-serif); font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); font-weight: 500; line-height: 1.25; color: var(--navy-900); margin-bottom: 16px; outline: none; }
.guide__opts { display: grid; gap: 8px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .guide__opts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.opt {
  display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 12px 16px; text-align: left;
  border-radius: 14px; border: 1px solid var(--line); background: var(--paper);
  font-size: .9375rem; font-weight: 700; line-height: 1.35; color: var(--navy-900);
  transition: background var(--t), border-color var(--t), color var(--t), transform var(--t) var(--ease);
}
.opt .icon { color: var(--navy); transition: color var(--t); }
.opt:hover { background: var(--navy); border-color: var(--navy); color: var(--white); transform: translateY(-2px); }
.opt:hover .icon { color: var(--gold-soft); }
.guide__back { margin-top: 16px; border: 0; background: none; padding: 6px 0; font-size: .875rem; font-weight: 700; color: var(--ink-3); text-decoration: underline; text-underline-offset: .25em; }
.guide__result h3 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); color: var(--navy); outline: none; }
.guide__result p:not(.eyebrow) { margin: 10px 0 20px; color: var(--ink-2); }

/* ==========================================================================
   Conóceme
   ========================================================================== */
.story-media { position: relative; }
.story-media__main { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3.3; box-shadow: var(--shadow); }
.story-media__main img { width: 100%; height: 100%; object-fit: cover; }
.story__body p { color: var(--ink-2); }
.story__body > p:first-child { font-size: var(--fs-lg); color: var(--ink); font-weight: 500; }
.quote { margin: 24px 0 0; padding: 20px 22px; border-radius: var(--radius); background: var(--navy); color: var(--white); font-family: var(--f-serif); font-size: clamp(1.15rem, 1.05rem + .5vw, 1.4rem); font-style: italic; line-height: 1.4; }
.quote cite { display: block; margin-top: 10px; font-family: var(--f-sans); font-style: normal; font-size: .8125rem; font-weight: 700; color: var(--gold-soft); }

.milestones { position: relative; display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); }
.milestone { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; align-items: start; padding: 14px 16px; border-radius: var(--radius); background: rgba(255, 255, 255, .06); border: 1px solid var(--line-dark); }
.milestone__year { font-family: var(--f-serif); font-size: 1.35rem; font-weight: 600; color: var(--gold-soft); line-height: 1.15; }
.milestone h3 { font-family: var(--f-sans); font-size: 1rem; font-weight: 800; color: var(--white); letter-spacing: 0; line-height: 1.35; }
.milestone p { margin: 3px 0 0; font-size: .875rem; line-height: 1.5; }
@media (min-width: 1000px) {
  .milestones { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; padding-top: 26px; }
  .milestones::before { content: ""; position: absolute; top: 6px; left: 8px; right: 8px; height: 2px; background: linear-gradient(90deg, var(--gold), rgba(212, 165, 72, .15)); }
  .milestone { grid-template-columns: minmax(0, 1fr); padding: 18px; }
  .milestone::before { content: ""; position: absolute; top: -25px; left: 18px; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px rgba(212, 165, 72, .2); }
}
.cert-strip { display: grid; gap: 20px; align-items: center; grid-template-columns: minmax(0, 1fr); margin-top: clamp(28px, 4vw, 48px); }
.cert-strip img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
@media (min-width: 860px) { .cert-strip { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; } }

.values { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 860px) { .values { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
.value { padding: 22px 20px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); }
.value h3 { margin-top: 12px; font-size: 1.3rem; color: var(--navy-900); }
.value p { margin: 6px 0 0; font-size: .9375rem; line-height: 1.55; color: var(--ink-2); }

.gallery { display: grid; gap: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--navy-100); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figure:first-child { grid-column: 1 / -1; grid-row: span 2; }
@media (min-width: 860px) { .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 210px; gap: 12px; } .gallery figure:first-child { grid-column: span 2; } }

/* ==========================================================================
   Contacto
   ========================================================================== */
.contact-grid { display: grid; gap: clamp(28px, 4vw, 56px); grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); } }
.contact-cards { display: grid; gap: 10px; }
.contact-card {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center;
  padding: 14px 16px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); text-decoration: none;
  transition: border-color var(--t), box-shadow var(--t), transform var(--t) var(--ease);
}
a.contact-card:hover { border-color: var(--navy-200); box-shadow: var(--shadow); transform: translateY(-2px); }
.contact-card__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--navy-50); color: var(--navy); }
.contact-card > span:not(.contact-card__icon) { min-width: 0; }
.contact-card small { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.contact-card strong { display: block; font-size: 1rem; font-weight: 800; color: var(--navy-900); overflow-wrap: anywhere; line-height: 1.35; }
.contact-card > span:not(.contact-card__icon) > span { display: block; font-size: .8125rem; color: var(--ink-2); line-height: 1.45; margin-top: 2px; }
.contact-card > .icon { width: 18px; height: 18px; color: var(--navy); }
.contact-card--wa { background: var(--wa); border-color: var(--wa); }
.contact-card--wa .contact-card__icon { background: rgba(255, 255, 255, .16); color: var(--white); }
.contact-card--wa small, .contact-card--wa strong, .contact-card--wa > .icon { color: var(--white); }
.contact-card.contact-card--wa > span:not(.contact-card__icon) > span { color: rgba(255, 255, 255, .9); }
.contact-card--wa .contact-card__icon svg, .contact-card__icon svg { width: 24px; height: 24px; }

.info-block { margin-top: 24px; padding: 20px; border-radius: var(--radius-lg); background: var(--paper); }
.info-block h2 { font-size: 1.4rem; color: var(--navy-900); margin-bottom: 12px; }
.hours { margin: 0; display: grid; gap: 0; }
.hours div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.hours div:last-child { border-bottom: 0; }
.hours dt { color: var(--ink-2); font-weight: 600; }
.hours dd { margin: 0; font-weight: 800; color: var(--navy-900); white-space: nowrap; }

.form-card { padding: clamp(20px, 3vw, 36px); border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-card h2 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); color: var(--navy-900); }
.form-card > p { margin: 8px 0 20px; color: var(--ink-2); font-size: .9375rem; }
.form { display: grid; gap: 14px; }
.form__row { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 560px) { .form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { display: grid; gap: 6px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field label, .field legend { font-size: .875rem; font-weight: 700; color: var(--navy-900); padding: 0; }
.req { color: #B3261E; }
.input, .select, .textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--paper);
  font-size: 1rem; font-weight: 500; color: var(--ink); transition: border-color var(--t), background var(--t), box-shadow var(--t);
}
.textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2300487C' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 44px; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--navy); background: var(--white); box-shadow: 0 0 0 4px rgba(0, 72, 124, .12); }
.input::placeholder, .textarea::placeholder { color: #7A8796; }
.field__error { display: none; font-size: .8125rem; font-weight: 700; color: #B3261E; }
.has-error .field__error { display: block; }
.has-error .input, .has-error .select, .has-error .textarea { border-color: #B3261E; }
.form__hint { font-size: .78rem; color: var(--ink-3); }
.radios { display: flex; flex-wrap: wrap; gap: 8px; }
.radio { position: relative; }
.radio input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.radio span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); font-size: .875rem; font-weight: 700; color: var(--navy-900); transition: background var(--t), border-color var(--t), color var(--t); }
.radio input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--white); }
.radio input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.check { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; font-size: .875rem; font-weight: 500 !important; color: var(--ink-2) !important; line-height: 1.5; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--navy); }
.form__success { display: none; margin: 0; padding: 14px 16px; border-radius: 12px; background: #E8F5EC; color: #14532D; font-size: .9375rem; font-weight: 600; outline: none; }
.form__success.is-visible { display: block; }

.map { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--navy); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__placeholder { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; padding: 24px; text-align: center; color: rgba(255, 255, 255, .85); background: radial-gradient(70% 70% at 50% 30%, #0B5C97, var(--navy-900)); }
.map__placeholder img { width: 70px; opacity: .9; }
.map__placeholder p { max-width: 34ch; margin: 0; font-size: .875rem; }

/* ==========================================================================
   Páginas legales
   ========================================================================== */
.legal { max-width: 780px; }
.legal h2 { font-size: clamp(1.3rem, 1.15rem + .6vw, 1.65rem); color: var(--navy-900); margin: 32px 0 10px; }
.legal p, .legal li { color: var(--ink-2); font-size: .9688rem; }
.legal ul { display: grid; gap: 6px; margin: 0 0 1em; padding-left: 1.1em; list-style: disc; }
.legal a { color: var(--navy); font-weight: 600; }
.legal table { width: 100%; table-layout: fixed; border-collapse: collapse; margin: 8px 0 18px; font-size: .875rem; }
.legal th, .legal td { text-align: left; padding: 10px; border-bottom: 1px solid var(--line); vertical-align: top; overflow-wrap: anywhere; }
.legal th { color: var(--navy-900); font-weight: 800; background: var(--paper); }
.placeholder { padding: 2px 6px; border-radius: 4px; background: #FFF3CD; color: #7A5B00; font-weight: 700; }

/* ==========================================================================
   Pie
   ========================================================================== */
.site-footer { background: var(--navy-950); color: rgba(255, 255, 255, .78); padding: clamp(44px, 5vw, 72px) 0 calc(28px + env(safe-area-inset-bottom)); font-size: .9375rem; }
.footer-grid { display: grid; gap: 28px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.footer-brand { grid-column: 1 / -1; }
.footer-brand img { width: 128px; height: auto; margin-bottom: 14px; }
.footer-brand p { max-width: 38ch; font-size: .9rem; }
.site-footer h2 { font-family: var(--f-sans); font-size: .75rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 12px; }
.site-footer ul { display: grid; gap: 8px; }
.site-footer a { text-decoration: none; color: rgba(255, 255, 255, .88); }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-contact { grid-column: 1 / -1; }
.footer-contact ul li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: start; line-height: 1.5; }
.footer-contact ul .icon { width: 18px; height: 18px; color: var(--gold); margin-top: 2px; }
.footer-contact a { overflow-wrap: anywhere; }
@media (min-width: 900px) {
  .footer-grid { grid-template-columns: 1.3fr .8fr 1.1fr 1.3fr; gap: 40px; }
  .footer-brand, .footer-contact { grid-column: auto; }
}
.footer-disclaimer { margin: 32px 0 0; padding-top: 22px; border-top: 1px solid var(--line-dark); font-size: .8125rem; line-height: 1.6; color: rgba(255, 255, 255, .62); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; margin-top: 18px; font-size: .8125rem; color: rgba(255, 255, 255, .62); }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 8px 18px; }
@media (max-width: 640px) { .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); } }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: max(14px, env(safe-area-inset-right)); bottom: max(14px, env(safe-area-inset-bottom)); z-index: 90;
  display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 20px 0 16px; border-radius: 999px;
  background: var(--wa); color: #fff; text-decoration: none; font-weight: 800; font-size: .9375rem;
  box-shadow: 0 14px 30px -10px rgba(10, 70, 35, .55);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), opacity var(--t), visibility var(--t);
}
.wa-float svg { width: 26px; height: 26px; }
.wa-float:hover { transform: translateY(-3px); box-shadow: 0 20px 36px -12px rgba(10, 80, 40, .6); }
.wa-float__label { white-space: nowrap; }
@media (max-width: 640px) { .wa-float { width: 56px; padding: 0; justify-content: center; } .wa-float__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }
@media (min-width: 1000px) { .wa-float { right: 28px; bottom: 28px; } }
.nav-open .wa-float { opacity: 0; visibility: hidden; }

/* ---------- Animaciones de entrada ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .pendulum-swing, .mini-swing, .seal-orbit, .orbit__ring--1, .core { animation: none; }
  .scan-ring, .spark, .orbit__core::before, .orbit__core::after, .moves::before { animation: none; opacity: 0; }
  .scan-ring:nth-of-type(1) { opacity: .6; transform: scale(.9); }
  .seal-draw { animation: none; stroke-dashoffset: 0; }
}

/* ---------- Utilidades ---------- */
.mt-0 { margin-top: 0 !important; }
.mt-s { margin-top: 14px; }
.mt-m { margin-top: 24px; }
.mt-l { margin-top: 40px; }
.text-center { text-align: center; }
.muted { color: var(--ink-3); }
.small { font-size: var(--fs-sm); }
.nowrap { white-space: nowrap; }
