/* ==========================================================================
   Kōshaku Administración · Dirección financiera para pymes y autónomos
   Hoja de estilos única para todo el sitio
   ========================================================================== */

:root {
  --ink: #26272a;          /* gris carbón del logo: texto y fondos oscuros */
  --ink-2: #45474b;        /* texto secundario */
  --muted: #6a6c70;
  --paper: #f6f4ee;        /* fondo cálido */
  --card: #ffffff;
  --line: #e2ddd1;
  --accent: #c33d2e;       /* rojo del logo: botones y acentos */
  --accent-dark: #9e2f22;
  --accent-soft: #f8e4df;
  --logo-gray: #595a5c;    /* gris del logo */
  --pos: #2e7d4f;          /* datos positivos */
  --amber: #d98c1f;
  --amber-soft: #fbefdc;
  --red: #c33d2e;
  --red-soft: #f9e4df;

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(38, 39, 42, .06), 0 8px 24px rgba(38, 39, 42, .08);
  --wrap: 1160px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: -.01em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.45rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.05rem; font-family: var(--sans); letter-spacing: 0; }

p { margin: 0 0 1em; }
a { color: var(--accent-dark); text-underline-offset: 3px; }
a:hover { color: var(--accent); }

:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

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

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .9rem;
}
.lede { font-size: 1.18rem; color: var(--ink-2); max-width: 62ch; }
.muted { color: var(--muted); }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: 600 1rem/1 var(--sans);
  padding: 15px 24px;
  border-radius: 999px;
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--amber-soft); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- Cabecera ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 244, 238, .94);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark { width: auto; height: 40px; flex: none; }
.brand-name { font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-size: 1.5rem; font-weight: 400; letter-spacing: -.01em; line-height: 1; }
.brand-tag { display: block; font-family: var(--sans); font-size: .68rem; font-weight: 600; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; margin-top: 3px; }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.main-nav a {
  display: block; padding: 9px 12px; border-radius: 999px;
  font-size: .94rem; font-weight: 600; color: var(--ink-2); text-decoration: none; white-space: nowrap;
}
.main-nav a:hover { background: #ece8dd; color: var(--ink); }
.main-nav a[aria-current="page"] { color: var(--accent-dark); background: var(--accent-soft); }
.main-nav .nav-cta a { background: var(--ink); color: #fff; margin-left: 8px; padding: 10px 18px; }
.main-nav .nav-cta a:hover { background: var(--accent); color: #fff; }

.nav-toggle {
  display: none;
  background: none; border: 0; padding: 8px; margin-right: -8px; cursor: pointer; color: var(--ink);
}
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 1040px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute; left: 0; right: 0; top: 72px;
    background: var(--paper); border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(38, 39, 42, .08);
    display: none;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; padding: 12px 16px 20px; gap: 2px; }
  .main-nav a { padding: 13px 14px; border-radius: var(--radius-sm); font-size: 1.02rem; }
  .main-nav .nav-cta a { margin: 8px 0 0; text-align: center; }
}

/* ---------- Secciones ---------- */
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.section-white { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-dark { background: var(--ink); color: #ececed; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: #f08a76; }
.section-dark .lede { color: #c9cacd; }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; }
@media (max-width: 700px) { .section { padding: 64px 0; } .section-tight { padding: 48px 0; } }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 88px; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; }
.hero-points li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); }
.hero-points li::before {
  content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23c33d2e' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}
@media (max-width: 920px) {
  .hero { padding: 48px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* Tarjeta "previsión de caja" del hero */
.forecast-card {
  background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow);
  padding: 24px 24px 20px;
}
.forecast-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 4px; }
.forecast-head strong { font-size: 1rem; }
.forecast-head span { font-size: .8rem; color: var(--muted); }
.forecast-sub { font-size: .85rem; color: var(--muted); margin-bottom: 14px; }
.forecast-chart text { font-family: var(--sans); font-size: 11px; fill: var(--muted); }
.forecast-alert {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--amber-soft); border-radius: var(--radius-sm); padding: 12px 14px; margin-top: 14px;
  font-size: .9rem; color: #6b4410;
}
.forecast-alert svg { flex: none; width: 20px; height: 20px; margin-top: 2px; }

/* ---------- Page hero (páginas interiores) ---------- */
.page-hero { padding: 64px 0 72px; border-bottom: 1px solid var(--line); }
.page-hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 56px; align-items: start; }
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 22px; }
.crumbs a { color: var(--muted); }
.signals {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow);
}
.signals h2 { font-family: var(--sans); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--amber); margin-bottom: 14px; }
.signals ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.signals li { padding-left: 26px; position: relative; color: var(--ink-2); font-size: .97rem; line-height: 1.45; }
.signals li::before { content: "“"; position: absolute; left: 0; top: -6px; font-family: var(--serif); font-size: 2rem; color: var(--amber); line-height: 1; }
.signals.promise h2 { color: var(--accent); }
.signals.promise li::before { content: ""; top: 3px; width: 16px; height: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4.5 10.5l3.5 3.5 7.5-8' fill='none' stroke='%23c33d2e' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
@media (max-width: 920px) { .page-hero-grid { grid-template-columns: 1fr; gap: 36px; } .page-hero { padding: 40px 0 56px; } }

/* ---------- Rejillas y tarjetas ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
}
.card h3 { margin-bottom: .45em; }
.card p:last-child { margin-bottom: 0; }

/* Problemas (home) */
.pain { display: flex; flex-direction: column; }
.pain-quote { font-family: var(--serif); font-size: 1.22rem; line-height: 1.3; font-weight: 700; margin-bottom: 12px; }
.pain p { color: var(--ink-2); font-size: .97rem; }
.pain a { margin-top: auto; font-weight: 600; font-size: .95rem; }

/* Servicios (home) */
.service-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 32px;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.service-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: #e3cfca; }
.service-num { font: 700 .8rem/1 var(--sans); letter-spacing: .1em; color: var(--accent); margin-bottom: 18px; display: flex; align-items: center; gap: 12px; }
.service-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--accent-soft); display: grid; place-items: center; }
.service-icon svg { width: 26px; height: 26px; }
.service-card h3 { font-size: 1.5rem; }
.service-card > p { color: var(--ink-2); }
.service-card ul { margin: 4px 0 24px; padding: 0; list-style: none; display: grid; gap: 8px; }
.service-card li { padding-left: 20px; position: relative; font-size: .96rem; color: var(--ink-2); }
.service-card li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.service-card .more { margin-top: auto; font-weight: 700; text-decoration: none; }
.service-card .more::after { content: ""; position: absolute; inset: 0; border-radius: 18px; }
.service-card .more span { transition: margin .15s; }
.service-card:hover .more span { margin-left: 4px; }

