/* ============================================================
   FS CUSTOM WELDS — estilos
   Organización: variables → base → componentes por sección
   Nombres técnicos en inglés, comentarios en español.
   ============================================================ */

/* ───── Variables / tema ───── */
:root {
  --bg: #0e0d0b;
  --surface: #15130f;
  --surface-2: #1c1915;
  --line: #2a261f;
  --text: #ece8e2;
  --muted: #9a938a;
  --accent: oklch(0.74 0.16 60);
  --accent-dim: oklch(0.74 0.16 60 / 0.14);
  --display: "Barlow Condensed", sans-serif;
  --body: "Barlow", sans-serif;
  --mono: "IBM Plex Mono", monospace;
  --gal-sat: 1.15;
  --gal-zoom: 1;
  --gal-dim: 1;
}

/* Tono de fondo elegible en Tweaks (carbón = por defecto, arriba) */
body[data-bg="negro"]   { --bg: #070605; --surface: #100e0c; --surface-2: #181511; --line: #262219; }
body[data-bg="grafito"] { --bg: #1a1713; --surface: #221e19; --surface-2: #2a2520; --line: #39332b; }

/* Titulares: Barlow Condensed (la opción "ancha" se descartó —
   Archivo Black descuadraba los anchos pensados para la condensada) */

/* ───── Base ───── */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.h-display {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 0.95;
}
.kicker {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 12px;
}
.kicker::before { content: ""; width: 28px; height: 1px; background: var(--accent); }

/* ───── Nav ───── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav-in {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: 72px;
}
.brand {
  font-family: var(--display); font-weight: 700; font-size: 22px;
  text-transform: uppercase; letter-spacing: 0.04em;
  display: flex; align-items: center; gap: 12px;
  transition: opacity .2s;
}
.brand:hover { opacity: 0.9; }
.brand img.logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
}
.brand b { color: var(--accent); font-weight: 700; }
.nav-links { display: flex; gap: 20px; margin-left: auto; }
.nav-links a {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted);
  white-space: nowrap;
  padding: 6px 0; border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav-links a:hover, .nav-links a.active-nav { color: var(--text); border-color: var(--accent); }
.nav-cta {
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.06em;
  color: var(--bg); background: var(--accent);
  padding: 10px 20px; border-radius: 4px; font-weight: 600;
  white-space: nowrap;
  transition: filter .2s, transform .2s, box-shadow .2s;
}
.nav-cta:hover {
  filter: brightness(1.12);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px var(--accent-dim);
}

/* (sin menú hamburguesa: en móvil los enlaces pasan a una tira
   deslizable — ver bloque responsive al final) */

/* ───── Hero ───── */
.hero {
  position: relative;
  min-height: 95vh;
  display: flex; align-items: flex-end;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-veil {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to top, var(--bg) 6%, color-mix(in srgb, var(--bg) 68%, transparent) 42%, color-mix(in srgb, var(--bg) 25%, transparent) 80%),
    linear-gradient(to right, color-mix(in srgb, var(--bg) 60%, transparent), transparent 65%);
}
.hero-in { position: relative; z-index: 2; padding-block: 160px 80px; width: 100%; }
.hero .lema {
  font-family: var(--mono); font-size: 14px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(56px, 8.5vw, 130px);
  max-width: 12ch;
  margin-bottom: 24px;
}
.hero p.sub { max-width: 52ch; color: var(--muted); font-size: 19px; margin-bottom: 38px; line-height: 1.7; }
.hero p.sub strong { color: var(--text); font-weight: 600; }
.cta-row { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--mono); font-size: 14px; letter-spacing: 0.04em;
  padding: 15px 28px; border-radius: 4px; font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: filter .2s, border-color .2s, background .2s, transform .2s, box-shadow .2s;
}
.btn-solid { background: var(--accent); color: var(--bg); }
.btn-solid:hover {
  filter: brightness(1.15);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--accent-dim);
}
.btn-ghost { border-color: var(--line); color: var(--text); background: color-mix(in srgb, var(--bg) 60%, transparent); }
.btn-ghost:hover {
  border-color: var(--accent);
  background: var(--accent-dim);
  transform: translateY(-2px);
}
.w-100 { width: 100%; }

