/* ============================================================
   Fábrica de Fundas GP — styles
   ============================================================ */

:root {
  --ink: #0b0b0c;
  --ink-2: #17171a;
  --paper: #f4f3f1;
  --paper-2: #eceae4;
  --paper-3: #e2e0d9;
  --muted: #5c5c62;
  --line: rgba(11, 11, 12, 0.12);
  --line-strong: rgba(11, 11, 12, 0.24);

  --wa: #25d366;
  --wa-ink: #0a3d24;
  --accent: #0D47A1;
  --accent-ink: #082e63;

  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 4px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.55s;

  --font-display: "Anton", "Arial Narrow", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

html {
  overflow-x: hidden;
  width: 100%;
}

body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

[hidden] { display: none !important; }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }

::selection { background: var(--ink); color: var(--paper); }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

.skip-link {
  position: fixed; top: -60px; left: 12px; z-index: 200;
  background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: var(--radius);
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.nowrap { white-space: nowrap; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  --pad-y: 13px; --pad-x: 22px;
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 600; font-size: 0.95rem; line-height: 1;
  padding: var(--pad-y) var(--pad-x);
  border: 1px solid transparent; border-radius: 999px; cursor: pointer;
  transition: transform var(--dur) var(--ease), background 0.25s, color 0.25s, box-shadow 0.25s, border-color 0.25s;
  white-space: nowrap; letter-spacing: 0.01em;
}
.btn:active { transform: scale(0.97); }

.btn-lg { --pad-y: 17px; --pad-x: 30px; font-size: 1.02rem; }
.btn-xl { --pad-y: 20px; --pad-x: 40px; font-size: 1.12rem; }
.btn-block { width: 100%; justify-content: center; }

.btn-wa { background: var(--wa); color: var(--wa-ink); box-shadow: 0 8px 24px rgba(37, 211, 102, 0.32); }
.btn-wa:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(37, 211, 102, 0.42); }

.btn-ghost { background: transparent; color: var(--paper); border-color: rgba(244, 243, 241, 0.4); }
.btn-ghost:hover { background: rgba(244, 243, 241, 0.12); border-color: var(--paper); transform: translateY(-3px); }

.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: var(--ink-2); transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22); }

.wa-ico {
  width: 20px; height: 20px; flex: none;
  background: currentColor;
  -webkit-mask: center / contain no-repeat var(--wa-mask);
  mask: center / contain no-repeat var(--wa-mask);
}
:root {
  --wa-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12.04 2C6.58 2 2.13 6.45 2.13 11.91c0 1.75.46 3.45 1.32 4.95L2 22l5.25-1.38c1.45.79 3.08 1.21 4.79 1.21h.01c5.46 0 9.91-4.45 9.91-9.91C21.96 6.45 17.5 2 12.04 2zm0 18.15h-.01c-1.52 0-3.01-.41-4.31-1.18l-.31-.18-3.12.82.83-3.04-.2-.32a8.2 8.2 0 0 1-1.26-4.36c0-4.54 3.7-8.24 8.25-8.24 2.2 0 4.27.86 5.82 2.42a8.18 8.18 0 0 1 2.41 5.83c0 4.54-3.7 8.43-8.24 8.43zm4.52-6.16c-.25-.12-1.47-.72-1.69-.81-.23-.08-.39-.12-.56.12-.16.25-.64.81-.79.97-.14.17-.29.19-.54.06-.25-.12-1.05-.39-1.99-1.23-.74-.66-1.23-1.47-1.38-1.72-.14-.25-.02-.38.11-.5.11-.11.25-.29.37-.43.12-.14.16-.25.25-.41.08-.17.04-.31-.02-.43-.06-.12-.56-1.34-.76-1.84-.2-.48-.41-.42-.56-.43h-.48c-.17 0-.43.06-.66.31-.23.25-.87.85-.87 2.07 0 1.22.89 2.4 1.01 2.57.12.17 1.75 2.67 4.23 3.74.59.26 1.05.41 1.41.52.59.19 1.13.16 1.56.1.48-.07 1.47-.6 1.68-1.18.21-.58.21-1.07.14-1.18-.06-.11-.22-.17-.47-.29z'/%3E%3C/svg%3E");
}

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background 0.35s, box-shadow 0.35s, border-color 0.35s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(244, 243, 241, 0.86);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom-color: var(--line);
}
.header-inner { display: flex; align-items: center; gap: 20px; height: 76px; }

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--paper); transition: color 0.35s; }
.site-header.scrolled .brand { color: var(--ink); }
.brand img { width: 44px; height: 44px; border-radius: 8px; }
.brand-txt { font-size: 0.82rem; line-height: 1.1; letter-spacing: 0.02em; text-transform: uppercase; }
.brand-txt strong { display: block; font-weight: 700; letter-spacing: 0.06em; }

