*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --stats-box-half: 110px;
  --content-max: 1200px;
  --site-padding: 40px;
  --font-title: 'Audiowide', sans-serif;
  --font-highlight: 'PT Mono', monospace;
  --font-body: 'Montserrat Alternates', sans-serif;
  --bg: #000000;
  --accent: #12E19F;
  --container: #3D3D3D;
  --accent-soft: rgba(18, 225, 159, 0.15);
  --text-muted: rgba(255, 255, 255, 0.62);
  --border-subtle: rgba(255, 255, 255, 0.1);
  --nav-height: 56px;
}

html {
  font-size: 16px;
  background: var(--bg);
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
}

section[id],
.section-screen,
.stats-photo-block[id] {
  scroll-margin-top: var(--nav-height);
}

.section-screen {
  min-height: calc(100vh - var(--nav-height));
  min-height: calc(100dvh - var(--nav-height));
  display: flex;
  flex-direction: column;
  justify-content: center;
  scroll-snap-align: start;
  width: 100%;
  padding-block: clamp(40px, 6vh, 64px);
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  background: var(--bg);
  color: #fff;
  overflow-x: hidden;
}

/* Tipografía: Audiowide (títulos) · PT Mono (destaques) · Montserrat Alternates (cuerpo) */
.hero-headline,
.about-title,
.cta h2,
.stat-num,
.contact-info h3,
.contact-form-box h4 {
  font-family: var(--font-title);
  font-weight: 400;
  font-style: normal;
}

.hero-eyebrow,
.hero-badge,
.about-tagline,
.feature-title,
.stat-lbl,
.footer-col h4,
.contact-item h5,
.brand-card-name,
.cta-btn {
  font-family: var(--font-highlight);
  font-weight: 400;
  font-style: normal;
}

.container {
  max-width: var(--content-max);
  margin: 0 auto;
  width: 100%;
  padding-left: var(--site-padding);
  padding-right: var(--site-padding);
}

/* ===================== HEADER / NAV ===================== */
.site-header {
  background: rgba(0, 0, 0, 0.95);
  width: 100%;
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  line-height: 0;
}

.site-logo-img {
  display: block;
  width: auto;
  height: auto;
  max-height: 34px;
  object-fit: contain;
}

.nav-toggle {
  display: none;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  font-family: var(--font-body);
  letter-spacing: 0;
  text-transform: none;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}
.nav-links a.active { color: #fff; }
.nav-links a:hover { color: #fff; }
.btn-signin {
  font-family: var(--font-body);
  background: var(--accent);
  border: none;
  color: #000000;
  padding: 10px 22px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
  border-radius: 999px;
  text-decoration: none;
  display: inline-block;
  transition: opacity 0.2s, transform 0.2s;
}
.btn-signin:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

/* ===================== HERO / PORTADA ===================== */
.hero {
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.hero-dots-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 920px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  margin-bottom: 32px;
  border: 1px solid rgba(18, 225, 159, 0.35);
  border-radius: 999px;
  background: var(--container);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.88);
  text-transform: none;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  flex-shrink: 0;
}

.hero-headline {
  font-size: clamp(32px, 5.5vw, 58px);
  line-height: 1.15;
  color: #fff;
  margin-bottom: 24px;
  max-width: 900px;
  letter-spacing: 0.02em;
}

.hero-headline-accent {
  color: var(--accent);
}

.hero-cursor {
  display: inline-block;
  width: 3px;
  height: 0.85em;
  margin-left: 4px;
  vertical-align: -0.05em;
  background: var(--accent);
  animation: hero-blink 1s step-end infinite;
}

@keyframes hero-blink {
  50% { opacity: 0; }
}

.hero-lead {
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.75;
  font-weight: 400;
  color: var(--text-muted);
  max-width: 640px;
  margin-bottom: 48px;
}

.hero-brands-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 920px;
}

.hero-brands {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 40px 64px;
  width: 100%;
}

.hero-brand-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: 320px;
}

.hero-brand-caption {
  font-family: var(--font-highlight);
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.72);
  text-align: center;
  max-width: 300px;
}

.hero-brands-hint {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  font-family: var(--font-highlight);
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--accent);
  line-height: 1.45;
  text-decoration: none;
  text-align: center;
  transition: opacity 0.2s;
}

