/* =========================================================
   Mr. Wellness — Sistema de diseño
   Paleta tomada del logotipo: azul sereno, naranja, salvia.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

/* ---------- Tokens ---------- */
:root {
  /* Marca */
  --blue:        #7FB2CC;
  --blue-deep:   #35708F;  /* 5.2:1 sobre --bg */
  --blue-ink:    #2B5D78;
  --orange:      #F2871F;  /* solo decorativo / fondos, nunca texto pequeño */
  --orange-deep: #AE5A05;  /* 4.7:1 sobre --bg y 4.9:1 con texto blanco */
  --sage:        #A3BC3C;
  --sage-deep:   #5E7519;  /* 5.0:1 sobre --bg */

  /* Neutros cálidos */
  --ink:      #22262C;
  --ink-2:    #464C55;
  --muted:    #666D77;  /* 5.0:1 sobre --bg */
  --line:     #E7E2DA;
  --line-2:   #F0ECE5;
  --bg:       #FBFAF7;
  --bg-2:     #F4F1EB;
  --surface:  #FFFFFF;

  /* Efectos */
  --radius:    18px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(34,38,44,.06), 0 2px 8px rgba(34,38,44,.04);
  --shadow:    0 2px 4px rgba(34,38,44,.05), 0 12px 32px -12px rgba(34,38,44,.18);
  --shadow-lg: 0 4px 8px rgba(34,38,44,.05), 0 28px 60px -20px rgba(34,38,44,.28);
  --ring:      0 0 0 3px rgba(60,122,155,.28);

  --maxw: 1140px;
  --pad:  clamp(20px, 5vw, 40px);

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --blue:        #8CC0D9;
    --blue-deep:   #9BCDE4;
    --blue-ink:    #B7DCEC;
    --orange:      #F79A45;
    --orange-deep: #FFB067;
    --sage:        #B7CE58;
    --sage-deep:   #C6DA72;

    --ink:      #EDEAE4;
    --ink-2:    #C3BFB8;
    --muted:    #9A958D;
    --line:     #32363D;
    --line-2:   #292D33;
    --bg:       #16191D;
    --bg-2:     #1D2126;
    --surface:  #1E2228;

    --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
    --shadow:    0 2px 4px rgba(0,0,0,.3), 0 12px 32px -12px rgba(0,0,0,.7);
    --shadow-lg: 0 4px 8px rgba(0,0,0,.3), 0 28px 60px -20px rgba(0,0,0,.8);
    --ring:      0 0 0 3px rgba(155,205,228,.35);

    color-scheme: dark;
  }
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; color: inherit; }

:focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-radius: 6px;
}

::selection { background: rgba(242,135,31,.22); }

/* ---------- Tipografía ---------- */
h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -.02em;
  font-weight: 800;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 1.4rem + 3.2vw, 3.6rem); }
h2 { font-size: clamp(1.65rem, 1.2rem + 2vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 1.05rem + .5vw, 1.4rem); font-weight: 700; }
h4 { font-size: 1.03rem; font-weight: 700; letter-spacing: -.01em; }

p { text-wrap: pretty; }
a { color: var(--blue-deep); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-size: .78rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--orange-deep);
}
.eyebrow::before {
  content: ''; width: 22px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--orange), var(--sage));
}
.lead { font-size: clamp(1.05rem, 1rem + .45vw, 1.28rem); color: var(--ink-2); }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: clamp(56px, 8vw, 104px); }
.section--tint { background: var(--bg-2); }
.section--edge { border-top: 1px solid var(--line); }
.stack > * + * { margin-top: 1.1em; }
.center { text-align: center; }
.section-head { max-width: 62ch; margin-bottom: clamp(32px, 5vw, 52px); }
.section-head.center { margin-inline: auto; }
.section-head h2 + p { margin-top: .8em; }

.grid { display: grid; gap: clamp(16px, 2.2vw, 24px); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(268px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(232px, 1fr)); }

