/* ============================================================
   BERTOK — Hoja de estilos principal
   Estilo: Dark Premium | Marca: Bertok
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Fira+Sans:wght@300;400;500;700&display=swap');

/* --- Variables de marca --- */
:root {
  --azul-oscuro:  #000066;
  --azul-medio:   #0033A7;
  --celeste:      #21CDFF;
  --bg-dark:      #070d1f;
  --bg-card:      #0d1530;
  --bg-card-hover:#111c3a;
  --border-card:  rgba(33, 205, 255, 0.15);
  --text-primary: #ffffff;
  --text-muted:   #8da4c8;
  --text-body:    #c5d4ea;
  --white:        #ffffff;
  --font-heading: 'Bebas Neue', sans-serif;
  --font-body:    'Fira Sans', sans-serif;
  --radius:       8px;
  --radius-lg:    14px;
  --transition:   0.3s ease;
  --max-width:    1200px;
  --shadow:       0 4px 24px rgba(0, 0, 102, 0.35);
  --shadow-hover: 0 8px 40px rgba(33, 205, 255, 0.2);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-weight: 400;
  background-color: var(--bg-dark);
  color: var(--text-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--celeste); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--white); }
ul { list-style: none; }

/* --- Utilidades --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: 0.04em;
  color: var(--white);
  line-height: 1.1;
}
.section-subtitle {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--celeste);
  margin-bottom: 10px;
}
.section-intro {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 580px;
  margin-top: 12px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}
.btn-primary {
  background: var(--celeste);
  color: var(--bg-dark);
}
.btn-primary:hover {
  background: var(--white);
  color: var(--bg-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(33, 205, 255, 0.4);
}
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--celeste);
  color: var(--celeste);
}
.btn-outline:hover {
  background: var(--celeste);
  color: var(--bg-dark);
  transform: translateY(-2px);
}
.btn-whatsapp {
  background: #25D366;
  color: #fff;
  width: 100%;
  justify-content: center;
  font-size: 0.95rem;
  padding: 14px 20px;
}
.btn-whatsapp:hover {
  background: #1ebe59;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(7, 13, 31, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(33, 205, 255, 0.12);
  transition: background var(--transition);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.header-logo img {
  height: 36px;
  width: auto;
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-list a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--transition);
}
.nav-list a:hover,
.nav-list a.active {
  color: var(--celeste);
}
.nav-cta {
  padding: 9px 22px !important;
  border: 1.5px solid var(--celeste);
  border-radius: var(--radius);
  color: var(--celeste) !important;
}
.nav-cta:hover {
  background: var(--celeste);
  color: var(--bg-dark) !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--celeste);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.nav-mobile {
  display: none;
  position: fixed;
  top: 70px; left: 0; right: 0;
  background: rgba(7, 13, 31, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(33, 205, 255, 0.12);
  padding: 20px 24px;
  z-index: 999;
}
.nav-mobile.open { display: block; }
.nav-mobile ul { flex-direction: column; gap: 0; }
.nav-mobile ul li a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 1rem;
  color: var(--text-muted);
}
.nav-mobile ul li:last-child a { border-bottom: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 70px;
  background: var(--bg-dark);
}

/* Capa de fondo que se mueve con parallax */
.hero-bg {
  position: absolute;
  top: -20%;
  left: 0;
  width: 100%;
  height: 140%;
  pointer-events: none;
  z-index: 0;
}

/* Orbes de luz — cada uno se mueve a distinta velocidad */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  will-change: transform;
}
.hero-orb--1 {
  width: 700px;
  height: 700px;
  background: rgba(0, 51, 167, 0.35);
  top: -80px;
  right: -120px;
}
.hero-orb--2 {
  width: 450px;
  height: 450px;
  background: rgba(33, 205, 255, 0.13);
  bottom: 0;
  left: 5%;
}
.hero-orb--3 {
  width: 320px;
  height: 320px;
  background: rgba(0, 0, 102, 0.5);
  top: 35%;
  left: 42%;
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230033A7' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}
.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--celeste);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--celeste);
}
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(3.2rem, 7vw, 5.5rem);
  line-height: 1.0;
  color: var(--white);
  letter-spacing: 0.03em;
  margin-bottom: 24px;
}
.hero-title span {
  color: var(--celeste);
}
.hero-desc {
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--text-body);
  max-width: 520px;
  margin-bottom: 40px;
  line-height: 1.75;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.stat-item { text-align: left; }
