﻿/* ─── RESET & TOKENS ─────────────────────────────────── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }

:root {
  --gold:    #8b6814;
  --gold-lt: #a8862a;
  --dark:    #0A0A0A;
  --dark2:   #111111;
  --dark3:   #1A1A18;
  --mid:     #2A2A25;
  --text:    #D4D0C8;
  --white:   #F5F3EE;
  --red:     #8B1A1A;
}

body {
  background: var(--dark);
  color: var(--text);
  font-family: 'Barlow', sans-serif;
  font-weight: 400;
  overflow-x: hidden;
  cursor: none;
}

/* ─── CUSTOM CURSOR ──────────────────────────────────── */
.cursor {
  position: fixed; top:0; left:0; width:14px; height:14px;
  background: var(--gold); border-radius:50%;
  pointer-events: none; z-index:9999;
  transform: translate(-50%,-50%);
  transition: transform 0.1s, width 0.2s, height 0.2s, background 0.2s;
  mix-blend-mode: difference;
}
.cursor-ring {
  position: fixed; top:0; left:0; width:38px; height:38px;
  border:1px solid rgba(139, 104, 20,0.5); border-radius:50%;
  pointer-events:none; z-index:9998;
  transform: translate(-50%,-50%);
  transition: transform 0.12s ease-out, width 0.3s, height 0.3s;
}
body:hover .cursor { transform: translate(-50%,-50%) scale(1); }

/* ─── NAVBAR ─────────────────────────────────────────── */
nav {
  position: fixed; top:0; left:0; right:0; z-index:100;
  display: flex; align-items:center; justify-content:space-between;
  padding: 1.2rem 3rem;
  background: linear-gradient(180deg, rgba(0,0,0,0.9) 0%, transparent 100%);
  transition: background 0.4s;
}
nav.scrolled { background: rgba(10,10,10,0.97); border-bottom:1px solid rgba(139, 104, 20,0.15); }

.nav-logo {
  display: flex; flex-direction:column; line-height:1;
  text-decoration: none; color: inherit;
}
.nav-logo:hover span:first-child { color: var(--gold-lt); }

a.btn-primary, a.btn-ghost, a.nav-cta {
  text-decoration: none; display: inline-block;
}
.stat-item-link {
  text-decoration: none; color: inherit; display: block;
}
.nav-logo span:first-child {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem; letter-spacing:0.12em; color:var(--gold);
}
.nav-logo span:last-child {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.65rem; letter-spacing:0.35em; color:var(--text);
  text-transform: uppercase; margin-top:2px;
}
.nav-links { display:flex; gap:2.5rem; list-style:none; }
.nav-links a {
  color: var(--text); text-decoration:none;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.78rem; letter-spacing:0.25em; text-transform:uppercase;
  position:relative; padding-bottom:3px;
  transition: color 0.3s;
}
.nav-links a::after {
  content:''; position:absolute; bottom:0; left:0; width:0; height:1px;
  background:var(--gold); transition:width 0.3s;
}
.nav-links a:hover { color:var(--gold); }
.nav-links a:hover::after { width:100%; }

.nav-cta {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem; letter-spacing:0.2em; text-transform:uppercase;
  padding: 0.6rem 1.4rem; border:1px solid var(--gold);
  color:var(--gold); background:transparent; cursor:none;
  transition: background 0.3s, color 0.3s;
}
.nav-cta:hover { background:var(--gold); color:var(--dark); }

/* ─── PROMO (banner temporal) ────────────────────────── */
#home-promo {
  position:relative;
  min-height:clamp(480px, 72vh, 640px);
  overflow:hidden;
  background:var(--dark);
}
.home-promo-bg {
  position:absolute;
  inset:0;
  background:var(--r2-home-promo) center/cover no-repeat;
}

/* ─── HERO ───────────────────────────────────────────── */
#hero {
  position:relative;
  min-height:clamp(480px, 72vh, 640px);
  display:flex;
  flex-direction:column;
  justify-content:center;
  box-sizing:border-box;
  padding:5.5rem 0 3.5rem;
  overflow:visible;
}

