/* =========================================================
   Dra. Andrea González — Sitio de ejemplo
   Tipografía editorial, verde profundo y mucho aire.
   ========================================================= */

/* ---------- Fuentes locales ---------- */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("assets/fonts/BricolageGrotesque-normal-200-800.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("assets/fonts/InstrumentSans-normal-400-700.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("assets/fonts/InstrumentSans-italic-400-700.woff2") format("woff2");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("assets/fonts/InstrumentSerif-normal-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("assets/fonts/InstrumentSerif-italic-400.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --bg: #edf2f4;
  --bg-2: #dce6eb;
  --surface: #fffdf9;
  --ink: #1e2c35;
  --muted: #566975;
  --primary: #315f78;
  --accent: #c77d5b;
  --deep: #24465a;
  --deep-2: #1c3847;
  --line: rgba(41, 63, 75, 0.12);
  --line-strong: rgba(41, 63, 75, 0.18);
  --paper: #fbfaf7;
  --footer: #172832;

  --font-display: "Bricolage Grotesque", "Instrument Sans", system-ui, sans-serif;
  --font-body: "Instrument Sans", system-ui, -apple-system, sans-serif;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;

  --shadow-sm: 0 1px 2px rgba(29, 55, 68, 0.05), 0 12px 30px -20px rgba(29, 55, 68, 0.35);
  --shadow: 0 2px 4px rgba(29, 55, 68, 0.05), 0 24px 50px -24px rgba(29, 55, 68, 0.3);
  --shadow-lg: 0 4px 8px rgba(29, 55, 68, 0.05), 0 44px 80px -38px rgba(29, 55, 68, 0.42);

  --container: 1260px;
  --wrap: min(calc(100% - 2.5rem), var(--container));
  --nav-h: 76px;
  --radius: 24px;
  --radius-lg: 32px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body.menu-open {
  overflow: hidden;
}
img,
svg {
  display: block;
}
img {
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
}
button {
  font: inherit;
  color: inherit;
}
h1, h2, h3, p, figure, blockquote, ul, ol {
  margin: 0;
}
ul, ol {
  padding: 0;
}
::selection {
  background: var(--accent);
  color: #ffffff;
}
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}
.serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}
.icon {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.icon--fill {
  fill: currentColor;
  stroke: none;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 200;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: var(--deep);
  color: #fff;
  font-size: 0.9rem;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}
.skip-link:focus {
  transform: translateY(0);
}

/* ---------- Layout ---------- */
.wrap {
  width: var(--wrap);
  margin-inline: auto;
}
.section {
  position: relative;
  padding: clamp(4.5rem, 9vw, 8rem) 0;
}
main section[id] {
  scroll-margin-top: calc(var(--nav-h) + 16px);
}
.section--soft {
  background: var(--bg-2);
}

/* ---------- Tipografía ---------- */
.eyebrow {
  color: var(--primary);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  line-height: 1.2;
  letter-spacing: 0.005em;
  margin-bottom: 0.85rem;
}
.eyebrow--light {
  color: var(--accent);
}
.h2 {
  color: var(--deep);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.45rem, 5.1vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.h2 em {
  color: var(--primary);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.h2--light {
  color: var(--paper);
}
.h2--light em {
  color: var(--accent);
}

/* ---------- Botones ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.9rem 1.45rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s var(--ease), box-shadow 0.25s ease;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:active {
  transform: translateY(0) scale(0.985);
}
.btn .icon {
  width: 1.05rem;
  height: 1.05rem;
}
.btn--primary {
  background: var(--deep);
  color: #fff;
  box-shadow: 0 14px 28px -18px rgba(28, 56, 71, 0.9);
}
.btn--primary:hover {
  background: var(--primary);
}
.btn--ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--deep);
}
.btn--ghost:hover {
  background: rgba(36, 70, 90, 0.06);
  border-color: var(--primary);
}
.btn--sm {
  min-height: 42px;
  padding: 0.65rem 1.15rem;
  font-size: 0.88rem;
}
.btn--lg {
  min-height: 54px;
  padding: 1rem 1.7rem;
  font-size: 1.02rem;
}
.btn--lg .icon {
  width: 1.15rem;
  height: 1.15rem;
}
.icon--arrow {
  transition: transform 0.3s var(--ease);
}
.btn:hover .icon--arrow {
  transform: translate(3px, -3px);
}

/* ---------- Marquesina genérica ---------- */
.marquee {
  overflow: hidden;
  min-width: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee__track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: marquee 42s linear infinite;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 90;
  height: var(--nav-h);
  transition: background-color 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}
.site-header.is-scrolled {
  background: rgba(237, 242, 244, 0.84);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--line);
}
.menu-open .site-header {
  background: var(--bg);
}
.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  width: min(calc(100% - 2.5rem), 1320px);
  height: 100%;
  margin-inline: auto;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--deep);
  flex: none;
}
.brand__mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: var(--accent);
}
.brand__mark .icon {
  width: 27px;
  height: 27px;
  stroke-width: 6.5;
}
.brand__name {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 500;
  letter-spacing: -0.035em;
  white-space: nowrap;
}
.brand__name strong {
  font-weight: 750;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 2.2vw, 2.2rem);
  margin-left: auto;
}
.nav__links a {
  position: relative;
  padding: 0.45rem 0;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0;
  transform: translateX(-50%) scale(0.4);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.nav__links a:hover,
.nav__links a.is-active {
  opacity: 1;
}
.nav__links a.is-active::after {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}
.nav__cta {
  margin-left: 0.6rem;
}
.nav__burger {
  display: none;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 253, 249, 0.55);
  color: var(--deep);
  cursor: pointer;
}
.nav__burger .icon {
  grid-area: 1 / 1;
  width: 22px;
  height: 22px;
  transition: opacity 0.2s ease, transform 0.3s var(--ease);
}
.nav__burger .icon--close {
  opacity: 0;
  transform: rotate(-45deg) scale(0.6);
}
.nav__burger[aria-expanded="true"] .icon--menu {
  opacity: 0;
  transform: rotate(45deg) scale(0.6);
}
.nav__burger[aria-expanded="true"] .icon--close {
  opacity: 1;
  transform: none;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--nav-h) + 8px);
  background: var(--bg);
  isolation: isolate;
}
.hero__grid {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: repeating-linear-gradient(90deg, rgba(41, 63, 75, 0.045) 0 1px, transparent 1px 64px);
  -webkit-mask-image: linear-gradient(#000 55%, transparent 100%);
  mask-image: linear-gradient(#000 55%, transparent 100%);
}
.hero__glow {
  position: absolute;
  z-index: -1;
  top: 2rem;
  left: -14rem;
  width: 54rem;
  height: 54rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(199, 125, 91, 0.28), rgba(199, 125, 91, 0) 64%);
  filter: blur(12px);
  pointer-events: none;
}
.hero__glow::after {
  content: "";
  position: absolute;
  right: -30rem;
  bottom: -6rem;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(49, 95, 120, 0.14), rgba(49, 95, 120, 0) 68%);
}
.hero__inner {
  position: relative;
  width: min(calc(100% - 2.5rem), 1320px);
  margin-inline: auto;
  padding-bottom: 0.5rem;
}
.hero__eyebrow {
  text-align: center;
  color: var(--primary);
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  margin-bottom: 0.15rem;
}
.hero__stage {
  position: relative;
  height: clamp(500px, 48vw, 700px);
}
.hero__name {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0 0.6rem;
  color: transparent;
  background: linear-gradient(180deg, var(--deep) 0%, rgba(49, 95, 120, 0.48) 72%, rgba(49, 95, 120, 0.04) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  font-family: var(--font-display);
  font-size: clamp(6.5rem, 14.2vw, 13.2rem);
  font-weight: 700;
  line-height: 0.78;
  letter-spacing: -0.055em;
  white-space: nowrap;
  transform: translateY(-50%);
  pointer-events: none;
  user-select: none;
}
.hero__name span:first-child {
  margin-right: 0.12em;
}
.hero__doctor {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: -70px;
  width: clamp(360px, 36vw, 500px);
  transform: translateX(-50%);
  -webkit-mask-image: linear-gradient(#000 74%, transparent 99%);
  mask-image: linear-gradient(#000 74%, transparent 99%);
  filter: drop-shadow(0 28px 40px rgba(37, 70, 85, 0.16));
  translate: 0 0;
  transition: translate 0.6s var(--ease);
  will-change: transform, translate;
  animation: heroFloat 9s ease-in-out infinite;
}
.hero__doctor img {
  width: 100%;
  height: auto;
}
@keyframes heroFloat {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-7px); }
}
.hero__meta {
  position: absolute;
  z-index: 3;
  top: 26%;
  right: 0;
  text-align: right;
}
.hero__specialty {
  color: var(--deep);
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  line-height: 1.15;
}
.hero__license {
  margin-top: 0.3rem;
  color: var(--muted);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}
.hero__available {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.9rem;
  padding: 0.42rem 0.8rem;
  border: 1px solid rgba(49, 95, 120, 0.18);
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.55);
  color: var(--deep);
  font-size: 0.78rem;
  font-weight: 500;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(199, 125, 91, 0.14);
  flex: none;
  animation: dotPulse 2.4s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(199, 125, 91, 0.12); }
  50% { box-shadow: 0 0 0 7px rgba(199, 125, 91, 0.03); }
}
.hero__cta {
  position: absolute;
  z-index: 3;
  left: 0;
  bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.8rem;
}
.hero__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding-left: 0.4rem;
  color: var(--muted);
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.2s ease;
}
.hero__phone .icon {
  width: 15px;
  height: 15px;
  color: var(--primary);
}
.hero__phone:hover {
  color: var(--deep);
}
.hero__mobile {
  display: none;
}
.hero__stats {
  position: relative;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 0.35rem;
}
.stat__num {
  color: var(--deep);
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.stat__suffix {
  color: var(--primary);
}
.stat__label {
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}
.ecg {
  margin-top: 0.4rem;
  color: var(--accent);
}
.ecg svg {
  width: 100%;
  height: 72px;
  overflow: visible;
}
.ecg__base {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  opacity: 0.16;
}
.ecg__trace {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1800;
  stroke-dashoffset: 1800;
  filter: drop-shadow(0 0 6px rgba(199, 125, 91, 0.45));
  animation: ecgDraw 2.8s ease 0.7s forwards;
}
@keyframes ecgDraw {
  to { stroke-dashoffset: 0; }
}
.ecg__dot {
  fill: var(--accent);
  display: none;
}

/* Entrada del hero */
.hero__eyebrow,
.hero__meta,
.hero__cta,
.hero__mobile,
.hero__stats {
  animation: heroFade 1s var(--ease) both;
}
.hero__eyebrow { animation-delay: 0.05s; }
.hero__name { animation: heroFadeName 1.3s var(--ease) 0.08s both; }
.hero__doctor { animation: heroFloat 9s ease-in-out infinite, heroFade 1.2s var(--ease) 0.2s both; }
.hero__meta { animation-delay: 0.42s; }
.hero__cta { animation-delay: 0.5s; }
.hero__stats { animation-delay: 0.6s; }
@keyframes heroFade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes heroFadeName {
  from { opacity: 0; transform: translateY(calc(-50% + 18px)); }
  to { opacity: 1; transform: translateY(-50%); }
}

/* ---------- Obras sociales ---------- */
.obras {
  position: relative;
  z-index: 5;
  overflow: hidden;
  background: var(--deep);
  color: #fff;
  padding: 1.35rem 0;
}
.obras__inner {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  width: min(calc(100% - 2.5rem), 1320px);
  margin-inline: auto;
}
.obras__label {
  flex: none;
  max-width: 205px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
  line-height: 1.45;
}
.obras__marquee {
  flex: 1;
  min-width: 0;
}
.obras__track {
  animation-duration: 38s;
}
.obras__list {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding-right: 0.6rem;
  margin: 0;
  list-style: none;
}
.obras__list li {
  padding: 0.42rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.82rem;
  font-weight: 500;
  white-space: nowrap;
}
.obras:hover .marquee__track,
.obras:focus-within .marquee__track,
.testimonios__marquee:hover .marquee__track,
.testimonios__marquee:focus .marquee__track,
.testimonios__marquee:focus-within .marquee__track {
  animation-play-state: paused;
}

/* ---------- Cabeceras de sección ---------- */
.section-head {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  align-items: end;
  gap: 2rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-head__lead {
  max-width: 360px;
  margin: 0 0 0.5rem auto;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
  text-wrap: pretty;
}
.section-head--center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  text-align: center;
}
.section-head--center .section-head__lead {
  max-width: 560px;
  margin: 0;
}

/* ---------- Cards ---------- */
.cards {
  display: grid;
  gap: 1rem;
}
.cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 1.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 249, 0.68);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), border-color 0.35s ease, box-shadow 0.35s ease, background-color 0.35s ease;
}
.card:hover {
  transform: translateY(-5px);
  border-color: rgba(49, 95, 120, 0.28);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.card__icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(49, 95, 120, 0.12);
  border-radius: 14px;
  background: rgba(199, 125, 91, 0.1);
  color: var(--primary);
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.card__icon .icon {
  width: 24px;
  height: 24px;
}
.card:hover .card__icon {
  background: var(--deep);
  border-color: var(--deep);
  color: #fff;
}
.esp {
  min-height: 268px;
}
.esp h3 {
  margin: 1.35rem 0 0.55rem;
  color: var(--deep);
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.025em;
}
.esp p {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.6;
  text-wrap: pretty;
}
.esp__index {
  position: absolute;
  top: 1.55rem;
  right: 1.55rem;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  opacity: 0.9;
}

/* ---------- Doctora ---------- */
.doctora {
  overflow: hidden;
}
.doctora__cross {
  position: absolute;
  z-index: 0;
  top: 8%;
  right: 4%;
  width: clamp(180px, 22vw, 320px);
  color: rgba(36, 70, 90, 0.055);
  transform: rotate(10deg);
  pointer-events: none;
}
.doctora__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2.5rem, 5vw, 5rem);
}
.doctora__media {
  position: relative;
}
.doctora__img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3.25;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  background: #d4dfe4;
}
.doctora__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.doctora__media:hover .doctora__img img {
  transform: scale(1.03);
}
.doctora__badge {
  position: absolute;
  right: -1.5rem;
  bottom: -1.6rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.doctora__badge-num {
  color: var(--deep);
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.05em;
}
.doctora__badge-num span {
  color: var(--accent);
  font-size: 0.9em;
}
.doctora__badge-txt {
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.3;
}
.doctora__tag {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.82);
  color: var(--deep);
  font-size: 0.76rem;
  font-weight: 500;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.doctora__content .h2 {
  max-width: 620px;
}
.doctora__lead {
  max-width: 560px;
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.7;
  text-wrap: pretty;
}
.checklist {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-top: 1.9rem;
  list-style: none;
}
.checklist li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--deep);
  font-size: 0.96rem;
  font-weight: 500;
}
.checklist__ico {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: rgba(199, 125, 91, 0.16);
  color: var(--primary);
  flex: none;
}
.checklist__ico .icon {
  width: 12px;
  height: 12px;
  stroke-width: 3;
}
.doctora__sign {
  margin-top: 2.1rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}
