/* ==========================================================================
   GOLDABURU · Carpintería y Láser — hoja de estilos
   Paleta sacada del logo: negro, naranja madera, roble y el "chispazo" del láser.
   ========================================================================== */

/* ---------- Fuentes (alojadas en la propia web: sin llamadas a Google) ---------- */
@font-face {
  font-family: "Fraunces";
  src: url("../assets/fonts/fraunces-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../assets/fonts/fraunces-latin-wght-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../assets/fonts/manrope-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

/* ---------- Variables ---------- */
:root {
  --ink: #15110e;
  --ink-2: #1d1814;
  --ink-3: #2a231d;
  --paper: #f7f2ea;
  --paper-2: #efe6d8;
  --white: #fffdf9;
  --text: #241d17;
  --muted: #6c6056;
  --muted-light: #c9bcad;
  --line: rgba(36, 29, 23, 0.12);
  --line-light: rgba(255, 253, 249, 0.14);

  --accent: #e07a22;        /* naranja del logo */
  --accent-strong: #ff8a3d; /* chispa del láser */
  --accent-text: #a5500f;   /* naranja legible sobre fondo claro */
  --oak: #c9965e;
  --gold: #c9a55a;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 40px -18px rgba(21, 17, 14, 0.45);
  --shadow-soft: 0 10px 30px -16px rgba(21, 17, 14, 0.3);
  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; text-decoration-color: rgba(224, 122, 34, 0.55); text-underline-offset: 3px; }
a:hover { color: var(--accent-text); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  font-variation-settings: "SOFT" 30, "WONK" 0;
}
h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); }
h2 { font-size: clamp(1.95rem, 3.6vw, 3.05rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.2; }
h4 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
em { font-style: italic; }

:focus-visible {
  outline: 3px solid var(--accent-strong);
  outline-offset: 3px;
  border-radius: 6px;
}

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

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 200;
  background: var(--accent);
  color: var(--ink);
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; color: var(--ink); }

/* ---------- Iconos ---------- */
.ico { width: 1.1em; height: 1.1em; flex: none; fill: currentColor; }
.ico--stroke { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Textos auxiliares ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent-strong), var(--accent));
  box-shadow: 0 0 10px rgba(255, 138, 61, 0.7);
}
.section--dark .eyebrow,
.hero .eyebrow,
.page-hero .eyebrow { color: var(--accent-strong); }

.lead { font-size: clamp(1.08rem, 1.5vw, 1.22rem); line-height: 1.6; color: var(--muted); max-width: 62ch; }
.section--dark .lead,
.hero .lead,
.page-hero .lead { color: var(--muted-light); }