/* ───── Secciones (genérico) ───── */
section { padding: 120px 0; }
section + section { border-top: 1px solid var(--line); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 60px; flex-wrap: wrap; }
.sec-head h2 { font-size: clamp(40px, 5.2vw, 72px); margin-top: 16px; }
.sec-head .aside { font-family: var(--mono); font-size: 13px; color: var(--muted); max-width: 36ch; text-align: right; line-height: 1.7; }

/* Scroll Reveal Animaciones (Progressive Enhancement: solo con JS activo) */
.js-enabled .reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.js-enabled .reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .js-enabled .reveal-on-scroll { opacity: 1; transform: none; transition: none; }
}

/* ───── Servicios ───── */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.svc {
  background: var(--surface); padding: 36px 30px 42px;
  display: flex; flex-direction: column; gap: 16px;
  min-height: 300px;
  transition: background .3s, transform .3s, box-shadow .3s;
}
.svc:hover {
  background: var(--surface-2);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 1px var(--accent);
  z-index: 2;
}
.svc .num { font-family: var(--mono); font-size: 13px; color: var(--accent); letter-spacing: 0.1em; }
.svc h3 { font-family: var(--display); font-size: 28px; font-weight: 600; text-transform: uppercase; line-height: 1.05; }
.svc p { color: var(--muted); font-size: 15.5px; flex: 1; line-height: 1.6; }
.svc .tag { font-family: var(--mono); font-size: 12px; color: var(--text); background: var(--accent-dim); border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); padding: 4px 10px; border-radius: 3px; align-self: flex-start; }
a.tag-link { transition: background .2s, border-color .2s; }
a.tag-link:hover { background: color-mix(in srgb, var(--accent) 28%, transparent); border-color: var(--accent); }

/* ───── Homologaciones ───── */
.homol-intro { max-width: 72ch; margin-bottom: 56px; }
.homol-intro p { color: var(--muted); font-size: 18px; line-height: 1.75; }
.homol-intro strong { color: var(--text); font-weight: 600; }
.steps {
  list-style: none;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--line); border: 1px solid var(--line);
}
.step {
  background: var(--surface);
  padding: 32px 28px 38px;
  display: flex; flex-direction: column; gap: 14px;
  transition: background .3s;
}
.step:hover { background: var(--surface-2); }
.step-n { font-family: var(--mono); font-size: 13px; color: var(--accent); letter-spacing: 0.1em; }
.step h3 { font-family: var(--display); font-size: 23px; font-weight: 600; text-transform: uppercase; line-height: 1.05; }
.step p { color: var(--muted); font-size: 15px; line-height: 1.6; }
.homol-cta {
  margin-top: 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  background: var(--surface); border: 1px solid var(--line); border-radius: 6px;
  padding: 32px 40px;
}
.homol-cta p {
  font-family: var(--display); font-size: 26px; font-weight: 600;
  text-transform: uppercase; line-height: 1.1; max-width: 26ch;
}

