/* ============================================================
   VOLTEX ELECTRICALS — DESIGN SYSTEM
   style.css  |  Shared across all pages
   ============================================================ */

/* ── TOKENS ─────────────────────────────────────────────────── */
:root {
  /* Brand palette */
  --navy:        #0A1628;
  --navy-mid:    #1E3A5F;
  --navy-light:  #2A4A75;
  --orange:      #FF6B1A;
  --orange-dk:   #D9550F;
  --white:       #FFFFFF;
  --gray-bg:     #F5F7FA;
  --gray-mid:    #8A9BB0;
  --gray-dark:   #3D4F63;
  --text-body:   #2E3D4E;
  --green:       #25D366;
  --green-dk:    #1ab854;

  /* Typography */
  --ff-display: 'Barlow Condensed', sans-serif;
  --ff-body:    'Inter', sans-serif;

  /* Shadows */
  --shadow-sm:  0 2px 12px rgba(10,22,40,0.08);
  --shadow-md:  0 6px 30px rgba(10,22,40,0.14);
  --shadow-lg:  0 12px 50px rgba(10,22,40,0.2);

  /* Radii */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
}

/* ── RESET & BASE ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ff-body);
  color: var(--text-body);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; }

/* ── TYPOGRAPHY SCALE ───────────────────────────────────────── */
.display-xl {
  font-family: var(--ff-display);
  font-size: clamp(38px, 5.5vw, 72px);
  font-weight: 800; line-height: 1.05; letter-spacing: -0.5px;
}
.display-lg {
  font-family: var(--ff-display);
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 800; line-height: 1.08;
}
.display-md {
  font-family: var(--ff-display);
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 700; line-height: 1.15;
}
.body-lg  { font-size: 17px; line-height: 1.75; }
.body-md  { font-size: 15px; line-height: 1.7;  }
.body-sm  { font-size: 13px; line-height: 1.65; }
.label    { font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; }

/* ── COLOUR UTILITIES ───────────────────────────────────────── */
.text-orange { color: var(--orange); }
.text-navy   { color: var(--navy);   }
.text-white  { color: var(--white);  }
.text-muted  { color: var(--gray-dark); }
.bg-navy     { background: var(--navy); }
.bg-gray     { background: var(--gray-bg); }

/* ── SECTION WRAPPERS ───────────────────────────────────────── */
.section       { padding: 90px 0; }
.section-alt   { background: var(--gray-bg); }
.section-inner { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.section-dark  { background: var(--navy); }

/* ── SECTION HEADER ─────────────────────────────────────────── */
.sec-eyebrow {
  display: inline-block;
  font-family: var(--ff-body); font-size: 11px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--orange); margin-bottom: 10px;
}
.sec-title {
  font-family: var(--ff-display);
  font-size: clamp(28px, 4vw, 48px); font-weight: 800; line-height: 1.1;
  color: var(--navy); margin-bottom: 14px;
}
.sec-title-light { color: var(--white); }
.sec-desc {
  font-size: 16px; line-height: 1.75;
  color: var(--gray-dark); max-width: 580px;
}

