:root {
  --surface: #ffffff;
  --dark: #f8faff;
  --card: #ffffff;
  --border: rgba(24, 37, 62, 0.15);
  --blue: #0047AB;
  --blue-mid: #225bb5;
  --blue-glow: rgba(0, 71, 171, 0.18);
  --amber: #F5A623;
  --warm: #FFD580;
  --text: #243047;
  --muted: #4c5c75;
  --heading: #172238;
  --on-color: #ffffff;
  --amber-text: #8b4a00;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--surface);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
}

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 20px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 0.1em;
  color: var(--heading);
  text-decoration: none;
}

.nav-logo span {
  color: var(--heading);
  margin-left: 6px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
}

.nav-links li {
  display: flex;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--heading);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--blue-mid);
}

.nav-cta {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 36px !important;
  padding: 0 18px !important;
  border-radius: 2px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  vertical-align: middle !important;
  box-sizing: border-box !important;
  text-decoration: none !important;
}

.nav-cta.vip-btn {
  background: var(--amber) !important;
  color: #0a0a0a !important;
}

.nav-cta.vip-btn:hover {
  background: #e0951b !important;
  color: #000000 !important;
}

.nav-cta.store-btn {
  background: var(--blue) !important;
  color: var(--on-color) !important;
}

.nav-cta.store-btn:hover {
  background: var(--blue-mid) !important;
}

/* ─── HERO ─── */
#hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 640px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding-top: 140px;
  padding-bottom: 52px;
  overflow: hidden;
  text-align: center;
}

/* Canvas fills the entire hero */
#particle-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(ellipse 100% 100% at 50% 50%,
      rgba(255, 255, 255, 0) 0%,
      rgba(231, 240, 255, 0.17) 55%,
      rgba(255, 255, 255, 0.8) 100%);
  pointer-events: none;
}

.hero-fade-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  z-index: 2;
  background: linear-gradient(to bottom, transparent, var(--surface));
  pointer-events: none;
}



.hero-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  justify-content: center;
}



/* Adaptabilidad para Celulares y Tablets */
@media (max-width: 768px) {
  
}

@media (max-width: 480px) {
  
}



.hero-eyebrow {
  font-size: 15px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--amber-text);
  margin-bottom: 13px;
  display: flex;
  align-items: center;
  gap: 14px;
  opacity: 0;
  animation: fade-down 0.8s ease 0.3s forwards;
}

.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--amber);
}

/* 100.000 y LÁMPARAS: mismo tamaño, azul corporativo */
.hero-title-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  animation: fade-up 0.9s ease 0.5s forwards;
}

.hero-logo-bg {
  position: absolute;
  top: calc(50% - 15px);
  left: 50%;
  transform: translate(-50%, -50%);
  height: clamp(380px, 66vh, 580px);
  width: auto;
  pointer-events: none;
  z-index: 2;
  opacity: 0.34;
  filter: drop-shadow(0 0 19px rgba(71, 135, 222, 0.38));
  user-select: none;
}

.hero-logo-bg img {
  height: 100%;
  width: auto;
  object-fit: contain;
  display: block;
  filter: brightness(0) saturate(100%) invert(36%) sepia(53%) saturate(1110%) hue-rotate(179deg) brightness(96%) contrast(92%);
}









.hero-title-line {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(70px, 13vw, 165px);
  letter-spacing: 0.06em;
  color: var(--heading);
  display: block;
  line-height: 1;
}

.hero-title-line+.hero-title-line {
  margin-top: 0.08em;
}

.hero-tagline {
  display: none;
}

/* Stats — en el flujo normal, pegados al fondo por el padding del hero */
.hero-stats {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 72px;
  width: 100%;
  opacity: 0;
  animation: fade-up 0.8s ease 1.1s forwards;
}

.stat {
  text-align: center;
}

.stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 38px;
  color: var(--blue-mid);
  line-height: 1;
}

.stat-label {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--heading);
  margin-top: 4px;
}

