/* Tipografías del diseño, autoalojadas: sin depender de un CDN. */
@font-face {
  font-family: "Archivo";
  src: url("../fonts/Archivo-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/Archivo-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/Archivo-900.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/JetBrainsMono-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/JetBrainsMono-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/SpaceGrotesk-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/SpaceGrotesk-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/SpaceGrotesk-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/SpaceGrotesk-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ==========================================================================
   Hirata Impresión Digital
   Paleta y tipografía tomadas del diseño. Las tipografías se autoalojan en
   assets/fonts, así el sitio no depende de un CDN.
   ========================================================================== */

:root {
  --ink: #0f0e0c;
  --ink-2: #1b1916;
  --ink-3: #221f1a;
  --cream: #f5f2ea;
  --gold: #e9c25a;
  --gold-hi: #f3d78a;
  --gold-dark: #4a3a10;
  --gold-label: #926524;   /* 4.57:1 sobre crema — el #a8752a daba 3.58 */
  --muted: #a9a29a;
  --muted-2: #8b8579;
  --muted-3: #898174;      /* 4.56:1 sobre ink-2 — el #6c665c daba 3.39 */
  --soft: #d5d0c7;
  --line: rgba(245, 242, 234, .1);
  --line-soft: rgba(245, 242, 234, .07);

  --display: "Archivo", "Arial Black", Impact, sans-serif;
  --body: "Space Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;

  --shell: 1320px;
  --pad-x: clamp(20px, 5vw, 48px);
  --pad-y: clamp(56px, 8vw, 110px);
}

/* ------------------------------- base ---------------------------------- */

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-hi); }
::selection { background: var(--gold); color: var(--ink); }
img { display: block; max-width: 100%; }
input, select, textarea, button { font-family: var(--body); }

.shell { max-width: var(--shell); margin: 0 auto; padding: var(--pad-y) var(--pad-x); }
.shell-tight { max-width: var(--shell); margin: 0 auto; padding: clamp(40px, 5vw, 72px) var(--pad-x); }

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
}

h1, h2, h3 { font-family: var(--display); text-transform: uppercase; margin: 0; }
h1 { font-weight: 900; font-size: clamp(42px, 8.6vw, 128px); line-height: .87; letter-spacing: -.045em; }
h2 { font-weight: 900; font-size: clamp(30px, 4.4vw, 58px); line-height: .95; letter-spacing: -.04em; }
h3 { font-weight: 800; font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -.025em; text-transform: none; }

.lede { margin: 0; font-size: clamp(16px, 1.6vw, 20px); line-height: 1.65; color: var(--muted); text-wrap: pretty; }
.nota { font-family: var(--mono); font-size: 11px; color: var(--muted-3); }

/* ------------------------------ botones -------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 17px 30px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-hi); color: var(--ink); transform: translateY(-1px); }
.btn-ghost { background: transparent; border: 1px solid rgba(245, 242, 234, .25); color: var(--cream); font-weight: 600; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-dark { background: var(--ink); color: var(--gold); padding: 18px 32px; font-size: 16px; }
.btn-dark:hover { background: var(--ink-2); color: var(--gold); }
.btn-outline-dark { background: transparent; border: 1px solid rgba(15, 14, 12, .35); color: var(--ink); padding: 18px 32px; font-size: 16px; font-weight: 700; }
.btn-outline-dark:hover { background: rgba(15, 14, 12, .08); color: var(--ink); }
.btn-sm { padding: 15px 26px; font-size: 14px; white-space: nowrap; }

/* ------------------------------ encabezado ----------------------------- */

.header { position: sticky; top: 0; z-index: 50; background: rgba(15, 14, 12, .88); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }

