/* =========================================================
   ARGUS SEGURIDAD ELECTRÓNICA — Estilos globales del sitio
   Estilo navy oscuro, igual al de la página de Alarma ARGUS
   ========================================================= */

:root {
  --bg: #0a0e1a;
  --bg-soft: #0e1424;
  --panel: #121a2e;
  --panel-2: #182241;
  --line: #22304f;
  --ink: #eaeefb;
  --ink-dim: #93a0c2;
  --blue: #3b82f6;
  --blue-glow: #60a5fa;
  --amber: #f2a93c;
  --exito: #34d399;
  --alerta: #f87171;
  --radio: 14px;
  --sombra: 0 10px 30px -12px rgba(0,0,0,.55);
  --sombra-hover: 0 20px 45px -14px rgba(59,130,246,.28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

a { color: var(--blue-glow); }
img { max-width: 100%; display: block; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- header / nav ---------- */
.site-header {
  background: rgba(10,14,26,.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  max-width: 1180px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}

.logo-container { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-img { width: 44px; height: 44px; border-radius: 10px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-title { font-family: 'Orbitron', sans-serif; font-weight: 800; font-size: 20px; color: var(--ink); letter-spacing: .5px; }
.logo-subtitle { font-size: 10px; letter-spacing: 1px; color: var(--blue-glow); font-weight: 600; }

.main-nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.nav-link {
  color: var(--ink-dim); text-decoration: none; font-size: 14px; font-weight: 600;
  padding: 9px 12px; border-radius: 7px; white-space: nowrap; transition: all .2s;
}
.nav-link:hover { background: var(--panel); color: var(--blue-glow); }
.nav-link.active { background: var(--blue); color: #04101f; }

/* ---------- hero (home) ---------- */
.hero {
  background:
    radial-gradient(60% 60% at 80% 0%, rgba(59,130,246,.20), transparent 60%),
    radial-gradient(40% 40% at 5% 100%, rgba(59,130,246,.12), transparent 60%),
    var(--bg-soft);
  color: var(--ink);
  padding: 76px 24px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.hero-content { max-width: 780px; margin: 0 auto; }
.hero h1 {
  font-family: 'Orbitron', sans-serif; font-size: 38px; font-weight: 800;
  line-height: 1.25; margin: 0 0 18px; letter-spacing: .5px; color: var(--ink);
}
.hero p { font-size: 17px; color: var(--ink-dim); margin: 0 0 30px; }

.hero-btn, .cta-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue); color: #04101f;
  padding: 14px 28px; border-radius: 10px; text-decoration: none;
  font-weight: 700; font-size: 15px; transition: all .25s; border: none; cursor: pointer;
}
.hero-btn:hover, .cta-btn:hover { background: var(--blue-glow); transform: translateY(-2px); }

/* category hero (páginas internas) */
.cat-hero {
  background:
    radial-gradient(55% 55% at 85% 0%, rgba(59,130,246,.18), transparent 60%),
    var(--panel);
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 56px 24px;
  border-radius: var(--radio);
  margin-bottom: 40px;
}
.cat-hero .eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 1px; color: var(--blue-glow); margin-bottom: 10px; }
.cat-hero h1 { font-family:'Orbitron',sans-serif; font-size: 32px; margin: 0 0 12px; font-weight: 800; color: var(--ink); }
.cat-hero p { font-size: 15.5px; color: var(--ink-dim); max-width: 640px; margin: 0; }
.cat-hero-flyer { margin-top: 26px; border-radius: 10px; overflow: hidden; max-width: 260px; box-shadow: var(--sombra); border: 1px solid var(--line); }

.badge-row { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 22px; }
.badge-row span { font-size: 13px; color: var(--ink-dim); display: flex; align-items: center; gap: 6px; }

/* ---------- section shells ---------- */
.section { padding: 50px 0; }
.section-header { text-align: center; margin-bottom: 34px; }
.section-title { font-family: 'Orbitron', sans-serif; font-size: 26px; font-weight: 800; color: var(--ink); margin: 0 0 8px; }
.section-subtitle { color: var(--ink-dim); font-size: 15px; margin: 0; }
.text-center { text-align: center; }
.mt-4 { margin-top: 30px; }

/* ---------- promos ---------- */
.promos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.promo-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radio); overflow: hidden; transition: all .25s; }
.promo-card:hover { transform: translateY(-4px); box-shadow: var(--sombra-hover); }
.promo-header { background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%); color: #fff; padding: 20px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.promo-title { font-size: 16px; margin: 0; font-weight: 700; }
.promo-discount { font-size: 22px; font-weight: 800; white-space: nowrap; }
.promo-body { padding: 20px; }
.promo-description { color: var(--ink-dim); font-size: 14px; margin: 0 0 12px; }
.promo-validity { font-size: 12.5px; color: #6b7a9e; margin: 0 0 14px; }
.promo-cta-btn { display: inline-block; background: var(--blue); color: #04101f; padding: 9px 16px; border-radius: 6px; text-decoration: none; font-size: 13.5px; font-weight: 600; }

/* ---------- products / kits grid ---------- */
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radio); overflow: hidden; transition: all .25s; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--sombra-hover); }
.product-image { height: 150px; background: var(--bg-soft); display: flex; align-items: center; justify-content: center; font-size: 40px; overflow: hidden; padding: 10px; }
.product-image img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.product-info { padding: 16px; }
.product-category { font-size: 11px; text-transform: uppercase; letter-spacing: .5px; color: var(--blue-glow); font-weight: 700; margin-bottom: 6px; }
.product-name { font-size: 14.5px; margin: 0 0 10px; color: var(--ink); font-weight: 600; line-height: 1.35; }
.product-price { font-size: 19px; font-weight: 800; color: var(--ink); }

.kit-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radio); overflow: hidden; display: flex; flex-direction: column; transition: all .25s; position: relative; }
.kit-card:hover { transform: translateY(-4px); box-shadow: var(--sombra-hover); }
.kit-tag { position: absolute; top: 14px; left: 14px; background: var(--blue); color: #04101f; font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: 20px; z-index: 2; }
.kit-media { height: 170px; background: var(--bg-soft); display: flex; align-items: center; justify-content: center; overflow: hidden; font-size: 34px; padding: 10px; }
.kit-media img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.kit-body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.kit-body h3 { margin: 0; font-size: 17px; color: var(--ink); }
.kit-specs { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.kit-specs li { font-size: 13px; color: var(--ink-dim); display: flex; align-items: center; gap: 7px; }
.kit-specs li::before { content: "✓"; color: var(--exito); font-weight: 800; }
.kit-price-box { margin-top: auto; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; text-align: center; }
.kit-price-box .lbl { font-size: 11.5px; color: var(--ink-dim); margin-bottom: 3px; }
.kit-price-box .val { font-size: 22px; font-weight: 800; color: var(--blue-glow); }

.brands-row {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 34px;
  padding: 24px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radio);
  margin-top: 30px;
}
.brands-row span { font-weight: 800; font-size: 16px; color: var(--ink-dim); letter-spacing: .3px; }

/* ---------- generic info cards ---------- */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.info-card { background: var(--panel); border: 1px solid var(--line); border-top: 3px solid var(--blue); border-radius: var(--radio); padding: 26px; transition: all .25s; }
.info-card:hover { transform: translateY(-4px); box-shadow: var(--sombra-hover); }
.info-icon { font-size: 30px; margin-bottom: 14px; }
.info-card h3 { margin: 0 0 8px; font-size: 16.5px; color: var(--ink); }
.info-card p { margin: 0; font-size: 13.5px; color: var(--ink-dim); }

.equip-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.equip-item { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radio); padding: 20px 14px; text-align: center; }
.equip-item .ico { font-size: 26px; margin-bottom: 10px; }
.equip-item h4 { font-size: 13px; margin: 0; color: var(--ink); }