.section-head { max-width: 760px; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .lead { margin-inline: auto; }
.section-head h2 em,
.hero h1 em,
.page-hero h1 em { color: var(--accent); font-style: italic; font-weight: 500; }

/* ---------- Botones ---------- */
.btn {
  --btn-bg: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px 24px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  background: var(--btn-bg);
  font: 700 0.98rem/1.2 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background-color 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .ico { width: 1.15em; height: 1.15em; }

.btn--primary { --btn-bg: var(--accent); color: var(--ink); box-shadow: 0 10px 24px -10px rgba(224, 122, 34, 0.75); }
.btn--primary:hover { --btn-bg: var(--accent-strong); color: var(--ink); box-shadow: 0 14px 30px -10px rgba(255, 138, 61, 0.85); }

.btn--ghost { color: var(--white); border-color: rgba(255, 253, 249, 0.38); }
.btn--ghost:hover { color: var(--ink); background: var(--white); border-color: var(--white); }

.btn--dark { --btn-bg: var(--ink); color: var(--white); }
.btn--dark:hover { --btn-bg: var(--ink-3); color: var(--white); }

.btn--outline { color: var(--text); border-color: rgba(36, 29, 23, 0.28); }
.btn--outline:hover { color: var(--white); background: var(--ink); border-color: var(--ink); }

.btn--wa { --btn-bg: #1f9d55; color: #fff; }
.btn--wa:hover { --btn-bg: #188247; color: #fff; }

.btn--sm { min-height: 42px; padding: 9px 18px; font-size: 0.92rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  text-decoration: none;
  color: var(--accent-text);
}
.link-arrow::after { content: "→"; transition: transform 0.25s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }
.section--dark .link-arrow { color: var(--accent-strong); }

/* ==========================================================================
   CABECERA
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  color: var(--white);
  transition: background-color 0.35s, box-shadow 0.35s, backdrop-filter 0.35s;
}
.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(21, 17, 14, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line-light);
}
.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--white);
  flex: none;
}
.brand:hover { color: var(--white); }
.brand img { width: 52px; height: 52px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(255, 253, 249, 0.18); }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--font-display); font-size: 1.42rem; font-weight: 650; letter-spacing: -0.01em; }
.brand__tag { font-size: 0.68rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent-strong); margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav__list { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav__link {
  position: relative;
  display: block;
  padding: 10px 14px;
  font-weight: 700;
  font-size: 0.96rem;
  text-decoration: none;
  color: rgba(255, 253, 249, 0.86);
  border-radius: 999px;
  transition: color 0.2s, background-color 0.2s;
}
.nav__link:hover { color: var(--white); background: rgba(255, 253, 249, 0.08); }
.nav__link[aria-current="page"] { color: var(--white); }
.nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent-strong);
  box-shadow: 0 0 8px rgba(255, 138, 61, 0.8);
}
.nav__cta { margin-left: 10px; }

/* Selector de idioma */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-left: 6px;
  padding: 3px;
  border-radius: 999px;
  border: 1px solid var(--line-light);
}
.lang-switch a {
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: rgba(255, 253, 249, 0.75);
  transition: background-color 0.2s, color 0.2s;
}
.lang-switch a:hover { color: var(--white); background: rgba(255, 253, 249, 0.08); }
.lang-switch a[aria-current="true"] { background: var(--white); color: var(--ink); }
.nav__phones { display: none; }

.nav-toggle {
  display: none;
  width: 48px; height: 48px;
  border: 1.5px solid rgba(255, 253, 249, 0.3);
  border-radius: 14px;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle__bars { position: relative; width: 20px; height: 2px; background: currentColor; border-radius: 2px; transition: background-color 0.2s; }
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute; left: 0;
  width: 20px; height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.3s var(--ease);
}
.nav-toggle__bars::before { transform: translateY(-6px); }
.nav-toggle__bars::after { transform: translateY(6px); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: rotate(-45deg); }

@media (max-width: 1100px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed;
    top: var(--header-h); left: 0; right: 0;
    height: calc(100dvh - var(--header-h)); /* altura explícita: la cabecera con blur es su bloque contenedor */
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    padding: 18px var(--gutter) 28px;
    background: var(--ink);
    border-top: 1px solid var(--line-light);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, transform 0.3s var(--ease), visibility 0.3s;
  }
  .site-header.is-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav__list { flex-direction: column; align-items: stretch; }
  .nav__link { padding: 14px 6px; font-size: 1.12rem; border-radius: 0; border-bottom: 1px solid var(--line-light); }
  .nav__link[aria-current="page"]::after { left: 6px; right: auto; width: 26px; bottom: 8px; }
  .nav__cta { margin: 4px 0 0; }
  .lang-switch { align-self: flex-start; margin: 2px 0 0; }
  .lang-switch a { padding: 8px 18px; font-size: 0.9rem; }
  .nav__phones { display: grid; gap: 10px; }
  .nav__phones a {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255, 253, 249, 0.06);
    text-decoration: none;
    font-weight: 700;
    color: var(--white);
  }
  .nav__phones small { display: block; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-strong); }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 420px) {
  .brand img { width: 44px; height: 44px; }
  .brand__name { font-size: 1.24rem; }
  .brand__tag { font-size: 0.6rem; letter-spacing: 0.14em; }
}

/* ==========================================================================
   HERO (portada)
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(900px 520px at 88% 12%, rgba(224, 122, 34, 0.2), transparent 60%),
    radial-gradient(700px 500px at -10% 110%, rgba(201, 150, 94, 0.12), transparent 60%),
    var(--ink);
  padding: calc(var(--header-h) + clamp(2.5rem, 6vw, 4.5rem)) 0 0;
}
.hero::before {
  /* veta de madera muy sutil */
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(100deg, rgba(255, 253, 249, 0.018) 0 2px, transparent 2px 22px);
  pointer-events: none;
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}
.hero h1 { margin-bottom: 0.4em; max-width: 13ch; }
.hero .lead { margin-bottom: 2rem; }