/* ── BUTTONS ────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: var(--r-sm);
  font-family: var(--ff-body); font-size: 15px; font-weight: 600;
  cursor: pointer; border: none; transition: all 0.2s;
  text-decoration: none; line-height: 1;
}
.btn-primary {
  background: var(--orange); color: var(--white);
  box-shadow: 0 4px 20px rgba(255,107,26,0.32);
}
.btn-primary:hover {
  background: var(--orange-dk); color: var(--white);
  transform: translateY(-2px); box-shadow: 0 8px 28px rgba(255,107,26,0.42);
}
.btn-outline-white {
  border: 1.5px solid rgba(255,255,255,0.35); color: var(--white); background: transparent;
}
.btn-outline-white:hover { border-color: var(--orange); color: var(--orange); }
.btn-outline-dark {
  border: 1.5px solid rgba(10,22,40,0.2); color: var(--navy); background: transparent;
}
.btn-outline-dark:hover { border-color: var(--orange); color: var(--orange); }
.btn-whatsapp {
  background: var(--green); color: var(--white);
}
.btn-whatsapp:hover { background: var(--green-dk); color: var(--white); transform: translateY(-2px); }
.btn-sm { padding: 9px 18px; font-size: 13px; }

/* ── HEADER ─────────────────────────────────────────────────── */
#site-header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: transparent;
  transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
  padding: 18px 0;
}
#site-header.scrolled {
  background: var(--navy);
  box-shadow: 0 2px 24px rgba(0,0,0,0.35);
  padding: 11px 0;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1240px; margin: 0 auto; padding: 0 24px;
}
.site-logo {
  display: flex; align-items: center; gap: 10px; text-decoration: none;
}
.logo-mark {
  width: 42px; height: 42px; background: var(--orange);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.logo-mark svg { width: 26px; height: 26px; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name  {
  font-family: var(--ff-display); font-size: 21px; font-weight: 800;
  letter-spacing: 0.5px; color: var(--white);
}
.logo-tagline {
  font-size: 10px; font-weight: 500; color: var(--orange);
  letter-spacing: 1.5px; text-transform: uppercase; margin-top: 2px;
}
.site-nav ul {
  list-style: none; display: flex; gap: 28px; margin: 0; padding: 0;
}
.site-nav a {
  font-size: 14px; font-weight: 500;
  color: rgba(255,255,255,0.82); transition: color 0.2s;
}
.site-nav a:hover,
.site-nav a.active { color: var(--orange); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.btn-call {
  display: flex; align-items: center; gap: 6px;
  padding: 9px 20px; border-radius: var(--r-sm);
  background: var(--orange); color: var(--white);
  font-size: 14px; font-weight: 600;
  transition: background 0.2s, transform 0.15s; white-space: nowrap;
}
.btn-call:hover { background: var(--orange-dk); transform: translateY(-1px); color: var(--white); }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px; background: none; border: none;
}
.hamburger span {
  display: block; width: 26px; height: 2px;
  background: var(--white); border-radius: 2px; transition: all 0.3s;
}

/* ── MOBILE NAV ─────────────────────────────────────────────── */
.mobile-nav {
  display: none; position: fixed; inset: 0;
  background: var(--navy); z-index: 999;
  flex-direction: column; align-items: center; justify-content: center; gap: 28px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: var(--ff-display); font-size: 30px; font-weight: 700;
  color: var(--white); transition: color 0.2s;
}
.mobile-nav a:hover { color: var(--orange); }
.mobile-nav-close {
  position: absolute; top: 22px; right: 24px;
  font-size: 28px; color: var(--white); cursor: pointer; background: none; border: none;
}

/* ── PAGE HERO (inner pages) ────────────────────────────────── */
.page-hero {
  background: var(--navy);
  padding: 140px 0 70px; position: relative; overflow: hidden;
}
.page-hero-grid {
  position: absolute; inset: 0; opacity: 0.05;
  background-image:
    linear-gradient(var(--orange) 1px, transparent 1px),
    linear-gradient(90deg, var(--orange) 1px, transparent 1px);
  background-size: 60px 60px;
}
.page-hero-glow {
  position: absolute; width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,26,0.15) 0%, transparent 70%);
  right: 5%; top: 50%; transform: translateY(-50%); pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 2; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.breadcrumb-nav { display: flex; gap: 6px; align-items: center; margin-bottom: 18px; }
.breadcrumb-nav a { font-size: 13px; color: rgba(255,255,255,0.45); }
.breadcrumb-nav a:hover { color: var(--orange); }
.breadcrumb-nav span { font-size: 13px; color: rgba(255,255,255,0.25); }
.breadcrumb-nav .current { color: var(--orange); font-weight: 500; }

/* ── CARDS ──────────────────────────────────────────────────── */
.card-base {
  background: var(--white); border-radius: var(--r-md);
  border: 1px solid rgba(10,22,40,0.07);
  transition: box-shadow 0.25s, transform 0.25s;
}
.card-base:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.card-dark {
  background: var(--navy-mid); border-radius: var(--r-md);
  transition: box-shadow 0.25s, transform 0.25s;
}
.card-dark:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }

/* ── FORM ELEMENTS ──────────────────────────────────────────── */
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label {
  font-size: 13px; font-weight: 600; color: var(--navy);
  letter-spacing: 0.3px;
}
.form-control {
  width: 100%; padding: 12px 16px; border-radius: var(--r-sm);
  border: 1.5px solid rgba(10,22,40,0.12);
  font-family: var(--ff-body); font-size: 14px; color: var(--text-body);
  background: var(--white); transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-control:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255,107,26,0.1);
}
.form-control::placeholder { color: var(--gray-mid); }
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control { appearance: none; cursor: pointer; }