/* ---------- Botones ---------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .95em 1.6em;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1px solid transparent; border-radius: 999px;
  font-size: 1rem; font-weight: 700; letter-spacing: -.01em;
  text-decoration: none; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease;
  box-shadow: var(--shadow-sm);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn svg { flex: none; }

.btn--primary { --btn-bg: var(--orange-deep); --btn-fg: #fff; }
.btn--primary:hover { --btn-bg: #8E4903; }
.btn--wa      { --btn-bg: #128C7E; --btn-fg: #fff; }
.btn--wa:hover{ --btn-bg: #0f7a6d; }
.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--ink);
  border-color: var(--line); box-shadow: none;
  background: var(--surface);
}
.btn--ghost:hover { border-color: var(--blue-deep); color: var(--blue-deep); }
.btn--sm { padding: .62em 1.15em; font-size: .92rem; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn-row.center { justify-content: center; }

@media (prefers-color-scheme: dark) {
  .btn { --btn-bg: var(--blue-deep); --btn-fg: #10161b; }
  .btn--primary { --btn-bg: var(--orange); --btn-fg: #221305; }
  .btn--primary:hover { --btn-bg: var(--orange-deep); }
  .btn--ghost { --btn-fg: var(--ink); }
}

/* ---------- Encabezado / navegación ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; gap: 18px; height: 72px; }
.nav__brand { display: flex; align-items: center; gap: 10px; margin-right: auto; text-decoration: none; }
.nav__brand img { height: 44px; width: auto; }
.nav__brand span {
  font-weight: 800; color: var(--ink); letter-spacing: -.02em; font-size: 1.02rem; line-height: 1.1;
}
.nav__brand small { display: block; font-size: .68rem; font-weight: 600; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }

.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links a {
  padding: .5em .8em; border-radius: 999px;
  color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .95rem;
  transition: background-color .16s ease, color .16s ease;
}
.nav__links a:hover { background: var(--bg-2); color: var(--ink); }
.nav__links a[aria-current="page"] { color: var(--orange-deep); }

.nav__lang {
  display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden;
  font-size: .8rem; font-weight: 700;
}
.nav__lang a { padding: .42em .8em; text-decoration: none; color: var(--muted); }
.nav__lang a[aria-current="true"] { background: var(--ink); color: var(--bg); }

.nav__toggle {
  display: none; width: 44px; height: 44px; align-items: center; justify-content: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px; cursor: pointer;
}
.nav__toggle span {
  display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative;
  transition: transform .2s ease, background-color .2s ease;
}
.nav__toggle span::before, .nav__toggle span::after {
  content: ''; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .2s ease;
}
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after  { top:  6px; }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 940px) {
  .nav__toggle { display: inline-flex; }
  .nav__panel {
    position: absolute; left: var(--pad); right: var(--pad); top: 72px;
    display: none; flex-direction: column; align-items: stretch; gap: 6px;
    padding: 14px; background: var(--surface);
    border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  }
  .nav__panel.is-open { display: flex; }
  .nav__links { flex-direction: column; align-items: stretch; }
  .nav__links a { padding: .7em .9em; }
  .nav__panel .btn { width: 100%; }
  .nav__panel .nav__lang { align-self: flex-start; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: clamp(48px, 7vw, 96px) clamp(48px, 7vw, 88px); overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: -30% -10% auto -10%; height: 620px; z-index: -1;
  background:
    radial-gradient(46% 52% at 22% 30%, rgba(127,178,204,.34), transparent 68%),
    radial-gradient(42% 48% at 80% 22%, rgba(242,135,31,.22), transparent 66%),
    radial-gradient(40% 44% at 55% 78%, rgba(163,188,60,.20), transparent 68%);
  filter: blur(8px);
}
.hero__grid { display: grid; gap: clamp(32px, 5vw, 56px); align-items: center; grid-template-columns: 1.05fr .95fr; }
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; } }
.hero h1 { margin-top: .5em; }
.hero .lead { margin-top: 1em; max-width: 54ch; }
.hero .btn-row { margin-top: 2em; }

.hero__card {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(24px, 3.4vw, 38px); box-shadow: var(--shadow-lg);
}
.hero__card img { margin-inline: auto; max-height: 190px; width: auto; }
.hero__card hr { border: 0; border-top: 1px solid var(--line); margin: 26px 0; }

.credentials { display: grid; gap: 14px; }
.credentials li { display: flex; gap: 12px; align-items: flex-start; list-style: none; }
.credentials .tick {
  flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: color-mix(in srgb, var(--sage) 26%, transparent);
  color: var(--sage-deep); display: grid; place-items: center; font-size: 12px; font-weight: 900;
}
.credentials b { color: var(--ink); font-weight: 700; }

.trustbar {
  display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center;
  margin-top: 2.4em; padding-top: 1.6em; border-top: 1px solid var(--line);
  font-size: .88rem; font-weight: 600; color: var(--muted);
}
.trustbar span { display: inline-flex; align-items: center; gap: .5em; }
.trustbar span::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--sage); }

/* ---------- Tarjetas ---------- */
.card {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(20px, 2.6vw, 28px);
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card--link:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--blue) 55%, var(--line)); }
.card h3 { margin-bottom: .5em; }
.card p { font-size: .98rem; }
.card__icon {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  margin-bottom: 18px; font-size: 22px; line-height: 1;
  background: color-mix(in srgb, var(--blue) 20%, transparent);
}
.card__icon--orange { background: color-mix(in srgb, var(--orange) 20%, transparent); }
.card__icon--sage   { background: color-mix(in srgb, var(--sage) 22%, transparent); }
.card__more {
  display: inline-flex; align-items: center; gap: .4em; margin-top: 1em;
  font-weight: 700; font-size: .92rem; color: var(--blue-deep); text-decoration: none;
}
.card__more::after { content: '→'; transition: transform .18s ease; }
.card--link:hover .card__more::after { transform: translateX(4px); }
a.card { text-decoration: none; color: inherit; display: block; }

