:root {
  /* Libreta: papel, cuadrícula, tinta azul, grafito, lápiz y fluorescente */
  --bg: #fcfcfd; --bg-2: #ffffff; --card: #ffffff;
  --line: #dde4f0;
  --text: #20232a; --muted: #5b616e;
  --accent: #1d3aa6; --accent-2: #2b4bc4; --on-accent: #ffffff;
  --blue: #1d3aa6; --ok: #1d3aa6;
  --marker: #ffe94d; --on-marker: #20232a;
  --error: #b42318;
  --display: "Archivo", system-ui, sans-serif;
  --body: "Archivo", system-ui, sans-serif;
  --mono: "Archivo", system-ui, sans-serif;
  --hand: "Kalam", cursive;
  --radius: 14px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #14161b; --bg-2: #191c22; --card: #1d2027; --line: #2c313c;
    --text: #e9ebf1; --muted: #a3a9b7;
    --accent: #9fb3ff; --accent-2: #b8c7ff; --on-accent: #14161b;
    --blue: #9fb3ff; --ok: #9fb3ff; --marker: #e3cd2f; --error: #ff7a7a;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #14161b; --bg-2: #191c22; --card: #1d2027; --line: #2c313c;
  --text: #e9ebf1; --muted: #a3a9b7;
  --accent: #9fb3ff; --accent-2: #b8c7ff; --on-accent: #14161b;
  --blue: #9fb3ff; --ok: #9fb3ff; --marker: #e3cd2f; --error: #ff7a7a;
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
.container { width: min(1160px, 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }


/* Precios */
.price-groups { display: grid; gap: 22px; margin-top: 48px; }
@media (min-width: 960px) { .price-groups { grid-template-columns: repeat(3, 1fr); } }
.pgroup { border-top: 2px solid var(--text); padding-top: 18px; }
.pgroup .k { font: 400 19px/1.2 var(--hand); color: var(--blue); }
.pgroup h3 { margin: 6px 0 4px; font-size: 24px; }
.pgroup .note { color: var(--muted); font-size: 14px; }
.tiers { list-style: none; padding: 0; margin: 16px 0 0; }
.tiers li { padding: 14px 0; border-bottom: 1px dashed var(--line); }
.tiers .row { display: flex; align-items: baseline; gap: 10px; }
.tiers .row b { font-weight: 700; }
.tiers .row .dots { flex: 1; border-bottom: 1px dotted var(--muted); transform: translateY(-4px); opacity: .5; }
.tiers .row .eur { font-weight: 780; font-stretch: 112%; white-space: nowrap; }
.tiers .row .eur small { font-weight: 500; font-size: 13px; color: var(--muted); font-stretch: 100%; }
.tiers p { color: var(--muted); font-size: 14px; margin-top: 2px; }
.fees { margin-top: 56px; display: grid; gap: 28px; }
@media (min-width: 960px) { .fees { grid-template-columns: .9fr 2.1fr; align-items: start; } }
.fees h3 { font-size: 26px; }
.fees .note { color: var(--muted); font-size: 15px; margin-top: 8px; }
.fees .tiers { margin: 0; }
@media (min-width: 760px) { .fees .tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 28px; } }
.price-foot { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; }
.deal { font: 400 21px/1.3 var(--hand); color: var(--blue); }
.deal mark { background: var(--marker); color: var(--on-marker); padding: 0 6px; border-radius: 4px; }
.price-legal { color: var(--muted); font-size: 13px; width: 100%; }

/* Tipografía */
.tag { font: 500 12px/1 var(--mono); color: var(--accent); letter-spacing: .08em; margin-bottom: 18px; display: block; }
.tag::before { content: ""; }
.display { font-family: var(--display); font-weight: 780; font-stretch: 118%; letter-spacing: -.02em; line-height: .92; }
h2 { font: 780 clamp(30px, 5.2vw, 52px)/1.04 var(--display); font-stretch: 118%; letter-spacing: -.015em; }
h2 .big { display: block; font-weight: 800; }
h3 { font: 700 21px/1.25 var(--display); font-stretch: 110%; }
.lead { color: var(--muted); font-size: clamp(16px, 1.6vw, 18px); max-width: 640px; margin-top: 18px; }
.lead strong { color: var(--text); font-weight: 600; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--accent); color: var(--on-accent); text-decoration: none; border: 0; cursor: pointer;
  font: 700 16px/1 var(--display); font-stretch: 110%; letter-spacing: .01em; padding: 18px 26px; border-radius: 10px;
  box-shadow: 0 10px 40px -10px color-mix(in srgb, var(--accent) 70%, transparent); transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-2px); background: var(--accent-2); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line); box-shadow: none; }