.ticker { background: var(--gold); color: var(--ink); overflow: hidden; padding: 7px 0; }
.ticker-track {
  display: flex; width: max-content;
  animation: hi-marquee 34s linear infinite;
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; white-space: nowrap; font-weight: 500;
  will-change: transform;
}
/* El espacio va dentro de cada elemento, no como gap del contenedor: así el
   ancho total es un múltiplo exacto de la secuencia y la costura no se ve. */
.ticker-track > span { padding-right: 30px; }

.nav { max-width: var(--shell); margin: 0 auto; padding: 16px var(--pad-x); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-logo { width: clamp(118px, 14vw, 150px); height: auto; }
.nav-right { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 32px); }
.nav-links { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 30px); font-size: 13px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.nav-links a { color: var(--muted-2); padding-bottom: 3px; border-bottom: 2px solid transparent; }
.nav-links a:hover { color: var(--cream); }
.nav-links a[aria-current="page"] { color: var(--cream); border-bottom-color: var(--gold); }
.nav-cta { background: var(--gold); color: var(--ink); padding: 12px 22px; border-radius: 8px; font-weight: 700; font-size: 14px; white-space: nowrap; }
.nav-cta:hover { background: var(--gold-hi); color: var(--ink); transform: translateY(-1px); }

.burger { display: none; background: transparent; border: 1px solid rgba(245, 242, 234, .25); color: var(--cream); width: 44px; height: 44px; border-radius: 8px; align-items: center; justify-content: center; cursor: pointer; font-size: 18px; }

.drawer { display: none; border-top: 1px solid var(--line); padding: 8px var(--pad-x) 20px; flex-direction: column; }
.drawer a { padding: 16px 0; border-bottom: 1px solid rgba(245, 242, 234, .07); font-size: 15px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted-2); }
.drawer a[aria-current="page"] { color: var(--cream); }
.header[data-open="true"] .drawer { display: flex; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .burger { display: flex; }
}

/* --------------------------------- hero -------------------------------- */

.hero { position: relative; max-width: var(--shell); margin: 0 auto; padding: clamp(48px, 7vw, 96px) var(--pad-x) clamp(40px, 5vw, 72px); overflow: hidden; }
.hero-glow { position: absolute; top: -160px; right: -140px; width: min(620px, 90vw); height: min(620px, 90vw); border-radius: 50%; background: radial-gradient(circle, rgba(233, 194, 90, .2), transparent 66%); pointer-events: none; animation: hi-fade 1.8s ease both; }
/* :not() excluye el glow: sin eso, .hero > * le gana a su position:absolute
   por orden de aparición y el círculo empuja todo el contenido hacia abajo. */
.hero > *:not(.hero-glow) { position: relative; }
.hero .eyebrow { display: flex; align-items: center; gap: 12px; animation: hi-fade 1s ease both; }
.hero-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); animation: hi-pulse 2.4s ease-in-out infinite; }
.hero h1 { margin: 22px 0 0; max-width: 15ch; animation: hi-rise .9s cubic-bezier(.16, 1, .3, 1) both; }
.hero h1 em { color: var(--gold); font-style: normal; }
.hero-row { display: flex; gap: clamp(24px, 4vw, 48px); align-items: flex-end; justify-content: space-between; margin-top: clamp(28px, 4vw, 44px); flex-wrap: wrap; }
.hero-row .lede { max-width: 48ch; animation: hi-rise .9s .15s cubic-bezier(.16, 1, .3, 1) both; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; animation: hi-rise .9s .25s cubic-bezier(.16, 1, .3, 1) both; }

.hero-grid { margin-top: clamp(36px, 5vw, 60px); display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }

/* Marcos de foto: el rayado del diseño queda como fondo mientras la imagen
   carga, y como respaldo visible si la foto llegara a faltar. */