/* ───── Galería (la estrella) ───── */
.gal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 240px;
  gap: 12px;
}
.tile { position: relative; overflow: hidden; border-radius: 6px; cursor: zoom-in; }
.tile.tall { grid-row: span 2; }
.tile.wide { grid-column: span 2; }
.tile img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.02);
  transform: scale(1);
  transition: filter .5s cubic-bezier(0.16, 1, 0.3, 1), transform .5s cubic-bezier(0.16, 1, 0.3, 1), opacity .5s ease;
}
.tile:hover img {
  filter: grayscale(0) saturate(var(--gal-sat)) contrast(1.04);
  transform: scale(var(--gal-zoom));
}
.gal-grid:hover .tile:not(:hover) img { opacity: var(--gal-dim); }
.tile .cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  pointer-events: none;
  padding: 32px 18px 14px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 10%, transparent);
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(255, 255, 255, 0.9);
  opacity: 0; translate: 0 8px;
  transition: opacity .3s, translate .3s;
}
.tile:hover .cap { opacity: 1; translate: 0 0; }
.gal-foot {
  margin-top: 36px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
}
.gal-foot .hint { font-family: var(--mono); font-size: 12.5px; color: var(--muted); }
.ig-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 14px; color: var(--text);
  border: 1px solid var(--line); padding: 13px 24px; border-radius: 4px;
  transition: border-color .2s, background .2s, transform .2s;
}
.ig-link:hover { border-color: var(--accent); background: var(--accent-dim); transform: translateY(-1px); }
.ig-link .at { color: var(--accent); }

