/* ==========================================================================
   Clínica Novocel — Hoja de estilos
   Paleta y tipografía heredadas de la identidad corporativa actual.
   ========================================================================== */

:root {
  /* Marca */
  --nv-ink: #3b3e6b;          /* azul/morado corporativo (títulos, botones) */
  --nv-ink-deep: #2a2c52;
  --nv-accent: #5b5fc7;       /* acento tecnológico */
  --nv-lavender: #e2e3ff;     /* fondo corporativo */
  --nv-lavender-2: #d4d5f1;
  --nv-mist: #a2a5c4;
  --nv-white: #ffffff;
  --nv-snow: #f7f7fc;
  --nv-grey: #e5e7eb;
  --nv-text: #33354f;
  --nv-text-soft: #5f6283;
  --nv-whatsapp: #25d366;

  /* Sistema */
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 32px;
  --shadow-sm: 0 2px 10px rgba(59, 62, 107, 0.06);
  --shadow: 0 12px 40px rgba(59, 62, 107, 0.10);
  --shadow-lg: 0 24px 60px rgba(59, 62, 107, 0.16);
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(72px, 10vw, 128px);
  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Reset ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--nv-text);
  background: var(--nv-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; color: var(--nv-ink); line-height: 1.15; font-weight: 600; letter-spacing: -0.02em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--nv-accent); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--nv-ink); color: #fff; padding: 10px 18px; border-radius: 999px;
  transition: top .2s;
}
.skip-link:focus { top: 16px; }

/* Tipografía utilitaria --------------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--nv-ink);
  padding: 7px 16px; border: 1px solid var(--nv-mist); border-radius: 999px;
  background: rgba(255, 255, 255, .6);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--nv-accent); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(32px, 4.6vw, 52px); margin-top: 20px; }
.section-head p { margin-top: 20px; font-size: clamp(17px, 1.6vw, 19px); color: var(--nv-text-soft); }

/* Botones ----------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 16px; letter-spacing: -0.005em;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--nv-ink); color: #fff; box-shadow: 0 10px 24px rgba(59, 62, 107, .28); }
.btn-primary:hover { background: var(--nv-ink-deep); transform: translateY(-2px); box-shadow: 0 16px 32px rgba(59, 62, 107, .34); }
.btn-ghost { background: transparent; color: var(--nv-ink); border-color: var(--nv-mist); }
.btn-ghost:hover { background: #fff; border-color: var(--nv-ink); }
.btn-light { background: #fff; color: var(--nv-ink); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline-light { color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.btn-sm { min-height: 42px; padding: 0 20px; font-size: 15px; }
.btn-block { width: 100%; }

/* Header / navegación ---------------------------------------------------- */
.site-header {
  position: fixed; inset: 16px 0 auto; z-index: 100;
  padding-inline: var(--gutter);
  transition: inset .3s var(--ease);
}
.nav-shell {
  max-width: 1360px; margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(162, 165, 196, .25);
  border-radius: 999px;
  padding: 10px 10px 10px 24px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s;
}
.site-header.is-scrolled .nav-shell { box-shadow: var(--shadow); }
.brand { flex: none; }
.brand img { height: 38px; width: auto; }
.nav-links, .nav-cta { flex: none; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links > li { position: relative; }
.nav-links a, .nav-links .dropdown-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 13px; border-radius: 999px; border: 0; background: none; white-space: nowrap;
  font-size: 15px; font-weight: 500; color: var(--nv-text);
  transition: background .2s, color .2s;
}
.nav-links a:hover, .nav-links .dropdown-toggle:hover,
.nav-links a.is-active, .nav-links .dropdown-toggle.is-active { background: var(--nv-lavender); color: var(--nv-ink); }
.dropdown-toggle svg { width: 14px; height: 14px; transition: transform .25s; }
.has-dropdown.open .dropdown-toggle svg { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 12px); left: 50%;
  transform: translate(-50%, 8px);
  width: 560px; padding: 14px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  border: 1px solid var(--nv-grey);
  opacity: 0; visibility: hidden; transition: opacity .2s, transform .25s var(--ease), visibility .2s;
}
.has-dropdown.open .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dropdown a { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; border-radius: var(--radius-sm); padding: 12px 14px; }
.dropdown a strong { font-weight: 600; color: var(--nv-ink); font-size: 15px; }
.dropdown a span { font-size: 13px; color: var(--nv-text-soft); font-weight: 400; }
.nav-cta { display: flex; align-items: center; gap: 8px; }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; color: var(--nv-ink); padding: 0 12px; white-space: nowrap; }
.nav-phone svg { width: 16px; height: 16px; }
.menu-toggle {
  display: none; width: 46px; height: 46px; border-radius: 50%; border: 0;
  background: var(--nv-lavender); color: var(--nv-ink); align-items: center; justify-content: center;
}
.menu-toggle svg { width: 22px; height: 22px; }
.menu-toggle svg[hidden] { display: none; }

