/* ============================================================
   Dr. Wilson Matos · Wilson Matos Dental Clinic
   Paleta tomada de su uniforme (azul marino) y de sus posts (cobalto / cielo / blanco)
   ============================================================ */
:root {
  --navy-950: #071131;
  --navy-900: #0d1c4c;
  --navy-800: #15296a;
  --cobalt: #1c58dc;
  --cobalt-600: #1747b8;
  --sky: #47a6f4;
  --sky-200: #cfe5fd;
  --ice: #eaf3fe;
  --paper: #f6f9fe;
  --white: #ffffff;
  --ink: #0a1430;
  --muted: #56658a;
  --line: #d9e4f4;

  --f-head: "Sora", system-ui, sans-serif;
  --f-body: "Onest", system-ui, sans-serif;
  --f-script: "Mrs Saint Delafield", cursive;

  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 32px;
  --shadow-1: 0 1px 2px rgba(10, 20, 48, .05), 0 12px 32px -14px rgba(13, 28, 76, .22);
  --shadow-2: 0 30px 70px -30px rgba(13, 28, 76, .45);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --wrap: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--f-body); color: var(--ink); background: var(--paper);
  font-size: 16.5px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--f-head); line-height: 1.08; margin: 0; letter-spacing: -.025em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
svg { width: 1em; height: 1em; flex: none; }
:focus-visible { outline: 2.5px solid var(--sky); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.script { font-family: var(--f-script); font-weight: 400; letter-spacing: 0; color: var(--cobalt); font-size: 1.32em; line-height: .6; padding-inline: .06em .1em; }
.accent { color: var(--cobalt); }

/* Degradado azul de títulos (igual a sus posts: azul claro → azul rey) */
:root {
  --grad-blue: linear-gradient(95deg, #3f93f3 0%, #2a6be0 48%, #1c3fae 100%);
  --grad-blue-light: linear-gradient(95deg, #9fd2ff 0%, #5cb0f7 50%, #3d86ee 100%);
}
.accent, .hero__title em, h1 .script, h2 .script {
  background-image: var(--grad-blue);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
/* el script necesita aire extra para que el degradado cubra los trazos largos */
h1 .script, h2 .script { padding: .22em .14em .28em .08em; margin: -.22em -.06em -.28em 0; }
.care__l3 .script, .cta__h .script { background-image: var(--grad-blue-light); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
  font: 600 12.5px/1 var(--f-head); letter-spacing: .22em; text-transform: uppercase; color: var(--cobalt);
}
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: currentColor; }
.eyebrow--light { color: var(--sky); }
.h2 { font-size: clamp(34px, 4.2vw, 56px); font-weight: 600; }

/* ---------- Formas ---------- */
.shape-tooth { clip-path: url(#clip-tooth); }
.shape-L { clip-path: url(#clip-L); }
.shape-L-bl { clip-path: url(#clip-L-bl); }
.shape-L-tl { clip-path: url(#clip-L-tl); }
.shape-tooth img, .shape-L img, .shape-L-bl img, .shape-L-tl img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Botones ---------- */
.btn {
  --bg: var(--cobalt); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 22px; border-radius: 999px; border: 1.5px solid transparent;
  background: var(--bg); color: var(--fg); font: 600 15px/1 var(--f-head); letter-spacing: -.005em;
  cursor: pointer; white-space: nowrap;
  transition: transform .35s var(--ease), background-color .3s, box-shadow .35s var(--ease), color .3s;
}
.btn svg { font-size: 18px; transition: transform .35s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg { transform: translate(2px, -2px); }
.btn--primary { box-shadow: 0 14px 30px -14px rgba(28, 88, 220, .8); }
.btn--primary:hover { --bg: var(--cobalt-600); box-shadow: 0 18px 34px -14px rgba(28, 88, 220, .9); }
.btn--ghost { --bg: transparent; --fg: var(--navy-900); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--navy-900); }
.btn--light { --bg: #fff; --fg: var(--navy-900); }
.btn--outline-light { --bg: transparent; --fg: #fff; border-color: rgba(255,255,255,.35); }
.btn--outline-light:hover { border-color: #fff; }
.btn--lg { padding: 17px 28px; font-size: 16px; }

/* ---------- Navegación ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background-color .4s, box-shadow .4s, backdrop-filter .4s; }
.nav__inner { width: min(var(--wrap), 100% - 48px); margin-inline: auto; height: 84px; display: flex; align-items: center; gap: 32px; }
.nav.is-scrolled { background: rgba(246, 249, 254, .82); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 1px 0 var(--line); }
.nav__logo img { height: 44px; width: auto; }
.nav__links { display: flex; gap: 30px; margin-left: auto; }
.nav__links a { position: relative; font: 500 15px/1 var(--f-head); color: var(--navy-900); padding: 8px 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--cobalt); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { padding: 12px 20px; }
.nav__burger { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; cursor: pointer; position: relative; }
.nav__burger span { position: absolute; left: 13px; right: 13px; height: 1.8px; background: var(--navy-900); transition: transform .35s var(--ease); }
.nav__burger span:first-child { top: 18px; } .nav__burger span:last-child { top: 26px; }
.nav.is-open .nav__burger span:first-child { transform: translateY(4px) rotate(45deg); }
.nav.is-open .nav__burger span:last-child { transform: translateY(-4px) rotate(-45deg); }
.nav__mobile { display: none; }

/* ---------- 1 · Hero ---------- */
.hero { position: relative; padding: 150px 0 0; background: linear-gradient(180deg, #fff 0%, var(--paper) 70%); overflow-x: clip; z-index: 3; }
.hero__arc { position: absolute; width: 820px; right: -180px; top: -60px; fill: none; stroke: var(--sky-200); stroke-width: 26; opacity: .55; pointer-events: none; }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.08fr 1fr; gap: 40px; align-items: center; }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font: 500 13px/1.2 var(--f-head); color: var(--navy-800); box-shadow: var(--shadow-1); margin-bottom: 28px; }
.chip__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 0 5px rgba(71,166,244,.18); }
.hero__title { font-size: clamp(40px, 5.3vw, 78px); font-weight: 600; color: var(--navy-900); letter-spacing: -.035em; line-height: 1.02; }
.hero__title .script { font-size: 1.45em; display: inline-block; transform: translateY(.08em); }
.hero__title em { font-style: normal; color: var(--cobalt); }
.hero__l { display: block; white-space: nowrap; }
.hero__lead { max-width: 520px; margin: 28px 0 34px; font-size: 18px; color: var(--muted); }
.hero__lead strong { color: var(--navy-900); font-weight: 600; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 34px; font: 500 14.5px/1 var(--f-head); color: var(--navy-800); }
.hero__meta li { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta svg { font-size: 18px; color: var(--cobalt); }
.hero__meta i { font-style: normal; color: var(--cobalt); }

.hero__visual { position: relative; height: 640px; }
.hero__photo { position: absolute; right: 0; top: 0; width: 86%; height: 100%; background: var(--ice); }
.hero__photo img { object-position: 50% 18%; }
.pill { position: absolute; border-radius: 999px; background: linear-gradient(135deg, var(--sky), var(--cobalt)); transform: rotate(-38deg); opacity: .9; }
.pill--a { width: 300px; height: 92px; right: -110px; top: 40px; opacity: .85; }
.pill--b { width: 220px; height: 70px; left: -6%; bottom: 120px; background: linear-gradient(135deg, var(--sky-200), var(--sky)); }
.pill--c { width: 34px; height: 34px; right: 52%; top: 18px; background: var(--sky); }
.hero__shield { position: absolute; width: 132px; right: 3%; top: 2%; z-index: 3; filter: drop-shadow(0 22px 28px rgba(28,88,220,.35)); }
.hero__tooth { position: absolute; left: 0; bottom: 60px; width: 200px; height: 210px; z-index: 3; box-shadow: var(--shadow-2); }
.hero__tooth::after { content: ""; position: absolute; inset: 0; }
.hero__note { position: absolute; left: -6%; top: 7%; z-index: 4; display: flex; align-items: center; gap: 12px; padding: 14px 18px 14px 12px; max-width: 270px; }
.hero__note img { width: 44px; height: auto; }
.hero__note p { margin: 0; display: grid; gap: 2px; font-size: 13px; line-height: 1.35; color: var(--muted); }
.hero__note b { font: 600 14.5px/1.25 var(--f-head); color: var(--navy-900); }
.hero__sign { position: absolute; right: 4%; bottom: 14px; z-index: 4; margin: 0; font: 54px/1 var(--f-script); color: #fff; text-shadow: 0 2px 18px rgba(7,17,49,.55); transform: rotate(-6deg); }
.glass { background: rgba(255,255,255,.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.9); border-radius: 18px; box-shadow: var(--shadow-2); }

/* Reserva */
.booking {
  position: relative; z-index: 5; margin: 44px 0 -58px; padding: 14px 14px 14px 28px;
  display: grid; grid-template-columns: 1.1fr 1fr 1.3fr .9fr auto; gap: 8px; align-items: center;
  background: #fff; border-radius: 26px; box-shadow: 0 34px 70px -34px rgba(13,28,76,.4), 0 0 0 1px var(--line);
}
.booking__f { display: grid; gap: 4px; padding: 6px 16px 6px 0; border-right: 1px solid var(--line); }
.booking__f:nth-of-type(4) { border-right: 0; }
.booking__f span { font: 600 12px/1 var(--f-head); letter-spacing: .08em; text-transform: uppercase; color: var(--navy-800); }
.booking__f input, .booking__f select { border: 0; padding: 4px 0; background: transparent; font-size: 15px; color: var(--ink); min-width: 0; width: 100%; outline: none; appearance: none; }
.booking__f select { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%231c58dc' stroke-width='2' d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right center / 16px no-repeat; padding-right: 20px; cursor: pointer; }
.booking__f input::placeholder { color: #75819f; }
.booking__btn { padding: 18px 26px; }
.booking__err { grid-column: 1 / -1; margin: 0; font-size: 13.5px; color: #c0392b; }
.booking.is-invalid .booking__f:first-of-type input::placeholder { color: #c0392b; }

/* ---------- Bandas ---------- */
.bands { position: relative; padding: 130px 0 70px; overflow: hidden; }
.band { white-space: nowrap; overflow: hidden; }
.band__track { display: inline-flex; gap: 0; will-change: transform; }
.band span { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font: 600 clamp(20px, 2vw, 26px)/1 var(--f-head); letter-spacing: -.01em; }
.band span::after { content: ""; width: 26px; height: 26px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 4.6c1.6-1 4.6-1.6 6.2.4 1.5 1.9.6 4.6-.1 6.3-.6 1.5-.7 3.5-1.4 5.3-.6 1.7-2.2 1.9-2.6.2-.4-1.7-.8-3.2-2.1-3.2s-1.7 1.5-2.1 3.2c-.4 1.7-2 1.5-2.6-.2-.7-1.8-.8-3.8-1.4-5.3-.7-1.7-1.6-4.4-.1-6.3 1.6-2 4.6-1.4 6.2-.4Z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 4.6c1.6-1 4.6-1.6 6.2.4 1.5 1.9.6 4.6-.1 6.3-.6 1.5-.7 3.5-1.4 5.3-.6 1.7-2.2 1.9-2.6.2-.4-1.7-.8-3.2-2.1-3.2s-1.7 1.5-2.1 3.2c-.4 1.7-2 1.5-2.6-.2-.7-1.8-.8-3.8-1.4-5.3-.7-1.7-1.6-4.4-.1-6.3 1.6-2 4.6-1.4 6.2-.4Z'/%3E%3C/svg%3E") center / contain no-repeat; opacity: .85; }
.band--main { position: relative; z-index: 2; background: var(--cobalt); color: #fff; padding: 22px 0; transform: rotate(-2deg) scale(1.04); box-shadow: 0 24px 40px -26px rgba(7,17,49,.45); }
.band--ghost { position: absolute; left: 0; right: 0; top: 50%; background: var(--navy-900); color: var(--sky-200); padding: 18px 0; transform: translateY(-20%) rotate(2.2deg) scale(1.04); }
.band--ghost span { font-size: clamp(17px, 1.6vw, 21px); }

/* ---------- 2 · Sobre mí ---------- */
.about { padding: 70px 0 130px; }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about__visual { position: relative; height: 600px; }
.about__main { position: absolute; right: 0; top: 0; width: 80%; height: 92%; background: var(--ice); }
.about__main img { object-position: 50% 25%; }
.about__mini { position: absolute; left: 0; bottom: 0; width: 42%; height: 46%; background: var(--ice); filter: drop-shadow(0 24px 30px rgba(13,28,76,.3)); }
.about__mini img { object-position: 30% 30%; }
.spark { position: absolute; color: var(--cobalt); }
.spark--1 { width: 46px; height: 46px; left: 6%; top: 10%; }
.spark--2 { width: 24px; height: 24px; left: 16%; top: 24%; color: var(--sky); }
.badge-rot { position: absolute; right: 8%; bottom: 4%; width: 124px; height: 124px; border-radius: 50%; background: var(--navy-900); display: grid; place-items: center; box-shadow: 0 0 0 8px var(--paper), var(--shadow-2); z-index: 3; }
.badge-rot__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.badge-rot__ring text { font: 600 10.4px var(--f-head); letter-spacing: .17em; fill: #fff; }
.badge-rot__core { width: 48px; height: 48px; border-radius: 50%; background: var(--cobalt); display: grid; place-items: center; color: #fff; font-size: 22px; transition: transform .4s var(--ease); }
.badge-rot:hover .badge-rot__core { transform: rotate(45deg) scale(1.08); }
@keyframes spin { to { transform: rotate(360deg); } }
.about__copy > p { color: var(--muted); font-size: 17px; max-width: 540px; }
.about__copy .h2 { margin-bottom: 26px; }
.ticks { display: grid; gap: 14px; margin: 30px 0 38px; }
.ticks li { display: flex; align-items: center; gap: 14px; font: 500 15.5px/1.4 var(--f-head); color: var(--navy-900); }
.ticks img { width: 30px; flex: none; }
.about__foot { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.sig { margin: 0; font: 58px/1 var(--f-script); color: var(--navy-900); transform: rotate(-4deg); }

/* ---------- 3 · Tratamientos ---------- */
.treat { padding: 120px 0; background: #fff; border-radius: 48px 48px 0 0; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 56px; }
.sec-head .h2 { max-width: 640px; }
.sec-head__aside { max-width: 380px; color: var(--muted); margin: 0; }
.sec-head--center { flex-direction: column; align-items: center; text-align: center; }
.tgrid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; grid-auto-rows: auto; gap: 22px; }
.tcard { position: relative; display: flex; flex-direction: column; background: var(--paper); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s; }
.tcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); border-color: transparent; }
.tcard__media { position: relative; height: 210px; overflow: hidden; }
.tcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.tcard:hover .tcard__media img { transform: scale(1.06); }
.tcard__icon { position: absolute; left: 26px; top: 182px; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--cobalt); color: #fff; font-size: 26px; box-shadow: 0 0 0 6px var(--paper); z-index: 2; }
.tcard__body { padding: 44px 28px 30px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.tcard h3 { font-size: 21px; font-weight: 600; color: var(--navy-900); }
.tcard p { margin: 0; color: var(--muted); font-size: 15px; }
.tlink { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 8px; font: 600 14.5px/1 var(--f-head); color: var(--cobalt); }
.tlink svg { transition: transform .35s var(--ease); }
.tlink:hover svg { transform: translate(3px, -3px); }

.tcard--hero { grid-row: span 2; background: var(--navy-900); border: 0; color: #fff; }
.tcard--hero .tcard__media { height: 420px; margin: 14px 14px 0; border-radius: 0; }
.tcard--hero .tcard__media img { object-position: 50% 40%; }
.tcard__num { position: absolute; left: 30px; top: 30px; font: 600 64px/1 var(--f-head); color: #fff; letter-spacing: -.04em; z-index: 2; }
.tcard--hero .tcard__body { padding: 30px 32px 34px; }
.tcard--hero h3 { color: #fff; font-size: 30px; }
.tcard--hero p { color: rgba(255,255,255,.75); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.tags li { padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); font: 500 13px/1 var(--f-head); }

.tcard--navy { grid-column: 1 / -1; background: linear-gradient(120deg, var(--cobalt) 0%, var(--navy-800) 100%); border: 0; color: #fff; flex-direction: row; align-items: center; min-height: 250px; overflow: visible; }
.tcard--navy .tcard__body { padding: 40px 40px 40px 0; max-width: 640px; align-items: flex-start; }
.tcard--navy h3 { color: #fff; font-size: 26px; }
.tcard--navy p { color: rgba(255,255,255,.82); margin-bottom: 10px; }
.tcard__obj { width: 230px; margin: 0 28px 0 34px; filter: drop-shadow(0 24px 30px rgba(7,17,49,.45)); flex: none; }

/* ---------- 4 · Cuidado perfecto ---------- */
.care { position: relative; background: var(--navy-950); color: #fff; padding: 130px 0 130px; overflow: hidden; }
.care__glow { position: absolute; width: 1000px; height: 1000px; left: -16%; bottom: -22%; background: radial-gradient(circle, rgba(28,88,220,.55), rgba(28,88,220,0) 62%); pointer-events: none; }
.care__arc { position: absolute; width: 760px; right: -220px; bottom: -260px; fill: none; stroke: rgba(71,166,244,.16); stroke-width: 22; }
.care__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.care__title { position: relative; z-index: 3; margin-bottom: 54px; }
.care__h { font-size: clamp(54px, 7vw, 104px); font-weight: 600; line-height: .95; letter-spacing: -.045em; }
.care__h > span { display: block; }
.care__l2 { color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.75); }
.care__l3 { margin-top: .1em; }
.care__l3 .script { color: var(--sky); font-size: 1.5em; display: inline-block; transform: translateY(.12em); }
/* la mano sale del borde izquierdo e inferior de la sección: sus bordes cortados nunca se ven */
.care__hand { position: absolute; left: 0; bottom: 0; z-index: 2; pointer-events: none; line-height: 0; }
.care__hand img { width: min(50vw, 720px); height: auto; max-width: none; transform: translateY(var(--hand-y, 40px)); filter: drop-shadow(0 30px 50px rgba(0,0,0,.45)); }
.care__list { position: relative; z-index: 3; }
.care__list ol { display: grid; gap: 30px; }
.care__list li { display: grid; grid-template-columns: 52px 1fr; gap: 16px; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.12); }
.care__list li > span { font: 600 15px/1 var(--f-head); color: var(--sky); padding-top: 6px; }
.care__list h3 { font-size: 21px; font-weight: 600; margin-bottom: 8px; }
.care__list p { margin: 0; color: rgba(255,255,255,.68); font-size: 15px; }
.care__quote { margin: 34px 0 0; font: 400 40px/1.1 var(--f-script); color: var(--sky-200); }

/* ---------- 5 · Casos ---------- */
.cases { padding: 130px 0; background: var(--paper); }
.tabs { display: flex; flex-wrap: nowrap; gap: 4px; flex: none; padding: 6px; border-radius: 999px; background: #fff; border: 1px solid var(--line); }
.tabs button { border: 0; background: transparent; padding: 11px 18px; border-radius: 999px; cursor: pointer; font: 600 14px/1 var(--f-head); color: var(--muted); transition: background-color .35s, color .35s; }
.tabs button[aria-selected="true"] { background: var(--navy-900); color: #fff; }
.tabs button:hover:not([aria-selected="true"]) { color: var(--navy-900); }
.cases__grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: 40px; align-items: stretch; }

.ba { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 560px; min-width: 0; background: #1a0f12; box-shadow: var(--shadow-2); user-select: none; touch-action: pan-y; }
.ba__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .45s; }
.ba__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba.is-swapping .ba__img { opacity: 0; }
.ba__tag { position: absolute; top: 22px; padding: 9px 16px; border-radius: 999px; font: 700 12.5px/1 var(--f-head); letter-spacing: .12em; text-transform: uppercase; z-index: 3; pointer-events: none; }
.ba__tag--b { left: 22px; background: #fff; color: var(--navy-900); }
.ba__tag--a { right: 22px; background: var(--cobalt); color: #fff; }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: #fff; transform: translateX(-1px); z-index: 2; pointer-events: none; }
.ba__handle span { position: absolute; top: 50%; left: 50%; width: 58px; height: 58px; border-radius: 50%; background: #fff; transform: translate(-50%, -50%); box-shadow: 0 10px 30px rgba(0,0,0,.3); }
.ba__handle span::before, .ba__handle span::after { content: ""; position: absolute; top: 50%; width: 9px; height: 9px; border: solid var(--cobalt); border-width: 0 0 2.5px 2.5px; }
.ba__handle span::before { left: 15px; transform: translateY(-50%) rotate(45deg); }
.ba__handle span::after { right: 15px; transform: translateY(-50%) rotate(-135deg); }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; z-index: 4; margin: 0; }

.case-info { position: relative; background: #fff; border-radius: var(--r-lg); padding: 40px 38px; border: 1px solid var(--line); display: flex; flex-direction: column; overflow: hidden; }
.case-info__kicker { font: 600 13px/1 var(--f-head); letter-spacing: .14em; text-transform: uppercase; color: var(--cobalt); margin-bottom: 16px; }
.case-info h3 { font-size: 28px; font-weight: 600; color: var(--navy-900); margin-bottom: 16px; }
.case-info > p { color: var(--muted); }
.case-info__steps { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; counter-reset: s; }
.case-info__steps li { counter-increment: s; padding: 9px 14px; border-radius: 999px; background: var(--ice); color: var(--navy-800); font: 500 13.5px/1 var(--f-head); }
.case-info__steps li::before { content: counter(s) ". "; color: var(--cobalt); font-weight: 700; }
.case-info__polaroid { margin: 34px -12px -120px auto; width: 64%; padding: 10px 10px 32px; background: #fff; border-radius: 6px; box-shadow: var(--shadow-2); transform: rotate(5deg); transition: transform .6s var(--ease); }
.case-info:hover .case-info__polaroid { transform: rotate(2deg) translateY(-14px); }
.case-info__swap { animation: fadeSwap .5s var(--ease); }
@keyframes fadeSwap { from { opacity: 0; transform: translateY(8px); } }

/* ---------- 6 · Proceso ---------- */
.steps { position: relative; padding: 130px 0; background: var(--ice); overflow: hidden; }
.steps__head { position: relative; max-width: 820px; margin: 0 auto 70px; text-align: center; }
.steps__head .h2 .script { display: block; font-size: 1.35em; line-height: 1; margin-top: .1em; }
.steps__cal { position: absolute; width: 170px; right: -190px; top: -20px; filter: drop-shadow(0 24px 28px rgba(28,88,220,.3)); }
.steps__list { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.steps__list::before { content: ""; position: absolute; left: 12%; right: 12%; top: 34px; border-top: 2px dashed rgba(28,88,220,.35); }
.steps__list li { position: relative; text-align: center; padding: 0 8px; }
.steps__n { position: relative; display: grid; place-items: center; width: 70px; height: 70px; margin: 0 auto 24px; border-radius: 50%; background: #fff; color: var(--cobalt); font: 600 26px/1 var(--f-head); box-shadow: 0 0 0 10px var(--ice), var(--shadow-1); transition: background-color .4s, color .4s; }
.steps__list li:hover .steps__n { background: var(--cobalt); color: #fff; }
.steps__list h3 { font-size: 20px; font-weight: 600; color: var(--navy-900); margin-bottom: 10px; }
.steps__list p { color: var(--muted); font-size: 15px; margin: 0; }

/* ---------- 7 · Mitos ---------- */
.myths { padding: 130px 0; background: #fff; }
.myths__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: start; }
.myths__side > p { color: var(--muted); max-width: 420px; }
.myths__side .h2 .script { font-size: 1.6em; }
.myths__photo { margin-top: 36px; height: 380px; background: var(--ice); }
.myths__photo img { object-position: 50% 30%; }
.myths__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.myths__cards .myth:nth-child(2) { transform: translateY(48px); }
.myths__cards .myth:nth-child(4) { transform: translateY(48px); }
.myth { position: relative; min-height: 270px; border: 0; padding: 0; background: none; cursor: pointer; text-align: left; perspective: 1200px; }
.myth__front, .myth__back { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 30px 28px; border-radius: var(--r-lg); backface-visibility: hidden; -webkit-backface-visibility: hidden; transition: transform .8s var(--ease); }
.myth__front { background: var(--paper); border: 1px solid var(--line); font: 600 21px/1.25 var(--f-head); color: var(--navy-900); letter-spacing: -.015em; }
.myth__front small { position: absolute; top: 28px; left: 28px; font: 600 12px/1 var(--f-head); letter-spacing: .14em; text-transform: uppercase; color: var(--cobalt); }
.myth__front::after { content: "+"; position: absolute; top: 20px; right: 22px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); color: var(--cobalt); font: 500 22px/1 var(--f-head); }
.myth__back { transform: rotateY(180deg); color: #fff; font-size: 15.5px; line-height: 1.55; }
.myth__back b { font: 400 64px/1 var(--f-script); margin-bottom: 12px; }
.myth__back--m { background: var(--navy-900); }
.myth__back--v { background: var(--cobalt); }
.myth.is-flipped .myth__front { transform: rotateY(-180deg); }
.myth.is-flipped .myth__back { transform: rotateY(0); }
.myth:hover .myth__front { border-color: var(--sky); }

/* ---------- 8 · Consulta ---------- */
.clinic { padding: 130px 0 120px; background: var(--paper); }
.clinic .sec-head .h2 { max-width: 760px; }
.mosaic { position: relative; display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; grid-template-rows: 260px 260px; grid-template-areas: "a b b c" "a d e c"; gap: 18px; }
.mosaic figure { position: relative; overflow: hidden; border-radius: var(--r-md); background: var(--ice); }
.mosaic figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.mosaic figure:hover img { transform: scale(1.05); }
.mosaic figure.shape-L, .mosaic figure.shape-L-bl, .mosaic figure.shape-tooth { border-radius: 0; }
.mosaic figcaption { position: absolute; left: 14px; bottom: 14px; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.9); font: 600 12.5px/1 var(--f-head); color: var(--navy-900); }
.m1 { grid-area: a; }
.m1 img { object-position: 40% 50%; }
.m2 { grid-area: b; }
.m3 { grid-area: c; background: transparent !important; }
.m3 img { object-position: 60% 30%; }
.m4 { grid-area: d; }
.m5 { grid-area: e; }
.m5 img { object-position: 50% 40%; }
.mosaic__shield { position: absolute; width: 104px; left: 26%; top: -48px; z-index: 3; filter: drop-shadow(0 20px 26px rgba(28,88,220,.35)); }

/* ---------- 9 · Contacto ---------- */
.contact { padding: 30px 0 120px; background: var(--paper); }
.cta { position: relative; display: grid; grid-template-columns: 1fr 460px; gap: 40px; padding: 70px 0 70px 70px; border-radius: 44px; background: var(--navy-900); color: #fff; overflow: hidden; }
.cta::before { content: ""; position: absolute; width: 700px; height: 700px; left: -200px; bottom: -400px; background: radial-gradient(circle, rgba(71,166,244,.35), transparent 65%); }
.cta__copy { position: relative; z-index: 2; }
.cta__logo { width: 200px; margin-bottom: 40px; }
.cta__h { font-size: clamp(38px, 4.6vw, 64px); font-weight: 600; margin-bottom: 22px; }
.cta__h .script { color: var(--sky); font-size: 1.15em; line-height: 1.1; }
.cta__copy > p { color: rgba(255,255,255,.75); font-size: 17px; max-width: 460px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 44px; }
.cta__info { display: flex; flex-wrap: wrap; gap: 36px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.14); }
.cta__info li { display: flex; gap: 12px; align-items: flex-start; }
.cta__info svg { font-size: 22px; color: var(--sky); margin-top: 3px; }
.cta__info span { display: grid; gap: 2px; font-size: 15.5px; color: rgba(255,255,255,.85); }
.cta__info b { font: 600 12px/1.3 var(--f-head); letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.cta__info a:hover { color: var(--sky); }
/* recorte del doctor: pegado a la esquina inferior derecha del panel (sus bordes cortados quedan ocultos) */
.cta__photo { position: relative; z-index: 1; margin: -70px 0 -70px; min-height: 680px; }
.cta__photo img { position: absolute; right: 0; bottom: 0; height: calc(100% - 36px); width: auto; max-width: none; filter: drop-shadow(-18px 10px 40px rgba(3, 8, 28, .45)); }
/* la animación de entrada no puede mover el recorte (se verían sus bordes cortados): solo aparece con opacidad */
.cta__photo.img-reveal, .cta__photo.img-reveal img { transform: none !important; }
.cta__halo { position: absolute; right: -40px; bottom: 40px; width: 640px; height: 640px; border-radius: 50%; background: radial-gradient(circle, rgba(92,176,247,.75) 0%, rgba(28,88,220,.55) 36%, rgba(28,88,220,0) 70%); pointer-events: none; }

/* ---------- Footer ---------- */
.foot { padding: 50px 0 40px; background: #fff; border-top: 1px solid var(--line); }
.foot__inner { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.foot__inner > img { height: 46px; width: auto; }
.foot__inner > p { margin: 0; font: 32px/1 var(--f-script); color: var(--navy-900); }
.foot nav { display: flex; gap: 22px; margin-left: auto; font: 500 14.5px/1 var(--f-head); color: var(--navy-800); }
.foot nav a:hover { color: var(--cobalt); }
.foot small { width: 100%; color: var(--muted); font-size: 13.5px; }

.wa-fab { position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; font-size: 30px; box-shadow: 0 16px 30px -10px rgba(0,0,0,.35); transition: transform .35s var(--ease); }
.wa-fab:hover { transform: scale(1.08); }

/* ============================================================
   Movimiento (capa propia, sin dependencias)
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.img-reveal { opacity: 0; transform: translateY(34px) scale(.97); transition: opacity 1.1s var(--ease), transform 1.2s var(--ease); }
.img-reveal img { transform: scale(1.12); transition: transform 1.6s var(--ease); }
[data-d="1"] { transition-delay: .08s; } [data-d="2"] { transition-delay: .16s; } [data-d="3"] { transition-delay: .24s; } [data-d="4"] { transition-delay: .32s; }
.is-in.reveal, .is-in.img-reveal { opacity: 1; transform: none; }
.is-in.img-reveal img { transform: scale(1); }
.myths__cards .myth.is-in:nth-child(2), .myths__cards .myth.is-in:nth-child(4) { transform: translateY(48px); }
.float { animation: bob 6s ease-in-out infinite; }
.hero__shield.float { animation-delay: -2s; }
@keyframes bob { 50% { translate: 0 -14px; rotate: 3deg; } }
.no-js .reveal, .no-js .img-reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .img-reveal, .img-reveal img { opacity: 1 !important; transform: none !important; transition: none !important; }
  .myths__cards .myth:nth-child(2), .myths__cards .myth:nth-child(4) { transform: translateY(48px) !important; }
  .float, .badge-rot__ring { animation: none; }
  .band__track { transform: none !important; }
  .care__hand img { --hand-y: 0px; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1180px) {
  .nav__links { gap: 22px; }
  .hero__visual { height: 580px; }
  .care__grid { grid-template-columns: .9fr 1.1fr; gap: 40px; }
  .care__hand img { width: min(46vw, 600px); }
  .steps__cal { right: -40px; top: -90px; width: 130px; }
  .booking { grid-template-columns: 1fr 1fr 1fr 1fr; padding: 18px; }
  .booking__f:nth-of-type(4) { border-right: 0; }
  .booking__btn { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }
  .nav__mobile { display: grid; position: absolute; top: 100%; left: 12px; right: 12px; padding: 8px; border-radius: 22px; background: #fff; box-shadow: var(--shadow-2); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s, transform .35s var(--ease), visibility .3s; }
  .nav__mobile a { padding: 15px 18px; border-radius: 14px; font: 500 16px/1 var(--f-head); color: var(--navy-900); }
  .nav__mobile a:hover { background: var(--ice); }
  .nav.is-open .nav__mobile { opacity: 1; visibility: visible; transform: none; }
  .nav.is-open { background: rgba(246, 249, 254, .95); }

  .hero { padding-top: 120px; }
  .hero__grid { grid-template-columns: 1fr; gap: 50px; }
  .hero__visual { height: 560px; max-width: 560px; width: 100%; margin-inline: auto; }
  .about__grid, .cases__grid, .myths__grid { grid-template-columns: 1fr; gap: 50px; }
  .about__visual { height: 520px; max-width: 540px; width: 100%; margin-inline: auto; }
  .sec-head { flex-direction: column; align-items: flex-start; }
  .tgrid { grid-template-columns: 1fr 1fr; }
  .tcard--hero { grid-column: span 2; grid-row: auto; }
  .tcard--hero .tcard__media { height: 340px; }
  .care { padding-bottom: 0; display: flex; flex-direction: column; }
  .care__hand { order: 2; }
  .care__grid { grid-template-columns: 1fr; }
  .care__spacer { display: none; }
  .care__hand { position: relative; margin-top: 50px; }
  .care__hand img { width: min(82vw, 560px); }
  .steps__list { grid-template-columns: 1fr 1fr; row-gap: 50px; }
  .steps__list::before { display: none; }
  .steps__cal { display: none; }
  .case-info__polaroid { width: 52%; margin-bottom: -90px; }
  .ba { min-height: 0; aspect-ratio: 4 / 3.3; }
  .tabs { flex-wrap: wrap; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 240px 220px 240px; grid-template-areas: "a c" "a c" "b b" "d e"; }
  .mosaic__shield { left: auto; right: 10px; top: -54px; width: 86px; }
  .cta { grid-template-columns: 1fr; padding: 54px 40px 0; }
  .cta__photo { margin: 20px -40px 0 0; min-height: 0; height: 620px; }
  .cta__photo img { height: 100%; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .wrap, .nav__inner { width: calc(100% - 36px); }
  .nav__inner { height: 72px; }
  .nav__logo img { height: 38px; }
  .chip { font-size: 12px; }
  .hero__title { font-size: 46px; }
  .hero__lead { font-size: 16.5px; }
  .hero__actions .btn { width: 100%; }
  .hero__visual { height: 460px; }
  .hero__photo { width: 100%; }
  .hero__tooth { width: 132px; height: 140px; bottom: 30px; }
  .hero__note { display: none; }
  .hero__note img { width: 34px; }
  .hero__shield { width: 92px; right: 2%; }
  .hero__sign { font-size: 40px; }
  .pill--a { right: -160px; }
  .pill--b { display: none; }
  .booking { grid-template-columns: 1fr; padding: 16px 18px 18px; margin-bottom: -40px; }
  .booking__f { border-right: 0; border-bottom: 1px solid var(--line); padding: 8px 0 10px; }
  .booking__f:nth-of-type(4) { border-bottom: 0; }
  .bands { padding: 100px 0 40px; }
  .about { padding: 50px 0 100px; }
  .about__visual { height: 420px; }
  .badge-rot { width: 100px; height: 100px; right: 2%; }
  .badge-rot__core { width: 40px; height: 40px; }
  .sig { font-size: 48px; }
  .treat, .cases, .steps, .myths, .clinic { padding: 90px 0; }
  .treat { border-radius: 30px 30px 0 0; }
  .tgrid { grid-template-columns: 1fr; }
  .tcard--hero, .tcard--navy { grid-column: auto; }
  .tcard--hero .tcard__media { height: 280px; }
  .tcard--navy { flex-direction: column; align-items: flex-start; }
  .tcard--navy .tcard__body { padding: 0 26px 32px; }
  .tcard__obj { width: 150px; margin: 26px 26px 6px; }
  .care { padding-top: 90px; }
  .care__h { font-size: 54px; }
  .care__hand img { width: 90vw; }
  .care__quote { font-size: 34px; }
  .tabs { border-radius: 20px; }
  .tabs button { padding: 10px 13px; font-size: 13px; }
  .case-info { padding: 30px 24px; }
  .case-info h3 { font-size: 24px; }
  .steps__list { grid-template-columns: 1fr; }
  .myths__cards { grid-template-columns: 1fr; }
  .myths__cards .myth:nth-child(2), .myths__cards .myth:nth-child(4),
  .myths__cards .myth.is-in:nth-child(2), .myths__cards .myth.is-in:nth-child(4) { transform: none; }
  .myth { min-height: 220px; }
  .myths__photo { height: 300px; }
  .mosaic { grid-template-rows: 170px 170px 180px 190px; gap: 12px; }
  .cta { padding: 44px 24px 0; border-radius: 30px; }
  .cta__photo { margin: 10px -24px 0 0; height: 520px; }
  .cta__halo { width: 420px; height: 420px; }
  .cta__logo { width: 160px; margin-bottom: 30px; }
  .cta__actions .btn { width: 100%; }
  .foot nav { margin-left: 0; flex-wrap: wrap; }
  .wa-fab { width: 52px; height: 52px; font-size: 27px; right: 16px; bottom: 16px; }
}

/* ============================================================
   Mini formulario de cita (modal → WhatsApp)
   ============================================================ */
.tcard__cta { align-self: flex-start; margin-top: 14px; }
html.has-modal { overflow: hidden; }
.book { padding: 0; border: 0; background: transparent; max-width: none; max-height: none; width: 100%; height: 100%; overflow: auto; color: var(--ink); }
.book[open] { display: grid; place-items: center; padding: 24px; }
.book::backdrop { background: rgba(7, 17, 49, .62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.book__card {
  position: relative; width: min(560px, 100%); padding: 40px 38px 34px; border-radius: 30px; background: #fff;
  box-shadow: 0 40px 90px -30px rgba(7, 17, 49, .6); overflow: hidden;
}
.book__card::before { content: ""; position: absolute; width: 360px; height: 360px; right: -150px; top: -190px; border-radius: 50%; background: radial-gradient(circle, var(--ice) 0%, rgba(234,243,254,0) 70%); pointer-events: none; }
.book__obj { position: absolute; width: 118px; right: 64px; top: 22px; filter: drop-shadow(0 16px 20px rgba(7, 17, 49, .22)); pointer-events: none; }
.book__close { position: absolute; right: 16px; top: 16px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.9); cursor: pointer; transition: transform .35s var(--ease), border-color .3s; }
.book__close span { position: absolute; left: 12px; right: 12px; top: 19px; height: 1.8px; background: var(--navy-900); }
.book__close span:first-child { transform: rotate(45deg); }
.book__close span:last-child { transform: rotate(-45deg); }
.book__close:hover { transform: rotate(90deg); border-color: var(--navy-900); }
.book__title { position: relative; font-size: 34px; font-weight: 600; color: var(--navy-900); max-width: 300px; }
.book__title .script { font-size: 1.5em; display: inline-block; transform: translateY(.1em); }
.book__sub { position: relative; margin: 14px 0 26px; color: var(--muted); font-size: 15px; max-width: 330px; }
.book__field { display: grid; gap: 8px; margin-bottom: 22px; }
.book__field span, .book__opts legend { font: 600 12.5px/1.2 var(--f-head); letter-spacing: .08em; text-transform: uppercase; color: var(--navy-800); }
.book__field input { width: 100%; padding: 15px 18px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--paper); font-size: 16px; outline: none; transition: border-color .3s, background-color .3s, box-shadow .3s; }
.book__field input::placeholder { color: #75819f; }
.book__field input:focus { border-color: var(--cobalt); background: #fff; box-shadow: 0 0 0 4px rgba(28, 88, 220, .12); }
.book__opts { border: 0; margin: 0 0 22px; padding: 0; min-width: 0; }
.book__opts legend { padding: 0; margin-bottom: 10px; }
.book__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.book__opt { position: relative; display: grid; cursor: pointer; }
.book__opt span { height: 100%; }
.book__opt input { position: absolute; opacity: 0; pointer-events: none; }
.book__opt span { display: flex; align-items: center; gap: 10px; padding: 13px 14px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; font: 500 14.5px/1.3 var(--f-head); color: var(--navy-900); transition: border-color .25s, background-color .25s, color .25s; }
.book__opt svg { font-size: 19px; color: var(--cobalt); transition: color .25s; }
.book__opt:hover span { border-color: var(--sky); }
.book__opt input:focus-visible + span { outline: 2.5px solid var(--sky); outline-offset: 2px; }
.book__opt input:checked + span { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.book__opt input:checked + span svg { color: var(--sky); }
.book__err { margin: -8px 0 14px; color: #c0392b; font-size: 14px; }
.book.is-invalid-name .book__field input { border-color: #c0392b; }
.book__send { width: 100%; }
.book[open] .book__card { animation: bookIn .5s var(--ease); }
.book[open]::backdrop { animation: fadeIn .35s ease; }
@keyframes bookIn { from { opacity: 0; transform: translateY(24px) scale(.97); } }
@keyframes fadeIn { from { opacity: 0; } }

@media (max-width: 620px) {
  .book[open] { place-items: end center; padding: 0; }
  .book__card { width: 100%; border-radius: 26px 26px 0 0; padding: 30px 20px calc(22px + env(safe-area-inset-bottom)); max-height: 94dvh; overflow-y: auto; }
  .book__obj { width: 80px; right: 62px; top: 18px; }
  .book__title { font-size: 28px; }
  .book__sub { margin-bottom: 20px; max-width: 250px; }
  .book__opt span { padding: 12px 11px; font-size: 13.5px; gap: 8px; }
  .book__opt svg { font-size: 17px; }
  .book[open] .book__card { animation-name: sheetIn; }
  @keyframes sheetIn { from { transform: translateY(100%); } }
}
@media (prefers-reduced-motion: reduce) {
  .book[open] .book__card, .book[open]::backdrop { animation: none; }
}

/* Títulos: sin letra cursiva (la cursiva queda solo en firma, cita y tarjetas de mitos). Conservan el degradado azul. */
h1 .script, h2 .script {
  font-family: var(--f-head) !important; font-weight: inherit; letter-spacing: inherit;
  font-size: 1em !important; line-height: inherit !important;
  display: inline; transform: none !important; padding: 0; margin: 0;
}
.steps__head .h2 .script { display: block; margin-top: 0; }

/* ============================================================
   Ajustes de teléfono (revisión 28-nov)
   ============================================================ */
@media (max-width: 960px) {
  /* columnas que nunca se ensanchan por su contenido (evita que la página "se quede con zoom") */
  .hero__grid, .about__grid, .cases__grid, .myths__grid, .care__grid { grid-template-columns: minmax(0, 1fr); }
  .tgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta { grid-template-columns: minmax(0, 1fr); }
  .hero__copy, .hero__visual, .about__copy, .case-info, .ba { min-width: 0; }

  /* zonas táctiles de 44px mínimo */
  .tlink, .tabs button, .hero__meta a, .cta__info a, .foot nav a { min-height: 44px; display: inline-flex; align-items: center; }
  .tlink { padding: 0; margin: -4px 0 -8px; }
  .tabs button { padding: 0 15px; }
  .hero__meta a, .cta__info a { margin: -13px 0; }
  .foot nav a { padding: 0 4px; }
  .booking__f input, .booking__f select { padding: 10px 0; }
}

@media (max-width: 620px) {
  /* título del hero: se ajusta al ancho del teléfono */
  .hero__l { white-space: normal; }
  .hero__title { font-size: min(46px, 11.2vw); }

  .tgrid { grid-template-columns: minmax(0, 1fr); }

  /* pasos compactos: número a la izquierda, texto a la derecha */
  .steps__head { margin-bottom: 44px; }
  .steps__list { gap: 0; }
  .steps__list li { display: grid; grid-template-columns: 54px minmax(0, 1fr); column-gap: 16px; text-align: left; padding: 20px 0; border-bottom: 1px solid rgba(28, 88, 220, .14); }
  .steps__list li:last-child { border-bottom: 0; }
  .steps__n { grid-row: span 2; width: 54px; height: 54px; margin: 0; font-size: 22px; box-shadow: var(--shadow-1); }
  .steps__list h3 { font-size: 18px; margin: 4px 0 6px; }

  /* mitos: sin espacio vacío de más */
  .myth { min-height: 190px; }

  /* el botón de WhatsApp no tapa los enlaces del pie */
  .foot { padding-bottom: 96px; }
  .foot nav { width: 100%; gap: 6px 8px; justify-content: space-between; }
}