.btn-ghost:hover { background: var(--card); }
.micro { font: 400 12px/1.4 var(--mono); color: var(--muted); margin-top: 14px; }

/* Cabecera */
header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .25s, border-color .25s; border-bottom: 1px solid transparent; }
header.scrolled { background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(12px); border-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 800 18px/1 var(--display); font-stretch: 118%; letter-spacing: -.01em; }
.logo svg { width: 30px; height: 30px; }
.logo svg path { stroke: var(--accent); }
.nav-links { display: none; gap: 28px; list-style: none; font-size: 14px; color: var(--muted); }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: none; padding: 12px 18px; font-size: 13px; }
.theme-toggle { background: none; border: 1px solid var(--line); color: var(--text); width: 40px; height: 40px; border-radius: 10px; cursor: pointer; display: grid; place-items: center; }
.nav-right { display: flex; align-items: center; gap: 12px; }
@media (min-width: 900px) { .nav-links, .nav-cta { display: flex; } }

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 80px; overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2;
  background: radial-gradient(60% 50% at 78% 40%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%),
              radial-gradient(40% 40% at 15% 90%, color-mix(in srgb, var(--blue) 14%, transparent), transparent 70%), var(--bg); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(70% 60% at 60% 45%, #000 20%, transparent 75%); }
.hero-grid { display: grid; gap: 56px; align-items: center; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1.15fr .85fr; } }
.eyebrow-mono { font: 400 20px/1.3 var(--hand); color: var(--blue); margin-bottom: 18px; }
.hero h1 { font-size: clamp(50px, 7.4vw, 112px); }
.hero h1 .strike { position: relative; display: inline-block; color: transparent; -webkit-text-stroke: 1.5px var(--muted); }
.hero h1 .strike::after { content: ""; position: absolute; left: -2%; top: 52%; height: .09em; width: 0; background: var(--accent); animation: strike 1s .6s cubic-bezier(.7,0,.2,1) forwards; }
@keyframes strike { to { width: 104%; } }
.hero .sub { font: 600 clamp(18px, 2vw, 22px)/1.3 var(--display); color: var(--blue); margin-top: 28px; max-width: 460px; }
.hero .lead { margin-top: 14px; max-width: 520px; }
.hero .btn { margin-top: 34px; }

/* Panel "sistema en directo" */
.live { background: color-mix(in srgb, var(--card) 88%, transparent); border: 1px solid var(--line); border-radius: 18px; padding: 22px; backdrop-filter: blur(6px);
  box-shadow: 0 40px 80px -40px color-mix(in srgb, var(--text) 25%, transparent); }
.live-head { display: flex; justify-content: space-between; align-items: center; font: 500 12px/1 var(--mono); color: var(--muted); margin-bottom: 18px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); display: inline-block; margin-right: 8px; box-shadow: 0 0 0 0 var(--ok); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 60%, transparent); } 100% { box-shadow: 0 0 0 10px transparent; } }
.feed { list-style: none; display: grid; gap: 10px; }
.feed li { display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; padding: 12px; border-radius: 10px; background: var(--bg-2); border: 1px solid var(--line);
  opacity: 0; transform: translateY(8px); transition: opacity .5s, transform .5s; }
