:root {
  --blue: #0096D6;
  --blue-dark: #0070A8;
  --blue-deep: #003E6B;
  --yellow: #FFE000;
  --white: #FFFFFF;
  --off-white: #F0F8FF;
  --dark: #060D18;
  --mid: #0D1A2E;
  --text-muted: #7AADCC;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--dark);
  color: var(--white);
  overflow-x: hidden;
}

/* ── PLACEHOLDER MARKER ── */
.ph {
  background: rgba(255,224,0,0.15);
  border-bottom: 1px dashed var(--yellow);
  color: var(--yellow);
  padding: 0 2px;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 48px;
  background: rgba(6,13,24,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,150,214,0.15);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-logo img {
  height: 34px;
  width: auto;
}
.nav-logo-text {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 26px;
  letter-spacing: 3px;
  color: var(--white);
}
.nav-logo-text b { color: var(--blue); font-weight: 400; }

nav ul {
  list-style: none;
  display: flex;
  gap: 32px;
  align-items: center;
}
nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: color 0.2s;
}
nav a:hover { color: var(--white); }

.nav-cta {
  background: var(--blue);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 6px;
  font-weight: 700 !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--blue-dark) !important; color: var(--white) !important; }

/* Botón hamburguesa (oculto en desktop) */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 110;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO ── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 48px 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 70% 50%, rgba(0,150,214,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(0,62,107,0.3) 0%, transparent 60%),
    var(--dark);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,150,214,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,150,214,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,150,214,0.15);
  border: 1px solid rgba(0,150,214,0.35);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 28px;
}

.hero-badge::before {
  content: '';
  width: 7px; height: 7px;
  background: var(--blue);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.4); }
}

h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(64px, 10vw, 110px);
  line-height: 0.92;
  letter-spacing: 2px;
  margin-bottom: 28px;
}

h1 .accent { color: var(--blue); }

.hero-sub {
  font-size: 18px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 480px;
  margin-bottom: 44px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--blue);
  color: var(--dark);
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 16px 32px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  letter-spacing: 0.5px;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.15s, background 0.2s;
}
.btn-primary:hover { background: #00AAEE; transform: translateY(-2px); }

.btn-secondary {
  background: transparent;
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 15px;
  padding: 16px 32px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: border-color 0.2s, transform 0.15s;
}
.btn-secondary:hover { border-color: var(--blue); transform: translateY(-2px); }

.hero-visual {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 52%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.hero-glow {
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,150,214,0.22) 0%, transparent 70%);
  border-radius: 50%;
}

.charger-svg {
  position: relative;
  z-index: 2;
  opacity: 0.9;
}

/* ── STATS ── */
#stats {
  background: var(--blue);
  padding: 48px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: 1100px;
  margin: 0 auto;
}

.stat {
  text-align: center;
  padding: 24px 16px;
  border-right: 1px solid rgba(255,255,255,0.2);
}
.stat:last-child { border-right: none; }

.stat-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 56px;
  color: var(--white);
  line-height: 1;
  display: block;
}

.stat-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-top: 6px;
}

/* ── SECCIONES GENÉRICAS ── */
.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}

/* Variante para cuando va sobre el fondo azul (sección contacto) */
.section-label--on-blue {
  color: rgba(255,255,255,0.6);
}

h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.section-sub {
  font-size: 17px;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 64px;
}

/* ── CATÁLOGO ── */
#catalogo {
  padding: 120px 48px;
  background: var(--dark);
}

.catalogo-inner { max-width: 1100px; margin: 0 auto; }

.catalogo-head { text-align: center; margin-bottom: 64px; }
.catalogo-head .section-sub { margin: 0 auto; }

.productos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.producto-card {
  background: var(--mid);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(0,150,214,0.2);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, border-color 0.2s;
}
.producto-card:hover { transform: translateY(-6px); border-color: rgba(0,150,214,0.45); }

.producto-card.coming { opacity: 0.85; }

