/* Dr. Nicolás Lavorato · sobrio: azul quirófano + grises; hero oscuro como la foto */
:root {
  --blue: #123a57;
  --blue-2: #1c5580;
  --pale: #f1f4f7;
  --ink: #161b20;
  --grey: #5a636c;
  --line: #dfe4ea;
  --bg: #ffffff;
  --night: #0c1116;
  --serif: "Spectral", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.65 var(--sans); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-2); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--blue-2); outline-offset: 3px; }
h1, h2 { font-family: var(--serif); font-weight: 400; line-height: 1.12; margin: 0 0 .5em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); color: var(--blue); }
p { margin: 0 0 1em; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { max-width: 780px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--blue); color: #fff; padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }

.top { position: sticky; top: 0; z-index: 20; background: var(--night); color: #fff; border-bottom: 1px solid #222a33; }
.top__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { text-decoration: none; color: #fff; display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-family: var(--serif); font-size: 1.25rem; }
.brand__sub { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: #9fb3c6; }
.nav { display: flex; gap: 22px; }
.nav a { color: #e8eef3; text-decoration: none; font-size: .93rem; font-weight: 500; }
.nav a:hover { color: #fff; text-decoration: underline; }
.burger { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 10px; }
.burger span { display: block; height: 2px; background: #fff; margin: 6px 0; transition: transform .2s; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* Hero: la foto del quirófano a sangre */
.hero { background: var(--night); color: #fff; }
.hero__grid { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; max-width: 1400px; margin: 0 auto; }
.hero__text { padding: clamp(48px, 8vw, 110px) clamp(20px, 5vw, 72px); align-self: center; }
.eyebrow { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: #9fb3c6; font-weight: 600; }
.hero h1 { font-size: clamp(2.3rem, 4.8vw, 3.8rem); }
.lead { font-size: 1.1rem; color: #c9d4de; max-width: 32em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn { display: inline-block; background: #fff; color: var(--blue); text-decoration: none; padding: 14px 22px; font-weight: 700; border: 1px solid #fff; border-radius: 3px; }
.btn:hover { background: #dde7ef; }
.btn--line { background: transparent; color: #fff; border-color: #56697b; }
.btn--line:hover { background: #1a232d; }
.rating { margin: 26px 0 0; color: #9fb3c6; font-size: .95rem; }
.rating b { font-family: var(--serif); font-size: 1.6rem; color: #fff; font-weight: 400; margin-right: 4px; }
.hero__photo { margin: 0; min-height: 420px; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }

.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--pale { background: var(--pale); }
.section--dark { background: var(--blue); color: #e6eef5; }
.section--dark h2 { color: #fff; }
.intro { color: var(--grey); max-width: 44em; }

/* Índice con cantidades (firma) */
.index { list-style: none; margin: 30px 0 0; padding: 0; border-top: 2px solid var(--blue); }
.index li { display: grid; grid-template-columns: 110px 1fr; gap: 20px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line); }
.index__n { font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 3.6rem); line-height: 1; color: var(--blue-2); font-variant-numeric: tabular-nums; }
.index__t { color: var(--grey); }
.index__t b { display: block; font-size: 1.15rem; color: var(--ink); }
.also { margin-top: 24px; color: var(--grey); max-width: 48em; }

.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { padding: 18px 0; border-top: 1px solid rgba(255,255,255,.2); color: #c9d8e5; }
.steps b { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.5rem; color: #fff; }

.cv { margin: 24px 0 0; }
.cv div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.cv dt { font-weight: 700; color: var(--blue); }
.cv dd { margin: 0; }

.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 20px; }
.quotes figure { margin: 0; background: #fff; padding: 26px; border-left: 3px solid var(--blue-2); }
.quotes blockquote { margin: 0 0 12px; font-family: var(--serif); font-size: 1.15rem; line-height: 1.5; }
.quotes figcaption { color: var(--grey); font-size: .92rem; font-weight: 600; }
.source { color: var(--grey); font-size: .9rem; margin-top: 16px; }

.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; padding-right: 28px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: -2px; font-size: 1.3rem; color: var(--blue-2); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 10px 0 0; color: var(--grey); }

.table { width: 100%; border-collapse: collapse; }
.table th, .table td { text-align: left; vertical-align: top; padding: 13px 12px 13px 0; border-bottom: 1px solid var(--line); }
.table th { width: 30%; font-weight: 600; }
.map iframe { width: 100%; height: 340px; border: 0; display: block; }

.foot { border-top: 1px solid var(--line); padding: 32px 0 96px; font-size: .9rem; color: var(--grey); }
.foot__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.foot p { margin: 0; }
.share { background: none; border: 1px solid var(--line); padding: 9px 14px; font: inherit; color: var(--ink); cursor: pointer; border-radius: 3px; }
.demo-note { width: 100%; font-size: .8rem; }
.demo-note a { color: var(--grey); }
.sticky-cta { display: none; }

@media (max-width: 860px) {
  .burger { display: block; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--night); flex-direction: column; gap: 0; display: none; border-bottom: 1px solid #222a33; }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 16px; border-top: 1px solid #222a33; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__photo { order: -1; min-height: 0; }
  .hero__photo img { aspect-ratio: 4 / 3; height: auto; }
  .split, .quotes { grid-template-columns: 1fr; }
  .sticky-cta { display: block; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30; background: var(--blue); color: #fff; text-align: center; text-decoration: none; font-weight: 700; padding: 14px; border-radius: 3px; box-shadow: 0 6px 20px rgba(0,0,0,.25); }
}
@media (max-width: 520px) {
  .index li { grid-template-columns: 64px 1fr; gap: 12px; }
  .cv div { grid-template-columns: 1fr; gap: 2px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