.hero-inner {
  position:relative;
  z-index:2;
  width:100%;
  display:grid;
  grid-template-columns:minmax(240px, 0.95fr) minmax(280px, 1.05fr);
  align-items:center;
  gap:1.5rem 2.5rem;
  padding:0 4rem 0.5rem;
  min-height:auto;
}

.hero-bg {
  position:absolute; inset:0;
  overflow:hidden;
  background:
    linear-gradient(120deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 60%, rgba(0,0,0,0.6) 100%),
    var(--r2-home-hero) center/cover no-repeat;
  transform-origin:center;
  animation: heroZoom 18s ease-in-out infinite alternate;
}
@keyframes heroZoom { from {transform:scale(1);} to {transform:scale(1.06);} }

/* Grain overlay */
.hero-bg::after {
  content:''; position:absolute; inset:0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  opacity:0.4; pointer-events:none;
}

.hero-content {
  position:relative; z-index:2;
  padding:0 1rem;
  max-width:min(100%, 520px);
  width:100%;
  justify-self:center;
  align-self:center;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  gap:1.1rem;
}

.hero-headline {
  font-family:'Bebas Neue',sans-serif;
  font-size:clamp(2rem, 5.2vw, 3.85rem);
  font-weight:400;
  letter-spacing:0.06em;
  line-height:1.08;
  text-transform:uppercase;
  color:var(--white);
  text-shadow:0 4px 32px rgba(0,0,0,0.55), 0 0 48px rgba(255,255,255,0.08);
  max-width:720px;
  opacity:0;
  animation:fadeUp 0.9s 0.35s forwards;
}

.hero-headline-accent {
  display:block;
  margin-top:0.4rem;
  font-size:0.62em;
  letter-spacing:0.14em;
  color:var(--gold);
  text-shadow:0 2px 24px rgba(139, 104, 20, 0.45);
}

.hero-subline {
  font-family:'Oswald','Barlow Condensed',sans-serif;
  font-size:clamp(1.05rem, 2.4vw, 1.55rem);
  font-weight:600;
  letter-spacing:0.18em;
  text-transform:uppercase;
  color:var(--gold);
  text-shadow:0 2px 28px rgba(139, 104, 20,0.45);
  opacity:0;
  animation:fadeUp 0.9s 0.55s forwards;
}

.hero-pedestal {
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:0;
  padding:0;
  overflow:visible;
}

.hero-pedestal-glow {
  position:absolute;
  width:min(100%, 580px);
  height:min(95%, 480px);
  background:radial-gradient(ellipse at center, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0.28) 28%, rgba(255,255,255,0.08) 52%, transparent 74%);
  pointer-events:none;
  z-index:0;
}

.hero-pedestal-stage {
  position:relative;
  width:100%;
  height:clamp(300px, 46vh, 480px);
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:visible;
  z-index:1;
}

.hero-pedestal-img {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
  filter:drop-shadow(0 28px 60px rgba(0,0,0,0.55));
  opacity:0;
  transform:scale(1.06);
  transform-origin:center center;
  transition:opacity 0.95s ease;
  will-change:opacity, transform;
  pointer-events:none;
  z-index:0;
}

.hero-pedestal-img.is-active {
  opacity:1;
  z-index:2;
  filter:drop-shadow(0 0 42px rgba(255,255,255,0.62)) drop-shadow(0 0 80px rgba(255,255,255,0.28)) drop-shadow(0 28px 60px rgba(0,0,0,0.55));
}

.hero-pedestal-img.is-leaving {
  opacity:0;
  z-index:1;
  transition:opacity 0.95s ease;
}

.hero-pedestal-img.is-zooming {
  animation:pedestalGrow 5s ease-in-out forwards;
}

@keyframes pedestalGrow {
  0%   { transform:scale(1.06); }
  100% { transform:scale(1.1); }
}