.producto-visual {
  background: linear-gradient(160deg, #F4FAFE 0%, #E2EFF8 100%);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 280px;
}

.producto-visual img {
  max-width: 100%;
  max-height: 240px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

/* Variante de fondo oscuro (para el cargador estrella) */
.producto-visual--dark {
  background: linear-gradient(160deg, #0E2A46 0%, #081521 100%);
}

/* Imagen sobre fondo oscuro: sin mezcla y un poco más alta */
.producto-img--contain {
  mix-blend-mode: normal;
  max-height: 250px;
}

.badge-top {
  position: absolute;
  top: 18px; left: 18px;
  background: var(--blue);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
}
.badge-top.soon { background: var(--yellow); color: var(--dark); }

.producto-body { padding: 32px; display: flex; flex-direction: column; flex: 1; }

.producto-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 30px;
  letter-spacing: 1.5px;
  color: var(--blue);
  margin-bottom: 6px;
}

.producto-tagline {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 28px;
}

.spec {
  background: rgba(0,150,214,0.08);
  border-radius: 8px;
  padding: 12px 14px;
}

.spec-key {
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.spec-value { font-weight: 700; font-size: 14px; color: var(--white); }

.producto-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.price-tag {
  background: var(--yellow);
  color: var(--dark);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 34px;
  letter-spacing: 1px;
  padding: 8px 20px;
  border-radius: 10px;
}

.price-note { font-size: 11px; color: var(--text-muted); margin-top: 4px; }

.coming-text {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  font-style: italic;
}

/* Descripción de producto en las tarjetas del catálogo */
.coming-text--desc {
  font-style: normal;
  font-size: 13px;
  margin-bottom: 20px;
}

/* ── PRODUCTO ESTRELLA (detalle) ── */
#detalle {
  padding: 120px 48px;
  background: var(--mid);
}

.detalle-inner { max-width: 900px; margin: 0 auto; }

.detalle-head { text-align: center; margin-bottom: 48px; }
.detalle-head .section-sub { margin: 0 auto; }

.detalle-imagen {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 56px;
}
.detalle-imagen img {
  max-width: 100%;
  max-height: 420px;
  object-fit: contain;
  border-radius: 20px;
}

.img-placeholder {
  position: relative;
  background: linear-gradient(160deg, #0E2A46 0%, #081521 100%);
  border: 2px dashed rgba(0,150,214,0.4);
  border-radius: 20px;
  padding: 40px 60px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.img-placeholder-label {
  font-size: 13px;
  text-align: center;
  max-width: 320px;
}

.features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.feature-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px;
  border: 1px solid rgba(0,150,214,0.15);
  border-radius: 12px;
  background: rgba(0,150,214,0.04);
  transition: border-color 0.2s, background 0.2s;
}
.feature-item:hover { border-color: rgba(0,150,214,0.4); background: rgba(0,150,214,0.08); }

.feature-icon {
  width: 44px; height: 44px;
  background: rgba(0,150,214,0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.feature-title { font-weight: 700; font-size: 15px; margin-bottom: 4px; color: var(--white); }
.feature-desc { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

/* ── QUIÉNES SOMOS ── */
#equipo {
  padding: 120px 48px;
  background: var(--mid);
}

.equipo-inner { max-width: 1100px; margin: 0 auto; }
.equipo-head { text-align: center; margin-bottom: 56px; }
.equipo-head .section-sub { margin: 0 auto; }

.equipo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.miembro {
  background: var(--dark);
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
  border: 1px solid rgba(0,150,214,0.12);
  transition: transform 0.2s, border-color 0.2s;
}
.miembro:hover { transform: translateY(-6px); border-color: rgba(0,150,214,0.35); }

.avatar {
  width: 96px; height: 96px;
  border-radius: 50%;
  margin: 0 auto 20px;
  background: linear-gradient(160deg, var(--blue) 0%, var(--blue-deep) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 36px;
  color: var(--white);
}

.miembro-nombre { font-weight: 700; font-size: 18px; margin-bottom: 4px; }
.miembro-rol {
  font-size: 12px;
  color: var(--blue);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.miembro-bio { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* ── CONTACTO ── */
#contacto {
  padding: 120px 48px;
  background: var(--blue);
  text-align: center;
  position: relative;
  overflow: hidden;
}

#contacto::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(255,255,255,0.12) 0%, transparent 60%);
}

.contacto-inner { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; }

#contacto h2 { color: var(--white); margin-bottom: 16px; }

.contacto-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 44px;
  line-height: 1.6;
}

.contacto-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--dark);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 16px;
  padding: 18px 36px;
  border-radius: 10px;
  text-decoration: none;
  transition: transform 0.15s, background 0.2s;
}
.contact-btn:hover { background: #0D1A2E; transform: translateY(-3px); }
.contact-btn .ico { font-size: 20px; }

/* ── FOOTER ── */
footer {
  background: var(--dark);
  border-top: 1px solid rgba(0,150,214,0.12);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 3px;
  color: var(--white);
}
.footer-logo-img { height: 56px; width: auto; }
.footer-logo span { color: var(--blue); }

.footer-text { font-size: 13px; color: var(--text-muted); }

.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 13px; color: var(--blue); text-decoration: none; font-weight: 500; }
.footer-links a:hover { color: #00AAEE; }

/* ── ANIMACIONES ── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  nav ul {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(78vw, 320px);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 28px;
    padding: 48px;
    background: rgba(6,13,24,0.98);
    backdrop-filter: blur(16px);
    border-left: 1px solid rgba(0,150,214,0.2);
    transform: translateX(100%);
    transition: transform 0.35s ease;
  }
  nav ul.open { transform: translateX(0); }
  nav a { font-size: 16px; }
 .nav-cta {
  padding: 12px 24px;
  white-space: nowrap;
  display: inline-block;
  margin-top: 8px;
}
  nav { padding: 16px 24px; }
  #hero { padding: 100px 24px 60px; }
  .hero-visual { display: none; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); }
  .productos-grid { grid-template-columns: 1fr; }
  .detalle-grid { grid-template-columns: 1fr; gap: 40px; }
  .features-list { grid-template-columns: 1fr; }
  .equipo-grid { grid-template-columns: 1fr; }
  #catalogo, #detalle, #equipo, #contacto, footer { padding: 72px 24px; }
  #stats { padding: 36px 24px; }
}

/* ── ÍCONOS DE REDES (Instagram / WhatsApp) ── */
/* Ícono dentro de los botones grandes de contacto */
.ico-img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  vertical-align: middle;
  margin-right: 4px;
}

/* Ícono más chico para los links del footer */
.ico-img-sm {
  width: 15px;
  height: 15px;
  object-fit: contain;
  vertical-align: middle;
  margin-right: 4px;
}

/* ── FOTO DENTRO DEL AVATAR DEL EQUIPO ── */
.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* ── GALERÍA INLINE DEL PRODUCTO ESTRELLA ── */
.galeria {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

/* Imagen principal: siempre visible, clickeable */
.galeria-principal {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
}
.galeria-principal img {
  max-width: 100%;
  max-height: 420px;
  object-fit: contain;
  border-radius: 20px;
  transition: transform 0.25s ease;
}
.galeria-principal:hover img { transform: scale(1.02); }

.galeria-hint {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,150,214,0.9);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 100px;
  white-space: nowrap;
  transition: opacity 0.25s ease;
}

/* Las dos imágenes extra: ocultas por defecto */
.galeria-extra {
  display: flex;
  gap: 20px;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-width 0.5s ease, opacity 0.4s ease;
}
.galeria-extra img {
  max-height: 420px;
  max-width: 100%;
  object-fit: contain;
  border-radius: 20px;
}

/* Cuando la galería está "abierta", se muestran las extra */
.galeria.abierta .galeria-extra {
  max-width: 1000px;
  opacity: 1;
}
.galeria.abierta .galeria-hint { opacity: 0; }

@media (max-width: 768px) {
  .galeria { flex-direction: column; }
  .galeria-extra { flex-direction: column; max-height: 0; max-width: 100%; transition: max-height 0.5s ease, opacity 0.4s ease; }
  .galeria.abierta .galeria-extra { max-height: 2000px; max-width: 100%; }
}

/* ── SECCIÓN VIDEO TUTORIAL ── */
#tutorial {
  padding: 120px 48px;
  background: var(--dark);
}

.tutorial-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
}

.tutorial-texto .section-sub { margin-bottom: 0; }

/* Marco del video vertical (proporción 9:16 tipo reel) */
.video-vertical {
  position: relative;
  width: 300px;
  max-width: 85vw;
  height: 533px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
  border: 1px solid rgba(0,150,214,0.25);
}
.video-vertical iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 768px) {
  #tutorial { padding: 72px 24px; }
  .tutorial-inner {
    grid-template-columns: 1fr;
    gap: 36px;
    justify-items: center;
    text-align: center;
  }
  .tutorial-texto .section-sub { margin: 0 auto; }
  .tutorial-video { width: 100%; display: flex; justify-content: center; }
}