.laser-line {
  position: relative;
  display: block;
  width: min(340px, 70%);
  height: 3px;
  margin: 0 0 1.6rem;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-strong));
  box-shadow: 0 0 14px rgba(255, 138, 61, 0.8), 0 0 2px #fff;
  transform-origin: left;
  animation: laser-draw 1.6s 0.3s var(--ease) both;
}
.laser-line::after {
  content: "";
  position: absolute;
  right: -4px; top: 50%;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: #fff6ec;
  transform: translateY(-50%);
  box-shadow: 0 0 10px 4px rgba(255, 138, 61, 0.95), 0 0 30px 8px rgba(255, 106, 20, 0.55);
  animation: laser-spark 1.6s 0.3s var(--ease) both, laser-flicker 2.8s 2s ease-in-out infinite;
}
@keyframes laser-draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes laser-spark { 0% { opacity: 0; } 15% { opacity: 1; } 100% { opacity: 1; } }
@keyframes laser-flicker { 0%, 100% { opacity: 1; } 45% { opacity: 0.55; } 55% { opacity: 0.95; } }

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 1.8rem; }

.phone-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.phone-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 8px;
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.06);
  border: 1px solid var(--line-light);
  text-decoration: none;
  color: var(--white);
  font-weight: 700;
  transition: background-color 0.2s, border-color 0.2s;
}
.phone-chip:hover { background: rgba(255, 253, 249, 0.12); border-color: rgba(255, 138, 61, 0.5); color: var(--white); }
.phone-chip__ico {
  display: grid; place-items: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink);
}
.phone-chip small { display: block; font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-light); line-height: 1.2; }
.phone-chip span { line-height: 1.25; }

/* Collage de fotos del hero */
.hero__media { position: relative; padding: 0 0 56px 40px; }
.hero__main {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8);
  aspect-ratio: 4 / 5;
}
.hero__main img { width: 100%; height: 100%; object-fit: cover; }
.hero__main::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(21, 17, 14, 0.55));
}
.hero__caption {
  position: absolute;
  left: 18px; top: 18px;
  z-index: 1;
  max-width: calc(100% - 150px);
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(21, 17, 14, 0.72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.35;
  color: rgba(255, 253, 249, 0.92);
}
.hero__card {
  position: absolute;
  left: 0; bottom: 0;
  width: 54%;
  border-radius: 18px;
  overflow: hidden;
  background: var(--white);
  color: var(--text);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.75);
  border: 5px solid var(--white);
  animation: float-card 7s ease-in-out infinite;
}
.hero__card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; border-radius: 12px; }
.hero__card figcaption { padding: 10px 8px 6px; font-size: 0.82rem; font-weight: 700; line-height: 1.3; }
.hero__card figcaption span { display: block; color: var(--accent-text); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; }
@keyframes float-card { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.hero__badge {
  position: absolute;
  top: 22px; right: -14px;
  display: grid;
  place-items: center;
  width: 118px; height: 118px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink);
  text-align: center;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-transform: uppercase;
  box-shadow: 0 18px 40px -14px rgba(224, 122, 34, 0.9);
  transform: rotate(-8deg);
}
.hero__badge strong { display: block; font-family: var(--font-display); font-size: 1.15rem; letter-spacing: 0; text-transform: none; font-style: italic; }

/* Datos rápidos bajo el hero */
.facts {
  position: relative;
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(3rem, 6vw, 5rem);
  border-top: 1px solid var(--line-light);
}
.fact { padding: 26px 22px 30px 0; }
.fact + .fact { padding-left: 22px; border-left: 1px solid var(--line-light); }
.fact__value { display: block; font-family: var(--font-display); font-size: clamp(1.45rem, 2.4vw, 1.95rem); font-weight: 600; color: var(--white); line-height: 1.1; margin-bottom: 6px; }
.fact__label { font-size: 0.92rem; color: var(--muted-light); line-height: 1.45; }

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: 16ch; }
  .hero__media { max-width: 560px; width: 100%; margin-inline: auto; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .fact:nth-child(n + 3) { border-top: 1px solid var(--line-light); }
}
@media (max-width: 520px) {
  .hero__media { padding-left: 18px; padding-bottom: 46px; }
  .hero__badge { width: 96px; height: 96px; right: -6px; font-size: 0.62rem; }
  .hero__badge strong { font-size: 0.98rem; }
  .hero__card { width: 62%; }
  .hero__actions .btn { flex: 1 1 100%; }
  .fact { padding-right: 12px; }
  .fact + .fact { padding-left: 14px; }
  .fact:nth-child(3) { padding-left: 0; }
}

