/* =====================================================================
   Grupo Xamba — hoja de estilos
   Concepto: "pliego de producción". Cuatro tintas (C, M, Y, K) dan a cada
   línea de negocio su color: Marketing = cian (el celeste del logo),
   Eventos = magenta, Papelería = amarillo, Alquiler = negro/tinta.
   Las marcas de corte de imprenta enmarcan los bloques clave.
   ===================================================================== */

:root {
  /* Color base */
  --paper: #F5F8FB;
  --card: #FFFFFF;
  --ink: #0B1424;
  --ink-2: #26324A;
  --muted: #556378;
  --line: #DCE4EE;
  --line-2: #C6D2E0;

  /* Tintas por línea */
  --c: #3CC4F5;      --c-ink: #0573A8;  --c-soft: #E4F6FD;
  --m: #F2357B;      --m-btn: #D61F69;  --m-ink: #C0185C;  --m-soft: #FDE7F0;
  --y: #FFC72C;      --y-ink: #8A6100;  --y-soft: #FFF5D6;
  --k: #0B1424;      --k-2: #131F33;    --k-3: #1B2940;    --k-line: #2A3852;
  --on-k: #F5F8FB;   --on-k-muted: #A3B0C5;
  --wa: #25D366;     --wa-ink: #0B3D22;

  /* Estados */
  --ok: #128049;  --ok-soft: #E3F5EB;
  --err: #C42B2B; --err-soft: #FCE8E8;

  /* Acento activo (cada línea lo redefine) */
  --acc: var(--ink);
  --acc-ink: var(--ink);
  --acc-soft: #E9EEF5;
  --btn-bg: var(--ink);
  --btn-fg: #FFFFFF;
  --acc-dark: var(--c);

  /* Tipografía */
  --f-display: "Outfit", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --f-body: "DM Sans", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --f-mono: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --t-xs: .8125rem;
  --t-sm: .9375rem;
  --t-base: 1.0625rem;
  --t-lg: 1.1875rem;
  --t-xl: clamp(1.3rem, 1.15rem + .6vw, 1.6rem);
  --t-2xl: clamp(1.85rem, 1.35rem + 2vw, 2.75rem);
  --t-3xl: clamp(2.3rem, 1.45rem + 3.5vw, 4.25rem);

  /* Espacio y forma */
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1200px;
  --section: clamp(64px, 8vw, 112px);
  --r-xs: 4px;
  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;
  --r-pill: 999px;
  --shadow: 0 1px 2px rgba(11, 20, 36, .06), 0 10px 28px -14px rgba(11, 20, 36, .22);
  --shadow-lg: 0 30px 70px -30px rgba(11, 20, 36, .45);
  --mark: #9AA9BC;

  color-scheme: light;
}