.doctora__sign-name {
  color: var(--deep);
  font-size: 2rem;
  line-height: 1;
}
.doctora__sign-role {
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

/* ---------- Pasos ---------- */
.pasos {
  list-style: none;
}
.paso {
  min-height: 292px;
  padding: 1.9rem;
}
.paso__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
.paso__num {
  color: rgba(36, 70, 90, 0.6);
  font-family: var(--font-display);
  font-size: 3.8rem;
  font-weight: 700;
  line-height: 0.75;
  letter-spacing: -0.05em;
}
.paso h3 {
  margin: 2rem 0 0.6rem;
  color: var(--deep);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.03em;
}
.paso p {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.65;
  text-wrap: pretty;
}

/* ---------- Testimonios ---------- */
.testimonios {
  position: relative;
  overflow: hidden;
  padding: clamp(4.5rem, 9vw, 7.5rem) 0 clamp(4rem, 7vw, 6rem);
  background: var(--deep);
  color: var(--paper);
}
.testimonios__glow {
  position: absolute;
  top: -16rem;
  left: 50%;
  width: 50rem;
  height: 50rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(199, 125, 91, 0.17), transparent 64%);
  transform: translateX(-50%);
  pointer-events: none;
}
.testimonios::after {
  content: "";
  position: absolute;
  right: -8rem;
  bottom: -10rem;
  width: 30rem;
  height: 30rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.045), transparent 66%);
  pointer-events: none;
}
.testimonios__head {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}
.testimonios__sub {
  max-width: 520px;
  margin: 1.1rem auto 0;
  color: rgba(251, 250, 247, 0.6);
  font-size: 0.98rem;
  line-height: 1.6;
  text-wrap: pretty;
}
.testimonios__marquee {
  position: relative;
  z-index: 1;
  margin-top: clamp(2.5rem, 5vw, 3.75rem);
}
.testimonios__track {
  align-items: stretch;
  animation-duration: 86s;
}
.testimonios__set {
  display: flex;
  gap: 1.15rem;
  padding-right: 1.15rem;
}
.testimonio {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.05rem;
  width: 360px;
  flex: none;
  padding: 1.9rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
  transition: transform 0.4s var(--ease), border-color 0.4s ease, background-color 0.4s ease;
}
.testimonio:hover {
  transform: translateY(-4px);
  border-color: rgba(199, 125, 91, 0.45);
  background: rgba(255, 255, 255, 0.075);
}
.testimonio::after {
  content: "“";
  position: absolute;
  top: -1.7rem;
  right: 0.9rem;
  color: rgba(255, 255, 255, 0.05);
  font-family: var(--font-serif);
  font-size: 8rem;
  line-height: 1;
  pointer-events: none;
}
.testimonio__stars {
  display: flex;
  gap: 0.18rem;
  color: var(--accent);
}
.testimonio__stars .icon {
  width: 14px;
  height: 14px;
  fill: currentColor;
  stroke: none;
}
.testimonio blockquote {
  color: rgba(251, 250, 247, 0.9);
  font-size: 1.04rem;
  line-height: 1.6;
  letter-spacing: -0.005em;
  text-wrap: pretty;
}
.testimonio figcaption {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 0.4rem;
}
.testimonio__avatar {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(199, 125, 91, 0.16);
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  flex: none;
}
.testimonio figcaption strong {
  display: block;
  color: var(--paper);
  font-size: 0.9rem;
  font-weight: 600;
}
.testimonio figcaption small {
  display: block;
  color: rgba(251, 250, 247, 0.5);
  font-size: 0.76rem;
}
.testimonios:hover .testimonios__track,
.testimonios:focus-within .testimonios__track {
  animation-play-state: paused;
}

