/* La Vitrina — sistema de diseño "escaparate curado" (v2).
   Patrón de referencia: milmelones.com (traducción de patrón, no clon de marca).
   Identidad propia: fondo crema + tinta (bordes 1.5px + sombras duras offset) +
   dorado como acento primario + cobre como contrapunto.
   Tipografía: grotesca display + grotesca body (system stack, offline-safe).
   Offline-safe: sin CDN. Contenido visible sin JS. */

:root {
  --crema: #faf7f0;
  --crema-2: #f0ece1;
  --card: #fffdf8;
  --tinta: #16180f;
  --vitrina: #b5893a;
  --vitrina-oscura: #8a6a1e;
  --pulpa: #d97a2f;
  --hoja: #f3e7c9;
  --muted: #5a5c50;
  --muted-2: #8b8d7f;
  --familia-bg: #16180f;
  --familia-txt: #f0ece1;
  --familia-link: #e8c27a;
  --radius-blob: 2rem;
  --shadow-hard: 0 4px 0 var(--tinta);
  --shadow-hard-lg: 0 10px 0 var(--tinta);
  --font-display: 'Bricolage Grotesque', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Schibsted Grotesk', 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--crema);
  color: var(--tinta);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* Grano global (patrón milmelones) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.12;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

.shell { max-width: 1120px; margin: 0 auto; padding: 6.5rem 1.25rem 3rem; }
.shell--inner { max-width: 1120px; margin: 0 auto; padding: 0 1.25rem; }

/* ---------- Header: píldora flotante ---------- */
.site-header {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  width: min(1060px, calc(100vw - 1.5rem));
  padding: 0.7rem 1.2rem;
  background: rgba(255, 253, 248, 0.9);
  border: 1.5px solid var(--tinta);
  border-radius: 999px;
  box-shadow: var(--shadow-hard);
  backdrop-filter: blur(8px);
}
.brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}
.brand em { color: var(--vitrina-oscura); font-style: normal; }
.brand a { color: var(--tinta); text-decoration: none; }
.nav { display: flex; gap: 0.4rem; flex-wrap: wrap; align-items: center; }
.nav a {
  color: var(--tinta);
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
}
.nav a:hover { background: var(--hoja); border-color: var(--tinta); }
.nav .nav-cta {
  background: var(--tinta);
  color: var(--crema);
  border-color: var(--tinta);
}
.nav .nav-cta:hover { background: var(--vitrina-oscura); border-color: var(--vitrina-oscura); color: #fff; }
.nav-toggle {
  display: none;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--tinta);
  background: var(--hoja);
  border: 1.5px solid var(--tinta);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  cursor: pointer;
}