.hero-eyebrow {
  display:flex; align-items:center; gap:1rem; margin-bottom:1.5rem;
  opacity:0; animation: fadeUp 0.8s 0.3s forwards;
}
.hero-eyebrow .line { width:40px; height:1px; background:var(--gold); }
.hero-eyebrow span {
  font-family:'Barlow Condensed',sans-serif;
  font-size:0.7rem; letter-spacing:0.4em; text-transform:uppercase; color:var(--gold);
}

.hero-title .gold { color:var(--gold); }
.hero-title .outline {
  -webkit-text-stroke: 1px var(--white);
  color: transparent;
}

.hero-sub {
  margin-top:1.5rem;
  font-size:1.05rem; font-weight:300; letter-spacing:0.05em;
  color:rgba(212,208,200,0.8); max-width:440px; line-height:1.6;
  opacity:0; animation: fadeUp 0.9s 0.75s forwards;
}

.hero-actions {
  margin-top:2.5rem; display:flex; gap:1.2rem; align-items:center;
  opacity:0; animation: fadeUp 0.9s 0.95s forwards;
}
.btn-primary {
  font-family:'Barlow Condensed',sans-serif;
  font-size:0.8rem; letter-spacing:0.25em; text-transform:uppercase;
  padding:0.85rem 2.2rem; background:var(--gold); color:var(--dark);
  border:none; cursor:none; font-weight:700;
  transition: background 0.3s, transform 0.2s;
}
.btn-primary:hover { background:var(--gold-lt); transform:translateY(-2px); }
@media (pointer: coarse) {
  body { cursor:auto; }
  .btn-primary, .btn-ghost, .nav-cta, a.product-card { cursor:pointer; }
}
.btn-ghost {
  font-family:'Barlow Condensed',sans-serif;
  font-size:0.8rem; letter-spacing:0.25em; text-transform:uppercase;
  padding:0.85rem 2.2rem; background:transparent; color:var(--white);
  border:1px solid rgba(255,255,255,0.3); cursor:none;
  transition: border-color 0.3s, color 0.3s;
}
.btn-ghost:hover { border-color:var(--gold); color:var(--gold); }

.hero-badge {
  position:absolute; bottom:6rem; right:4rem; z-index:2;
  width:110px; height:110px;
  border:1px solid rgba(139, 104, 20,0.4); border-radius:50%;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  animation: rotateBadge 20s linear infinite;
  opacity:0; animation: fadeIn 1s 1.2s forwards, rotateBadge 20s 1.2s linear infinite;
}
.hero-badge span:first-child {
  font-family:'Bebas Neue',sans-serif; font-size:2rem; color:var(--gold); line-height:1;
}
.hero-badge span:last-child {
  font-family:'Barlow Condensed',sans-serif; font-size:0.52rem; letter-spacing:0.18em;
  text-transform:uppercase; color:var(--text); text-align:center; line-height:1.4;
}