/* ---------- Turnos ---------- */
.turnos {
  background: var(--bg);
}
.turnos__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: stretch;
}
.turnos__media {
  position: relative;
  min-height: 590px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  background: #d4dfe4;
}
.turnos__media > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.turnos__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23, 40, 50, 0) 50%, rgba(23, 40, 50, 0.4) 100%);
  pointer-events: none;
}
.turnos__floating {
  position: absolute;
  z-index: 2;
  top: 1.4rem;
  left: 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 14px;
  background: rgba(255, 253, 249, 0.92);
  box-shadow: var(--shadow-sm);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.turnos__floating strong {
  display: block;
  color: var(--deep);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.2;
}
.turnos__floating small {
  display: block;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.25;
}
.turnos__caption {
  position: absolute;
  z-index: 2;
  bottom: 1.4rem;
  left: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #fff;
  font-size: 0.86rem;
  font-weight: 500;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}
.turnos__caption .icon {
  width: 15px;
  height: 15px;
}
.turnos__panel {
  position: relative;
  z-index: 3;
  align-self: center;
  max-width: 560px;
  margin-left: -4.5rem;
  padding: clamp(2rem, 3.5vw, 3.4rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}
.turnos__lead {
  max-width: 430px;
  margin-top: 1.1rem;
  color: var(--muted);
  font-size: 0.99rem;
  line-height: 1.65;
  text-wrap: pretty;
}
.turnos__info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 1.8rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.turnos__info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}
.turnos__info-ico {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(199, 125, 91, 0.1);
  color: var(--primary);
  flex: none;
}
.turnos__info-ico .icon {
  width: 17px;
  height: 17px;
}
.turnos__info-title {
  color: var(--deep);
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.3;
}
.turnos__info-txt {
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.45;
}
.turnos__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.9rem;
}
.turnos__actions .btn {
  flex: 1 1 auto;
}
.turnos__note {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.45;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--footer);
  color: var(--paper);
  padding: 4.5rem 0 1.8rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr 0.9fr;
  gap: clamp(2rem, 4vw, 4rem);
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.brand--footer {
  color: var(--paper);
}
.brand--footer .brand__mark {
  color: var(--accent);
}
.footer__desc {
  max-width: 280px;
  margin-top: 1.1rem;
  color: rgba(251, 250, 247, 0.58);
  font-size: 0.9rem;
  line-height: 1.65;
  text-wrap: pretty;
}
.footer__license {
  display: inline-block;
  margin-top: 0.9rem;
  padding: 0.28rem 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  color: rgba(251, 250, 247, 0.58);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
}
.footer__col-title {
  margin-bottom: 1.1rem;
  color: rgba(251, 250, 247, 0.58);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.footer__link {
  display: block;
  width: fit-content;
  margin-top: 0.6rem;
  color: rgba(251, 250, 247, 0.72);
  font-size: 0.88rem;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer__link:hover {
  color: var(--paper);
}
.footer__link--icon {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  width: auto;
}
.footer__link--icon .icon {
  width: 15px;
  height: 15px;
  color: var(--accent);
}

.footer__txt {
  color: rgba(251, 250, 247, 0.7);
  font-size: 0.88rem;
  line-height: 1.6;
}
.footer__txt--gap {
  margin-top: 1rem;
}
.footer__muted {
  margin-top: 1rem;
  color: rgba(251, 250, 247, 0.58);
  font-size: 0.76rem;
  line-height: 1.5;
}
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem 2rem;
  padding-top: 1.6rem;
  color: rgba(251, 250, 247, 0.58);
  font-size: 0.72rem;
  line-height: 1.55;
}
.footer__bottom p {
  max-width: 540px;
}
.footer__top {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: rgba(251, 250, 247, 0.65);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer__top:hover {
  color: var(--paper);
}
.footer__top .icon {
  width: 13px;
  height: 13px;
}

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed;
  z-index: 95;
  right: 1.5rem;
  bottom: 1.5rem;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 14px 34px -10px rgba(37, 211, 102, 0.6);
  transition: transform 0.25s var(--ease), box-shadow 0.25s ease, opacity 0.3s ease, visibility 0.3s;
}
.wa-float.is-hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(0.9);
  pointer-events: none;
}
.wa-float .icon {
  width: 28px;
  height: 28px;
  fill: currentColor;
  stroke: none;
}
.wa-float:hover {
  transform: scale(1.07);
  box-shadow: 0 18px 40px -10px rgba(37, 211, 102, 0.7);
}
.wa-float__tip {
  position: absolute;
  right: calc(100% + 12px);
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  background: var(--footer);
  color: var(--paper);
  font-size: 0.78rem;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(6px);
  transition: opacity 0.2s ease, transform 0.25s var(--ease);
  pointer-events: none;
}
.wa-float:hover .wa-float__tip {
  opacity: 1;
  transform: none;
}