.nav { display: none; margin-left: auto; gap: 30px; }
.nav a {
  font-size: 0.9rem; font-weight: 500; color: var(--paper); position: relative; padding: 6px 0;
  transition: color 0.35s; opacity: 0.92;
}
.site-header.scrolled .nav a { color: var(--ink); }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: currentColor;
  transition: width 0.3s var(--ease);
}
.nav a:hover { opacity: 1; }
.nav a:hover::after { width: 100%; }

.header-cta { display: none; margin-left: 8px; }

.nav-toggle {
  margin-left: auto; width: 44px; height: 44px; display: grid; place-content: center; gap: 5px;
  background: transparent; border: 0; cursor: pointer;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--paper); transition: transform 0.3s, opacity 0.3s, background 0.35s; }
.site-header.scrolled .nav-toggle span { background: var(--ink); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 76px 0 auto 0; z-index: 99;
  background: var(--paper); border-bottom: 1px solid var(--line);
  padding: 20px var(--gutter) 30px; display: grid; gap: 8px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  animation: menuIn 0.3s var(--ease);
}
@keyframes menuIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
.mobile-menu nav { display: grid; }
.mobile-menu nav a { padding: 14px 4px; font-size: 1.1rem; font-weight: 600; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 16px; }

@media (min-width: 940px) {
  .nav { display: flex; }
  .header-cta { display: inline-flex; }
  .nav-toggle { display: none; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; color: var(--paper); }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; animation: heroZoom 14s var(--ease) forwards; }
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11,11,12,0.55) 0%, rgba(11,11,12,0.25) 30%, rgba(11,11,12,0.55) 70%, rgba(11,11,12,0.92) 100%);
}

.hero-inner { padding-block: 130px 90px; position: relative; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 9px 16px; border: 1px solid rgba(244,243,241,0.28); border-radius: 999px;
  background: rgba(11,11,12,0.28); backdrop-filter: blur(6px); margin-bottom: 26px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(13,71,161,0.6); animation: pulse-accent 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.55); } 70% { box-shadow: 0 0 0 10px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }
@keyframes pulse-accent { 0% { box-shadow: 0 0 0 0 rgba(13,71,161,0.55); } 70% { box-shadow: 0 0 0 10px rgba(13,71,161,0); } 100% { box-shadow: 0 0 0 0 rgba(13,71,161,0); } }

.hero-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(3.4rem, 12vw, 10rem); line-height: 0.9; letter-spacing: -0.01em;
  text-transform: uppercase; margin-bottom: 26px;
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .accent { color: var(--accent); }

.hero-sub { max-width: 60ch; font-size: clamp(1.02rem, 1.6vw, 1.28rem); color: rgba(244,243,241,0.9); margin-bottom: 34px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 54px; }

.hero-stats { display: grid; grid-template-columns: repeat(3, auto); gap: clamp(24px, 6vw, 72px); }
.hero-stats dt { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1; }
.hero-stats dd { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(244,243,241,0.7); margin-top: 8px; }