.ideal-para { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.ideal-chip { background: var(--panel); border: 1px solid var(--line); border-radius: 30px; padding: 10px 20px; font-size: 13.5px; font-weight: 600; color: var(--ink-dim); display: flex; align-items: center; gap: 8px; }

.benefit-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radio); padding: 24px; }
.benefit-strip .b-item { text-align: center; }
.benefit-strip .b-item .ico { font-size: 22px; margin-bottom: 8px; }
.benefit-strip .b-item span { font-size: 12.5px; color: var(--ink-dim); display: block; }
.benefit-strip .b-item strong { font-size: 13px; color: var(--ink); display: block; margin-bottom: 2px; }

/* ---------- flyer visual blocks ---------- */
.flyer-showcase { display: grid; grid-template-columns: .8fr 1.2fr; gap: 36px; align-items: center; }
.flyer-showcase img { border-radius: var(--radio); border: 1px solid var(--line); box-shadow: var(--sombra); }
.flyer-showcase.reverse { grid-template-columns: 1.2fr .8fr; }
.flyer-showcase.reverse .flyer-text { order: 1; }
.flyer-showcase.reverse .flyer-img { order: 2; }

/* ---------- CTA banner ---------- */
.cta-section {
  background:
    radial-gradient(60% 60% at 90% 10%, rgba(59,130,246,.22), transparent 60%),
    var(--panel);
  border: 1px solid var(--line);
  color: var(--ink); border-radius: var(--radio); padding: 50px 30px; text-align: center;
}
.cta-title { font-family: 'Orbitron', sans-serif; font-size: 24px; margin: 0 0 12px; font-weight: 800; color: var(--ink); }
.cta-description { color: var(--ink-dim); margin: 0 0 26px; font-size: 15px; }