.foto {
  position: relative; overflow: hidden; border-radius: 12px; min-height: 260px;
  background: repeating-linear-gradient(135deg, var(--ink-2) 0 12px, var(--ink-3) 12px 24px);
  display: flex; align-items: flex-end; padding: 20px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-3);
}
.foto-oscura { background: repeating-linear-gradient(135deg, var(--ink) 0 12px, #161411 12px 24px); min-height: 150px; }
.foto-sweep::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 40%, rgba(245, 242, 234, .07) 50%, transparent 60%); animation: hi-sweep 5s 1s ease-in-out infinite; }

.tarjeta-dias { border-radius: 12px; min-height: 260px; background: var(--cream); padding: 24px; display: flex; flex-direction: column; justify-content: space-between; }
.tarjeta-dias .etq { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-label); }
.tarjeta-dias .cifra { font-family: var(--display); font-weight: 900; font-size: clamp(34px, 3.4vw, 46px); line-height: .88; letter-spacing: -.035em; color: var(--ink); }

/* ------------------------------ fotografía ----------------------------- */

.foto picture, .pieza picture { position: absolute; inset: 0; display: block; }
.foto-img { width: 100%; height: 100%; object-fit: cover; }

/* Velo hacia abajo: el texto del diseño va en crema y dorado sobre el marco
   oscuro, así que sobre una foto necesita recuperar ese fondo detrás de las
   letras. z-index 1 lo deja encima de la imagen y debajo del texto. */
.foto::before, .pieza::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(15, 14, 12, .93) 0%, rgba(15, 14, 12, .58) 40%, rgba(15, 14, 12, .10) 74%);
}
.foto-pie, .pieza > span { position: relative; z-index: 2; }
.foto-pie {
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--cream);
}
/* El barrido va arriba de todo: sobre la foto se lee como un brillo. */
.foto-sweep::after { z-index: 3; }

/* La foto del taller es apaisada y corta; el encuadre alto pierde la máquina. */
.foto-oscura .foto-img { object-position: center 40%; }

/* ------------------------------ materiales ----------------------------- */

.materiales { background: var(--gold); overflow: hidden; padding: 16px 0; }
.materiales-track {
  display: flex; width: max-content;
  animation: hi-marquee 26s linear infinite;
  font-family: var(--display); font-weight: 800; font-size: clamp(16px, 2vw, 24px);
  text-transform: uppercase; letter-spacing: -.01em; color: var(--ink); white-space: nowrap;
  will-change: transform;
}
.materiales-track > span { padding-right: 34px; }

/* ------------------------------- secciones ----------------------------- */

.seccion-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 48px); }
.seccion-head h2 { margin: 14px 0 0; max-width: 20ch; }
.banda { background: var(--ink-2); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }

.grid-servicios { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.tarjeta {
  background: var(--ink-2); border-radius: 14px; padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(245, 242, 234, .06);
  display: flex; flex-direction: column; gap: 12px;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.tarjeta:hover { background: var(--ink-3); border-color: rgba(233, 194, 90, .35); transform: translateY(-3px); }
.tarjeta .num { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; color: var(--gold); }
.tarjeta p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--muted-2); text-wrap: pretty; }
.tarjeta .desde { margin-top: auto; padding-top: 14px; border-top: 1px solid rgba(245, 242, 234, .08); font-family: var(--mono); font-size: 12px; color: var(--cream); }
.banda .tarjeta { background: var(--ink); }

.dos-columnas { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: clamp(32px, 5vw, 72px); align-items: center; }
.lista-ventajas { display: flex; flex-direction: column; gap: 2px; margin-top: 28px; }
.lista-ventajas div { display: flex; gap: 14px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid rgba(245, 242, 234, .08); }
.lista-ventajas .n { color: var(--gold); font-family: var(--mono); font-size: 12px; }
.lista-ventajas .t { font-size: 16px; color: var(--cream); font-weight: 500; }