.scroll-hint { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(244,243,241,0.5); border-radius: 999px; display: grid; place-items: start center; padding-top: 8px; }
.scroll-hint span { width: 4px; height: 8px; border-radius: 4px; background: var(--paper); animation: scrollDot 1.6s infinite; }
@keyframes scrollDot { 0% { transform: translateY(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(14px); opacity: 0; } }

/* ============================================================
   Marquee
   ============================================================ */
.marquee { background: var(--ink); color: var(--paper); overflow: hidden; padding: 20px 0; border-block: 1px solid var(--ink); }
.marquee-track { display: inline-flex; align-items: center; gap: 34px; white-space: nowrap; animation: marquee 26s linear infinite; will-change: transform; }
.marquee-track span { font-family: var(--font-display); font-size: clamp(1.5rem, 3.4vw, 2.6rem); text-transform: uppercase; letter-spacing: 0.02em; }
.marquee-track i { color: var(--accent); font-style: normal; font-size: 1rem; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================
   Sections
   ============================================================ */
.section { padding-block: clamp(72px, 10vw, 140px); }
.section-head { max-width: 900px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-tag { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.section-tag.light { color: rgba(244,243,241,0.65); }
.section-title {
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(2rem, 5.2vw, 4.2rem); line-height: 0.98; letter-spacing: -0.005em; text-wrap: balance;
}
.section-title.light { color: var(--paper); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.35rem); color: var(--ink); max-width: 62ch; }
.lead.light { color: rgba(244,243,241,0.85); }

.grid-2 { display: grid; gap: clamp(32px, 5vw, 80px); grid-template-columns: 1fr; }
@media (min-width: 900px) { .grid-2 { grid-template-columns: 0.85fr 1.15fr; } }

/* Empresa */
.empresa { background: var(--paper); }
.col-sticky { align-self: start; }
@media (min-width: 900px) { .col-sticky { position: sticky; top: 110px; } }
.col-flow p { color: var(--muted); margin-bottom: 20px; }
.col-flow .lead { color: var(--ink); font-weight: 500; margin-bottom: 26px; }
.pill-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.pill-list li { font-size: 0.86rem; font-weight: 600; padding: 9px 16px; border: 1px solid var(--line-strong); border-radius: 999px; }

/* Diffs */
.diffs { background: var(--paper-2); }
.diff-list { display: grid; gap: 0; }
.diff { display: grid; grid-template-columns: auto 1fr; gap: clamp(18px, 4vw, 56px); align-items: start; padding: clamp(26px, 4vw, 44px) 0; border-top: 1px solid var(--line-strong); }
.diff:last-child { border-bottom: 1px solid var(--line-strong); }
.diff-num { font-family: var(--font-display); font-size: clamp(1.6rem, 4vw, 2.8rem); color: var(--line-strong); line-height: 1; }
.diff h3 { font-size: clamp(1.25rem, 2.4vw, 1.9rem); font-weight: 700; margin-bottom: 10px; letter-spacing: -0.01em; }
.diff p { color: var(--muted); max-width: 60ch; }
.diff:hover .diff-num { color: var(--accent); transition: color 0.3s; }

/* Fabricamos */
.fabricamos { background: var(--paper); }
.fab-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 640px) { .fab-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .fab-grid { grid-template-columns: repeat(4, 1fr); } }
.fab-card { position: relative; overflow: hidden; border-radius: 8px; background: var(--ink); color: var(--paper); min-height: 300px; display: flex; align-items: flex-end; }
.fab-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.fab-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,11,12,0) 35%, rgba(11,11,12,0.85) 100%); }
.fab-body { position: relative; z-index: 1; padding: 24px; }
.fab-body h3 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 1.6rem; letter-spacing: 0.01em; }
.fab-body p { font-size: 0.92rem; color: rgba(244,243,241,0.82); margin-top: 6px; }
.fab-card:hover img { transform: scale(1.07); }
@media (min-width: 980px) { .fab-wide { grid-column: span 4; min-height: 340px; } }
@media (min-width: 640px) and (max-width: 979px) { .fab-wide { grid-column: span 2; } }

/* Proceso */
.proceso { background: var(--ink); color: var(--paper); }
.proceso .section-tag { color: rgba(244,243,241,0.6); }
.proceso .section-title { color: var(--paper); }
.steps { display: grid; gap: 1px; background: rgba(244,243,241,0.14); border: 1px solid rgba(244,243,241,0.14); border-radius: 8px; overflow: hidden; grid-template-columns: 1fr; }
@media (min-width: 680px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { background: var(--ink); padding: clamp(26px, 3vw, 40px); transition: background 0.35s; }
.step:hover { background: var(--ink-2); }
.step-n { font-family: var(--font-display); color: var(--accent); font-size: 1.4rem; display: block; margin-bottom: 16px; }
.step h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; }
.step p { color: rgba(244,243,241,0.72); font-size: 0.95rem; }

