:root{
  --ink: #14232B;
  --steel: #3D5A66;
  --steel-text: #5B7078;
  --aqua: #1B8A9E;
  --aqua-deep: #146E7E;
  --mist: #EAF4F5;
  --paper: #F7FAFA;
  --card: #FFFFFF;
  --line: #D7E5E7;
  --gold: #C9971F;
  --alert: #B5432E;
  --radius: 4px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
}
@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
a{ color: inherit; }
img{ max-width:100%; display:block; }

.wrap{ max-width: 1120px; margin: 0 auto; padding: 0 24px; }

h1,h2,h3{ font-family:'Manrope', sans-serif; margin:0; letter-spacing: -0.01em; }

/* ===== Nav ===== */
.site-nav{
  position: sticky; top:0; z-index: 100;
  background: rgba(247,250,250,0.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.nav-inner{
  max-width: 1120px; margin:0 auto; padding: 16px 24px;
  display:flex; align-items:center; justify-content: space-between;
}
.nav-logo{
  display:inline-flex; align-items:center; gap:10px;
  font-family:'Manrope', sans-serif; font-weight:800; font-size: 19px; text-decoration:none; color: var(--ink);
}
.nav-logo-mark{
  width: 30px; height:30px; border-radius:6px; background: var(--ink);
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.nav-logo-mark svg{ width:14px; height:14px; }
.nav-links{ display:flex; align-items:center; gap: 28px; }
.nav-links a{
  text-decoration:none; color: var(--steel-text); font-size: 13.5px; font-weight:500;
  transition: color 0.15s ease;
}
.nav-links a:hover{ color: var(--ink); }
.nav-cta{
  background: var(--aqua); color: #fff !important; padding: 10px 20px; border-radius: 3px; font-weight:600;
}
.nav-cta:hover{ background: var(--aqua-deep) !important; }
.nav-toggle{ display:none; background:none; border:none; color:var(--ink); font-size:22px; cursor:pointer; }

@media (max-width: 860px){
  .nav-links{
    position: absolute; top:100%; left:0; right:0; background: var(--paper);
    flex-direction: column; align-items: flex-start; gap: 0; border-bottom: 1px solid var(--line);
    max-height:0; overflow:hidden; transition: max-height 0.25s ease;
  }
  .nav-links.open{ max-height: 420px; }
  .nav-links a{ width:100%; padding: 16px 24px; border-bottom: 1px solid var(--line); box-sizing:border-box; }
  .nav-cta{ margin: 14px 24px; text-align:center; }
  .nav-toggle{ display:block; }
}

/* ===== Hero ===== */
.hero{
  padding: clamp(60px,8vw,90px) 24px clamp(50px,7vw,70px);
  border-bottom: 1px solid var(--line);
}
.hero-inner{ max-width: 1120px; margin:0 auto; display:grid; grid-template-columns: 1.15fr 0.85fr; gap: 60px; align-items:center; }
@media (max-width: 900px){ .hero-inner{ grid-template-columns:1fr; } }
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-family:'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--aqua-deep); background: var(--mist); padding: 6px 12px; border-radius: 20px; margin-bottom: 20px;
}
.eyebrow .dot{ width:6px; height:6px; background: var(--aqua); border-radius:50%; }
.hero h1{ font-size: clamp(32px, 4.6vw, 50px); line-height: 1.08; color: var(--ink); }
.hero h1 span{ color: var(--aqua); }
.hero-sub{ color: var(--steel-text); font-size: 15.5px; line-height: 1.65; margin: 20px 0 30px; max-width: 52ch; }
.hero-actions{ display:flex; gap: 14px; flex-wrap: wrap; }
.btn{
  display:inline-flex; align-items:center; gap:8px;
  font-size: 14px; font-weight:600; padding: 13px 24px; border-radius: 3px; text-decoration:none; cursor:pointer;
  border: 1px solid transparent; transition: all 0.15s ease;
}
.btn-primary{ background: var(--aqua); color:#fff; }
.btn-primary:hover{ background: var(--aqua-deep); }
.btn-ghost{ border-color: var(--line); color: var(--ink); background: var(--card); }
.btn-ghost:hover{ border-color: var(--steel); }

.hero-badges{ display:flex; gap: 22px; margin-top: 34px; flex-wrap: wrap; }
.hero-badges div{ font-family:'IBM Plex Mono', monospace; font-size: 11px; color: var(--steel-text); }
.hero-badges b{ display:block; font-family:'Manrope', sans-serif; font-size: 20px; color: var(--ink); font-weight:800; }

/* ===== Gauge (signature element) ===== */
.gauge-card{
  background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 32px;
  text-align:center; box-shadow: 0 20px 50px -30px rgba(20,35,43,0.25);
}
.gauge{ width: 190px; height: 110px; margin: 0 auto; }
.gauge-track{ fill:none; stroke: var(--mist); stroke-width: 14; }
.gauge-fill{ fill:none; stroke: var(--aqua); stroke-width: 14; stroke-linecap: round; transition: stroke-dasharray 1s ease; }
.gauge-num{ font-family:'Manrope', sans-serif; font-weight:800; font-size: 34px; fill: var(--ink); }
.gauge-label{ font-family:'IBM Plex Mono', monospace; font-size: 10px; fill: var(--steel-text); letter-spacing:0.05em; }
.gauge-caption{ margin-top: 10px; font-family:'IBM Plex Mono', monospace; font-size: 11.5px; color: var(--steel-text); }

/* ===== Section shell ===== */
section{ padding: 80px 0; border-bottom: 1px solid var(--line); }
.section-head{ max-width: 640px; margin: 0 0 44px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head h2{ font-size: clamp(28px,4vw,38px); color: var(--ink); }
.section-head p{ color: var(--steel-text); margin-top: 14px; line-height: 1.7; font-size: 14.5px; }

/* ===== Products grid ===== */
.products-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
@media (max-width: 860px){ .products-grid{ grid-template-columns:1fr; } }
.product-card{
  background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.product-card:hover{ transform: translateY(-4px); box-shadow: 0 20px 40px -28px rgba(20,35,43,0.3); }
.product-icon{
  width: 46px; height:46px; border-radius: 8px; background: var(--mist); color: var(--aqua-deep);
  display:flex; align-items:center; justify-content:center; margin-bottom: 18px;
}
.product-icon svg{ width:22px; height:22px; }
.product-card h3{ font-size: 18px; color: var(--ink); margin-bottom: 8px; }
.product-card p{ color: var(--steel-text); font-size: 13.5px; line-height: 1.6; margin: 0 0 14px; }
.product-spec{ font-family:'IBM Plex Mono', monospace; font-size: 11.5px; color: var(--aqua-deep); background: var(--mist); display:inline-block; padding: 4px 10px; border-radius: 20px; }

/* ===== Capacity stats ===== */
.stats-grid{ display:grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
@media (max-width: 860px){ .stats-grid{ grid-template-columns: repeat(2,1fr); } }
.stat-card{ background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 26px; text-align:center; }
.stat-card .n{ font-family:'Manrope', sans-serif; font-weight:800; font-size: 32px; color: var(--aqua-deep); }
.stat-card .l{ font-family:'IBM Plex Mono', monospace; font-size: 11px; color: var(--steel-text); text-transform:uppercase; letter-spacing:0.04em; margin-top: 6px; }

/* ===== Certifications ===== */
.cert-grid{ display:grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
@media (max-width: 860px){ .cert-grid{ grid-template-columns: repeat(2,1fr); } }
.cert-badge{
  border: 1px solid var(--line); border-radius: 6px; padding: 22px; text-align:center; background: var(--card);
}
.cert-badge svg{ width:30px; height:30px; color: var(--gold); margin: 0 auto 12px; }
.cert-badge .name{ font-family:'Manrope', sans-serif; font-weight:700; font-size: 14px; color: var(--ink); }
.cert-badge .desc{ font-size: 12px; color: var(--steel-text); margin-top: 4px; }

/* ===== Coverage ===== */
.coverage-grid{ display:grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items:start; }
@media (max-width: 860px){ .coverage-grid{ grid-template-columns:1fr; } }
.zone-list{ list-style:none; margin:0; padding:0; }
.zone-list li{
  display:flex; justify-content:space-between; align-items:center; padding: 14px 0; border-bottom: 1px dashed var(--line);
  font-size: 14px;
}
.zone-list li span:last-child{ font-family:'IBM Plex Mono', monospace; font-size: 11.5px; color: var(--aqua-deep); background: var(--mist); padding: 3px 10px; border-radius: 20px; }
.map-block{
  aspect-ratio: 4/3; border-radius:6px; background: var(--mist); border: 1px solid var(--line);
  display:flex; align-items:center; justify-content:center;
}
.map-block svg{ width: 60px; height:60px; color: var(--aqua); opacity:0.5; }

/* ===== Rate card table ===== */
.rate-table{ width:100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); border-radius: 6px; overflow:hidden; }
.rate-table th{ background: var(--ink); color: #fff; text-align:left; padding: 14px 18px; font-size: 12.5px; font-weight:600; text-transform:uppercase; letter-spacing:0.04em; }
.rate-table td{ padding: 16px 18px; border-bottom: 1px solid var(--line); font-size: 14px; }
.rate-table tr:last-child td{ border-bottom:none; }
.rate-table tr:nth-child(even) td{ background: var(--mist); }
.rate-table td.price{ font-family:'IBM Plex Mono', monospace; color: var(--aqua-deep); font-weight:600; text-align:right; }
.rate-note{ font-size: 12.5px; color: var(--steel-text); margin-top: 14px; font-family:'IBM Plex Mono', monospace; }

/* ===== Testimonials ===== */
.testi-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
@media (max-width: 860px){ .testi-grid{ grid-template-columns:1fr; } }
.testi{ background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 26px; }
.testi p{ color: var(--ink); font-size: 14px; line-height: 1.7; font-style: italic; margin:0; }
.testi .who{ margin-top: 16px; font-family:'IBM Plex Mono', monospace; font-size: 11px; color: var(--steel-text); }
.testi .who b{ color: var(--ink); font-style:normal; }

/* ===== Quote form ===== */
#quote{ background: var(--ink); color: var(--mist); border-bottom:none; }
#quote .section-head h2{ color:#fff; }
#quote .section-head p{ color: rgba(234,244,245,0.7); }
.quote-grid{ display:grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items:start; }
@media (max-width: 860px){ .quote-grid{ grid-template-columns:1fr; } }
.form-row{ display:grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
@media (max-width: 500px){ .form-row{ grid-template-columns: 1fr; } }
.field label{ display:block; font-family:'IBM Plex Mono', monospace; font-size: 10.5px; text-transform:uppercase; letter-spacing:0.05em; color: rgba(234,244,245,0.6); margin-bottom: 8px; }
.field input, .field select, .field textarea{
  width:100%; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.16); color: #fff;
  padding: 12px 14px; border-radius: 3px; font-family:'Inter', sans-serif; font-size: 14px; outline:none;
}
.field input:focus, .field select:focus, .field textarea:focus{ border-color: var(--aqua); }

/* Light-theme override for the Contact page form (base .field styles above are tuned for the dark #quote section) */
.contact-wrap .field label{ color: var(--steel-text); }
.contact-wrap .field input, .contact-wrap .field select, .contact-wrap .field textarea{ background: var(--card); border: 1px solid var(--line); color: var(--ink); }
.contact-wrap .field input:focus, .contact-wrap .field select:focus, .contact-wrap .field textarea:focus{ border-color: var(--aqua); }
.quote-form .btn{ width:100%; justify-content:center; margin-top: 8px; border:none; }
.quote-note{ color: rgba(234,244,245,0.55); font-size: 12px; margin-top: 14px; text-align:center; font-family:'IBM Plex Mono', monospace; }
.quote-points{ list-style:none; padding:0; margin: 0; }
.quote-points li{ display:flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.1); font-size: 14px; color: rgba(234,244,245,0.85); }
.quote-points svg{ width:18px; height:18px; color: var(--aqua); flex-shrink:0; margin-top:2px; }

/* ===== Contact info blocks (contact page) ===== */
.contact-wrap{ max-width: 980px; margin: 0 auto; padding: 70px 24px 90px; display:grid; grid-template-columns: 1fr 1fr; gap: 60px; }
@media (max-width: 820px){ .contact-wrap{ grid-template-columns:1fr; } }
.contact-info .item{ display:flex; gap:12px; align-items:flex-start; margin-bottom: 22px; }
.contact-info svg{ width:18px; height:18px; color: var(--aqua-deep); flex-shrink:0; margin-top:3px; }
.contact-info .item div{ font-size: 14.5px; color: var(--steel-text); line-height:1.6; }
.contact-info .item .label{ font-family:'IBM Plex Mono', monospace; font-size: 10.5px; text-transform:uppercase; letter-spacing:0.06em; color: var(--ink); display:block; margin-bottom:4px; }
.contact-quick{ display:flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }

/* ===== Page hero (inner pages) ===== */
.page-hero{ padding: clamp(60px,8vw,90px) 24px 50px; border-bottom: 1px solid var(--line); text-align:center; }
.page-hero h1{ font-size: clamp(30px,5vw,46px); color: var(--ink); }
.page-hero p{ max-width: 52ch; margin: 16px auto 0; color: var(--steel-text); font-size: 15px; line-height: 1.6; }

/* ===== Prose (legal pages) ===== */
.prose{ max-width: 700px; margin: 0 auto; padding: 70px 24px 90px; }
.prose h2{ font-size: 20px; color: var(--ink); margin: 32px 0 10px; }
.prose h2:first-child{ margin-top:0; }
.prose p, .prose li{ color: var(--steel-text); font-size: 14.5px; line-height: 1.8; }
.prose p + p{ margin-top: 12px; }
.prose ul{ padding-left: 20px; }
.prose .updated{ font-family:'IBM Plex Mono', monospace; font-size: 11.5px; color: var(--aqua-deep); margin-bottom: 26px; display:block; }
.prose .muted-note{ margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--steel-text); font-size: 12.5px; font-style: italic; }

/* ===== FAQ page ===== */
.faq-wrap{ max-width: 720px; margin: 0 auto; padding: 70px 24px 90px; }
.faq-item{ border-bottom: 1px solid var(--line); }
.faq-item:first-child{ border-top: 1px solid var(--line); }
.faq-q{
  width:100%; text-align:left; background:none; border:none; cursor:pointer; margin:0;
  display:flex; align-items:center; justify-content:space-between; gap:16px;
  padding: 20px 2px; font-family:'Manrope', sans-serif; font-weight:700; font-size: 16px; color: var(--ink);
}
.faq-q .icon{ font-family:'IBM Plex Mono', monospace; font-size:18px; color: var(--aqua); transition: transform 0.2s ease; flex-shrink:0; }
.faq-item.open .faq-q .icon{ transform: rotate(45deg); }
.faq-a{ max-height:0; overflow:hidden; transition: max-height 0.25s ease; }
.faq-item.open .faq-a{ max-height: 300px; }
.faq-a-inner{ padding: 0 2px 20px; color: var(--steel-text); font-size: 14px; line-height: 1.75; max-width: 62ch; }

/* ===== Sitemap page ===== */
.link-list{ max-width: 640px; margin: 0 auto; padding: 70px 24px 90px; list-style:none; }
.link-list li{ border-bottom: 1px solid var(--line); }
.link-list li:first-child{ border-top: 1px solid var(--line); }
.link-row{ display:flex; align-items:center; justify-content:space-between; gap:16px; padding: 18px 2px; text-decoration:none; color: var(--ink); transition: color 0.15s ease; }
.link-row:hover{ color: var(--aqua-deep); }
.link-row .path{ font-family:'IBM Plex Mono', monospace; font-size: 12px; color: var(--steel-text); }

/* ===== 404 ===== */
.error-page{ min-height: 60vh; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; padding: 40px 24px; }
.error-page .code{ font-family:'Manrope', sans-serif; font-weight:800; font-size: 90px; color: var(--aqua); line-height:1; }
.error-page p{ color: var(--steel-text); margin: 14px 0 26px; font-size: 15px; }

/* ===== Footer ===== */
footer{ background: var(--ink); color: rgba(234,244,245,0.7); padding: 46px 0 30px; }
.footer-top{ display:flex; justify-content:space-between; align-items:flex-start; flex-wrap:wrap; gap: 30px; margin-bottom: 30px; }
.footer-brand{ font-family:'Manrope', sans-serif; font-weight:800; font-size: 19px; color: #fff; }
.footer-brand span{ color: var(--aqua); }
.footer-links{ display:flex; gap: 22px; flex-wrap:wrap; }
.footer-links a{ font-size: 13px; text-decoration:none; color: rgba(234,244,245,0.7); }
.footer-links a:hover{ color: #fff; }
.footer-bottom{
  border-top: 1px solid rgba(234,244,245,0.15); padding-top: 20px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px;
  font-family:'IBM Plex Mono', monospace; font-size: 10.5px; color: rgba(234,244,245,0.55);
}
.footer-bottom a{ color: var(--aqua); text-decoration:none; }

.to-top{
  position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--aqua); color: #fff; border: 1px solid var(--aqua-deep);
  display:flex; align-items:center; justify-content:center; cursor:pointer;
  box-shadow: 0 10px 24px -12px rgba(20,35,43,0.4);
  opacity:0; transform: translateY(10px); pointer-events:none;
  transition: opacity 0.2s ease, transform 0.2s ease; z-index: 90;
}
.to-top.show{ opacity:1; transform: translateY(0); pointer-events:auto; }
.to-top svg{ width:18px; height:18px; }