/* ---------- Menú móvil ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 85;
  display: none;
  padding: calc(var(--nav-h) + 1.5rem) 1.5rem 2rem;
  background: var(--bg);
  transform: translateY(-100%);
  visibility: hidden;
  overflow-y: auto;
  transition: transform 0.5s var(--ease), visibility 0.5s;
}
.mobile-menu.is-open {
  transform: none;
  visibility: visible;
}
.mobile-menu__inner {
  display: flex;
  flex-direction: column;
  min-height: calc(100svh - var(--nav-h) - 3.5rem);
  width: min(100%, 620px);
  margin-inline: auto;
}
.mobile-menu__eyebrow {
  color: var(--primary);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}
.mobile-menu__links {
  display: flex;
  flex-direction: column;
}
.mobile-menu__links a {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  padding: 0.9rem 0;
  border-top: 1px solid var(--line);
  color: var(--deep);
  font-family: var(--font-display);
  font-size: clamp(2rem, 9vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  text-decoration: none;
}
.mobile-menu__links a:last-child {
  border-bottom: 1px solid var(--line);
}
.mobile-menu__links a span {
  color: var(--primary);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}
.mobile-menu__foot {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
  margin-top: auto;
  padding-top: 2rem;
}
.mobile-menu__foot p,
.mobile-menu__foot a:not(.btn) {
  color: var(--muted);
  font-size: 0.86rem;
  text-decoration: none;
}
.mobile-menu__foot a:not(.btn):hover {
  color: var(--deep);
}

/* ---------- Reveals ---------- */
[data-reveal] {
  opacity: 0;
  translate: 0 22px;
  transition: opacity 0.75s ease var(--delay, 0s), translate 0.75s var(--ease) var(--delay, 0s);
}
[data-reveal].is-visible {
  opacity: 1;
  translate: 0 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .footer__grid {
    grid-template-columns: 1.4fr 0.8fr 1.1fr 0.8fr;
  }
}