.hero-brands-hint:hover {
  opacity: 0.88;
}

.hero-brands-hint-arrow {
  display: block;
  font-size: 18px;
  line-height: 1;
  color: var(--accent);
}

.hero-brands-hint-text {
  position: relative;
  display: inline-block;
  padding-bottom: 5px;
}

.hero-brands-hint-text::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  animation: hero-hint-underline 4.5s ease-in-out infinite;
}

@keyframes hero-hint-underline {
  0% {
    transform: scaleX(0);
    transform-origin: left center;
  }
  45% {
    transform: scaleX(1);
    transform-origin: left center;
  }
  55% {
    transform: scaleX(1);
    transform-origin: right center;
  }
  100% {
    transform: scaleX(0);
    transform-origin: right center;
  }
}

.hero-brand-slot {
  flex: 0 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  background: transparent;
}

.hero-brand-link {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: opacity 0.2s;
}

.hero-brand-link:hover {
  opacity: 0.85;
}

.hero-brand-logo {
  max-width: 100%;
  max-height: 68px;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.95;
  mix-blend-mode: lighten;
}

.hero-brand-logo--legrand {
  max-height: 54px;
  max-width: 260px;
}

.hero-brand-slot.is-empty::before {
  content: attr(data-label);
  font-family: var(--font-highlight);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.28);
}

@media (max-width: 640px) {
  .hero-brands-block .hero-brands {
    flex-direction: column;
    align-items: center;
    gap: 36px;
  }

  .hero-brand-item {
    max-width: 100%;
  }

  .hero-brand-caption {
    font-size: 10px;
    max-width: 260px;
  }

  .hero-brands-hint {
    margin-top: 20px;
    max-width: 300px;
    font-size: 13px;
  }

  .hero-brands-hint-arrow {
    font-size: 16px;
  }
}

/* ===================== ABOUT US ===================== */
.about {
  background: var(--bg);
}

.about-title,
.brands-title,
.products-title,
.map-title {
  font-size: clamp(44px, 5vw, 52px);
  line-height: 1.1;
  color: #fff;
  text-align: center;
  margin-bottom: 48px;
}

.about-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.about-tagline {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  font-size: 20px;
  line-height: 1.45;
  color: #fff;
}

.about-tagline-accent {
  color: var(--accent);
}