/* Galería */
.galeria { background: var(--paper-2); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.filter { font-family: var(--font-body); font-size: 0.86rem; font-weight: 600; padding: 10px 18px; border: 1px solid var(--line-strong); background: transparent; border-radius: 999px; cursor: pointer; transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.2s; }
.filter:hover { transform: translateY(-2px); }
.filter.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.gallery { columns: 1; column-gap: 16px; }
@media (min-width: 560px) { .gallery { columns: 2; } }
@media (min-width: 980px) { .gallery { columns: 3; } }
.g-item { break-inside: avoid; margin-bottom: 16px; position: relative; overflow: hidden; border-radius: 8px; cursor: pointer; background: var(--paper-3); display: block; width: 100%; padding: 0; border: 0; }
.g-item img { width: 100%; transition: transform 0.6s var(--ease); }
.g-item::after { content: ""; position: absolute; inset: 0; background: rgba(11,11,12,0.28); opacity: 0; transition: opacity 0.35s; }
.g-cap { position: absolute; left: 16px; bottom: 14px; z-index: 2; color: var(--paper); font-weight: 600; letter-spacing: 0.02em; transform: translateY(8px); opacity: 0; transition: transform 0.35s var(--ease), opacity 0.35s; }
.g-item:hover img { transform: scale(1.06); }
.g-item:hover::after { opacity: 1; }
.g-item:hover .g-cap, .g-item:focus-visible .g-cap { transform: none; opacity: 1; }
.g-item.is-hidden { display: none; }

/* Flotas */
.flotas { background: var(--ink); color: var(--paper); }
.flotas-inner { display: grid; gap: clamp(32px, 5vw, 64px); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 940px) { .flotas-inner { grid-template-columns: 1.05fr 0.95fr; } }
.flotas-copy .btn { margin-top: 30px; }
.flotas-media { border-radius: 10px; overflow: hidden; }
.flotas-media img { width: 100%; height: 100%; object-fit: cover; }

/* Ubicación */
.ubicacion { background: var(--paper); }
.ubicacion .lead { color: var(--muted); margin-block: 22px 28px; }
.info-list { display: grid; gap: 2px; border: 1px solid var(--line-strong); border-radius: 8px; overflow: hidden; margin-bottom: 30px; }
.info-list li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 16px 20px; background: var(--paper-2); }
.info-k { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.info-v { font-weight: 600; text-align: right; }
.map-card { border-radius: 10px; overflow: hidden; border: 1px solid var(--line-strong); min-height: 340px; }
.map-card iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; filter: grayscale(1) contrast(1.05); transition: filter 0.4s; }
.map-card:hover iframe { filter: none; }

/* CTA final */
.cta-final { background: var(--accent); color: #fff; text-align: center; }
.cta-final .section-tag { color: rgba(255,255,255,0.75); }
.cta-final .lead { color: rgba(255,255,255,0.9); margin-inline: auto; }
.cta-inner { display: grid; justify-items: center; gap: 22px; }
.cta-title { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(2.2rem, 6vw, 5rem); line-height: 0.96; max-width: 16ch; text-wrap: balance; }
.cta-final .btn-wa { background: var(--wa); color: var(--wa-ink); box-shadow: 0 12px 30px rgba(0,0,0,0.25); }
.cta-final .btn-wa:hover { background: #21bd5b; }

/* Footer */
.site-footer { background: var(--ink); color: var(--paper); padding-top: clamp(50px, 7vw, 90px); }
.footer-inner { display: grid; gap: 40px; grid-template-columns: 1fr; padding-bottom: 50px; }
@media (min-width: 820px) { .footer-inner { grid-template-columns: 1.4fr 1fr 1.2fr; } }
.footer-brand { display: grid; gap: 16px; align-content: start; }
.footer-brand img { width: 52px; height: 52px; border-radius: 8px; }
.footer-brand p { color: rgba(244,243,241,0.72); font-size: 0.95rem; }
.footer-nav { display: grid; gap: 12px; align-content: start; }
.footer-nav a { color: rgba(244,243,241,0.82); font-weight: 500; width: fit-content; transition: color 0.25s; }
.footer-nav a:hover { color: var(--accent); }
.footer-contact { display: grid; gap: 10px; align-content: start; }
.footer-contact p { color: rgba(244,243,241,0.72); font-size: 0.92rem; }
.footer-contact .btn { margin-top: 8px; width: fit-content; }
.footer-bottom { border-top: 1px solid rgba(244,243,241,0.14); padding-block: 24px; }
.footer-bottom p { color: rgba(244,243,241,0.5); font-size: 0.82rem; }

/* Floating WA */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--wa); color: var(--wa-ink);
  display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(37,211,102,0.5);
  animation: waFloatIn 0.5s var(--ease) 0.8s both;
  transition: transform 0.3s var(--ease);
}
.wa-float:hover { transform: scale(1.1) translateY(-2px); }
.wa-float .wa-ico { width: 30px; height: 30px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(37,211,102,0.5); animation: pulse 2.4s infinite; }
@keyframes waFloatIn { from { opacity: 0; transform: scale(0.4); } to { opacity: 1; transform: scale(1); } }