@media (max-width: 1023px) {
  .hero__stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: auto;
    padding-top: 0.4rem;
  }
  .hero__name {
    position: static;
    order: 2;
    display: block;
    margin-top: -0.1rem;
    padding: 0;
    font-size: clamp(3.2rem, 12vw, 5.6rem);
    line-height: 0.9;
    letter-spacing: -0.05em;
    text-align: center;
    transform: none;
    animation: none;
  }
  .hero__name span {
    display: inline;
  }
  .hero__name span:first-child {
    margin-right: 0.14em;
  }
  .hero__doctor {
    position: static;
    order: 1;
    width: min(84vw, 420px);
    transform: none;
    translate: 0 0;
    animation: heroFade 1.2s var(--ease) 0.2s both;
    -webkit-mask-image: linear-gradient(#000 82%, transparent 100%);
    mask-image: linear-gradient(#000 82%, transparent 100%);
  }
  .hero__meta,
  .hero__cta {
    display: none;
  }
  .hero__mobile {
    display: block;
    margin-top: 1.1rem;
    text-align: center;
  }
  .hero__mobile .hero__specialty {
    font-size: clamp(1.2rem, 3.4vw, 1.5rem);
  }
  .hero__mobile .hero__license {
    font-size: 0.82rem;
  }
  .hero__mobile-cta {
    display: flex;
    justify-content: center;
    margin-top: 1.15rem;
  }
  .hero__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
    margin-top: 2rem;
    padding-top: 1.4rem;
    border-top: 1px solid var(--line);
  }
  .stat {
    text-align: center;
  }
  .stat__num {
    font-size: clamp(1.55rem, 3.7vw, 2.3rem);
  }
  .stat__label {
    font-size: 0.72rem;
  }
  .ecg svg {
    height: 60px;
  }
  .section-head {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .section-head__lead {
    max-width: 560px;
    margin: 0;
  }
  .doctora__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .doctora__media {
    max-width: 680px;
  }
  .doctora__badge {
    right: 1rem;
    bottom: -1.3rem;
  }
  .turnos__grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .turnos__media {
    min-height: 380px;
  }
  .turnos__panel {
    width: calc(100% - 2rem);
    max-width: none;
    margin: -3rem auto 0;
  }
}

@media (max-width: 899px) {
  .nav__links,
  .nav__cta {
    display: none;
  }
  .nav__burger {
    display: grid;
  }
  .mobile-menu {
    display: block;
  }
  .cards--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cards--3 {
    grid-template-columns: 1fr;
  }
  .paso {
    min-height: 0;
  }
  .paso h3 {
    margin-top: 1.5rem;
  }
  /* Testimonios: carrusel deslizable en lugar de marquesina automática */
  .testimonios__marquee {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 1.25rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-inline: 1.25rem;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .testimonios__marquee::-webkit-scrollbar {
    display: none;
  }
  .testimonios__track {
    animation: none;
  }
  .testimonios__set {
    gap: 0.9rem;
    padding-right: 1.25rem;
  }
  .testimonios__set[aria-hidden="true"] {
    display: none;
  }
  .testimonio {
    scroll-snap-align: start;
  }
  .footer__grid {
    grid-template-columns: 1.3fr 1fr 1fr;
  }
  .footer__grid > div:last-child {
    grid-column: 2 / -1;
  }
}

@media (max-width: 639px) {
  :root {
    --nav-h: 68px;
  }
  .hero__eyebrow {
    font-size: 1rem;
  }
  .hero__doctor {
    width: min(88vw, 390px);
  }
  .hero__name {
    font-size: clamp(2.75rem, 14.8vw, 4.4rem);
  }
  .hero__stats {
    gap: 0.35rem;
  }
  .stat__num {
    font-size: clamp(1.4rem, 5.8vw, 1.8rem);
  }
  .stat__label {
    font-size: 0.65rem;
  }
  .ecg svg {
    height: 48px;
  }
  .obras__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
  }
  .obras__label {
    max-width: none;
    text-align: center;
  }
  .obras {
    padding: 1.1rem 0;
  }
  .cards--4 {
    grid-template-columns: 1fr;
  }
  .card {
    padding: 1.5rem;
  }
  .esp {
    min-height: 0;
  }
  .section-head--center {
    align-items: flex-start;
    text-align: left;
  }
  .section-head--center .section-head__lead {
    margin: 0;
  }
  .doctora__cross {
    top: 2%;
    right: -4rem;
  }
  .doctora__img {
    aspect-ratio: 4 / 3.6;
  }
  .doctora__badge {
    right: 0.75rem;
    bottom: -1.1rem;
    padding: 0.75rem 0.95rem;
  }
  .doctora__badge-num {
    font-size: 1.7rem;
  }
  .doctora__badge-txt {
    font-size: 0.68rem;
  }
  .testimonio {
    width: 300px;
    padding: 1.5rem;
  }
  .testimonio blockquote {
    font-size: 0.98rem;
  }
  .turnos__media {
    min-height: 300px;
  }
  .turnos__caption {
    display: none;
  }
  .turnos__panel {
    width: calc(100% - 1rem);
    margin-top: -2.2rem;
    padding: 1.6rem 1.25rem;
    border-radius: 24px;
  }
  .turnos__info {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .turnos__actions {
    flex-direction: column;
  }
  .turnos__actions .btn {
    width: 100%;
  }
  .footer {
    padding-top: 3.5rem;
    padding-bottom: 2.5rem;
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer__brand-col {
    grid-column: 1 / -1;
  }
  .footer__grid > div:last-child {
    grid-column: 1 / -1;
  }
  .footer__bottom {
    flex-direction: column;
    gap: 0.8rem;
  }
  .footer__top {
    order: -1;
  }
  .wa-float {
    right: 1rem;
    bottom: 1rem;
    width: 52px;
    height: 52px;
  }
  .wa-float .icon {
    width: 26px;
    height: 26px;
  }
  .wa-float__tip {
    display: none;
  }
}

@media (max-width: 380px) {
  .hero__stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .stat {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.45rem;
    text-align: left;
  }
  .stat__label {
    margin-top: 0;
  }
  .footer__grid {
    grid-template-columns: 1fr;
  }
  .footer__link {
    overflow-wrap: anywhere;
  }
  .btn--lg {
    padding-inline: 1.25rem;
    font-size: 0.95rem;
  }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] {
    opacity: 1;
    translate: none;
  }
  .marquee__track {
    animation: none;
  }
  .ecg__trace {
    stroke-dashoffset: 0;
  }
  .hero__doctor {
    animation: none;
    transform: translateX(-50%);
  }
  .hero__name {
    animation: none;
  }
}
@media (max-width: 1023px) and (prefers-reduced-motion: reduce) {
  .hero__doctor {
    transform: none;
  }
}


/* ---------- Encabezado centrado ---------- */
@media (min-width: 900px) {
  .nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 1rem;
    width: min(calc(100% - 3rem), 1240px);
  }
  .nav__links {
    justify-self: center;
    margin-left: 0;
    gap: clamp(1rem, 2vw, 1.8rem);
  }
  .nav__cta {
    justify-self: end;
    margin-left: 0;
  }
}


/* Separador sutil bajo la navegación */
.site-header {
  border-bottom: 1px solid var(--line);
}

