/* =========================================================
   ZENOCOOL ENTERPRISE — Design System
   Palette drawn from the brand's own logo: brushed steel +
   cobalt-to-ice-blue gradient on a near-black ground, with a
   hi-vis amber pulled from the technician uniform striping.
   Headline face: Oswald (condensed, industrial, nameplate feel)
   Body face: Work Sans (clean, humanist, easy at length)
========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Work+Sans:wght@400;500;600&display=swap');

:root{
  --bg-0:#0a0d12;          /* deepest background */
  --bg-1:#10151c;          /* panel background */
  --bg-2:#161d26;          /* raised panel */
  --line:#2a3440;          /* hairline borders on dark */

  --steel-100:#f4f6f8;     /* near-white chrome */
  --steel-300:#c7d0d9;     /* light steel */
  --steel-500:#8996a3;     /* muted steel / secondary text */
  --steel-700:#4c5866;

  --blue-900:#062a57;
  --blue-700:#0b4fa3;
  --blue-500:#1f7ce0;
  --blue-300:#6fb4f2;
  --ice-200:#bfe6fb;

  --amber-500:#f0a627;
  --amber-400:#f7bb52;

  --success:#3ecf8e;

  --radius-s:4px;
  --radius-m:8px;
  --container:1200px;

  --font-head:'Oswald', 'Arial Narrow', sans-serif;
  --font-body:'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  color-scheme: dark;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
html,body{ margin:0; padding:0; }

body{
  background:var(--bg-0);
  color:var(--steel-300);
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  background-image:
    linear-gradient(180deg, rgba(31,124,224,0.05), transparent 400px),
    repeating-linear-gradient(180deg, rgba(255,255,255,0.012) 0px, rgba(255,255,255,0.012) 1px, transparent 1px, transparent 46px);
}

img{ max-width:100%; display:block; }

a{ color:var(--blue-300); text-decoration:none; }
a:hover{ color:var(--ice-200); }

h1,h2,h3,h4{
  font-family:var(--font-head);
  color:var(--steel-100);
  font-weight:600;
  line-height:1.15;
  margin:0 0 .5em;
  letter-spacing:.2px;
}
h1{ font-size:clamp(2.1rem, 4vw + 1rem, 3.6rem); font-weight:700; }
h2{ font-size:clamp(1.6rem, 2.4vw + 1rem, 2.4rem); }
h3{ font-size:1.3rem; }
p{ margin:0 0 1em; color:var(--steel-300); }
.lede{ font-size:1.15rem; color:var(--steel-100); max-width:60ch; }

.container{
  max-width:var(--container);
  margin:0 auto;
  padding:0 24px;
}

section{ padding:88px 0; position:relative; }
section.tight{ padding:56px 0; }

/* ---------- focus & accessibility ---------- */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible{
  outline:2px solid var(--blue-300);
  outline-offset:3px;
}
@media (prefers-reduced-motion: reduce){
  *{ animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; scroll-behavior:auto !important; }
}

/* ---------- utility ---------- */
.eyebrow{
  font-family:var(--font-head);
  font-size:.8rem;
  letter-spacing:.14em;
  color:var(--blue-300);
  font-weight:500;
}
.divider{
  width:56px; height:3px;
  background:linear-gradient(90deg, var(--blue-500), var(--ice-200));
  margin:14px 0 22px;
  border-radius:2px;
}
.center{ text-align:center; margin-left:auto; margin-right:auto; }
.text-center{ text-align:center; }

/* ---------- buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  gap:.5em;
  font-family:var(--font-head);
  font-weight:500;
  font-size:.98rem;
  letter-spacing:.03em;
  padding:14px 26px;
  border-radius:var(--radius-s);
  border:1px solid transparent;
  cursor:pointer;
  transition:transform .15s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.btn:hover{ transform:translateY(-1px); }
.btn-primary{
  background:linear-gradient(135deg, var(--blue-500), var(--blue-700));
  color:#fff;
  box-shadow:0 6px 20px -6px rgba(31,124,224,.55);
}
.btn-primary:hover{ color:#fff; border-color:var(--ice-200); }
.btn-amber{
  background:linear-gradient(135deg, var(--amber-400), var(--amber-500));
  color:#241300;
  box-shadow:0 6px 20px -6px rgba(240,166,39,.45);
}
.btn-amber:hover{ color:#241300; }
.btn-ghost{
  background:transparent;
  border-color:var(--line);
  color:var(--steel-100);
}
.btn-ghost:hover{ border-color:var(--blue-300); color:var(--steel-100); }

/* ==========================================================
   HEADER / NAV — Bootstrap collapse navbar (KLSF pattern),
   restyled to the Zenocool steel/cobalt palette.
   Requires bootstrap.bundle.min.js for the toggle — no custom
   JS event wiring needed, which is what made the old hand-
   rolled toggle fragile.
========================================================== */
#mainNav{ position:sticky; top:0; z-index:100; }

