/* ==========================================================================
   Studio Kerf CR — sistema de diseño "precisión de taller"
   Color = operación (como en el software del láser):
     ámbar  → CORTE   (acciones, CTAs)
     teal   → GRABADO (información secundaria)
   ========================================================================== */

/* ---------- Fuentes (self-hosted) ---------- */
@font-face {
  font-family: "Fraunces";
  src: url("assets/fonts/fraunces-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("assets/fonts/jetbrains-mono-var.woff2") format("woff2");
  font-weight: 100 800;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  /* fondo blanco con secciones crema, sobre madera clara */
  --ink-deep: #ffffff;
  --ink: #f7f4ee;
  --ink-raised: #f0ebe0;
  --line: rgba(36, 27, 16, 0.12);
  --line-soft: rgba(36, 27, 16, 0.07);

  --paper: #241b10;
  --paper-dim: #766b58;

  /* lámina clara (plywood) para la galería */
  --sheet: #e9ddc4;
  --sheet-deep: #ddcda9;
  --sheet-ink: #241b10;
  --sheet-dim: #6d5f4b;

  --ember: #e85d2f;      /* corte */
  --ember-hot: #ff8d5c;
  --engrave: #93b8b2;    /* grabado */

  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Inter", -apple-system, "Helvetica Neue", sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", monospace;

  --max: 1160px;
  --pad: clamp(20px, 5vw, 48px);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  overflow-x: clip;
  background: var(--ink-deep);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 560; line-height: 1.06; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; }

::selection { background: var(--ember); color: var(--ink-deep); }

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

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ember); color: var(--ink-deep);
  padding: 10px 18px; font-family: var(--font-mono); font-size: 13px;
  z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Piezas comunes ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper-dim);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}

/* chip de capa: cuadrito de color como en el software del láser */
.chip {
  display: inline-block;
  width: 9px; height: 9px;
  flex: 0 0 9px;
  border-radius: 1.5px;
  vertical-align: baseline;
}
.chip-cut { background: var(--ember); box-shadow: 0 0 8px rgba(240, 168, 59, 0.55); }
.chip-engrave { background: var(--engrave); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: 4px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}
.btn-primary {
  background: var(--ember);
  color: var(--ink-deep);
}
.btn-primary:hover {
  background: var(--ember-hot);
  box-shadow: 0 0 0 1px rgba(240,168,59,.4), 0 6px 28px rgba(240, 168, 59, 0.28);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--paper);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--paper-dim); background: rgba(244,236,222,0.04); }
.btn-ig { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- Intro: corte láser de apertura ---------- */
.intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  overflow: hidden;
}
.intro-overlay.intro-done { display: none; }

.intro-panel {
  position: absolute;
  left: 0;
  right: 0;
  height: 50%;
  background: var(--ink-deep);
}
.intro-panel--top { top: 0; }
.intro-panel--bottom { bottom: 0; }
.intro-overlay.intro-run .intro-panel--top {
  animation: intro-split-up 0.7s cubic-bezier(0.7, 0, 0.2, 1) 1.35s forwards;
}
.intro-overlay.intro-run .intro-panel--bottom {
  animation: intro-split-down 0.7s cubic-bezier(0.7, 0, 0.2, 1) 1.35s forwards;
}
@keyframes intro-split-up { to { transform: translateY(-100%); } }
@keyframes intro-split-down { to { transform: translateY(100%); } }