/* ---------- Tipografía ---------- */
h1, h2, h3 { font-family: var(--font-display); letter-spacing: -0.03em; }
h1 { font-size: clamp(2.1rem, 4.85vw, 3.6rem); line-height: 0.95; font-weight: 800; margin: 2rem 0 1rem; }
h2 { font-size: clamp(1.6rem, 3.35vw, 2.4rem); line-height: 1; font-weight: 800; margin: 2.6rem 0 0.6rem; }
h3 { font-size: 1.15rem; font-weight: 800; }
h1 em, h2 em { color: var(--vitrina-oscura); font-style: normal; }
.lead { max-width: 64ch; color: var(--muted); margin-bottom: 1.5rem; font-size: 1.1rem; }
.lead strong { color: var(--tinta); }
.sub { color: var(--muted); margin-bottom: 1rem; font-size: 0.9rem; }
.kicker {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--pulpa);
  margin-bottom: 0.4rem;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.98rem;
  color: var(--tinta);
  background: var(--vitrina);
  border: 1.5px solid var(--tinta);
  border-radius: 999px;
  padding: 0.85rem 1.8rem;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--shadow-hard);
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.btn:hover { transform: translateY(2px); box-shadow: 0 2px 0 var(--tinta); background: var(--vitrina-oscura); color: #fff; }
.btn-outline { background: transparent; }
.btn-outline:hover { background: var(--tinta); color: var(--crema); }
.btn-dark { background: var(--tinta); color: var(--crema); }
.btn-dark:hover { background: var(--vitrina-oscura); color: #fff; }
.btn-lg { padding: 1rem 2.2rem; font-size: 1.05rem; }
.btn:focus-visible, .nav a:focus-visible, .search button:focus-visible { outline: 3px solid var(--pulpa); outline-offset: 2px; }

/* ---------- Buscador ---------- */
.search { display: flex; gap: 0.5rem; max-width: 560px; margin-bottom: 1.5rem; }
.search input {
  flex: 1;
  padding: 0.85rem 1.1rem;
  border: 1.5px solid var(--tinta);
  border-radius: 999px;
  font-size: 0.98rem;
  background: var(--card);
  font-family: var(--font-body);
  box-shadow: 0 2px 0 var(--tinta);
}
.search button {
  padding: 0.85rem 1.5rem;
  border: 1.5px solid var(--tinta);
  border-radius: 999px;
  background: var(--tinta);
  color: var(--crema);
  font-weight: 800;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.92rem;
  box-shadow: 0 2px 0 var(--tinta);
}
.search button:hover { background: var(--vitrina-oscura); }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2rem; align-items: center; margin: 1rem 0 2rem; }
.hero-split { overflow: hidden; display: inline-block; }
[data-pane="hero-empresa"] h2.hero-split { font-size: clamp(2.1rem, 4.85vw, 3.6rem); line-height: 0.95; margin: 2rem 0 1rem; }
.hero-char { display: inline-block; will-change: transform, opacity; backface-visibility: hidden; }

.toggle {
  display: inline-flex;
  border: 1.5px solid var(--tinta);
  border-radius: 999px;
  overflow: hidden;
  background: var(--card);
  box-shadow: var(--shadow-hard);
  margin-bottom: 1.4rem;
}
.toggle button {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.88rem;
  padding: 0.6rem 1.1rem;
  border: none;
  background: transparent;
  color: var(--tinta);
  cursor: pointer;
}
.toggle button.is-active { background: var(--vitrina); }
.toggle button:not(.is-active):hover { background: var(--hoja); }

.hero-ctas { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: 1.2rem; }

/* ---------- Mural de fichas (auto-scroll) ---------- */
.mural { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.9rem; max-height: 560px; overflow: hidden; position: relative; }
.mural::before, .mural::after {
  content: ""; position: absolute; left: 0; right: 0; height: 44px; z-index: 3; pointer-events: none;
}
.mural::before { top: 0; background: linear-gradient(to bottom, var(--crema), transparent); }
.mural::after { bottom: 0; background: linear-gradient(to top, var(--crema), transparent); }
.mural-col { display: flex; flex-direction: column; gap: 0.9rem; animation: mm-defile 42s linear infinite; }
.mural-col:nth-child(2) { animation-delay: -14s; }
.mural-col:nth-child(3) { animation-delay: -28s; }
.mural:hover .mural-col { animation-play-state: paused; }
@keyframes mm-defile { from { transform: translateY(0); } to { transform: translateY(-50%); } }

.mural-card {
  background: var(--card);
  border: 1.5px solid var(--tinta);
  border-radius: 1.4rem;
  padding: 0.9rem 1rem;
  box-shadow: var(--shadow-hard);
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}
.mural-card .mc-name { font-family: var(--font-display); font-weight: 800; font-size: 0.98rem; line-height: 1.1; }
.mural-card .mc-tipo { font-size: 0.78rem; color: var(--muted); }
.mural-card .mc-meta { display: flex; align-items: center; gap: 0.4rem; margin-top: 0.35rem; flex-wrap: wrap; }
.mural-card .mc-badge { background: var(--hoja); color: var(--vitrina-oscura); font-size: 0.68rem; font-weight: 800; border: 1.5px solid var(--tinta); border-radius: 999px; padding: 0.15rem 0.55rem; }
.mural-card .mc-badge--dest { background: var(--pulpa); color: #fff; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0.9rem; margin: 1.5rem 0; }
.stat {
  background: var(--card);
  border: 1.5px solid var(--tinta);
  border-radius: 1.4rem;
  padding: 1rem 1.2rem;
  text-align: center;
  box-shadow: var(--shadow-hard);
}
.stat b { display: block; font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: var(--vitrina-oscura); font-variant-numeric: tabular-nums; }
.stat span { font-size: 0.82rem; color: var(--muted); font-weight: 600; }

/* ---------- Grillas y tarjetas ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.1rem; }
.card {
  background: var(--card);
  border: 1.5px solid var(--tinta);
  border-radius: var(--radius-blob);
  padding: 1.3rem;
  box-shadow: var(--shadow-hard);
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
  will-change: transform;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hard-lg); border-color: var(--vitrina-oscura); }
.card h3, .card h2 { margin-bottom: 0.3rem; font-size: 1.15rem; }
.card h3 a, .card h2 a { color: var(--tinta); text-decoration: none; }
.card h3 a:hover, .card h2 a:hover { color: var(--vitrina-oscura); text-decoration: underline; }
.card p { color: var(--muted); font-size: 0.95rem; margin: 0.5rem 0; }
.card .card-link { display: inline-block; margin-top: 0.5rem; color: var(--vitrina-oscura); font-weight: 800; font-size: 0.9rem; text-decoration: none; }
.card .card-link:hover { text-decoration: underline; }

.card--tilt-l { transform: rotate(-1deg); }
.card--tilt-r { transform: rotate(1deg); }
.card--accent { background: var(--pulpa); color: #fff; }
.card--accent p { color: rgba(255,255,255,0.92); }
.card--dark { background: var(--tinta); color: var(--crema); }
.card--dark p { color: var(--muted-2); }
.card--dark h3 a { color: var(--crema); }

/* ---------- Badges y tags ---------- */
.badge {
  background: var(--vitrina);
  color: #fff;
  border-radius: 999px;
  padding: 0.2rem 0.7rem;
  font-size: 0.72rem;
  font-family: var(--font-body);
  font-weight: 800;
  border: 1.5px solid var(--tinta);
  display: inline-block;
  margin-right: 4px;
}
.badge--ghost { background: var(--hoja); color: var(--vitrina-oscura); }
.badge--dest { background: var(--pulpa); color: #fff; }
.tags { margin-top: 0.6rem; }
.tag {
  display: inline-block;
  background: var(--hoja);
  color: var(--vitrina-oscura);
  border: 1.5px solid var(--tinta);
  border-radius: 999px;
  padding: 0.15rem 0.65rem;
  font-size: 0.75rem;
  margin: 0 4px 4px 0;
  font-weight: 700;
}

/* ---------- Pasos (cómo funciona) ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.1rem; margin-top: 1.2rem; }
.step {
  background: var(--card);
  border: 1.5px solid var(--tinta);
  border-radius: var(--radius-blob);
  padding: 1.4rem;
  box-shadow: var(--shadow-hard);
  position: relative;
}
.step-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.8rem;
  line-height: 1;
  margin-bottom: 0.6rem;
}
.step-num--outline { color: transparent; -webkit-text-stroke: 2px var(--tinta); }
.step-num--accent { color: var(--pulpa); }
.step-num--brand { color: var(--vitrina-oscura); }
.step h3 { margin-bottom: 0.3rem; }
.step p { color: var(--muted); font-size: 0.95rem; }

/* ---------- Niveles de ficha ---------- */
.levels { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.1rem; margin-top: 1.2rem; }
.level {
  background: var(--card);
  border: 1.5px solid var(--tinta);
  border-radius: var(--radius-blob);
  padding: 1.5rem;
  box-shadow: var(--shadow-hard);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.level--accent { background: var(--pulpa); color: #fff; }
.level--accent p, .level--accent .lv-muted { color: rgba(255,255,255,0.92); }
.level--dark { background: var(--tinta); color: var(--crema); }
.level--dark p, .level--dark .lv-muted { color: var(--muted-2); }
.level .lv-tag { align-self: flex-start; }
.lv-title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; }
.lv-muted { color: var(--muted); font-size: 0.92rem; }
.level ul { list-style: none; margin: 0.4rem 0; }
.level li { padding: 0.25rem 0; font-size: 0.94rem; display: flex; gap: 0.5rem; align-items: baseline; }
.level li::before { content: "✓"; color: var(--vitrina-oscura); font-weight: 800; }
.level--accent li::before { color: var(--tinta); }
.level .btn { margin-top: auto; }

/* ---------- Categorías / verticales ---------- */
.categorias { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.1rem; }
.cat {
  position: relative;
  border: 1.5px solid var(--tinta);
  border-radius: var(--radius-blob);
  overflow: hidden;
  background: var(--card);
  box-shadow: var(--shadow-hard);
  min-height: 200px;
  display: flex;
  align-items: flex-end;
  text-decoration: none;
  transition: transform 0.18s, box-shadow 0.18s;
}
.cat:hover { transform: translateY(-6px) scale(1.01); box-shadow: var(--shadow-hard-lg); }
.cat-portada {
  position: absolute;
  inset: 0;
  filter: grayscale(0.85);
  opacity: 0.55;
  transition: filter 0.25s, opacity 0.25s, transform 0.25s;
}
.cat:hover .cat-portada { filter: grayscale(0); opacity: 0.9; transform: scale(1.05); }
.cat-cover {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(22,24,15,0.85) 0%, transparent 60%);
}
.cat-body { position: relative; z-index: 2; padding: 1.2rem; width: 100%; }
.cat-body .cat-tag { display: inline-block; background: var(--vitrina); color: #fff; font-weight: 800; font-size: 0.7rem; border: 1.5px solid var(--tinta); border-radius: 999px; padding: 0.15rem 0.6rem; margin-bottom: 0.45rem; }
.cat-body h3, .cat-body h2 { color: #fff; margin-bottom: 0.15rem; font-size: 1.25rem; }
.cat-body p { color: rgba(240,236,225,0.9); font-size: 0.85rem; }

/* Portadas de categoría por vertical (gradientes de marca, sin assets) */
.cat-portada.c1 { background: radial-gradient(circle at 30% 20%, #e8c27a, #b5893a 60%, #8a6a1e); }
.cat-portada.c2 { background: radial-gradient(circle at 70% 30%, #d9b98a, #a8703f 60%, #6e4a22); }
.cat-portada.c3 { background: radial-gradient(circle at 40% 70%, #f0c0a0, #d97a2f 60%, #a05020); }
.cat-portada.c4 { background: radial-gradient(circle at 60% 60%, #c9c2ae, #6e6a5e 60%, #3a3a30); }
.cat-portada.c5 { background: radial-gradient(circle at 25% 75%, #cfe0b2, #8a9a5e 60%, #4f6b1d); }

/* ---------- Familia / servicios (2x2) ---------- */
.familia-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.1rem; margin-top: 1.2rem; }
.servicio {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--card);
  border: 1.5px solid var(--tinta);
  border-radius: 1.6rem;
  padding: 1.2rem 1.3rem;
  box-shadow: var(--shadow-hard);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}
.servicio:hover { transform: translateY(-3px); box-shadow: var(--shadow-hard-lg); border-color: var(--vitrina-oscura); }
.servicio .sv-sigla {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.2rem; height: 2.2rem;
  background: var(--vitrina); color: #fff;
  font-family: var(--font-display); font-weight: 800;
  border: 1.5px solid var(--tinta); border-radius: 999px;
  margin-bottom: 0.5rem;
}
.servicio h3 { margin-bottom: 0.2rem; }
.servicio p { color: var(--muted); font-size: 0.9rem; }

/* ---------- Bloque familia / CTA masivo ---------- */
.familia {
  position: relative;
  background: var(--familia-bg);
  color: var(--familia-txt);
  border: 1.5px solid var(--tinta);
  border-radius: 2.2rem;
  padding: 2.6rem 1.8rem;
  margin-top: 3rem;
  text-align: center;
  overflow: visible;
  box-shadow: var(--shadow-hard-lg);
  will-change: transform, opacity;
}
.familia::before, .familia::after {
  content: "";
  position: absolute;
  width: 3.4rem;
  height: 3.4rem;
  border: 1.5px solid var(--tinta);
  border-radius: 999px;
  box-shadow: 0 3px 0 var(--tinta);
}
.familia::before { top: -1.4rem; left: 8%; background: var(--pulpa); }
.familia::after { bottom: -1.4rem; right: 8%; background: var(--card); }
.familia p { max-width: 62ch; margin: 0 auto 0.7rem; }
.familia a { color: var(--familia-link); font-weight: 700; }
.familia h2 { color: var(--crema); }

/* ---------- Para empresas (B2B oscuro) ---------- */
.b2b { background: var(--tinta); color: var(--crema); border-radius: 2.4rem; padding: 2.8rem 1.8rem; margin-top: 3rem; }
.b2b .kicker { color: var(--pulpa); }
.b2b p { color: var(--muted-2); max-width: 60ch; }
.b2b h2 { color: var(--crema); }
.b2b-carrusel { display: flex; gap: 1rem; overflow-x: auto; padding: 1.4rem 0.2rem; scroll-snap-type: x proximity; }
.b2b-card {
  flex: 0 0 220px;
  background: #26281c;
  border: 1.5px solid #3a3a30;
  border-radius: 1.6rem;
  padding: 1.1rem 1.2rem;
  scroll-snap-align: center;
  color: var(--crema);
  transition: transform 0.25s, opacity 0.25s, border-color 0.25s, box-shadow 0.25s;
  will-change: transform, opacity;
}
.b2b-card.is-active { border-color: var(--vitrina); box-shadow: 0 3px 0 var(--vitrina-oscura); }
.b2b-card h3 { font-size: 1rem; margin-bottom: 0.2rem; }
.b2b-card p { color: var(--muted-2); font-size: 0.85rem; }
.b2b-card a { color: var(--familia-link); font-weight: 700; text-decoration: none; }

/* ---------- FAQ ---------- */
.faq { max-width: 920px; margin: 1.2rem 0 1.5rem; }
.faq-tabs { display: grid; grid-template-columns: 1fr 1.4fr; gap: 1.4rem; }
.faq-list { display: flex; flex-direction: column; gap: 0.4rem; }
.faq-tab {
  text-align: left;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.95rem;
  background: transparent;
  border: 1.5px solid var(--tinta);
  border-radius: 999px;
  padding: 0.7rem 1.1rem;
  color: var(--tinta);
  cursor: pointer;
  display: flex;
  gap: 0.7rem;
  align-items: baseline;
  box-shadow: 0 2px 0 var(--tinta);
}
.faq-tab span { color: var(--vitrina-oscura); font-variant-numeric: tabular-nums; }
.faq-tab.is-active { background: var(--vitrina); }
.faq-panel {
  background: var(--card);
  border: 1.5px solid var(--tinta);
  border-radius: 1.8rem;
  padding: 1.6rem;
  box-shadow: var(--shadow-hard);
  min-height: 160px;
}
.faq-panel h3 { margin-bottom: 0.5rem; }
.faq-panel p { color: var(--muted); }
.faq details {
  background: var(--card);
  border: 1.5px solid var(--tinta);
  border-radius: 1.2rem;
  padding: 0.9rem 1.1rem;
  margin-bottom: 0.6rem;
  box-shadow: 0 2px 0 var(--tinta);
}
.faq summary {
  font-family: var(--font-body);
  font-weight: 800;
  color: var(--tinta);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq summary::after { content: "+"; font-size: 1.3rem; color: var(--vitrina-oscura); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); font-size: 0.92rem; margin-top: 0.5rem; }
.faq-list-mobile { display: none; }

/* ---------- Ficha ---------- */
.ficha { background: var(--card); border: 1.5px solid var(--tinta); border-radius: 2rem; padding: 2rem; margin-top: 1.5rem; box-shadow: var(--shadow-hard); }
.ficha .tipo { font-family: var(--font-body); color: var(--vitrina-oscura); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 800; margin-bottom: 0.4rem; }
.ficha .desc { color: #333; font-size: 1.08rem; margin: 1rem 0; }
.ficha .meta { background: var(--crema-2); border: 1.5px solid var(--tinta); border-radius: 1.2rem; padding: 1rem 1.2rem; margin-top: 1.2rem; }
.ficha .meta p { margin: 0.3rem 0; }
.ficha .meta a { color: var(--vitrina-oscura); font-weight: 800; overflow-wrap: anywhere; word-break: break-word; }
.breadcrumb { font-family: var(--font-body); font-size: 0.82rem; color: var(--muted); margin-top: 1.2rem; }
.breadcrumb a { color: var(--vitrina-oscura); text-decoration: none; font-weight: 700; }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- Formularios ---------- */
.form { max-width: 480px; margin-top: 1.5rem; display: grid; gap: 0.8rem; }
.form input { padding: 0.8rem 1rem; border: 1.5px solid var(--tinta); border-radius: 999px; font-size: 0.95rem; background: var(--card); font-family: var(--font-body); }
.form .btn { justify-self: start; border: none; cursor: pointer; }
.form .hint { font-size: 0.8rem; color: var(--muted); }
.alert-ok { background: #e8f5e9; border: 1.5px solid var(--tinta); border-radius: 1.2rem; padding: 1rem; margin-top: 1.5rem; color: #1b5e20; font-weight: 700; box-shadow: 0 2px 0 var(--tinta); }
.alert-error { background: #fdecea; border: 1.5px solid var(--tinta); border-radius: 1.2rem; padding: 1rem; margin-top: 1.5rem; color: #b71c1c; font-weight: 700; box-shadow: 0 2px 0 var(--tinta); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1.5px solid var(--tinta);
  margin-top: 3rem;
  padding: 2rem 0 1.2rem;
  color: var(--muted);
  font-size: 0.88rem;
}
.site-footer a { color: var(--vitrina-oscura); font-weight: 700; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 1.4rem; margin-bottom: 1.4rem; }
.footer-col .footer-title { font-family: var(--font-display); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 0.5rem; color: var(--tinta); font-weight: 800; }
.footer-col a { display: block; padding: 0.18rem 0; }
.footer-legal { border-top: 1px solid var(--tinta); padding-top: 1rem; text-align: center; font-size: 0.8rem; color: var(--muted); }

/* ---------- Motion (GSAP) ---------- */
[data-reveal] { will-change: transform, opacity; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .mural { max-height: 380px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .faq-tabs { grid-template-columns: 1fr; }
  .faq-list { display: none; }
  .faq-list-mobile { display: block; }
}
@media (max-width: 640px) {
  .shell { padding-top: 6.8rem; }
  .grid { grid-template-columns: 1fr; }
  .categorias { grid-template-columns: 1fr; }
  h1 { font-size: 2.1rem; }
  .site-header { border-radius: 1.8rem; padding: 0.6rem 1rem; }
  .nav-toggle { display: inline-block; }
  .nav { display: none; flex-direction: column; align-items: stretch; width: 100%; gap: 0.3rem; padding-top: 0.5rem; border-top: 1.5px solid var(--tinta); margin-top: 0.5rem; }
  .nav.is-open { display: flex; }
  .nav a { text-align: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .search { flex-direction: column; }
  .mural { max-height: 320px; }
}

/* ---------- R7: accesibilidad + micro-interacción + print ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--tinta);
  color: var(--crema);
  padding: 0.7rem 1.2rem;
  border-radius: 0 0 0.9rem 0.9rem;
  font-weight: 800;
  font-size: 0.9rem;
  text-decoration: none;
}
.skip-link:focus { left: 0; }

.hero-search { margin-top: 1.2rem; margin-bottom: 0; }

.site-header.is-scrolled {
  background: rgba(255, 253, 248, 0.97);
  padding: 0.5rem 1.2rem;
  box-shadow: var(--shadow-hard-lg);
}

@media print {
  body::before, .mural, .b2b, .familia, .site-header, .nav-toggle, .hero-ctas, .skip-link { display: none !important; }
  .shell { padding: 0; max-width: 100%; }
  .card, .ficha, .stat, .step, .level, .servicio, .b2b-card { box-shadow: none; border-color: #999; }
  a { color: #000; text-decoration: underline; }
  h1, h2, h3 { -webkit-text-stroke: 0; color: #000; }
}