/* ───── Lightbox (foto en grande) ───── */
.lightbox {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(8, 7, 5, 0.93);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lb-stage {
  max-width: min(1100px, 86vw);
  display: flex; flex-direction: column; gap: 16px; align-items: center;
}
.lb-stage img {
  max-width: 100%; max-height: 78vh;
  object-fit: contain; border-radius: 6px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
.lb-stage figcaption {
  font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted);
}
.lb-close, .lb-nav {
  background: none; border: 1px solid var(--line); color: var(--text);
  border-radius: 4px; cursor: pointer;
  font-size: 28px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: border-color .2s, background .2s;
}
.lb-close:hover, .lb-nav:hover { border-color: var(--accent); background: var(--accent-dim); }
.lb-close { position: absolute; top: 24px; right: 24px; width: 48px; height: 48px; }
.lb-nav { position: absolute; top: 50%; translate: 0 -50%; width: 52px; height: 72px; font-size: 34px; }
.lb-prev { left: 24px; }
.lb-next { right: 24px; }

/* ───── Testimonios ───── */
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review-card {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 36px;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: border-color .3s, transform .3s, box-shadow .3s;
}
.review-card:hover {
  /* solo cambia el color del borde inferior — sin saltos de layout */
  border-bottom-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}
.review-stars {
  color: var(--accent);
  font-size: 18px;
  letter-spacing: 2px;
}
.review-text {
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  font-style: italic;
  flex: 1;
}
.review-author {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.review-author strong {
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
}
.review-author span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12.5px;
}

/* ───── Precios ───── */
.price-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.price-group h3 {
  font-family: var(--display); font-size: 26px; font-weight: 600; text-transform: uppercase;
  color: var(--text); margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.price-group .note { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-bottom: 24px; }
.price-row {
  display: flex; align-items: baseline; gap: 12px;
  padding: 16px 0; border-bottom: 1px solid var(--line);
}
.price-row .name { font-size: 17px; }
.price-row .name small { display: block; color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.price-row .dots { flex: 1; border-bottom: 1px dotted var(--line); translate: 0 -4px; }
.price-row .val { font-family: var(--mono); font-size: 18px; color: var(--accent); white-space: nowrap; font-weight: 500; }
.price-row .val.soft { color: var(--muted); font-size: 14px; }
.price-foot { margin-top: 36px; font-family: var(--mono); font-size: 13px; color: var(--muted); line-height: 1.8; }
.price-foot a { color: var(--accent); border-bottom: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); }

/* ───── Camisetas / Merch ───── */
.merch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.merch-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: border-color .3s, transform .3s, box-shadow .3s;
}
.merch-card:hover {
  border-color: color-mix(in srgb, var(--line) 60%, var(--accent));
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.merch-ph {
  aspect-ratio: 4 / 5;
  border-radius: 4px;
  border: 1px solid var(--line);
  background: repeating-linear-gradient(45deg, var(--surface) 0 14px, var(--surface-2) 14px 28px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.merch-ph span {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 8px 14px;
  border-radius: 4px;
  letter-spacing: 0.04em;
}
.merch-info {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.merch-info h3 {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.05;
}
.merch-val {
  font-family: var(--mono);
  font-size: 18px;
  color: var(--accent);
  font-weight: 500;
  white-space: nowrap;
}

/* ───── Colaboraciones ───── */
.colab-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 36px;
}
.colab-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color .3s, transform .3s, box-shadow .3s;
}
.colab-card:hover {
  border-color: color-mix(in srgb, var(--line) 50%, var(--accent));
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.colab-logo-area {
  height: 180px;
  background:
    radial-gradient(ellipse 70% 60% at 50% 50%, var(--accent-dim), transparent),
    repeating-linear-gradient(45deg, var(--surface) 0 18px, var(--surface-2) 18px 36px);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--line);
}
.colab-placeholder {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 8px 16px;
  border-radius: 4px;
  letter-spacing: 0.06em;
}
/* Cuando se ponga el logo real: .colab-logo-area img { max-height: 80px; width: auto; object-fit: contain; } */
.colab-body {
  padding: 28px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}
.colab-tag {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-block;
}
.colab-body h3 {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.05;
}
.colab-body p {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.65;
  flex: 1;
}
.colab-actions {
  margin-top: 8px;
}
.colab-disclaimer {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  max-width: 72ch;
  margin: 0 auto;
  line-height: 1.75;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

/* Nota de desarrollo: ocultar en producción si se quiere */
.dev-note { display: none; }

/* ───── El taller ───── */
.about-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }
.about-grid .photo img { width: 100%; height: 500px; object-fit: cover; border-radius: 6px; }
.about-copy h2 { font-size: clamp(36px, 4.5vw, 60px); margin: 14px 0 24px; }
.about-copy p { color: var(--muted); margin-bottom: 20px; max-width: 56ch; font-size: 17.5px; }
.about-copy p strong { color: var(--text); font-weight: 600; }
.sign { font-family: var(--mono); font-size: 13px; color: var(--accent); letter-spacing: 0.12em; text-transform: uppercase; margin-top: 30px; }

/* ───── FAQ ───── */
.faq-accordion {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  transition: border-color .3s;
}
.faq-item:hover {
  border-color: color-mix(in srgb, var(--line) 70%, var(--accent));
}
.faq-item.active {
  border-color: var(--accent);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 24px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  cursor: pointer;
  text-align: left;
  color: var(--text);
  font-family: var(--display);
  font-size: 22px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.faq-icon {
  font-size: 24px;
  font-family: var(--mono);
  color: var(--accent);
  transition: transform 0.3s ease;
}
.faq-item.active .faq-icon {
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-answer p {
  padding: 0 30px 24px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

/* ───── Contacto ───── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.c-item { padding: 20px 0; border-bottom: 1px solid var(--line); }
.c-item:last-child { border-bottom: none; }
.c-item .lbl { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.c-item .big { font-family: var(--display); font-size: 26px; font-weight: 600; text-transform: uppercase; line-height: 1.1; }
.c-item a.big { transition: color .2s; }
.c-item a.big:hover { color: var(--accent); }

/* Formulario interactivo */
.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 40px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.contact-form::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: var(--accent);
  border-radius: 8px 8px 0 0;
}
.contact-form h3 {
  font-family: var(--display);
  font-size: 24px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 4px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-group label {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 0.05em;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--text);
  font-family: var(--body);
  font-size: 15px;
  padding: 12px 16px;
  border-radius: 4px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-form select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1.5L6 6.5L11 1.5' stroke='%239a938a' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}
.form-hint {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--muted);
  text-align: center;
  margin-top: -8px;
}

/* Mapa embebido (Google Maps filtrado a oscuro) */
.map-container {
  grid-column: span 2;
  height: 400px;
  border-radius: 6px;
  border: 1px solid var(--line);
  overflow: hidden;
}
.map-container iframe {
  filter: invert(90%) hue-rotate(180deg) grayscale(65%) contrast(115%);
  width: 100%;
  height: 100%;
}

/* Mapa: pantalla de consentimiento antes de cargar Google Maps */
.map-consent {
  height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; text-align: center; padding: 30px;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, var(--accent-dim), transparent),
    repeating-linear-gradient(45deg, var(--surface) 0 18px, var(--surface-2) 18px 36px);
}
.map-consent .map-addr { font-size: 24px; }
.map-consent .map-note { font-family: var(--mono); font-size: 12.5px; color: var(--muted); max-width: 42ch; }
.map-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }

/* ───── Footer ───── */
footer { border-top: 1px solid var(--line); padding: 36px 0 44px; }
.foot-in { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.foot-in .legal { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0.04em; }
.foot-in .legal a:hover { color: var(--text); }

/* ───── WhatsApp flotante ───── */
.wa-fab {
  position: fixed; right: 26px; bottom: 26px; z-index: 60;
  display: flex; align-items: center; gap: 10px;
  background: #1faa53; color: #fff;
  font-family: var(--mono); font-size: 13.5px; font-weight: 600;
  padding: 14px 22px; border-radius: 100px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
  transition: filter .2s, transform .2s, box-shadow .2s;
}
.wa-fab:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(31, 170, 83, 0.4);
}
.wa-dot { width: 9px; height: 9px; border-radius: 50%; background: #fff; }

/* ───── Responsive ───── */
@media (max-width: 980px) {
  /* Nav sin hamburguesa: marca + teléfono arriba, enlaces en una
     tira horizontal deslizable debajo. Todo visible, cero clics. */
  .nav-in { flex-wrap: wrap; height: auto; padding-top: 12px; row-gap: 0; }
  .brand { font-size: 19px; }
  .brand img.logo-img { height: 30px; }
  .nav-cta { margin-left: auto; padding: 8px 14px; font-size: 12px; }
  .nav-links {
    order: 3; width: 100%; margin-left: 0;
    overflow-x: auto; gap: 20px;
    /* padding-right grande: deja que el último enlace entre del todo
       antes del fundido del borde (si no, "Contacto" se ve cortado) */
    padding: 10px 64px 12px 2px;
    scrollbar-width: none; /* Firefox: sin barra visible */
    -webkit-overflow-scrolling: touch;
    /* fundido en el borde derecho: pista de que hay más */
    mask-image: linear-gradient(to right, black 86%, transparent 99%);
  }
  .nav-links::-webkit-scrollbar { display: none; } /* Chrome/Safari */
  .nav-links a { white-space: nowrap; flex-shrink: 0; font-size: 12px; }

  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .homol-cta { flex-direction: column; align-items: flex-start; padding: 28px; }
  .gal-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .review-grid { grid-template-columns: 1fr; gap: 20px; }
  .merch-grid { grid-template-columns: 1fr; gap: 20px; }
  .price-cols, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .colab-grid { grid-template-columns: 1fr; }
  .sec-head .aside { text-align: left; }
  .map-container { grid-column: span 1; height: 300px; }
  .form-row { grid-template-columns: 1fr; }
  .lb-close { top: 14px; right: 14px; width: 42px; height: 42px; }
  .lb-nav { width: 42px; height: 60px; font-size: 28px; }
  .lb-prev { left: 10px; }
  .lb-next { right: 10px; }
}

@media (max-width: 580px) {
  .svc-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .gal-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .tile.tall, .tile.wide { grid-row: span 1; grid-column: span 1; }
  .hero-in { padding-block: 130px 60px; }
  .hero h1 { font-size: clamp(38px, 9vw, 56px); }
  .about-grid .photo img { height: 350px; }
  .contact-form { padding: 24px; }
}