.intro-laser {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 20px;
  transform: translateY(-50%);
  pointer-events: none;
}
.intro-laser-beam {
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 2px;
  transform: translateY(-50%) scaleX(0);
  transform-origin: left center;
  background: linear-gradient(to right, rgba(240,168,59,0.15), var(--ember) 40%, var(--ember-hot));
  box-shadow: 0 0 16px 2px rgba(240, 168, 59, 0.8), 0 0 60px 10px rgba(240, 168, 59, 0.35);
}
.intro-laser-head {
  position: absolute;
  left: 0; top: 50%;
  width: 14px; height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  background: var(--ember-hot);
  opacity: 0;
  box-shadow:
    0 0 10px 4px rgba(255, 217, 163, 0.95),
    0 0 46px 16px rgba(240, 168, 59, 0.6);
}
.intro-overlay.intro-run .intro-laser-beam {
  animation: intro-beam-cut 1.05s cubic-bezier(0.6, 0.05, 0.3, 1) 0.25s forwards;
}
.intro-overlay.intro-run .intro-laser-head {
  animation: intro-head-travel 1.05s cubic-bezier(0.6, 0.05, 0.3, 1) 0.25s forwards;
}
@keyframes intro-beam-cut { to { transform: translateY(-50%) scaleX(1); } }
@keyframes intro-head-travel {
  0%   { opacity: 0; left: 0; }
  4%   { opacity: 1; }
  92%  { opacity: 1; }
  100% { opacity: 0; left: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .intro-overlay { display: none; }
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(22, 17, 10, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px var(--pad);
  display: flex;
  align-items: center;
  gap: 28px;
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-right: auto;
}
.wordmark-logo { height: 40px; width: auto; display: block; }
.wordmark-text {
  font-family: var(--font-display);
  font-weight: 620;
  font-size: 19px;
  letter-spacing: 0.01em;
  line-height: 1.1;
  display: flex;
  flex-direction: column;
}
.wordmark-cr {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--paper-dim);
  margin-top: 2px;
}
.nav-links { display: flex; gap: 26px; }
.nav-links a {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--paper-dim);
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--paper); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--paper);
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn-icon:hover { border-color: var(--paper-dim); background: rgba(36,27,16,0.04); }
.btn-icon--wa { background: #25d366; border-color: #25d366; color: #fff; }
.btn-icon--wa:hover { background: #1ebe59; border-color: #1ebe59; }
.btn-icon--ig {
  background: linear-gradient(45deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5);
  border-color: transparent;
  box-shadow: 0 0 0 1px rgba(36,27,16,0.08);
  color: #fff;
}
.btn-icon--ig:hover {
  background: linear-gradient(45deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5);
  border-color: transparent;
  box-shadow: 0 0 0 1px rgba(36,27,16,0.14);
  filter: brightness(1.08);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 42px; height: 42px;
  padding: 10px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 4px;
  cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--paper); transition: transform 0.2s ease; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 10px var(--pad) 26px;
  border-top: 1px solid var(--line-soft);
}
.mobile-menu a {
  padding: 14px 0;
  font-family: var(--font-mono);
  font-size: 15px;
  text-decoration: none;
  color: var(--paper);
  border-bottom: 1px solid var(--line-soft);
}
.mobile-menu-wa { color: var(--ember) !important; font-weight: 600; }
.mobile-menu.open { display: flex; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero::before {
  /* resplandor ámbar tenue, como brasa al fondo del taller */
  content: "";
  position: absolute;
  inset: auto -20% -55% -20%;
  height: 90%;
  background: radial-gradient(ellipse at 70% 100%, rgba(240,168,59,0.10), transparent 60%);
  pointer-events: none;
}
.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(64px, 10vh, 120px) var(--pad) clamp(56px, 9vh, 110px);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-copy { max-width: 640px; }
.hero-title {
  font-size: clamp(38px, 4.4vw, 58px);
  margin: 0 0 26px;
}
.hero-title em {
  font-style: italic;
  font-weight: 480;
  color: var(--ember);
}
.hero-sub {
  max-width: 52ch;
  color: var(--paper-dim);
  font-size: clamp(16px, 1.6vw, 18px);
  margin-bottom: 38px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }

/* regla de medición al pie del hero */
.ruler {
  height: 26px;
  border-top: 1px solid var(--line-soft);
  background:
    repeating-linear-gradient(to right,
      var(--line) 0 1px, transparent 1px 10px) top / 100% 7px no-repeat,
    repeating-linear-gradient(to right,
      var(--line) 0 1px, transparent 1px 50px) top / 100% 14px no-repeat;
  opacity: 0.8;
}

/* ---------- Elemento firma: cabezal láser ---------- */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.hero-laser {
  position: absolute;
  top: clamp(-60px, -4vw, -20px);
  right: clamp(-30px, 3vw, 80px);
  width: clamp(300px, 38vw, 540px);
  height: auto;
  color: var(--paper);
  opacity: 0;
  transition: transform 80ms linear;
  animation: laser-in 0.8s ease 1.95s forwards;
  will-change: transform;
}
@keyframes laser-in { to { opacity: 0.92; } }
.hero-laser .beam-glow { filter: blur(8px); }
.hero-beam {
  transform-box: view-box;
  transform-origin: 200px 272px;
}
.hero-smoke { transform-box: view-box; }

/* ---------- Secciones ---------- */
.section { border-top: 1px solid var(--line-soft); }
.section-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(72px, 11vh, 130px) var(--pad);
}
.section-head { max-width: 720px; margin-bottom: clamp(44px, 6vh, 64px); }
.section-head h2 { font-size: clamp(32px, 4.4vw, 54px); }
.section-sub {
  margin-top: 20px;
  color: var(--paper-dim);
  max-width: 56ch;
}

/* ---------- Materiales ---------- */
.materials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.material-card {
  background: var(--ink);
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  padding: 20px 20px 24px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.material-card:hover { border-color: var(--line); transform: translateY(-3px); }
.material-card h3 { font-size: 22px; margin: 18px 0 10px; }
.material-card p { font-size: 15px; color: var(--paper-dim); }
.material-ops {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper-dim);
  display: flex;
  align-items: center;
  gap: 7px;
}

/* swatches: textura CSS por material */
.swatch { height: 92px; border-radius: 5px; border: 1px solid var(--line-soft); }
.swatch-acrilico {
  background:
    linear-gradient(115deg, transparent 42%, rgba(255,255,255,0.18) 46%, transparent 52%),
    linear-gradient(160deg, rgba(147,184,178,0.85), rgba(84,124,118,0.9));
}
.swatch-mdf {
  background:
    radial-gradient(circle at 72% 42%, rgba(22,17,10,0.28) 0 17%, transparent 19%),
    radial-gradient(circle at 72% 42%, rgba(22,17,10,0.28) 24% 27%, transparent 29%),
    linear-gradient(175deg, #b28c5c, #a07c4e);
}
.swatch-plywood {
  /* el canto laminado del plywood */
  background: repeating-linear-gradient(to bottom,
    #d9bd90 0 9px, #b99a68 9px 12px, #cbae7e 12px 20px, #a8895a 20px 23px);
}
.swatch-botella {
  background:
    linear-gradient(to right, #6c7076, #b9bec4 28%, #f0f2f4 44%, #b0b5bb 62%, #585c62),
    #85898f;
}

/* ---------- Galería (lámina clara) ---------- */
.section-sheet {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255,255,255,0.5), transparent 55%),
    var(--sheet);
  color: var(--sheet-ink);
}
.section-sheet .eyebrow { color: var(--sheet-dim); }
.section-sheet .section-sub { color: var(--sheet-dim); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.gallery-tile {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  border: 1.5px dashed rgba(36, 27, 16, 0.4);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  color: var(--sheet-ink);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.gallery-tile:hover {
  transform: translateY(-4px) rotate(-0.4deg);
  box-shadow: 0 14px 34px rgba(36, 27, 16, 0.18);
  border-color: rgba(36, 27, 16, 0.7);
}
.tile-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  background: rgba(233, 221, 196, 0.85);
  align-self: flex-start;
  padding: 4px 8px;
  border-radius: 3px;
}
.tile-hint {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  align-self: flex-end;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.gallery-tile:hover .tile-hint, .gallery-tile:focus-visible .tile-hint { opacity: 1; transform: none; }

.tile-acrilico { background: linear-gradient(150deg, rgba(147,184,178,0.55), rgba(84,124,118,0.65)), var(--sheet-deep); }
.tile-mdf { background: linear-gradient(170deg, #c39a67, #b08a55); }
.tile-plywood { background: repeating-linear-gradient(to bottom, #dcc194 0 12px, #bd9e6c 12px 16px, #d0b384 16px 27px, #ab8c5d 27px 31px); }
.tile-botella { background: linear-gradient(to right, #878b91, #c9ced4 30%, #eff1f3 46%, #b5bac0 64%, #6d7177); }
.tile-detalle {
  background:
    radial-gradient(circle at 50% 50%, rgba(36,27,16,0.32) 0 12%, transparent 14%),
    radial-gradient(circle at 50% 50%, rgba(36,27,16,0.3) 19% 21%, transparent 23%),
    radial-gradient(circle at 50% 50%, rgba(36,27,16,0.26) 27% 29%, transparent 31%),
    var(--sheet-deep);
}
.tile-ig {
  border-style: solid;
  border-color: var(--sheet-ink);
  background: var(--sheet-ink);
  color: var(--sheet);
  justify-content: center;
  gap: 12px;
}
.tile-ig-text {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 550;
  line-height: 1.2;
}
.tile-ig-arrow { font-size: 26px; color: var(--ember); }
.tile-ig:hover { transform: translateY(-4px); }

/* ---------- Para quién ---------- */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.audience-card {
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: var(--ink);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.audience-card:hover { border-color: var(--line); transform: translateY(-3px); }
.audience-card h3 { font-size: 24px; margin-bottom: 14px; }
.audience-card p { color: var(--paper-dim); font-size: 15.5px; flex: 1; }
.cardlink {
  margin-top: 24px;
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ember);
  text-decoration: none;
}
.cardlink:hover { color: var(--ember-hot); }

/* ---------- Proceso ---------- */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: paso;
}
.step {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  position: relative;
}
.step::before {
  /* tick de inicio de segmento en la "regla" del proceso */
  content: "";
  position: absolute;
  top: -1px; left: 0;
  width: 1px; height: 12px;
  background: var(--ember);
}
.step-num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--ember);
}
.step h3 { font-size: 21px; margin: 12px 0 10px; }
.step p { font-size: 15px; color: var(--paper-dim); }

/* ---------- Specs ---------- */
.specs {
  border-top: 1px solid var(--line-soft);
  background: var(--ink);
}
.specs-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(40px, 6vh, 60px) var(--pad) 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}
.spec { display: flex; flex-direction: column; gap: 8px; }
.spec-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--paper-dim);
}
.spec-value {
  font-family: var(--font-mono);
  font-size: clamp(17px, 1.9vw, 22px);
  font-weight: 600;
  color: var(--paper);
}
.specs-note {
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px var(--pad) clamp(40px, 6vh, 60px);
  color: var(--paper-dim);
  font-size: 15px;
  max-width: 620px;
}
.specs-note strong { color: var(--ember); font-weight: 600; }

/* ---------- Contacto ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.contact-channels { display: flex; flex-direction: column; gap: 14px; }
.channel {
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: var(--ink);
  padding: 22px 24px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.channel:hover { border-color: var(--line); transform: translateY(-2px); }
.channel-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--paper-dim);
}
.channel-value {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 560;
}
.channel-wa { border-color: rgba(240, 168, 59, 0.4); }
.channel-wa .channel-value { color: var(--ember); }
.channel-wa:hover {
  border-color: var(--ember);
  box-shadow: 0 8px 32px rgba(240, 168, 59, 0.16);
}

.lead-form {
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: var(--ink);
  padding: clamp(22px, 3vw, 32px);
}
.form-intro { color: var(--paper-dim); font-size: 15px; margin-bottom: 22px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.field label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--paper-dim);
}
.field input, .field textarea {
  background: var(--ink-deep);
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  padding: 12px 14px;
  transition: border-color 0.15s ease;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--ember);
  box-shadow: 0 0 0 1px rgba(240,168,59,0.35);
}
.field textarea { resize: vertical; min-height: 96px; }

/* honeypot fuera de vista (los bots lo rellenan, los humanos no lo ven) */
.field-website {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

.turnstile-slot:not(:empty) { margin-bottom: 18px; }
.btn-submit { width: 100%; }
.btn-submit[disabled] { opacity: 0.55; cursor: wait; transform: none; }
.form-status { margin-top: 14px; font-size: 14.5px; min-height: 1.4em; }
.form-status.ok { color: var(--engrave); }
.form-status.error { color: #e08f7c; }
.form-status a { color: var(--ember); font-weight: 600; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line-soft); background: var(--ink-deep); }
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 48px var(--pad) 40px;
  display: grid;
  grid-template-columns: 1.4fr 1fr auto;
  gap: 32px;
  align-items: start;
}
.footer-brand p { margin-top: 14px; color: var(--paper-dim); font-size: 14.5px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: var(--paper-dim);
  text-decoration: none;
}
.footer-links a:hover { color: var(--ember); }
.footer-legal { font-family: var(--font-mono); font-size: 12.5px; color: var(--paper-dim); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .materials-grid { grid-template-columns: repeat(2, 1fr); }
  .audience-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .specs-inner { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-laser { width: 64vw; right: -10%; }
  .nav-links { display: none; }
  .nav-cta-desktop { display: none !important; }
  .nav-toggle { display: flex; }
  .footer-inner { grid-template-columns: 1fr; gap: 26px; }
}

@media (max-width: 560px) {
  /* sin quiebres forzados: el titular no cabe partido así de angosto */
  .hero-title br { display: none; }
  .materials-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .specs-inner { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .hero-ctas .btn { width: 100%; }
}

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    transition-duration: 0.01ms !important;
  }
  .kerf-beam { transform: translateY(-50%) scaleX(1); }
  .kerf-head { display: none; }
}