.stat-number {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  color: var(--celeste);
  letter-spacing: 0.02em;
  line-height: 1;
}
.stat-label {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ============================================================
   SECCIÓN: POR QUÉ BERTOK
   ============================================================ */
/* ── Sección Catálogo ─────────────────────────────────────── */
.catalogo-section {
  padding: 90px 0;
  background: var(--bg-dark);
  border-top: 1px solid rgba(33,205,255,0.08);
  border-bottom: 1px solid rgba(33,205,255,0.08);
}
.catalogo-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.catalogo-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: var(--white);
  line-height: 1.1;
  margin: 8px 0 16px;
  letter-spacing: 0.5px;
}
.catalogo-desc {
  color: var(--text-body);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 24px;
}
.catalogo-features {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.catalogo-features li {
  color: var(--text-muted);
  font-size: 0.9rem;
  padding-left: 20px;
  position: relative;
}
.catalogo-features li::before {
  content: '→'; position: absolute; left: 0;
  color: var(--celeste); font-size: 0.8rem;
}

/* Tarjeta del formulario */
.catalogo-form {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex; flex-direction: column; gap: 14px;
}
.catalogo-form-title {
  color: var(--text-muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 4px;
}
.catalogo-form-row input {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(33,205,255,0.15);
  border-radius: var(--radius);
  padding: 13px 16px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition);
  box-sizing: border-box;
}
.catalogo-form-row input::placeholder { color: var(--text-muted); }
.catalogo-form-row input:focus { outline: none; border-color: var(--celeste); }
.catalogo-form-error {
  display: none;
  color: #ff6b6b;
  font-size: 0.85rem;
  padding: 8px 12px;
  background: rgba(255,107,107,0.1);
  border-radius: var(--radius);
  border: 1px solid rgba(255,107,107,0.3);
}
.catalogo-submit {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--celeste);
  color: var(--bg-dark);
  border: none;
  border-radius: var(--radius);
  padding: 15px 24px;
  font-family: var(--font-body);
  font-size: 1rem; font-weight: 700;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  margin-top: 4px;
}
.catalogo-submit:hover { background: #5ddbff; transform: translateY(-1px); }

/* Estado de éxito */
.catalogo-success {
  background: var(--bg-card);
  border: 1px solid rgba(33,205,255,0.25);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  text-align: center;
}
.catalogo-success-icon {
  width: 56px; height: 56px;
  background: rgba(33,205,255,0.15);
  border: 2px solid var(--celeste);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: var(--celeste);
  margin: 0 auto 20px;
}
.catalogo-success-title {
  font-family: var(--font-heading);
  font-size: 1.6rem; letter-spacing: 0.5px;
  color: var(--white); margin: 0 0 8px;
}
.catalogo-success-sub {
  color: var(--text-muted); font-size: 0.9rem; margin: 0 0 24px;
}
.catalogo-btn-pdf {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--celeste);
  color: var(--bg-dark);
  text-decoration: none;
  border-radius: var(--radius);
  padding: 15px 28px;
  font-family: var(--font-body);
  font-size: 1rem; font-weight: 700;
  transition: background var(--transition), transform var(--transition);
}
.catalogo-btn-pdf:hover { background: #5ddbff; transform: translateY(-2px); }

@media (max-width: 768px) {
  .catalogo-inner { grid-template-columns: 1fr; gap: 36px; }
  .catalogo-form, .catalogo-success { padding: 24px; }
}

/* ── Sección Por qué Bertok ───────────────────────────────── */
.why-bertok {
  padding: 100px 0;
  background: linear-gradient(135deg, rgba(0,0,102,0.4) 0%, rgba(0,51,167,0.15) 100%);
  border-top: 1px solid rgba(33,205,255,0.1);
  border-bottom: 1px solid rgba(33,205,255,0.1);
}
.why-bertok-inner {
  max-width: 820px;
  margin: 0 auto;
}
.why-bertok-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  letter-spacing: 0.04em;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1;
}
.why-bertok-intro {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--celeste);
  margin-bottom: 40px;
  line-height: 1.6;
  border-left: 3px solid var(--celeste);
  padding-left: 20px;
}
.why-bertok-body p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 20px;
}
.why-bertok-closing {
  font-weight: 600;
  color: var(--white) !important;
  font-size: 1.05rem !important;
}
.why-bertok-pillars {
  display: flex;
  gap: 40px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(33,205,255,0.15);
  flex-wrap: wrap;
}
.why-pillar {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.why-pillar-number {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  letter-spacing: 0.04em;
  color: var(--celeste);
  line-height: 1;
}
.why-pillar-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
@media (max-width: 600px) {
  .why-bertok-pillars { gap: 28px; }
  .why-pillar-number { font-size: 2.2rem; }
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  padding: 28px 0;
  background: rgba(0, 51, 167, 0.12);
  border-top: 1px solid rgba(33, 205, 255, 0.12);
  border-bottom: 1px solid rgba(33, 205, 255, 0.12);
}
.trust-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.trust-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(33, 205, 255, 0.1);
  border: 1px solid rgba(33, 205, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--celeste);
}
.trust-icon svg {
  width: 20px;
  height: 20px;
}
.trust-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.trust-text strong {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
}
.trust-text span {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.4;
}
@media (max-width: 768px) {
  .trust-bar-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}