.feed li.in { opacity: 1; transform: none; }
.feed .ico { width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; background: color-mix(in srgb, var(--blue) 16%, transparent); color: var(--blue); }
.feed b { font-weight: 600; font-size: 14px; display: block; }
.feed small { color: var(--muted); font-size: 12px; }
.feed time { font: 400 11px var(--mono); color: var(--muted); }
.live-foot { display: flex; justify-content: space-between; margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line); font: 500 13px var(--mono); color: var(--muted); }
.live-foot strong { color: var(--accent); font-size: 18px; font-family: var(--display); }

/* Marquee de herramientas */
.tools { border-block: 1px solid var(--line); padding: 26px 0; overflow: hidden; background: var(--bg-2); }
.tools p { text-align: center; color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.marquee { display: flex; gap: 56px; width: max-content; animation: slide 30s linear infinite; font: 600 20px var(--display); color: var(--muted); opacity: .8; }
@keyframes slide { to { transform: translateX(-50%); } }

section.block { padding: clamp(80px, 11vw, 140px) 0; }
section.alt { background: var(--bg-2); }

/* Problema */
.stats { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 56px; }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(3, 1fr); } }
.stat { background: var(--bg); padding: 30px; }
.alt .stat { background: var(--bg-2); }
.stat .n { font: 800 clamp(44px, 6vw, 64px)/1 var(--display); color: var(--accent); }
.stat p { color: var(--muted); margin-top: 10px; font-size: 15px; }
.note { font: 400 12px/1.5 var(--mono); color: var(--muted); margin-top: 18px; }

/* Método */
.steps { display: grid; gap: 0; margin-top: 60px; counter-reset: s; border-top: 1px solid var(--line); }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { padding: 30px 26px 34px 0; border-bottom: 1px solid var(--line); position: relative; }
@media (min-width: 860px) { .step { border-bottom: 0; border-right: 1px solid var(--line); padding: 34px 26px 10px; } .step:first-child { padding-left: 0; } .step:last-child { border-right: 0; } }
.step .k { font: 500 12px var(--mono); color: var(--blue); }
.step h3 { font-size: 28px; font-stretch: 118%; font-weight: 780; margin: 10px 0 10px; }
.step p { color: var(--muted); font-size: 15px; }
.callout { margin-top: 56px; padding: 28px 30px; border-left: 3px solid var(--accent); background: color-mix(in srgb, var(--accent) 7%, transparent); border-radius: 0 var(--radius) var(--radius) 0; max-width: 760px; }
.callout b { font: 800 14px var(--display); letter-spacing: .1em; color: var(--accent); display: block; margin-bottom: 6px; }
.callout p { color: var(--text); }

/* Soluciones */
.sol-grid { display: grid; gap: 22px; margin-top: 60px; }
@media (min-width: 900px) { .sol-grid { grid-template-columns: 1.1fr 1fr; } }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 28px; }
.feature .k { font: 400 18px/1.2 var(--hand); color: var(--blue); }
.feature h3 { margin: 12px 0 8px; font-size: 24px; }
.feature p { color: var(--muted); font-size: 15px; }
.mini { display: grid; gap: 22px; }
.mini .feature { padding: 24px 26px; }
.mini .feature h3 { font-size: 20px; }