/* ---------- Cinta de servicios ---------- */
.ticker {
  overflow: hidden;
  background: var(--accent);
  color: var(--ink);
  border-block: 1px solid rgba(0, 0, 0, 0.12);
}
.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker 42s linear infinite;
}
.ticker__group { display: flex; align-items: center; list-style: none; }
.ticker__group li {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 15px 0 15px 22px;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  font-style: italic;
  white-space: nowrap;
}
.ticker__group li::after { content: "✦"; font-style: normal; font-size: 0.8rem; opacity: 0.65; }
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ==========================================================================
   SECCIONES
   ========================================================================== */
.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; position: relative; }
.section--paper { background: var(--paper); }
.section--sand { background: var(--paper-2); }
.section--white { background: var(--white); }
.section--dark { background: var(--ink); color: var(--white); }
.section--dark h2,
.section--dark h3 { color: var(--white); }
.section--tight { padding: clamp(3rem, 6vw, 4.5rem) 0; }

/* ---------- Dos oficios ---------- */
.trades { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2rem); }
.trade {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.trade:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.trade__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-2); }
.trade__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.trade:hover .trade__media img { transform: scale(1.04); }
.trade__tag {
  position: absolute;
  left: 18px; top: 18px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(21, 17, 14, 0.78);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--white);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.trade--laser .trade__tag { color: var(--gold); }
.trade__body { display: flex; flex-direction: column; flex: 1; padding: clamp(1.5rem, 3vw, 2.2rem); }
.trade__body h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 0.35em; }
.trade__body > p { color: var(--muted); }
.checklist { list-style: none; display: grid; gap: 9px; margin: 0.4rem 0 1.6rem; }
.checklist li { position: relative; padding-left: 30px; font-weight: 600; line-height: 1.45; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.18em;
  width: 19px; height: 19px;
  border-radius: 50%;
  background: rgba(224, 122, 34, 0.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z' fill='%23a5500f'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.checklist--2col { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 18px; }
.trade__foot {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}
.trade__phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; text-decoration: none; }
@media (max-width: 860px) {
  .trades { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .checklist--2col { grid-template-columns: 1fr; }
}

/* ---------- Proyectos destacados ---------- */
.projects { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(1rem, 2.4vw, 1.75rem); }
.project {
  position: relative;
  grid-column: span 6;
  min-height: 420px;
  border-radius: 22px;
  overflow: hidden;
  color: var(--white);
  background: var(--ink-2);
  isolation: isolate;
}
.project:nth-child(1) { grid-column: span 7; min-height: 560px; }
.project:nth-child(2) { grid-column: span 5; min-height: 560px; }
.project img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease); }
.project::after {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(21, 17, 14, 0) 30%, rgba(21, 17, 14, 0.88) 100%);
}
.project:hover img { transform: scale(1.05); }
.project__body { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(1.4rem, 3vw, 2rem); }
.project__tag { display: inline-block; margin-bottom: 10px; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent-strong); }
.project h3 { color: var(--white); margin-bottom: 0.35em; }
.project p { margin: 0; color: rgba(255, 253, 249, 0.82); max-width: 46ch; font-size: 0.98rem; }
.project__inset {
  position: absolute;
  top: 18px; right: 18px;
  width: 30%;
  max-width: 170px;
  border-radius: 14px;
  overflow: hidden;
  border: 4px solid rgba(255, 253, 249, 0.92);
  box-shadow: 0 16px 30px -10px rgba(0, 0, 0, 0.7);
}
.project__inset img { position: static; aspect-ratio: 3 / 4; object-fit: cover; z-index: auto; }
.project__inset span { position: absolute; left: 0; right: 0; bottom: 0; padding: 4px 6px; font-size: 0.66rem; font-weight: 800; text-align: center; letter-spacing: 0.06em; background: rgba(21, 17, 14, 0.78); }
@media (max-width: 900px) {
  .project,
  .project:nth-child(1),
  .project:nth-child(2) { grid-column: span 12; min-height: 440px; }
}