/* Separador entre stats */
.stat-sep {
  width: 1px;
  background: var(--border);
  align-self: stretch;
  margin: 4px 0;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-down {
  from {
    opacity: 0;
    transform: translateY(-14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── BUTTONS ─── */
.btn-primary {
  background: var(--blue);
  color: var(--on-color);
  padding: 14px 32px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: background 0.2s, transform 0.2s;
  display: inline-block;
}

.btn-primary:hover {
  background: var(--blue-mid);
  transform: translateY(-1px);
}

.btn-ghost {
  color: var(--text);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--border);
  padding: 14px 32px;
  border-radius: 2px;
  transition: border-color 0.2s, color 0.2s;
}

.btn-ghost:hover {
  border-color: var(--blue-mid);
  color: var(--heading);
}

/* ─── MARQUEE ─── */
.marquee-wrap {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding: 13px 0;
  background: var(--dark);
}

.marquee-track {
  display: flex;
  gap: 56px;
  animation: marquee 30s linear infinite;
  white-space: nowrap;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.marquee-item {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 20px;
}

.marquee-item .sep {
  color: var(--amber-text);
  font-size: 7px;
}

/* ─── SECTIONS ─── */
section {
  padding: 100px 60px;
}

.section-tag {
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--blue-mid);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-tag::before {
  content: '';
  display: block;
  width: 22px;
  height: 1px;
  background: var(--blue-mid);
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(44px, 5vw, 72px);
  letter-spacing: 0.03em;
  color: var(--heading);
  line-height: 1;
  margin-bottom: 16px;
}

.section-lead {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 19px;
  color: var(--muted);
  max-width: 600px;
  line-height: 1.6;
  margin-bottom: 56px;
}

/* ─── INFO ─── */
#info {
  background: var(--dark);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.info-card {
  background: var(--card);
  padding: 40px 30px;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}

.info-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.info-card:hover {
  background: #f0f5fd;
}

.info-card:hover::after {
  transform: scaleX(1);
}

.info-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--blue-mid);
  transition: transform 0.3s, color 0.3s;
}

.info-card:hover .info-icon {
  color: var(--heading);
  transform: translateY(-3px);
}

.info-icon svg {
  width: 32px;
  height: 32px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5px;
}

.info-card h3 {
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue-mid);
  margin-bottom: 14px;
  font-weight: 500;
}

.info-card p,
.info-card a {
  font-size: 15px;
  color: var(--heading);
  line-height: 1.7;
  text-decoration: none;
  display: block;
  transition: color 0.2s;
}

.info-card a:hover {
  color: var(--blue-mid);
}

.info-card a.info-action {
  color: var(--blue-mid);
  font-weight: 500;
}

.info-card a.info-action:hover {
  color: var(--heading);
}

/* ─── PRODUCTOS ─── */
#productos {
  background: var(--surface);
  padding-bottom: 0;
}

.products-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 52px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 3px;
}

.product-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: #f3f6fb;
  aspect-ratio: 4/3;
}

.product-photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-card:hover .product-photo {
  transform: scale(1.06);
}

.product-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.94) 0%, rgba(0, 0, 0, 0.3) 55%, rgba(0, 0, 0, 0.0) 100%);
  transition: background 0.4s;
}

.product-card:hover .product-overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.97) 0%, rgba(0, 0, 0, 0.52) 65%, rgba(0, 0, 0, 0.08) 100%);
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--blue), var(--blue-mid));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
  z-index: 3;
}

.product-card:hover::before {
  transform: scaleX(1);
}

.product-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px;
  z-index: 2;
}

.product-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 30px;
  color: var(--on-color);
  letter-spacing: 0.05em;
  line-height: 1;
}

.product-desc {
  font-size: 15px;
  color: var(--on-color);
  margin-top: 10px;
  line-height: 1.55;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.45s ease, opacity 0.3s;
}

.product-card:hover .product-desc {
  max-height: 130px;
  opacity: 1;
}

/* ─── NOSOTROS ─── */
#nosotros {
  background: var(--dark);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: start;
}

.timeline {
  position: relative;
  padding-left: 36px;
  margin-top: 56px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--blue) 0%, transparent 100%);
}

.timeline-item {
  position: relative;
  margin-bottom: 44px;
}

