/* =========================================================
   PRÁNIMA · Salud mental — Dr. Pablo de Fez Febré
   Hoja de estilos mobile-first. Para reutilizar con otro
   cliente: cambia los tokens de :root y las imágenes.
   ========================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  --brand: #10124a;        /* azul noche del logo */
  --brand-2: #2a2f7a;      /* hover */
  --ink: #1c1f40;
  --text: #474b68;
  --muted: #6b6f8a;
  --mist: #f3f4fa;
  --mist-2: #e6e9f5;
  --sand: #f7f3ed;
  --accent: #8fb3a5;       /* salvia */
  --accent-d: #3d7565;
  --accent-l: #e3efea;
  --line: #e1e4f0;
  --wa: #1fa855;
  --star: #e5a500;

  --r: 16px;
  --r-lg: 26px;
  --shadow: 0 2px 6px rgba(16,18,74,.05), 0 16px 40px rgba(16,18,74,.09);
  --shadow-lg: 0 4px 12px rgba(16,18,74,.06), 0 30px 64px rgba(16,18,74,.15);
  --ease: cubic-bezier(.2,.8,.2,1);
  --back: cubic-bezier(.34,1.56,.64,1);

  --serif: "Newsreader", Georgia, serif;
  --sans: "Manrope", "Segoe UI", system-ui, sans-serif;
  --wrap: 1160px;
  --gut: 20px;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 16px/1.65 var(--sans); color: var(--text); background: #fff; -webkit-font-smoothing: antialiased; overflow-x: hidden; padding-bottom: 76px; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); color: var(--brand); font-weight: 400; line-height: 1.1; letter-spacing: -.015em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.35rem, 8.6vw, 4.3rem); }
h2 { font-size: clamp(1.9rem, 6.4vw, 3rem); }
h3 { font-size: 1.25rem; font-weight: 500; }
h1 em, h2 em { font-style: italic; color: var(--accent-d); }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: 10px; left: 10px; width: auto; height: auto; clip: auto; z-index: 999; background: #fff; padding: 10px 14px; border-radius: 10px; box-shadow: var(--shadow); }
:focus-visible { outline: 3px solid var(--accent-d); outline-offset: 3px; border-radius: 6px; }
.section { padding: 64px 0; }
.head { max-width: 640px; margin-bottom: 28px; }
.head.center { text-align: center; margin-left: auto; margin-right: auto; }
.head .lead { margin: 0; }
.head.center .lead { margin: 0 auto; }
.eyebrow { display: inline-flex; align-items: center; gap: .6em; font: 700 .72rem/1.2 var(--sans); letter-spacing: .15em; text-transform: uppercase; color: var(--accent-d); margin-bottom: .9rem; }
.eyebrow::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-l); }
.lead { font-size: 1.06rem; max-width: 54ch; }
.stars { color: var(--star); letter-spacing: 1px; }
.tag { display: inline-block; font: 700 .7rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; padding: .5em .75em; border-radius: 999px; background: var(--accent-l); color: var(--accent-d); }