/* ---------- Galería ---------- */
.gallery { columns: 3 280px; column-gap: 18px; }
.gallery__item {
  position: relative;
  break-inside: avoid;
  margin: 0 0 18px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-2);
  box-shadow: var(--shadow-soft);
}
.gallery__item[hidden] { display: none; }
.gallery__btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  text-align: left;
  color: inherit;
}
.gallery__btn img { width: 100%; height: auto; transition: transform 0.9s var(--ease), filter 0.4s; }
.gallery__btn:hover img { transform: scale(1.035); }
.gallery__item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 34px 16px 14px;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.35;
  background: linear-gradient(180deg, transparent, rgba(21, 17, 14, 0.82));
  pointer-events: none;
}
.gallery__item figcaption small { display: block; color: var(--accent-strong); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 2px; }
.gallery-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 2.5rem; }

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 2rem; }
.filter {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1.5px solid rgba(36, 29, 23, 0.2);
  background: transparent;
  font: 700 0.95rem/1.2 var(--font-body);
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s;
}
.filter:hover { border-color: var(--accent); }
.filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.filter span { opacity: 0.6; font-weight: 600; margin-left: 4px; }

/* ---------- El taller ---------- */
.about { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.about__media { position: relative; padding: 0 12% 12% 0; }
.about__main { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 5; }
.about__main img { width: 100%; height: 100%; object-fit: cover; }
.about__second {
  position: absolute;
  right: 0; bottom: 0;
  width: 58%;
  border-radius: 18px;
  overflow: hidden;
  border: 6px solid var(--paper-2);
  box-shadow: var(--shadow);
}
.about__second img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.about__text p { color: var(--muted); }
.about__text p strong { color: var(--text); }
.pillars { list-style: none; display: grid; gap: 14px; margin-top: 1.8rem; }
.pillar { display: flex; gap: 16px; align-items: flex-start; padding: 16px 18px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); }
.pillar__ico { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--ink); color: var(--accent-strong); }
.pillar__ico .ico { width: 22px; height: 22px; }
.pillar strong { display: block; font-size: 1.02rem; }
.pillar span { color: var(--muted); font-size: 0.95rem; line-height: 1.5; }
@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; }
  .about__media { max-width: 560px; }
}