.about-text p {
  font-size: 16px;
  line-height: 1.72;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.about-text p:last-child {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .about-body {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* ===================== FEATURES ===================== */
.features {
  background: var(--bg);
  color: #fff;
  position: relative;
  z-index: 1;
  /* espacio inferior para solapamiento del bloque de stats (sin tocar #impacto) */
  padding-bottom: calc(clamp(40px, 6vh, 64px) + var(--stats-box-half));
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.features-grid > div {
  background: var(--container);
  border-radius: 16px;
  padding: 28px 24px;
}
.feature-icon {
  width: 62px;
  height: 62px;
  margin-bottom: 18px;
  color: var(--accent);
}
.feature-icon svg {
  width: 100%; height: 100%;
}
.feature-title {
  font-size: 15px;
  color: var(--accent);
  margin-bottom: 9px;
}
.feature-desc {
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-muted);
}

/* ===================== STATS + PHOTO OVERLAP ===================== */
.stats-photo-block {
  position: relative;
  width: 100%;
  margin-top: 0;
  overflow: visible;
  z-index: 2;
}

.stats-float {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  z-index: 10;
}

.stats-float .container {
  padding-left: var(--site-padding);
  padding-right: var(--site-padding);
}

.stats-box {
  width: 100%;
  background: var(--container);
  border-radius: 20px;
  padding: 44px 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.stat {
  flex: 1;
  text-align: center;
}
.stat-sep {
  width: 5px; height: 5px;
  background: #fff;
  border-radius: 50%;
  opacity: 0.5;
  flex-shrink: 0;
}
.stat-num {
  font-size: 62px;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 6px;
}

.stat-num.stat-num--compact {
  font-size: 42px;
  letter-spacing: -0.5px;
}
.stat-lbl {
  font-size: 12px;
  color: #fff;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ===================== TEAM PHOTO ===================== */
.team-photo-wrap {
  position: relative;
  width: 100%;
  line-height: 0;
  overflow: visible;
}

.team-photo-wrap img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center center;
  display: block;
  filter: brightness(0.82) saturate(0.9);
}

/* ===================== MARCAS ===================== */
.brands {
  background: var(--bg);
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.brand-card {
  background: var(--container);
  border-radius: 16px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.brand-card-link {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 56px;
  margin-bottom: 24px;
  text-decoration: none;
  transition: opacity 0.2s;
}

.brands .brand-card-link {
  height: 48px;
  min-height: 48px;
}

.brand-card-link:hover {
  opacity: 0.85;
}

.brand-card-logo {
  max-width: 100%;
  max-height: 48px;
  width: auto;
  height: auto;
  object-fit: contain;
  mix-blend-mode: lighten;
}

.brands .brand-card-logo {
  height: 48px;
  max-height: none;
  object-position: left center;
}

.brand-card-logo--legrand {
  max-height: 36px;
  max-width: 140px;
}

.brands .brand-card-logo--legrand {
  height: 48px;
  max-height: none;
  max-width: 100%;
}

.brand-card-name {
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.brand-card-desc {
  font-size: 13.5px;
  line-height: 1.72;
  color: var(--text-muted);
}

@media (max-width: 1200px) {
  .brands-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 960px) {
  .brands-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 640px) {
  .brand-card {
    padding: 28px 24px;
  }
}

/* ===================== LÍNEA DE PRODUCTOS ===================== */
.products {
  background: var(--bg);
}

/* Versión horizontal (activa) */
.products--horizontal {
  padding-block: clamp(72px, 9vh, 108px);
  scroll-margin-top: var(--nav-height);
  position: relative;
  overflow: hidden;
}

.products--horizontal::before {
  content: '';
  position: absolute;
  top: 12%;
  left: 50%;
  transform: translateX(-50%);
  width: min(900px, 90vw);
  height: 320px;
  background: radial-gradient(ellipse at center, rgba(18, 225, 159, 0.07) 0%, transparent 72%);
  pointer-events: none;
}

.products--horizontal .container {
  position: relative;
  z-index: 1;
}

.products--horizontal .products-title {
  margin-bottom: 16px;
}

.products-lead {
  font-family: var(--font-highlight);
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  text-align: center;
  margin-bottom: 52px;
  opacity: 0.92;
}

.products-horizontal-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  /* counter-reset: product-row; — numeración oculta */
}

.product-row {
  --row-accent: rgba(18, 225, 159, 0.22);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
}

.product-row:hover {
  --row-accent: rgba(18, 225, 159, 0.42);
}

.product-row--reverse .product-row-visual {
  order: 2;
  border-right: none;
}

.product-row--reverse .product-row-body {
  order: 1;
}

.product-row-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  padding: 40px 36px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--row-accent);
  border-radius: 20px;
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.product-row:hover .product-row-visual {
  box-shadow: 0 12px 48px rgba(18, 225, 159, 0.1);
}

.product-row-lines-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.product-row-visual::after {
  content: '';
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(18, 225, 159, 0.12);
  border-radius: 14px;
  pointer-events: none;
  z-index: 1;
}

.product-row-img-btn {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0;
  border: none;
  background: transparent;
  cursor: zoom-in;
  transition: transform 0.4s ease;
}

.product-row-img-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 8px;
}

.product-row-img {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  max-height: 260px;
  object-fit: contain;
  filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.45));
  pointer-events: none;
}

.product-row:hover .product-row-img-btn {
  transform: scale(1.03);
}

.product-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.product-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.product-lightbox-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  border: none;
  background: rgba(0, 0, 0, 0.88);
  cursor: zoom-out;
}

.product-lightbox-dialog {
  position: relative;
  z-index: 1;
  max-width: min(1100px, 94vw);
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.94);
  transition: transform 0.28s ease;
  pointer-events: none;
}

.product-lightbox.is-open .product-lightbox-dialog {
  transform: scale(1);
}

.product-lightbox-img {
  display: block;
  max-width: min(1100px, 94vw);
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.55));
  pointer-events: none;
}

.product-lightbox-close {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 3;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(18, 225, 159, 0.45);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.85);
  color: var(--accent);
  font-size: 28px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.product-lightbox-close:hover {
  background: rgba(18, 225, 159, 0.12);
  border-color: var(--accent);
}

.product-row-body {
  min-width: 0;
  padding: 36px 40px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: transparent;
}