/* Cada línea de negocio fija su tinta */
[data-line="marketing"] { --acc: var(--c); --acc-ink: var(--c-ink); --acc-soft: var(--c-soft); --btn-bg: var(--c); --btn-fg: var(--ink); --acc-dark: var(--c); }
[data-line="eventos"]   { --acc: var(--m); --acc-ink: var(--m-ink); --acc-soft: var(--m-soft); --btn-bg: var(--m-btn); --btn-fg: #FFFFFF; --acc-dark: #FF5C97; }
[data-line="papeleria"] { --acc: var(--y); --acc-ink: var(--y-ink); --acc-soft: var(--y-soft); --btn-bg: var(--y); --btn-fg: var(--ink); --acc-dark: var(--y); }
[data-line="alquiler"]  { --acc: var(--ink); --acc-ink: var(--ink); --acc-soft: #E8EDF4; --btn-bg: var(--ink); --btn-fg: #FFFFFF; --acc-dark: var(--y); }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: var(--t-base);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-display); line-height: 1.08; margin: 0; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0; }
figure { margin: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--c); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--c); color: var(--ink); }
[hidden] { display: none !important; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-sm);
  text-decoration: none; transition: top .15s;
}
.skip:focus { top: 12px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--white { background: var(--card); }
.section--soft { background: var(--acc-soft); }
.section--dark { background: var(--k); color: var(--on-k); }
.section--dark .muted, .section--dark .lead { color: var(--on-k-muted); }
.stack { display: grid; gap: 16px; }
.stack-lg { display: grid; gap: 28px; }
.muted { color: var(--muted); }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon--fill { fill: currentColor; stroke: none; }

/* ---------- Tipografía ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: var(--t-xs); font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}
.eyebrow .reg { width: 16px; height: 16px; color: var(--acc-ink); }
.section--dark .eyebrow { color: var(--on-k-muted); }
.h1 { font-size: var(--t-3xl); font-weight: 700; line-height: 1.02; letter-spacing: -.035em; }
.h2 { font-size: var(--t-2xl); font-weight: 700; letter-spacing: -.03em; }
.h3 { font-size: var(--t-xl); font-weight: 600; }
.h4 { font-size: var(--t-lg); font-weight: 600; letter-spacing: -.01em; }
.lead { font-size: var(--t-lg); color: var(--ink-2); max-width: 60ch; line-height: 1.55; }
.small { font-size: var(--t-sm); }
.xs { font-size: var(--t-xs); }
.mono { font-family: var(--f-mono); }
.num { font-variant-numeric: tabular-nums; }
.section-head { display: grid; gap: 14px; max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head p { color: var(--muted); font-size: var(--t-lg); max-width: 62ch; }
.section--dark .section-head p { color: var(--on-k-muted); }

/* Subrayado de tinta en titulares */
.ink { --ink-color: var(--acc); background: linear-gradient(var(--ink-color), var(--ink-color)) 0 94% / 100% .14em no-repeat; padding-bottom: .02em; }
.ink-c { --ink-color: var(--c); }
.ink-m { --ink-color: var(--m); }
.ink-y { --ink-color: var(--y); }
.ink-k { --ink-color: var(--ink); }

/* Marcas de corte (imprenta) */
.crop { position: relative; }
.crop::after {
  content: ""; position: absolute; inset: -14px; pointer-events: none;
  background:
    linear-gradient(var(--mark), var(--mark)) 0 14px / 9px 1px no-repeat,
    linear-gradient(var(--mark), var(--mark)) 14px 0 / 1px 9px no-repeat,
    linear-gradient(var(--mark), var(--mark)) 100% 14px / 9px 1px no-repeat,
    linear-gradient(var(--mark), var(--mark)) calc(100% - 14px) 0 / 1px 9px no-repeat,
    linear-gradient(var(--mark), var(--mark)) 0 calc(100% - 14px) / 9px 1px no-repeat,
    linear-gradient(var(--mark), var(--mark)) 14px 100% / 1px 9px no-repeat,
    linear-gradient(var(--mark), var(--mark)) 100% calc(100% - 14px) / 9px 1px no-repeat,
    linear-gradient(var(--mark), var(--mark)) calc(100% - 14px) 100% / 1px 9px no-repeat;
}
.section--dark .crop::after { --mark: #3A4A66; }

/* ---------- Botones ---------- */
.btn {
  --b-bg: var(--btn-bg); --b-fg: var(--btn-fg); --b-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: var(--r-pill);
  background: var(--b-bg); color: var(--b-fg); border: 1.5px solid var(--b-bd);
  font-family: var(--f-display); font-weight: 600; font-size: 1rem; letter-spacing: -.005em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px -10px rgba(11, 20, 36, .5); text-decoration: none; }
.btn:active { transform: translateY(0); }
.btn .icon { width: 1.15em; height: 1.15em; }
.btn--ink { --b-bg: var(--ink); --b-fg: #FFFFFF; }
.btn--ghost { --b-bg: transparent; --b-fg: var(--ink); --b-bd: var(--line-2); }
.btn--ghost:hover { --b-bd: var(--ink); }
.btn--light { --b-bg: #FFFFFF; --b-fg: var(--ink); }
.btn--wa { --b-bg: var(--wa); --b-fg: var(--wa-ink); }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: .9375rem; }
.btn--block { width: 100%; }
.section--dark .btn--ghost { --b-fg: var(--on-k); --b-bd: var(--k-line); }
.section--dark .btn--ghost:hover { --b-bd: var(--on-k); }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-display); font-weight: 600; text-decoration: none; color: var(--acc-ink); }
.link-arrow .icon { transition: transform .15s; }
.link-arrow:hover .icon { transform: translateX(3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- Cabecera ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40;
  background: rgba(245, 248, 251, .88);
  -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s, background-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(245, 248, 251, .96); }
.header-inner { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: none; }
.brand svg { height: 34px; width: auto; }
.brand { --logo-x: #3CC4F5; }
.brand-line {
  font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 8px; border-radius: var(--r-xs); background: var(--btn-bg); color: var(--btn-fg); line-height: 1;
}
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative; padding: 10px 12px; border-radius: var(--r-sm);
  font-family: var(--f-display); font-weight: 500; font-size: .98rem; text-decoration: none; color: var(--ink-2);
}
.nav a:hover { color: var(--ink); background: rgba(11, 20, 36, .05); }
.nav a .dot { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 8px; vertical-align: 1px; }
.nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 3px; border-radius: 2px; background: var(--acc); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none; margin-left: auto; width: 46px; height: 46px; border-radius: var(--r-sm);
  border: 1px solid var(--line-2); background: var(--card); cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle .icon { width: 22px; height: 22px; }
.mobile-menu { display: none; }

@media (max-width: 1080px) {
  .nav a { padding: 10px 9px; font-size: .94rem; }
  .nav a .dot { display: none; }
}
@media (max-width: 960px) {
  .nav, .header-cta .btn--ghost { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-cta { margin-left: 0; }
  .mobile-menu {
    display: block; position: fixed; inset: 72px 0 auto 0; z-index: 39;
    background: var(--card); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    padding: 12px var(--gutter) 24px; max-height: calc(100dvh - 72px); overflow-y: auto;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s, visibility .18s;
  }
  .mobile-menu.is-open { opacity: 1; transform: none; visibility: visible; }
  .mobile-menu a.m-link {
    display: flex; align-items: center; gap: 14px; padding: 14px 4px; border-bottom: 1px solid var(--line);
    font-family: var(--f-display); font-size: 1.15rem; font-weight: 600; text-decoration: none;
  }
  .mobile-menu a.m-link .sw { width: 14px; height: 14px; border-radius: 3px; flex: none; }
  .mobile-menu a.m-link small { display: block; font-family: var(--f-body); font-weight: 400; font-size: .85rem; color: var(--muted); }
  .mobile-menu .btn-row { margin-top: 18px; }
  .mobile-menu .btn-row .btn { flex: 1 1 160px; }
}
@media (max-width: 520px) {
  .header-cta .btn--ink { display: none; }
  .brand svg { height: 30px; }
}

/* ---------- Hero (inicio) ---------- */
.hero { padding-block: clamp(36px, 6vw, 80px) clamp(56px, 7vw, 96px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy { display: grid; gap: 24px; min-width: 0; }
.hero-copy .lead { max-width: 52ch; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 20px; padding-top: 6px; }
.hero-facts li { list-style: none; display: inline-flex; align-items: center; gap: 8px; font-size: var(--t-sm); color: var(--ink-2); }
.hero-facts .icon { color: var(--ok); width: 18px; height: 18px; }

.swatches { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.swatch {
  --sw-bg: var(--c); --sw-fg: var(--ink);
  position: relative; display: grid; align-content: space-between; gap: 22px; min-height: 216px;
  padding: 20px; border-radius: var(--r-xs); background: var(--sw-bg); color: var(--sw-fg);
  text-decoration: none; overflow: hidden; isolation: isolate;
  transition: transform .2s ease, box-shadow .2s ease;
}
.swatch:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); text-decoration: none; }
.swatch--c { --sw-bg: var(--c); }
.swatch--m { --sw-bg: var(--m); }
.swatch--y { --sw-bg: var(--y); }
.swatch--k { --sw-bg: var(--ink); --sw-fg: #FFFFFF; }
.swatch .sw-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.swatch .sw-label { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; opacity: .85; }
.swatch .sw-ink { font-family: var(--f-mono); font-size: .72rem; opacity: .7; }
.swatch h2, .swatch h3 { font-size: clamp(1.25rem, 1rem + 1vw, 1.65rem); font-weight: 700; letter-spacing: -.025em; }
.swatch p { font-size: .95rem; line-height: 1.45; opacity: .92; max-width: 30ch; }
.swatch .sw-go {
  position: absolute; right: 16px; bottom: 16px; width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255, 255, 255, .35); transition: transform .2s, background-color .2s;
}
.swatch--k .sw-go { background: rgba(255, 255, 255, .14); }
.swatch:hover .sw-go { transform: translateX(3px); background: rgba(255, 255, 255, .6); }
.swatch--k:hover .sw-go { background: rgba(255, 255, 255, .25); }
.swatch .sw-x { position: absolute; right: -18px; top: 38%; width: 120px; opacity: .14; z-index: -1; }
.swatch .sw-body { display: grid; gap: 8px; padding-right: 52px; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .swatches { gap: 10px; }
  .swatch { min-height: 158px; padding: 16px; gap: 14px; }
  .swatch p { display: none; }
  .swatch .sw-body { padding-right: 0; }
  .swatch .sw-go { width: 32px; height: 32px; right: 10px; top: 10px; bottom: auto; }
  .swatch .sw-label { padding-right: 34px; }
  .swatch h2, .swatch h3 { font-size: 1.12rem; }
}

/* Animación de entrada: registro de tintas (contenido visible en reposo) */
@media (prefers-reduced-motion: no-preference) {
  .js .hero .ink { animation: ink-in .7s cubic-bezier(.2, .7, .2, 1) both; }
  .js .hero .ink-c { animation-delay: .15s; }
  .js .hero .ink-m { animation-delay: .3s; }
  .js .hero .ink-y { animation-delay: .45s; }
  .js .hero .ink-k { animation-delay: .6s; }
  .js .swatches .swatch { animation: reg-in .6s cubic-bezier(.2, .7, .2, 1) both; }
  .js .swatches .swatch:nth-child(1) { --dx: -6px; --dy: -4px; animation-delay: .1s; }
  .js .swatches .swatch:nth-child(2) { --dx: 6px; --dy: -4px; animation-delay: .2s; }
  .js .swatches .swatch:nth-child(3) { --dx: -6px; --dy: 4px; animation-delay: .3s; }
  .js .swatches .swatch:nth-child(4) { --dx: 6px; --dy: 4px; animation-delay: .4s; }
}
@keyframes ink-in { from { background-size: 0% .14em; } to { background-size: 100% .14em; } }
@keyframes reg-in { from { transform: translate(var(--dx, 0), var(--dy, 0)); } to { transform: none; } }

/* ---------- Hero de línea ---------- */
.line-hero { padding-block: clamp(32px, 5vw, 72px) clamp(56px, 7vw, 96px); }
.line-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.line-hero .hero-copy { gap: 22px; }
.line-hero--dark { background: var(--k); color: var(--on-k); }
.line-hero--dark .lead { color: var(--on-k-muted); }
.line-hero--dark .eyebrow { color: var(--on-k-muted); }
.line-hero--dark .hero-facts li { color: var(--on-k); }
.line-hero--dark .hero-facts .icon { color: var(--y); }
.photo { position: relative; border-radius: var(--r-xs); overflow: hidden; background: var(--k-2); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--tall { aspect-ratio: 4 / 5; }
.photo--wide { aspect-ratio: 4 / 3; }
.photo figcaption {
  position: absolute; left: 12px; bottom: 12px; padding: 6px 10px; border-radius: var(--r-xs);
  background: rgba(11, 20, 36, .72); color: #fff; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .04em;
}
@media (max-width: 960px) {
  .line-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .photo--tall { aspect-ratio: 4 / 3; }
}

/* Lockup de submarca */
.lockup { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 700; font-size: 1.05rem; letter-spacing: -.01em; }
.lockup svg { width: 22px; height: auto; color: var(--acc); }
[data-line="alquiler"] .lockup svg { color: var(--ink); }
.section--dark .lockup svg, .line-hero--dark .lockup svg { color: var(--acc-dark); }
.section--dark .lockup span, .line-hero--dark .lockup span { color: var(--on-k-muted); }
.lockup b { font-weight: 700; }
.lockup span { font-weight: 400; color: var(--muted); }

/* ---------- Áreas (inicio) ---------- */
.areas { display: grid; gap: 0; border-top: 1px solid var(--line); }
.area {
  display: grid; grid-template-columns: 220px minmax(0, 1.2fr) minmax(0, 1fr) auto; gap: 28px; align-items: start;
  padding-block: 32px; border-bottom: 1px solid var(--line);
}
.area-sw { display: grid; gap: 10px; }
.area-sw .chip-ink { width: 56px; height: 56px; border-radius: var(--r-xs); background: var(--acc); display: grid; place-items: center; color: var(--btn-fg); }
.area-sw .chip-ink svg { width: 26px; }
[data-line="marketing"] .area-sw .chip-ink, [data-line="papeleria"] .area-sw .chip-ink { color: var(--ink); }
.area h3 { font-size: var(--t-xl); }
.area p { color: var(--muted); }
.area ul { display: grid; gap: 8px; }
.area li { list-style: none; display: flex; gap: 10px; align-items: baseline; font-size: var(--t-sm); }
.area li::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--acc); flex: none; transform: translateY(-2px); }
[data-line="alquiler"].area li::before { background: var(--ink); }
.area .link-arrow { white-space: nowrap; align-self: center; }
@media (max-width: 1000px) {
  .area { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .area .area-sw { grid-column: 1 / -1; grid-auto-flow: column; justify-content: start; align-items: center; gap: 14px; }
  .area .link-arrow { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 640px) {
  .area { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}

/* ---------- Tarjetas y rejillas ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); } }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; min-width: 0; }
.card > * { max-width: 100%; }
.card > .includes { align-self: stretch; }
.card > .tag { margin-top: auto; }
.card > .link-arrow { margin-top: auto; }
.card .icon-tile { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--acc-soft); color: var(--acc-ink); }
.card .icon-tile .icon { width: 24px; height: 24px; }
.card h3 { font-size: 1.3rem; font-weight: 600; letter-spacing: -.015em; }
.card p { color: var(--muted); font-size: var(--t-sm); }
.card .includes { display: grid; gap: 8px; border-top: 1px dashed var(--line-2); margin-top: 4px; padding-top: 14px; margin-bottom: 6px; }
.card .includes li { list-style: none; display: flex; gap: 10px; font-size: var(--t-sm); align-items: baseline; }
.card .includes .icon { width: 16px; height: 16px; color: var(--acc-ink); transform: translateY(3px); }
.tag {
  display: inline-flex; align-items: center; gap: 6px; justify-self: start;
  font-family: var(--f-mono); font-size: .72rem; letter-spacing: .03em; padding: 5px 9px; border-radius: var(--r-xs);
  background: var(--ink); color: #fff;
}
.tag .icon { width: 13px; height: 13px; color: var(--c); }
.section--dark .card { background: var(--k-2); border-color: var(--k-line); }
.section--dark .card p { color: var(--on-k-muted); }

/* Lista con check */
.checks { display: grid; gap: 10px; }
.checks li { list-style: none; display: flex; gap: 10px; align-items: baseline; }
.checks .icon { width: 18px; height: 18px; color: var(--ok); transform: translateY(3px); }
.section--dark .checks .icon { color: var(--c); }

/* ---------- Hoja de pedido (combo) ---------- */
.combo { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.sheet { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-xs); box-shadow: var(--shadow); }
.sheet-head { display: flex; justify-content: space-between; gap: 16px; padding: 18px 22px; border-bottom: 1px solid var(--line); font-family: var(--f-mono); font-size: .78rem; color: var(--muted); }
.sheet-head b { color: var(--ink); font-weight: 500; }
.sheet-row { display: grid; grid-template-columns: 10px minmax(0, 1fr); gap: 16px; padding: 18px 22px; border-bottom: 1px dashed var(--line-2); }
.sheet-row .bar { border-radius: 2px; background: var(--acc); }
.sheet-row h4 { font-size: 1.02rem; font-weight: 600; letter-spacing: -.01em; }
.sheet-row p { font-size: var(--t-sm); color: var(--muted); }
.sheet-foot { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 16px 22px; font-family: var(--f-mono); font-size: .78rem; }
.sheet-foot span { display: inline-flex; gap: 8px; align-items: center; }
.sheet-foot span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }
@media (max-width: 900px) { .combo { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Automatización (inicio, oscuro) ---------- */
.auto-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--k-line); border: 1px solid var(--k-line); border-radius: var(--r); overflow: hidden; }
.auto-item { background: var(--k); padding: 26px 22px; display: grid; gap: 12px; align-content: start; }
.auto-item .icon { width: 26px; height: 26px; color: var(--c); }
.auto-item h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -.01em; }
.auto-item p { color: var(--on-k-muted); font-size: var(--t-sm); }
@media (max-width: 1000px) { .auto-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .auto-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Ruta del Corredor del Henares ---------- */
.route-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.route { position: relative; list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 0; padding-top: 30px; }
.route::before { content: ""; position: absolute; left: 6%; right: 6%; top: 39px; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--c) 0 25%, var(--m) 25% 50%, var(--y) 50% 75%, var(--ink) 75% 100%); }
.route li { position: relative; display: grid; justify-items: center; gap: 12px; text-align: center; padding-top: 0; }
.route .stop { width: 24px; height: 24px; border-radius: 50%; background: var(--card); border: 4px solid var(--ink); position: relative; z-index: 1; }
.route li.is-base .stop { width: 32px; height: 32px; margin-top: -4px; background: var(--c); border-color: var(--ink); box-shadow: 0 0 0 6px rgba(60, 196, 245, .25); }
.route .name { font-size: .8rem; line-height: 1.25; color: var(--ink-2); max-width: 11ch; }
.route li.is-base .name { font-weight: 700; color: var(--ink); }
.route-label { position: absolute; top: 0; right: 6%; font-family: var(--f-mono); font-size: .72rem; color: var(--muted); }
.route-label b { background: #1F5FB8; color: #fff; padding: 2px 6px; border-radius: 3px; font-weight: 500; margin-right: 6px; }
@media (max-width: 900px) {
  .route-wrap { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .route { grid-auto-flow: row; grid-auto-columns: auto; gap: 14px; padding-top: 34px; padding-left: 4px; }
  .route::before { left: 15px; right: auto; top: 44px; bottom: 10px; width: 6px; height: auto; background: linear-gradient(180deg, var(--c) 0 25%, var(--m) 25% 50%, var(--y) 50% 75%, var(--ink) 75% 100%); }
  .route li { grid-template-columns: 32px minmax(0, 1fr); justify-items: start; text-align: left; align-items: center; }
  .route .stop { justify-self: center; }
  .route .name { max-width: none; font-size: .95rem; }
  .route-label { left: 0; right: auto; }
}

/* ---------- Clientes ---------- */
.clients { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 40px; }
.clients li { list-style: none; font-family: var(--f-display); font-weight: 700; font-size: clamp(1.1rem, 1rem + .6vw, 1.5rem); color: #7D8AA0; letter-spacing: -.02em; }

/* ---------- Formularios ---------- */
.form { display: grid; gap: 20px; }
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 3.5vw, 36px); box-shadow: var(--shadow); min-width: 0; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.field { display: grid; gap: 7px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field .label, fieldset legend { font-weight: 600; font-size: .95rem; color: var(--ink); }
.field .hint { font-size: .82rem; color: var(--muted); }
.req { color: var(--m-ink); font-weight: 700; }
.input, .select, .textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; border-radius: var(--r-sm);
  border: 1.5px solid var(--line-2); background: #FBFCFE; color: var(--ink); font-size: 1rem;
  transition: border-color .15s, box-shadow .15s, background-color .15s;
}
.input, .select { height: 48px; }
.textarea { min-height: 108px; resize: vertical; line-height: 1.5; }
.select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.input:hover, .select:hover, .textarea:hover { border-color: #9FB0C5; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--ink); background: #FFFFFF; box-shadow: 0 0 0 4px rgba(60, 196, 245, .28); }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: var(--err); background: #FFF8F8; }
.field .error { display: none; font-size: .84rem; color: var(--err); font-weight: 500; }
.field.has-error .error { display: block; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 10px; }
fieldset legend { padding: 0; margin-bottom: 10px; }

/* Chips (checkbox / radio) */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 9px 14px; border-radius: var(--r-pill);
  border: 1.5px solid var(--line-2); background: #FBFCFE; font-size: .94rem; line-height: 1.2; user-select: none;
  transition: background-color .15s, border-color .15s, color .15s;
}
.chip span::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid #9FB0C5; flex: none; transition: all .15s; }
.chip input[type="checkbox"] + span::before { border-radius: 4px; }
.chip input:hover + span { border-color: #9FB0C5; }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }
.chip input:checked + span::before { background: var(--acc) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%230B1424' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; border-color: var(--acc); }
[data-line="alquiler"] .chip input:checked + span::before, [data-line="grupo"] .chip input:checked + span::before { background-color: var(--c); border-color: var(--c); }
.chip input:focus-visible + span { outline: 3px solid var(--c); outline-offset: 2px; }

.consent { display: grid; gap: 10px; font-size: .88rem; color: var(--muted); }
.check { display: flex; gap: 10px; align-items: flex-start; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); flex: none; }
.check a { color: var(--ink); }
.field.has-error .check { color: var(--err); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .84rem; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.form-note .icon { width: 16px; height: 16px; flex: none; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }

/* Áreas dinámicas del formulario inteligente */
.area-picker { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.area-opt { position: relative; }
.area-opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; width: 100%; height: 100%; }
.area-opt span {
  display: grid; gap: 8px; height: 100%; padding: 14px; border-radius: var(--r-sm); border: 1.5px solid var(--line-2);
  background: #FBFCFE; font-family: var(--f-display); font-weight: 600; font-size: .98rem; line-height: 1.2; transition: all .15s;
}
.area-opt span i { width: 22px; height: 6px; border-radius: 2px; display: block; }
.area-opt input:checked + span { border-color: var(--ink); background: var(--card); box-shadow: inset 0 0 0 1.5px var(--ink); }
.area-opt input:focus-visible + span { outline: 3px solid var(--c); outline-offset: 2px; }
@media (max-width: 760px) { .area-picker { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .fields { grid-template-columns: minmax(0, 1fr); } }

/* Pasos del brief */
.stepper { display: grid; gap: 22px; }
.progress { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.progress span { height: 5px; border-radius: 3px; background: var(--line); transition: background-color .25s; }
.progress span.is-done { background: var(--acc); }
.step-meta { display: flex; justify-content: space-between; gap: 12px; font-family: var(--f-mono); font-size: .78rem; color: var(--muted); }
.step { display: grid; gap: 20px; }
.step h3 { font-size: 1.35rem; }
.step-nav { display: flex; gap: 12px; justify-content: space-between; align-items: center; padding-top: 6px; border-top: 1px solid var(--line); padding-top: 18px; }
.prefill { border: 1px dashed var(--acc-ink); background: var(--acc-soft); border-radius: var(--r-sm); padding: 14px 16px; font-size: .92rem; display: grid; gap: 6px; }
.prefill b { font-family: var(--f-display); }

/* Estado enviado */
.success { display: grid; gap: 18px; text-align: left; }
.success .badge-ok { width: 56px; height: 56px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); display: grid; place-items: center; }
.success .badge-ok .icon { width: 28px; height: 28px; stroke-width: 2.4; }
.success .ref { font-family: var(--f-mono); font-size: .9rem; background: var(--paper); border: 1px solid var(--line); padding: 10px 14px; border-radius: var(--r-sm); display: inline-flex; gap: 10px; align-items: center; justify-self: start; }
.success ol { display: grid; gap: 8px; padding-left: 20px; color: var(--ink-2); }
.notice { font-size: .84rem; color: var(--muted); background: var(--paper); border-radius: var(--r-sm); padding: 10px 12px; border: 1px solid var(--line); }
.alert-err { background: var(--err-soft); color: #8E1D1D; border-radius: var(--r-sm); padding: 12px 14px; font-size: .92rem; }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.contact-aside { display: grid; gap: 12px; }
.c-item { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: center; padding: 16px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.c-item .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--paper); }
.c-item .ic .icon { width: 22px; height: 22px; }
.c-item .ic--wa { background: var(--wa); color: var(--wa-ink); }
.c-item .label { font-size: .8rem; color: var(--muted); font-family: var(--f-mono); letter-spacing: .04em; text-transform: uppercase; }
.c-item .val { font-weight: 600; word-break: break-word; }
.c-item .row { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; }
.copy-btn { border: 1px solid var(--line-2); background: var(--card); border-radius: var(--r-pill); padding: 3px 10px; font-size: .78rem; cursor: pointer; color: var(--ink-2); }
.copy-btn:hover { border-color: var(--ink); }
@media (max-width: 960px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Pasos numerados (proceso real) ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 0; counter-reset: step; border-top: 2px solid var(--ink); }
.steps li { counter-increment: step; display: grid; gap: 10px; align-content: start; padding: 22px 22px 0 0; position: relative; }
.steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--f-mono); font-size: .8rem; color: var(--acc-ink); font-weight: 500; }
[data-line="alquiler"] .steps li::before, [data-line="grupo"] .steps li::before { color: var(--ink); }
.steps li::after { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--acc); border: 2px solid var(--ink); }
.steps h3 { font-size: 1.12rem; font-weight: 600; letter-spacing: -.01em; }
.steps p { color: var(--muted); font-size: var(--t-sm); }
.section--dark .steps { border-color: var(--on-k); }
.section--dark .steps li::after { border-color: var(--on-k); background: var(--acc-dark); }
.section--dark .steps li::before { color: var(--acc-dark); }
.section--dark .steps p { color: var(--on-k-muted); }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; } }
@media (max-width: 560px) {
  .steps { grid-template-columns: minmax(0, 1fr); border-top: 0; border-left: 2px solid var(--ink); padding-left: 0; row-gap: 22px; }
  .steps li { padding: 0 0 0 24px; }
  .steps li::after { top: 3px; left: -7px; }
}

/* ---------- Pestañas (automatización) ---------- */
.tabs { display: grid; gap: 28px; }
.tablist { display: flex; flex-wrap: wrap; gap: 8px; }
.tab {
  display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 10px 16px; border-radius: var(--r-pill);
  border: 1.5px solid var(--k-line); background: transparent; color: var(--on-k); cursor: pointer;
  font-family: var(--f-display); font-weight: 600; font-size: .98rem;
}
.tab .icon { width: 18px; height: 18px; color: var(--c); }
.tab:hover { border-color: var(--on-k-muted); }
.tab[aria-selected="true"] { background: var(--c); border-color: var(--c); color: var(--ink); }
.tab[aria-selected="true"] .icon { color: var(--ink); }
.tabpanel { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.tabpanel .copy { display: grid; gap: 16px; align-content: start; }
.tabpanel .copy h3 { font-size: var(--t-2xl); }
.tabpanel .copy p { color: var(--on-k-muted); font-size: var(--t-lg); }
@media (max-width: 960px) { .tabpanel { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
  .tablist { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); padding-bottom: 4px; }
  .tablist::-webkit-scrollbar { display: none; }
  .tab { flex: none; }
}

/* ---------- Maquetas de interfaz (ejemplos) ---------- */
.mock { background: #FFFFFF; color: var(--ink); border-radius: 16px; box-shadow: var(--shadow-lg); border: 1px solid rgba(11, 20, 36, .08); overflow: hidden; font-size: .88rem; }
.mock-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-family: var(--f-display); font-weight: 600; }
.mock-bar .sample { font-family: var(--f-mono); font-size: .68rem; font-weight: 500; color: var(--muted); border: 1px solid var(--line-2); padding: 2px 7px; border-radius: 4px; text-transform: uppercase; letter-spacing: .06em; }
.mock-body { padding: 16px; }

/* Calendario */
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal .dow { font-family: var(--f-mono); font-size: .64rem; color: var(--muted); text-align: center; padding-bottom: 4px; }
.cal .d { min-height: 58px; border-radius: 6px; background: var(--paper); padding: 5px; display: grid; align-content: start; gap: 3px; }
.cal .d .n { font-family: var(--f-mono); font-size: .64rem; color: var(--muted); }
.cal .d.is-out { background: transparent; }
.post { display: block; border-radius: 4px; padding: 2px 5px; font-size: .62rem; line-height: 1.3; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.post--pub { background: #DDF3E7; color: #0D5C35; }
.post--prog { background: var(--c-soft); color: #075C86; }
.post--pend { background: #FFF1CF; color: #7A5300; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 14px; padding-top: 12px; font-size: .74rem; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }

/* Chat */
.chatmock { background: #EFEAE2; padding: 16px; display: grid; gap: 8px; }
.bubble { max-width: 82%; padding: 9px 12px; border-radius: 12px; font-size: .86rem; line-height: 1.4; box-shadow: 0 1px 1px rgba(0, 0, 0, .06); }
.bubble.in { background: #FFFFFF; justify-self: start; border-top-left-radius: 4px; }
.bubble.out { background: #D9FDD3; justify-self: end; border-top-right-radius: 4px; }
.bubble small { display: block; font-size: .66rem; color: #6B7A8F; margin-top: 3px; text-align: right; }
.qr { display: flex; flex-wrap: wrap; gap: 6px; justify-self: start; max-width: 90%; }
.qr span { background: #FFFFFF; color: #0A7C66; border-radius: 999px; padding: 5px 10px; font-size: .78rem; font-weight: 600; box-shadow: 0 1px 1px rgba(0, 0, 0, .06); }
.auto-flag { justify-self: center; font-family: var(--f-mono); font-size: .66rem; color: #54606F; background: rgba(255, 255, 255, .7); padding: 3px 8px; border-radius: 6px; }

/* Panel de informe */
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.kpi { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; display: grid; gap: 2px; }
.kpi .k-l { font-size: .7rem; color: var(--muted); }
.kpi .k-v { font-family: var(--f-display); font-weight: 700; font-size: 1.35rem; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.kpi .k-d { font-family: var(--f-mono); font-size: .68rem; color: var(--ok); }
.chart { margin-top: 14px; }
.chart svg { width: 100%; height: auto; }
.chart text { font-family: var(--f-mono); font-size: 9px; fill: var(--muted); }

/* Lead */
.leadcard { display: grid; gap: 10px; }
.notif { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); }
.notif .av { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--c); color: var(--ink); font-weight: 700; font-family: var(--f-display); }
.notif b { display: block; font-size: .88rem; }
.notif span { font-size: .78rem; color: var(--muted); }
.prio { font-family: var(--f-mono); font-size: .66rem; padding: 3px 7px; border-radius: 4px; background: #FCE3EC; color: var(--m-ink); font-weight: 500; white-space: nowrap; }
.prio--media { background: #FFF1CF; color: #7A5300; }
.flow { display: grid; gap: 6px; margin-top: 4px; }
.flow div { display: flex; gap: 10px; align-items: center; font-size: .82rem; color: var(--ink-2); }
.flow .icon { width: 16px; height: 16px; color: var(--ok); }
.flow time { margin-left: auto; font-family: var(--f-mono); font-size: .7rem; color: var(--muted); }

/* Composición del hero de marketing */
.cockpit { position: relative; min-height: 500px; }
.cockpit .mock { position: absolute; }
.cockpit .m-cal { left: 0; top: 0; width: 72%; }
.cockpit .m-chat { right: 0; top: 18%; width: 44%; }
.cockpit .m-kpi { right: 8%; bottom: 0; width: 50%; }
.cockpit .m-chat .chatmock { padding: 12px; }
@media (max-width: 960px) {
  .cockpit { min-height: 0; display: grid; gap: 14px; }
  .cockpit .mock { position: static; width: 100% !important; }
  .cockpit .m-chat, .cockpit .m-kpi { display: none; }
}

/* ---------- Planes ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.plan { position: relative; display: grid; grid-template-rows: auto auto 1fr auto; gap: 18px; padding: 28px 26px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.plan--featured { background: var(--ink); color: var(--on-k); border-color: var(--ink); box-shadow: var(--shadow-lg); }
.plan .flag { position: absolute; top: -12px; left: 26px; background: var(--c); color: var(--ink); font-family: var(--f-mono); font-size: .72rem; padding: 4px 10px; border-radius: 4px; letter-spacing: .05em; text-transform: uppercase; }
.plan h3 { font-size: 1.45rem; }
.plan .for { color: var(--muted); font-size: var(--t-sm); }
.plan--featured .for { color: var(--on-k-muted); }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price .from { font-size: .85rem; color: var(--muted); }
.price .amount { font-family: var(--f-display); font-weight: 700; font-size: 2.6rem; letter-spacing: -.04em; font-variant-numeric: tabular-nums; line-height: 1; }
.price .per { font-size: .9rem; color: var(--muted); }
.plan--featured .price .from, .plan--featured .price .per { color: var(--on-k-muted); }
.plan .checks { align-content: start; }
.plan .checks li { font-size: var(--t-sm); }
.plan .for { min-height: 3.1em; }
.plan--featured .checks .icon { color: var(--c); }
.plan .btn { width: 100%; }
.plan--featured .btn { --b-bg: var(--c); --b-fg: var(--ink); }
.plans-note { margin-top: 18px; font-size: .88rem; color: var(--muted); }
@media (max-width: 1000px) { .plans { grid-template-columns: minmax(0, 1fr); max-width: 560px; } }

/* ---------- Presupuestador ---------- */
.calc { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(20px, 3vw, 36px); align-items: start; }
.calc-panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 32px); display: grid; gap: 26px; min-width: 0; }
.calc-group { display: grid; gap: 12px; }
.calc-group > .label { font-weight: 600; display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.calc-group > .label output { font-family: var(--f-mono); font-weight: 500; font-size: .95rem; background: var(--paper); border: 1px solid var(--line); padding: 2px 10px; border-radius: 6px; font-variant-numeric: tabular-nums; }
.range { width: 100%; accent-color: var(--ink); height: 32px; }
.range-scale { display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: .7rem; color: var(--muted); margin-top: -6px; }
.toggles { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.toggle { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); cursor: pointer; background: #FBFCFE; }
.toggle:last-child { border-bottom: 0; }
.toggle:hover { background: var(--paper); }
.toggle b { display: block; font-weight: 600; font-size: .96rem; }
.toggle small { display: block; font-size: .82rem; color: var(--muted); }
.toggle .price-tag { font-family: var(--f-mono); font-size: .78rem; color: var(--ink-2); white-space: nowrap; }
.switch { position: relative; width: 46px; height: 28px; flex: none; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch span { position: absolute; inset: 0; border-radius: 999px; background: #C3CEDC; transition: background-color .15s; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #FFFFFF; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .15s; }
.switch input:checked + span { background: var(--ink); }
.switch input:checked + span::after { transform: translateX(18px); background: var(--acc); }
.switch input:focus-visible + span { outline: 3px solid var(--c); outline-offset: 2px; }
.toggle-right { display: flex; align-items: center; gap: 14px; }

.calc-summary { position: sticky; top: 92px; background: var(--ink); color: var(--on-k); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 30px); display: grid; gap: 18px; box-shadow: var(--shadow-lg); }
.calc-summary .total { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.calc-summary .total .amount { font-family: var(--f-display); font-size: clamp(2.6rem, 2rem + 2vw, 3.4rem); font-weight: 700; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.calc-summary .total .per { color: var(--on-k-muted); }
.breakdown { display: grid; gap: 7px; font-size: .88rem; border-top: 1px solid var(--k-line); padding-top: 14px; }
.breakdown div { display: flex; justify-content: space-between; gap: 12px; color: var(--on-k-muted); }
.breakdown div span:last-child { font-family: var(--f-mono); color: var(--on-k); font-variant-numeric: tabular-nums; white-space: nowrap; }
.reco { border-radius: var(--r-sm); background: var(--k-3); border: 1px solid var(--k-line); padding: 14px; display: grid; gap: 6px; font-size: .9rem; }
.reco b { color: var(--c); font-family: var(--f-display); font-size: 1.02rem; }
.calc-summary .btn { width: 100%; }
.calc-summary .fine { font-size: .78rem; color: var(--on-k-muted); }
@media (max-width: 1000px) {
  .calc { grid-template-columns: minmax(0, 1fr); }
  .calc-summary { position: static; }
}

/* ---------- Catálogo de alquiler ---------- */
.catalog { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: clamp(20px, 3vw, 36px); align-items: start; }
.cat-group { display: grid; gap: 14px; }
.cat-group + .cat-group { margin-top: 30px; }
.cat-group > h3 { font-size: 1.25rem; display: flex; align-items: center; gap: 10px; }
.cat-group > h3 .icon { color: var(--ink); }
.items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.item { display: grid; grid-template-rows: auto 1fr auto; gap: 10px; padding: 20px; border-radius: var(--r); background: var(--card); border: 1.5px solid var(--line); transition: border-color .15s, box-shadow .15s; }
.item h4 { font-size: 1.08rem; font-weight: 600; letter-spacing: -.01em; }
.item p { font-size: var(--t-sm); color: var(--muted); }
.item .add {
  justify-self: start; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 14px; border-radius: var(--r-pill);
  border: 1.5px solid var(--ink); background: transparent; cursor: pointer; font-family: var(--f-display); font-weight: 600; font-size: .92rem;
}
.item .add .icon { width: 16px; height: 16px; }
.item.is-added { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.item.is-added .add { background: var(--ink); color: #fff; }
.request { position: sticky; top: 92px; }
.request .fields { grid-template-columns: minmax(0, 1fr); }
.request .form-card { display: grid; gap: 18px; }
.req-list { display: grid; gap: 8px; }
.req-list li { list-style: none; display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 9px 12px; border-radius: var(--r-sm); background: var(--paper); font-size: .92rem; }
.req-list button { border: 0; background: transparent; cursor: pointer; color: var(--muted); padding: 4px; border-radius: 6px; }
.req-list button:hover { color: var(--err); background: var(--err-soft); }
.req-empty { font-size: .9rem; color: var(--muted); border: 1.5px dashed var(--line-2); border-radius: var(--r-sm); padding: 14px; }
.count-badge { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 8px; border-radius: 13px; background: var(--y); color: var(--ink); font-family: var(--f-mono); font-size: .8rem; font-weight: 500; }
@media (max-width: 1000px) {
  .catalog { grid-template-columns: minmax(0, 1fr); }
  .request { position: static; }
}
@media (max-width: 600px) { .items { grid-template-columns: minmax(0, 1fr); } }

/* Haces de luz (alquiler) */
.beams { position: relative; isolation: isolate; overflow: hidden; }
.beams::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 120%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(40% 60% at 18% 0%, rgba(60, 196, 245, .22), transparent 70%),
    radial-gradient(35% 55% at 55% 0%, rgba(242, 53, 123, .18), transparent 70%),
    radial-gradient(40% 60% at 88% 0%, rgba(255, 199, 44, .16), transparent 70%);
}

/* ---------- Papelería: composición de papel ---------- */
.papers { position: relative; min-height: 480px; }
.paper {
  position: absolute; background: #FFFFFF; border-radius: 3px; box-shadow: 0 1px 2px rgba(11, 20, 36, .08), 0 18px 40px -18px rgba(11, 20, 36, .35);
  display: grid; align-content: center; justify-items: center; text-align: center; padding: 22px;
}
.paper--inv { width: 50%; aspect-ratio: 5 / 7; left: 4%; top: 2%; transform: rotate(-4deg); background: #FFFDF7; border: 1px solid #EFE6CF; gap: 6px; z-index: 1; }
.paper--inv .monogram { display: grid; justify-items: center; font-family: var(--f-display); font-weight: 300; font-size: clamp(1.5rem, 1rem + 1.6vw, 2.2rem); line-height: 1.05; letter-spacing: .01em; }
.paper--inv .amp { color: var(--y-ink); font-weight: 400; font-size: .7em; }
.paper--inv .rule { width: 46px; height: 2px; background: var(--y); margin: 10px auto; }
.paper--inv .small { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.paper--card { width: 46%; aspect-ratio: 85 / 55; right: 0; top: 8%; transform: rotate(5deg); background: var(--ink); color: #fff; justify-items: start; text-align: left; align-content: space-between; z-index: 2; }
.paper--card .cn { font-family: var(--f-display); font-weight: 700; font-size: 1.1rem; }
.paper--card .cl { font-family: var(--f-mono); font-size: .62rem; color: var(--on-k-muted); }
.paper--card .bar { width: 100%; height: 6px; background: linear-gradient(90deg, var(--c) 0 25%, var(--m) 25% 50%, var(--y) 50% 75%, #fff 75%); border-radius: 2px; }
.paper--tags { width: 38%; right: 6%; bottom: 8%; transform: rotate(-3deg); grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 16px; z-index: 2; }
.paper--tags i { aspect-ratio: 1; border-radius: 50%; display: block; width: 100%; }
.paper-label { position: absolute; right: 6%; bottom: 0; font-family: var(--f-mono); font-size: .72rem; color: var(--muted); }
@media (max-width: 960px) { .papers { min-height: 440px; max-width: 560px; } }
@media (max-width: 520px) {
  .papers { min-height: 360px; }
  .paper--inv { width: 58%; padding: 14px; }
  .paper--card { width: 52%; top: 4%; padding: 14px; }
  .paper--card .cn { font-size: .95rem; }
  .paper--tags { width: 42%; padding: 12px; gap: 8px; bottom: 10%; }
}

/* ---------- Galería ---------- */
.gallery { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); grid-auto-rows: clamp(260px, 32vw, 440px); gap: 12px; }
.gallery .photo { height: 100%; }
@media (max-width: 760px) { .gallery { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-auto-rows: 200px; } .gallery .photo:first-child { grid-column: 1 / -1; grid-row: span 1; } }

/* ---------- Bloques divididos ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.split .card { padding: clamp(24px, 3vw, 36px); }
@media (max-width: 760px) { .split { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Preguntas frecuentes ---------- */
.faq { display: grid; gap: 0; border-top: 1px solid var(--line); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center;
  padding: 20px 0; font-family: var(--f-display); font-weight: 600; font-size: 1.12rem; letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--line-2); display: grid; place-items: center; flex: none; transition: transform .2s, background-color .2s; }
.faq summary .pm .icon { width: 14px; height: 14px; }
.faq details[open] summary .pm { transform: rotate(45deg); background: var(--acc); border-color: var(--acc); }
.faq .answer { padding: 0 48px 22px 0; color: var(--ink-2); max-width: 70ch; }

/* ---------- Otras áreas ---------- */
.other-areas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.oa { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 18px 20px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); text-decoration: none; transition: border-color .15s, transform .15s; }
.oa:hover { border-color: var(--ink); transform: translateY(-2px); text-decoration: none; }
.oa .bar { align-self: stretch; border-radius: 3px; background: var(--acc); min-height: 44px; }
.oa b { display: block; font-family: var(--f-display); font-size: 1.08rem; }
.oa span { font-size: .88rem; color: var(--muted); }
.other-areas--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 900px) { .other-areas, .other-areas--4 { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Banda CTA ---------- */
.cta-band { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: clamp(28px, 4vw, 44px); border-radius: var(--r-lg); background: var(--acc); color: var(--btn-fg); }
[data-line="marketing"] .cta-band, [data-line="papeleria"] .cta-band { color: var(--ink); }
.cta-band h2 { font-size: var(--t-2xl); }
.cta-band p { opacity: .85; max-width: 56ch; }
.cta-band .btn { --b-bg: var(--ink); --b-fg: #fff; }
[data-line="alquiler"] .cta-band .btn, [data-line="grupo"] .cta-band .btn { --b-bg: var(--y); --b-fg: var(--ink); }
@media (max-width: 760px) { .cta-band { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Pie ---------- */
.site-footer { background: var(--k); color: var(--on-k); padding-block: 64px 32px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer-brand { display: grid; gap: 16px; align-content: start; }
.footer-brand svg { width: 190px; height: auto; color: #FFFFFF; }
.footer-brand svg { --logo-x: var(--c); }
.footer-brand p { color: var(--on-k-muted); font-size: var(--t-sm); max-width: 36ch; }
.site-footer h3 { font-family: var(--f-mono); font-size: .75rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--on-k-muted); margin-bottom: 14px; }
.site-footer ul { display: grid; gap: 10px; }
.site-footer li { list-style: none; font-size: var(--t-sm); }
.site-footer a { text-decoration: none; color: var(--on-k); }
.site-footer a:hover { text-decoration: underline; }
.f-line { display: inline-flex; align-items: center; gap: 10px; }
.f-line i { width: 10px; height: 10px; border-radius: 2px; display: inline-block; }
.socials { display: flex; gap: 10px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--k-line); }
.socials a:hover { border-color: var(--on-k); text-decoration: none; }
.socials .icon { width: 20px; height: 20px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--k-line); font-size: .84rem; color: var(--on-k-muted); }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.inkbar { height: 6px; background: linear-gradient(90deg, var(--c) 0 25%, var(--m) 25% 50%, var(--y) 50% 75%, #FFFFFF 75%); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Asistente (chat) ---------- */
.assist-launch {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 60;
  display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 8px 20px 8px 8px; border-radius: var(--r-pill);
  border: 0; background: var(--ink); color: #fff; cursor: pointer; box-shadow: 0 16px 40px -14px rgba(11, 20, 36, .6);
  font-family: var(--f-display); font-weight: 600; font-size: 1rem;
}
.assist-launch .av { width: 40px; height: 40px; border-radius: 50%; background: var(--c); color: var(--ink); display: grid; place-items: center; }
.assist-launch .av svg { width: 22px; }
.assist-launch .pulse { position: absolute; top: 6px; left: 38px; width: 12px; height: 12px; border-radius: 50%; background: var(--wa); border: 2px solid var(--ink); }
.assist-launch[aria-expanded="true"] { display: none; }
@media (max-width: 520px) { .assist-launch .txt { display: none; } .assist-launch { padding: 8px; } }

.assist {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 61;
  width: min(380px, calc(100vw - 32px)); height: min(600px, calc(100dvh - 120px)); display: grid; grid-template-rows: auto minmax(0, 1fr) auto;
  background: var(--card); border-radius: 20px; box-shadow: 0 30px 80px -20px rgba(11, 20, 36, .55); overflow: hidden; border: 1px solid var(--line);
}
.assist-head { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 14px 14px 14px 16px; background: var(--ink); color: #fff; }
.assist-head .av { width: 40px; height: 40px; border-radius: 50%; background: var(--c); color: var(--ink); display: grid; place-items: center; }
.assist-head .av svg { width: 22px; }
.assist-head b { display: block; font-family: var(--f-display); }
.assist-head small { color: var(--on-k-muted); font-size: .78rem; display: inline-flex; align-items: center; gap: 6px; }
.assist-head small::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--wa); }
.assist-close { width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer; display: grid; place-items: center; }
.assist-close:hover { background: rgba(255, 255, 255, .2); }
.assist-log { overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--paper); }
.msg { max-width: 86%; padding: 10px 13px; border-radius: 14px; font-size: .93rem; line-height: 1.45; }
.msg.bot { background: var(--card); border: 1px solid var(--line); align-self: flex-start; border-top-left-radius: 4px; }
.msg.me { background: var(--ink); color: #fff; align-self: flex-end; border-top-right-radius: 4px; }
.msg a { color: inherit; font-weight: 600; }
.opts { display: flex; flex-wrap: wrap; gap: 6px; align-self: flex-start; max-width: 100%; }
.opt { border: 1.5px solid var(--ink); background: var(--card); color: var(--ink); border-radius: 999px; padding: 7px 12px; font-size: .86rem; font-weight: 600; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.opt:hover { background: var(--ink); color: #fff; text-decoration: none; }
.opt--wa { border-color: var(--wa); background: var(--wa); color: var(--wa-ink); }
.opt--wa:hover { background: #1FB457; color: var(--wa-ink); }
.opt .icon { width: 15px; height: 15px; }
.typing { align-self: flex-start; display: inline-flex; gap: 4px; padding: 12px 14px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #9AA9BC; animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 80%, 100% { opacity: .3; } 40% { opacity: 1; } }
.assist-input { display: grid; grid-template-columns: minmax(0, 1fr) 44px; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: var(--card); }
.assist-input input { min-height: 44px; border-radius: 999px; border: 1.5px solid var(--line-2); padding: 0 16px; background: #FBFCFE; }
.assist-input input:focus { outline: none; border-color: var(--ink); }
.assist-input button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; cursor: pointer; display: grid; place-items: center; }
.assist-input button .icon { width: 18px; height: 18px; }

/* ---------- Avisos ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 80; transform: translate(-50%, 20px);
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; font-size: .92rem; box-shadow: var(--shadow-lg);
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; max-width: calc(100vw - 32px);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.cookie {
  position: fixed; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 70; max-width: 560px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg); padding: 18px; display: grid; gap: 12px; font-size: .9rem;
}
.cookie .btn-row .btn { flex: 1 1 140px; min-height: 42px; }

/* ---------- Legal ---------- */
.prose { max-width: 760px; display: grid; gap: 14px; }
.prose h2 { font-size: var(--t-xl); margin-top: 28px; }
.prose h3 { font-size: 1.1rem; margin-top: 12px; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { padding-left: 20px; display: grid; gap: 6px; }
.prose mark { background: var(--y-soft); padding: 0 4px; border-radius: 3px; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- 404 ---------- */
.nf { min-height: 60vh; display: grid; align-content: center; gap: 22px; }
.nf .code { font-family: var(--f-mono); color: var(--muted); }

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* ---------- Newsletter (pie) ---------- */
.newsletter { display: grid; gap: 10px; max-width: 380px; }
.newsletter label { font-size: .88rem; color: var(--on-k-muted); font-weight: 500; }
.nl-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.newsletter .input { background: var(--k-2); border-color: var(--k-line); color: var(--on-k); min-height: 44px; }
.newsletter .input::placeholder { color: #6E7D96; }
.newsletter .input:focus { background: var(--k-3); border-color: var(--c); }
.nl-consent { font-size: .8rem; color: var(--on-k-muted); }
.nl-consent a { color: var(--on-k); }
.nl-consent input { accent-color: var(--c); width: 16px; height: 16px; }
.nl-ok { display: inline-flex; gap: 8px; align-items: center; color: var(--c); font-size: .9rem; }
.nl-ok .icon { width: 18px; height: 18px; }
.site-footer .field.has-error .input { border-color: #FF7A7A; background: #2A1620; }
.site-footer .error { color: #FF9C9C; }

/* Caja de la ruta */
.route-box { position: relative; padding: 18px 10px 8px; }
.route-box .route-label { top: 2px; }
@media (max-width: 760px) { .route-box { padding: 14px 6px 6px; } }

/* =====================================================================
   Planes y presupuestador (esquema de precios de octubre de 2026)
   ===================================================================== */
.plans-group { display: grid; gap: 4px; margin: 0 0 22px; font-size: 1.15rem; }
.plans-group small { font-family: var(--f-body); font-weight: 400; font-size: var(--t-sm); color: var(--muted); letter-spacing: 0; }
.plans + .plans-group { margin-top: 48px; }
.plans--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; }
.plans-rules { list-style: none; margin: 40px 0 0; padding: 22px 24px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 32px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); font-size: var(--t-sm); color: var(--ink-2); }
.plans-rules b { color: var(--ink); }
@media (max-width: 1000px) { .plans--2 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) { .plans-rules { grid-template-columns: minmax(0, 1fr); } }

.plan-pick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
@media (max-width: 560px) { .plan-pick { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pick { position: relative; }
.pick input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.pick > span { display: grid; gap: 3px; height: 100%; padding: 12px 14px; border: 1.5px solid var(--line-2); border-radius: var(--r-sm); background: #FBFCFE; transition: background-color .15s, border-color .15s, color .15s; }
.pick b { font-weight: 600; font-size: .98rem; }
.pick small { font-size: .78rem; color: var(--muted); line-height: 1.3; }
.pick em { font-style: normal; font-family: var(--f-mono); font-size: .85rem; margin-top: 4px; }
.pick input:hover + span { border-color: #9FB0C5; }
.pick input:checked + span { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }
.pick input:checked + span small { color: var(--on-k-muted); }
.pick input:checked + span em { color: var(--c); }
.pick input:focus-visible + span { outline: 3px solid var(--c); outline-offset: 2px; }

.calc-note { margin: -4px 0 0; font-size: .86rem; color: var(--muted); }
.calc-note--aviso { margin: 0; padding: 12px 14px; border-radius: var(--r-sm); background: var(--paper); border: 1px dashed var(--line-2); color: var(--ink-2); }
.calc-sub { display: grid; gap: 8px; padding: 14px; border-radius: var(--r-sm); background: var(--paper); border: 1px solid var(--line); }
.calc-sub[hidden] { display: none; }
.calc-sub .sub-label { font-weight: 600; font-size: .9rem; }
.calc-sub .label { font-weight: 600; display: flex; justify-content: space-between; gap: 12px; align-items: baseline; font-size: .92rem; }
.calc-sub .label output { font-family: var(--f-mono); font-weight: 500; background: #FFFFFF; border: 1px solid var(--line); padding: 2px 10px; border-radius: 6px; }
.calc-opt { position: relative; display: flex; gap: 10px; align-items: flex-start; cursor: pointer; font-size: .92rem; }
.calc-opt input { margin: 3px 0 0; accent-color: var(--ink); width: 17px; height: 17px; flex: none; }
.calc-opt small { display: block; color: var(--muted); font-size: .8rem; }
.calc-opt i { font-style: normal; }
.range-scale .price-tag { font-family: var(--f-mono); color: var(--ink-2); font-size: .72rem; text-align: center; }
.chip-price { font-style: normal; font-family: var(--f-mono); font-size: .8rem; opacity: .75; }

.freq { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 3px; border-radius: var(--r-pill); background: var(--paper); border: 1px solid var(--line); justify-self: start; }
.freq[hidden] { display: none; }
.freq label { position: relative; cursor: pointer; }
.freq input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.freq span { display: inline-block; padding: 6px 12px; border-radius: var(--r-pill); font-size: .82rem; font-weight: 500; color: var(--ink-2); }
.freq input:checked + span { background: var(--ink); color: #FFFFFF; }
.freq input:focus-visible + span { outline: 3px solid var(--c); outline-offset: 1px; }
.toggles .freq { margin: 0 16px 14px; }
.toggles > .freq { display: flex; width: max-content; }
.toggles > .freq[hidden] { display: none; }
.toggle.is-included { cursor: default; }
.toggle.is-included .price-tag { color: var(--ok); font-weight: 500; }
.toggle.is-included .switch { opacity: .55; }
.toggle[hidden] { display: none; }

.total-once { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; padding-top: 2px; }
.total-once[hidden] { display: none; }
.total-once span { color: var(--on-k-muted); font-size: .9rem; }
.total-once b { font-family: var(--f-display); font-size: 1.6rem; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.total-once small { color: var(--on-k-muted); font-size: .85rem; }
.breakdown .bd-h { margin: 6px 0 0; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; color: var(--c); }
.breakdown .bd-h:first-child { margin-top: 0; }
.reco .btn { justify-self: start; width: auto; margin-top: 6px; --b-bg: var(--c); --b-fg: var(--ink); }