/* ============================================================
   Lightbox
   ============================================================ */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(11,11,12,0.94); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: clamp(16px, 4vw, 48px); animation: lbIn 0.3s var(--ease); }
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }
.lb-figure { grid-column: 2; display: grid; justify-items: center; gap: 14px; max-height: 90vh; }
.lb-figure img { max-width: 100%; max-height: 82vh; border-radius: 6px; object-fit: contain; box-shadow: 0 30px 80px rgba(0,0,0,0.5); }
.lb-figure figcaption { color: rgba(244,243,241,0.8); font-size: 0.9rem; letter-spacing: 0.04em; }
.lb-close { position: absolute; top: 18px; right: 22px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(244,243,241,0.3); background: rgba(244,243,241,0.06); color: var(--paper); font-size: 2rem; line-height: 1; cursor: pointer; transition: background 0.25s, transform 0.2s; }
.lb-close:hover { background: rgba(244,243,241,0.18); transform: rotate(90deg); }
.lb-nav { width: 54px; height: 54px; border-radius: 50%; border: 1px solid rgba(244,243,241,0.3); background: rgba(244,243,241,0.06); color: var(--paper); font-size: 1.8rem; cursor: pointer; transition: background 0.25s, transform 0.2s; }
.lb-nav:hover { background: rgba(244,243,241,0.18); transform: scale(1.08); }
.lb-prev { grid-column: 1; }
.lb-next { grid-column: 3; }
@media (max-width: 640px) {
  .lightbox { grid-template-columns: 1fr; }
  .lb-figure { grid-column: 1; }
  .lb-nav { position: absolute; bottom: 24px; }
  .lb-prev { left: 24px; } .lb-next { right: 24px; }
}

/* ============================================================
   Reveal animations
   ============================================================ */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); will-change: opacity, transform; }
.js [data-reveal].in { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }

/* ============================================================
   FAQ / Accordion
   ============================================================ */
.faq { background: var(--paper-2); }

.accordion { display: grid; gap: 0; max-width: 880px; }

.acc-item {
  border-top: 1px solid var(--line-strong);
}
.acc-item:last-child { border-bottom: 1px solid var(--line-strong); }

.acc-q {
  list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 4px;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  font-weight: 600;
  cursor: pointer;
  user-select: none;
  transition: color 0.25s;
}
.acc-q::-webkit-details-marker { display: none; }
.acc-q::marker { content: ""; }

.acc-q::after {
  content: "+";
  flex: none;
  width: 32px; height: 32px;
  display: grid; place-items: center;
  font-family: var(--font-body);
  font-size: 1.4rem;
  font-weight: 400;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: transform 0.35s var(--ease), background 0.25s, border-color 0.25s, color 0.25s;
}

.acc-item:hover .acc-q { color: var(--accent-ink); }
.acc-item:hover .acc-q::after { border-color: var(--accent); }

.acc-item[open] .acc-q::after {
  transform: rotate(135deg);
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.acc-a {
  overflow: hidden;
  padding: 0 4px 24px;
  max-width: 68ch;
  color: var(--muted);
  animation: accIn 0.35s var(--ease);
}
.acc-a p { margin: 0; }

@keyframes accIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .acc-q::after { transition: none; }
  .acc-a { animation: none; }
}

/* ============================================================
   Materiales y colores
   ============================================================ */
.materiales { background: var(--paper-2); }
.materiales .lead { margin-top: 16px; color: var(--muted); }

.stock-note {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.9rem; font-weight: 600; color: var(--accent-ink);
  background: rgba(13, 71, 161, 0.14);
  border: 1px solid rgba(13, 71, 161, 0.4);
  border-radius: 999px;
  padding: 12px 20px;
  margin-bottom: clamp(30px, 5vw, 48px);
  max-width: fit-content;
}
.stock-dot {
  flex: none; width: 9px; height: 9px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(13,71,161,0.6);
  animation: pulse-accent 2s infinite;
}

.mat-grid {
  display: grid; grid-template-columns: 1fr; gap: 20px;
  margin-bottom: clamp(32px, 5vw, 48px);
}
@media (min-width: 640px) { .mat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .mat-grid { grid-template-columns: repeat(3, 1fr); } }

.mat-card {
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: clamp(22px, 3vw, 30px);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.mat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(11,11,12,0.08);
  border-color: var(--line-strong);
}

.mat-name {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-size: 1.3rem;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--ink);
}