@media (max-width: 480px) {
  .trust-bar-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   SECCIÓN: SOBRE BERTOK
   ============================================================ */
.about {
  padding: 100px 0;
  position: relative;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--celeste);
  margin-bottom: 16px;
}
.about-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: var(--white);
  letter-spacing: 0.03em;
  line-height: 1.15;
  margin-bottom: 24px;
}
.about-text {
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 16px;
}
.about-pillars {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 36px;
}
.pillar {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.pillar-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: var(--radius);
  background: rgba(33, 205, 255, 0.1);
  border: 1px solid rgba(33, 205, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.pillar-body h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.pillar-body p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.about-visual {
  position: relative;
}
.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  overflow: hidden;
}
.about-card::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(33,205,255,0.1) 0%, transparent 70%);
}
.about-quote {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--white);
  letter-spacing: 0.03em;
  line-height: 1.3;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}
.about-quote span { color: var(--celeste); }
.about-divider {
  width: 40px;
  height: 2px;
  background: var(--celeste);
  margin-bottom: 20px;
}
.about-tagline {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-style: italic;
  position: relative;
  z-index: 1;
}

/* ============================================================
   SECCIÓN: PRODUCTOS
   ============================================================ */
.products {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(13, 21, 48, 0.6) 50%, var(--bg-dark) 100%);
}
.products-header {
  text-align: center;
  margin-bottom: 60px;
}
.products-header .section-intro {
  margin: 12px auto 0;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Tarjeta de familia */
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow var(--transition), border-color var(--transition), background var(--transition);
  text-decoration: none;
  display: block;
  position: relative;
  will-change: transform;
  transform-style: preserve-3d;
}
.product-card:hover {
  border-color: rgba(33, 205, 255, 0.45);
  box-shadow: var(--shadow-hover);
  background: var(--bg-card-hover);
}
.product-card-image {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #0a1228;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
  transition: transform 0.4s ease;
}
.product-card:hover .product-card-image img {
  transform: scale(1.05);
}
.product-card-image .no-image {
  font-size: 3rem;
  opacity: 0.2;
}
.product-card-body {
  padding: 22px 24px;
}
.product-card-family {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--celeste);
  margin-bottom: 6px;
}
.product-card-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.2;
}
.product-card-desc {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
}
.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.product-card-variants {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.product-card-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(33, 205, 255, 0.1);
  border: 1px solid rgba(33, 205, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--celeste);
  font-size: 0.9rem;
  transition: all var(--transition);
}
.product-card:hover .product-card-arrow {
  background: var(--celeste);
  color: var(--bg-dark);
}