/* Hero ---------------------------------------------------------------- */
.hero {
  position: relative;
  padding: clamp(140px, 16vw, 180px) 0 clamp(64px, 8vw, 96px);
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(91, 95, 199, .18), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(255, 255, 255, .9), transparent 60%),
    linear-gradient(180deg, var(--nv-lavender) 0%, #eeefff 70%, var(--nv-white) 100%);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(40px, 6vw, 72px); line-height: 1.04; letter-spacing: -0.035em; margin-top: 24px; }
.hero h1 em { font-style: normal; color: var(--nv-accent); }
.hero-lead { margin-top: 24px; font-size: clamp(17px, 1.7vw, 20px); color: var(--nv-text-soft); max-width: 580px; }
.hero-lead strong { color: var(--nv-ink); font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.hero-visual { position: relative; }
.hero-photo {
  position: relative; margin: 0 0 30px; border-radius: var(--radius-lg);
  aspect-ratio: 9 / 10; background: #d9d9dc; box-shadow: var(--shadow-lg);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; border-radius: inherit; }
.hero-photo figcaption {
  position: absolute; left: 16px; right: auto; bottom: -30px; max-width: calc(100% - 32px); /* montado sobre el borde: no tapa el logo de la bata */
  box-shadow: var(--shadow);
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-radius: 14px; padding: 10px 16px;
  display: flex; flex-direction: column;
}
.hero-photo figcaption strong { color: var(--nv-ink); font-size: 15px; }
.hero-photo figcaption span { font-size: 12.5px; color: var(--nv-text-soft); }
.float-card {
  position: absolute; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 12px 16px; display: flex; align-items: center; gap: 12px;
  animation: float 6s ease-in-out infinite;
}
.float-card .num { font-size: 26px; font-weight: 700; color: var(--nv-ink); letter-spacing: -0.03em; line-height: 1; }
.float-card .lbl { font-size: 12.5px; line-height: 1.35; color: var(--nv-text-soft); max-width: 104px; }
.float-card.one { top: 28px; left: -64px; }
.float-card.two { top: 120px; right: -52px; animation-delay: -3s; }
.float-card .ico { width: 36px; height: 36px; border-radius: 12px; background: var(--nv-lavender); display: grid; place-items: center; color: var(--nv-ink); }
.float-card .ico svg { width: 22px; height: 22px; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.trust {
  margin-top: clamp(48px, 7vw, 80px);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
}
.trust li {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255, 255, 255, .75); border: 1px solid rgba(162, 165, 196, .3);
  border-radius: var(--radius-sm); padding: 14px 16px;
  font-size: 14.5px; font-weight: 500; color: var(--nv-ink); line-height: 1.35;
}
.trust svg { width: 22px; height: 22px; flex: none; color: var(--nv-accent); }

/* Evidencia ------------------------------------------------------------- */
.evidence-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.evidence-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 4.2; box-shadow: var(--shadow); }
.evidence-media img { width: 100%; height: 100%; object-fit: cover; }
.evidence-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(42, 44, 82, .55)); }
.evidence-media .tag {
  position: absolute; left: 20px; bottom: 20px; z-index: 1; color: #fff;
  font-size: 14px; font-weight: 500; display: flex; align-items: center; gap: 8px;
}
.evidence-copy p.lead { margin-top: 20px; font-size: 18px; color: var(--nv-text-soft); }
.evidence-points { margin-top: 28px; display: grid; gap: 14px; }
.evidence-points li { display: flex; gap: 14px; align-items: flex-start; }
.evidence-points .dot { flex: none; width: 32px; height: 32px; border-radius: 10px; background: var(--nv-lavender); color: var(--nv-ink); display: grid; place-items: center; margin-top: 1px; }
.evidence-points .dot svg { width: 16px; height: 16px; }
.evidence-points strong { color: var(--nv-ink); display: block; font-weight: 600; }
.evidence-points span { font-size: 15.5px; color: var(--nv-text-soft); }

.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 36px; }
.stats.three { grid-template-columns: repeat(3, 1fr); }
.stat { background: var(--nv-snow); border: 1px solid var(--nv-grey); border-radius: var(--radius); padding: 24px; }
.stat .num { font-size: clamp(40px, 5vw, 56px); font-weight: 700; color: var(--nv-ink); letter-spacing: -0.04em; line-height: 1; }
.stat .num sup { font-size: .4em; vertical-align: super; color: var(--nv-accent); font-weight: 600; }
.stat p { margin-top: 12px; font-size: 14.5px; line-height: 1.5; color: var(--nv-text-soft); }
.footnote { margin-top: 16px; font-size: 13px; color: var(--nv-mist); }

/* Banda CTA ------------------------------------------------------------- */
.cta-band {
  position: relative; overflow: hidden;
  background: radial-gradient(700px 400px at 90% 0%, rgba(91, 95, 199, .6), transparent 60%), var(--nv-ink);
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 72px);
  display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center;
  color: #fff;
}
.cta-band::before {
  content: ""; position: absolute; width: 420px; height: 420px; right: -120px; bottom: -220px;
  border-radius: 50%; border: 1px solid rgba(255, 255, 255, .15);
  box-shadow: 0 0 0 60px rgba(255, 255, 255, .03), 0 0 0 120px rgba(255, 255, 255, .02);
}
.cta-band h2 { color: #fff; font-size: clamp(28px, 3.6vw, 42px); }
.cta-band p { margin-top: 14px; color: rgba(255, 255, 255, .8); font-size: 17.5px; max-width: 600px; }
.cta-band p a { color: #fff; font-weight: 600; border-bottom: 1px solid rgba(255, 255, 255, .4); }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; position: relative; z-index: 1; }

/* Especialidades ------------------------------------------------------- */
.specialties { background: linear-gradient(180deg, var(--nv-white), var(--nv-snow)); }
.spec-featured { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.spec-card {
  position: relative; background: #fff; border: 1px solid var(--nv-grey); border-radius: var(--radius-lg);
  padding: clamp(28px, 3.4vw, 40px);
  display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.spec-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--nv-lavender-2); }
.spec-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.spec-icon {
  width: 56px; height: 56px; border-radius: 16px;
  background: linear-gradient(135deg, var(--nv-lavender), #f1f1ff); color: var(--nv-ink);
  display: grid; place-items: center;
}
.spec-icon svg { width: 28px; height: 28px; }
.spec-kicker { font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--nv-accent); font-weight: 600; }
.spec-card h3 { font-size: clamp(24px, 2.4vw, 28px); margin-top: 24px; }
.spec-card .claim { margin-top: 10px; font-size: 18px; font-weight: 500; color: var(--nv-ink); line-height: 1.4; }
.spec-card .desc { margin-top: 14px; color: var(--nv-text-soft); font-size: 16px; }
.spec-list { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--nv-grey); display: grid; gap: 10px; }
.spec-list li { display: flex; align-items: center; gap: 10px; font-size: 15.5px; font-weight: 500; color: var(--nv-text); }
.spec-list li::before {
  content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%;
  background: var(--nv-lavender) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233b3e6b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 10px no-repeat;
}
.spec-card .spec-link { margin-top: auto; padding-top: 26px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--nv-ink); font-size: 15px; }
.spec-card .spec-link svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.spec-card:hover .spec-link svg { transform: translateX(4px); }