.grid-numeros { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.numero { border-radius: 14px; background: var(--ink); padding: clamp(22px, 2.6vw, 30px); border: 1px solid var(--line-soft); }
.numero .valor { font-family: var(--display); font-weight: 900; font-size: clamp(32px, 4vw, 50px); letter-spacing: -.04em; color: var(--gold); }
.numero .label { font-size: 14px; color: var(--muted-2); margin-top: 6px; }

.grid-portafolio { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.pieza {
  position: relative; overflow: hidden; border-radius: 12px; min-height: 250px;
  background: repeating-linear-gradient(135deg, var(--ink-2) 0 12px, var(--ink-3) 12px 24px);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 20px;
  border: 1px solid transparent; transition: border-color .2s ease, transform .2s ease;
}
.pieza:hover { border-color: var(--gold); transform: translateY(-2px); }
.pieza .tipo { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.pieza .titulo { font-family: var(--display); font-weight: 700; font-size: 17px; margin-top: 6px; color: var(--cream); text-transform: none; }
.pieza .detalle { font-size: 13px; color: var(--muted-2); margin-top: 4px; }

.grid-testimonios { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 14px; }
.testimonio { background: var(--ink); border-radius: 14px; padding: clamp(24px, 3vw, 34px); border: 1px solid rgba(245, 242, 234, .06); display: flex; flex-direction: column; gap: 18px; }
.testimonio .quote { font-family: var(--display); font-weight: 900; font-size: 40px; line-height: .6; color: var(--gold); }
.testimonio p { margin: 0; font-size: 16px; line-height: 1.7; color: var(--soft); text-wrap: pretty; }
.testimonio .pie { margin-top: auto; padding-top: 16px; border-top: 1px solid rgba(245, 242, 234, .08); }
.testimonio .nombre { font-weight: 600; font-size: 15px; color: var(--cream); }
.testimonio .rol { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); margin-top: 4px; }

/* ---------------------------------- CTA -------------------------------- */

.cta { background: var(--gold); color: var(--ink); }
.cta-inner { max-width: var(--shell); margin: 0 auto; padding: clamp(48px, 7vw, 96px) var(--pad-x); display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta h2 { max-width: 18ch; font-size: clamp(30px, 5vw, 64px); line-height: .92; letter-spacing: -.045em; }
.cta p { margin: 16px 0 0; font-size: 17px; color: var(--gold-dark); max-width: 44ch; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* -------------------------------- footer ------------------------------- */

.footer { border-top: 1px solid var(--line); }
.footer-inner { max-width: var(--shell); margin: 0 auto; padding: clamp(40px, 5vw, 64px) var(--pad-x); display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.footer h3 { margin: 0 0 12px; font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-3); font-weight: 500; }
.footer a, .footer p { font-size: 15px; color: var(--muted); margin: 0 0 8px; display: block; }
.footer a:hover { color: var(--gold); }
.footer-bar { border-top: 1px solid var(--line-soft); }
.footer-bar div { max-width: var(--shell); margin: 0 auto; padding: 20px var(--pad-x); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--muted-3); }

/* ------------------------------- tablas -------------------------------- */

.tabla-precios { background: var(--ink-2); border: 1px solid rgba(245, 242, 234, .06); border-radius: 14px; overflow: hidden; margin-bottom: 14px; }
.tabla-precios header { padding: 20px clamp(18px, 2.4vw, 28px); border-bottom: 1px solid var(--line-soft); display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.tabla-precios header h3 { font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: -.02em; text-transform: uppercase; }
.tabla-precios header .nota { margin: 0; }
.tabla-scroll { overflow-x: auto; }
.tabla-precios table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 420px; }
.tabla-precios th {
  text-align: left; padding: 12px clamp(18px, 2.4vw, 28px);
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted-3); font-weight: 500; border-bottom: 1px solid var(--line-soft);
}
.tabla-precios th:not(:first-child), .tabla-precios td:not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; }
.tabla-precios td { padding: 13px clamp(18px, 2.4vw, 28px); border-bottom: 1px solid rgba(245, 242, 234, .05); color: var(--soft); }
.tabla-precios tr:last-child td { border-bottom: none; }

/* ----------------------------- calculadora ----------------------------- */

.calc { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(20px, 3vw, 32px); align-items: start; }
@media (max-width: 900px) { .calc { grid-template-columns: 1fr; } }

.panel { background: var(--ink-2); border: 1px solid rgba(245, 242, 234, .06); border-radius: 14px; padding: clamp(22px, 3vw, 32px); }
.campo { margin-bottom: 24px; }
.campo:last-child { margin-bottom: 0; }
.campo > label, .campo .etiqueta { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-3); margin-bottom: 10px; }
.campo .ayuda { font-size: 13px; color: var(--muted-2); margin: 8px 0 0; line-height: 1.5; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  background: var(--ink); border: 1px solid rgba(245, 242, 234, .16); color: var(--muted);
  padding: 11px 18px; border-radius: 999px; font-size: 14px; cursor: pointer;
  transition: background .16s ease, color .16s ease, border-color .16s ease;
}
.chip:hover { border-color: var(--gold); color: var(--gold); }
.chip[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--ink); font-weight: 600; }