.hero-scroll {
  position:absolute; bottom:2.5rem; left:50%; transform:translateX(-50%); z-index:2;
  display:flex; flex-direction:column; align-items:center; gap:0.5rem;
  opacity:0; animation: fadeIn 1s 1.4s forwards;
}
.hero-scroll span {
  font-family:'Barlow Condensed',sans-serif; font-size:0.6rem; letter-spacing:0.3em;
  text-transform:uppercase; color:rgba(255,255,255,0.4);
}
.scroll-line {
  width:1px; height:40px; background:linear-gradient(180deg,var(--gold),transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse { 0%,100%{transform:scaleY(1);opacity:1} 50%{transform:scaleY(0.6);opacity:0.5} }

/* ─── STATS STRIP ────────────────────────────────────── */
#stats {
  background: var(--gold);
  display:grid; grid-template-columns:repeat(3,1fr);
}
.stat-item {
  padding: 2.2rem 2rem; text-align:center;
  border-right:1px solid rgba(0,0,0,0.15);
  transition: background 0.3s;
}
.stat-item:last-child { border-right:none; }
.stat-item:hover { background:var(--gold-lt); }
.stat-num {
  font-family:'Bebas Neue',sans-serif; font-size:3rem;
  color:var(--dark); line-height:1;
}
.stat-label {
  font-family:'Barlow Condensed',sans-serif; font-size:0.65rem;
  letter-spacing:0.25em; text-transform:uppercase; color:rgba(10,10,10,0.65);
  margin-top:0.3rem;
}

/* ─── SECTION SHARED ─────────────────────────────────── */
section { padding: 7rem 4rem; }
.section-tag {
  font-family:'Barlow Condensed',sans-serif; font-size:0.65rem;
  letter-spacing:0.4em; text-transform:uppercase; color:var(--gold);
  display:flex; align-items:center; gap:0.8rem; margin-bottom:1rem;
}
.section-tag::before { content:''; width:28px; height:1px; background:var(--gold); }
.section-title {
  font-family:'Bebas Neue',sans-serif; font-size:clamp(2.8rem,5vw,5rem);
  line-height:0.95; color:var(--white); letter-spacing:0.02em;
}
.section-body {
  font-size:0.95rem; line-height:1.8; color:rgba(212,208,200,0.75);
  max-width:600px;
}

/* ─── PRODUCTOS GRID ─────────────────────────────────── */
#productos {
  background: var(--dark2); padding: 7rem 4rem;
}
.productos-header { margin-bottom:4rem; }
.products-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px;
}
.product-card {
  position:relative; overflow:hidden; cursor:none;
  aspect-ratio:4/3;
  background: var(--mid);
}
a.product-card {
  display:block;
  text-decoration:none;
  color:inherit;
}
.product-card.is-disabled {
  display:none;
}
.product-card.wide { grid-column: span 2; }

.product-card-img {
  position:absolute; inset:0;
  background-size:cover; background-position:center;
  transition: transform 0.6s ease;
}
.product-card:hover .product-card-img {
  transform:scale(1.07);
}

.product-card-overlay {
  position:absolute; inset:0;
  background:linear-gradient(180deg, transparent 45%, rgba(0,0,0,0.35) 78%, rgba(0,0,0,0.52) 100%);
  pointer-events:none;
}

.product-card-content {
  position:absolute; bottom:0; left:0; right:0;
  padding:2rem 1.8rem 2.1rem;
  transform:translateY(8px); transition:transform 0.4s;
}
.product-card:hover .product-card-content { transform:translateY(0); }

.product-card-num {
  font-family:'Bebas Neue',sans-serif; font-size:0.95rem; letter-spacing:0.28em;
  color:var(--gold); margin-bottom:0.45rem;
}
.product-card-name {
  font-family:'Bebas Neue',sans-serif;
  font-size:clamp(2.6rem, 4.8vw, 3.75rem);
  color:var(--white);
  line-height:0.95; letter-spacing:0.03em;
  text-shadow:0 2px 20px rgba(0,0,0,0.65);
}
.product-card-arrow {
  display:inline-flex; align-items:center; gap:0.5rem;
  font-family:'Barlow Condensed',sans-serif; font-size:0.78rem; letter-spacing:0.22em;
  text-transform:uppercase; color:var(--gold); margin-top:0.9rem;
  font-weight:700;
  opacity:0; transform:translateX(-8px);
  transition:opacity 0.3s 0.1s, transform 0.3s 0.1s;
}
.product-card:hover .product-card-arrow { opacity:1; transform:translateX(0); }
.product-card-arrow::after { content:'→'; font-size:1rem; }

