/* EXTINMAX INDUSTRIAL FIRE SAFETY - DESIGN SYSTEM */
:root {
  --bg-dark: #090d14;
  --bg-card: #121824;
  --bg-card-hover: #172030;
  --bg-elevated: #1b2538;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(239, 68, 68, 0.4);
  --red-fire: #ef4444;
  --red-fire-dark: #b91c1c;
  --red-fire-glow: rgba(239, 68, 68, 0.25);
  --amber-safety: #f59e0b;
  --amber-safety-glow: rgba(245, 158, 11, 0.25);
  --green-safe: #10b981;
  --green-safe-glow: rgba(16, 185, 129, 0.25);
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Barlow Condensed', 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --radius-card: 14px;
  --radius-btn: 10px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { background-color: var(--bg-dark); color: var(--text-main); font-family: var(--font-main); line-height: 1.6; min-height: 100vh; display: flex; flex-direction: column; }
.hazard-stripe-bar { height: 6px; background: repeating-linear-gradient(-45deg, #f59e0b, #f59e0b 12px, #111827 12px, #111827 24px); width: 100%; }
.google-trust-bar { background: #0f1522; border-bottom: 1px solid var(--border-subtle); padding: 8px 24px; font-size: 0.8rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; color: var(--text-muted); }
.google-trust-bar strong { color: #fff; }
.trust-badges-inline { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.trust-badge-item { display: inline-flex; align-items: center; gap: 6px; }
.trust-badge-item::before { content: "•"; color: var(--red-fire); }
.fire-nav { position: sticky; top: 0; z-index: 100; background: rgba(9, 13, 20, 0.94); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border-subtle); display: flex; justify-content: space-between; align-items: center; padding: 14px 28px; }
.brand-fire { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.brand-icon { width: 44px; height: 44px; background: linear-gradient(135deg, var(--red-fire), var(--red-fire-dark)); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; box-shadow: 0 4px 14px var(--red-fire-glow); }
.brand-name { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: #fff; line-height: 1; }
.brand-tag { font-size: 0.72rem; font-family: var(--font-mono); color: var(--amber-safety); letter-spacing: 0.08em; margin-top: 3px; }
.nav-menu { display: flex; gap: 22px; list-style: none; align-items: center; }
.nav-menu a { text-decoration: none; color: var(--text-muted); font-size: 0.9rem; font-weight: 600; transition: color 0.2s; }
.nav-menu a:hover, .nav-menu a.active { color: #fff; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.btn-fire-primary { background: linear-gradient(135deg, var(--red-fire), var(--red-fire-dark)); color: #fff; border: 1px solid rgba(255, 255, 255, 0.15); padding: 10px 20px; border-radius: var(--radius-btn); font-weight: 700; font-size: 0.88rem; text-decoration: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: all 0.2s; box-shadow: 0 4px 16px var(--red-fire-glow); }
.btn-fire-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 22px var(--red-fire-glow); filter: brightness(1.1); }
.btn-fire-secondary { background: rgba(245, 158, 11, 0.12); color: var(--amber-safety); border: 1px solid rgba(245, 158, 11, 0.35); padding: 10px 18px; border-radius: var(--radius-btn); font-weight: 700; font-size: 0.88rem; text-decoration: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; transition: all 0.2s; }
.btn-fire-secondary:hover { background: rgba(245, 158, 11, 0.22); }
.btn-cart-fire { background: var(--bg-card); border: 1px solid var(--border-subtle); color: #fff; padding: 9px 16px; border-radius: var(--radius-btn); font-size: 0.85rem; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.cart-pill { background: var(--red-fire); color: #fff; border-radius: 999px; font-size: 0.75rem; padding: 2px 7px; font-weight: 800; }
.container { max-width: 1220px; margin: 0 auto; padding: 0 24px; }
.hero-section { padding: 70px 0 50px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(239, 68, 68, 0.12); border: 1px solid rgba(239, 68, 68, 0.3); color: #fca5a5; font-family: var(--font-mono); font-size: 0.8rem; padding: 6px 14px; border-radius: 999px; margin-bottom: 20px; }
.hero-title { font-family: var(--font-heading); font-size: 3.5rem; line-height: 1.05; font-weight: 800; text-transform: uppercase; letter-spacing: 0.02em; margin-bottom: 20px; }
.hero-title span { color: var(--red-fire); text-shadow: 0 0 24px var(--red-fire-glow); }
.hero-desc { font-size: 1.1rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 30px; max-width: 580px; }
.hero-metrics { display: flex; gap: 30px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--border-subtle); }
.metric-box h4 { font-family: var(--font-mono); font-size: 1.8rem; color: #fff; font-weight: 800; }
.metric-box p { font-size: 0.82rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.05em; }
.hero-calc-card { background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-card); padding: 30px; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4); position: relative; }
.hero-calc-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--red-fire), var(--amber-safety)); border-radius: var(--radius-card) var(--radius-card) 0 0; }
.calc-card-title { font-family: var(--font-heading); font-size: 1.6rem; font-weight: 800; text-transform: uppercase; color: #fff; margin-bottom: 6px; display: flex; align-items: center; gap: 10px; }
.calc-card-sub { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 20px; }
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 0.82rem; font-weight: 700; color: #e2e8f0; margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.04em; }
.form-select, .form-input { width: 100%; background: var(--bg-elevated); border: 1px solid var(--border-subtle); border-radius: 8px; padding: 12px 14px; color: #fff; font-family: inherit; font-size: 0.9rem; outline: none; transition: border-color 0.2s; }
.form-select:focus, .form-input:focus { border-color: var(--red-fire); }
.calc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.qty-stepper { display: flex; align-items: center; background: var(--bg-elevated); border: 1px solid var(--border-subtle); border-radius: 8px; overflow: hidden; }
.qty-btn { background: none; border: none; color: #fff; width: 38px; height: 44px; font-size: 1.2rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.15s; }
.qty-btn:hover { background: rgba(255, 255, 255, 0.1); }
.qty-input { width: 100%; border: none; background: transparent; text-align: center; color: #fff; font-weight: 700; font-family: var(--font-mono); }
.calc-summary-box { background: rgba(0, 0, 0, 0.35); border: 1px dashed var(--border-subtle); border-radius: 8px; padding: 14px; margin: 18px 0; }
.summary-line { display: flex; justify-content: space-between; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 6px; }
.summary-line.total { font-size: 1.15rem; font-weight: 800; color: #fff; padding-top: 8px; border-top: 1px solid var(--border-subtle); margin-bottom: 0; }
.summary-line.total span:last-child { color: var(--amber-safety); font-family: var(--font-mono); }
.section-py { padding: 70px 0; }
.section-header { text-align: center; max-width: 760px; margin: 0 auto 50px; }
.section-tag { font-family: var(--font-mono); font-size: 0.78rem; text-transform: uppercase; color: var(--red-fire); background: rgba(239, 68, 68, 0.1); border: 1px solid rgba(239, 68, 68, 0.25); padding: 5px 14px; border-radius: 999px; letter-spacing: 0.08em; display: inline-block; margin-bottom: 12px; }
.section-title { font-family: var(--font-heading); font-size: 2.5rem; font-weight: 800; text-transform: uppercase; color: #fff; letter-spacing: 0.02em; margin-bottom: 14px; }
.section-sub { color: var(--text-muted); font-size: 1rem; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.service-card { background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-card); padding: 28px; transition: all 0.25s; display: flex; flex-direction: column; position: relative; }
.service-card:hover { border-color: var(--border-hover); transform: translateY(-4px); background: var(--bg-card-hover); box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35); }
.service-icon { width: 54px; height: 54px; border-radius: 12px; background: rgba(239, 68, 68, 0.12); border: 1px solid rgba(239, 68, 68, 0.25); display: flex; align-items: center; justify-content: center; font-size: 1.8rem; margin-bottom: 20px; }
.service-title { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 800; text-transform: uppercase; color: #fff; margin-bottom: 10px; }
.service-desc { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; margin-bottom: 20px; flex-grow: 1; }
.service-features { list-style: none; font-size: 0.82rem; color: #cbd5e1; display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; padding-top: 14px; border-top: 1px solid var(--border-subtle); }
.service-features li::before { content: "✔ "; color: var(--green-safe); font-weight: bold; }
.price-tag { font-family: var(--font-mono); font-size: 1.2rem; font-weight: 800; color: var(--amber-safety); margin-bottom: 16px; }
.gauge-interactive-box { background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-card); padding: 34px; display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
.gauge-visual { text-align: center; position: relative; }
.gauge-dial { width: 220px; height: 110px; background: linear-gradient(to right, #ef4444 0% 30%, #10b981 30% 70%, #ef4444 70% 100%); border-top-left-radius: 120px; border-top-right-radius: 120px; margin: 0 auto 16px; position: relative; overflow: hidden; border: 2px solid rgba(255, 255, 255, 0.2); }
.gauge-inner-mask { position: absolute; bottom: 0; left: 20px; right: 20px; height: 90px; background: var(--bg-card); border-top-left-radius: 100px; border-top-right-radius: 100px; }
.gauge-needle { position: absolute; bottom: 0; left: 50%; width: 4px; height: 95px; background: #fff; transform-origin: bottom center; transform: rotate(0deg); transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); box-shadow: 0 0 10px rgba(255, 255, 255, 0.8); }
.gauge-center-pin { position: absolute; bottom: -8px; left: 50%; transform: translateX(-50%); width: 18px; height: 18px; border-radius: 50%; background: #f59e0b; }
.gauge-readout { font-family: var(--font-mono); font-size: 1.5rem; font-weight: 800; margin-top: 14px; color: #fff; }
.gauge-status-badge { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 0.8rem; font-weight: 700; margin-top: 6px; }
.cert-verifier-card { background: linear-gradient(145deg, #121824, #182234); border: 1px solid rgba(245, 158, 11, 0.35); border-radius: var(--radius-card); padding: 34px; margin-top: 40px; }
.cert-input-wrap { display: flex; gap: 12px; margin: 20px 0; }
.dash-grid { display: grid; grid-template-columns: 260px 1fr; gap: 30px; padding: 40px 0 80px; }
.dash-sidebar { background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-card); padding: 24px; height: fit-content; }
.dash-menu { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-top: 20px; }
.dash-menu a { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 8px; color: var(--text-muted); text-decoration: none; font-weight: 600; font-size: 0.9rem; transition: all 0.2s; }
.dash-menu a:hover, .dash-menu a.active { background: var(--bg-elevated); color: #fff; border-left: 3px solid var(--red-fire); }
.dash-table { width: 100%; border-collapse: collapse; margin-top: 20px; font-size: 0.88rem; }
.dash-table th { background: var(--bg-elevated); padding: 12px 16px; text-align: left; font-family: var(--font-heading); letter-spacing: 0.05em; font-size: 0.95rem; color: var(--text-muted); border-bottom: 2px solid var(--border-subtle); }
.dash-table td { padding: 14px 16px; border-bottom: 1px solid var(--border-subtle); }
.badge-status { padding: 4px 10px; border-radius: 6px; font-size: 0.75rem; font-weight: 700; font-family: var(--font-mono); display: inline-flex; align-items: center; gap: 6px; }
.badge-status.vigente { background: rgba(16, 185, 129, 0.15); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.3); }
.badge-status.por-vencer { background: rgba(245, 158, 11, 0.15); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.3); }
.badge-status.vencido { background: rgba(239, 68, 68, 0.15); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.3); }
.fire-cart-drawer { position: fixed; top: 0; right: -460px; width: 440px; max-width: 95vw; height: 100vh; background: var(--bg-card); border-left: 1px solid var(--border-subtle); z-index: 1000; display: flex; flex-direction: column; transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1); box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5); }
.fire-cart-drawer.open { right: 0; }
.cart-drawer-head { padding: 22px; border-bottom: 1px solid var(--border-subtle); display: flex; justify-content: space-between; align-items: center; }
.cart-drawer-body { flex-grow: 1; overflow-y: auto; padding: 22px; }
.cart-drawer-foot { padding: 22px; border-top: 1px solid var(--border-subtle); background: var(--bg-elevated); }
.cookie-banner { position: fixed; bottom: 20px; left: 20px; right: 20px; max-width: 640px; background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-card); padding: 20px; z-index: 999; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); display: flex; flex-direction: column; gap: 14px; }
.cookie-banner.hidden { display: none; }
.cookie-btns { display: flex; gap: 10px; justify-content: flex-end; }
.fire-footer { background: #080c12; border-top: 1px solid var(--border-subtle); padding: 60px 0 30px; margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 36px; margin-bottom: 40px; }
.footer-col h5 { font-family: var(--font-heading); font-size: 1.2rem; color: #fff; text-transform: uppercase; margin-bottom: 18px; letter-spacing: 0.04em; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 0.88rem; }
.footer-links a { text-decoration: none; color: var(--text-muted); transition: color 0.2s; }
.footer-links a:hover { color: #fff; }
.footer-bottom { padding-top: 24px; border-top: 1px solid var(--border-subtle); display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem; color: var(--text-dim); flex-wrap: wrap; gap: 12px; }
.payment-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.payment-badge { background: var(--bg-elevated); border: 1px solid var(--border-subtle); padding: 4px 10px; border-radius: 6px; font-size: 0.72rem; font-family: var(--font-mono); color: #fff; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .gauge-interactive-box { grid-template-columns: 1fr; }
  .dash-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-menu { display: none; }
}