select.control, input.control {
  width: 100%; background: var(--ink); border: 1px solid rgba(245, 242, 234, .16);
  color: var(--cream); padding: 14px 16px; border-radius: 10px; font-size: 15px;
}
select.control:focus, input.control:focus { outline: none; border-color: var(--gold); }

.stepper { display: flex; align-items: stretch; gap: 8px; }
.stepper input { flex: 1; text-align: center; font-variant-numeric: tabular-nums; }
.stepper button {
  width: 52px; background: var(--ink); border: 1px solid rgba(245, 242, 234, .16);
  color: var(--cream); border-radius: 10px; font-size: 20px; cursor: pointer;
}
.stepper button:hover { border-color: var(--gold); color: var(--gold); }

.opcion {
  display: flex; align-items: flex-start; gap: 12px; width: 100%; text-align: left;
  background: var(--ink); border: 1px solid rgba(245, 242, 234, .16); color: var(--cream);
  padding: 14px 16px; border-radius: 10px; cursor: pointer; margin-bottom: 8px;
  transition: background .16s ease, border-color .16s ease;
}
.opcion:hover { border-color: var(--gold); }
.opcion[aria-pressed="true"] { background: rgba(233, 194, 90, .14); border-color: var(--gold); }
.opcion .marca { width: 18px; height: 18px; border-radius: 5px; border: 1px solid rgba(245, 242, 234, .3); flex: none; margin-top: 2px; display: grid; place-items: center; font-size: 12px; color: var(--ink); }
.opcion[aria-pressed="true"] .marca { background: var(--gold); border-color: var(--gold); }
.opcion .txt { font-size: 15px; }
.opcion .precio { display: block; font-family: var(--mono); font-size: 12px; color: var(--muted-2); margin-top: 3px; }

.resumen { background: var(--ink-2); border: 1px solid rgba(233, 194, 90, .28); border-radius: 14px; padding: clamp(22px, 3vw, 32px); position: sticky; top: 108px; }
.resumen .total { font-family: var(--display); font-weight: 900; font-size: clamp(42px, 6vw, 64px); line-height: .9; letter-spacing: -.04em; color: var(--gold); }
.resumen .unitario { font-family: var(--mono); font-size: 12px; color: var(--muted-2); margin-top: 8px; }
.desglose { margin: 22px 0; padding: 18px 0 0; border-top: 1px solid var(--line-soft); display: flex; flex-direction: column; gap: 10px; }
.desglose div { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; }
.desglose .etq { color: var(--muted-2); }
.desglose .val { color: var(--cream); font-variant-numeric: tabular-nums; white-space: nowrap; }
.resumen .btn { width: 100%; }
.aviso { font-size: 13px; color: var(--muted-2); line-height: 1.55; margin: 16px 0 0; }