/* ---------- Proceso ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: step; }
.step {
  position: relative;
  padding: 28px 24px 26px;
  border-radius: 20px;
  background: var(--ink-2);
  border: 1px solid var(--line-light);
  counter-increment: step;
}
.step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 500;
  font-style: italic;
  line-height: 1;
  color: var(--accent-strong);
  text-shadow: 0 0 22px rgba(255, 138, 61, 0.45);
}
.step h3 { font-size: 1.28rem; color: var(--white); }
.step p { margin: 0; color: var(--muted-light); font-size: 0.97rem; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Zona de trabajo ---------- */
.area { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.area__text p { color: var(--muted); }
.towns { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.towns li {
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  font-weight: 700;
  font-size: 0.95rem;
}
.towns li.is-base { background: var(--ink); border-color: var(--ink); color: var(--white); }
.towns li.is-base::before { content: "● "; color: var(--accent-strong); }
.area__card {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  border-radius: 18px;
  background: var(--white);
  border: 1px solid var(--line);
}
.area__card p { margin: 0; flex: 1 1 220px; color: var(--muted); font-size: 0.97rem; }
.area__card strong { color: var(--text); }
@media (max-width: 860px) { .area { grid-template-columns: 1fr; } }

/* ---------- Preguntas frecuentes ---------- */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 12px; }
.faq details {
  border-radius: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.faq details[open] { border-color: rgba(224, 122, 34, 0.45); box-shadow: var(--shadow-soft); }
.faq summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 20px 60px 20px 24px;
  font-weight: 800;
  font-size: 1.04rem;
  line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 22px; top: 50%;
  width: 26px; height: 26px;
  margin-top: -13px;
  border-radius: 50%;
  background: var(--paper-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M11 5h2v14h-2zM5 11h14v2H5z' fill='%2315110e'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform 0.3s var(--ease), background-color 0.3s;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--accent); }
.faq__answer { padding: 0 24px 22px; color: var(--muted); }
.faq__answer p:last-child { margin: 0; }

/* ---------- Contacto ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact__cards { display: grid; gap: 14px; }
.ccard {
  padding: 22px 22px 20px;
  border-radius: 18px;
  background: var(--ink-2);
  border: 1px solid var(--line-light);
}
.ccard h3 { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; margin-bottom: 12px; }
.ccard h3 .ico { color: var(--accent-strong); width: 22px; height: 22px; }
.ccard__links { display: grid; gap: 8px; list-style: none; }
.ccard__links a,
.ccard__links span { display: inline-flex; align-items: center; gap: 10px; color: var(--muted-light); text-decoration: none; font-weight: 600; word-break: break-word; }
.ccard__links a:hover { color: var(--white); }
.ccard__links .ico { color: var(--accent); }
.ccard__links strong { color: var(--white); font-size: 1.12rem; }
.hours { width: 100%; border-collapse: collapse; font-size: 0.97rem; }
.hours th { text-align: left; font-weight: 600; color: var(--muted-light); padding: 6px 0; }
.hours td { text-align: right; font-weight: 700; color: var(--white); padding: 6px 0; }
.hours tr + tr { border-top: 1px solid var(--line-light); }
.hours tr.is-today th,
.hours tr.is-today td { color: var(--accent-strong); }

.form {
  padding: clamp(1.5rem, 3.5vw, 2.4rem);
  border-radius: 24px;
  background: var(--white);
  color: var(--text);
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.7);
}
.form h3,
.section--dark .form h3 { margin-bottom: 0.25em; color: var(--text); font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.form__intro { color: var(--muted); margin-bottom: 1.4rem; font-size: 0.98rem; }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: grid; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label,
.field legend { font-weight: 800; font-size: 0.9rem; }
.field label small { font-weight: 600; color: var(--muted); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  border-radius: 12px;
  border: 1.5px solid rgba(36, 29, 23, 0.18);
  background: var(--paper);
  font: 500 1rem/1.4 var(--font-body);
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--accent); background: var(--white); box-shadow: 0 0 0 4px rgba(224, 122, 34, 0.18); }
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-color: #c0392b; }
.choice-group { border: 0; padding: 0; margin: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 7px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1.5px solid rgba(36, 29, 23, 0.18);
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.2s;
}
.choice input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--white); }
.choice input:focus-visible + span { outline: 3px solid var(--accent-strong); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 0.9rem; color: var(--muted); line-height: 1.5; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 6px; }
.form__note { font-size: 0.86rem; color: var(--muted); margin: 0; }
.form-msg { display: none; gap: 12px; align-items: flex-start; margin-top: 16px; padding: 14px 16px; border-radius: 14px; font-weight: 600; font-size: 0.95rem; }
.form-msg .ico { width: 22px; height: 22px; flex: none; }
.form-msg.is-visible { display: flex; }
.form-msg--ok { background: #e8f5ec; color: #1d6b3a; }
.form-msg--err { background: #fbeaea; color: #8f2a20; }
.form-msg a { font-weight: 800; color: inherit; }
.form.is-sending button[type="submit"] { opacity: 0.6; pointer-events: none; }
@media (max-width: 960px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form__grid { grid-template-columns: 1fr; } .form__actions .btn { flex: 1 1 100%; } }

/* ---------- Banda de llamada a la acción ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: clamp(2rem, 5vw, 3.5rem);
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(255, 138, 61, 0.28), transparent 60%),
    var(--ink);
  color: var(--white);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px 40px;
  align-items: center;
}
.cta-band h2 { color: var(--white); margin-bottom: 0.25em; font-size: clamp(1.7rem, 3vw, 2.5rem); }
.cta-band p { margin: 0; color: var(--muted-light); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 820px) { .cta-band { grid-template-columns: 1fr; } }

/* ==========================================================================
   PÁGINAS INTERIORES
   ========================================================================== */
.page-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(800px 460px at 92% 0%, rgba(224, 122, 34, 0.2), transparent 60%),
    var(--ink);
  padding: calc(var(--header-h) + clamp(2.2rem, 5vw, 3.8rem)) 0 clamp(3rem, 6vw, 5rem);
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(100deg, rgba(255, 253, 249, 0.018) 0 2px, transparent 2px 22px);
  pointer-events: none;
}
.page-hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.page-hero__grid--solo { grid-template-columns: minmax(0, 1fr); max-width: 860px; }
.page-hero h1 { font-size: clamp(2.3rem, 4.8vw, 3.9rem); }
.page-hero .lead { margin-bottom: 1.8rem; }
.page-hero__img { border-radius: 24px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8); aspect-ratio: 5 / 4; }
.page-hero__img img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 900px) { .page-hero__grid { grid-template-columns: 1fr; } .page-hero__img { max-width: 620px; } }

