/* ==========================================================================
   Northwind Networks — styles.css
   1. Tokens  2. Base  3. Layout  4. Header  5. Hero  6. Sections
   7. Assessment/form  8. Footer  9. Responsive
   Re-theme the whole site by editing the :root variables below.
   ========================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
  --navy-900:#081729;
  --navy-800:#0a1f38;
  --navy-700:#102a43;
  --navy-600:#173a5c;

  --blue:#2e6db4;
  --blue-dark:#245a97;
  --blue-light:#4f9cf9;
  --blue-tint:#eef4fb;
  --sky:#8fb8e6;

  --alert:#f97066;          /* the "goes down" red */

  --ink:#0b1b2e;
  --body:#4a5a6c;
  --muted:#5a6a7c;
  --faint:#7a8aa0;

  --bg:#ffffff;
  --bg-alt:#f5f7fa;
  --line:#e4e9f0;

  --sans:'Libre Franklin', system-ui, -apple-system, sans-serif;
  --maxw:1180px;
  --radius:14px;
}

/* ---------- 2. Base ---------- */
* { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; }
body {
  font-family:var(--sans); color:var(--ink); background:var(--bg);
  line-height:1.5; -webkit-font-smoothing:antialiased;
}
a { color:var(--blue); text-decoration:none; }
a:hover { color:var(--blue-dark); }
button { font-family:inherit; cursor:pointer; }
input, textarea { font-family:inherit; }
img { display:block; max-width:100%; }
ul { list-style:none; }
::selection { background:var(--blue); color:#fff; }

/* ---------- 3. Layout helpers ---------- */
.container { max-width:var(--maxw); margin:0 auto; padding:0 24px; }
.section { padding:88px 24px; }
.grid { display:grid; gap:18px; }
.grid-3 { grid-template-columns:repeat(3,1fr); gap:20px; }
.grid-4 { grid-template-columns:repeat(4,1fr); }

.eyebrow {
  display:inline-block; font-size:12.5px; letter-spacing:.12em;
  text-transform:uppercase; font-weight:800; color:var(--blue);
}
.section-head { max-width:640px; margin-bottom:44px; }
.section-head h2 {
  font-size:40px; font-weight:800; letter-spacing:-.025em;
  margin:12px 0 14px; color:var(--ink); line-height:1.12;
}
.section-head p { font-size:17.5px; color:var(--body); line-height:1.6; }
.band { background:var(--bg-alt); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }

.pill {
  display:inline-block; font-size:12.5px; letter-spacing:.12em;
  text-transform:uppercase; font-weight:700; color:var(--sky);
  border:1px solid rgba(143,184,230,.35); padding:7px 14px; border-radius:100px;
}

/* Buttons */
.btn {
  display:inline-block; border:none; border-radius:9px; padding:13px 22px;
  font-weight:700; font-size:14.5px; text-align:center;
  transition:background .15s, color .15s, border-color .15s;
}
.btn-lg { padding:16px 28px; font-size:16px; }
.btn-block { display:block; width:100%; padding:16px; font-size:15.5px; font-weight:800; }
.btn-primary { background:var(--blue); color:#fff; box-shadow:0 1px 2px rgba(16,42,67,.18); }
.btn-primary:hover { background:var(--blue-dark); color:#fff; }
.btn-ghost { background:rgba(255,255,255,.08); color:#fff; border:1px solid rgba(255,255,255,.28); }
.btn-ghost:hover { background:rgba(255,255,255,.16); color:#fff; }
.btn-row { display:flex; gap:14px; flex-wrap:wrap; margin-top:34px; }

/* ---------- 4. Header ---------- */
.site-header {
  position:sticky; top:0; z-index:50;
  background:rgba(255,255,255,.95); backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
.header-inner { display:flex; align-items:center; gap:16px; height:100px; }
.brand { margin-right:auto; }
.brand-logo { height:70px; width:auto; }
.main-nav { display:flex; align-items:center; gap:4px; }
.main-nav a {
  padding:9px 13px; font-size:14.5px; font-weight:600;
  color:var(--body); border-radius:7px;
}
.main-nav a:hover { background:#eef2f7; color:var(--ink); }
.main-nav .nav-phone { font-weight:700; color:var(--ink); }
.header-cta { white-space:nowrap; padding:12px 20px; }

.nav-toggle {
  display:none; flex-direction:column; justify-content:center; align-items:center;
  gap:4px; width:44px; height:44px; background:none;
  border:1px solid var(--line); border-radius:9px;
}
.nav-toggle span { width:18px; height:2px; background:var(--ink); border-radius:2px; }
.nav-toggle:hover { background:#eef2f7; }

.mobile-nav {
  display:none; flex-direction:column; gap:2px;
  padding:10px 16px 16px; background:#fff; border-top:1px solid var(--line);
}
.mobile-nav.is-open { display:flex; }
.mobile-nav a { padding:13px 14px; border-radius:9px; font-size:15.5px; font-weight:600; color:#3a4a5c; }
.mobile-nav a:hover { background:#eef2f7; }
.mobile-nav .is-phone { color:var(--blue); font-weight:700; }

/* ---------- 5. Hero ---------- */
.hero { background:linear-gradient(160deg,#0a1f38 0%,#102a43 55%,#173a5c 100%); color:#fff; }
.hero-grid {
  padding-top:88px; padding-bottom:96px;
  display:grid; grid-template-columns:1.05fr .95fr; gap:56px; align-items:center;
}
.hero h1 { font-size:52px; font-weight:800; line-height:1.08; letter-spacing:-.025em; margin:24px 0 18px; }
.hero-sub { font-size:22px; font-weight:600; color:var(--sky); margin-bottom:16px; }
.hero-lede { font-size:17.5px; line-height:1.6; color:#c3d2e4; max-width:520px; }

.outage-card {
  background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.14);
  border-radius:16px; padding:34px 32px;
}
.outage-head { display:flex; align-items:center; gap:11px; margin-bottom:8px; }
.outage-head span:last-child {
  font-size:12.5px; letter-spacing:.1em; text-transform:uppercase;
  font-weight:800; color:var(--alert);
}
.outage-head .dot { width:10px; height:10px; border-radius:100px; background:var(--alert); flex-shrink:0; }
.outage-title { font-size:19px; font-weight:700; color:#fff; margin-bottom:22px; }
.outage-list li {
  display:flex; align-items:center; gap:13px; padding:11px 0;
  border-bottom:1px solid rgba(255,255,255,.08);
  font-size:16px; color:#dbe6f2; font-weight:500;
}
.outage-list .x {
  width:22px; height:22px; border-radius:6px; flex-shrink:0;
  background:rgba(249,112,102,.16); color:var(--alert);
  display:flex; align-items:center; justify-content:center;
  font-size:13px; font-weight:800;
}

/* Value strip */
.strip { background:var(--ink); border-top:1px solid rgba(255,255,255,.08); }
.strip-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; padding:26px 24px; }
.strip-item { display:flex; align-items:center; gap:12px; justify-content:center; }
.strip-item i { width:8px; height:8px; background:var(--blue-light); transform:rotate(45deg); border-radius:1px; flex-shrink:0; }
.strip-item span { font-size:15px; font-weight:600; color:#c3d2e4; }

/* ---------- 6. Cards ---------- */
.svc-card {
  background:#fff; border:1px solid var(--line); border-radius:var(--radius);
  padding:26px 24px; box-shadow:0 1px 3px rgba(16,42,67,.04);
  transition:border-color .15s, box-shadow .15s;
}
.svc-card:hover { border-color:#c3d4e6; box-shadow:0 8px 24px rgba(16,42,67,.08); }
.svc-card .tick {
  width:38px; height:38px; border-radius:9px; background:var(--blue-tint);
  color:var(--blue); display:flex; align-items:center; justify-content:center;
  font-size:17px; font-weight:800; margin-bottom:16px;
}
.svc-card h3 { font-size:16.5px; font-weight:700; color:var(--ink); line-height:1.35; margin-bottom:8px; }
.svc-card p { font-size:14px; color:var(--muted); line-height:1.6; }

.why-card { background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:32px 28px; }
.why-card .num { font-size:13px; font-weight:800; color:var(--blue); letter-spacing:.1em; margin-bottom:14px; }
.why-card h3 { font-size:19px; font-weight:700; color:var(--ink); margin-bottom:10px; }
.why-card p { font-size:15px; color:var(--muted); line-height:1.65; }

.steps { gap:28px; }
.step { border-left:2px solid var(--line); padding-left:24px; }
.step .num { font-size:13px; font-weight:800; color:var(--blue); letter-spacing:.1em; }
.step h3 { font-size:20px; font-weight:700; margin:14px 0 10px; color:var(--ink); }
.step p { font-size:15px; color:var(--muted); line-height:1.65; }

/* ---------- 7. Assessment + form ---------- */
.assessment { background:linear-gradient(160deg,#0a1f38,#173a5c); color:#fff; }
.assessment-grid { padding:80px 24px; display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:start; }
.assessment-copy h2 { font-size:42px; font-weight:800; letter-spacing:-.025em; margin:22px 0 16px; line-height:1.1; }
.assessment-copy > p { font-size:17.5px; color:#c3d2e4; line-height:1.65; max-width:460px; }
.contact-list { margin-top:32px; display:flex; flex-direction:column; gap:18px; }
.info-label {
  display:block; font-size:11.5px; letter-spacing:.1em; text-transform:uppercase;
  font-weight:800; color:#7f9ab8; margin-bottom:4px;
}
.info-item a, .info-item > span:last-child { font-size:17px; color:#fff; font-weight:600; }
.info-item a:hover { color:var(--sky); }

.form-card { background:#fff; border-radius:16px; padding:36px; box-shadow:0 20px 50px rgba(4,15,28,.35); }
.form-card h3 { font-size:21px; font-weight:800; color:var(--ink); margin-bottom:6px; }
.form-intro { font-size:14.5px; color:var(--muted); margin-bottom:22px; }
.field-grid { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.field { display:flex; flex-direction:column; gap:6px; font-size:13px; font-weight:700; color:#3a4a5c; }
.field-full { grid-column:1 / -1; }
.field input, .field textarea {
  border:1px solid #d8e0ea; border-radius:9px; padding:12px 13px;
  font-size:14.5px; color:var(--ink); outline:none; font-weight:400; resize:vertical;
}
.field input:focus, .field textarea:focus { border-color:var(--blue); }
#assessment-form .btn { margin-top:20px; }
.form-note { font-size:12.5px; color:var(--faint); text-align:center; margin-top:12px; }
.hp { display:none; }
.form-success { text-align:center; padding:44px 12px; }
.form-success .check {
  width:56px; height:56px; border-radius:100px; background:var(--blue-tint);
  color:var(--blue); display:flex; align-items:center; justify-content:center;
  margin:0 auto 18px; font-size:26px;
}
.form-success h3 { font-size:22px; font-weight:800; color:var(--ink); margin-bottom:8px; }
.form-success p { font-size:15px; color:var(--muted); line-height:1.6; }

/* ---------- 8. Footer ---------- */
.site-footer { background:var(--navy-900); color:#c3d2e4; }
.footer-grid { display:grid; grid-template-columns:1.5fr 1fr 1fr; gap:40px; padding:56px 24px 28px; }
.footer-logo { display:inline-block; background:#fff; padding:9px 13px; border-radius:10px; margin-bottom:16px; }
.footer-logo img { height:34px; width:auto; }
.footer-brand p { font-size:14px; line-height:1.6; color:#8296ac; max-width:320px; }
.footer-col h4 {
  font-size:11.5px; letter-spacing:.1em; text-transform:uppercase;
  font-weight:800; color:#6a7e96; margin-bottom:14px;
}
.footer-col a, .footer-plain { display:block; color:#b3c4d8; font-size:14px; margin-bottom:9px; }
.footer-col a:hover { color:#fff; }
.footer-plain { color:#8296ac; }
.footer-cta { color:var(--blue-light) !important; font-weight:700; }
.footer-bottom {
  border-top:1px solid rgba(255,255,255,.08); padding:22px 24px;
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px;
  font-size:13px; color:#6a7e96;
}

/* ---------- 9. Responsive ---------- */
@media (max-width:1040px) {
  .grid-4 { grid-template-columns:repeat(2,1fr); }
}
@media (max-width:900px) {
  .main-nav { display:none; }
  .nav-toggle { display:flex; }
  .hero-grid { grid-template-columns:1fr; gap:36px; padding-top:56px; padding-bottom:64px; }
  .hero h1 { font-size:40px; }
  .assessment-grid { grid-template-columns:1fr; gap:36px; }
  .section-head h2 { font-size:32px; }
  .assessment-copy h2 { font-size:34px; }
  .strip-grid { grid-template-columns:1fr; gap:2px; }
  .strip-item { justify-content:flex-start; padding:6px 0; }
  .footer-grid { grid-template-columns:1fr 1fr; }
}

/* Tablets / large phones */
@media (max-width:720px) {
  .header-inner { height:92px; gap:10px; }
  .brand-logo { height:64px; }
  .header-cta { padding:10px 14px; font-size:13.5px; }
  .grid-4, .grid-3 { grid-template-columns:1fr; }
  .section { padding:60px 20px; }
  .container { padding:0 20px; }
  .strip .strip-grid { padding:22px 20px; }
}

/* Phones */
@media (max-width:560px) {
  /* Header: logo + burger only — the CTA repeats in the hero right below */
  .header-inner { height:84px; gap:10px; }
  .brand-logo { height:56px; }
  .header-cta { display:none; }

  .hero-grid { padding-top:44px; padding-bottom:52px; gap:32px; }
  .hero h1 { font-size:31px; line-height:1.15; margin:18px 0 14px; }
  .hero-sub { font-size:19px; margin-bottom:12px; }
  .hero-lede { font-size:16px; }
  .pill { font-size:11px; padding:6px 12px; letter-spacing:.1em; }

  .outage-card { padding:26px 22px; border-radius:14px; }
  .outage-title { font-size:17.5px; margin-bottom:16px; }
  .outage-list li { font-size:15px; padding:10px 0; gap:11px; }

  .section { padding:52px 20px; }
  .section-head { margin-bottom:32px; }
  .section-head h2 { font-size:27px; }
  .section-head p { font-size:16px; }

  .svc-card { padding:22px 20px; }
  .why-card { padding:26px 22px; }
  .step { padding-left:18px; }
  .steps { gap:22px; }

  .assessment-grid { padding:56px 20px; gap:32px; }  .assessment-copy h2 { font-size:28px; margin:18px 0 14px; }
  .assessment-copy > p { font-size:16px; }
  .contact-list { margin-top:26px; gap:16px; }
  .info-item a, .info-item > span:last-child { font-size:16px; }

  .form-card { padding:24px 20px; border-radius:14px; }
  .field-grid { grid-template-columns:1fr; gap:12px; }
  /* 16px inputs stop iOS Safari from zooming on focus */
  .field input, .field textarea { font-size:16px; }

  .btn-row { gap:10px; margin-top:26px; }
  .btn-row .btn { width:100%; }
  .btn-lg { padding:15px 20px; font-size:15.5px; }

  .footer-grid { grid-template-columns:1fr; gap:26px; padding:44px 20px 24px; }
  .footer-bottom { padding:20px; flex-direction:column; gap:8px; }
}

/* Small phones */
@media (max-width:380px) {
  .hero h1 { font-size:27px; }
  .section-head h2 { font-size:24px; }
  .brand-logo { height:48px; }
}