/* ---------- top bar ---------- */
.top-bar{
  background:var(--bg-0);
  border-bottom:1px solid var(--line);
  padding:8px 0;
  font-size:.8rem;
}
.top-bar-contact{ display:flex; align-items:center; gap:22px; flex-wrap:wrap; }
.top-bar-contact span{ display:flex; align-items:center; gap:7px; color:var(--steel-500); }
.top-bar-contact i{ color:var(--blue-300); font-size:.85em; }
.top-bar-contact a{ color:var(--steel-500); }
.top-bar-contact a:hover{ color:var(--blue-300); }
.top-bar-social{ display:flex; align-items:center; gap:10px; }
.top-bar-social a{
  width:26px; height:26px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  color:var(--steel-500); border:1px solid var(--line); font-size:.72rem;
}
.top-bar-social a:hover{ color:var(--blue-300); border-color:var(--blue-300); }

/* ---------- main navbar ---------- */
.navbar-main{
  background:rgba(10,13,18,.92);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
  padding:6px 0;
}
.navbar-brand img{
  height:66px; width:auto; object-fit:contain;
}
.navbar-nav .nav-link{
  font-family:var(--font-head);
  font-size:.92rem;
  letter-spacing:.03em;
  color:var(--steel-300) !important;
  padding:10px 16px !important;
  border-bottom:2px solid transparent;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active{
  color:var(--steel-100) !important;
  border-bottom-color:var(--blue-500);
}
@media (min-width:992px){
  .navbar-nav .nav-link{ padding:10px 14px !important; }
}

/* dropdowns (available if a page ever needs grouped links) */
.dropdown-menu{
  background:var(--bg-1); border:1px solid var(--line); border-radius:var(--radius-s);
  padding:6px; margin-top:0;
}
.dropdown-item{
  color:var(--steel-300); font-size:.9rem; border-radius:var(--radius-s); padding:9px 12px;
}
.dropdown-item:hover, .dropdown-item:focus{ background:var(--bg-2); color:var(--steel-100); }

/* hamburger toggler — restyle Bootstrap's default */
.navbar-toggler{
  border:1px solid var(--line) !important;
  border-radius:var(--radius-s) !important;
  padding:7px 10px !important;
  box-shadow:none !important;
}
.navbar-toggler-icon{
  background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23e5eaf0' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* CTA button in the nav, matches KLSF's btn-donate-nav */
.btn-quote-nav{
  display:inline-flex; align-items:center; gap:8px;
  font-family:var(--font-head); font-weight:500; font-size:.9rem; letter-spacing:.02em;
  color:#fff; background:linear-gradient(135deg, var(--blue-500), var(--blue-700));
  padding:10px 20px; border-radius:var(--radius-s);
  box-shadow:0 6px 18px -6px rgba(31,124,224,.5);
  text-decoration:none; margin-left:10px;
  transition:transform .15s ease;
}
.btn-quote-nav:hover{ color:#fff; transform:translateY(-1px); }

/* mobile collapse panel */
@media (max-width:991.98px){
  .navbar-collapse{
    background:var(--bg-1);
    border-top:1px solid var(--line);
    margin-top:12px;
    padding:8px 4px 16px;
    border-radius:var(--radius-s);
  }
  .navbar-nav .nav-link{ padding:12px 10px !important; border-bottom:1px solid var(--line); }
  .btn-quote-nav{ margin:14px 10px 0; justify-content:center; }
}

/* ==========================================================
   HERO (diagonal cut — echoes the Z mark, used once)
========================================================== */
.hero{
  position:relative;
  padding:100px 0 130px;
  background:
    radial-gradient(1100px 500px at 82% -10%, rgba(31,124,224,.20), transparent 60%),
    linear-gradient(180deg, var(--bg-0), var(--bg-1));
  overflow:hidden;
  border-bottom:1px solid var(--line);
}
.hero::after{
  content:'';
  position:absolute; right:-8%; top:-20%; bottom:-20%; width:46%;
  background:linear-gradient(135deg, rgba(31,124,224,.16), rgba(191,230,251,.05));
  clip-path:polygon(38% 0, 100% 0, 62% 100%, 0% 100%);
  pointer-events:none;
}
.hero-grid{
  display:grid; grid-template-columns:1.15fr .85fr; gap:48px; align-items:center;
  position:relative; z-index:1;
}
.hero-badge{
  display:inline-flex; align-items:center; gap:8px;
  font-family:var(--font-head); font-size:.78rem; letter-spacing:.1em;
  color:var(--ice-200); background:rgba(31,124,224,.12);
  border:1px solid rgba(111,180,242,.35);
  padding:7px 14px; border-radius:999px; margin-bottom:22px;
}
.hero h1{ margin-bottom:.35em; }
.hero h1 em{ font-style:normal; color:var(--blue-300); }
.hero-actions{ display:flex; flex-wrap:wrap; gap:14px; margin-top:30px; }
.hero-stats{
  display:flex; gap:34px; margin-top:46px; flex-wrap:wrap;
}
.hero-stats div strong{
  display:block; font-family:var(--font-head); font-size:1.7rem; color:var(--steel-100);
}
.hero-stats div span{ font-size:.82rem; color:var(--steel-500); }

.hero-visual{
  position:relative;
  border-radius:var(--radius-m);
  overflow:hidden;
  border:1px solid var(--line);
  background:var(--bg-1);
  box-shadow:0 30px 60px -20px rgba(0,0,0,.6);
}
.hero-visual img{ width:100%; }

@media (max-width:960px){
  .hero-grid{ grid-template-columns:1fr; }
  .hero::after{ display:none; }
}

/* ==========================================================
   SECTION HEADERS
========================================================== */
.section-head{ max-width:640px; margin-bottom:48px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head.center .divider{ margin-left:auto; margin-right:auto; }

/* ==========================================================
   CARDS — services / industries / values
   (deliberately three different card treatments so nothing
   reads as one repeated SaaS-card template)
========================================================== */
.grid{ display:grid; gap:26px; }
.grid-3{ grid-template-columns:repeat(3, 1fr); }
.grid-4{ grid-template-columns:repeat(4, 1fr); }
.grid-2{ grid-template-columns:repeat(2, 1fr); }
@media (max-width:900px){ .grid-3, .grid-4{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:600px){ .grid-3, .grid-4, .grid-2{ grid-template-columns:1fr; } }

.service-card{
  background:var(--bg-1);
  border:1px solid var(--line);
  border-left:3px solid var(--blue-500);
  padding:30px 26px;
  border-radius:var(--radius-s);
  transition:border-color .2s ease, transform .2s ease;
}
.service-card:hover{ border-left-color:var(--amber-500); transform:translateY(-3px); }
.service-card .icon{ margin-bottom:16px; color:var(--ice-200); }
.service-card h3{ font-size:1.12rem; margin-bottom:.4em; }
.service-card p{ font-size:.95rem; margin-bottom:0; }

.industry-tile{
  display:flex; flex-direction:column; gap:10px;
  padding:22px 18px;
  background:var(--bg-2);
  border-radius:var(--radius-s);
  text-align:left;
}
.industry-tile .icon{ color:var(--blue-300); }
.industry-tile strong{ color:var(--steel-100); font-family:var(--font-head); font-weight:500; font-size:.98rem; }

.value-row{
  display:flex; gap:18px; align-items:flex-start;
  padding:20px 0;
  border-bottom:1px solid var(--line);
}
.value-row:last-child{ border-bottom:none; }
.value-row .icon{ color:var(--amber-500); flex-shrink:0; margin-top:2px; }
.value-row h3{ font-size:1.02rem; margin-bottom:.25em; }
.value-row p{ font-size:.93rem; margin-bottom:0; }

/* ==========================================================
   SOLUTIONS COMPARISON (conventional vs solar)
========================================================== */
.compare-wrap{ display:grid; grid-template-columns:1fr 1fr; gap:0; border:1px solid var(--line); border-radius:var(--radius-m); overflow:hidden; }
.compare-col{ padding:36px 32px; position:relative; }
.compare-col + .compare-col{ border-left:1px solid var(--line); }
.compare-col.conventional{ background:var(--bg-1); }
.compare-col.solar{ background:linear-gradient(160deg, var(--bg-1), #0c1a14); }
.compare-tag{
  display:inline-block; font-family:var(--font-head); font-size:.72rem; letter-spacing:.1em;
  padding:5px 12px; border-radius:999px; margin-bottom:16px;
}
.compare-col.conventional .compare-tag{ background:rgba(31,124,224,.15); color:var(--blue-300); }
.compare-col.solar .compare-tag{ background:rgba(62,207,142,.15); color:var(--success); }
.compare-col ul{ list-style:none; margin:18px 0 0; padding:0; display:grid; gap:10px; }
.compare-col li{ font-size:.92rem; color:var(--steel-300); padding-left:22px; position:relative; }
.compare-col li::before{ content:'✓'; position:absolute; left:0; color:var(--blue-300); font-weight:700; }
.compare-col.solar li::before{ color:var(--success); }
.compare-divider{
  display:flex; align-items:center; justify-content:center;
  position:absolute; left:50%; top:50%; transform:translate(-50%,-50%);
  width:52px; height:52px; border-radius:50%;
  background:var(--bg-0); border:1px solid var(--line);
  font-family:var(--font-head); font-size:.7rem; color:var(--steel-500);
  z-index:2; text-align:center; line-height:1.1;
}
@media (max-width:760px){
  .compare-wrap{ grid-template-columns:1fr; }
  .compare-col + .compare-col{ border-left:none; border-top:1px solid var(--line); }
  .compare-divider{ display:none; }
}

/* ==========================================================
   PROCESS / STEPS (this content IS sequential — numbering earned)
========================================================== */
.steps{ display:grid; grid-template-columns:repeat(4,1fr); gap:0; counter-reset:step; }
.step{ padding:0 24px 0 0; position:relative; }
.step:not(:last-child)::after{
  content:''; position:absolute; top:22px; right:-4px; width:calc(100% - 44px); height:1px;
  background:var(--line);
}
.step-num{
  counter-increment:step;
  font-family:var(--font-head); font-size:1.1rem; color:var(--bg-0);
  width:44px; height:44px; border-radius:50%;
  background:linear-gradient(135deg, var(--blue-300), var(--blue-700));
  display:flex; align-items:center; justify-content:center; margin-bottom:18px;
  font-weight:600;
}
.step-num::before{ content:counter(step); }
@media (max-width:820px){
  .steps{ grid-template-columns:1fr 1fr; row-gap:36px; }
  .step:nth-child(2)::after{ display:none; }
}
@media (max-width:560px){
  .steps{ grid-template-columns:1fr; }
  .step::after{ display:none; }
}

/* ==========================================================
   CTA BAND
========================================================== */
.cta-band{
  background:linear-gradient(120deg, var(--blue-900), var(--bg-1) 60%);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.cta-inner{
  display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap;
}
.cta-inner h2{ margin-bottom:.2em; }
.cta-inner p{ margin-bottom:0; color:var(--steel-300); }
.cta-actions{ display:flex; gap:14px; flex-wrap:wrap; }

/* ==========================================================
   TESTIMONIAL / TRUST STRIP
========================================================== */
.trust-strip{
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  background:var(--bg-1);
}
.trust-strip .container{
  display:flex; flex-wrap:wrap; gap:38px; justify-content:space-between; align-items:center;
  padding:26px 24px;
}
.trust-item{ display:flex; align-items:center; gap:10px; font-family:var(--font-head); font-size:.88rem; color:var(--steel-300); letter-spacing:.02em; }
.trust-item .icon{ color:var(--amber-500); }

/* ==========================================================
   PAGE HEADER (interior pages)
========================================================== */
.page-header{
  padding:64px 0 54px;
  background:linear-gradient(180deg, var(--bg-1), var(--bg-0));
  border-bottom:1px solid var(--line);
  position:relative;
}
.page-header .eyebrow{ margin-bottom:6px; display:block; }
.breadcrumb{ font-size:.82rem; color:var(--steel-500); margin-bottom:18px; }
.breadcrumb a{ color:var(--steel-500); }
.breadcrumb a:hover{ color:var(--blue-300); }

/* ==========================================================
   FOOTER
========================================================== */
.site-footer{
  background:var(--bg-1);
  border-top:1px solid var(--line);
  padding:64px 0 28px;
}
.footer-grid{
  display:grid; grid-template-columns:1.4fr 1fr 1fr 1.1fr; gap:40px;
  padding-bottom:40px; border-bottom:1px solid var(--line);
}
.footer-brand .brand{
  display:flex; align-items:center; gap:12px;
  font-family:var(--font-head);
  margin-bottom:14px;
}
.footer-brand .brand img{ height:42px; width:auto; }
.footer-brand .brand-name{ display:flex; flex-direction:column; line-height:1.1; }
.footer-brand .brand-name strong{ color:var(--steel-100); font-size:1.05rem; letter-spacing:.03em; }
.footer-brand .brand-name span{ color:var(--blue-300); font-size:.62rem; letter-spacing:.16em; font-weight:500; }
.footer-brand p{ font-size:.9rem; max-width:32ch; }
.footer-social{ display:flex; gap:12px; margin-top:16px; }
.footer-social a{
  width:36px; height:36px; border:1px solid var(--line); border-radius:50%;
  display:flex; align-items:center; justify-content:center; color:var(--steel-300);
}
.footer-social a:hover{ border-color:var(--blue-300); color:var(--blue-300); }
.footer-col h4{ font-size:.85rem; letter-spacing:.08em; color:var(--steel-100); margin-bottom:16px; font-family:var(--font-head); }
.footer-col ul{ list-style:none; margin:0; padding:0; display:grid; gap:10px; }
.footer-col a, .footer-col span{ font-size:.9rem; color:var(--steel-500); }
.footer-col a:hover{ color:var(--blue-300); }
.footer-bottom{
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px;
  padding-top:24px; font-size:.8rem; color:var(--steel-700);
}
@media (max-width:900px){
  .footer-grid{ grid-template-columns:1fr 1fr; }
}
@media (max-width:560px){
  .footer-grid{ grid-template-columns:1fr; }
}

/* ==========================================================
   MISC PAGE-SPECIFIC (about / gallery / contact / services)
========================================================== */
.two-col{ display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center; }
@media (max-width:900px){ .two-col{ grid-template-columns:1fr; } }

.credential-card{
  border-radius:var(--radius-m);
  overflow:hidden;
  border:1px solid var(--line);
  box-shadow:0 24px 50px -20px rgba(0,0,0,.55);
}

.gallery-item{
  border-radius:var(--radius-s);
  overflow:hidden;
  border:1px solid var(--line);
  background:var(--bg-1);
}
.gallery-item figcaption{
  padding:14px 16px;
  font-size:.85rem;
  color:var(--steel-500);
}
figure{ margin:0; }

.contact-grid{ display:grid; grid-template-columns:.9fr 1.1fr; gap:48px; }
@media (max-width:900px){ .contact-grid{ grid-template-columns:1fr; } }
.contact-detail{ display:flex; gap:16px; padding:18px 0; border-bottom:1px solid var(--line); }
.contact-detail:last-child{ border-bottom:none; }
.contact-detail .icon{ color:var(--blue-300); flex-shrink:0; }
.contact-detail strong{ display:block; color:var(--steel-100); font-family:var(--font-head); font-weight:500; font-size:.92rem; margin-bottom:2px; }
.contact-detail span, .contact-detail a{ font-size:.92rem; color:var(--steel-500); }

.form-panel{
  background:var(--bg-1); border:1px solid var(--line); border-radius:var(--radius-m);
  padding:36px;
}
.field{ margin-bottom:18px; }
.field label{ display:block; font-size:.85rem; color:var(--steel-300); margin-bottom:6px; font-family:var(--font-head); letter-spacing:.02em; }
.field input, .field textarea, .field select{
  width:100%; background:var(--bg-0); border:1px solid var(--line); border-radius:var(--radius-s);
  padding:12px 14px; color:var(--steel-100); font-family:var(--font-body); font-size:.95rem;
}
.field input:focus, .field textarea:focus, .field select:focus{ border-color:var(--blue-500); }
.field-row{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
@media (max-width:520px){ .field-row{ grid-template-columns:1fr; } }
.form-note{ font-size:.82rem; color:var(--steel-700); margin-top:14px; }

.map-frame{ border-radius:var(--radius-m); overflow:hidden; border:1px solid var(--line); }
.map-frame iframe{ width:100%; height:320px; border:0; filter:grayscale(.3) invert(.92) contrast(.85); }

.wa-float{
  position:fixed; right:20px; bottom:20px; z-index:90;
  width:56px; height:56px; border-radius:50%;
  background:#25D366; color:#fff;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 10px 24px -6px rgba(0,0,0,.5);
}
.wa-float:hover{ color:#fff; transform:translateY(-2px); }

.timeline{ position:relative; padding-left:28px; }
.timeline::before{ content:''; position:absolute; left:6px; top:6px; bottom:6px; width:2px; background:var(--line); }
.timeline-item{ position:relative; padding-bottom:32px; }
.timeline-item:last-child{ padding-bottom:0; }
.timeline-item::before{
  content:''; position:absolute; left:-28px; top:4px; width:12px; height:12px; border-radius:50%;
  background:var(--blue-500); border:3px solid var(--bg-0); box-shadow:0 0 0 1px var(--line);
}
.timeline-item h3{ font-size:1rem; margin-bottom:.2em; }
.timeline-item span{ font-size:.8rem; color:var(--blue-300); font-family:var(--font-head); }