/* Pasos numerados */
.steps { counter-reset: step; }
.step { position: relative; padding-left: 62px; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: 0;
  font-size: 1.5rem; font-weight: 800; letter-spacing: -.04em;
  color: var(--orange); font-variant-numeric: tabular-nums;
}
.step h3 { margin-bottom: .4em; }

/* Lista de servicios */
.svc { display: grid; gap: 2px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--line); }
.svc__item { background: var(--surface); padding: clamp(20px, 2.4vw, 26px); transition: background-color .2s ease; }
.svc__item:hover { background: var(--bg-2); }
.svc__item h3 { display: flex; align-items: baseline; gap: .6em; margin-bottom: .45em; font-size: 1.08rem; }
.svc__item h3 em {
  font-style: normal; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--sage-deep);
}
.svc__item p { font-size: .96rem; color: var(--ink-2); }
@media (min-width: 720px) { .svc { grid-template-columns: 1fr 1fr; } }

/* ---------- Planes / comunidad ---------- */
/* stretch (no start): así todas las tarjetas miden igual y el margin-top:auto
   del botón deja los CTA alineados en la misma línea. */
.plans { display: grid; gap: 20px; align-items: stretch; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); margin-top: 16px; }
.plan {
  display: flex; flex-direction: column; height: 100%;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(22px, 2.6vw, 30px); box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease;
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plan--featured {
  border-color: transparent;
  box-shadow: var(--shadow-lg), 0 0 0 2px var(--orange);
}
.plan__flag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  /* fijo en ambos temas: en oscuro --orange-deep es claro y no contrastaría con el blanco */
  background: #AE5A05; color: #fff; font-size: .7rem; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase; padding: .42em 1em; border-radius: 999px;
  white-space: nowrap;
}
.plan { position: relative; }
.plan__name { font-size: 1.22rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.plan__tier { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .5em; }
.plan__price { display: flex; align-items: baseline; gap: .3em; margin: .7em 0 .2em; }
.plan__price b { font-size: 2.1rem; font-weight: 800; color: var(--ink); letter-spacing: -.04em; }
.plan__price span { font-size: .9rem; color: var(--muted); font-weight: 600; }
.plan__pitch { font-size: .95rem; color: var(--ink-2); margin-bottom: 1.2em; min-height: 3em; }
.plan ul { list-style: none; padding: 0; display: grid; gap: 11px; margin-bottom: 1.6em; }
.plan li { display: flex; gap: 10px; font-size: .94rem; line-height: 1.5; }
.plan li::before {
  content: '✓'; flex: none; color: var(--sage-deep); font-weight: 900; font-size: .9em; margin-top: .18em;
}
.plan li.is-carry { color: var(--muted); font-weight: 600; }
.plan li.is-carry::before { content: '★'; color: var(--orange); }
.plan .btn { margin-top: auto; }

/* Tabla comparativa */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table.compare { border-collapse: collapse; width: 100%; min-width: 660px; font-size: .94rem; }
table.compare th, table.compare td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line-2); }
table.compare thead th { background: var(--bg-2); color: var(--ink); font-weight: 800; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
table.compare tbody th { font-weight: 600; color: var(--ink-2); }
table.compare td { text-align: center; }
table.compare tr:last-child > * { border-bottom: 0; }
.yes { color: var(--sage-deep); font-weight: 900; }
.no  { color: var(--muted); opacity: .5; }

/* ---------- Temas de bienestar ---------- */
.topic { scroll-margin-top: 96px; }
.topic + .topic { margin-top: clamp(40px, 5vw, 64px); padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
.topic__head { display: flex; align-items: center; gap: 16px; margin-bottom: 1em; }
.topic__badge {
  flex: none; width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font-size: 26px;
  background: color-mix(in srgb, var(--blue) 18%, transparent);
}
.topic ul { padding-left: 1.15em; display: grid; gap: 8px; }
.topic li::marker { color: var(--orange); }

.toc { display: flex; flex-wrap: wrap; gap: 8px; }
.toc a {
  padding: .5em 1em; border: 1px solid var(--line); border-radius: 999px; background: var(--surface);
  text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: .9rem;
  transition: border-color .16s ease, color .16s ease, transform .16s ease;
}
.toc a:hover { border-color: var(--orange); color: var(--orange-deep); transform: translateY(-2px); }

/* ---------- Cursos ---------- */
.badge {
  display: inline-flex; align-items: center; gap: .4em;
  padding: .32em .8em; border-radius: 999px;
  font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.badge--soon  { background: color-mix(in srgb, var(--orange) 22%, transparent); color: var(--orange-deep); }
.badge--ready { background: color-mix(in srgb, var(--sage) 24%, transparent);   color: var(--sage-deep); }

.course { display: flex; flex-direction: column; height: 100%; }
.course h3 { margin: .75em 0 .5em; }
.course > p { font-size: .96rem; }
.course dl {
  margin-top: auto; padding-top: 1.1em; margin-bottom: 0;
  border-top: 1px solid var(--line); display: grid; gap: .55em; font-size: .9rem;
}
.course dt {
  font-weight: 800; color: var(--ink);
  font-size: .68rem; letter-spacing: .1em; text-transform: uppercase;
}
.course dd { margin: 0; color: var(--ink-2); line-height: 1.55; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  list-style: none;
  padding: .45em .95em; border: 1px solid var(--line); border-radius: 999px;
  background: var(--surface); font-size: .87rem; font-weight: 600; color: var(--ink-2);
}
.chips b { color: var(--ink); font-weight: 800; }

/* ---------- Cita / destacado ---------- */
.pull {
  border-left: 3px solid var(--orange);
  padding: 6px 0 6px 22px;
  font-size: clamp(1.1rem, 1rem + .6vw, 1.45rem);
  font-weight: 600; color: var(--ink); letter-spacing: -.015em; line-height: 1.4;
}

.note {
  display: flex; gap: 14px; align-items: flex-start;
  background: color-mix(in srgb, var(--blue) 10%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--blue) 32%, var(--line));
  border-radius: var(--radius-sm); padding: 18px 20px; font-size: .93rem;
}
.note strong { color: var(--ink); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq details {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 4px 20px; transition: border-color .18s ease;
}
.faq details[open] { border-color: color-mix(in srgb, var(--blue) 50%, var(--line)); }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 34px 18px 0; position: relative;
  font-weight: 700; color: var(--ink); font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 400; color: var(--orange); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details > p { padding: 0 0 20px; font-size: .97rem; }
.faq details > p + p { padding-top: 0; margin-top: -8px; }

/* ---------- CTA final ---------- */
.cta-band {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg); padding: clamp(34px, 5vw, 64px);
  background: linear-gradient(135deg, var(--blue-ink) 0%, #2F6A88 55%, var(--sage-deep) 190%);
  color: #fff; text-align: center;
}
.cta-band::after {
  content: ''; position: absolute; inset: auto -10% -60% -10%; height: 300px;
  background: radial-gradient(50% 60% at 50% 50%, rgba(242,135,31,.42), transparent 70%);
  pointer-events: none;
}
.cta-band h2, .cta-band p { color: #fff; position: relative; z-index: 1; }
.cta-band p { opacity: .92; max-width: 58ch; margin-inline: auto; margin-top: .9em; }
.cta-band .btn-row { position: relative; z-index: 1; margin-top: 2em; }
.cta-band .btn--ghost { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.42); color: #fff; }
.cta-band .btn--ghost:hover { background: rgba(255,255,255,.2); color: #fff; border-color: #fff; }

/* ---------- Pie ---------- */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--line); padding-block: clamp(40px, 5vw, 64px) 32px; }
.footer__grid { display: grid; gap: 32px; grid-template-columns: 1.4fr 1fr 1fr; }
@media (max-width: 780px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }
.site-footer img { height: 62px; width: auto; }
.site-footer h4 { margin-bottom: .9em; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.site-footer ul { list-style: none; padding: 0; display: grid; gap: 9px; }
.site-footer a { color: var(--ink-2); text-decoration: none; font-size: .95rem; font-weight: 600; }
.site-footer a:hover { color: var(--orange-deep); text-decoration: underline; }
.footer__legal {
  margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: space-between;
  font-size: .84rem; color: var(--muted);
}
.disclaimer { font-size: .84rem; color: var(--muted); max-width: 78ch; margin-top: 18px; line-height: 1.6; }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 70;
  display: inline-flex; align-items: center; gap: .55em;
  padding: .8em 1.15em; border-radius: 999px;
  background: #128C7E; color: #fff; font-weight: 700; font-size: .95rem;
  text-decoration: none; box-shadow: 0 10px 30px -8px rgba(18,140,126,.75);
  transition: transform .2s ease, box-shadow .2s ease;
}
.wa-float:hover { transform: translateY(-3px); box-shadow: 0 16px 36px -8px rgba(18,140,126,.85); }
@media (max-width: 560px) { .wa-float span { display: none; } .wa-float { padding: .95em; } }

/* ---------- Utilidades ---------- */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--bg); padding: .7em 1.2em; border-radius: 0 0 10px 10px;
  text-decoration: none; font-weight: 700; transition: top .18s ease;
}
.skip-link:focus { top: 0; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* La ocultación solo se aplica si el JS arrancó (clase .js en <html>).
   Sin JS —o si falla— el contenido se ve siempre. */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } }
