/* ============================================================
   Dr. Faumer Baños García — Cirujano Urólogo
   Estética: editorial clínica, azul profundo + acento teal
   Escrita mobile-first: la base es el teléfono, el desktop amplía
   ============================================================ */

:root {
  /* Azules — el color de la marca */
  --blue-950: #082639;
  --blue-900: #0F3D5E;
  --blue-800: #124A70;
  --blue-700: #175C86;
  --blue-600: #1E6FA0;
  --blue-500: #2C82B8;
  --blue-400: #5AA3CE;
  --blue-300: #8FC0DE;
  --blue-200: #C2DEEE;
  --blue-100: #E4F0F8;
  --blue-50:  #F2F8FC;

  /* Teal: acento de salud */
  --teal:      #2EA6A2;
  --teal-dark: #1E7A77;
  --teal-soft: #E1F3F1;

  /* Arena: un solo toque cálido, para el trazo del titular */
  --sand: #E3B55F;

  /* WhatsApp */
  --wa:      #25D366;
  --wa-dark: #1DA851;

  /* Tinta y texto */
  --ink:   #0E2A3D;
  --text:  #46626F;
  --muted: #7B95A6;
  --line:   #DFEBF3;
  --line-2: #C7DDEB;

  /* Superficies */
  --bg:     #F8FBFD;
  --bg-alt: #EDF5FA;
  --panel:  #FFFFFF;

  --shadow-sm: 0 2px 10px rgba(15, 61, 94, 0.06);
  --shadow-md: 0 14px 36px rgba(15, 61, 94, 0.11);
  --shadow-lg: 0 30px 70px rgba(8, 38, 57, 0.2);

  --radius:    16px;
  --radius-lg: 24px;
  --radius-sm: 12px;

  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font-head: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Altura de la barra de acción móvil */
  --bar-h: 76px;

  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.42'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  /* La barra fija de acción vive aquí abajo en móvil */
  padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom, 0px));
  -webkit-tap-highlight-color: rgba(46, 166, 162, 0.16);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-optical-sizing: auto;
  color: var(--ink);
  line-height: 1.12;
  margin: 0;
  letter-spacing: -0.018em;
  text-wrap: balance;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 18px;
}