/* product backgrounds (Cloudflare R2 — home/) */
.p-pistolas   { background-image: var(--r2-home-pistolas); }
.p-revolvers  { background-image: var(--r2-home-revolvers); }
.p-rifles     { background-image: var(--r2-home-rifles); }
.p-escopetas  { background-image: var(--r2-home-escopetas); }
.p-carabinas  { background-image: var(--r2-home-carabinas); background-color:#2a2a25; }
.p-cargadores { background-image: var(--r2-home-cargadores); background-color:#2a2a25; }
.p-municiones { background-image: var(--r2-home-municiones); }
.p-accesorios { background-image: var(--r2-home-accesorios); }
.p-cursos     { background-image: var(--r2-home-cursos); }
.p-reparacion { background-image: var(--r2-home-reparacion); }

/* ─── MISIÓN / VISIÓN  (parallax section) ────────────── */
#mision-vision {
  position:relative; padding:0;
  min-height:70vh; display:flex; align-items:stretch;
}
.mv-parallax {
  position:sticky; top:0; width:45%;
  background:
    linear-gradient(135deg,rgba(0,0,0,0.75) 0%,rgba(139,26,26,0.3) 100%),
    var(--r2-home-mision-vision) center/cover;
  min-height:100vh;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  padding:4rem;
}
.mv-parallax-logo {
  font-family:'Bebas Neue',sans-serif; font-size:5rem; color:var(--gold);
  opacity:0.15; position:absolute; top:3rem; left:3rem; line-height:1;
}
.mv-parallax blockquote {
  font-family:'Bebas Neue',sans-serif; font-size:2.2rem;
  color:var(--white); line-height:1.1; text-align:center;
  border-left:3px solid var(--gold); padding-left:1.5rem; text-align:left;
}

.mv-content { width:55%; background:var(--dark3); }
.mv-block {
  padding:5rem 4rem;
  border-bottom:1px solid rgba(255,255,255,0.05);
  opacity:0; transform:translateY(30px);
  transition:opacity 0.7s, transform 0.7s;
}
.mv-block.visible { opacity:1; transform:translateY(0); }

/* ─── POLIGONO (full parallax) ───────────────────────── */
#poligono {
  position:relative; min-height:80vh; padding:0;
  display:flex; align-items:center; justify-content:center;
  overflow:hidden;
}
.poligono-parallax {
  position:absolute; inset:-15%;
  background:
    linear-gradient(rgba(0,0,0,0.6) 0%,rgba(0,0,0,0.5) 100%),
    var(--r2-home-poligono) center/cover no-repeat;
  will-change: transform;
}
.poligono-content {
  position:relative; z-index:2; text-align:center; max-width:760px; padding:6rem 2rem;
}
.poligono-content .section-tag { justify-content:center; }
.poligono-content .section-tag::before { display:none; }
.poligono-content .section-title { font-size:clamp(3.5rem,7vw,7rem); margin-bottom:1.5rem; }
.poligono-content .section-body { margin:0 auto 2.5rem; max-width:540px; text-align:center; }
.poligono-locations {
  display:flex; gap:2rem; justify-content:center; flex-wrap:wrap; margin-top:2rem;
}
.location-tag {
  display:flex; align-items:center; gap:0.7rem;
  font-family:'Barlow Condensed',sans-serif; font-size:0.75rem;
  letter-spacing:0.2em; text-transform:uppercase; color:var(--gold);
  border:1px solid rgba(139, 104, 20,0.3); padding:0.6rem 1.2rem;
}
.location-tag::before { content:'◈'; font-size:0.6rem; }

/* ─── MARCAS ─────────────────────────────────────────── */
#marcas {
  background:var(--dark); padding:5rem 4rem; overflow:hidden;
}
.marcas-header { text-align:center; margin-bottom:3.5rem; }
.marcas-track-wrap {
  overflow:hidden; position:relative;
}
.marcas-track-wrap::before,
.marcas-track-wrap::after {
  content:''; position:absolute; top:0; bottom:0; width:120px; z-index:2; pointer-events:none;
}
.marcas-track-wrap::before { left:0; background:linear-gradient(90deg,var(--dark),transparent); }
.marcas-track-wrap::after  { right:0; background:linear-gradient(-90deg,var(--dark),transparent); }

.marcas-track {
  display:flex; gap:3rem; width:max-content;
  animation: scrollBrands 28s linear infinite;
}
@keyframes scrollBrands { to { transform:translateX(-50%); } }

.marca-pill {
  font-family:'Bebas Neue',sans-serif; font-size:1.1rem; letter-spacing:0.18em;
  color:rgba(212,208,200,0.25); white-space:nowrap; padding:0.8rem 2rem;
  border:1px solid rgba(255,255,255,0.07);
  transition:color 0.3s, border-color 0.3s;
}
.marca-pill:hover { color:var(--gold); border-color:var(--gold); }