.timeline-dot {
  position: absolute;
  left: -40px;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue-mid);
  box-shadow: 0 0 10px rgba(26, 95, 212, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

/* Warm-white point with a short amber halo, visible against the light background. */
.timeline-item:hover .timeline-dot,
.timeline-item:hover .timeline-dot.dot-now {
  transform: scale(1.4);
  background: #ffe3b5;
  box-shadow: 0 0 0 1px #bc772a, 0 0 8px 3px #ffb95cbf, 0 0 20px 5px #ffad414d;
}

.timeline-dot.dot-now {
  background: var(--amber);
  box-shadow: 0 0 14px rgba(245, 166, 35, 0.9), 0 0 4px rgba(255, 213, 128, 0.6);
  width: 10px;
  height: 10px;
  left: -41px;
  top: 7px;
}

.timeline-year {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 52px;
  color: var(--blue-mid);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 4px;
  transition: opacity 0.3s ease, color 0.3s ease, text-shadow 0.3s ease;
}

.timeline-item:hover .timeline-year {
  opacity: 0.8;
  color: var(--blue-mid);
  text-shadow: 0 0 20px rgba(46, 111, 212, 0.4);
}

.timeline-item:hover .timeline-year.now {
  color: var(--amber-text);
  text-shadow: 0 0 25px rgba(245, 166, 35, 0.6);
}

.timeline-year.now {
  opacity: 0.7;
  color: var(--amber-text);
}

.timeline-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--heading);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

/* El título ya no se desplaza */

.timeline-text {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.75;
  transition: color 0.3s ease;
}

.timeline-text:not(:last-child) {
  margin-bottom: 12px;
}

.timeline-item:hover .timeline-text {
  color: var(--text);
}

.nosotros-right {
  position: sticky;
  top: 100px;
  padding-top: 8px;
}

/* Misión, Visión y Lema — misma estética */
.mv-items {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 40px;
}

.mv-item {
  border-left: 3px solid rgba(26, 95, 212, 0.25);
  padding: 24px 0 24px 24px;
  transition: border-color 0.3s;
}

.mv-item:hover {
  border-left-color: var(--blue-mid);
}

.mv-label {
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--blue-mid);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mv-label::before {
  content: '';
  width: 16px;
  height: 1px;
  background: var(--blue-mid);
}

.mv-item p {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: clamp(17px, 1.8vw, 22px);
  color: var(--text);
  line-height: 1.5;
}

.mv-item p span {
  color: var(--amber-text);
}

.link-subtle {
  font-size: 16px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--heading);
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
  display: inline-block;
}

.link-subtle:hover {
  color: var(--blue-mid);
  transform: translateX(5px);
}

.products-footer {
  padding: 20px 0 60px;
  text-align: right;
  margin-top: 10px;
}

/* ─── PROVEEDORES ─── */
#proveedores {
  background: var(--surface);
}

.logos-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 56px;
}

.logo-cell {
  background: var(--card);
  padding: 32px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: grayscale(1);
  transition: filter 0.3s, background 0.3s;
}

.logo-cell:hover {
  filter: none;
  background: #f0f5fd;
}

.logo-cell span {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  letter-spacing: 0.1em;
  color: var(--text);
}

/* ─── MAPA ─── */
#mapa {
  height: 420px;
  position: relative;
  overflow: hidden;
}

#mapa iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(1);
  transition: filter 0.6s ease;
}

#mapa:hover iframe {
  filter: grayscale(0) brightness(1) contrast(1);
}

.mapa-label {
  position: absolute;
  top: 30px;
  right: 30px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-right: 3px solid var(--blue);
  padding: 16px 24px;
  z-index: 10;
  pointer-events: none;
  text-align: right;
}

.mapa-label strong {
  display: block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
  color: var(--heading);
  letter-spacing: 0.08em;
  line-height: 1.2;
}

.mapa-street {
  display: block;
  font-size: 14px;
  color: var(--blue-mid);
  font-weight: 500;
  margin: 4px 0;
}

.mapa-label span:last-child {
  font-size: 12px;
  color: var(--muted);
}

/* ─── FOOTER ─── */
footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 36px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  color: var(--blue-mid);
  letter-spacing: 0.1em;
}

.footer-copy {
  font-size: 12px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  font-size: 11px;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--heading);
}

/* ─── BACK TO TOP ─── */
.back-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  background: var(--blue);
  color: var(--on-color);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-decoration: none;
  font-size: 18px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, background 0.2s, transform 0.2s;
  z-index: 99;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.back-top.visible {
  opacity: 1;
  pointer-events: all;
}

.back-top:hover {
  background: var(--blue-mid);
  transform: translateY(-2px);
}

/* fade-up: visible por defecto, animación como mejora progresiva */
.fade-up {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.animate {
  opacity: 0;
  transform: translateY(28px);
}

.fade-up.animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* HAMBURGER */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--heading);
  font-size: 24px;
  cursor: pointer;
}