/* ===== Botones — 48px de alto mínimo para el pulgar ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  font-family: var(--font-body);
  font-weight: 650;
  font-size: 1rem;
  letter-spacing: -0.005em;
  line-height: 1.1;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1.6px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s;
  white-space: nowrap;
}
.btn:active { transform: scale(0.975); }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn--sm { min-height: 42px; padding: 10px 18px; font-size: 0.88rem; }
.btn--sm svg { width: 16px; height: 16px; }
.btn--lg { min-height: 56px; padding: 16px 30px; font-size: 1.04rem; }
.btn--xl { min-height: 60px; padding: 18px 36px; font-size: 1.1rem; }
.btn--block { width: 100%; }

.btn--primary {
  background: var(--blue-900);
  color: #fff;
  box-shadow: 0 10px 24px rgba(15, 61, 94, 0.24);
}
.btn--primary:hover { background: var(--blue-800); box-shadow: 0 16px 34px rgba(15, 61, 94, 0.3); }

.btn--wa { background: var(--wa); color: #06331b; box-shadow: 0 12px 28px rgba(37, 211, 102, 0.32); }
.btn--wa:hover { background: var(--wa-dark); color: #fff; box-shadow: 0 18px 38px rgba(37, 211, 102, 0.42); }

.btn--ghost { background: var(--panel); color: var(--blue-800); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--blue-600); color: var(--blue-900); }

.ico-wa { color: inherit; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 9px;
  min-height: 44px;
  font-weight: 650; font-size: 1rem; color: var(--blue-800);
  border-bottom: 1.6px solid var(--line-2);
  transition: gap 0.25s var(--ease), border-color 0.25s, color 0.25s;
}
.link-arrow:hover { gap: 14px; border-color: var(--teal); color: var(--teal-dark); }

/* ===== Tipografía de sección ===== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-body);
  font-weight: 650;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 1.6px; background: var(--teal); flex-shrink: 0; }
.section__header--center .eyebrow { justify-content: center; }

.section { padding: 58px 0; }
.section--alt { background: var(--bg-alt); }
.section__title { font-size: clamp(1.68rem, 6.4vw, 2.7rem); font-weight: 600; }
.section__sub { font-size: 1rem; color: var(--text); margin-top: 14px; }
.section__title + p { margin-top: 16px; }
.section__header { max-width: 660px; }
.section__header--center { margin-inline: auto; text-align: center; }

.pending {
  display: inline-block;
  font-style: italic;
  color: #8A6408;
  background: #FDF5E3;
  border: 1px dashed #E0C382;
  border-radius: 8px;
  padding: 8px 13px;
  font-size: 0.88rem;
  line-height: 1.5;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 251, 253, 0.86);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.navbar.scrolled { border-color: var(--line); box-shadow: 0 6px 22px rgba(15, 61, 94, 0.06); }
.navbar__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 12px; }

.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; flex-shrink: 0; }
.brand__mark {
  display: grid;
  place-items: center;
  overflow: hidden;
  width: 38px; height: 38px;
  border-radius: 999px 999px 11px 11px;
  background: #fff;
  border: 1px solid var(--line);
  flex-shrink: 0;
  box-shadow: 0 5px 14px rgba(15, 61, 94, 0.16);
  transition: transform 0.45s var(--ease);
}
.brand:hover .brand__mark { transform: translateY(-2px) rotate(-5deg); }
.brand__mark img { width: 100%; height: 100%; object-fit: cover; }
.brand__text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.brand__text strong { font-family: var(--font-head); font-weight: 600; font-size: 0.95rem; color: var(--ink); letter-spacing: -0.01em; white-space: nowrap; }
.brand__text em { font-style: normal; font-size: 0.66rem; color: var(--teal-dark); font-weight: 650; letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap; }

.navbar__links { display: none; align-items: center; gap: 2px; }
.navbar__links > a:not(.btn) {
  position: relative;
  font-weight: 550;
  font-size: 0.85rem;
  color: var(--text);
  padding: 10px 8px;
  white-space: nowrap;
  transition: color 0.2s;
}
.navbar__links > a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 8px; right: 8px; bottom: 4px;
  height: 1.6px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.32s var(--ease);
}
.navbar__links > a:not(.btn):hover { color: var(--ink); }
.navbar__links > a:not(.btn):hover::after { transform: scaleX(1); }
.navbar__links .btn { margin-left: 12px; }

.navbar__hamburger {
  display: flex; flex-direction: column; gap: 5px;
  width: 46px; height: 46px;
  align-items: center; justify-content: center;
  background: none; border: 0; cursor: pointer;
  border-radius: 12px; flex-shrink: 0;
  transition: background 0.25s var(--ease), transform 0.15s var(--ease);
}
.navbar__hamburger:active { transform: scale(0.9); background: var(--blue-100); }
.navbar__hamburger span { width: 23px; height: 2.2px; background: var(--blue-900); border-radius: 2px; transition: transform 0.35s var(--ease), opacity 0.2s var(--ease); }
.navbar__hamburger.open span:nth-child(1) { transform: translateY(7.2px) rotate(45deg); }
.navbar__hamburger.open span:nth-child(2) { opacity: 0; }
.navbar__hamburger.open span:nth-child(3) { transform: translateY(-7.2px) rotate(-45deg); }

.navbar__mobile {
  display: flex;
  flex-direction: column;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding: 0 18px;
  background: var(--panel);
  border-bottom: 1px solid transparent;
  transition: max-height 0.45s var(--ease), opacity 0.35s var(--ease), padding 0.45s var(--ease), border-color 0.35s var(--ease);
}
.navbar__mobile.open {
  max-height: 640px;
  opacity: 1;
  padding: 8px 18px 22px;
  border-color: var(--line);
}
.navbar__mobile a:not(.btn) {
  display: flex;
  align-items: center;
  min-height: 52px;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1.14rem;
  color: var(--ink);
  padding: 6px 4px;
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), color 0.2s, padding 0.25s var(--ease);
}
.navbar__mobile a:not(.btn):active { color: var(--teal-dark); padding-left: 12px; }
.navbar__mobile .btn { margin-top: 18px; opacity: 0; transform: translateY(10px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.navbar__mobile.open a:not(.btn),
.navbar__mobile.open .btn { opacity: 1; transform: none; }
.navbar__mobile.open a:nth-child(1) { transition-delay: 0.04s; }
.navbar__mobile.open a:nth-child(2) { transition-delay: 0.07s; }
.navbar__mobile.open a:nth-child(3) { transition-delay: 0.1s; }
.navbar__mobile.open a:nth-child(4) { transition-delay: 0.13s; }
.navbar__mobile.open a:nth-child(5) { transition-delay: 0.16s; }
.navbar__mobile.open a:nth-child(6) { transition-delay: 0.19s; }
.navbar__mobile.open a:nth-child(7) { transition-delay: 0.22s; }
.navbar__mobile.open .btn { transition-delay: 0.26s; }

/* ============================================================
   HERO — azul profundo
   ============================================================ */
.hero {
  position: relative;
  color: #DCEDF8;
  background: linear-gradient(168deg, #0B3350 0%, #124A70 58%, #16608A 100%);
  overflow: hidden;
  padding: 34px 0 0;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__glow {
  position: absolute;
  width: 520px; height: 520px;
  top: -220px; right: -180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46,166,162,0.42), rgba(46,166,162,0) 68%);
}
.hero__glow--2 {
  width: 460px; height: 460px;
  top: auto; right: auto;
  bottom: -240px; left: -180px;
  background: radial-gradient(circle, rgba(90,163,206,0.38), rgba(90,163,206,0) 68%);
}
.hero__rings {
  position: absolute;
  right: -180px; top: 20px;
  width: 560px; height: 560px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.09);
  box-shadow: 0 0 0 56px rgba(255,255,255,0.035), 0 0 0 112px rgba(255,255,255,0.022);
}
.hero__grain {
  position: absolute; inset: 0;
  background-image: var(--grain);
  opacity: 0.06;
}

.hero__inner {
  position: relative;
  display: grid;
  gap: 28px;
  padding-bottom: 32px;
}

.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #DDEEF9;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 7px 14px 7px 11px;
  border-radius: 999px;
}
.hero__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--teal);
  animation: dotPulse 2.6s ease-out infinite;
  flex-shrink: 0;
}
@keyframes dotPulse {
  0%   { box-shadow: 0 0 0 0 rgba(46,166,162,0.55); }
  70%  { box-shadow: 0 0 0 9px rgba(46,166,162,0); }
  100% { box-shadow: 0 0 0 0 rgba(46,166,162,0); }
}