.breadcrumb { margin-bottom: 1.6rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; font-size: 0.88rem; font-weight: 600; color: var(--muted-light); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: 0.5; }
.breadcrumb a { color: var(--muted-light); text-decoration: none; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb [aria-current] { color: var(--white); }

/* Índice rápido de servicios */
.jump { display: flex; flex-wrap: wrap; gap: 10px; }
.jump a {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  font-weight: 700;
  font-size: 0.93rem;
  text-decoration: none;
  transition: all 0.2s;
}
.jump a:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* Filas de servicio (imagen + texto alternos) */
.svc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.svc + .svc { margin-top: clamp(4rem, 8vw, 6.5rem); }
.svc:nth-of-type(even) .svc__media { order: 2; }
.svc__num { display: block; font-family: var(--font-display); font-style: italic; font-size: 1rem; font-weight: 500; color: var(--accent-text); margin-bottom: 0.6rem; }
.svc h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
.svc__text > p { color: var(--muted); }
.svc__media { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.svc__media figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); background: var(--paper-2); }
.svc__media figure:only-child { grid-column: 1 / -1; }
.svc__media figure.is-wide { grid-column: 1 / -1; }
.svc__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
.svc__media figure.is-wide img { aspect-ratio: 16 / 10; }
.svc__media figcaption {
  position: absolute;
  left: 10px; bottom: 10px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(21, 17, 14, 0.8);
  color: var(--white);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}
@media (max-width: 900px) {
  .svc { grid-template-columns: 1fr; }
  .svc:nth-of-type(even) .svc__media { order: 0; }
}