/* ── STATS ──────────────────────────────────────────────────── */
.stats-band {
  background: var(--navy); padding: 68px 0;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.stat-item { text-align: center; padding: 20px; }
.stat-number {
  font-family: var(--ff-display); font-size: clamp(38px, 5vw, 58px);
  font-weight: 800; color: var(--white); line-height: 1; margin-bottom: 8px;
}
.stat-suffix { color: var(--orange); }
.stat-label { font-size: 14px; color: rgba(255,255,255,0.48); font-weight: 500; }

/* ── BADGE ──────────────────────────────────────────────────── */
.badge-pill {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,107,26,0.1); border: 1px solid rgba(255,107,26,0.28);
  border-radius: 100px; padding: 6px 16px;
  color: var(--orange); font-size: 12px; font-weight: 600;
  letter-spacing: 1.2px; text-transform: uppercase;
}
.badge-pill .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--orange); animation: pulse-dot 1.8s infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.4; transform: scale(0.7); }
}

/* ── FOOTER ─────────────────────────────────────────────────── */
footer { background: #060E1A; padding: 72px 0 0; }
.footer-grid {
  max-width: 1240px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 48px;
}
.footer-about {
  font-size: 14px; line-height: 1.8; color: rgba(255,255,255,0.38);
  margin: 16px 0 24px;
}
.social-links { display: flex; gap: 10px; }
.social-btn {
  width: 36px; height: 36px; border-radius: var(--r-sm);
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.45); font-size: 14px; transition: all 0.2s;
}
.social-btn:hover { background: var(--orange); border-color: var(--orange); color: var(--white); }
.footer-col-title {
  font-family: var(--ff-display); font-size: 16px; font-weight: 700;
  color: var(--white); margin-bottom: 20px; letter-spacing: 0.5px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,0.42); transition: color 0.2s; }
.footer-links a:hover { color: var(--orange); }
.footer-contact-item {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: rgba(255,255,255,0.42); margin-bottom: 13px;
}
.footer-contact-item i { color: var(--orange); margin-top: 2px; flex-shrink: 0; }
.footer-contact-item a { color: inherit; }
.footer-contact-item a:hover { color: var(--orange); }
.footer-bottom {
  max-width: 1240px; margin: 56px auto 0; padding: 22px 24px;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.22); }
.cert-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.cert-badge {
  padding: 4px 10px; border-radius: 6px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.07);
  font-size: 11px; color: rgba(255,255,255,0.32); font-weight: 500;
}

/* ── STICKY MOBILE BAR ──────────────────────────────────────── */
.sticky-mobile-btns {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 998;
  background: var(--navy); border-top: 1px solid rgba(255,255,255,0.08);
  padding: 10px 16px; grid-template-columns: 1fr 1fr 1fr; gap: 8px;
}
.sticky-btn {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 8px; border-radius: var(--r-sm); font-size: 11px; font-weight: 600;
}
.sticky-btn i { font-size: 18px; }
.sticky-btn.call     { background: rgba(255,107,26,0.15); color: var(--orange); }
.sticky-btn.whatsapp { background: rgba(37,211,102,0.15); color: var(--green); }
.sticky-btn.quote    { background: rgba(255,255,255,0.07); color: rgba(255,255,255,0.65); }

/* ── DIVIDER ────────────────────────────────────────────────── */
.divider-orange {
  width: 48px; height: 3px; background: var(--orange);
  border-radius: 2px; margin: 14px 0 22px;
}

/* ── TAG ────────────────────────────────────────────────────── */
.tag {
  font-size: 11px; font-weight: 500; padding: 4px 11px; border-radius: 100px;
  background: var(--gray-bg); color: var(--navy-mid);
  border: 1px solid rgba(10,22,40,0.08); display: inline-block;
}
.tag-orange {
  background: rgba(255,107,26,0.1); color: var(--orange);
  border-color: rgba(255,107,26,0.25);
}

/* ── ALERT / NOTICE ─────────────────────────────────────────── */
.notice {
  padding: 14px 18px; border-radius: var(--r-sm);
  border-left: 3px solid var(--orange); background: rgba(255,107,26,0.07);
  font-size: 14px; color: var(--text-body);
}

/* ── ANIMATIONS ─────────────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes led-blink {
  0%,100%{opacity:1} 50%{opacity:0.4}
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 991px) {
  .site-nav, .header-cta { display: none; }
  .hamburger { display: flex; }
  .sticky-mobile-btns { display: grid; }
  body { padding-bottom: 72px; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand-col { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .section { padding: 64px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