/* ─── RESPONSIVE ─── */
@media(max-width:1024px) {
  nav {
    padding: 16px 24px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    padding: 20px;
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(20px);
  }

  .nav-links.active {
    display: flex;
  }

  section {
    padding: 72px 24px;
  }

  .info-grid {
    grid-template-columns: 1fr 1fr;
  }

  .products-grid {
    grid-template-columns: 1fr 1fr;
  }

  #nosotros {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .nosotros-right {
    position: static;
  }

  .logos-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  footer {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .hero-stats {
    gap: 32px;
  }
}

@media(max-width:640px) {
  .hero-eyebrow {
    gap: 10px;
    font-size: clamp(11px, 3.1vw, 15px);
    line-height: 1.45;
    letter-spacing: 0.18em;
  }

  .hero-eyebrow::before,
  .hero-eyebrow::after {
    width: clamp(12px, 4vw, 22px);
  }

  .hero-line-group > span {
    display: block;
    white-space: nowrap;
  }

  .hero-line-group > .hero-inline-separator {
    display: none;
  }

  .hero-stats {
    gap: 0;
    padding-inline: 8px;
  }

  .hero-stats .stat {
    flex: 1 1 0;
    min-width: 0;
  }

  .hero-stats .stat-sep {
    flex: 0 0 1px;
  }

  .stat-label {
    font-size: clamp(10px, 2.65vw, 13px);
    letter-spacing: 0.08em;
    line-height: 1.4;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .logos-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mv-grid {
    grid-template-columns: 1fr;
  }
}

/* ─── FLOATING CHAT BUTTONS ─── */
.floating-chat {
  position: fixed;
  bottom: 28px;
  right: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 150;
  transition: transform 0.3s ease;
}

/* Si el botón back-top es visible, movemos los chats un poco hacia arriba para no taparlo */
.floating-chat.with-backtop {
  transform: translateY(-60px);
}

.chat-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--on-color);
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
  position: relative;
}

.chat-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.chat-btn.whatsapp {
  background: #25D366;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.chat-btn.telegram {
  background: #24A1DE;
  /* Telegram Official Blue */
  box-shadow: 0 4px 15px rgba(36, 161, 222, 0.4);
  border: none;
}

.chat-btn.telegram svg {
  width: 22px;
  height: 22px;
  transform: translate(-1px, 0);
  /* Ajuste óptico para centrar el avión */
}

.chat-btn svg {
  width: 24px;
  height: 24px;
  fill: #ffffff;
}

/* Tooltip sutil */
.chat-btn::before,
.back-top::before {
  content: attr(data-label);
  position: absolute;
  right: 60px;
  background: var(--card);
  color: var(--heading);
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 11px;
  letter-spacing: 0.05em;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  border: 1px solid var(--border);
}

.chat-btn:hover::before,
.back-top:hover::before {
  opacity: 1;
}

@media(max-width: 640px) {
  .floating-chat {
    bottom: 20px;
    right: 20px;
  }
}
/* ─── MODAL STYLES (MATCHING ORIGINAL DESIGN SYSTEM) ─── */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-top: 3px solid var(--blue-mid);
  width: 100%;
  max-width: 540px;
  padding: 32px;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
}

.modal-close:hover {
  color: var(--heading);
}

.modal-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  letter-spacing: 0.08em;
  color: var(--heading);
  margin-bottom: 8px;
}

.modal-desc {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 24px;
  line-height: 1.5;
}

.form-group {
  margin-bottom: 16px;
  text-align: left;
}

.form-group label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-mid);
  margin-bottom: 6px;
  font-weight: 500;
}

.form-input {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--heading);
  padding: 12px 16px;
  font-size: 14px;
  font-family: 'DM Sans', sans-serif;
  outline: none;
  transition: border-color 0.2s;
}

.form-input:focus {
  border-color: var(--blue-mid);
}

.btn-primary {
  display: inline-block;
  background: var(--blue);
  color: var(--on-color);
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.05em;
  padding: 14px 28px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}

.btn-primary:hover {
  background: var(--blue-mid);
}

.coupon-box {
  background: var(--surface);
  border: 1px dashed var(--amber);
  padding: 20px;
  margin: 20px 0;
  text-align: center;
}

.coupon-code {
  font-family: monospace;
  font-size: 24px;
  color: var(--amber-text);
  font-weight: bold;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

html { scroll-padding-top: 90px; }
.page-view { min-height: 100vh; }

.catalog-recovery { padding: 32px 0; color: var(--text); }
.catalog-recovery p { margin-bottom: 12px; }
.catalog-recovery button { cursor: pointer; }