/* ============================================================
   SECCIÓN: CONTACTO
   ============================================================ */
.contact {
  padding: 100px 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.contact-info h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--white);
  letter-spacing: 0.03em;
  margin-bottom: 20px;
}
.contact-info p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 36px;
}
.contact-items {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.contact-item-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: var(--radius);
  background: rgba(33, 205, 255, 0.08);
  border: 1px solid rgba(33, 205, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.contact-item-text span {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2px;
}
.contact-item-text a,
.contact-item-text p {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-body);
  margin: 0;
  line-height: 1.4;
}

/* Formulario */
.contact-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: rgba(7, 13, 31, 0.8);
  border: 1px solid rgba(33, 205, 255, 0.18);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.93rem;
  color: var(--text-primary);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  -webkit-appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(141, 164, 200, 0.45);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--celeste);
  box-shadow: 0 0 0 3px rgba(33, 205, 255, 0.12);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}
.form-group select option {
  background: var(--bg-card);
  color: var(--text-primary);
}
.form-submit {
  width: 100%;
  padding: 14px;
  font-size: 0.95rem;
}
.form-message {
  display: none;
  margin-top: 16px;
  padding: 12px 18px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
}
.form-message.success {
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.3);
  color: #25D366;
  display: block;
}
.form-message.error {
  background: rgba(255, 59, 59, 0.12);
  border: 1px solid rgba(255, 59, 59, 0.3);
  color: #ff6b6b;
  display: block;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: rgba(0, 0, 0, 0.4);
  border-top: 1px solid rgba(33, 205, 255, 0.08);
  padding: 48px 0 24px;
}
.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.footer-logo img { height: 32px; margin-bottom: 14px; }
.footer-tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 260px;
  line-height: 1.6;
  margin-bottom: 18px;
}
.footer-social {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-muted);
  transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.25s;
  text-decoration: none;
}
.social-icon svg {
  width: 17px;
  height: 17px;
}
.social-icon:hover {
  background: rgba(33, 205, 255, 0.15);
  border-color: var(--celeste);
  color: var(--celeste);
  transform: translateY(-2px);
}
.social-icon--pending {
  opacity: 0.4;
  cursor: default;
  pointer-events: none;
}
.footer-nav h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--celeste);
  margin-bottom: 14px;
}
.footer-nav ul { display: flex; flex-direction: column; gap: 10px; }
.footer-nav ul a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-nav ul a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-copy {
  font-size: 0.78rem;
  color: rgba(141, 164, 200, 0.5);
}

/* ============================================================
   PÁGINAS DE FAMILIA — estilos específicos
   ============================================================ */
.page-header {
  padding: 140px 0 60px;
  background:
    radial-gradient(ellipse 60% 70% at 80% 50%, rgba(0, 51, 167, 0.2) 0%, transparent 70%),
    var(--bg-dark);
  border-bottom: 1px solid rgba(33, 205, 255, 0.1);
}
.breadcrumb {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--celeste); }
.breadcrumb span { color: rgba(141,164,200,0.4); }
.page-header-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5vw, 4rem);
  color: var(--white);
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}
.page-header-sub {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 500px;
}