.phone { margin-top: 26px; background: var(--bg); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.phone-top { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 14px; }
.phone-top .av { width: 30px; height: 30px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; font: 700 12px var(--display); color: var(--on-accent); }
.phone-top small { display: block; color: var(--ok); font-size: 11px; }
.chat { padding: 16px; display: grid; gap: 10px; min-height: 260px; align-content: start; }
.msg { max-width: 82%; padding: 10px 14px; border-radius: 14px; font-size: 14px; line-height: 1.45; opacity: 0; transform: translateY(6px); transition: .4s; }
.msg.in { opacity: 1; transform: none; }
.msg.them { background: var(--card); border: 1px solid var(--line); justify-self: start; border-bottom-left-radius: 4px; }
.msg.bot { background: color-mix(in srgb, var(--blue) 22%, var(--bg)); justify-self: end; border-bottom-right-radius: 4px; }
.badge { display: inline-block; margin: 0 16px 16px; font: 600 11px var(--mono); letter-spacing: .1em; color: var(--on-marker); background: var(--marker); border: 0; padding: 6px 10px; border-radius: 999px; }

/* Resultado */
.result-head { max-width: 860px; }
.result-head h2 { font-size: clamp(30px, 4.6vw, 50px); }
.outcomes { display: grid; gap: 1px; background: var(--line); margin-top: 56px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 820px) { .outcomes { grid-template-columns: repeat(3, 1fr); } }
.outcome { background: var(--bg); padding: 30px; }
.outcome .k { font: 600 11px var(--mono); color: var(--ok); letter-spacing: .12em; }
.outcome h3 { margin: 12px 0 8px; font-size: 22px; }
.outcome p { color: var(--muted); font-size: 15px; }
.closing { font: 700 clamp(24px, 3.4vw, 36px)/1.15 var(--display); margin-top: 56px; max-width: 760px; }

/* Demo bandeja */
.demo { margin-top: 56px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.demo-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); font: 400 12px var(--mono); color: var(--muted); }
.demo-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.demo-bar span { margin-left: 10px; padding: 4px 12px; border-radius: 6px; background: var(--bg); }
.demo-body { display: grid; }
@media (min-width: 860px) { .demo-body { grid-template-columns: 300px 1fr; } }
.inbox { border-right: 1px solid var(--line); padding: 8px; display: none; }
@media (min-width: 860px) { .inbox { display: block; } }
.inbox button { all: unset; box-sizing: border-box; cursor: pointer; display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; width: 100%; padding: 12px; border-radius: 10px; }
.inbox button[aria-pressed="true"] { background: var(--bg); }
.inbox .ini { width: 34px; height: 34px; border-radius: 50%; background: var(--bg-2); border: 1px solid var(--line); display: grid; place-items: center; font: 600 12px var(--display); }
.inbox b { font-size: 14px; display: block; font-weight: 600; }
.inbox small { color: var(--muted); font-size: 12px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 170px; }
.inbox time { font: 400 11px var(--mono); color: var(--muted); }
.thread { padding: 22px; display: grid; gap: 16px; align-content: start; }
.thread .who { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; align-items: center; }
.pill { font: 600 11px var(--mono); padding: 5px 10px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 18%, transparent); color: var(--accent); }
.incoming { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 16px; font-size: 15px; }
.draft { border: 1px solid color-mix(in srgb, var(--blue) 45%, var(--line)); border-radius: 12px; padding: 16px; background: color-mix(in srgb, var(--blue) 7%, transparent); }
.draft-head { display: flex; justify-content: space-between; font: 500 12px var(--mono); color: var(--blue); margin-bottom: 10px; }
.draft p { font-size: 15px; }
.draft-meta { font: 400 11px var(--mono); color: var(--muted); margin-top: 12px; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; }
.actions button { font: 600 13px var(--body); padding: 10px 16px; border-radius: 8px; border: 1px solid var(--line); background: transparent; color: var(--text); cursor: pointer; }
.actions button.primary { background: var(--marker); color: var(--on-marker); border-color: transparent; }
.sample { font: 600 10px var(--mono); letter-spacing: .14em; color: var(--muted); }