/* ---------- 3. Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 52px; font: 700 1rem/1.2 var(--sans); padding: .9em 1.4em; border-radius: 999px; border: 1.5px solid transparent; text-decoration: none; cursor: pointer; text-align: center; transition: transform .2s var(--ease), background .2s ease, color .2s ease, box-shadow .2s ease, border-color .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; transition: transform .2s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 10px 24px rgba(16,18,74,.22); }
.btn-primary:hover { background: var(--brand-2); }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 10px 24px rgba(31,168,85,.25); }
.btn-wa:hover { background: #178a45; }
.btn-soft { background: #fff; color: var(--brand); border-color: var(--line); }
.btn-soft:hover { border-color: var(--brand); }
.btn-light { background: #fff; color: var(--brand); }
.btn-block { width: 100%; }

/* ---------- 4. Cabecera ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid transparent; transition: border-color .2s ease, box-shadow .2s ease; }
.header.scrolled { border-color: var(--line); box-shadow: 0 8px 24px rgba(16,18,74,.05); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 38px; height: auto; transition: rotate .8s var(--ease); }
.brand:hover img { rotate: -12deg; }
.brand b { display: block; font: 700 1.1rem/1 var(--sans); letter-spacing: .14em; color: var(--brand); }
.brand small { display: block; font: 600 .6rem/1 var(--sans); letter-spacing: .2em; color: var(--muted); margin-top: 5px; text-transform: uppercase; }
.header-actions { display: flex; align-items: center; gap: 6px; }
.header .btn-primary { min-height: 44px; padding: .6em 1em; font-size: .88rem; white-space: nowrap; box-shadow: none; }
.hide-sm { display: none; }
.menu-btn { background: none; border: 0; width: 44px; height: 44px; display: grid; place-items: center; color: var(--brand); cursor: pointer; border-radius: 12px; }
.menu-btn svg { width: 26px; height: 26px; }
.nav { position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 6px var(--gut) 18px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s ease, transform .2s ease, visibility .2s; }
.nav.open { opacity: 1; visibility: visible; transform: none; }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 600; color: var(--ink); font-size: 1.02rem; }

/* ---------- 5. Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 32px 0 56px; background: radial-gradient(600px 400px at 100% 0%, var(--mist-2), transparent 65%), radial-gradient(500px 400px at 0% 100%, var(--accent-l), transparent 65%), #fff; }
.hero .wrap { display: grid; gap: 36px; }
.hero .lead { margin-bottom: 1.5rem; }
.hero-ctas { display: grid; gap: 10px; margin-bottom: 1.4rem; }
.trust { display: grid; gap: 10px; list-style: none; padding: 0; margin: 0; font-size: .9rem; font-weight: 600; color: var(--ink); }
.trust li { display: flex; align-items: center; gap: .55em; }
.trust svg { width: 18px; height: 18px; color: var(--accent-d); flex: none; }
.trust a { color: var(--brand); }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.w > span { display: inline-block; }
.hero-visual { position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 520px; justify-self: center; }
.blob { position: absolute; inset: 8%; border-radius: 46% 54% 52% 48% / 52% 46% 54% 48%; overflow: hidden; box-shadow: var(--shadow-lg); background: var(--mist); }
.blob img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.orbits { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.orbits path { fill: none; stroke: var(--brand); stroke-width: 1.6; stroke-linecap: round; opacity: .5; }
.orbits circle { fill: var(--brand); }
.float-card { position: absolute; background: #fff; border-radius: 16px; padding: 10px 12px; box-shadow: var(--shadow); display: flex; gap: 10px; align-items: center; font-size: .76rem; line-height: 1.3; color: var(--ink); }
.float-card b { display: block; font-size: .88rem; color: var(--brand); }
.float-card .ic { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-l); color: var(--accent-d); flex: none; }
.float-card .ic svg { width: 18px; height: 18px; }
.fc-1 { left: 0; bottom: 6%; }
.fc-2 { right: 0; top: 4%; }

/* ---------- 6. Cómo te ayudo ---------- */
.help { background: var(--mist); }
.tabs { display: flex; gap: 6px; background: #fff; padding: 6px; border-radius: 999px; box-shadow: var(--shadow); margin-bottom: 20px; }
.tabs button { flex: 1; font: 700 .86rem/1.2 var(--sans); border: 0; background: transparent; color: var(--ink); min-height: 44px; padding: .6em .7em; border-radius: 999px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: .45em; transition: background .25s ease, color .25s ease; }
.tabs button svg { width: 18px; height: 18px; flex: none; }
.tabs button[aria-selected="true"] { background: var(--brand); color: #fff; }
.conds { display: grid; gap: 10px; list-style: none; margin: 0; padding: 0; }
.conds[hidden] { display: none; }
.cond { background: #fff; border-radius: var(--r); padding: 16px; display: flex; gap: 14px; align-items: flex-start; transition: transform .3s var(--ease), box-shadow .3s ease; }
.cond:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.cond .ic { flex: none; width: 42px; height: 42px; border-radius: 13px; background: var(--accent-l); color: var(--accent-d); display: grid; place-items: center; transition: background .3s ease, color .3s ease; }
.cond:hover .ic { background: var(--brand); color: #fff; }
.cond .ic svg { width: 21px; height: 21px; }
.cond strong { display: block; color: var(--brand); font-size: .98rem; line-height: 1.3; margin-bottom: 2px; }
.cond small { color: var(--muted); font-size: .87rem; line-height: 1.45; display: block; }
.help-cta { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; font-size: .95rem; color: var(--ink); }

/* ---------- 7. Sobre Pablo ---------- */
.about .wrap { display: grid; gap: 34px; }
.about-photo { position: relative; max-width: 320px; width: 100%; justify-self: center; }
.about-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 180px 180px 26px 26px; box-shadow: var(--shadow-lg); }
.sig { position: absolute; left: 50%; bottom: -18px; translate: -50% 0; white-space: nowrap; background: var(--brand); color: #fff; border-radius: 16px; padding: 12px 18px; box-shadow: var(--shadow); text-align: center; }
.sig b { font: italic 400 1.2rem/1.1 var(--serif); display: block; }
.sig small { font-size: .76rem; color: #c3c7e6; }
.about blockquote { margin: 0 0 1.2rem; font: italic 400 1.25rem/1.45 var(--serif); color: var(--brand); border-left: 3px solid var(--accent); padding-left: 18px; }
.colegiado { display: inline-flex; align-items: center; gap: .55em; font-size: .86rem; font-weight: 700; color: var(--brand); background: var(--mist); padding: .55em .9em; border-radius: 999px; margin-bottom: 18px; }
.colegiado svg { width: 18px; height: 18px; color: var(--accent-d); }
.creds { display: grid; gap: 12px; }
.cred { background: var(--sand); border-radius: var(--r); padding: 18px; }
.cred h3 { font: 700 .74rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-d); margin-bottom: 10px; }
.cred ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: .92rem; color: var(--ink); }
.cred li { display: flex; gap: 9px; }
.cred li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-top: .6em; }

/* ---------- 8. Test de cita + precios ---------- */
.book { background: var(--sand); }
.book-grid { display: grid; gap: 16px; }
.guide { background: #fff; border-radius: var(--r-lg); padding: 22px; box-shadow: var(--shadow-lg); }
.guide h3 { font-size: 1.45rem; margin-bottom: .2em; }
.guide > p { color: var(--muted); font-size: .93rem; margin-bottom: 18px; }
.q { border: 0; margin: 0 0 18px; padding: 0; }
.q legend { font: 700 .74rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; padding: 0; }
.opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.opts label { position: relative; }
.opts input { position: absolute; opacity: 0; }
.opts span { display: flex; align-items: center; gap: 8px; min-height: 52px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 14px; font-weight: 700; font-size: .88rem; line-height: 1.25; color: var(--ink); cursor: pointer; transition: border-color .2s ease, background .2s ease; }
.opts span svg { width: 20px; height: 20px; color: var(--muted); flex: none; transition: color .2s ease; }
.opts input:checked + span { border-color: var(--brand); background: var(--mist); }
.opts input:checked + span svg { color: var(--brand); }
.opts input:focus-visible + span { outline: 3px solid var(--accent-d); outline-offset: 2px; }
.result { border-radius: 18px; background: var(--brand); color: #d6d9f0; padding: 18px 20px; margin: 4px 0 12px; position: relative; overflow: hidden; }
.result::after { content: ""; position: absolute; right: -30px; top: -30px; width: 120px; height: 120px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.12); box-shadow: 0 0 0 22px rgba(255,255,255,.04); }
.result small { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.result strong { display: block; font: 400 1.4rem/1.2 var(--serif); color: #fff; margin: 6px 0 2px; }
.result span { font-size: .9rem; }
.result .price { display: block; margin-top: 8px; font: 500 1.9rem/1 var(--serif); color: #fff; }
.result.flash { animation: flash .5s var(--ease); }
@keyframes flash { from { transform: scale(.97); opacity: .6; } }
.guide-alt { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin-top: 12px; font-size: .9rem; font-weight: 700; }
.guide-alt a { color: var(--brand); text-decoration: none; display: inline-flex; align-items: center; gap: .4em; min-height: 40px; }
.guide-alt a:hover { text-decoration: underline; }
.guide-alt svg { width: 16px; height: 16px; }
.prices { background: #fff; border-radius: var(--r-lg); padding: 22px; box-shadow: var(--shadow); }
.prices h3 { font-size: 1.3rem; margin-bottom: 8px; }
.prices ul { list-style: none; margin: 0; padding: 0; }
.prices li { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 12px 8px; border-bottom: 1px dashed var(--line); font-size: .92rem; color: var(--ink); border-radius: 8px; transition: background .25s ease; }
.prices li:last-child { border-bottom: 0; }
.prices li.hl { background: var(--mist); }
.prices li b { font: 500 1.1rem/1 var(--serif); color: var(--brand); white-space: nowrap; }
.pay { margin: 14px 0 0; font-size: .84rem; color: var(--muted); display: flex; gap: .5em; }
.pay svg { width: 16px; height: 16px; flex: none; margin-top: 2px; }

/* ---------- 9. Respira ---------- */
.breathe { background: var(--brand); color: #c9cdea; position: relative; overflow: hidden; }
.breathe .wrap { display: grid; gap: 28px; position: relative; }
.breathe h2 { color: #fff; }
.breathe h2 em { color: var(--accent); }
.breathe .eyebrow { color: var(--accent); }
.breathe .eyebrow::before { box-shadow: 0 0 0 4px rgba(143,179,165,.2); }
.breathe .lead { color: #c9cdea; }
.breath-stage { position: relative; aspect-ratio: 1; width: 100%; max-width: 360px; justify-self: center; }
.ring { position: absolute; border-radius: 50%; border: 1.5px solid rgba(201,205,234,.16); }
.ring.r1 { inset: 4%; } .ring.r2 { inset: 13%; } .ring.r3 { inset: 22%; }
.orb, .orb-logo { transform: scale(var(--s, .72)); transition: transform var(--t, 1s) cubic-bezier(.45,0,.55,1); }
.orb { position: absolute; inset: 22%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #c2dcd2, var(--accent) 45%, #5f8f80); box-shadow: 0 0 60px rgba(143,179,165,.45), inset 0 -10px 30px rgba(16,18,74,.25); }
.orb-logo { position: absolute; left: 39%; top: 37%; width: 22%; opacity: .92; pointer-events: none; }
.breath-text { position: absolute; left: 0; right: 0; bottom: 0; text-align: center; color: #fff; }
.breath-text b { display: block; font: 400 1.5rem/1.1 var(--serif); }
.breath-text small { font-size: .85rem; color: #c9cdea; }
.breath-ctrl { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; }
.breath-ctrl .btn svg { width: 18px; height: 18px; }
.breath-count { font-size: .9rem; color: #aab0d8; }
.bg-lines { position: absolute; right: -140px; top: -60px; width: 460px; opacity: .06; pointer-events: none; }

/* ---------- 10. Opiniones ---------- */
.reviews-top { display: grid; gap: 18px; margin-bottom: 24px; }
.reviews-top .head { margin: 0; }
.badge-doc { display: inline-flex; align-items: center; gap: 14px; background: var(--mist); border-radius: 18px; padding: 12px 18px; text-decoration: none; justify-self: start; transition: transform .2s ease; }
.badge-doc:hover { transform: translateY(-2px); }
.badge-doc b { font: 500 2rem/1 var(--serif); color: var(--brand); }
.badge-doc small { display: block; font-size: .82rem; color: var(--muted); font-weight: 600; }
.mentions { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; list-style: none; padding: 0; }
.mentions li { display: inline-flex; align-items: center; gap: .45em; font-size: .84rem; font-weight: 700; color: var(--accent-d); background: var(--accent-l); padding: .5em .85em; border-radius: 999px; }
.mentions svg { width: 15px; height: 15px; }
.quotes { display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 16px; margin: 0 calc(var(--gut) * -1); padding-left: var(--gut); padding-right: var(--gut); scrollbar-width: thin; }
.quote { scroll-snap-align: start; margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; display: flex; flex-direction: column; gap: 14px; transition: transform .3s var(--ease), box-shadow .3s ease; }
.quote:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.quote blockquote { margin: 0; font: italic 400 1.1rem/1.5 var(--serif); color: var(--ink); }
.quote figcaption { display: flex; gap: 12px; align-items: center; margin-top: auto; font-size: .88rem; }
.quote figcaption strong { display: block; color: var(--brand); }
.quote figcaption small { color: var(--muted); }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; flex: none; font-size: .85rem; }
.swipe-hint { font-size: .82rem; color: var(--muted); margin: 0; }

/* ---------- 11. Consultas ---------- */
.places { background: var(--mist); }
.hours-banner { display: flex; gap: 12px; align-items: center; background: #fff; border-radius: var(--r); padding: 14px 16px; box-shadow: var(--shadow); margin-bottom: 18px; font-size: .95rem; color: var(--ink); }
.hours-banner svg { width: 24px; height: 24px; color: var(--accent-d); flex: none; }
.hours-banner a { font-weight: 700; color: var(--brand); }
.place-grid { display: grid; gap: 12px; }
.place { background: #fff; border-radius: var(--r-lg); padding: 22px; display: flex; flex-direction: column; gap: 4px; box-shadow: var(--shadow); transition: transform .3s var(--ease); position: relative; }
.place:hover { transform: translateY(-3px); }
.place .tag { position: absolute; top: 20px; right: 20px; }
.place .ic { width: 46px; height: 46px; border-radius: 14px; background: var(--accent-l); color: var(--accent-d); display: grid; place-items: center; margin-bottom: 10px; }
.place .ic svg { width: 23px; height: 23px; }
.place h3 { margin: 0; font-size: 1.28rem; }
.place .clinic { font-weight: 700; color: var(--ink); font-size: .92rem; }
.place p { margin: 0 0 12px; font-size: .92rem; color: var(--muted); }
.place .links { margin-top: auto; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.place .links a { font-weight: 700; font-size: .9rem; color: var(--brand); text-decoration: none; display: inline-flex; align-items: center; gap: .4em; min-height: 40px; }
.place .links a svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.place .links a:hover svg { transform: translateX(3px); }
.place.main { border: 2px solid var(--brand); }
.place.online { background: var(--brand); color: #c9cdea; }
.place.online h3 { color: #fff; }
.place.online p { color: #b8bde2; }
.place.online .ic { background: rgba(255,255,255,.1); color: var(--accent); }
.place.online .links a { color: #fff; }

/* ---------- 12. FAQ ---------- */
.faq .wrap { display: grid; gap: 24px; }
.faq-list { display: grid; gap: 10px; align-content: start; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 0 18px; transition: box-shadow .2s ease; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; min-height: 56px; padding: 14px 0; font: 700 .98rem/1.35 var(--sans); color: var(--brand); display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.6rem/1 var(--sans); color: var(--accent-d); transition: rotate .25s var(--ease); flex: none; }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { margin: 0 0 18px; font-size: .94rem; }
.sos { background: var(--sand); border-radius: var(--r); padding: 16px; font-size: .9rem; color: var(--ink); display: flex; gap: 12px; margin-top: 18px; }
.sos svg { width: 22px; height: 22px; color: var(--accent-d); flex: none; margin-top: 2px; }
.sos a { font-weight: 700; color: var(--brand); }

/* ---------- 13. CTA final + pie ---------- */
.final { padding: 64px 0; text-align: center; background: radial-gradient(600px 300px at 50% 0%, var(--mist-2), transparent 70%), #fff; }
.final img { width: 72px; margin: 0 auto 16px; }
.final h2 { max-width: 20ch; margin: 0 auto .4em; }
.final p { max-width: 46ch; margin: 0 auto 24px; }
.final .hero-ctas { max-width: 420px; margin: 0 auto; }
.footer { background: var(--brand); color: #b8bde2; padding: 40px 0 26px; font-size: .9rem; }
.footer .wrap { display: grid; gap: 22px; }
.footer img { width: 92px; }
.footer a { color: #e7e9f7; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer ul { list-style: none; display: grid; gap: 8px; margin: 0; padding: 0; }
.footer .legal { border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px; display: grid; gap: 10px; font-size: .8rem; }
.footer .legal nav { display: flex; flex-wrap: wrap; gap: 8px 16px; }

/* ---------- 14. WhatsApp flotante + barra móvil ---------- */
.wa-float { display: none; position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff; place-items: center; box-shadow: 0 10px 28px rgba(31,168,85,.45); transition: transform .2s var(--back); }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ring 2.6s ease-out infinite; }
@keyframes ring { from { scale: 1; opacity: .7; } to { scale: 1.6; opacity: 0; } }
.mobile-bar { display: grid; grid-template-columns: 1fr 1.3fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: rgba(255,255,255,.97); padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(16,18,74,.06); }
.mobile-bar .btn { min-height: 50px; padding: .7em .6em; font-size: .95rem; }

/* =========================================================
   15. Tablet (≥ 640px)
   ========================================================= */
@media (min-width: 640px) {
  :root { --gut: 32px; }
  .section { padding: 84px 0; }
  .hero-ctas { display: flex; flex-wrap: wrap; }
  .trust { display: flex; flex-wrap: wrap; gap: 10px 22px; }
  .conds { grid-template-columns: 1fr 1fr; gap: 12px; }
  .cond { padding: 20px; }
  .tabs { display: inline-flex; }
  .tabs button { flex: none; padding: .6em 1.2em; font-size: .92rem; }
  .creds { grid-template-columns: 1fr 1fr; }
  .guide, .prices { padding: 30px; }
  .result .price { position: absolute; right: 22px; bottom: 18px; margin: 0; }
  .result strong { padding-right: 110px; }
  .quotes { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: 1fr 1fr; overflow: visible; margin: 0; padding: 0; }
  .swipe-hint { display: none; }
  .place-grid { grid-template-columns: 1fr 1fr; }
  .float-card { padding: 14px 16px; font-size: .84rem; }
  .float-card b { font-size: 1rem; }
  .float-card .ic { width: 40px; height: 40px; }
  .footer .wrap { grid-template-columns: auto 1fr; align-items: center; }
  .footer ul { display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: flex-end; }
  .footer .legal { grid-column: 1 / -1; display: flex; justify-content: space-between; }
}

/* =========================================================
   16. Escritorio (≥ 980px)
   ========================================================= */
@media (min-width: 980px) {
  body { font-size: 17px; padding-bottom: 0; }
  .section { padding: 108px 0; }
  .head { margin-bottom: 44px; }
  .header .wrap { min-height: 76px; }
  .brand img { width: 44px; }
  .menu-btn { display: none; }
  .nav { position: static; opacity: 1; visibility: visible; transform: none; background: none; padding: 0; border: 0; box-shadow: none; }
  .nav ul { display: flex; gap: 1.6rem; }
  .nav a { border: 0; padding: .4em 0; font-size: .95rem; position: relative; }
  .nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; border-radius: 2px; background: var(--accent); transition: right .25s var(--ease); }
  .nav a:hover::after { right: 0; }
  .header-actions { gap: 22px; }
  .header .btn-primary { min-height: 46px; padding: .7em 1.3em; font-size: .92rem; box-shadow: 0 10px 24px rgba(16,18,74,.22); }
  .hide-sm { display: inline; }
  .header-inner { display: flex; align-items: center; gap: 28px; }
  .hero { padding: 72px 0 100px; }
  .hero .wrap { grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
  .fc-1 { left: -3%; bottom: 12%; } .fc-2 { right: -3%; top: 10%; }
  .help-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 30px; }
  .help-top .head { margin: 0; }
  .help-top .tabs { margin: 0; }
  .conds { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .about .wrap { grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: center; }
  .about-photo { max-width: 380px; }
  .book-grid { grid-template-columns: 1.05fr .95fr; gap: 18px; align-items: start; }
  .breathe .wrap { grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
  .breath-stage { max-width: 420px; }
  .bg-lines { width: 560px; right: -120px; top: -80px; }
  .reviews-top { display: flex; justify-content: space-between; align-items: flex-end; }
  .quotes { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .place-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .faq .wrap { grid-template-columns: .8fr 1.2fr; gap: 64px; }
  .final { padding: 100px 0; }
  .final .hero-ctas { max-width: none; justify-content: center; }
  .mobile-bar { display: none; }
  .wa-float { display: grid; }
}

/* =========================================================
   17. Animaciones (solo si no se pide reducir movimiento)
   ========================================================= */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; translate: 0 24px; transition: opacity .9s ease, translate .9s var(--ease); transition-delay: var(--d, 0s); }
  .js .reveal.in { opacity: 1; translate: 0 0; }
  .js .w > span { translate: 0 110%; animation: up .9s var(--ease) forwards; animation-delay: calc(var(--i) * 70ms + .1s); }
  @keyframes up { to { translate: 0 0; } }
  .js .hero-in { opacity: 0; animation: fade .9s var(--ease) forwards; animation-delay: var(--d, .6s); }
  @keyframes fade { from { opacity: 0; translate: 0 14px; } to { opacity: 1; translate: 0 0; } }
  .js .orbits path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.4s cubic-bezier(.6,0,.2,1) forwards; animation-delay: calc(var(--i) * .25s + .3s); }
  @keyframes draw { to { stroke-dashoffset: 0; } }
  .js .orbits circle { scale: 0; transform-box: fill-box; transform-origin: center; animation: pop .5s var(--back) forwards, pulse 4s ease-in-out infinite; animation-delay: calc(var(--i) * .15s + 1.6s), calc(var(--i) * .4s + 2.2s); }
  @keyframes pop { to { scale: 1; } }
  @keyframes pulse { 50% { scale: 1.45; } }
  .js .blob { scale: .92; opacity: 0; animation: blobIn 1.2s var(--ease) .15s forwards, morph 14s ease-in-out 1.4s infinite; }
  @keyframes blobIn { to { scale: 1; opacity: 1; } }
  @keyframes morph { 50% { border-radius: 54% 46% 44% 56% / 46% 56% 44% 54%; } }
  .js .float-card { opacity: 0; translate: 0 16px; animation: fade .8s var(--ease) forwards, bob 6s ease-in-out infinite; }
  .js .fc-1 { animation-delay: 1.3s, 2.2s; }
  .js .fc-2 { animation-delay: 1.5s, 3.2s; }
  @keyframes bob { 50% { translate: 0 -8px; } }
  .conds:not([hidden]) .cond { animation: condIn .5s var(--ease) backwards; animation-delay: calc(var(--i) * 60ms); }
  @keyframes condIn { from { opacity: 0; transform: translateY(12px); } }
  .bg-lines { animation: spin 90s linear infinite; }
  @keyframes spin { to { rotate: 360deg; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wa-float::before { animation: none; }
  .orb, .orb-logo { transition-duration: .01s !important; }
}

/* ---------- Páginas legales ---------- */
.legal-body { padding-bottom: 0; }
.legal-body .header { border-color: var(--line); }
.legal-doc { max-width: 760px; padding: 48px var(--gut) 72px; }
.legal-doc h1 { font-size: clamp(2rem, 6vw, 2.8rem); }
.legal-doc h2 { font-size: 1.45rem; margin-top: 2em; }
.legal-doc .updated { color: var(--muted); font-size: .9rem; }
.legal-doc ul { padding-left: 1.2em; }
.legal-doc li { margin-bottom: .4em; }
.legal-doc a { color: var(--accent-d); }
.legal-doc dl { display: grid; gap: 4px 16px; grid-template-columns: max-content 1fr; background: var(--mist); border-radius: var(--r); padding: 18px 20px; margin: 0 0 1.5em; }
.legal-doc dt { font-weight: 700; color: var(--ink); }
.legal-doc dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 520px) { .legal-doc dl { grid-template-columns: 1fr; } .legal-doc dd { margin-bottom: 8px; } }