/* ─── SERVICIOS ADICIONALES ──────────────────────────── */
#servicios {
  background:var(--dark2); padding:7rem 4rem;
}
.servicios-grid {
  display:grid; grid-template-columns:repeat(3,1fr); gap:1px;
  margin-top:3.5rem; background:rgba(255,255,255,0.04);
}
.servicio-card {
  background:var(--dark2); padding:3rem 2.5rem;
  border-bottom:3px solid transparent;
  transition: border-color 0.3s, background 0.3s;
  cursor:none;
}
.servicio-card:hover { background:var(--dark3); border-color:var(--gold); }
.servicio-icon { font-size:2rem; margin-bottom:1.5rem; }
.servicio-name {
  font-family:'Bebas Neue',sans-serif; font-size:1.6rem; color:var(--white);
  letter-spacing:0.03em; margin-bottom:0.7rem;
}
.servicio-desc {
  font-size:0.88rem; line-height:1.7; color:rgba(212,208,200,0.6);
}
.servicio-link {
  display:inline-flex; align-items:center; gap:0.4rem; margin-top:1.5rem;
  font-family:'Barlow Condensed',sans-serif; font-size:0.65rem; letter-spacing:0.25em;
  text-transform:uppercase; color:var(--gold); text-decoration:none;
}

/* ─── CTA FINAL ──────────────────────────────────────── */
#cta-final {
  position:relative; padding:0; min-height:50vh;
  display:flex; align-items:center; justify-content:center; overflow:hidden;
}
.cta-bg {
  position:absolute; inset:-15%;
  background:
    linear-gradient(rgba(10,10,10,0.8),rgba(10,10,10,0.8)),
    var(--r2-home-cta-final) center/cover no-repeat;
  will-change:transform;
}
.cta-content {
  position:relative; z-index:2; text-align:center; padding:6rem 2rem;
}
.cta-content .section-title { font-size:clamp(3rem,6vw,6rem); margin-bottom:1.5rem; }
.cta-content p { margin-bottom:2.5rem; font-size:1rem; color:rgba(212,208,200,0.7); }
.cta-row { display:flex; gap:1rem; justify-content:center; flex-wrap:wrap; }

/* ─── FOOTER ─────────────────────────────────────────── */
footer {
  background:var(--dark); border-top:1px solid rgba(139, 104, 20,0.15);
  padding:3rem 4rem;
  display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:1rem;
}
.footer-logo span:first-child {
  font-family:'Bebas Neue',sans-serif; font-size:1.3rem; color:var(--gold); letter-spacing:0.1em;
}
.footer-copy {
  font-family:'Barlow Condensed',sans-serif; font-size:0.65rem;
  letter-spacing:0.2em; text-transform:uppercase; color:rgba(212,208,200,0.35);
}
.footer-ipm {
  font-family:'Barlow Condensed',sans-serif; font-size:0.65rem;
  letter-spacing:0.2em; color:rgba(139, 104, 20,0.5);
}

/* ─── ANIMATIONS ─────────────────────────────────────── */
@keyframes fadeUp { from{opacity:0;transform:translateY(30px)} to{opacity:1;transform:translateY(0)} }
@keyframes fadeIn { from{opacity:0} to{opacity:1} }

.reveal {
  opacity:0; transform:translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity:1; transform:translateY(0); }
.reveal-delay-1 { transition-delay:0.15s; }
.reveal-delay-2 { transition-delay:0.3s; }
.reveal-delay-3 { transition-delay:0.45s; }