.color-list { display: grid; gap: 2px; }
.color-list li {
  display: flex; align-items: center; gap: 12px;
  padding: 9px 0;
  font-size: 0.92rem;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.color-list li:last-child { border-bottom: 0; }

.swatch {
  flex: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  box-shadow: inset 0 0 0 2px var(--paper);
}
.swatch-solid { background: var(--c1); }
.swatch-split {
  background: linear-gradient(90deg, var(--c1) 50%, var(--c2) 50%);
}


/* ============================================================
   Fix: acentos/tildes cortados en tipografía Anton (uppercase)
   Anton tiene poco espacio vertical propio; con line-height
   apretado, í / ó / á / ñ se recortan o chocan con la línea
   anterior. Este bloque corrige solo el line-height y agrega
   aire arriba, sin tocar tamaños ni layout.
   ============================================================ */

.hero-title {
  line-height: 1.08;
}

.section-title {
  line-height: 1.12;
  padding-top: 0.12em;
}

.cta-title {
  line-height: 1.1;
  padding-top: 0.1em;
}

.fab-body h3,
.mat-name,
.brand-txt strong {
  line-height: 1.25;
}

/* El hero-title separa líneas en spans con overflow:hidden para el
   efecto reveal; si el line-height nuevo corta la animación de
   entrada, le damos un poco más de alto al contenedor de cada línea */
.hero-title .line {
  padding-top: 0.06em;
  overflow: visible;
}
/* Filtros con labels largos (materiales) */
@media (max-width: 480px) {
  .filter { font-size: 0.8rem; padding: 9px 14px; }
}

/* ============================================================
   Carrusel de galería
   ============================================================ */
.carousels { position: relative; }
.carousel { display: none; position: relative; align-items: center; gap: 10px; }
.carousel.is-active { display: flex; }

.car-viewport { flex: 1; overflow: hidden; border-radius: 8px; }
.car-track {
  display: flex;
  transition: transform 0.5s var(--ease);
  will-change: transform;
}

.car-slide {
  flex: 0 0 100%;
  position: relative;
  padding-right: 12px;
}
@media (min-width: 640px) { .car-slide { flex-basis: 50%; } }
@media (min-width: 980px) { .car-slide { flex-basis: 33.3333%; } }

.car-slide img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: 8px;
  background: var(--paper-3);
}
.car-slide .g-cap {
  position: absolute; left: 14px; bottom: 14px; z-index: 2;
  color: var(--paper); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.02em;
  padding: 6px 12px; border-radius: 999px; background: rgba(11,11,12,0.55);
}

.car-btn {
  flex: none;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  font-size: 1.6rem; line-height: 1;
  cursor: pointer;
  display: grid; place-items: center;
  transition: background 0.25s, color 0.25s, transform 0.2s, opacity 0.25s;
}
.car-btn:hover { background: var(--ink); color: var(--paper); transform: scale(1.05); }
.car-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.car-btn:disabled:hover { background: var(--paper); color: var(--ink); transform: none; }


/* ============================================================
   Mayorista / Minorista
   ============================================================ */
.mayorista { background: var(--paper); }

.venta-grid {
  display: grid; grid-template-columns: 1fr; gap: 20px;
}
@media (min-width: 780px) { .venta-grid { grid-template-columns: repeat(2, 1fr); } }

.venta-card {
  background: var(--paper-2);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: clamp(28px, 4vw, 40px);
  display: grid;
  gap: 14px;
  align-content: start;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.venta-card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(11,11,12,0.08); }

.venta-tag {
  display: inline-flex; width: fit-content;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px;
  background: var(--accent); color: #fff;
}

.venta-card h3 {
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
  font-size: 1.6rem; letter-spacing: 0.01em;
}

.venta-card p { color: var(--muted); }

.venta-list { display: grid; gap: 8px; margin: 4px 0 6px; }
.venta-list li { position: relative; padding-left: 20px; font-size: 0.92rem; color: var(--ink); }
.venta-list li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
}

.venta-card .btn { justify-self: start; margin-top: 8px; }


/* ============================================================
   Hero stats — fix overflow en mobile
   ============================================================ */
@media (max-width: 560px) {
  .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }
  .hero-stats dt {
    font-size: clamp(1.15rem, 6vw, 1.6rem);
  }
  .hero-stats dd {
    font-size: 0.64rem;
    letter-spacing: 0.03em;
    margin-top: 6px;
  }
  .hero-stats .nowrap {
    white-space: normal;
  }
}


/* ============================================================
   Accesorios
   ============================================================ */
.accesorios { background: var(--paper); }

.access-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: clamp(28px, 4vw, 40px);
}
@media (min-width: 640px) { .access-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .access-grid { grid-template-columns: repeat(3, 1fr); } }

.access-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: var(--paper-2);
  font-weight: 600;
  font-size: 0.96rem;
  transition: background 0.25s, color 0.25s;
}
.access-item:hover {
  background: var(--paper-3);
  color: var(--accent-ink);
}

.access-dot {
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
}

.access-note {
  color: var(--muted);
  max-width: 62ch;
  margin-bottom: 26px;
}



/* ============================================================
   FIX definitivo: hero-stats se corta en mobile (S20/S21, iPhone, Redmi)
   ============================================================ */
@media (max-width: 600px) {
  .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .hero-stats > div {
    min-width: 0 !important;
    overflow: hidden !important;
  }

  .hero-stats dt {
    font-size: clamp(1rem, 5.2vw, 1.4rem) !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
  }

  .hero-stats dd {
    font-size: 0.62rem !important;
    line-height: 1.3 !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
  }

  .hero-stats .nowrap {
    white-space: normal !important;
  }
}


