/* Recepcionista IA — página ES v1. Paleta heredada (sin marca): fondo #000101, texto #ecebe7,
   Instrument Sans / Instrument Serif / JetBrains Mono, radius 0.25rem. Móvil primero. */

@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/instrument-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/instrument-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/instrument-serif-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2"); }

:root {
  --bg: #000101;
  --fg: #ecebe7;
  --soft: #a7a49e;
  --surface: #020204;
  --surface-2: #040608;
  --border: #101215;
  --line-2: #3c3a35;
  --line-3: #6c695f;
  --radius: 0.25rem;
  --gutter: 20px;
  --max: 1080px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "Instrument Sans", Arial, system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--fg); color: var(--bg); }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; border-radius: var(--radius); }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
p { margin: 0; }
h1, h2 { margin: 0; font-weight: 400; text-wrap: balance; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }

/* ---------- cabecera ---------- */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; }
.wordmark { display: inline-flex; align-items: baseline; gap: 10px; font-weight: 600; font-size: 1.0625rem; letter-spacing: -0.01em; text-decoration: none; min-height: 44px; align-items: center; }
.wordmark-sub { font-weight: 400; color: var(--soft); font-size: 0.9375rem; }
.top-link { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 4px; font-size: 0.9375rem; color: var(--fg); text-decoration: underline; text-decoration-color: var(--line-3); }
.top-link:hover { text-decoration-color: var(--fg); }
/* телефоны уже 480: марка в две строки, ссылка не переносится */
@media (max-width: 479px) {
  .wordmark { flex-direction: column; align-items: flex-start; justify-content: center; gap: 0; line-height: 1.2; }
  .wordmark-sub { font-size: 0.875rem; }
  .top-link { white-space: nowrap; }
}

