/* ====== Design tokens ====== */
:root {
  --bg: #0b1220;
  --bg-2: #0f1729;
  --surface: #ffffff;
  --surface-alt: #f4f6fb;
  --ink: #131a2a;
  --ink-soft: #475069;
  --line: #e4e8f1;
  --line-dark: #1d2942;

  --fire-1: #ffd23f;
  --fire-2: #ff7a18;
  --fire-3: #e8202a;
  --water-1: #7fd4ff;
  --water-2: #1f8fff;

  --grad-fire: linear-gradient(95deg, #ffb43f 0%, #ff6a1f 45%, #e8202a 100%);
  --grad-water: linear-gradient(95deg, #7fd4ff 0%, #1f8fff 100%);

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(11, 18, 32, 0.08);
  --shadow-lg: 0 24px 60px rgba(11, 18, 32, 0.18);

  --maxw: 1140px;
  --font-display: "Saira Condensed", "Arial Narrow", sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

/* ====== Reset / base ====== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { line-height: 1.1; margin: 0; }

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

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ====== Gradient text helpers ====== */
.grad-fire, .grad-water {
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.grad-fire { background-image: var(--grad-fire); }
.grad-water { background-image: var(--grad-water); }

/* ====== Buttons ====== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 700; font-size: 16px;
  padding: 12px 22px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--grad-fire); color: #fff;
  box-shadow: 0 8px 20px rgba(232, 32, 42, 0.28);
}
.btn-primary:hover { box-shadow: 0 12px 28px rgba(232, 32, 42, 0.4); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.6); }
.btn-lg { padding: 15px 30px; font-size: 17px; }
.btn-block { width: 100%; }

/* ====== Header ====== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11, 18, 32, 0.85);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line-dark);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 40px; height: 40px; }
.wordmark { display: flex; flex-direction: column; line-height: 1; }
.wordmark-1 {
  font-family: var(--font-display); font-weight: 800; font-style: italic;
  font-size: 26px; letter-spacing: .5px; text-transform: uppercase;
  background: var(--grad-fire); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.wordmark-2 {
  font-family: var(--font-display); font-weight: 800; font-style: italic;
  font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase; margin-top: 1px;
  background: var(--grad-water); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

.main-nav { display: flex; align-items: center; }
.nav-list { display: flex; align-items: center; gap: 26px; }
.nav-list a { color: #cdd6ea; font-weight: 600; font-size: 15px; transition: color .15s ease; }
.nav-list a:hover { color: #fff; }
.nav-cta { color: #fff !important; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; flex-direction: column; gap: 5px; }
.nav-toggle span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ====== Hero ====== */
.hero { position: relative; background: var(--bg); color: #fff; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 60% at 85% 0%, rgba(255, 122, 24, .28), transparent 60%),
    radial-gradient(55% 55% at 5% 100%, rgba(31, 143, 255, .26), transparent 60%),
    linear-gradient(180deg, #0b1220 0%, #0d1526 100%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(70% 70% at 50% 30%, #000 30%, transparent 100%);
}
.hero-inner { position: relative; padding: 90px 24px 100px; max-width: 880px; }
.eyebrow {
  font-family: var(--font-display); font-weight: 800; font-style: italic;
  text-transform: uppercase; letter-spacing: 2px; font-size: 15px; margin: 0 0 14px;
  color: var(--fire-2);
}
.hero-title { font-size: clamp(2.4rem, 6vw, 4.1rem); font-weight: 800; letter-spacing: -1px; }
.hero-sub { font-size: clamp(1.05rem, 2vw, 1.25rem); color: #c2cbe0; margin: 22px 0 32px; max-width: 660px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 18px 28px; margin-top: 40px; color: #9fb0cf; font-weight: 600; font-size: 15px; }
.hero-badges li { display: flex; align-items: center; gap: 9px; }
.hero-badges .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--grad-fire); box-shadow: 0 0 0 4px rgba(255,122,24,.15); }

/* ====== Stats ====== */
.stats { background: var(--bg-2); color: #fff; border-bottom: 1px solid var(--line-dark); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 40px 24px; }
.stat { text-align: center; }
.stat-num { font-family: var(--font-display); font-weight: 800; font-style: italic; font-size: 2.6rem; display: block; line-height: 1; }
.stat-label { color: #9fb0cf; font-size: 14px; display: block; margin-top: 8px; }

/* ====== Sections ====== */
.section { padding: 88px 0; }
.section-alt { background: var(--surface-alt); }
.section-dark { background: var(--bg); color: #fff; }
.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section-head-left { text-align: left; margin-left: 0; }
.section-dark .eyebrow { color: var(--fire-2); }
.section-title { font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 800; letter-spacing: -.5px; }
.section-lead { color: var(--ink-soft); font-size: 1.1rem; margin-top: 16px; }
.section-dark .section-lead { color: #b7c2db; }

/* ====== Service cards ====== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #d6deec; }
.card-featured { border-top: 4px solid transparent; border-image: var(--grad-fire) 1; }
.card-icon {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(255,122,24,.14), rgba(31,143,255,.14));
  color: var(--fire-3); margin-bottom: 20px;
}
.card-icon svg { width: 28px; height: 28px; }
.card h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 10px; }
.card p { color: var(--ink-soft); margin: 0 0 16px; }
.card-list li { position: relative; padding-left: 24px; margin: 7px 0; color: var(--ink); font-size: 15px; font-weight: 600; }
.card-list li::before { content: "✓"; position: absolute; left: 0; color: var(--fire-2); font-weight: 800; }
.card-more { display: inline-block; margin-top: 16px; color: var(--water-2); font-weight: 800; font-size: 15px; }
.card-more:hover { color: var(--fire-2); }
a.tag:hover { transform: translateY(-2px); }
a.tag-primary:hover { box-shadow: 0 8px 18px rgba(232,32,42,.3); }

/* ====== Systems grid ====== */
.systems-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.systems-grid li {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 18px 20px; font-weight: 700; font-size: 1.02rem;
  display: flex; align-items: center; gap: 12px; transition: border-color .2s, transform .2s;
}
.systems-grid li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--grad-fire); flex: none; }
.systems-grid li:hover { transform: translateY(-2px); border-color: var(--fire-2); }

/* ====== Features ====== */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
}
.feature-icon { font-size: 28px; margin-bottom: 12px; }
.feature h3 { font-size: 1.25rem; font-weight: 800; margin-bottom: 6px; }
.feature p { color: var(--ink-soft); margin: 0; font-size: 15.5px; }

/* ====== Coverage ====== */
.coverage-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.coverage-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 28px; }
.tag {
  padding: 8px 16px; border-radius: 999px; font-weight: 700; font-size: 14px;
  background: var(--surface); border: 1px solid var(--line); color: var(--ink-soft);
}
.tag-primary { background: var(--grad-fire); color: #fff; border-color: transparent; }
.coverage-card {
  border-radius: var(--radius); overflow: hidden; min-height: 320px;
  background: linear-gradient(135deg, #0b1220, #15233f);
  display: grid; place-items: center; box-shadow: var(--shadow-lg);
  position: relative;
}
.coverage-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(50% 50% at 70% 25%, rgba(255,122,24,.35), transparent 60%),
              radial-gradient(50% 50% at 25% 85%, rgba(31,143,255,.35), transparent 60%);
}
.coverage-visual { position: relative; text-align: center; color: #fff; }
.cv-flame { font-size: 64px; display: block; margin-bottom: 14px; filter: drop-shadow(0 6px 16px rgba(255,122,24,.5)); }
.cv-text { font-family: var(--font-display); font-weight: 800; font-style: italic; font-size: 1.8rem; line-height: 1.15; }

/* ====== About ====== */
.about-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: start; }
.about-body p { color: var(--ink-soft); margin: 0 0 18px; font-size: 1.08rem; }
.about-body p:last-child { margin-bottom: 0; }

/* ====== Quote ====== */
.quote-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.quote-points { margin: 22px 0; }
.quote-points li { position: relative; padding-left: 28px; margin: 10px 0; color: #d4ddef; font-weight: 600; }
.quote-points li::before { content: "✓"; position: absolute; left: 0; color: var(--fire-2); font-weight: 800; font-size: 1.1rem; }
.quote-direct { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line-dark); }
.quote-direct p { margin: 0 0 4px; color: #9fb0cf; }
.quote-direct a { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; color: #fff; font-style: italic; margin-top: 4px; }
.quote-direct a:hover { color: var(--fire-2); }

.quote-form {
  background: var(--surface); border-radius: var(--radius); padding: 32px;
  box-shadow: var(--shadow-lg); color: var(--ink);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; display: flex; flex-direction: column; }
.field label { font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.req { color: var(--fire-3); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 16px; padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff; color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--fire-2); box-shadow: 0 0 0 3px rgba(255,122,24,.18);
}
.field textarea { resize: vertical; }
.hp-field { position: absolute; left: -9999px; }
.form-note { font-size: 13px; color: var(--ink-soft); text-align: center; margin: 14px 0 0; }

/* ====== Contact ====== */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.contact-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; text-align: center; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s;
}
a.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.contact-icon { font-size: 32px; margin-bottom: 12px; }
.contact-card h3 { font-size: 1.2rem; margin-bottom: 6px; }
.contact-card p { color: var(--ink-soft); margin: 0; word-break: break-word; }

/* ====== Footer ====== */
.site-footer { background: var(--bg); color: #cdd6ea; padding: 48px 0 36px; border-top: 1px solid var(--line-dark); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-name { display: block; font-family: var(--font-display); font-weight: 800; font-style: italic; font-size: 1.25rem; color: #fff; }
.footer-tag { font-size: 13px; color: #8195b6; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-nav a { font-weight: 600; font-size: 15px; }
.footer-nav a:hover { color: #fff; }
.footer-copy { width: 100%; text-align: center; font-size: 13px; color: #6f82a4; margin: 26px 0 0; padding-top: 24px; border-top: 1px solid var(--line-dark); }

/* ====== Responsive ====== */
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-list {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(11,18,32,.98); border-bottom: 1px solid var(--line-dark);
    padding: 8px 24px 20px; transform: translateY(-130%); transition: transform .3s ease; visibility: hidden;
  }
  .nav-list.open { transform: translateY(0); visibility: visible; }
  .nav-list li { width: 100%; }
  .nav-list a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line-dark); }
  .nav-cta { margin-top: 12px; }
  .nav-list .nav-cta { display: inline-flex; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .cards { grid-template-columns: 1fr; }
  .systems-grid { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: 1fr; }
  .coverage-inner { grid-template-columns: 1fr; }
  .about-inner { grid-template-columns: 1fr; }
  .quote-inner { grid-template-columns: 1fr; gap: 36px; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .section { padding: 60px 0; }
  .hero-inner { padding: 64px 24px 72px; }
  .field-row { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* ====== Interior / SEO pages ====== */
.page-hero { position: relative; background: var(--bg); color: #fff; overflow: hidden; }
.page-hero .hero-bg { position: absolute; inset: 0;
  background: radial-gradient(60% 70% at 88% 0%, rgba(255,122,24,.26), transparent 60%),
              radial-gradient(55% 60% at 0% 100%, rgba(31,143,255,.24), transparent 60%),
              linear-gradient(180deg, #0b1220 0%, #0d1526 100%); }
.page-hero-inner { position: relative; padding: 64px 24px 60px; max-width: 820px; }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; letter-spacing: -.5px; }
.page-hero .lead { color: #c2cbe0; font-size: clamp(1.05rem, 2vw, 1.2rem); margin: 18px 0 28px; }

.breadcrumb { font-size: 14px; color: #9fb0cf; margin-bottom: 18px; }
.breadcrumb a { color: #9fb0cf; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: var(--fire-2); }

/* Long-form content */
.prose { max-width: 800px; margin: 0 auto; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; letter-spacing: -.4px; margin: 40px 0 14px; }
.prose h3 { font-size: 1.25rem; font-weight: 800; margin: 28px 0 8px; }
.prose p { color: var(--ink-soft); margin: 0 0 16px; font-size: 1.06rem; }
.prose ul.bullets { margin: 0 0 18px; }
.prose ul.bullets li { position: relative; padding-left: 26px; margin: 9px 0; color: var(--ink); font-weight: 500; }
.prose ul.bullets li::before { content: "✓"; position: absolute; left: 0; color: var(--fire-2); font-weight: 800; }
.prose strong { color: var(--ink); }
.prose a.inline { color: var(--water-2); font-weight: 700; border-bottom: 1px solid rgba(31,143,255,.35); }
.prose a.inline:hover { border-bottom-color: var(--water-2); }

/* FAQ */
.faq { max-width: 800px; margin: 0 auto; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 20px 22px; margin: 12px 0; background: var(--surface); }
.faq-item h3 { font-size: 1.12rem; font-weight: 800; margin: 0 0 8px; }
.faq-item p { color: var(--ink-soft); margin: 0; }

/* Inline CTA band */
.cta-band { background: var(--bg); color: #fff; text-align: center; }
.cta-band .container { padding-top: 64px; padding-bottom: 64px; }
.cta-band h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); font-weight: 800; }
.cta-band p { color: #b7c2db; max-width: 560px; margin: 14px auto 26px; font-size: 1.08rem; }

/* Related links */
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 900px; margin: 0 auto; }
.related-card { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.related-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.related-card h3 { font-size: 1.1rem; font-weight: 800; margin: 0 0 6px; }
.related-card p { color: var(--ink-soft); font-size: 14.5px; margin: 0; }
.related-card .arrow { color: var(--fire-2); font-weight: 800; }

/* ====== Expanded footer ====== */
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 8px; }
.footer-col h4 { font-size: 14px; text-transform: uppercase; letter-spacing: 1px; color: #fff; margin: 0 0 14px; font-weight: 800; }
.footer-col a { display: block; color: #9fb0cf; font-size: 15px; padding: 5px 0; }
.footer-col a:hover { color: #fff; }
.footer-about .footer-tag { display: block; margin: 14px 0; color: #8195b6; font-size: 14.5px; line-height: 1.6; max-width: 320px; }
.footer-about .footer-contact a { display: block; color: #cdd6ea; font-weight: 600; padding: 3px 0; }
.footer-about .footer-contact a:hover { color: var(--fire-2); }

@media (max-width: 900px) {
  .related-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
  .page-hero-inner { padding: 48px 24px 44px; }
}