.hero__title {
  color: #fff;
  font-size: clamp(2.05rem, 8.6vw, 3.4rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.028em;
  margin: 18px 0 0;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.05em; }
.hero__title .line > span { display: block; }
.hero__title em {
  position: relative;
  font-style: italic;
  font-weight: 500;
  color: var(--blue-200);
  white-space: nowrap;
}
.hero__brush {
  position: absolute;
  left: -1%; bottom: -0.14em;
  width: 102%; height: 0.3em;
  overflow: visible;
  color: var(--sand);
}
.hero__brush path {
  fill: none;
  stroke: currentColor;
  stroke-width: 7;
  stroke-linecap: round;
  stroke-dasharray: 420;
  stroke-dashoffset: 420;
  animation: brushDraw 1.1s var(--ease) 1.15s forwards;
}
@keyframes brushDraw { to { stroke-dashoffset: 0; } }

.hero__lede {
  font-size: 1.02rem;
  color: #C4DEEF;
  margin: 18px 0 0;
  max-width: 34ch;
}

.hero__ctas { display: flex; flex-direction: column; align-items: stretch; gap: 12px; margin-top: 24px; }
.hero__ctas .btn { width: 100%; }
/* Sobre el navy del hero, el botón secundario va en outline claro, no en blanco sólido */
.hero__ctas .btn--ghost { background: rgba(255,255,255,0.14); color: #fff; border-color: rgba(255,255,255,0.45); box-shadow: none; }
.hero__ctas .btn--ghost:hover { background: rgba(255,255,255,0.16); border-color: #fff; color: #fff; }
.hero__ctas .link-arrow { justify-content: center; color: #DCEDF8; border-color: rgba(255,255,255,0.28); align-self: center; }
.hero__ctas .link-arrow:hover { color: #fff; border-color: var(--teal); }

.hero__trust {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin: 24px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid rgba(255,255,255,0.14);
}
.hero__trust li { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: #BAD8EC; }
.hero__trust svg { width: 17px; height: 17px; color: var(--teal); flex-shrink: 0; }

/* --- Bloque del doctor: en móvil es una fila compacta --- */
.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px;
  border-radius: 22px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
}
.portrait {
  margin: 0;
  width: 148px;
  flex: none;
  aspect-ratio: 3 / 4;
  border-radius: 78px 78px 16px 16px;
  overflow: hidden;
  background:
    repeating-linear-gradient(-45deg, rgba(255,255,255,0.07) 0 10px, transparent 10px 20px),
    linear-gradient(165deg, rgba(46,166,162,0.35), rgba(143,192,222,0.2));
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 10px 26px rgba(5, 20, 30, 0.28);
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }

.float-chip { display: flex; align-items: center; gap: 11px; }
.float-chip svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--teal); }
.float-chip strong { display: block; font-family: var(--font-head); font-weight: 600; font-size: 0.95rem; color: #fff; line-height: 1.25; }
.float-chip span { display: block; font-size: 0.78rem; color: #A9CBE1; margin-top: 2px; }
.float-chip--wa { display: none; }

/* --- Cinta de padecimientos --- */
.ticker {
  position: relative;
  background: var(--blue-100);
  color: var(--blue-900);
  overflow: hidden;
  padding: 12px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker__track { display: flex; width: max-content; animation: tickerScroll 40s linear infinite; }
.ticker__group {
  display: flex;
  align-items: center;
  gap: 26px;
  margin: 0;
  padding: 0 26px 0 0;
  list-style: none;
}
.ticker__group li {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head);
  font-size: 0.92rem;
  font-weight: 500;
  white-space: nowrap;
}
.ticker__group li::after {
  content: "";
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--teal);
}
@keyframes tickerScroll { to { transform: translateX(-50%); } }
.ticker:hover .ticker__track { animation-play-state: paused; }

/* ============================================================
   SPOTLIGHT — el procedimiento que el doctor quiere impulsar más:
   cirugía de próstata por mínima invasión (robótica y láser)
   ============================================================ */
.spotlight {
  position: relative;
  background: linear-gradient(155deg, var(--blue-900), var(--blue-700));
  color: #DCEDF8;
  overflow: hidden;
  padding: 44px 0;
}
.spotlight__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(46,166,162,0.34), transparent 46%),
    radial-gradient(circle at 90% 82%, rgba(90,163,206,0.3), transparent 50%);
  pointer-events: none;
}
.spotlight__inner { position: relative; }
.spotlight__text { max-width: 720px; }
.spotlight__badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #DDEEF9;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.spotlight h2 {
  color: #fff;
  font-size: clamp(1.6rem, 6.4vw, 2.5rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.12;
}
.spotlight__text > p {
  font-size: 1rem;
  color: #C4DEEF;
  margin: 16px 0 0;
  max-width: 52ch;
}
.spotlight__text > p strong { color: #fff; font-weight: 650; }

/* Foto de quirófano: refuerza la promesa con evidencia real */
.spotlight__media {
  margin: 26px 0 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 20px 50px rgba(5, 20, 30, 0.35);
}
.spotlight__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 30%;
}

.spotlight__list { list-style: none; margin: 26px 0 28px; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.spotlight__list li { display: flex; align-items: flex-start; gap: 13px; }
.spotlight__list svg {
  width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px;
  color: var(--teal);
}
.spotlight__list strong { display: block; font-family: var(--font-head); font-weight: 600; color: #fff; font-size: 0.98rem; margin-bottom: 3px; }
.spotlight__list span { display: block; font-size: 0.89rem; color: #B9D6E9; line-height: 1.5; }
.spotlight .btn--wa { width: 100%; }

/* Entrada del hero */
.hero__kicker,
.hero__title .line > span,
.hero__lede,
.hero__ctas,
.hero__trust,
.hero__visual { animation: riseIn 0.9s var(--ease) both; }
.hero__kicker { animation-delay: 0.05s; }
.hero__title .line:nth-child(1) > span { animation-delay: 0.14s; }
.hero__title .line:nth-child(2) > span { animation-delay: 0.23s; }
.hero__lede   { animation-delay: 0.46s; }
.hero__ctas   { animation-delay: 0.56s; }
.hero__trust  { animation-delay: 0.66s; }
.hero__visual { animation-delay: 0.74s; }
@keyframes riseIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}
.hero__title .line > span { animation-name: riseInMask; }
@keyframes riseInMask {
  from { opacity: 0; transform: translateY(105%); }
  to   { opacity: 1; transform: none; }
}

/* ===== Split ===== */
.split { display: grid; gap: 32px; align-items: center; }

/* ===== Sobre el doctor ===== */
.quote-card {
  position: relative;
  background: linear-gradient(160deg, var(--panel), var(--blue-50));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 24px 28px;
  box-shadow: var(--shadow-sm);
}
/* Foto del doctor como cabecera de la tarjeta, sangrada hasta el borde */
.quote-card__photo {
  display: block;
  width: calc(100% + 48px);
  max-width: none;
  height: auto;
  margin: -36px -24px 20px;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  object-position: center 22%;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.quote-card__mark { width: 28px; height: 28px; color: var(--blue-200); margin-bottom: 10px; }
.quote-card blockquote {
  position: relative;
  margin: 0;
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 1.16rem;
  line-height: 1.42;
  color: var(--ink);
  letter-spacing: -0.012em;
}
.quote-card__by {
  display: flex; align-items: center; gap: 12px;
  margin-top: 22px; padding-top: 20px;
  border-top: 1px solid var(--line);
}
.quote-card__by span {
  display: grid; place-items: center;
  overflow: hidden;
  width: 40px; height: 40px; flex-shrink: 0;
  border-radius: 999px 999px 10px 10px;
  background: #fff;
  border: 1px solid var(--line);
}
.quote-card__by span img { width: 100%; height: 100%; object-fit: cover; }
.quote-card__by strong { display: block; font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: 0.98rem; }
.quote-card__by em { font-style: normal; font-size: 0.74rem; color: var(--teal-dark); font-weight: 650; letter-spacing: 0.09em; text-transform: uppercase; }

/* Solo margin-bottom: el margin-top lo pone `.section__title + p` */
.doctor__body p { margin-bottom: 14px; }

.doctor__subhead {
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--blue-900);
  margin: 26px 0 10px;
}

/* Formación: lista de logros con check, no tarjetas de crédito */
.training { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.training li { display: flex; align-items: flex-start; gap: 12px; }
.training svg {
  width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px;
  color: var(--teal);
}
.training strong { display: block; font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: 0.98rem; margin-bottom: 3px; }
.training span { display: block; font-size: 0.9rem; color: var(--text); line-height: 1.5; }

.creds { list-style: none; margin: 22px 0 26px; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.creds li {
  display: flex; flex-direction: column; gap: 3px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--teal);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
}
.creds__label { font-size: 0.84rem; color: var(--muted); font-weight: 500; }
.creds__value { font-weight: 650; color: var(--blue-900); letter-spacing: 0.01em; }
/* Solo las cédulas (números) llevan tabular-nums y tracking amplio */
.creds__value--num { letter-spacing: 0.04em; font-variant-numeric: tabular-nums; }

/* ===== Servicios — en móvil, filas legibles, no tarjetas apretadas ===== */
.cards { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 30px; }
.card {
  position: relative;
  display: grid;
  grid-template-columns: 46px 1fr;
  align-items: start;
  gap: 4px 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 16px;
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.card::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--blue-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--blue-200); }
.card:hover::after { transform: scaleX(1); }
.card__icon {
  grid-row: 1 / span 3;
  display: grid; place-items: center;
  width: 46px; height: 46px;
  border-radius: 999px 999px 12px 12px;
  background: var(--blue-100);
  color: var(--blue-700);
  transition: transform 0.35s var(--ease), background 0.3s, color 0.3s;
}
.card__icon svg { width: 23px; height: 23px; }
.card:hover .card__icon { background: var(--blue-900); color: #fff; transform: translateY(-2px); }
.card h3 { grid-column: 2; font-size: 1.06rem; font-weight: 600; margin-bottom: 5px; }
.card p { grid-column: 2; font-size: 0.9rem; line-height: 1.5; margin: 0 0 10px; }
.card__cta {
  grid-column: 2;
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 650;
  font-size: 0.86rem;
  color: var(--teal-dark);
  transition: gap 0.25s var(--ease), color 0.2s;
}
.card:hover .card__cta { gap: 12px; color: var(--blue-800); }
/* Fuera de desktop el texto largo rompe en dos líneas y deja la flecha suelta */
.card__cta-long { display: none; }

/* Tarjeta destacada: el procedimiento que más quiere impulsar el doctor */
.card--featured {
  padding-top: 48px;
  border-color: var(--blue-300);
  background: linear-gradient(160deg, var(--blue-50), var(--panel));
}
.card--featured::after { transform: scaleX(1); }
.card--featured .card__icon { background: var(--blue-900); color: #fff; }
.card__badge {
  position: absolute;
  top: 14px; left: 16px;
  background: var(--blue-900);
  color: #fff;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
}

/* ===== Por qué elegirlo ===== */
.features { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: 30px; }
.feature {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: start;
  gap: 4px 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-2);
  transition: transform 0.3s var(--ease);
}
.feature:last-child { border-bottom: 0; }
.feature__icon {
  grid-row: 1 / span 2;
  display: grid; place-items: center;
  width: 48px; height: 48px;
  border-radius: 999px 999px 13px 13px;
  background: linear-gradient(150deg, var(--blue-700), var(--blue-900));
  color: #fff;
  box-shadow: 0 8px 18px rgba(15,61,94,0.2);
  transition: transform 0.4s var(--ease);
}
.feature:hover .feature__icon { transform: translateY(-3px) rotate(-5deg); }
.feature__icon svg { width: 23px; height: 23px; }
.feature h3 { grid-column: 2; font-size: 1.06rem; font-weight: 600; margin-bottom: 5px; }
.feature p { grid-column: 2; font-size: 0.9rem; line-height: 1.5; margin: 0; }

/* ===== Reseñas ===== */
.rating-summary {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 30px auto 0;
  padding: 20px;
  max-width: 340px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.rating-summary__score { display: flex; align-items: center; gap: 10px; }
.rating-summary__num { font-family: var(--font-head); font-weight: 600; font-size: 1.9rem; color: var(--ink); letter-spacing: -0.01em; }
.rating-summary__stars { display: inline-flex; gap: 2px; color: #F0B429; }
.rating-summary__stars svg { width: 19px; height: 19px; }
.rating-summary__meta { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.rating-summary__meta strong { font-size: 0.92rem; color: var(--ink); font-weight: 650; }
.rating-summary__meta a { display: inline-flex; align-items: center; gap: 5px; font-size: 0.85rem; font-weight: 650; color: var(--blue-700); }
.rating-summary__meta a:hover { color: var(--blue-900); }

.reviews { display: grid; grid-template-columns: 1fr; gap: 14px; margin: 28px 0 0; }
.review-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.review-card__stars { color: #F0B429; font-size: 0.98rem; letter-spacing: 2px; margin-bottom: 12px; }
.review-card p { font-size: 0.94rem; line-height: 1.55; color: var(--text); margin: 0 0 18px; }
.review-card__by { display: flex; align-items: center; gap: 12px; }
.review-card__avatar {
  display: grid; place-items: center;
  width: 40px; height: 40px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--blue-700);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.86rem;
}
.review-card__avatar--alt { background: var(--teal-dark); }
.review-card__avatar--sand { background: var(--sand); color: var(--ink); }
.review-card__by strong { display: block; font-size: 0.9rem; color: var(--ink); font-weight: 650; }
/* Ojo: solo el renglón de meta, no el <span> del avatar */
.review-card__by > div > span { display: block; font-size: 0.78rem; color: var(--muted); margin-top: 1px; }

.reviews__more { display: flex; justify-content: center; margin: 30px auto 0; width: fit-content; }

/* ===== Primera consulta ===== */
.process { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 10px; }
.process__step {
  position: relative;
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: start;
  gap: 4px 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 16px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.process__step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--blue-200); }
.process__num {
  grid-row: 1 / span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: 999px;
  background: var(--blue-100);
  color: var(--blue-900);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.35s var(--ease), color 0.35s var(--ease);
}
.process__step:hover .process__num { background: var(--teal); color: #fff; }
.process__step h3 { grid-column: 2; font-size: 1.06rem; font-weight: 600; margin-bottom: 5px; }
.process__step p { grid-column: 2; font-size: 0.9rem; line-height: 1.5; margin: 0; }
.process__note {
  text-align: center;
  max-width: 580px;
  margin: 26px auto 0;
  font-family: var(--font-head);
  font-size: 1rem;
  font-style: italic;
  color: var(--teal-dark);
  line-height: 1.5;
}

/* ===== Consultorio ===== */
.office {
  margin-top: 30px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  display: grid;
  overflow: hidden;
}
.office__info { padding: 24px 20px; display: flex; flex-direction: column; }
.office__tag {
  align-self: flex-start;
  font-weight: 650; font-size: 0.68rem; letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--teal-dark); background: var(--teal-soft);
  padding: 7px 12px; border-radius: 999px; margin-bottom: 14px;
}
.office h3 { font-size: 1.24rem; font-weight: 600; margin-bottom: 12px; }
.office__addr { display: flex; gap: 9px; align-items: flex-start; font-size: 0.95rem; font-weight: 500; color: var(--ink); margin: 0 0 20px; }
.office__addr svg { width: 19px; height: 19px; color: var(--teal); flex-shrink: 0; margin-top: 2px; }
.office__phone { display: flex; gap: 9px; align-items: center; font-size: 0.95rem; font-weight: 650; color: var(--blue-800); margin: -12px 0 20px; }
.office__phone svg { width: 18px; height: 18px; color: var(--teal); flex-shrink: 0; }
.office__hours-mini { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-direction: column; gap: 9px; flex-grow: 1; }
.office__hours-mini li {
  display: flex; justify-content: space-between; gap: 12px;
  font-size: 0.92rem; color: var(--text);
  padding-bottom: 9px; border-bottom: 1px solid var(--line);
}
.office__hours-mini li span { font-family: var(--font-head); font-weight: 600; color: var(--ink); }
.office__note { font-size: 0.88rem; color: var(--muted); margin: 0 0 20px; }
.office__actions { display: flex; flex-direction: column; gap: 14px; }
.office__actions .btn { width: 100%; }

.map-frame { position: relative; min-height: 240px; background: var(--bg-alt); }
.map-frame iframe { width: 100%; height: 100%; display: block; }
/* Foto real del doctor en su consultorio, superpuesta al mapa */
.office__photo {
  position: absolute;
  left: 14px; bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 999px;
  padding: 6px 16px 6px 6px;
  box-shadow: var(--shadow-md);
}
.office__photo img {
  width: 42px; height: 42px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 15%;
  border: 2px solid #fff;
  flex-shrink: 0;
}
.office__photo span { font-size: 0.8rem; font-weight: 650; color: var(--ink); }
.office__link {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  min-height: 44px;
  font-weight: 650; font-size: 0.94rem;
  color: var(--blue-700);
  transition: gap 0.25s var(--ease), color 0.2s;
}
.office__link:hover { gap: 12px; color: var(--blue-900); }

/* ===== Horarios ===== */
.hours__note { margin: 14px 0 22px; font-size: 0.95rem; }
.hours__table { width: 100%; border-collapse: collapse; }
.hours__table tr { border-bottom: 1px solid var(--line); }
.hours__table tr:last-child { border-bottom: 0; }
.hours__table th, .hours__table td { padding: 14px 4px; text-align: left; font-size: 0.98rem; }
.hours__table th { font-family: var(--font-head); font-weight: 600; color: var(--ink); }
.hours__table td { text-align: right; font-weight: 650; color: var(--blue-800); font-variant-numeric: tabular-nums; }
.hours__table tr.is-closed th { color: var(--muted); font-weight: 400; }
.hours__table tr.is-closed td { color: var(--muted); font-weight: 450; }

.contact-card {
  position: relative;
  background: linear-gradient(160deg, var(--blue-900), var(--blue-700));
  color: #DCEDF8;
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  margin-top: 30px;
}
.contact-card::before {
  content: "";
  position: absolute;
  width: 280px; height: 280px;
  top: -130px; right: -100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46,166,162,0.4), transparent 68%);
}
.contact-card > * { position: relative; }
.contact-card__head { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.contact-card__avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 18%;
  border: 2px solid rgba(255,255,255,0.35);
  flex-shrink: 0;
}
.contact-card h3 { color: #fff; font-size: 1.24rem; font-weight: 600; }
.contact-card__head p { margin: 3px 0 0; font-size: 0.86rem; color: var(--blue-300); }
.contact-card__list { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.contact-card__list li { display: flex; gap: 13px; align-items: flex-start; }
.contact-card__ico {
  display: grid; place-items: center;
  width: 42px; height: 42px; flex-shrink: 0;
  border-radius: 999px 999px 11px 11px;
  background: rgba(255,255,255,0.12);
  color: var(--teal);
}
.contact-card__ico svg { width: 20px; height: 20px; }
.contact-card__label { display: block; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--blue-300); margin-bottom: 3px; font-weight: 650; }
.contact-card__list a { display: inline-flex; align-items: center; min-height: 32px; font-family: var(--font-head); font-weight: 600; font-size: 1.08rem; color: #fff; }
.contact-card__list a:hover { color: var(--teal); }
.contact-card__text { font-size: 0.93rem; color: #C4DEEF; }
/* Sobre navy el botón primario se pierde: aquí va en verde WhatsApp */
.contact-card .btn--primary { background: var(--wa); color: #06331b; box-shadow: 0 10px 24px rgba(37, 211, 102, 0.26); }
.contact-card .btn--primary:hover { background: var(--wa-dark); color: #fff; }

/* ===== CTA final ===== */
.cta-final {
  position: relative;
  text-align: center;
  color: #fff;
  padding: 66px 0;
  overflow: hidden;
  background: linear-gradient(150deg, #0B3350, #175C86);
}
.cta-final__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 18% 24%, rgba(46,166,162,0.4), transparent 48%),
    radial-gradient(circle at 84% 76%, rgba(44,130,184,0.45), transparent 50%);
  pointer-events: none;
}
.cta-final__inner { position: relative; max-width: 740px; }
.cta-final h2 { color: #fff; font-size: clamp(1.75rem, 7vw, 2.9rem); font-weight: 500; letter-spacing: -0.025em; }
.cta-final h2 em { font-style: italic; color: var(--blue-200); }
.cta-final p { font-size: 1rem; color: #C4DEEF; margin: 16px auto 28px; max-width: 480px; }
.cta-final__actions { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.cta-final .btn--xl { width: 100%; }
/* Sobre el navy del CTA final, el botón secundario va en outline claro, no en blanco sólido */
.cta-final .btn--ghost { background: rgba(255,255,255,0.14); color: #fff; border-color: rgba(255,255,255,0.45); box-shadow: none; }
.cta-final .btn--ghost:hover { background: rgba(255,255,255,0.16); border-color: #fff; color: #fff; }
.cta-final__phone { font-size: 0.95rem !important; margin: 20px 0 0 !important; color: #A9CBE1 !important; }
.cta-final__phone a { font-weight: 650; color: #fff; border-bottom: 1.5px solid rgba(255,255,255,0.35); }
.cta-final__phone a:hover { border-color: var(--teal); }

/* ===== Footer ===== */
.footer { background: var(--blue-950); color: #A5C3D6; padding: 44px 0 0; }
.footer__inner { display: grid; grid-template-columns: 1fr; gap: 26px; align-items: start; padding-bottom: 30px; }
.footer__brand { display: flex; align-items: center; gap: 13px; }
.footer__brand .brand__mark { border-color: rgba(255,255,255,0.16); }
.footer__brand strong { display: block; font-family: var(--font-head); font-weight: 600; color: #fff; font-size: 1.04rem; }
.footer__brand span { font-size: 0.84rem; color: #83A5BC; }

/* Redes sociales: discretas, mismo peso visual que el resto del footer */
.footer__social { display: flex; gap: 8px; margin-top: 14px; }
.footer__social a {
  display: grid; place-items: center;
  width: 32px; height: 32px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  color: #83A5BC;
  transition: background 0.2s, color 0.2s;
}
.footer__social a:hover { background: rgba(255,255,255,0.12); color: var(--teal); }
.footer__social svg { width: 15px; height: 15px; }
.footer__nav { display: flex; flex-direction: column; }
.footer__nav a { display: flex; align-items: center; min-height: 44px; font-weight: 550; font-size: 0.94rem; color: #A5C3D6; transition: color 0.2s, padding-left 0.25s var(--ease); }
.footer__nav a:hover { color: var(--teal); padding-left: 5px; }
.footer__legal p { margin: 0 0 6px; font-size: 0.82rem; color: #7C9DB4; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 18px 0; }
.footer__bottom p { text-align: center; margin: 0; font-size: 0.8rem; color: #6F91A9; }

/* ===== Barra de acción móvil (protagonista en el teléfono) ===== */
.mobile-bar {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 10px;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 95;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
  transform: translateY(0);
  transition: transform 0.3s var(--ease);
}
/* Se esconde al bajar, reaparece al subir (ver script.js) */
.mobile-bar.is-hidden { transform: translateY(100%); }
.mobile-bar .btn { width: 100%; min-height: 52px; padding: 14px 10px; font-size: 0.98rem; box-shadow: none; }
.mobile-bar .btn--ghost { border-color: var(--line-2); }

/* ===== WhatsApp flotante — solo desktop ===== */
.wa-float { display: none; }
.wa-float svg { width: 32px; height: 32px; position: relative; z-index: 2; }
.wa-float__pulse {
  position: absolute; inset: 0; border-radius: 50%;
  background: var(--wa); opacity: 0.55;
  animation: waPulse 2.6s ease-out infinite;
}
@keyframes waPulse { 0% { transform: scale(1); opacity: 0.5; } 70% { transform: scale(1.7); opacity: 0; } 100% { opacity: 0; } }

/* ===== Reveal on scroll ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.cards .card:nth-child(3n+2) { transition-delay: 0.07s; }
.cards .card:nth-child(3n)   { transition-delay: 0.14s; }
.features .feature:nth-child(2) { transition-delay: 0.08s; }
.features .feature:nth-child(3) { transition-delay: 0.16s; }
.features .feature:nth-child(4) { transition-delay: 0.24s; }
.process__step:nth-child(2) { transition-delay: 0.12s; }
.process__step:nth-child(3) { transition-delay: 0.24s; }

/* ============================================================
   TABLET — a partir de aquí crece
   ============================================================ */
@media (min-width: 620px) {
  .container { padding-inline: 22px; }
  .section { padding: 72px 0; }
  .section__sub { font-size: 1.06rem; }

  .cards { grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 40px; }
  .features { grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 40px; }
  .rating-summary { flex-direction: row; max-width: none; width: fit-content; gap: 20px; padding: 18px 28px; }
  .rating-summary__meta { align-items: flex-start; text-align: left; }
  .reviews { grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 34px; }
  .feature { border-bottom: 0; border-top: 1px solid var(--line-2); padding: 22px 0 0; }
  .process { grid-template-columns: 1fr; gap: 12px; margin-top: 40px; }
  .creds li { flex-direction: row; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 18px; }
  .office__info { padding: 32px 28px; }
  .office__actions { flex-direction: row; align-items: center; gap: 20px; }
  .office__actions .btn { width: auto; }
  .contact-card { padding: 34px 30px; }
  .cta-final__actions { flex-direction: row; }
  .cta-final .btn--xl { width: auto; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .quote-card { padding: 44px 34px 34px; }
  .quote-card__photo { width: calc(100% + 68px); margin: -44px -34px 24px; }
  .quote-card blockquote { font-size: 1.3rem; }

  /* El hero ya puede respirar */
  .hero { padding-top: 44px; }
  .hero__inner { padding-bottom: 44px; }
  .hero__lede { font-size: 1.1rem; max-width: 46ch; }
  .hero__ctas { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
  .hero__ctas .btn { width: auto; }
  .hero__ctas .link-arrow { align-self: auto; }
  .hero__trust { flex-direction: row; flex-wrap: wrap; gap: 10px 24px; }

  .spotlight { padding: 58px 0; }
  .spotlight .btn--wa { width: auto; }
}

/* ============================================================
   DESKTOP
   ============================================================ */
@media (min-width: 980px) {
  html { scroll-padding-top: 88px; }
  body { padding-bottom: 0; }
  .container { padding-inline: 24px; }
  .section { padding: clamp(80px, 8vw, 116px) 0; }
  .section__title { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }

  .navbar__inner { height: 74px; }
  .brand__mark { width: 42px; height: 42px; }
  .brand__text strong { font-size: 1.04rem; }
  .brand__text em { font-size: 0.72rem; }

  /* Hero a dos columnas, con el retrato en arco */
  .hero { padding: 74px 0 0; }
  .hero__inner {
    grid-template-columns: 1.15fr 0.8fr;
    gap: 56px;
    align-items: center;
    padding-bottom: 74px;
  }
  .hero__kicker { font-size: 0.76rem; padding: 8px 16px 8px 12px; }
  .hero__title { font-size: clamp(2.5rem, 4.6vw, 3.5rem); margin-top: 24px; }
  .hero__lede { font-size: 1.16rem; margin-top: 26px; }
  .hero__ctas { margin-top: 32px; }
  .hero__trust { margin-top: 36px; padding-top: 26px; }
  .hero__trust li { font-size: 0.92rem; }

  .hero__visual {
    display: block;
    padding: 0;
    background: none;
    border: 0;
  }
  .portrait {
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: 220px 220px 24px 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
  }
  .float-chip {
    position: absolute;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 15px;
    padding: 12px 16px;
    box-shadow: var(--shadow-md);
    animation: floaty 5.5s ease-in-out infinite;
  }
  .float-chip strong { color: var(--ink); }
  .float-chip span { color: var(--muted); }
  .float-chip--cred { left: -46px; top: 16%; }
  .float-chip--wa { display: flex; right: -22px; bottom: 12%; animation-delay: 1.4s; }
  .float-chip--wa svg { color: var(--wa-dark); }
  @keyframes floaty {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-9px); }
  }

  .ticker { padding: 15px 0; }
  .ticker__group { gap: 34px; padding-right: 34px; }
  .ticker__group li { font-size: 1.02rem; gap: 12px; }

  .spotlight { padding: 84px 0; }
  .spotlight__inner {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
  }
  .spotlight__text { max-width: none; }
  .spotlight h2 { font-size: clamp(2.1rem, 3.2vw, 2.75rem); }
  .spotlight__text > p { font-size: 1.08rem; max-width: 52ch; }
  .spotlight__media { order: 2; margin-top: 0; }
  .spotlight__media img { aspect-ratio: 4 / 5; }

  .split { grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 68px); }
  .split--reverse { grid-template-columns: 0.95fr 1.05fr; }

  .cards { grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 52px; }
  .reviews { grid-template-columns: repeat(3, 1fr); margin-top: 40px; }
  .card { grid-template-columns: 1fr; padding: 28px 26px; gap: 0; }
  .card--featured { padding-top: 52px; }
  .card__icon { grid-row: auto; width: 52px; height: 52px; margin-bottom: 20px; }
  .card__icon svg { width: 26px; height: 26px; }
  .card h3 { grid-column: auto; font-size: 1.16rem; margin-bottom: 10px; }
  .card p { grid-column: auto; font-size: 0.95rem; margin-bottom: 20px; flex-grow: 1; }
  .card__cta { grid-column: auto; font-size: 0.89rem; }
  .card__cta-long { display: inline; }
  .card__cta-short { display: none; }

  .features { grid-template-columns: repeat(4, 1fr); gap: 26px; margin-top: 52px; }
  .feature { grid-template-columns: 1fr; gap: 0; padding-top: 26px; }
  .feature__icon { grid-row: auto; width: 54px; height: 54px; margin-bottom: 20px; }
  .feature__icon svg { width: 26px; height: 26px; }
  .feature h3 { grid-column: auto; font-size: 1.1rem; margin-bottom: 9px; }
  .feature p { grid-column: auto; font-size: 0.94rem; }

  .process { grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 52px; }
  .process__step { grid-template-columns: 1fr; gap: 0; padding: 30px 26px 26px; }
  .process__num { grid-row: auto; margin-bottom: 18px; }
  .process__step h3 { grid-column: auto; font-size: 1.1rem; margin-bottom: 9px; }
  .process__step p { grid-column: auto; font-size: 0.94rem; }
  .process__step::after {
    content: "";
    position: absolute;
    top: 48px; right: -26px;
    width: 26px; height: 1.6px;
    background: repeating-linear-gradient(90deg, var(--blue-300) 0 6px, transparent 6px 11px);
  }
  .process__step:last-child::after { display: none; }
  .process__note { font-size: 1.05rem; margin-top: 38px; }

  .office { grid-template-columns: 1fr 1.1fr; align-items: stretch; margin-top: 46px; }
  .office__info { padding: 38px; }
  .office h3 { font-size: 1.36rem; }
  .office__link { justify-content: flex-start; }
  .map-frame { min-height: 340px; }

  .contact-card { margin-top: 0; padding: 36px 32px; }
  .hours__table th, .hours__table td { padding: 15px 8px; font-size: 1rem; }

  .cta-final { padding: clamp(84px, 10vw, 124px) 0; }
  .cta-final p { font-size: 1.1rem; margin-bottom: 34px; }

  .footer { padding-top: 56px; }
  .footer__inner { grid-template-columns: 1.3fr 1fr 1.4fr; gap: 34px; padding-bottom: 38px; }
  .footer__nav a { min-height: 0; padding: 5px 0; }

  /* En desktop vuelve el botón flotante y se va la barra */
  .mobile-bar { display: none; }
  .wa-float {
    position: fixed;
    right: 22px; bottom: 22px;
    z-index: 90;
    width: 60px; height: 60px;
    border-radius: 50%;
    background: var(--wa);
    color: #fff;
    display: grid; place-items: center;
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.42);
    transition: transform 0.25s var(--ease), box-shadow 0.25s;
  }
  .wa-float:hover { transform: scale(1.08); box-shadow: 0 16px 38px rgba(37, 211, 102, 0.55); }
}

/* El menú horizontal completo (7 links + botón) necesita más aire que el
   resto del layout de escritorio: si no, se pisa con el nombre de la marca
   en anchos intermedios (~980–1120px). Se separa en su propio breakpoint. */
@media (min-width: 1220px) {
  .navbar__links { display: flex; }
  .navbar__hamburger { display: none; }
  .navbar__mobile { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .wa-float__pulse, .hero__dot, .float-chip, .ticker__track { animation: none; }
  .hero__kicker, .hero__title .line > span, .hero__lede,
  .hero__ctas, .hero__trust, .hero__visual { animation: none; opacity: 1; transform: none; }
  .hero__brush path { stroke-dashoffset: 0; animation: none; }
  html { scroll-behavior: auto; }
}
