/* drcifuentes.cl — dirección "Clínico contemporáneo" (Archivo ancho + Newsreader, blanco y azul petróleo) */

:root {
  --ink: #12303D;       /* azul petróleo */
  --green: #4E8C7A;
  --green-ink: #3D6F61;   /* verde para texto y botones con texto: 5,8:1 con blanco (AA) */
  --green-ink-2: #335D52; /* hover de botones verdes */
  --mint: #E6EEEA;
  --mint-2: #8fc0b0;
  --paper: #FAFAF7;
  --line: #dde5e1;
  --muted: #4b6470;
  --soft: #b9d0c8;
  --sans: "Archivo", system-ui, sans-serif;
  --serif: "Newsreader", Georgia, serif;
  --pad: 40px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 6px; }
[id] { scroll-margin-top: 24px; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 10px 16px; border-radius: 8px; background: var(--ink); color: #fff; }
.skip:focus { left: 8px; }

.kicker {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green-ink);
}
.h2 {
  margin: 0;
  font: 700 40px/1 var(--sans);
  font-stretch: 112%;
  letter-spacing: -.02em;
  text-wrap: balance;
}

/* Botones */
.btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  transition: background-color .2s, color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #1c4556; }
.btn--green { background: var(--green-ink); color: #fff; }
.btn--green:hover { background: var(--green-ink-2); }
.btn--outline { border: 1.5px solid var(--ink); }
.btn--outline:hover { background: var(--mint); }

/* Barra superior */
.infobar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 20px var(--pad);
  background: var(--ink);
  color: var(--mint);
  font-size: 13px;
}
.infobar__links { display: flex; gap: 24px; }
.infobar a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* Navegación */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px var(--pad);
}
.logo { display: block; flex: none; line-height: 0; }
.logo img { height: 30px; width: auto; }
/* El marco del logo: mismo trazo que la versión cuadrada, ajustado al formato horizontal */
.logo { padding: 8px 12px; border: 2px solid var(--ink); }
.contact__logo { width: 150px; height: auto; margin-bottom: 18px; }
.nav__links { display: flex; gap: 6px; font-size: 14px; font-weight: 500; }
.nav__links a { padding: 10px 16px; border-radius: 8px; transition: background-color .2s; }
.nav__links a:hover, .nav__links a.is-current { background: var(--mint); }
.nav__cta {
  font-size: 14px;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 8px;
  background: var(--green-ink);
  color: #fff;
  transition: background-color .2s;
}
.nav__cta:hover { background: var(--green-ink-2); }
.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 10px;
  background: var(--mint);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}
.burger span { width: 18px; height: 2px; background: var(--ink); }