/* Sectores */
.sectors { display: grid; gap: 14px; margin-top: 50px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.sector { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.sector .k { font: 600 11px var(--mono); letter-spacing: .12em; color: var(--muted); }
.sector .n { font: 800 40px/1 var(--display); margin: 14px 0 8px; color: var(--text); }
.sector p { color: var(--muted); font-size: 14px; }

/* Diagnóstico / formulario */
.diag { display: grid; gap: 48px; }
@media (min-width: 960px) { .diag { grid-template-columns: 1fr 1fr; align-items: start; } }
.checklist { list-style: none; display: grid; gap: 14px; margin-top: 30px; }
.checklist li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; }
.checklist svg { color: var(--ok); margin-top: 3px; }
.price-note { margin-top: 28px; padding: 18px 20px; border: 1px dashed var(--line); border-radius: 12px; font-size: 15px; color: var(--muted); }
.price-note strong { color: var(--text); }

.form-card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: clamp(22px, 4vw, 36px); position: relative; }
.form-card .k { font: 600 11px var(--mono); letter-spacing: .14em; color: var(--accent); }
.form-card h3 { font-size: 26px; margin: 10px 0 22px; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.row { display: grid; gap: 0 14px; }
@media (min-width: 560px) { .row { grid-template-columns: 1fr 1fr; } }
label { font-size: 14px; font-weight: 500; }
input, select { font: 400 16px var(--body); color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 13px 14px; width: 100%; }
input:focus, select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 25%, transparent); }
.err { display: none; color: var(--error); font-size: 13px; }
.invalid .err { display: block; }
.invalid input, .invalid select { border-color: var(--error); }
.check-label { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-weight: 400; color: var(--muted); align-items: start; }
.check-label input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--accent); padding: 0; }
.form-card .btn { width: 100%; margin-top: 6px; }
.guarantees { list-style: none; display: grid; gap: 6px; margin-top: 18px; font-size: 13px; color: var(--muted); }
.guarantees li::before { content: "✓ "; color: var(--ok); }
.legal-info { font-size: 12px; color: var(--muted); margin-top: 18px; line-height: 1.5; }
.success { display: none; text-align: left; }
.form-card.done form { display: none; }
.form-card.done .success { display: block; }
.success h3 { color: var(--ok); }
.send-error { color: var(--error); font-size: 14px; margin-top: 12px; }

/* FAQ */
.faq { margin-top: 50px; border-top: 1px solid var(--line); max-width: 860px; }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; font: 600 18px/1.35 var(--display); }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font: 400 24px/1 var(--mono); color: var(--accent); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); padding: 0 0 22px; max-width: 720px; }

/* Pie */
footer { border-top: 1px solid var(--line); padding: 64px 0 110px; background: var(--bg); }
.foot-grid { display: grid; gap: 40px; }
@media (min-width: 820px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.foot-grid h4 { font: 600 11px var(--mono); letter-spacing: .14em; color: var(--muted); margin-bottom: 14px; }
.foot-grid ul { list-style: none; display: grid; gap: 8px; font-size: 14px; }
.foot-grid a { text-decoration: none; color: var(--muted); }
.foot-grid a:hover { color: var(--text); }
.foot-grid p { color: var(--muted); font-size: 14px; max-width: 360px; margin-top: 14px; }
.foot-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; font: 400 12px var(--mono); color: var(--muted); }
.foot-bottom nav { display: flex; gap: 18px; }

/* CTA flotante */
.float-cta { position: fixed; right: 16px; bottom: 16px; z-index: 40; padding: 14px 20px; font-size: 13px; border-radius: 999px; opacity: 0; transform: translateY(20px); pointer-events: none; transition: .3s; }
.float-cta.show { opacity: 1; transform: none; pointer-events: auto; }