.product-row-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* numeración oculta
.product-row-header::before {
  counter-increment: product-row;
  content: counter(product-row, decimal-leading-zero);
  font-family: var(--font-highlight);
  font-size: 28px;
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--accent);
  opacity: 0.55;
  flex-shrink: 0;
}
*/

/* íconos ocultos en HTML — estilos guardados
.product-row-header .product-card-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 0;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid rgba(18, 225, 159, 0.28);
  background: rgba(18, 225, 159, 0.08);
}

.product-row-header .product-card-icon svg {
  width: 26px;
  height: 26px;
}
*/

.product-row-header .brand-card-name {
  margin-bottom: 0;
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(24px, 2.2vw, 30px);
  letter-spacing: 0.08em;
  line-height: 1.25;
}

.product-row-body .product-card-list {
  padding-left: 2px;
  font-size: 16px;
  line-height: 1.7;
}

.product-row-body .product-card-list > li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 14px;
  border-left: 2px solid rgba(18, 225, 159, 0.35);
}

.product-row-body .product-card-list > li:last-child {
  margin-bottom: 0;
}

.product-row-body .product-card-list ul {
  margin-top: 8px;
  padding-left: 4px;
}

.product-row-body .product-card-list ul li {
  padding-left: 12px;
  border-left: none;
  font-size: 15px;
  margin-bottom: 6px;
}

.product-row-body .product-card-list ul li::before {
  content: '·';
  left: 0;
  color: var(--accent);
  opacity: 1;
}

@media (max-width: 900px) {
  .products-lead {
    margin-bottom: 40px;
    font-size: 12px;
    line-height: 1.5;
    padding-inline: 8px;
  }

  .product-row,
  .product-row--reverse {
    grid-template-columns: 1fr;
  }

  .product-row--reverse .product-row-visual,
  .product-row--reverse .product-row-body {
    order: unset;
  }

  .product-row-visual {
    min-height: 200px;
    padding: 28px 24px;
    border-bottom: none;
  }

  .product-row--reverse .product-row-visual {
    border-left: none;
  }

  .product-row-body {
    padding: 28px 24px 32px;
  }

  .product-row-img {
    max-height: 200px;
  }

  .product-row-header .brand-card-name {
    font-size: 22px;
    font-weight: 700;
  }

  .product-row-body .product-card-list {
    font-size: 15px;
  }

  .product-row-body .product-card-list ul li {
    font-size: 14px;
  }
}

/* Versión grilla vertical (guardada en HTML comentado) */
.products-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.product-card {
  height: 100%;
}

.product-card.brand-card {
  background: var(--accent-soft);
  border: 1px solid rgba(18, 225, 159, 0.35);
  display: flex;
  flex-direction: column;
}

.product-card-visual {
  margin-top: auto;
  flex: 1 1 auto;
  width: 100%;
  min-height: 180px;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 12px 0 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.product-card-img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 170px;
  max-height: 240px;
  object-fit: contain;
  object-position: bottom center;
}

.product-card-icon {
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 18px;
  flex-shrink: 0;
}

.product-card-icon svg {
  width: 32px;
  height: 32px;
}

.product-card .brand-card-name {
  margin-bottom: 10px;
  color: #fff;
}

.product-card-arrow {
  display: block;
  font-size: 18px;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 14px;
}

.product-card-list {
  list-style: none;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--text-muted);
}

.product-card-list > li {
  margin-bottom: 10px;
}

.product-card-list > li:last-child {
  margin-bottom: 0;
}

.product-card-list ul {
  margin-top: 6px;
  padding-left: 0;
  list-style: none;
}

.product-card-list ul li {
  position: relative;
  padding-left: 14px;
  margin-bottom: 4px;
  font-size: 13px;
}

.product-card-list ul li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--accent);
  opacity: 0.85;
}

@media (max-width: 1200px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 960px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .products-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }
}