/* Hero */
.hero {
  padding: 40px var(--pad) 0;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.hero__title {
  grid-column: 1 / -1;
  margin: 0;
  font: 800 clamp(54px, 9.7vw, 124px)/.9 var(--sans);
  font-stretch: 125%;
  letter-spacing: -.045em;
  text-transform: uppercase;
}
.hero__side {
  grid-column: 1 / 5;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  padding: 32px 0;
}
.hero__lead { margin: 0; font: 400 26px/1.35 var(--serif); text-wrap: pretty; }
.hero__cta { display: flex; flex-direction: column; gap: 10px; }
.hero__photo {
  grid-column: 5 / -1;
  height: 460px;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.hero__places { display: none; }

/* Procedimientos */
.procs { padding: 96px var(--pad); }
.procs__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}
.chips { display: flex; gap: 8px; font-size: 14px; font-weight: 500; }
.chip {
  flex: none;
  padding: 8px 14px;
  border: 0;
  border-radius: 999px;
  background: var(--mint);
  font-weight: 500;
  cursor: pointer;
  transition: background-color .2s, color .2s;
}
.chip:hover { background: #d6e3dd; }
.chip.is-active { background: var(--ink); color: #fff; }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  min-height: 200px;
  padding: 24px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  transition: transform .25s, box-shadow .25s, background-color .25s;
}
.tile:hover { transform: translateY(-3px); box-shadow: 0 10px 24px -14px rgba(18, 48, 61, .35); }
.tile[hidden] { display: none; }
.tile__arrow { font-size: 22px; transition: transform .25s; }
.tile:hover .tile__arrow { transform: translateX(4px); }
.tile__name { font: 700 22px/1.1 var(--sans); }
.tile--mint { background: var(--mint); border-color: var(--mint); }
.tile--feature {
  grid-row: span 2;
  min-height: 420px;
  padding: 28px;
  background: var(--green-ink);
  border-color: var(--green-ink);
  color: #fff;
}
.tile--feature .tile__kicker { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .85; }
.tile__body { display: flex; flex-direction: column; gap: 12px; }
.tile--feature .tile__name { font-size: 36px; line-height: 1; font-stretch: 112%; }
.tile__desc { font: 400 18px/1.4 var(--serif); }
.tile--wide {
  grid-column: 2 / -1;
  min-height: 0;
  flex-direction: row;
  align-items: center;
  padding: 24px 28px;
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.tile__note { font: italic 400 18px var(--serif); color: var(--soft); }
/* Al filtrar, la grilla pierde las celdas especiales para no dejar huecos */
.grid.is-filtered .tile--feature { grid-row: auto; min-height: 200px; }
.grid.is-filtered .tile--wide { grid-column: auto; min-height: 200px; flex-direction: column; align-items: flex-start; }

/* Enlace al simulador mamario 3D */
.simlink {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-top: 16px;
  padding: 28px;
  border-radius: 16px;
  background: var(--mint);
  transition: transform .25s, box-shadow .25s;
}
.simlink:hover { transform: translateY(-3px); box-shadow: 0 10px 24px -14px rgba(18, 48, 61, .35); }
.simlink__text { display: flex; flex-direction: column; gap: 8px; max-width: 760px; }
.simlink__name { font: 700 28px/1.05 var(--sans); font-stretch: 112%; letter-spacing: -.01em; }
.simlink__desc { font: 400 18px/1.4 var(--serif); color: var(--muted); }
.simlink__arrow { flex: none; font-size: 28px; transition: transform .25s; }
.simlink:hover .simlink__arrow { transform: translateX(4px); }

/* Dr. Cifuentes */
.doctor {
  padding: 96px var(--pad);
  border-top: 1.5px solid var(--ink);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px 16px;
}
.doctor__intro { grid-column: 1 / 6; display: flex; flex-direction: column; gap: 16px; }
.doctor__text { grid-column: 7 / -1; font: 400 22px/1.5 var(--serif); text-wrap: pretty; }
.doctor__text p { margin: 0 0 1em; }
.doctor__text strong { font-weight: 400; font-style: italic; }
.facts {
  grid-column: 1 / -1;
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.facts li {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 22px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
}
.facts strong { font: 700 20px/1.15 var(--sans); font-stretch: 112%; }

/* De interés */
.faq {
  padding: 0 var(--pad) 96px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.faq .h2 { grid-column: 1 / 5; }
.faq__list { grid-column: 5 / -1; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  font: 700 20px/1.2 var(--sans);
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 24px; line-height: 1; color: var(--green-ink); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 24px; max-width: 680px; font: 400 20px/1.5 var(--serif); color: var(--muted); }
.faq details a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* Contacto */
.contact {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1.5px solid var(--ink);
}
.contact__cell { padding: 40px; display: flex; flex-direction: column; gap: 10px; }
.contact__cell + .contact__cell { border-left: 1px solid var(--line); }
.contact__big { font: 700 26px var(--sans); }
.contact__serif { font: 400 24px/1.3 var(--serif); }
.contact__serif--sm { font-size: 20px; line-height: 1.35; }
.contact__small { font-size: 14px; color: var(--muted); }
.contact a:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact__legal {
  grid-column: 1 / -1;
  margin: 0;
  padding: 20px 40px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

/* ——— Mejoras visuales ——— */

/* Hero: entrada del título */
.hero__line { display: inline-block; animation: lineUp .9s cubic-bezier(.2, .8, .2, 1) both; }
.hero__line + .hero__line { animation-delay: .12s; }
@keyframes lineUp { from { opacity: 0; transform: translateY(40%); } }

/* Hero: compromisos */
.pillars { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.pillars li { display: flex; align-items: baseline; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 15px; }
.pillars__n { font: italic 400 15px var(--serif); color: var(--green-ink); }

/* Hero: foto sobre fondo menta con credenciales */
.hero__photo {
  position: relative;
  border: 0;
  background:
    radial-gradient(60% 75% at 62% 100%, rgba(78, 140, 122, .35), transparent 70%),
    linear-gradient(160deg, var(--mint), #f3f7f5 60%, var(--mint));
  animation: fade 1s .15s both;
}
.hero__photo img { mix-blend-mode: multiply; transition: transform 1.2s cubic-bezier(.2, .8, .2, 1); }
.hero__photo:hover img { transform: scale(1.03); }
.badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 280px;
  padding: 12px 16px 12px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 18px 36px -20px rgba(18, 48, 61, .45);
  font-size: 13px;
  line-height: 1.3;
  color: var(--muted);
  animation: badgeIn .8s cubic-bezier(.2, .8, .2, 1) both, bob 7s ease-in-out 1s infinite;
}
.badge strong { display: block; color: var(--ink); font-size: 14px; }
.badge__icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--ink); }
.badge__icon svg { width: 22px; height: 22px; fill: none; stroke: var(--mint); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.badge--a { left: 24px; bottom: 24px; animation-delay: .5s, 1.3s; }
.badge--b { right: 24px; top: 24px; animation-delay: .7s, 4.5s; }
@keyframes badgeIn { from { opacity: 0; transform: translateY(16px); } }
@keyframes bob { 50% { transform: translateY(-6px); } }

/* Tarjetas de procedimientos: ícono y relleno al pasar el cursor */
.tile { position: relative; overflow: hidden; isolation: isolate; }
.tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--ink);
  transform: translateY(101%);
  transition: transform .45s cubic-bezier(.2, .8, .2, 1);
}
.tile:not(.tile--feature):not(.tile--wide):hover { color: #fff; border-color: var(--ink); }
.tile:not(.tile--feature):not(.tile--wide):hover::before { transform: none; }
.tile__text { display: flex; flex-direction: column; gap: 6px; }
.tile__sub { font: 400 16px/1.35 var(--serif); color: var(--muted); transition: color .3s; }
.tile--mint .tile__sub { color: var(--muted); }
.tile:not(.tile--feature):not(.tile--wide):hover .tile__sub { color: var(--soft); }
.tile__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.tile__icon { width: 52px; height: 52px; fill: none; stroke: var(--green); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s, transform .45s cubic-bezier(.2, .8, .2, 1); }
.tile:hover .tile__icon { stroke: var(--mint-2); transform: scale(1.08) rotate(-4deg); }
.tile--feature { transition: transform .25s, box-shadow .25s; }
.tile__orb {
  position: absolute;
  z-index: -1;
  right: -90px;
  top: -90px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .25);
  box-shadow: 0 0 0 40px rgba(255, 255, 255, .06), 0 0 0 80px rgba(255, 255, 255, .04);
  transition: transform .8s cubic-bezier(.2, .8, .2, 1);
}
.tile--feature:hover .tile__orb { transform: scale(1.12); }
.tile--wide:hover .tile__note { color: #fff; }

/* Datos del doctor */
.facts li { position: relative; overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s; }
.facts li::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .45s cubic-bezier(.2, .8, .2, 1); }
.facts li:hover { transform: translateY(-3px); box-shadow: 0 10px 24px -14px rgba(18, 48, 61, .35); }
.facts li:hover::after { transform: none; }

/* El proceso: banda oscura */
.steps {
  margin: 0 var(--pad) 96px;
  padding: 64px 56px;
  border-radius: 24px;
  background:
    radial-gradient(50% 80% at 100% 0%, rgba(78, 140, 122, .45), transparent 70%),
    var(--ink);
  color: #fff;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 40px 16px;
  align-items: end;
}
.steps .kicker { color: var(--mint-2); margin: 0 0 16px; }
.steps__head { grid-column: 1 / 9; }
.steps__cta { grid-column: 9 / -1; justify-self: end; }
.steps__list { grid-column: 1 / -1; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: none; }
.steps__list li { position: relative; padding: 28px 0 0; border-top: 1px solid rgba(230, 238, 234, .2); }
.steps__list li::before { content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 40px; background: var(--mint-2); transition: width .6s cubic-bezier(.2, .8, .2, 1); }
.steps__list li:hover::before { width: 100%; }
.steps__n { display: block; font: italic 400 40px/1 var(--serif); color: var(--mint-2); margin-bottom: 18px; }
.steps__list strong { display: block; font: 700 22px/1.1 var(--sans); font-stretch: 112%; margin-bottom: 8px; }
.steps__list p { margin: 0; font: 400 18px/1.45 var(--serif); color: var(--soft); }

/* De interés */
.faq__head { grid-column: 1 / 5; display: flex; flex-direction: column; gap: 16px; }
.faq .faq__head .h2 { grid-column: auto; }
.faq__sub { margin: 0; max-width: 320px; font: 400 18px/1.45 var(--serif); color: var(--muted); }
.faq__sub a { color: var(--green-ink); text-decoration: underline; text-underline-offset: 3px; }
.faq summary { transition: color .2s; }
.faq summary:hover { color: var(--green-ink); }

/* Aparición al hacer scroll (solo con JS) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2, .8, .2, 1), transform .8s cubic-bezier(.2, .8, .2, 1); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js.motion .reveal { transition: none; }
.js .tile.reveal.is-visible:hover, .js .facts .reveal.is-visible:hover { transform: translateY(-3px); }


/* ——— Revisión de diseño (Impeccable): íconos SVG, textos y superficies del navegador ——— */
:root { accent-color: var(--green-ink); scrollbar-color: var(--soft) var(--paper); }
body { caret-color: var(--green-ink); }
::selection { background: var(--mint-2); color: var(--ink); }
.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn .i { width: 18px; height: 18px; }
.tile__arrow { display: inline-flex; }
.tile__arrow .i { width: 22px; height: 22px; }
.simlink__arrow .i { width: 28px; height: 28px; }
.dock__call .i { width: 20px; height: 20px; }
.sheet__procs a .i { width: 18px; height: 18px; }
.tag-new { display: inline-block; vertical-align: 4px; margin-left: 8px; padding: 3px 10px; border-radius: 999px; background: var(--ink); color: #fff; font: 700 11px/1.4 var(--sans); font-stretch: 100%; letter-spacing: .04em; }
.contact__label { font-size: 13px; font-weight: 600; color: var(--green-ink); }
/* Títulos de las tarjetas alineados arriba, no según el largo de la descripción */
.tile:not(.tile--feature):not(.tile--wide) { justify-content: flex-start; }
.tile:not(.tile--feature):not(.tile--wide) .tile__top { margin-bottom: 32px; }
/* Tarjeta ancha de reconstructiva: ícono, texto y flecha en fila */
.tile--wide { gap: 20px; }
.tile--wide .tile__icon { stroke: var(--mint-2); width: 44px; height: 44px; }
.tile--wide .tile__text { flex: 1; }
.tile--wide .tile__sub { color: var(--soft); }
/* Tarjeta destacada: el texto se asienta abajo, sin etiqueta encima */
.tile--feature { justify-content: flex-end; }

/* Signo de las preguntas frecuentes: SVG en vez del carácter "+" */
.faq summary::after {
  content: ""; flex: none; width: 22px; height: 22px; background: var(--green-ink);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
@media (max-width: 720px) {
  .tile__sub { display: block; font-size: 13px; line-height: 1.3; }
  .tile--feature .tile__desc { display: block; font-size: 15px; }
  .tile--feature { gap: 10px; }
  .tile:not(.tile--feature):not(.tile--wide) .tile__top { margin-bottom: 18px; }
  .tile--wide .tile__icon { width: 32px; height: 32px; }
  .tile--wide .tile__sub { font-size: 13px; }
  .contact__label { color: var(--mint-2); }
  /* Indica que los filtros se pueden deslizar */
  .chips { -webkit-mask: linear-gradient(90deg, #000 85%, transparent); mask: linear-gradient(90deg, #000 85%, transparent); }
}

/* Barra fija y menú: solo móvil */
.dock, .sheet { display: none; }

/* Tablet */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .burger { display: flex; }
  .nav__cta { margin-left: auto; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .tile--feature { grid-row: auto; grid-column: 1 / -1; min-height: 260px; }
  .tile--wide { grid-column: 1 / -1; }
  /* 7 tarjetas simples no llenan filas de 2 o 3: la primera ocupa el ancho completo */
  .tile--lead { grid-column: 1 / -1; min-height: 0; flex-direction: row-reverse; justify-content: space-between; align-items: center; }
  .grid.is-filtered .tile--lead { grid-column: auto; flex-direction: column; align-items: stretch; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .steps { padding: 48px 36px; }
  .steps__head { grid-column: 1 / -1; }
  .steps__cta { grid-column: 1 / -1; justify-self: start; grid-row: 3; }
  .steps__list { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
  .hero__photo { height: 520px; }
}

/* Móvil (2a + menú 3b) */
@media (max-width: 720px) {
  :root { --pad: 20px; }
  body { padding-bottom: 76px; }
  .infobar, .nav__cta { display: none; }
  .nav { padding: 18px var(--pad); }
  .logo img { height: 25px; }
  .logo { padding: 6px 9px; border-width: 1.5px; }
  .contact__logo { width: 130px; filter: brightness(0) invert(1); }

  .hero { display: flex; flex-direction: column; gap: 20px; padding-top: 12px; }
  .hero__title { font-size: clamp(40px, 13.8vw, 54px); }
  .hero__side { display: contents; }
  .hero__lead { font-size: 20px; }
  .hero__cta { display: none; }
  .hero__photo { height: 260px; border-radius: 14px; }
  .hero__places { display: block; margin: 0; font-size: 13px; color: var(--muted); }
  .hero__photo { height: 300px; }
  .pillars { grid-template-columns: 1fr 1fr; border: 0; gap: 8px; order: 5; }
  .pillars li { padding: 10px 12px; border: 0; border-radius: 10px; background: var(--mint); font-size: 13px; gap: 8px; }
  .pillars__n { font-size: 13px; }
  .badge { padding: 8px 12px 8px 8px; font-size: 11px; max-width: 210px; }
  .badge strong { font-size: 12px; }
  .badge__icon { width: 32px; height: 32px; border-radius: 8px; }
  .badge__icon svg { width: 18px; height: 18px; }
  .badge--a { left: 12px; bottom: 12px; }
  .badge--b { display: none; }
  .tile__icon { width: 34px; height: 34px; }
  .tile__orb { width: 200px; height: 200px; right: -70px; top: -70px; }
  .steps { margin: 0 var(--pad) 48px; padding: 36px 22px; border-radius: 18px; gap: 28px; }
  .steps__list { grid-template-columns: 1fr; gap: 24px; }
  .steps__list li { padding-top: 20px; }
  .steps__n { font-size: 30px; margin-bottom: 10px; }
  .steps__list strong { font-size: 19px; }
  .steps__list p { font-size: 17px; }
  .steps__cta { justify-self: stretch; height: 52px; padding: 0 18px; }
  .faq__sub { font-size: 17px; }

  .procs { padding: 48px var(--pad) 40px; }
  .procs__head { flex-direction: column; flex-wrap: nowrap; align-items: stretch; margin-bottom: 24px; }
  .h2 { font-size: 28px; }
  .chips { overflow-x: auto; margin: 0 calc(var(--pad) * -1); padding: 0 var(--pad); scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { padding: 10px 14px; }

  .grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tile { min-height: 110px; padding: 16px; border-radius: 14px; }
  .tile__arrow { font-size: 16px; }
  .tile__name { font-size: 17px; }
  .tile--feature { min-height: 0; padding: 20px; gap: 40px; }
  .tile--feature .tile__kicker { font-size: 11px; }
  .tile--feature .tile__name { font-size: 26px; }
  .tile--wide { min-height: 0; padding: 18px 20px; }
  .tile--wide .tile__name { font-size: 17px; }
  .tile__note { font-size: 0; }
  .tile__note span { font: 400 16px var(--sans); color: #fff; }
  .grid.is-filtered .tile--feature, .grid.is-filtered .tile--wide { min-height: 110px; }

  .doctor { display: flex; flex-direction: column; gap: 20px; padding: 48px var(--pad); }
  .doctor__text { font-size: 19px; }
  .facts { margin-top: 8px; grid-template-columns: 1fr; gap: 10px; }
  .facts li { gap: 10px; padding: 18px; }
  .facts strong { font-size: 18px; }

  .faq { display: flex; flex-direction: column; gap: 16px; padding-bottom: 48px; }
  .faq summary { font-size: 17px; padding: 18px 0; }
  .faq details p { font-size: 18px; }

  /* Pie oscuro como en el mockup móvil */
  .contact { display: flex; flex-direction: column; gap: 18px; padding: 32px var(--pad) 32px; background: var(--ink); color: var(--mint); border: 0; }
  .contact__cell { padding: 0; gap: 4px; }
  .contact__cell + .contact__cell { border: 0; }
  .contact .kicker { font-size: 11px; color: var(--mint-2); }
  .contact__big { font-size: 22px; }
  .contact__serif { font-size: 19px; }
  .contact__serif--sm { font-size: 17px; }
  .contact__small { color: var(--soft); font-size: 13px; }
  .contact__legal { padding: 16px 0 0; border-color: rgba(230, 238, 234, .15); color: var(--soft); font-size: 12px; }

  .dock {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    padding: 12px var(--pad) calc(16px + env(safe-area-inset-bottom));
    background: var(--paper);
    border-top: 1px solid var(--line);
  }
  .dock .btn { height: 48px; padding: 0 18px; }
  .dock__call {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    border: 1.5px solid var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
  }

  .sheet { display: block; position: fixed; inset: 0; z-index: 50; }
  .sheet[hidden] { display: none; }
  .sheet__backdrop { position: absolute; inset: 0; background: rgba(18, 48, 61, .45); animation: fade .25s ease; }
  .sheet__panel {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    max-height: 92vh;
    overflow-y: auto;
    border-radius: 20px 20px 0 0;
    background: var(--paper);
    padding: 10px var(--pad) calc(24px + env(safe-area-inset-bottom));
    display: flex;
    flex-direction: column;
    gap: 18px;
    animation: rise .3s cubic-bezier(.2, .8, .2, 1);
  }
  .sheet__top { display: flex; justify-content: space-between; align-items: center; }
  .sheet__spacer { width: 44px; }
  .sheet__grip { width: 40px; height: 4px; border-radius: 2px; background: #c5d3cd; }
  .sheet__close { width: 44px; height: 44px; border: 0; background: none; font-size: 18px; cursor: pointer; }
  .sheet__main { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .sheet__main a { height: 52px; display: flex; align-items: center; padding: 0 16px; border-radius: 10px; background: var(--mint); font-weight: 700; font-size: 15px; }
  .sheet__procs { display: flex; flex-direction: column; gap: 2px; }
  .sheet__procs .kicker { font-size: 11px; padding-bottom: 6px; }
  .sheet__procs a { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; font-weight: 500; }
  .sheet__procs a.sheet__all { border: 0; font-size: 14px; font-weight: 700; color: var(--green-ink); }
  .sheet .btn { height: 52px; padding: 0 18px; }
}

@keyframes rise { from { transform: translateY(100%); } }
@keyframes fade { from { opacity: 0; } }

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