/* Variantes */
.variants-section {
  padding: 80px 0;
}
.variants-section-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  letter-spacing: 0.04em;
  color: var(--white);
  margin-bottom: 36px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(33, 205, 255, 0.12);
}
.variants-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 60px;
}
.variant-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}
.variant-card:hover {
  border-color: rgba(33, 205, 255, 0.4);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.variant-image {
  width: 100%;
  aspect-ratio: 1;
  background: #0a1228;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.variant-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 24px;
  transition: transform 0.4s ease;
}
.variant-card:hover .variant-image img { transform: scale(1.04); }
.variant-header {
  padding: 14px 16px 10px;
  border-bottom: 1px solid rgba(33,205,255,0.08);
}
.variant-sku {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--celeste);
  margin-bottom: 3px;
}
.variant-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  letter-spacing: 0.04em;
  color: var(--white);
  margin: 0;
  line-height: 1.2;
}
.variant-color-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
  border: 1px solid rgba(255,255,255,0.3);
}
.variant-actions {
  padding: 12px 16px;
  border-top: 1px solid rgba(33,205,255,0.08);
}

/* Especificaciones técnicas */
.specs-section {
  padding: 60px 0;
  background: rgba(13, 21, 48, 0.5);
  border-top: 1px solid rgba(33, 205, 255, 0.08);
  border-bottom: 1px solid rgba(33, 205, 255, 0.08);
}
.specs-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  letter-spacing: 0.04em;
  color: var(--white);
  margin-bottom: 32px;
}
.specs-table {
  width: 100%;
  border-collapse: collapse;
}
.specs-table tr {
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.specs-table tr:last-child { border-bottom: none; }
.specs-table td {
  padding: 14px 16px;
  font-size: 0.92rem;
}
.specs-table td:first-child {
  color: var(--text-muted);
  font-weight: 500;
  width: 40%;
  padding-left: 0;
}
.specs-table td:last-child {
  color: var(--text-body);
  font-weight: 400;
}

/* Back button */
.back-section {
  padding: 60px 0;
  text-align: center;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 992px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-stats { gap: 24px; }
}

@media (max-width: 768px) {
  .nav-list { display: none; }
  .hamburger { display: flex; }
  .products-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .contact-form-wrap { padding: 28px 20px; }
  .about-card { padding: 28px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .variants-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   SECCIÓN: UBICACIÓN / MAPA
   ============================================================ */
.location {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(13,21,48,0.5) 50%, var(--bg-dark) 100%);
}
.location-header {
  margin-bottom: 48px;
}
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 56px;
  align-items: center;
}
.location-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.location-info .contact-item-text p {
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.7;
  margin: 0;
}
.location-btn {
  width: 100%;
  justify-content: center;
  font-size: 0.9rem;
  padding: 14px 20px;
}
.location-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}
.location-map-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-card);
}
.location-map-link {
  display: block;
  position: relative;
  text-decoration: none;
}
.location-map-link iframe {
  display: block;
}
.location-map-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 20px;
  background: linear-gradient(to top, rgba(7,13,31,0.75) 0%, transparent 50%);
  transition: background var(--transition);
}
.location-map-link:hover .location-map-overlay {
  background: linear-gradient(to top, rgba(7,13,31,0.85) 0%, rgba(7,13,31,0.15) 60%);
}
.location-map-overlay span {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--celeste);
  background: rgba(7,13,31,0.7);
  padding: 8px 18px;
  border-radius: 20px;
  border: 1px solid rgba(33,205,255,0.3);
}

@media (max-width: 992px) {
  .location-grid { grid-template-columns: 1fr; gap: 36px; }
  .location-btn { width: auto; }
}