/* Comparativa gestoría vs CFO */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.compare th, .compare td { padding: 16px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); font-size: .97rem; }
.compare tr:last-child td { border-bottom: 0; }
.compare thead th { background: #faf8f3; font-family: var(--sans); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.compare thead th.us { color: var(--accent-dark); background: var(--accent-soft); }
.compare td.us { background: #fdf6f4; color: var(--ink); font-weight: 600; }
.compare td:first-child { font-weight: 600; color: var(--ink); width: 26%; }
.compare td:nth-child(2) { color: var(--muted); }
@media (max-width: 680px) {
  .compare, .compare tbody, .compare tr, .compare td { display: block; width: 100%; }
  .compare thead { display: none; }
  .compare tr { border-bottom: 1px solid var(--line); padding: 8px 0; }
  .compare tr:last-child { border-bottom: 0; }
  .compare td { border: 0; padding: 6px 18px; }
  .compare td:first-child { width: 100%; padding-top: 12px; }
  .compare td:nth-child(2)::before { content: "Gestoría: "; font-weight: 700; }
  .compare td.us::before { content: "Kōshaku: "; color: var(--accent-dark); }
  .compare td.us { background: none; }
}

/* Pasos del método */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; list-style: none; margin: 0; padding: 0; }
.steps li { position: relative; padding-top: 58px; }
.steps li::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; top: 0; left: 0;
  font-family: var(--serif); font-size: 2.2rem; font-weight: 700; color: var(--accent); line-height: 1;
}
.steps li::after { content: ""; position: absolute; top: 18px; left: 64px; right: -12px; height: 2px; background: var(--line); }
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 1.2rem; }
.steps p { color: var(--ink-2); font-size: .97rem; }
.section-dark .steps p { color: #c9cacd; }
.section-dark .steps li::after { background: #3d3e42; }
.section-dark .steps li::before { color: #f08a76; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } .steps li::after { display: none; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Bloques de detalle de servicio */
.detail { display: grid; grid-template-columns: 300px 1fr; gap: 48px; padding: 48px 0; border-top: 1px solid var(--line); }
.section-head + .detail { border-top: 0; padding-top: 0; }
.detail-head .tag { display: inline-block; font-size: .78rem; font-weight: 700; color: var(--accent-dark); background: var(--accent-soft); border-radius: 999px; padding: 4px 12px; margin-bottom: 14px; }
.detail-head h3 { font-size: 1.55rem; }
.detail-head p { color: var(--muted); font-size: .97rem; }
.detail-body { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.detail-body .card { padding: 24px; }
.detail-body .card h4 { margin-bottom: .5em; }
.detail-body .card p { color: var(--ink-2); font-size: .96rem; }
.detail-body .card ul { margin: 0; padding-left: 1.1em; color: var(--ink-2); font-size: .96rem; }
.detail-body .card li { margin-bottom: 6px; }
.detail-body .wide { grid-column: 1 / -1; }
@media (max-width: 920px) { .detail { grid-template-columns: 1fr; gap: 24px; } }
@media (max-width: 620px) { .detail-body { grid-template-columns: 1fr; } }

/* Entregables */
.deliverables { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 40px; list-style: none; padding: 0; margin: 0; }
.deliverables li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid #3d3e42; }
.deliverables li svg { flex: none; width: 24px; height: 24px; margin-top: 2px; }
.deliverables strong { display: block; color: #fff; }
.deliverables span { color: #c9cacd; font-size: .95rem; }
@media (max-width: 760px) { .deliverables { grid-template-columns: 1fr; } }

/* ---------- Calculadoras ---------- */
.tool {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow);
}
.tool-form { padding: 36px; }
.tool-result { padding: 36px; background: var(--ink); color: #ececed; display: flex; flex-direction: column; justify-content: center; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; }
.field .hint { display: block; font-weight: 400; font-size: .84rem; color: var(--muted); margin-top: 2px; }
.input-wrap { position: relative; }
.input-wrap .unit { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: .92rem; pointer-events: none; }
input[type="number"], input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: #fbfaf7; border: 1.5px solid #d6d0c3; border-radius: var(--radius-sm);
  padding: 12px 14px; transition: border-color .15s, background .15s;
}
input[type="number"] { padding-right: 64px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 3px var(--accent-soft); }
textarea { min-height: 130px; resize: vertical; }
.result-label { font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: #f08a76; font-weight: 700; }
.result-big { font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3.1rem); font-weight: 700; color: #fff; line-height: 1.1; margin: 6px 0 4px; }
.result-sub { color: #c9cacd; font-size: .95rem; }
.result-rows { margin: 24px 0 0; padding: 0; list-style: none; border-top: 1px solid #3d3e42; }
.result-rows li { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid #3d3e42; font-size: .95rem; }
.result-rows li span:last-child { font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; }
.result-note { margin-top: 20px; font-size: .86rem; color: #a5a6aa; }
.result-warn { color: #ffc977; }
@media (max-width: 820px) { .tool { grid-template-columns: 1fr; } .tool-form, .tool-result { padding: 26px; } }

/* ---------- Visuales de ejemplo (dashboard, flujo) ---------- */
.mock-dashboard {
  background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: 26px;
}
.mock-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; flex-wrap: wrap; gap: 8px; }
.mock-top strong { font-size: 1.05rem; }
.mock-top span { font-size: .82rem; color: var(--muted); }
.kpis { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-bottom: 18px; }
.kpi { background: #faf8f3; border: 1px solid var(--line); border-radius: 10px; padding: 14px; }
.kpi-label { font-size: .76rem; color: var(--muted); font-weight: 600; line-height: 1.3; }
.kpi-value { font-family: var(--serif); font-size: 1.45rem; font-weight: 700; line-height: 1.2; margin-top: 4px; font-variant-numeric: tabular-nums; }
.kpi-delta { font-size: .78rem; font-weight: 700; }
.up { color: var(--pos); }
.down { color: var(--red); }
.mock-charts { display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; }
.mock-panel { border: 1px solid var(--line); border-radius: 10px; padding: 14px; }
.mock-panel h4 { font-size: .82rem; color: var(--muted); margin-bottom: 8px; }
.mock-panel text { font-family: var(--sans); font-size: 10px; fill: var(--muted); }
.bar-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.bar-list li { font-size: .82rem; }
.bar-list .row { display: flex; justify-content: space-between; margin-bottom: 3px; }
.bar-list .track { height: 8px; background: #eeeae0; border-radius: 99px; overflow: hidden; }
.bar-list .fill { height: 100%; background: var(--logo-gray); border-radius: 99px; }
.bar-list .fill.neg { background: var(--red); }
@media (max-width: 900px) { .kpis { grid-template-columns: repeat(3, 1fr); } .mock-charts { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .kpis { grid-template-columns: repeat(2, 1fr); } }

.flow-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.flow { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.flow h3 { font-size: 1.15rem; display: flex; align-items: center; gap: 10px; }
.flow .pill { font: 700 .72rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; }
.flow.before .pill { background: var(--red-soft); color: var(--red); }
.flow.after .pill { background: var(--accent-soft); color: var(--accent-dark); }
.flow ol { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 0; }
.flow li { position: relative; padding: 0 0 18px 34px; font-size: .96rem; color: var(--ink-2); }
.flow li::before { content: ""; position: absolute; left: 6px; top: 6px; width: 12px; height: 12px; border-radius: 50%; border: 2.5px solid var(--line); background: #fff; }
.flow li::after { content: ""; position: absolute; left: 11px; top: 20px; bottom: 2px; width: 2px; background: var(--line); }
.flow li:last-child::after { display: none; }
.flow.before li::before { border-color: #e2a294; }
.flow.after li::before { border-color: var(--accent); }
.flow li b { color: var(--ink); }
.flow-foot { margin-top: 6px; padding-top: 14px; border-top: 1px dashed var(--line); font-weight: 700; font-size: .95rem; }
.flow.before .flow-foot { color: var(--red); }
.flow.after .flow-foot { color: var(--accent-dark); }
@media (max-width: 760px) { .flow-compare { grid-template-columns: 1fr; } }

/* Cronología del circuito de cobro */
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; margin-top: 8px; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 22px; height: 3px; background: linear-gradient(90deg, var(--accent) 0 40%, var(--amber) 40% 70%, var(--red) 70%); border-radius: 3px; }
.tl-item { position: relative; padding: 52px 12px 0 0; }
.tl-item::before { content: ""; position: absolute; top: 14px; left: 0; width: 19px; height: 19px; border-radius: 50%; background: #fff; border: 4px solid var(--accent); }
.tl-item:nth-child(3)::before, .tl-item:nth-child(4)::before { border-color: var(--amber); }
.tl-item:nth-child(5)::before { border-color: var(--red); }
.tl-day { font: 700 .8rem/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.tl-item h4 { margin-bottom: 4px; }
.tl-item p { font-size: .92rem; color: var(--ink-2); margin: 0; }
@media (max-width: 860px) {
  .timeline { grid-template-columns: 1fr; gap: 20px; }
  .timeline::before { left: 8px; right: auto; top: 0; bottom: 0; width: 3px; height: auto; background: linear-gradient(180deg, var(--accent) 0 40%, var(--amber) 40% 70%, var(--red) 70%); }
  .tl-item { padding: 0 0 0 40px; }
  .tl-item::before { top: 0; }
}

/* ---------- Modalidades ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 32px; display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--accent); box-shadow: var(--shadow); position: relative; }
.plan.featured .badge { position: absolute; top: -13px; left: 28px; background: var(--accent); color: #fff; font: 700 .74rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; }
.plan h3 { font-size: 1.45rem; margin-bottom: .3em; }
.plan .plan-for { color: var(--muted); font-size: .95rem; min-height: 3em; }
.plan .price { font-family: var(--serif); font-size: 1.6rem; font-weight: 700; margin: 10px 0 2px; }
.plan .price-note { font-size: .86rem; color: var(--muted); margin-bottom: 20px; }
.plan ul { list-style: none; margin: 0 0 28px; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.plan li { padding-left: 26px; position: relative; font-size: .96rem; color: var(--ink-2); }
.plan li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4.5 10.5l3.5 3.5 7.5-8' fill='none' stroke='%23c33d2e' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.plan .btn { margin-top: auto; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } .plan .plan-for { min-height: 0; } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font-weight: 700; font-size: 1.07rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -9px;
  border-right: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq details p { color: var(--ink-2); padding-right: 40px; }

/* ---------- Banda CTA ---------- */
.cta-band { background: var(--accent); color: #fff; border-radius: 24px; padding: 56px; display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -80px; bottom: -120px; width: 320px; height: 320px; border-radius: 50%; border: 40px solid rgba(255, 255, 255, .08); }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { color: #fbe3de; margin: 0; font-size: 1.08rem; }
.cta-band .btn-row { margin-top: 0; position: relative; z-index: 1; }
@media (max-width: 820px) { .cta-band { grid-template-columns: 1fr; padding: 36px 26px; } }

/* ---------- Relacionados ---------- */
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.related a { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; text-decoration: none; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.related a:hover { border-color: var(--accent); box-shadow: var(--shadow); color: var(--ink); }
.related small { display: block; color: var(--accent); font-weight: 700; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 6px; }
.related strong { font-family: var(--serif); font-size: 1.2rem; display: block; margin-bottom: 4px; }
.related span { color: var(--muted); font-size: .93rem; }
@media (max-width: 820px) { .related { grid-template-columns: 1fr; } }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 48px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 36px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
fieldset { border: 0; padding: 0; margin: 0 0 18px; }
legend { font-weight: 600; font-size: .95rem; margin-bottom: 8px; padding: 0; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; background: #fbfaf7; border: 1.5px solid #e2ddd1; border-radius: var(--radius-sm); padding: 10px 12px; cursor: pointer; }
.check:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.check input { margin-top: 4px; accent-color: var(--accent); width: 16px; height: 16px; flex: none; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--ink-2); margin: 6px 0 22px; }
.consent input { margin-top: 4px; accent-color: var(--accent); width: 16px; height: 16px; flex: none; }
.req { color: var(--red); }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--accent-soft); color: var(--accent-dark); font-size: .95rem; display: none; }
.form-status.show { display: block; }
.form-status.error { background: var(--red-soft); color: var(--red); }
.contact-aside .card { margin-bottom: 20px; }
.contact-aside h3 { font-size: 1.15rem; }
.contact-line { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .97rem; }
.contact-line:last-child { border-bottom: 0; }
.contact-line svg { width: 20px; height: 20px; flex: none; color: var(--accent); }
.next-steps { list-style: none; counter-reset: ns; padding: 0; margin: 0; display: grid; gap: 14px; }
.next-steps li { counter-increment: ns; display: grid; grid-template-columns: 32px 1fr; gap: 12px; font-size: .95rem; color: var(--ink-2); }
.next-steps li::before { content: counter(ns); width: 30px; height: 30px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-dark); font-weight: 700; display: grid; place-items: center; font-size: .9rem; }
@media (max-width: 920px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .form-card { padding: 24px 18px; } .form-row, .checks { grid-template-columns: 1fr; gap: 0; } .checks { gap: 8px; } }

/* ---------- Texto legal ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.6rem; margin-top: 1.8em; }
.prose h3 { font-size: 1.15rem; margin-top: 1.4em; font-family: var(--sans); }
.prose p, .prose li { color: var(--ink-2); }
.placeholder { background: var(--amber-soft); color: #6b4410; padding: 0 4px; border-radius: 3px; font-weight: 600; }

/* ---------- Pie ---------- */
.site-footer { background: var(--ink); color: #c9cacd; padding: 64px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer .brand { color: #fff; }
.site-footer .brand-tag { color: #a5a6aa; }
.site-footer h2 { font-family: var(--sans); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: #f08a76; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: #ececed; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-about { margin-top: 16px; max-width: 34ch; }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid #3d3e42; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .86rem; color: #a5a6aa; }
.footer-bottom a { color: #a5a6aa; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* Utilidades */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-48 { margin-top: 48px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