/* ─── RESPONSIVE ─────────────────────────────────────── */
@media (max-width:900px) {
  section { padding:5rem 1.5rem; }
  #hero {
    padding:4.75rem 0 3rem;
    min-height:auto;
  }
  #home-promo {
    min-height:auto;
    aspect-ratio:16/10;
  }
  .hero-inner {
    grid-template-columns:1fr;
    grid-template-rows:auto auto;
    gap:1.5rem;
    padding:0 1.25rem 0.5rem;
    min-height:auto;
    align-items:center;
    justify-items:center;
  }
  .hero-content {
    order:1;
    align-self:center;
    align-items:center;
    text-align:center;
    padding:0 0.5rem;
    max-width:100%;
    width:100%;
    gap:1rem;
  }
  .hero-headline {
    font-size:clamp(1.55rem, 5.8vw, 2.45rem);
    letter-spacing:0.05em;
  }
  .hero-subline {
    font-size:clamp(0.95rem, 4vw, 1.25rem);
    letter-spacing:0.14em;
  }
  .hero-pedestal {
    order:2;
    width:100%;
    min-height:0;
    padding:0;
  }
  .hero-pedestal-stage {
    width:100%;
    height:clamp(240px, 40vh, 360px);
  }
  .hero-badge { display:none; }
  .hero-scroll { display:none; }
  #stats {
    grid-template-columns:repeat(3, minmax(0, 1fr));
  }
  .stat-item {
    padding:1.35rem 0.45rem;
    border-right:1px solid rgba(0,0,0,0.12);
  }
  .stat-num {
    font-size:clamp(1.55rem, 5.5vw, 2.35rem);
  }
  .stat-label {
    font-size:0.68rem;
    letter-spacing:0.14em;
    line-height:1.35;
  }
  .products-grid { grid-template-columns:1fr 1fr; gap:8px; }
  .product-card.wide { grid-column:span 1; }
  #productos { padding:5rem 1.25rem; }
  #mision-vision { flex-direction:column; }
  .mv-parallax {
    width:100%;
    min-height:42vh;
    position:relative;
    padding:3rem 1.5rem;
  }
  .mv-parallax blockquote { font-size:1.6rem; }
  .mv-content { width:100%; }
  .mv-block { padding:3.5rem 1.5rem; }
  #poligono { min-height:65vh; }
  .poligono-content { padding:4rem 1.25rem; }
  .poligono-content .section-title { font-size:clamp(2.8rem,12vw,5rem); }
  .poligono-locations { flex-direction:column; align-items:center; gap:1rem; }
  #marcas { padding:4rem 1.25rem; }
  #servicios { padding:5rem 1.25rem; }
  .servicios-grid { grid-template-columns:1fr; }
  #cta-final { min-height:55vh; }
  .cta-content { padding:4rem 1.25rem; }
  .cta-content .section-title { font-size:clamp(2.4rem,10vw,4.5rem); }
  .cta-row { flex-direction:column; align-items:stretch; }
  .cta-row .btn-primary,
  .cta-row .btn-ghost { text-align:center; width:100%; cursor:pointer; }
  footer {
    flex-direction:column;
    align-items:flex-start;
    padding:2.5rem 1.25rem;
    gap:1rem;
  }
}

@media (max-width:560px) {
  #hero {
    padding:4.25rem 0 2.5rem;
    min-height:auto;
  }
  .hero-inner {
    gap:1.15rem;
    padding:0 1rem 0.35rem;
  }
  .hero-headline {
    font-size:clamp(1.4rem, 6.5vw, 2.1rem);
  }
  .hero-subline {
    font-size:clamp(0.88rem, 4.5vw, 1.1rem);
    letter-spacing:0.1em;
  }
  .hero-pedestal-stage { height:clamp(220px, 36vh, 300px); }
  #stats {
    grid-template-columns:repeat(3, minmax(0, 1fr));
  }
  .stat-item { padding:1.1rem 0.25rem; }
  .stat-num { font-size:clamp(1.35rem, 6.2vw, 1.85rem); }
  .stat-label {
    font-size:0.64rem;
    letter-spacing:0.1em;
    margin-top:0.35rem;
    line-height:1.3;
  }
  .products-grid { grid-template-columns:1fr; gap:8px; }
  .product-card { aspect-ratio:5/4; }
  .product-card-name { font-size:clamp(2.2rem, 10vw, 3rem); }
  .product-card-content { padding:1.6rem 1.4rem 1.75rem; }
  .section-title { font-size:clamp(2.2rem,11vw,3.5rem); }
  .mv-parallax-logo { font-size:3rem; top:1.5rem; left:1.5rem; }
}