/* ============================================================
   BOTÓN FLOTANTE WHATSAPP
   ============================================================ */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  padding: 12px 20px 12px 14px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: all 0.3s ease;
  max-width: 200px;
}
.wa-float:hover {
  background: #1ebe59;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.55);
  max-width: 200px;
}
.wa-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}
.wa-label {
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

@media (max-width: 768px) {
  .wa-float {
    bottom: 20px;
    right: 16px;
    padding: 12px;
    border-radius: 50%;
    max-width: none;
  }
  .wa-label { display: none; }
  .wa-icon { width: 30px; height: 30px; }
}

/* ============================================================
   GALERÍA DE PRODUCTO + LIGHTBOX
   ============================================================ */

/* Contenedor principal de la galería dentro de la variant-card */
.variant-gallery {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Imagen principal grande */
.gallery-main {
  width: 100%;
  aspect-ratio: 4/3;
  background: #0a1228;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: zoom-in;
  position: relative;
}
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
  transition: transform 0.3s ease;
}
.gallery-main:hover img {
  transform: scale(1.04);
}
.gallery-main-hint {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(7,13,31,0.75);
  color: var(--celeste);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(33,205,255,0.25);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}
.gallery-main:hover .gallery-main-hint {
  opacity: 1;
}

/* Fila de miniaturas */
.gallery-thumbs {
  display: flex;
  gap: 6px;
  padding: 10px 12px;
  background: rgba(7,13,31,0.5);
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(33,205,255,0.3) transparent;
}
.gallery-thumbs::-webkit-scrollbar { height: 3px; }
.gallery-thumbs::-webkit-scrollbar-thumb { background: rgba(33,205,255,0.3); border-radius: 2px; }

.gallery-thumb {
  flex: 0 0 60px;
  width: 60px;
  height: 60px;
  background: #0a1228;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.2s;
}
.gallery-thumb.active { border-color: var(--celeste); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(4, 8, 20, 0.96);
}
.lightbox.open {
  display: flex;
  flex-direction: column;
}

.lightbox-inner {
  flex: 1;
  min-height: 0;           /* crítico: permite que flex-child se achique */
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 56px 64px 16px;
  box-sizing: border-box;
}

.lightbox-img-wrap {
  flex: 1;
  min-height: 0;           /* crítico: sin esto la altura es 0 */
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-img-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.6);
  display: block;
}

.lightbox-counter {
  color: rgba(255,255,255,0.5);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  margin: 10px 0 8px;
}

.lightbox-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0 8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(33,205,255,0.3) transparent;
}
.lightbox-thumbs::-webkit-scrollbar { height: 3px; }
.lightbox-thumbs::-webkit-scrollbar-thumb { background: rgba(33,205,255,0.3); border-radius: 2px; }

.lightbox-thumb {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  background: #0a1228;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.2s;
}
.lightbox-thumb.active { border-color: var(--celeste); }
.lightbox-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }

/* Botones del lightbox */
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: fixed;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  cursor: pointer;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: background 0.2s, border-color 0.2s;
  z-index: 10000;
  line-height: 1;
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(33,205,255,0.2);
  border-color: var(--celeste);
}
.lightbox-close { top: 14px; right: 16px; font-size: 1.5rem; }
.lightbox-prev  { left: 12px;  top: 50%; transform: translateY(-50%); }
.lightbox-next  { right: 12px; top: 50%; transform: translateY(-50%); }

@media (max-width: 600px) {
  .lightbox-prev { left: 4px; }
  .lightbox-next { right: 4px; }
  .lightbox-inner { padding: 52px 8px 12px; }
}

.gallery-thumb {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  background: #0a1228;
  transition: border-color 0.2s;
}
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}
.gallery-thumb:hover { border-color: rgba(33,205,255,0.4); }
.gallery-thumb.active { border-color: var(--celeste); }

/* ── LIGHTBOX ─────────────────────────────────────────────── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0,0,0,0.93);
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.lightbox.open { display: flex; }

.lightbox-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 900px;
  width: 100%;
  gap: 16px;
}

.lightbox-img-wrap {
  width: 100%;
  max-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-img-wrap img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 8px;
}

.lightbox-thumbs {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}
.lightbox-thumb {
  width: 60px;
  height: 60px;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  background: #111;
  flex-shrink: 0;
  transition: border-color 0.2s;
}
.lightbox-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}
.lightbox-thumb.active { border-color: var(--celeste); }
.lightbox-thumb:hover { border-color: rgba(33,205,255,0.5); }

.lightbox-close {
  position: fixed;
  top: 20px;
  right: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  line-height: 1;
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); }

.lightbox-prev,
.lightbox-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(33,205,255,0.25); }

.lightbox-counter {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.1em;
}

@media (max-width: 768px) {
  .gallery-thumb { width: 44px; height: 44px; }
  .lightbox-prev { left: 6px; }
  .lightbox-next { right: 6px; }
}