/* ============================================================
   Redes sociales
   ============================================================ */
.social { background: var(--paper-2); text-align: center; }
.social-inner { display: grid; justify-items: center; gap: 6px; }
.social .lead { margin-bottom: 10px; }

.social-icons {
  display: flex;
  gap: 16px;
  margin-top: 18px;
  flex-wrap: wrap;
  justify-content: center;
}

.social-btn {
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  display: grid; place-items: center;
  transition: transform 0.3s var(--ease), background 0.3s;
}
.social-btn:hover { background: var(--accent); transform: translateY(-4px) scale(1.05); }

.social-ico {
  width: 26px; height: 26px;
  background: currentColor;
  -webkit-mask: center / contain no-repeat;
  mask: center / contain no-repeat;
}

.ico-instagram {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.2c2.7 0 3 .01 4.1.06 1.1.05 1.8.22 2.2.36.6.24 1 .5 1.4.9.4.4.7.9.9 1.4.15.5.31 1.2.36 2.2.05 1.1.06 1.4.06 4.1s-.01 3-.06 4.1c-.05 1.1-.22 1.8-.36 2.2-.24.6-.5 1-.9 1.4-.4.4-.9.7-1.4.9-.5.15-1.2.31-2.2.36-1.1.05-1.4.06-4.1.06s-3-.01-4.1-.06c-1.1-.05-1.8-.22-2.2-.36-.6-.24-1-.5-1.4-.9-.4-.4-.7-.9-.9-1.4-.15-.5-.31-1.2-.36-2.2C2.2 15 2.2 14.7 2.2 12s.01-3 .06-4.1c.05-1.1.22-1.8.36-2.2.24-.6.5-1 .9-1.4.4-.4.9-.7 1.4-.9.5-.15 1.2-.31 2.2-.36C9 2.2 9.3 2.2 12 2.2zm0 1.8c-2.65 0-2.96.01-4 .06-.9.04-1.4.2-1.7.32-.43.17-.74.37-1.06.7-.32.32-.52.63-.7 1.06-.13.3-.28.8-.32 1.7-.05 1.04-.06 1.35-.06 4s.01 2.96.06 4c.04.9.2 1.4.32 1.7.17.43.37.74.7 1.06.32.32.63.52 1.06.7.3.13.8.28 1.7.32 1.04.05 1.35.06 4 .06s2.96-.01 4-.06c.9-.04 1.4-.2 1.7-.32.43-.17.74-.37 1.06-.7.32-.32.52-.63.7-1.06.13-.3.28-.8.32-1.7.05-1.04.06-1.35.06-4s-.01-2.96-.06-4c-.04-.9-.2-1.4-.32-1.7-.17-.43-.37-.74-.7-1.06a2.9 2.9 0 0 0-1.06-.7c-.3-.13-.8-.28-1.7-.32-1.04-.05-1.35-.06-4-.06zm0 3.05a4.95 4.95 0 1 1 0 9.9 4.95 4.95 0 0 1 0-9.9zm0 1.8a3.15 3.15 0 1 0 0 6.3 3.15 3.15 0 0 0 0-6.3zm5.15-1.98a1.16 1.16 0 1 1 0 2.32 1.16 1.16 0 0 1 0-2.32z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.2c2.7 0 3 .01 4.1.06 1.1.05 1.8.22 2.2.36.6.24 1 .5 1.4.9.4.4.7.9.9 1.4.15.5.31 1.2.36 2.2.05 1.1.06 1.4.06 4.1s-.01 3-.06 4.1c-.05 1.1-.22 1.8-.36 2.2-.24.6-.5 1-.9 1.4-.4.4-.9.7-1.4.9-.5.15-1.2.31-2.2.36-1.1.05-1.4.06-4.1.06s-3-.01-4.1-.06c-1.1-.05-1.8-.22-2.2-.36-.6-.24-1-.5-1.4-.9-.4-.4-.7-.9-.9-1.4-.15-.5-.31-1.2-.36-2.2C2.2 15 2.2 14.7 2.2 12s.01-3 .06-4.1c.05-1.1.22-1.8.36-2.2.24-.6.5-1 .9-1.4.4-.4.9-.7 1.4-.9.5-.15 1.2-.31 2.2-.36C9 2.2 9.3 2.2 12 2.2zm0 1.8c-2.65 0-2.96.01-4 .06-.9.04-1.4.2-1.7.32-.43.17-.74.37-1.06.7-.32.32-.52.63-.7 1.06-.13.3-.28.8-.32 1.7-.05 1.04-.06 1.35-.06 4s.01 2.96.06 4c.04.9.2 1.4.32 1.7.17.43.37.74.7 1.06.32.32.63.52 1.06.7.3.13.8.28 1.7.32 1.04.05 1.35.06 4 .06s2.96-.01 4-.06c.9-.04 1.4-.2 1.7-.32.43-.17.74-.37 1.06-.7.32-.32.52-.63.7-1.06.13-.3.28-.8.32-1.7.05-1.04.06-1.35.06-4s-.01-2.96-.06-4c-.04-.9-.2-1.4-.32-1.7-.17-.43-.37-.74-.7-1.06a2.9 2.9 0 0 0-1.06-.7c-.3-.13-.8-.28-1.7-.32-1.04-.05-1.35-.06-4-.06zm0 3.05a4.95 4.95 0 1 1 0 9.9 4.95 4.95 0 0 1 0-9.9zm0 1.8a3.15 3.15 0 1 0 0 6.3 3.15 3.15 0 0 0 0-6.3zm5.15-1.98a1.16 1.16 0 1 1 0 2.32 1.16 1.16 0 0 1 0-2.32z'/%3E%3C/svg%3E");
}