/* ------------------------------ formulario ----------------------------- */

.form { display: grid; gap: 14px; }
.form label { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-3); }
.form input, .form select, .form textarea {
  width: 100%; background: var(--ink); border: 1px solid rgba(245, 242, 234, .16);
  color: var(--cream); padding: 14px 16px; border-radius: 10px; font-size: 15px; margin-top: 8px;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--gold); }
.form textarea { resize: vertical; min-height: 120px; }
.form .btn { justify-self: start; }
.form-msg { font-size: 14px; margin: 0; }
.form-msg.ok { color: var(--gold); }
.form-msg.bad { color: #e08a6e; }
form[data-state="sending"] .btn { opacity: .6; cursor: progress; }

.contacto-lista { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.contacto-item { background: var(--ink-2); border: 1px solid rgba(245, 242, 234, .06); border-radius: 14px; padding: clamp(20px, 2.6vw, 28px); }
.contacto-item h4 { margin: 0 0 10px; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
.contacto-item .valor { font-size: 17px; color: var(--cream); font-weight: 500; display: block; }
.contacto-item .nota-item { font-size: 13px; color: var(--muted-2); margin: 8px 0 0; line-height: 1.5; }

/* ------------------------------ animaciones ---------------------------- */

@keyframes hi-rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes hi-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes hi-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes hi-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes hi-pulse { 0%, 100% { opacity: .35; transform: scale(1); } 50% { opacity: 1; transform: scale(1.35); } }
@keyframes hi-sweep { 0% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }

[data-reveal] { opacity: 0; }
[data-reveal].visible { animation: hi-rise .8s cubic-bezier(.16, 1, .3, 1) both; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .ticker-track, .materiales-track { transform: none; }
  [data-reveal] { opacity: 1; }
}

/* La esquina inferior derecha queda libre para el chat y el chip de la
   plataforma; el footer necesita aire para que no los tape en móvil. */
.footer-bar div { padding-bottom: 72px; }
@media (min-width: 768px) { .footer-bar div { padding-bottom: 20px; } }

/* --------------------- calculadora: cotización múltiple ------------------ */

.resumen-etq { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-3); }

.agregar {
  margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line-soft);
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.precio-articulo { font-family: var(--display); font-weight: 900; font-size: clamp(28px, 3.4vw, 38px); line-height: 1; letter-spacing: -.03em; color: var(--cream); margin-top: 8px; }
.nota-articulo { font-family: var(--mono); font-size: 11px; color: var(--muted-2); margin-top: 6px; }

.lineas { display: flex; flex-direction: column; gap: 10px; margin: 16px 0 0; }
.linea {
  display: flex; align-items: flex-start; gap: 12px;
  background: var(--ink); border: 1px solid rgba(245, 242, 234, .1);
  border-radius: 10px; padding: 12px 14px;
}
.linea .cuerpo { flex: 1; min-width: 0; }
.linea .nombre { font-size: 14px; color: var(--cream); line-height: 1.4; }
.linea .detalle { font-family: var(--mono); font-size: 11px; color: var(--muted-2); margin-top: 4px; line-height: 1.5; }
.linea .monto { font-size: 14px; color: var(--gold); font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 600; }
.linea .quitar {
  flex: none; width: 26px; height: 26px; border-radius: 7px;
  background: transparent; border: 1px solid rgba(245, 242, 234, .18);
  color: var(--muted-2); cursor: pointer; font-size: 15px; line-height: 1;
  display: grid; place-items: center; transition: border-color .16s ease, color .16s ease, background .16s ease;
}
.linea .quitar:hover { border-color: #e08a6e; color: #e08a6e; background: rgba(224, 138, 110, .1); }

.vacio { font-size: 14px; color: var(--muted-2); line-height: 1.55; margin: 16px 0 0; }
.total-bloque { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line-soft); }
.resumen .btn { width: 100%; margin-top: 22px; }