/* Aparición al hacer scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s, transform .7s; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .feed li, .msg { opacity: 1; transform: none; }
  .hero h1 .strike::after { width: 104%; }
}

/* ===== Web de varias páginas ===== */
.nav-links a[aria-current="page"] { color: var(--text); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.menu-btn { background: none; border: 1px solid var(--line); color: var(--text); width: 40px; height: 40px; border-radius: 10px; cursor: pointer; display: grid; place-items: center; }
@media (min-width: 900px) { .menu-btn { display: none; } }
@media (max-width: 899px) {
  .nav-links.open { display: grid; gap: 4px; position: absolute; top: 68px; left: 16px; right: 16px; padding: 12px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); font-size: 17px; box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--text) 35%, transparent); }
  .nav-links.open a { display: block; padding: 10px 12px; color: var(--text); }
  header:has(.nav-links.open) { background: var(--bg); border-color: var(--line); }
}
.nav-links .menu-cta { display: none; }
@media (max-width: 899px) { .nav-links.open .menu-cta { display: block; } .nav-links.open .menu-cta a { color: var(--accent); font-weight: 700; } }

/* Cabecera de páginas interiores */
.page-hero { position: relative; padding: 150px 0 clamp(40px, 6vw, 72px); overflow: hidden; isolation: isolate; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(70% 80% at 70% 30%, #000 10%, transparent 75%); }
.page-hero .eyebrow-mono { margin-bottom: 14px; }
.page-hero h1 { font: 780 clamp(40px, 6.4vw, 84px)/.95 var(--display); font-stretch: 118%; letter-spacing: -.02em; max-width: 15ch; }
.page-hero + section.block { padding-top: clamp(30px, 5vw, 60px); }

/* Accesos a otras páginas */
.next-links { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 56px; }
@media (min-width: 820px) { .next-links { grid-template-columns: repeat(3, 1fr); } }
.next-links a { display: block; background: var(--bg); padding: 28px 30px; text-decoration: none; transition: background .15s; }
.alt .next-links a { background: var(--bg-2); }
.next-links a:hover { background: var(--card); }
.next-links .k { font: 400 19px/1.2 var(--hand); color: var(--blue); }
.next-links h3 { margin: 8px 0 6px; font-size: 22px; }
.next-links p { color: var(--muted); font-size: 15px; }
.next-links .go { display: inline-block; margin-top: 14px; font-weight: 700; color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }

/* Sobre nosotros */
.about { display: grid; gap: 48px; }
@media (min-width: 960px) { .about { grid-template-columns: 1.1fr .9fr; align-items: start; } }
.about .lead + .lead { margin-top: 14px; }
.note-page { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 26px 28px;
  background-image: linear-gradient(var(--line) 1px, transparent 1px); background-size: 100% 34px; background-position: 0 22px; }
.note-page h3 { font-size: 20px; margin-bottom: 10px; }
.todo { list-style: none; display: grid; gap: 0; }
.todo li { font: 400 21px/34px var(--hand); color: var(--blue); }
.todo li s { text-decoration-color: var(--text); text-decoration-thickness: 2px; color: var(--muted); }
.values { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 56px; }
@media (min-width: 820px) { .values { grid-template-columns: repeat(2, 1fr); } }
.values div { background: var(--bg-2); padding: 30px; }
.values h3 { font-size: 22px; margin-bottom: 8px; }
.values p { color: var(--muted); font-size: 15px; }

/* Reservas con Cal.com */
.book { display: grid; gap: 40px; }
@media (min-width: 1040px) { .book { grid-template-columns: .8fr 1.2fr; align-items: start; } }
.cal-card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: clamp(14px, 2vw, 20px); min-height: 560px; }
.cal-card .k { font: 600 11px var(--mono); letter-spacing: .14em; color: var(--accent); display: block; padding: 8px 8px 0; }
.cal-card h3 { font-size: 24px; margin: 8px 8px 14px; }
#cal-inline { width: 100%; min-height: 500px; overflow: auto; }
.cal-loading { color: var(--muted); padding: 20px 8px; font-size: 15px; }
.alt-contact { margin-top: clamp(56px, 8vw, 90px); display: grid; gap: 40px; }
@media (min-width: 960px) { .alt-contact { grid-template-columns: 1fr 1fr; align-items: start; } }
.no-cal .cal-card { display: none; }
.no-cal .alt-contact { margin-top: 0; }
#cal-inline:has(iframe) .cal-loading { display: none; }