.ico-facebook {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13.5 21v-7.7h2.58l.39-3h-2.97V8.4c0-.87.24-1.46 1.5-1.46h1.6V4.28C15.98 4.2 15.1 4.13 14.08 4.13c-2.12 0-3.58 1.3-3.58 3.68v2.05H7.9v3h2.6V21h3z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13.5 21v-7.7h2.58l.39-3h-2.97V8.4c0-.87.24-1.46 1.5-1.46h1.6V4.28C15.98 4.2 15.1 4.13 14.08 4.13c-2.12 0-3.58 1.3-3.58 3.68v2.05H7.9v3h2.6V21h3z'/%3E%3C/svg%3E");
}

.ico-tiktok {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M16.6 2h-3.1v13.2c0 1.5-1.2 2.7-2.7 2.7a2.7 2.7 0 0 1-2.7-2.7c0-1.5 1.2-2.7 2.7-2.7.3 0 .6.05.86.13v-3.15a5.85 5.85 0 0 0-.86-.06 5.85 5.85 0 0 0-5.85 5.85A5.85 5.85 0 0 0 10.8 21a5.85 5.85 0 0 0 5.85-5.85V8.4a8.1 8.1 0 0 0 4.65 1.47V6.75a4.95 4.95 0 0 1-4.7-4.75z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M16.6 2h-3.1v13.2c0 1.5-1.2 2.7-2.7 2.7a2.7 2.7 0 0 1-2.7-2.7c0-1.5 1.2-2.7 2.7-2.7.3 0 .6.05.86.13v-3.15a5.85 5.85 0 0 0-.86-.06 5.85 5.85 0 0 0-5.85 5.85A5.85 5.85 0 0 0 10.8 21a5.85 5.85 0 0 0 5.85-5.85V8.4a8.1 8.1 0 0 0 4.65 1.47V6.75a4.95 4.95 0 0 1-4.7-4.75z'/%3E%3C/svg%3E");
}

.ico-youtube {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21.6 7.2s-.2-1.5-.85-2.15c-.8-.85-1.7-.85-2.1-.9C15.9 4 12 4 12 4h-.01s-3.9 0-6.65.15c-.4.05-1.3.05-2.1.9-.65.65-.85 2.15-.85 2.15S2.2 8.95 2.2 10.7v1.6c0 1.75.2 3.5.2 3.5s.2 1.5.85 2.15c.8.85 1.85.82 2.3.91C7.1 19 12 19 12 19s3.9 0 6.65-.15c.4-.05 1.3-.05 2.1-.9.65-.65.85-2.15.85-2.15s.2-1.75.2-3.5v-1.6c0-1.75-.2-3.5-.2-3.5zM9.95 14.5V9.4l5.15 2.55-5.15 2.55z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21.6 7.2s-.2-1.5-.85-2.15c-.8-.85-1.7-.85-2.1-.9C15.9 4 12 4 12 4h-.01s-3.9 0-6.65.15c-.4.05-1.3.05-2.1.9-.65.65-.85 2.15-.85 2.15S2.2 8.95 2.2 10.7v1.6c0 1.75.2 3.5.2 3.5s.2 1.5.85 2.15c.8.85 1.85.82 2.3.91C7.1 19 12 19 12 19s3.9 0 6.65-.15c.4-.05 1.3-.05 2.1-.9.65-.65.85-2.15.85-2.15s.2-1.75.2-3.5v-1.6c0-1.75-.2-3.5-.2-3.5zM9.95 14.5V9.4l5.15 2.55-5.15 2.55z'/%3E%3C/svg%3E");
}