.empty-state { text-align: center; padding: 50px 20px; color: var(--ink-dim); }
.empty-state-icon { font-size: 40px; margin-bottom: 14px; }
.empty-state-text { font-size: 14.5px; }

/* ---------- footer ---------- */
.site-footer { background: var(--bg-soft); color: var(--ink-dim); margin-top: 60px; padding-top: 46px; border-top: 1px solid var(--line); }
.footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 32px; padding-bottom: 34px; }
.footer-section h3 { color: var(--ink); font-size: 14px; letter-spacing: .5px; margin: 0 0 16px; }
.footer-section p { font-size: 13px; color: var(--ink-dim); line-height: 1.7; margin: 0; }
.footer-section ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-section ul a { color: var(--ink-dim); text-decoration: none; font-size: 13px; }
.footer-section ul a:hover { color: var(--ink); }
.footer-bottom { border-top: 1px solid var(--line); padding: 20px 24px; text-align: center; }
.footer-bottom p { font-size: 12.5px; color: #5d6b8c; margin: 0; }

.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 200;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 28px; text-decoration: none; box-shadow: 0 4px 16px rgba(0,0,0,.5);
  transition: transform .2s;
}
.whatsapp-float:hover { transform: scale(1.08); }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .promos-grid, .products-grid, .info-grid { grid-template-columns: repeat(2, 1fr); }
  .equip-row, .benefit-strip { grid-template-columns: repeat(3, 1fr); }
  .footer-content { grid-template-columns: 1fr 1fr; }
  .flyer-showcase, .flyer-showcase.reverse { grid-template-columns: 1fr; }
  .flyer-showcase.reverse .flyer-text { order: 2; }
  .flyer-showcase.reverse .flyer-img { order: 1; }
}

@media (max-width: 760px) {
  .header-container { flex-wrap: wrap; }
  .main-nav { width: 100%; justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  .hero h1 { font-size: 28px; }
  .cat-hero h1 { font-size: 26px; }
  .promos-grid, .products-grid, .info-grid { grid-template-columns: 1fr; }
  .equip-row, .benefit-strip { grid-template-columns: repeat(2, 1fr); }
  .footer-content { grid-template-columns: 1fr; }
}