.spec-more-title { margin: clamp(48px, 6vw, 72px) 0 20px; font-size: 20px; }
.spec-compact { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.spec-mini {
  background: #fff; border: 1px solid var(--nv-grey); border-radius: var(--radius);
  padding: 22px; transition: transform .3s var(--ease), box-shadow .3s;
  display: flex; flex-direction: column;
}
.spec-mini:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.spec-mini .spec-icon { width: 44px; height: 44px; border-radius: 12px; }
.spec-mini .spec-icon svg { width: 22px; height: 22px; }
.spec-mini h4 { font-size: 17px; margin-top: 16px; }
.spec-mini p { font-size: 14px; line-height: 1.5; color: var(--nv-text-soft); margin-top: 8px; }
.spec-mini ul { margin-top: 12px; display: grid; gap: 4px; }
.spec-mini li { font-size: 13.5px; color: var(--nv-text); padding-left: 14px; position: relative; }
.spec-mini li::before { content: ""; position: absolute; left: 0; top: .65em; width: 5px; height: 5px; border-radius: 50%; background: var(--nv-accent); }

/* Profesionales ------------------------------------------------------- */
.team-lead { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 20px; }
.doc {
  background: #fff; border: 1px solid var(--nv-grey); border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column;
  transition: box-shadow .35s var(--ease), transform .35s var(--ease);
}
.doc:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.doc-photo { aspect-ratio: 5 / 4; background: linear-gradient(180deg, #eceaf0, #dcdce4); overflow: hidden; position: relative; }
.doc-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; transition: transform .6s var(--ease); }
.doc:hover .doc-photo img { transform: scale(1.03); }
.doc-badge {
  position: absolute; bottom: 16px; left: 16px; /* abajo: no tapa la cabeza */
  background: rgba(59, 62, 107, .9); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
}
.doc-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.doc-body h3 { font-size: 22px; }
.doc-role { margin-top: 6px; font-size: 14px; font-weight: 500; color: var(--nv-accent); line-height: 1.45; }
.doc-bio { margin-top: 14px; font-size: 15.5px; color: var(--nv-text-soft); }
.doc-quote {
  margin: 18px 0 0; padding: 16px 18px; border-left: 3px solid var(--nv-accent);
  background: var(--nv-snow); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 15px; font-style: italic; color: var(--nv-ink); line-height: 1.5;
}
.doc-creds { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.doc-creds li { font-size: 12.5px; font-weight: 500; color: var(--nv-ink); background: var(--nv-lavender); border-radius: 999px; padding: 5px 11px; }
.doc-body .btn { margin-top: auto; }
.doc-body .doc-cta { padding-top: 22px; margin-top: auto; }

.team-rest { margin-top: 20px; display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 16px; }
.doc-mini { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--nv-grey); border-radius: var(--radius); padding: 18px; }
.doc-mini img, .doc-mini .avatar { width: 76px; height: 76px; border-radius: 18px; object-fit: cover; object-position: center 15%; flex: none; background: var(--nv-lavender); }
.doc-mini .avatar { display: grid; place-items: center; font-weight: 600; font-size: 22px; color: var(--nv-ink); }
.doc-mini h4 { font-size: 16.5px; }
.doc-mini .doc-role { margin-top: 2px; font-size: 13px; }
.doc-mini p { margin-top: 8px; font-size: 14px; line-height: 1.5; color: var(--nv-text-soft); }

/* Galería clínica ---------------------------------------------------- */
.clinic-strip { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 14px; margin-top: clamp(48px, 6vw, 72px); }
.clinic-strip figure { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; position: relative; }
.clinic-strip figure:first-child { aspect-ratio: auto; grid-row: span 2; }
.clinic-strip img { width: 100%; height: 100%; object-fit: cover; }
.clinic-strip figcaption { position: absolute; left: 12px; bottom: 12px; font-size: 12.5px; font-weight: 500; color: #fff; background: rgba(42, 44, 82, .6); padding: 5px 10px; border-radius: 999px; backdrop-filter: blur(6px); }

/* Valores ------------------------------------------------------------ */
.pricing { background: linear-gradient(180deg, var(--nv-lavender) 0%, #f0f0ff 50%, var(--nv-white) 100%); }
.pricing-intro { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 64px); align-items: end; margin-bottom: clamp(40px, 5vw, 56px); }
.pricing-intro .section-head { margin-bottom: 0; }
.reimburse {
  background: #fff; border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm);
  border: 1px solid rgba(162, 165, 196, .3);
}
.reimburse h3 { font-size: 19px; display: flex; align-items: center; gap: 10px; }
.reimburse h3 svg { width: 22px; height: 22px; color: var(--nv-accent); }
.reimburse p { margin-top: 12px; font-size: 15.5px; color: var(--nv-text-soft); }
.reimburse p strong { color: var(--nv-ink); }
.reimburse ol { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; counter-reset: step; }
.reimburse ol li { counter-increment: step; display: flex; gap: 12px; align-items: center; font-size: 14.5px; font-weight: 500; color: var(--nv-ink); }
.reimburse ol li::before {
  content: counter(step); width: 26px; height: 26px; flex: none; border-radius: 50%;
  background: var(--nv-ink); color: #fff; font-size: 13px; display: grid; place-items: center;
}

.price-tabs { display: inline-flex; padding: 6px; background: #fff; border-radius: 999px; border: 1px solid var(--nv-grey); margin-bottom: 24px; }
.price-tabs button {
  border: 0; background: none; padding: 10px 22px; border-radius: 999px;
  font-weight: 600; font-size: 15px; color: var(--nv-text-soft); transition: background .25s, color .25s;
}
.price-tabs button[aria-selected="true"] { background: var(--nv-ink); color: #fff; }
.price-panel[hidden] { display: none; }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.price-card {
  background: #fff; border: 1px solid var(--nv-grey); border-radius: var(--radius); padding: 26px;
  display: flex; flex-direction: column; position: relative;
  transition: box-shadow .3s, transform .3s var(--ease);
}
.price-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.price-card.featured { border-color: var(--nv-ink); box-shadow: var(--shadow); }
.price-card .ribbon {
  position: absolute; top: -12px; left: 26px;
  background: var(--nv-accent); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .04em;
  padding: 5px 12px; border-radius: 999px;
}
.price-card .price-from { font-size: 14px; font-weight: 600; letter-spacing: .02em; margin-right: 2px; opacity: .75; }
.price-card h3 { font-size: 19px; }
.price-card .sub { font-size: 14px; color: var(--nv-text-soft); margin-top: 4px; }
.price-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 20px; }
.price { font-size: 36px; font-weight: 700; color: var(--nv-ink); letter-spacing: -0.03em; line-height: 1; }
.duration { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 500; color: var(--nv-text-soft); background: var(--nv-snow); border-radius: 999px; padding: 5px 11px; white-space: nowrap; }
.duration svg { width: 14px; height: 14px; }
.chip-reimb { margin-top: 14px; align-self: flex-start; font-size: 12.5px; font-weight: 600; border-radius: 999px; padding: 4px 11px; background: #e7f6ee; color: #1f6b43; }
.chip-reimb.private { background: var(--nv-snow); color: var(--nv-text-soft); }
.price-card details { margin-top: 16px; border-top: 1px solid var(--nv-grey); padding-top: 14px; }
.price-card summary {
  cursor: pointer; list-style: none; font-size: 14.5px; font-weight: 600; color: var(--nv-ink);
  display: flex; align-items: center; justify-content: space-between;
}
.price-card summary::-webkit-details-marker { display: none; }
.price-card summary svg { width: 16px; height: 16px; transition: transform .25s; }
.price-card details[open] summary svg { transform: rotate(180deg); }
.price-card details ul { margin-top: 12px; display: grid; gap: 6px; }
.price-card details li { font-size: 14px; color: var(--nv-text-soft); padding-left: 18px; position: relative; line-height: 1.45; }
.price-card details li::before { content: "✓"; position: absolute; left: 0; color: var(--nv-accent); font-weight: 700; }
.price-card .btn { margin-top: 20px; }
.price-card .spacer { flex: 1; }
.pricing-note { margin-top: 24px; font-size: 13.5px; color: var(--nv-text-soft); }
.pricing-close {
  margin-top: 40px; background: #fff; border: 1px dashed var(--nv-mist); border-radius: var(--radius);
  padding: 24px 28px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.pricing-close p { font-size: 17px; color: var(--nv-ink); max-width: 720px; }
.pricing-close p strong { font-weight: 600; }

/* Contacto ---------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 20px; }
.contact-card { background: var(--nv-ink); color: #fff; border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; position: relative; overflow: hidden; }
.contact-card::after { content: ""; position: absolute; right: -100px; top: -100px; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(91, 95, 199, .6), transparent 70%); }
.contact-card .eyebrow { color: #fff; border-color: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .06); align-self: flex-start; }
.contact-card .eyebrow::before { background: #fff; }
.contact-card h2 { color: #fff; font-size: clamp(32px, 4vw, 46px); margin-top: 20px; }
.contact-card > p { margin-top: 16px; color: rgba(255, 255, 255, .8); font-size: 17.5px; }
.contact-list { margin-top: 32px; display: grid; gap: 12px; position: relative; z-index: 1; }
.contact-list a, .contact-list div {
  display: flex; gap: 16px; align-items: center;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-sm); padding: 16px 18px; transition: background .2s;
}
.contact-list a:hover { background: rgba(255, 255, 255, .13); }
.contact-list .ico { width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, .12); display: grid; place-items: center; flex: none; }
.contact-list .ico svg { width: 20px; height: 20px; }
.contact-list small { display: block; font-size: 12.5px; color: rgba(255, 255, 255, .65); letter-spacing: .04em; text-transform: uppercase; }
.contact-list strong { font-weight: 500; font-size: 16.5px; }
.contact-card .actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; position: relative; z-index: 1; }

.contact-side { display: grid; gap: 20px; grid-template-rows: auto 1fr; }
.form-card { background: #fff; border: 1px solid var(--nv-grey); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px); }
.form-card h3 { font-size: 22px; }
.form-card > p { margin-top: 6px; font-size: 15px; color: var(--nv-text-soft); }
.form-grid { margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--nv-ink); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 15.5px; color: var(--nv-text);
  border: 1.5px solid var(--nv-grey); border-radius: var(--radius-sm); padding: 12px 14px; background: var(--nv-snow);
  transition: border-color .2s, background .2s; width: 100%;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--nv-accent); background: #fff; }
.form-legal { grid-column: 1 / -1; font-size: 12.5px; color: var(--nv-text-soft); }
.map-card { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--nv-grey); min-height: 240px; background: var(--nv-snow); }
.map-card iframe { width: 100%; height: 100%; min-height: 240px; border: 0; display: block; }

/* Footer ------------------------------------------------------------- */
.site-footer { background: var(--nv-snow); border-top: 1px solid var(--nv-grey); padding: 64px 0 32px; margin-top: var(--section-y); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand img.logo { height: 40px; width: auto; }
.footer-brand p { margin-top: 16px; font-size: 14.5px; color: var(--nv-text-soft); max-width: 320px; }
.seremi { margin-top: 20px; display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--nv-text-soft); }
.seremi img { height: 40px; width: auto; }
.site-footer h4 { font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--nv-ink); margin-bottom: 16px; }
.site-footer ul { display: grid; gap: 10px; }
.site-footer ul a, .site-footer ul li { font-size: 15px; color: var(--nv-text-soft); }
.site-footer ul a:hover { color: var(--nv-ink); }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--nv-grey); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; color: var(--nv-mist); }

/* WhatsApp flotante -------------------------------------------------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--nv-whatsapp); color: #fff; font-weight: 600; font-size: 15px;
  padding: 12px 20px 12px 14px; border-radius: 999px; box-shadow: 0 12px 28px rgba(37, 211, 102, .35);
  transition: transform .25s var(--ease);
}
.wa-float:hover { transform: translateY(-3px); }
.wa-float svg { width: 26px; height: 26px; }

/* Animación de entrada ---------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.rise { animation: rise .9s var(--ease) both; }
.rise[data-delay="1"] { animation-delay: .08s; }
.rise[data-delay="2"] { animation-delay: .16s; }
.rise[data-delay="3"] { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Responsive -------------------------------------------------------- */
@media (max-width: 1439px) {
  .nav-phone { display: none; }
}
@media (max-width: 1280px) {
  .float-card.two { right: 12px; } /* sin espacio fuera de la foto: se mantiene dentro */
}
@media (max-width: 1140px) {
  .spec-compact { grid-template-columns: repeat(3, 1fr); }
  .float-card.one { left: -24px; }
}

@media (max-width: 980px) {
  .hero-grid, .evidence-grid, .pricing-intro, .contact-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; margin-inline: auto; width: 100%; }
  .trust { grid-template-columns: 1fr 1fr; }
  .spec-featured { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .evidence-media { aspect-ratio: 16 / 10; }
}
@media (max-width: 1240px) {
  .menu-toggle { display: inline-flex; }
  .nav-links {
    position: absolute; top: calc(100% + 10px); left: var(--gutter); right: var(--gutter);
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 12px;
    max-height: calc(100vh - 120px); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s, transform .25s var(--ease), visibility .2s;
  }
  .site-header.menu-open .nav-links { opacity: 1; visibility: visible; transform: none; }
  .nav-links a, .nav-links .dropdown-toggle { width: 100%; justify-content: space-between; padding: 14px 16px; font-size: 16px; }
  .dropdown {
    position: static; transform: none; width: auto; box-shadow: none; border: 0; padding: 0 0 8px 8px;
    grid-template-columns: 1fr; display: none; opacity: 1; visibility: visible;
  }
  .has-dropdown.open .dropdown { display: grid; transform: none; }
  .dropdown a span { display: none; }
  .dropdown a { padding: 10px 16px; }
  .nav-cta .btn { display: none; }
  .nav-links .mobile-cta { display: block; padding: 8px 4px 4px; }
  .nav-links .mobile-cta .btn { justify-content: center; background: var(--nv-ink); color: #fff; }
}
@media (min-width: 1241px) { .nav-links .mobile-cta { display: none; } }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .eyebrow { font-size: 11px; letter-spacing: .1em; padding: 6px 12px; }
  .brand img { height: 32px; }
  .nav-shell { padding: 8px 8px 8px 18px; }
  .hero-actions .btn { width: 100%; }
  .trust { grid-template-columns: 1fr; }
  .float-card { padding: 12px 14px; }
  .float-card .num { font-size: 24px; }
  .float-card.one { top: 16px; left: 12px; }
  .float-card.two { display: none; } /* en teléfono tapaba el nombre; la franja de confianza ya lo dice */
  .float-card.one { display: none; } /* en teléfono tapaba la cara; la cifra aparece en "Evidencia" */
  .hero-photo { aspect-ratio: 4 / 5; }
  .hero-photo figcaption { left: 12px; right: 12px; bottom: -26px; padding: 10px 14px; border-radius: 14px; }
  .hero-photo figcaption strong { font-size: 15px; }
  .hero-photo figcaption span { font-size: 12.5px; }
  .stats, .stats.three { grid-template-columns: 1fr; }
  .spec-compact { grid-template-columns: 1fr; }
  .team-lead { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; }
  .price-tabs { display: flex; }
  .price-tabs button { flex: 1; padding-inline: 12px; }
  .form-grid { grid-template-columns: 1fr; }
  .clinic-strip { grid-template-columns: 1fr 1fr; }
  .clinic-strip figure:first-child { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16 / 10; }
  .clinic-strip { gap: 10px; }
  .clinic-strip figcaption { left: 8px; bottom: 8px; font-size: 11px; padding: 3px 9px; white-space: nowrap; max-width: calc(100% - 16px); overflow: hidden; text-overflow: ellipsis; }
  .footer-grid { grid-template-columns: 1fr; }
  .wa-float span { display: none; }
  .wa-float { padding: 14px; }
  .cta-band .actions .btn, .contact-card .actions .btn { width: 100%; }
}

/* Redes sociales ---------------------------------------------------- */
.social { display: flex; flex-wrap: wrap; gap: 10px; }
.social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  transition: background .2s, color .2s, border-color .2s, transform .25s var(--ease);
}
.social a:hover { transform: translateY(-2px); }
.social svg { width: 20px; height: 20px; flex: none; }

.social-block { margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .15); position: relative; z-index: 1; }
.social-block p { font-size: 14px; color: rgba(255, 255, 255, .7); margin-bottom: 12px; }
.social-light a { color: #fff; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .2); }
.social-light a:hover { background: #fff; color: var(--nv-ink); }

.site-footer .social-footer { display: flex; margin-top: 20px; }
.social-footer a { color: var(--nv-ink); background: #fff; border: 1px solid var(--nv-grey); }
.social-footer a:hover { background: var(--nv-ink); color: #fff; border-color: var(--nv-ink); }

.social-menu { display: none; }
@media (max-width: 1240px) {
  .social-menu { display: flex; justify-content: center; margin-bottom: 10px; }
  .nav-links .social-menu a {
    justify-content: center; width: 46px; height: 46px; padding: 0;
    background: var(--nv-lavender); color: var(--nv-ink);
  }
}

/* Aprende más -------------------------------------------------------- */
.dropdown.dropdown-sm { width: 300px; grid-template-columns: 1fr; }
.learn { background: linear-gradient(180deg, var(--nv-white), var(--nv-snow)); }
.learn-block + .learn-block { margin-top: clamp(64px, 8vw, 96px); }
.learn-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.learn-head h3, .faq-intro h3 { font-size: clamp(26px, 3vw, 34px); }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post {
  background: #fff; border: 1px solid var(--nv-grey); border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column; transition: box-shadow .35s var(--ease), transform .35s var(--ease);
}
.post:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.post-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--nv-lavender); }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post:hover .post-media img { transform: scale(1.04); }
.post-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post-cat { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--nv-accent); }
.post-body h4 { font-size: 20px; margin-top: 10px; line-height: 1.25; }
.post-body h4 a:hover { color: var(--nv-accent); }
.post-body p { margin-top: 10px; font-size: 15px; color: var(--nv-text-soft); line-height: 1.55; }
.post-link { margin-top: auto; padding-top: 18px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--nv-ink); }
.post-link svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.post:hover .post-link svg { transform: translateX(4px); }

.post-minis { margin-top: 16px; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.post-mini {
  display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--nv-grey);
  border-radius: var(--radius); padding: 10px 16px 10px 10px; transition: border-color .25s, box-shadow .25s;
}
.post-mini:hover { border-color: var(--nv-lavender-2); box-shadow: var(--shadow-sm); }
.post-mini img { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; flex: none; }
.post-mini span { flex: 1; min-width: 0; }
.post-mini small { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--nv-accent); }
.post-mini strong { display: block; font-size: 15px; font-weight: 600; color: var(--nv-ink); line-height: 1.3; margin-top: 2px; }
.post-mini > svg { width: 18px; height: 18px; color: var(--nv-mist); flex: none; transition: transform .25s var(--ease), color .25s; }
.post-mini:hover > svg { transform: translateX(3px); color: var(--nv-ink); }

.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.faq-intro { position: sticky; top: 110px; }
.faq-intro > p { margin-top: 10px; color: var(--nv-text-soft); font-size: 17px; }
.faq-filters { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.faq-filters button {
  border: 1px solid var(--nv-grey); background: #fff; color: var(--nv-text); border-radius: 999px;
  padding: 8px 14px; font-size: 14.5px; font-weight: 500; display: inline-flex; align-items: center; gap: 8px;
  transition: background .2s, color .2s, border-color .2s;
}
.faq-filters button span { font-size: 12px; font-weight: 600; background: var(--nv-lavender); color: var(--nv-ink); border-radius: 999px; padding: 1px 8px; }
.faq-filters button:hover { border-color: var(--nv-ink); }
.faq-filters button.is-active { background: var(--nv-ink); color: #fff; border-color: var(--nv-ink); }
.faq-filters button.is-active span { background: rgba(255, 255, 255, .2); color: #fff; }
.faq-help { margin-top: 28px; background: var(--nv-lavender); border-radius: var(--radius); padding: 22px; }
.faq-help strong { color: var(--nv-ink); font-size: 16.5px; }
.faq-help p { margin: 6px 0 16px; font-size: 15px; color: var(--nv-text-soft); }

.faq-list { display: grid; gap: 10px; }
.faq-item { background: #fff; border: 1px solid var(--nv-grey); border-radius: var(--radius); transition: border-color .25s, box-shadow .25s; }
.faq-item[hidden] { display: none; }
.faq-item[open] { border-color: var(--nv-lavender-2); box-shadow: var(--shadow-sm); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 20px 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-weight: 600; font-size: 16.5px; color: var(--nv-ink); line-height: 1.4;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg {
  width: 20px; height: 20px; flex: none; padding: 4px; box-sizing: content-box; border-radius: 50%;
  background: var(--nv-lavender); transition: transform .3s var(--ease), background .2s, color .2s;
}
.faq-item[open] summary svg { transform: rotate(180deg); background: var(--nv-ink); color: #fff; }
.faq-answer { padding: 0 22px 22px; display: grid; gap: 12px; }
.faq-answer p, .faq-answer li { font-size: 15.5px; color: var(--nv-text-soft); line-height: 1.65; }
.faq-answer ul { display: grid; gap: 8px; padding-left: 4px; }
.faq-answer li { position: relative; padding-left: 18px; }
.faq-answer li::before { content: ""; position: absolute; left: 0; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--nv-accent); }
.faq-answer strong { color: var(--nv-ink); }

@media (max-width: 980px) {
  .post-grid { grid-template-columns: 1fr 1fr; }
  .post-grid .post:last-child { grid-column: 1 / -1; }
  .faq { grid-template-columns: 1fr; }
  .faq-intro { position: static; }
}
@media (max-width: 1240px) { .dropdown.dropdown-sm { width: auto; } }
@media (max-width: 640px) {
  .post-grid { grid-template-columns: 1fr; }
  .post-minis { grid-template-columns: 1fr; }
  .faq-item summary { padding: 18px; font-size: 15.5px; }
  .faq-answer { padding: 0 18px 18px; }
}

/* Tarjetas de artículo: pie con fecha ---------------------------------- */
.post-foot { margin-top: auto; padding-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.post-foot .post-link { margin-top: 0; padding-top: 0; }
.post-meta { font-size: 13px; color: var(--nv-mist); font-weight: 500; }

/* Páginas interiores (blog y artículos) ------------------------------- */
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--nv-text-soft); margin-bottom: 22px; }
.breadcrumb a { color: var(--nv-ink); font-weight: 500; }
.breadcrumb a:hover { color: var(--nv-accent); }
.breadcrumb span[aria-hidden] { color: var(--nv-mist); }

.page-hero, .article-hero {
  padding: clamp(130px, 14vw, 170px) 0 clamp(40px, 6vw, 64px);
  background:
    radial-gradient(900px 400px at 85% -10%, rgba(91, 95, 199, .16), transparent 60%),
    linear-gradient(180deg, var(--nv-lavender) 0%, #f1f1ff 70%, var(--nv-white) 100%);
}
.page-hero h1 { font-size: clamp(36px, 5vw, 58px); margin-top: 20px; max-width: 820px; letter-spacing: -0.03em; }
.page-hero p { margin-top: 18px; font-size: clamp(17px, 1.6vw, 19px); color: var(--nv-text-soft); max-width: 680px; }
.blog-list { padding-top: clamp(32px, 4vw, 48px); }
.blog-filters { margin: 0 0 28px; }
.blog-list .post[hidden] { display: none; }
.blog-list .post-body h2 { font-size: 20px; margin-top: 10px; line-height: 1.25; }
.blog-list .post-body h2 a:hover { color: var(--nv-accent); }
.blog-empty { margin-top: 20px; color: var(--nv-text-soft); }

.container.narrow { max-width: 820px; }
.article-hero { padding-bottom: 32px; }
.article-hero h1 { font-size: clamp(34px, 5vw, 54px); margin-top: 18px; letter-spacing: -0.03em; line-height: 1.08; }
.article-sub { margin-top: 18px; font-size: clamp(18px, 1.8vw, 21px); color: var(--nv-text-soft); line-height: 1.55; }
.article-meta { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; font-size: 14.5px; color: var(--nv-text-soft); }
.article-meta img { width: 28px; height: 28px; border-radius: 50%; background: #fff; }
.article-meta strong { color: var(--nv-ink); font-weight: 600; }
.article-meta .read { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--nv-grey); border-radius: 999px; padding: 4px 12px; }
.article-meta .read svg { width: 15px; height: 15px; }
.article-cover { margin: 0 0 clamp(32px, 5vw, 48px); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--nv-lavender); }
.article-cover img { width: 100%; height: auto; }

.prose { font-size: 18px; line-height: 1.8; color: var(--nv-text); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(24px, 2.6vw, 30px); margin-top: 1.9em; line-height: 1.2; }
.prose h3 { font-size: 20px; margin-top: 1.7em; line-height: 1.3; }
.prose h2 + *, .prose h3 + * { margin-top: .6em; }
.prose strong { color: var(--nv-ink); font-weight: 600; }
.prose a:not(.study-file) { color: var(--nv-accent); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 0; display: grid; gap: .55em; }
.prose ul li { position: relative; padding-left: 26px; }
.prose ul li::before { content: ""; position: absolute; left: 6px; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--nv-accent); }
.prose ol { counter-reset: n; list-style: none; }
.prose ol li { counter-increment: n; position: relative; padding-left: 40px; }
.prose ol li::before {
  content: counter(n); position: absolute; left: 0; top: .15em; width: 28px; height: 28px; border-radius: 50%;
  background: var(--nv-ink); color: #fff; font-size: 14px; font-weight: 600; display: grid; place-items: center; line-height: 1;
}
.prose ul.check li::before, .prose ul.warn li::before {
  width: 20px; height: 20px; left: 0; top: .3em; background-position: center; background-repeat: no-repeat; background-size: 11px;
}
.prose ul.check li::before { background-color: #e7f6ee; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f6b43' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.prose ul.warn li::before { background-color: #fdecec; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b3261e' stroke-width='3.5' stroke-linecap='round'%3E%3Cpath d='M12 6v8M12 18.5v.5'/%3E%3C/svg%3E"); }
.prose ul.check li, .prose ul.warn li { padding-left: 32px; }
.prose hr { border: 0; height: 1px; background: var(--nv-grey); margin: 2.4em 0; }
.prose .ref { font-size: 14.5px; line-height: 1.6; color: var(--nv-text-soft); background: var(--nv-snow); border-left: 3px solid var(--nv-lavender-2); border-radius: 0 10px 10px 0; padding: 12px 16px; }
.prose .ref span { font-weight: 600; color: var(--nv-ink); }

.study-list { display: grid; gap: 14px; }
.study { background: var(--nv-snow); border: 1px solid var(--nv-grey); border-radius: var(--radius); padding: 20px 22px; }
.study p { font-size: 16.5px; line-height: 1.65; }
.study-file {
  margin-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  background: #fff; border: 1px solid var(--nv-grey); border-radius: var(--radius-sm); padding: 12px 14px 12px 50px; position: relative;
  font-size: 14.5px; line-height: 1.45; color: var(--nv-ink); transition: border-color .2s, box-shadow .2s;
}
.study-file::before {
  content: "PDF"; position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 30px; border-radius: 5px; background: #b3261e; color: #fff; font-size: 9px; font-weight: 700; display: grid; place-items: center; letter-spacing: .02em;
}
.study-file:hover { border-color: var(--nv-accent); box-shadow: var(--shadow-sm); }
.study-file span { flex: none; font-size: 12.5px; font-weight: 600; color: var(--nv-text-soft); white-space: nowrap; }

.share { margin-top: clamp(40px, 5vw, 56px); padding-top: 24px; border-top: 1px solid var(--nv-grey); display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.share > span { font-size: 14px; font-weight: 600; color: var(--nv-ink); margin-right: 6px; }
.share a, .share button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; min-width: 44px; padding: 0 12px;
  border-radius: 999px; border: 1px solid var(--nv-grey); background: #fff; color: var(--nv-ink); font-size: 14px; font-weight: 600;
  transition: background .2s, color .2s, border-color .2s;
}
.share a:hover, .share button:hover { background: var(--nv-ink); color: #fff; border-color: var(--nv-ink); }
.share svg { width: 19px; height: 19px; }

.post-cta {
  margin-top: 32px; border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px); color: #fff; position: relative; overflow: hidden;
  background: radial-gradient(600px 300px at 100% 0%, rgba(91, 95, 199, .65), transparent 60%), var(--nv-ink);
  display: grid; gap: 22px;
}
.post-cta h2 { color: #fff; font-size: clamp(24px, 2.8vw, 32px); }
.post-cta p { margin-top: 10px; color: rgba(255, 255, 255, .82); font-size: 16.5px; max-width: 620px; }
.post-cta .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.back-link { margin-top: 32px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--nv-ink); }
.back-link svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.back-link:hover svg { transform: translateX(-4px); }
.related { background: var(--nv-snow); margin-top: clamp(56px, 7vw, 88px); }
.related-title { font-size: clamp(26px, 3vw, 34px); margin-bottom: 28px; }
.subpage .site-footer { margin-top: 0; }

@media (max-width: 640px) {
  .prose { font-size: 17px; }
  .study-file { flex-direction: column; align-items: flex-start; }
  .post-cta .actions .btn { width: 100%; }
  .share button span { display: none; }
}

/* Tratamientos -------------------------------------------------------- */
.treatments { background: var(--nv-white); }
.trat-filters { justify-content: center; margin: -16px 0 28px; }
.trat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.trat-card {
  background: #fff; border: 1px solid var(--nv-grey); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; transition: box-shadow .35s var(--ease), transform .35s var(--ease);
}
.trat-card[hidden] { display: none; }
.trat-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.trat-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--nv-lavender); }
.trat-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.trat-card:hover .trat-media img { transform: scale(1.04); }
.trat-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.trat-body .post-cat { font-size: 11.5px; }
.trat-body h2, .trat-body h3 { font-size: 18px; margin-top: 8px; line-height: 1.3; }
.trat-body h2 a:hover, .trat-body h3 a:hover { color: var(--nv-accent); }
.trat-body p { margin-top: 8px; font-size: 14.5px; line-height: 1.55; color: var(--nv-text-soft); }
.trat-body .post-foot { padding-top: 16px; }
.trat-body .post-link { margin-left: auto; font-size: 14.5px; }
.trat-price { font-size: 15px; font-weight: 700; color: var(--nv-ink); background: var(--nv-lavender); border-radius: 999px; padding: 3px 11px; }

.trat-box {
  margin: 0 0 clamp(28px, 4vw, 40px); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  background: var(--nv-snow); border: 1px solid var(--nv-grey); border-radius: var(--radius); padding: 18px 22px;
}
.trat-box small { display: block; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--nv-accent); }
.trat-box strong { display: block; font-size: 30px; font-weight: 700; color: var(--nv-ink); letter-spacing: -0.03em; line-height: 1.15; margin-top: 2px; }
.trat-box span { display: block; font-size: 13.5px; color: var(--nv-text-soft); margin-top: 2px; }

@media (max-width: 1140px) { .trat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 980px) { .trat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .trat-grid { grid-template-columns: 1fr; }
  .trat-filters { justify-content: flex-start; margin-top: -8px; }
}

/* Landing: 3 tarjetas de patologías en una fila */
.spec-featured.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .spec-featured.three { grid-template-columns: 1fr; } }