/* Tarjetas de producto (láser) */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.4vw, 1.6rem); }
.card {
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card__media { aspect-ratio: 1 / 1; overflow: hidden; background: var(--paper-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__body { padding: 22px 22px 24px; }
.card__body h3 { font-size: 1.32rem; margin-bottom: 0.4em; }
.card__body p { color: var(--muted); font-size: 0.97rem; margin: 0; }
.card__examples { margin-top: 12px !important; font-size: 0.86rem !important; color: var(--accent-text) !important; font-weight: 700; }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }

/* Especificaciones */
.specs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.spec { padding: 22px; border-radius: 18px; background: var(--ink-2); border: 1px solid var(--line-light); }
.spec strong { display: block; font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--white); line-height: 1.15; margin-bottom: 6px; }
.spec span { color: var(--muted-light); font-size: 0.95rem; line-height: 1.5; }
@media (max-width: 900px) { .specs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .specs { grid-template-columns: 1fr; } }

.swatches { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.swatches span { width: 26px; height: 26px; border-radius: 7px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15); }

/* Ventajas */
.why { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; list-style: none; }
.why li { padding: 24px 22px; border-radius: 18px; background: var(--white); border: 1px solid var(--line); }
.why .pillar__ico { margin-bottom: 14px; }
.why strong { display: block; font-size: 1.08rem; margin-bottom: 4px; }
.why span { color: var(--muted); font-size: 0.95rem; line-height: 1.5; }
@media (max-width: 960px) { .why { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .why { grid-template-columns: 1fr; } }

/* Textos legales */
.legal { max-width: 820px; }
.legal h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-top: 2.2rem; }
.legal p,
.legal li { color: var(--muted); }
.legal ul { padding-left: 1.2rem; margin-bottom: 1em; }
.legal li { margin-bottom: 0.4em; }
.legal table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: 0.95rem; }
.legal th,
.legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { background: var(--paper-2); }
.pending { background: #fff3cd; color: #7a5a00; padding: 1px 6px; border-radius: 5px; font-weight: 700; }

/* ==========================================================================
   PIE
   ========================================================================== */
.footer { background: #0e0b09; color: var(--muted-light); padding-top: clamp(3.5rem, 7vw, 5rem); border-top: 1px solid var(--line-light); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 3rem); padding-bottom: 3rem; }
.footer .brand { margin-bottom: 1.2rem; }
.footer p { font-size: 0.96rem; }
.footer h3 { font-family: var(--font-body); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--white); margin-bottom: 1.1rem; }
.footer ul { list-style: none; display: grid; gap: 9px; }
.footer a { color: var(--muted-light); text-decoration: none; overflow-wrap: anywhere; }
.footer a:hover { color: var(--accent-strong); }
.footer__social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.2rem; }
.footer__social a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-light);
  font-weight: 700;
  font-size: 0.88rem;
}
.footer__social a:hover { border-color: var(--accent); }
.footer__bar { border-top: 1px solid var(--line-light); padding: 20px 0 26px; font-size: 0.86rem; }
.footer__bar-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 18px; }
@media (max-width: 960px) { .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer__grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- WhatsApp flotante (con selector carpintería / láser) ---------- */
.wa { position: fixed; right: 18px; bottom: 18px; z-index: 90; }
.wa__btn {
  display: grid; place-items: center;
  width: 60px; height: 60px;
  border-radius: 50%;
  border: 0;
  background: #25d366;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 14px 30px -8px rgba(0, 0, 0, 0.45);
  transition: transform 0.25s var(--ease);
}
.wa__btn:hover { transform: scale(1.06); }
.wa__btn .ico { width: 30px; height: 30px; }
.wa__menu {
  position: absolute;
  right: 0; bottom: 74px;
  width: 270px;
  padding: 10px;
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 24px 50px -16px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.25s var(--ease);
}
.wa.is-open .wa__menu { opacity: 1; visibility: visible; transform: none; }
.wa__menu p { margin: 6px 10px 8px; font-size: 0.82rem; font-weight: 700; color: var(--muted); }
.wa__menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--text);
  font-weight: 800;
  line-height: 1.25;
}
.wa__menu a:hover { background: var(--paper); color: var(--text); }
.wa__menu a small { display: block; font-weight: 600; color: var(--muted); }
.wa__menu .ico { width: 26px; height: 26px; color: #1f9d55; }

/* ---------- Visor de fotos ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 64px;
  align-items: center;
  padding: 24px 12px;
  background: rgba(10, 8, 6, 0.94);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox figure { margin: 0; display: grid; justify-items: center; gap: 14px; grid-column: 2; }
.lightbox img { max-height: calc(100dvh - 140px); width: auto; max-width: 100%; border-radius: 12px; object-fit: contain; }
.lightbox figcaption { color: var(--white); font-weight: 700; text-align: center; max-width: 60ch; }
.lightbox figcaption small { display: block; color: var(--accent-strong); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; }
.lightbox button {
  display: grid; place-items: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 253, 249, 0.25);
  background: rgba(255, 253, 249, 0.08);
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}
.lightbox button:hover { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.lightbox__close { position: absolute; top: 16px; right: 16px; }
.lightbox__prev { grid-column: 1; justify-self: center; }
.lightbox__next { grid-column: 3; justify-self: center; }
@media (max-width: 600px) {
  .lightbox { grid-template-columns: 1fr; padding: 70px 10px 90px; }
  .lightbox figure { grid-column: 1; grid-row: 1; }
  .lightbox__prev,
  .lightbox__next { position: absolute; bottom: 22px; }
  .lightbox__prev { left: calc(50% - 64px); }
  .lightbox__next { left: calc(50% + 12px); }
}

/* ---------- Animaciones de aparición ---------- */
/* Solo se ocultan si el JS está activo (clase .js en <html>); sin JS todo se ve normal */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: 0.1s; }
.js .reveal[data-delay="2"] { transition-delay: 0.2s; }
.js .reveal[data-delay="3"] { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .ticker__track { animation: none; }
}