/* ---------- botón ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px;
  background: var(--fg); color: var(--bg);
  font-family: "Instrument Sans", Arial, system-ui, sans-serif; font-weight: 600; font-size: 1.0625rem; letter-spacing: -0.005em;
  border-radius: var(--radius); text-decoration: none;
  transition: transform 180ms cubic-bezier(0.2, 0.8, 0.2, 1), background-color 180ms ease;
}
.btn:hover { background: #ffffff; }
.btn:active { transform: translateY(1px) scale(0.99); }

/* ---------- hero ---------- */
.hero { padding-top: clamp(56px, 10vh, 112px); }
.hero h1 {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(2.5rem, 4vw + 1.4rem, 4.75rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  max-width: 14ch;
}
.hero-sub { margin-top: 24px; max-width: 58ch; font-size: clamp(1.0625rem, 0.6vw + 0.9rem, 1.25rem); line-height: 1.5; color: var(--fg); }
.hero-cta { margin-top: 32px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.hero-note { color: var(--soft); font-size: 0.9375rem; }
.line-wrap { margin-top: clamp(40px, 7vh, 80px); overflow: hidden; }
.line { display: block; width: 100%; height: clamp(56px, 8vw, 96px); }
.line .flat { stroke: var(--line-2); stroke-width: 1.5; fill: none; vector-effect: non-scaling-stroke; }
.line .voice { stroke: var(--fg); stroke-width: 1.5; fill: none; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; }
@media (prefers-reduced-motion: no-preference) {
  .line .voice { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.2s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards; }
  @keyframes draw { to { stroke-dashoffset: 0; } }
}

/* ---------- secciones ---------- */
.sec { padding-block: clamp(48px, 8vh, 96px); border-top: 1px solid var(--border); }
.sec--situation { border-top: 0; padding-top: clamp(32px, 5vh, 56px); }
.sec h2 { font-family: "Instrument Serif", Georgia, serif; font-size: clamp(1.875rem, 1.6vw + 1.2rem, 2.5rem); line-height: 1.08; letter-spacing: -0.015em; margin-bottom: 24px; }
.lead { font-size: clamp(1.25rem, 1vw + 0.9rem, 1.625rem); line-height: 1.4; max-width: 34ch; letter-spacing: -0.01em; }
.prose { max-width: 62ch; color: var(--fg); }
.note { margin-top: 24px; color: var(--soft); font-size: 0.9375rem; }

/* qué hace: lista de definiciones; en móvil una columna con separadores, en tablet y escritorio 2 × 2 */
.does { margin: 0; display: grid; grid-template-columns: 1fr; }
.does-item { padding-block: 22px; border-top: 1px solid var(--border); }
.does-item:first-child { border-top: 0; padding-top: 4px; }
.does dt { font-family: "Instrument Serif", Georgia, serif; font-size: clamp(1.75rem, 1.4vw + 1.2rem, 2.25rem); line-height: 1.05; letter-spacing: -0.015em; }
.does dd { margin: 10px 0 0; max-width: 46ch; }

/* pasos */
.steps { list-style: none; margin: 0; padding: 0; max-width: 52ch; }
.steps li { display: grid; grid-template-columns: 2.5rem 1fr; align-items: baseline; padding-block: 14px; border-top: 1px solid var(--border); }
.steps li:first-child { border-top: 0; padding-top: 0; }
.step-n { font-family: "JetBrains Mono", monospace; font-size: 0.9375rem; color: var(--soft); font-variant-numeric: tabular-nums; }
.step-t { font-size: 1.125rem; }

/* precio */
.price { max-width: 60ch; }
.price-row { padding-block: 22px; border-top: 1px solid var(--border); }
.price-row:first-child { border-top: 0; padding-top: 4px; }
.price-main { font-family: "Instrument Serif", Georgia, serif; font-size: clamp(1.75rem, 1.6vw + 1.2rem, 2.5rem); line-height: 1.08; letter-spacing: -0.015em; text-wrap: balance; }
.price-sub { margin-top: 8px; }
.price-terms { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--border); color: var(--soft); font-size: 0.9375rem; max-width: 52ch; }

/* llamada final */
.sec--cta { padding-block: clamp(64px, 12vh, 140px); }
.cta-title { font-family: "Instrument Serif", Georgia, serif; font-size: clamp(2.25rem, 3vw + 1.3rem, 3.75rem); line-height: 1.04; letter-spacing: -0.02em; max-width: 16ch; }
#booking { margin-top: 32px; min-height: 52px; }

/* pie */
.foot { border-top: 1px solid var(--border); padding-block: 28px 40px; color: var(--soft); font-size: 0.9375rem; }
.foot-row { display: flex; flex-direction: column; gap: 10px; }
.foot-brand { color: var(--fg); font-weight: 600; }
.foot-ai { color: var(--fg); }
.foot-mail { display: inline-flex; align-items: center; min-height: 44px; align-self: flex-start; text-decoration-color: var(--line-3); }
.foot-mail:hover { color: var(--fg); }

/* ---------- tablet ---------- */
@media (min-width: 700px) {
  :root { --gutter: 32px; }
  .hero h1 { max-width: 24ch; }
  .does { grid-template-columns: 1fr 1fr; column-gap: 48px; }
  .does-item:nth-child(2) { border-top: 0; padding-top: 4px; }
  .foot-row { flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; }
  .foot-mail { align-self: auto; }
}

/* ---------- escritorio ---------- */
@media (min-width: 1024px) {
  :root { --gutter: 40px; }
  .hero { padding-top: 96px; }
  .hero h1 { max-width: 30ch; font-size: 4.5rem; }
  .hero-sub { max-width: 62ch; }
  .sec .wrap { display: grid; grid-template-columns: 300px 1fr; column-gap: 64px; align-items: start; }
  .sec h2 { margin-bottom: 0; grid-column: 1; }
  .sec .wrap > :not(h2) { grid-column: 2; }
  .sec--cta .wrap { display: block; }
  .does { column-gap: 64px; }
  .does dd { max-width: 40ch; }
}