.win-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 2px;
  width: 16px; height: 16px;
}
.win-grid span { background: #fff; display: block; }

/* ===================== CTA ===================== */
.cta {
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.cta-bg-svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.32;
  filter: saturate(1.15) brightness(1.08);
}

.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta h2 {
  font-size: 52px;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 36px;
}
.cta h2 em {
  font-family: var(--font-highlight);
  font-style: normal;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  border: 1.5px solid var(--accent);
  background: transparent;
  color: var(--accent);
  padding: 13px 28px;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  text-decoration: none;
}
.cta-btn .arrow {
  font-size: 20px;
  letter-spacing: 0;
  line-height: 1;
}

.cta-subhint {
  display: block;
  margin-top: 40px;
  font-family: var(--font-highlight);
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--accent);
  line-height: 1.45;
  text-align: center;
  text-decoration: none;
  transition: opacity 0.2s;
}

.cta-subhint:hover {
  opacity: 0.88;
}

.cta-subhint .hero-brands-hint-text {
  color: var(--accent);
}

/* ===================== MAPA / SHOWROOM ===================== */
.map-section.section-screen {
  min-height: calc(100dvh - var(--nav-height));
  height: calc(100dvh - var(--nav-height));
  justify-content: flex-start;
  padding-top: clamp(40px, 6vh, 64px);
  padding-bottom: 0;
  box-sizing: border-box;
}

.map-section {
  background: var(--bg);
  display: flex;
  flex-direction: column;
}

.map-section .container {
  flex-shrink: 0;
}

.map-title {
  margin-bottom: 28px;
}

.map-canvas {
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  height: auto;
  border-top: 1px solid var(--border-subtle);
  background: #000000;
  position: relative;
  overflow: hidden;
}

.map-canvas .google-map-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.map-canvas.map-canvas--embed iframe {
  filter: invert(0.9) hue-rotate(180deg) brightness(0.88) contrast(0.92) saturate(0.78);
  transform: scale(1.01);
}

/* ===================== CONTACTO ===================== */
.contact-section {
  background: var(--bg);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.contact-info h3 {
  font-size: 34px;
  color: #fff;
  margin-bottom: 24px;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--container);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.contact-item h5 {
  font-size: 14px;
  color: #fff;
  line-height: 1.3;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.contact-item p {
  margin-top: 2px;
}

.contact-item a {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  text-underline-offset: 3px;
}

.contact-item a:hover {
  color: #fff;
  text-decoration-color: rgba(255, 255, 255, 0.8);
}

.contact-address-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 15px;
  line-height: 1.45;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.88);
}

.contact-address-link:hover {
  color: #fff;
}

.contact-address-link span {
  display: block;
}

.contact-socials {
  display: flex;
  gap: 10px;
  margin-top: 28px;
}

.contact-socials a {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--container);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.contact-socials a:hover {
  background: var(--accent);
  color: #000;
}

.contact-form-box {
  background: var(--container);
  border: 1.5px solid var(--border-subtle);
  border-radius: 16px;
  padding: 36px;
}

.contact-form-box h4 {
  font-size: 30px;
  color: #fff;
  margin-bottom: 18px;
  line-height: 1.2;
}

.contact-form-box h4 span {
  color: var(--accent);
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.contact-form-row-single {
  grid-template-columns: 1fr;
}

.contact-form-input {
  width: 100%;
  border: 1.5px solid var(--border-subtle);
  background: rgba(0, 0, 0, 0.35);
  border-radius: 10px;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
  color: #fff;
  resize: vertical;
}

.contact-form-input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.contact-form-input:focus {
  border-color: var(--accent);
}

.contact-form-submit {
  width: 100%;
  background: var(--accent);
  border: none;
  color: #000000;
  border-radius: 10px;
  padding: 13px 22px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: opacity 0.2s;
}

.contact-form-submit:hover {
  opacity: 0.9;
}

@media (max-width: 900px) {
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-form-row {
    grid-template-columns: 1fr;
  }
}

/* ===================== FOOTER ===================== */
footer {
  background: var(--bg);
  width: 100%;
  padding: 60px 0 28px;
  border-top: 1px solid var(--border-subtle);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 48px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 26px;
}
.footer-logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 30px;
  text-decoration: none;
  line-height: 0;
}

.footer-logo .site-logo-img {
  max-height: 40px;
}
.footer-socials {
  display: flex;
  gap: 10px;
}
.soc-btn {
  width: 34px; height: 34px;
  border: 1.5px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  border-radius: 3px;
  color: #fff;
  text-decoration: none;
  transition: border-color 0.2s;
}
.soc-btn:hover { border-color: rgba(255,255,255,0.7); }
.soc-btn svg { width: 15px; height: 15px; }

.footer-col h4 {
  font-size: 14px;
  color: #fff;
  margin-bottom: 18px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a {
  color: #7a839e;
  font-size: 13.5px;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.footer-copy,
.footer-credit {
  font-size: 12px;
  color: #7a839e;
  line-height: 1.65;
  max-width: 720px;
}

.footer-copy a,
.footer-credit a {
  color: var(--text-muted);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.25);
  text-underline-offset: 3px;
  transition: color 0.2s, text-decoration-color 0.2s;
}

.footer-copy a:hover,
.footer-credit a:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

.footer-grupo-link {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 255, 255, 0.45);
}

.footer-grupo-link:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

body.is-nav-open,
html.is-nav-open {
  overflow: hidden;
}

#footer-year {
  font-family: var(--font-highlight);
}

/* ===================== RESPONSIVE MÓVIL ===================== */
/* Solo pantallas ≤900px — escritorio sin cambios */

@media (max-width: 900px) {
  :root {
    --site-padding: 20px;
    --stats-box-half: 72px;
  }

  html {
    scroll-snap-type: none;
  }

  .section-screen {
    min-height: auto;
    padding-block: clamp(48px, 8vh, 64px);
  }

  /* Header / nav móvil */
  .site-header__inner {
    gap: 12px;
  }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    margin-left: 0;
    flex-shrink: 0;
    padding: 0;
    border: 1px solid rgba(18, 225, 159, 0.28);
    border-radius: 10px;
    background: rgba(18, 225, 159, 0.06);
    cursor: pointer;
    z-index: 202;
    position: relative;
    transition: border-color 0.2s, background 0.2s;
  }

  .nav-toggle-bar {
    display: block;
    width: 18px;
    height: 2px;
    margin: 0 auto;
    background: var(--accent);
    border-radius: 1px;
    transition: transform 0.28s ease, opacity 0.2s ease;
  }

  .site-header.is-menu-open .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .site-header.is-menu-open .nav-toggle-bar:nth-child(2) {
    opacity: 0;
  }

  .site-header.is-menu-open .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-menu {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 201;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    margin-left: 0;
    padding: 36px var(--site-padding) 48px;
    background: #000000;
    border-top: 1px solid rgba(18, 225, 159, 0.15);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .site-header.is-menu-open .nav-menu {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }

  .nav-links li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }

  .nav-links li:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
  }

  .nav-links a {
    display: block;
    padding: 18px 8px;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.03em;
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.2s, padding-left 0.2s;
  }

  .nav-links a:hover,
  .nav-links a.active {
    color: var(--accent);
    padding-left: 14px;
  }

  .nav-menu .btn-signin {
    width: 100%;
    margin-top: 28px;
    text-align: center;
    padding: 15px 22px;
    font-size: 14px;
    flex-shrink: 0;
  }

  /* Hero */
  .hero-inner {
    max-width: 100%;
  }

  .hero-badge {
    font-size: 11px;
    padding: 7px 14px;
    margin-bottom: 24px;
    text-align: center;
    line-height: 1.45;
  }

  .hero-headline {
    font-size: clamp(28px, 7.5vw, 40px);
    margin-bottom: 20px;
  }

  .hero-lead {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 36px;
  }

  .hero-brands {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }

  .hero-brand-item {
    max-width: 100%;
    width: 100%;
  }

  .hero-brand-caption {
    font-size: 11px;
    max-width: 280px;
  }

  .hero-brands-hint {
    margin-top: 20px;
    font-size: 13px;
    max-width: 300px;
  }

  /* Títulos de sección */
  .about-title,
  .brands-title,
  .products-title,
  .map-title {
    font-size: clamp(30px, 7vw, 40px);
    margin-bottom: 32px;
    padding-inline: 4px;
  }

  .products--horizontal .products-title {
    margin-bottom: 12px;
  }

  .products-lead {
    font-size: 11px;
    margin-bottom: 36px;
    padding-inline: 4px;
    line-height: 1.55;
  }

  /* Nosotros */
  .about-body {
    gap: 24px;
  }

  .about-tagline {
    font-size: 18px;
    text-align: center;
    align-items: center;
  }

  .about-text p {
    font-size: 15px;
    text-align: center;
  }

  /* Soluciones */
  .features {
    padding-bottom: calc(clamp(48px, 8vh, 64px) + var(--stats-box-half));
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .features-grid > div {
    padding: 24px 20px;
  }

  /* Stats + foto */
  .stats-box {
    flex-direction: column;
    gap: 20px;
    padding: 28px 24px;
    border-radius: 16px;
  }

  .stat-sep {
    display: none;
  }

  .stat {
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .stat:last-child {
    padding-bottom: 0;
    border-bottom: none;
  }

  .stat-num {
    font-size: 48px;
  }

  .stat-num.stat-num--compact {
    font-size: 30px;
    line-height: 1.15;
  }

  .stat-lbl {
    font-size: 11px;
    line-height: 1.45;
    padding-inline: 12px;
  }

  .team-photo-wrap img {
    height: 260px;
  }

  /* Marcas */
  .brand-card-desc {
    font-size: 14px;
  }

  /* Productos */
  .products--horizontal {
    padding-block: clamp(48px, 8vh, 72px);
  }

  .products-horizontal-list {
    gap: 20px;
  }

  .product-row-body {
    padding: 24px 4px 8px;
  }

  .product-row-header {
    margin-bottom: 18px;
    padding-bottom: 16px;
  }

  .product-row-header .brand-card-name {
    font-size: 22px;
  }

  .product-lightbox {
    padding: 16px;
  }

  .product-lightbox-close {
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    font-size: 24px;
  }

  /* CTA */
  .cta h2 {
    font-size: clamp(28px, 7vw, 38px);
    margin-bottom: 28px;
    padding-inline: 4px;
  }

  .cta-btn {
    padding: 14px 24px;
    font-size: 10px;
    letter-spacing: 1.5px;
  }

  .cta-subhint {
    margin-top: 28px;
    font-size: 13px;
    padding-inline: 8px;
  }

  /* Mapa */
  .map-section.section-screen {
    min-height: auto;
    height: auto;
    padding-top: clamp(48px, 8vh, 64px);
  }

  .map-title {
    margin-bottom: 20px;
  }

  .map-canvas {
    min-height: 320px;
    height: 50vh;
    max-height: 420px;
  }

  /* Contacto */
  .contact-info h3 {
    font-size: clamp(26px, 6vw, 32px);
    text-align: center;
  }

  .contact-inner {
    gap: 32px;
  }

  .contact-items {
    gap: 16px;
  }

  .contact-form-box {
    padding: 24px 20px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
  }

  .footer-grid .footer-col:first-child {
    grid-column: 1 / -1;
  }

  footer {
    padding: 48px 0 24px;
  }
}

@media (max-width: 480px) {
  :root {
    --site-padding: 16px;
    --stats-box-half: 64px;
  }

  .site-logo-img {
    max-height: 28px;
  }

  .hero-headline {
    font-size: clamp(24px, 7.2vw, 32px);
  }

  .hero-lead {
    font-size: 14px;
  }

  .about-title,
  .brands-title,
  .products-title,
  .map-title {
    font-size: clamp(26px, 7.5vw, 32px);
    margin-bottom: 24px;
  }

  .about-tagline {
    font-size: 16px;
  }

  .about-text p {
    font-size: 14px;
  }

  .feature-title {
    font-size: 14px;
  }

  .feature-desc {
    font-size: 13px;
  }

  .stat-num {
    font-size: 40px;
  }

  .stat-num.stat-num--compact {
    font-size: 24px;
  }

  .brand-card {
    padding: 24px 20px;
  }

  .product-row-visual {
    min-height: 180px;
    padding: 24px 16px;
    border-radius: 16px;
  }

  .product-row-img {
    max-height: 170px;
  }

  .product-row-header .brand-card-name {
    font-size: 20px;
    letter-spacing: 0.06em;
  }

  .product-row-body .product-card-list {
    font-size: 14px;
  }

  .cta h2 {
    font-size: clamp(24px, 7vw, 30px);
  }

  .contact-info h3 {
    font-size: 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }

  .footer-logo,
  .footer-socials {
    justify-content: center;
  }

  .footer-logo {
    display: flex;
    width: 100%;
  }

  .footer-socials {
    justify-content: center;
  }

  .footer-col h4 {
    margin-bottom: 14px;
  }

  .map-canvas {
    min-height: 280px;
    height: 45vh;
  }
}
