/* ==========================================================================
   Temporary Works Consulting & Design Ltd
   style.css  ·  TWC-CSS-004 Rev A
   "Nexus" design system — dark, bold, solutions-led construction SaaS look.
   Deep navy surfaces, safety-amber & electric-blue accents, pill buttons,
   soft elevated cards, glass sticky header.
   ========================================================================== */

/* ---- Design tokens ---- */
:root {
  /* Brand palette */
  --navy:        #0b2c4d;   /* brand navy (deep)                    */
  --navy-900:    #081d33;   /* darkest navy                         */
  --navy-700:    #10406e;
  --ink-950:     #070f1c;   /* near-black blue — footer/hero base   */
  --ink-900:     #0a1626;
  --blue:        #0e7fd1;   /* electric action blue                 */
  --blue-600:    #0a66aa;
  --cyan:        #22b8cf;   /* cyan accent — ticks, details         */
  --steel:       #5d6b7a;   /* steel grey                           */
  --steel-200:   #dbe3ec;
  --steel-100:   #eef2f7;
  --amber:       #f7a600;   /* safety amber — accent CTAs           */
  --amber-600:   #dd9200;
  --orange:      #ff8a3c;   /* gradient partner for amber           */
  --teal:        #1193ad;   /* legacy var — now cyan-teal detail    */
  --teal-700:    #0d7186;
  --white:       #ffffff;
  --ink:         #16202c;   /* body text / headings                 */
  --ink-soft:    #47535f;
  --risk:        #d0342c;   /* red — risk warnings / prices only    */
  --status:      #199d5c;   /* green — positive status only         */

  /* Surfaces */
  --bg:          #ffffff;
  --bg-alt:      #f4f7fb;
  --bg-navy:     var(--ink-900);
  --line:        #e2e8f1;

  /* Gradients */
  --grad-hero:   linear-gradient(160deg, #081d33 0%, #0b2c4d 55%, #103a63 100%);
  --grad-cta:    linear-gradient(120deg, #0b2c4d 0%, #0e4d86 60%, #0e7fd1 130%);
  --grad-amber:  linear-gradient(120deg, var(--amber) 0%, var(--orange) 100%);
  --grad-blue:   linear-gradient(120deg, #0e7fd1 0%, #22b8cf 130%);
  --grad-text:   linear-gradient(100deg, #ffc24d 0%, #ff8a3c 100%);
  --glow-amber:  0 10px 34px rgba(247,166,0,.32);
  --glow-blue:   0 10px 34px rgba(14,127,209,.35);

  /* Type */
  --font-head: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Rhythm — soft, rounded, layered */
  --maxw: 1180px;
  --gap: 26px;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(10,22,38,.05), 0 2px 8px rgba(10,22,38,.06);
  --shadow-md: 0 4px 14px rgba(10,22,38,.08), 0 12px 32px rgba(10,22,38,.10);
  --shadow-lg: 0 12px 30px rgba(10,22,38,.14), 0 30px 70px rgba(10,22,38,.16);
  --transition: .2s cubic-bezier(.4,0,.2,1);

  --tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E");
}

/* ---- 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(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.2rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.25rem); }
h3 { font-size: 1.22rem; letter-spacing: -0.01em; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; padding-left: 1.25rem; }
li { margin-bottom: .35rem; }
strong { color: var(--ink); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 4px; }

/* Gradient-highlight span for hero headlines */
.grad {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---- Layout helpers ---- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }
.section { padding: clamp(56px, 7vw, 96px) 0; }
.section--alt { background: var(--bg-alt); }
.section--navy {
  background: var(--grad-cta);
  color: #dcebf8;
  position: relative;
  overflow: hidden;
}
.section--navy::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(720px 340px at 85% -10%, rgba(34,184,207,.18), transparent 65%),
    radial-gradient(640px 320px at 8% 110%, rgba(247,166,0,.12), transparent 60%);
}
.section--navy > .container { position: relative; z-index: 1; }
.section--navy h1, .section--navy h2, .section--navy h3 { color: #fff; }
.section--navy a { color: #ffd27a; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 2.2px;
  font-size: .74rem;
  font-weight: 700;
  color: var(--blue-600);
  background: rgba(14,127,209,.09);
  border: 1px solid rgba(14,127,209,.22);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  margin: 0 0 .9rem;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--grad-amber); }
.section--navy .eyebrow, .section--teal .eyebrow, .page-head .eyebrow {
  color: #ffc24d; background: rgba(247,166,0,.12); border-color: rgba(247,166,0,.35);
}
.lead { font-size: 1.13rem; color: var(--ink-soft); max-width: 70ch; }
.section--navy .lead { color: #c6dcf0; }
.measure { max-width: 72ch; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.grid { display: grid; gap: var(--gap); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Blueprint accent — subtle engineering grid over dark surfaces */
.blueprint {
  background-color: var(--ink-900);
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 44px 44px;
}

/* ---- Buttons — pill, confident, layered ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-head);
  font-weight: 700; letter-spacing: .1px;
  font-size: .97rem;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer; text-decoration: none;
  transition: background var(--transition), border-color var(--transition),
              color var(--transition), box-shadow var(--transition), transform var(--transition);
  line-height: 1.2;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--grad-blue); color: #fff; box-shadow: var(--glow-blue); }
.btn-primary:hover { background: linear-gradient(120deg, #0a66aa 0%, #1193ad 130%); color: #fff; }
.btn-secondary { background: var(--grad-amber); color: #201607; box-shadow: var(--glow-amber); }
.btn-secondary:hover { background: linear-gradient(120deg, var(--amber-600) 0%, #f07d2e 100%); color: #201607; }
.btn-ghost { background: transparent; color: var(--navy); border-color: rgba(11,44,77,.45); }
.btn-ghost:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.section--navy .btn-ghost, .section--teal .btn-ghost, .page-head .btn-ghost, .hero-photo .btn-ghost {
  color: #fff; border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.06);
}
.section--navy .btn-ghost:hover, .section--teal .btn-ghost:hover, .page-head .btn-ghost:hover, .hero-photo .btn-ghost:hover {
  border-color: #fff; background: rgba(255,255,255,.16); color: #fff;
}
.btn-teal { background: var(--grad-blue); color: #fff; }
.btn-teal:hover { background: linear-gradient(120deg, #0a66aa 0%, #1193ad 130%); color: #fff; }
.btn-ico { display: inline-flex; vertical-align: middle; margin-right: 7px; }
.btn-ico svg { width: 20px; height: 20px; display: block; }
.btn-yt { background: #e00000; color: #fff; }
.btn-yt:hover { background: #bb0000; color: #fff; }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.buy-button-wrap { margin: 6px 0 4px; }
.brand-logo { border-radius: 10px; object-fit: contain; display: block; }
.brand-logo--footer { background: #fff; padding: 3px; box-shadow: 0 1px 6px rgba(0,0,0,.35); }
.portfolio-ph { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; height: 220px; background: var(--grad-hero); color: #fff; text-align: center; padding: 0 18px; }
.portfolio-ph svg { width: 40px; height: 40px; opacity: .85; }
.portfolio-ph span { font-family: var(--font-head, inherit); font-weight: 700; font-size: 1.05rem; }
.ticks--tight li { margin-bottom: .4rem; }
@media (min-width: 720px) {
  .ticks--tight { column-count: 2; column-gap: 2rem; }
  .ticks--tight li { break-inside: avoid; }
}
.section--teal {
  background:
    radial-gradient(760px 380px at 90% 0%, rgba(34,184,207,.24), transparent 62%),
    radial-gradient(560px 320px at 0% 100%, rgba(247,166,0,.14), transparent 60%),
    var(--ink-900);
  color: #fff;
}
.section--teal h2 { color: #fff; }
.section--teal .lead { color: #c6dcf0; }
.social-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.social-ico { display: inline-flex; color: #e00000; }
.social-ico svg { width: 22px; height: 22px; display: block; }
.btn-sm { padding: 9px 18px; font-size: .9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.4rem; }
.btn-block { width: 100%; justify-content: center; }

/* ---- Header / nav — dark glass, sticky ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7,15,28,.86);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { width: 44px; height: 44px; }
.brand-text { font-family: var(--font-head); font-weight: 800; color: #fff; line-height: 1.05; letter-spacing: -.01em; }
.brand-text b { display: block; font-size: 1rem; letter-spacing: .2px; white-space: nowrap; }
.brand-text span { font-size: .64rem; color: #8fa6bd; text-transform: uppercase; letter-spacing: 1.6px; font-weight: 700; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  font-family: var(--font-body); font-weight: 600; font-size: .9rem;
  color: #cfdcea; padding: 9px 9px; border-radius: var(--radius-pill);
  border-bottom: 0;
  transition: color var(--transition), background var(--transition);
}
.nav a:hover { text-decoration: none; color: #fff; background: rgba(255,255,255,.09); }
.nav a.active { color: #fff; background: rgba(14,127,209,.28); }
.nav .has-sub { position: relative; }
.nav .submenu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 264px;
  background: #0c1c31; border: 1px solid rgba(255,255,255,.10); border-radius: 14px;
  box-shadow: var(--shadow-lg); padding: 8px; display: none;
}
.nav .submenu::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.nav .has-sub:hover .submenu, .nav .has-sub:focus-within .submenu { display: block; }
.nav .submenu a { display: block; padding: 10px 14px; border-radius: 9px; color: #cfdcea; }
.nav .submenu a:hover { background: rgba(255,255,255,.08); color: #fff; }
.nav-cta { margin-left: 6px; border-bottom: 0 !important; white-space: nowrap; }
.nav a.btn-sm { padding: 9px 15px; font-size: .84rem; }
@media (max-width: 1180px) and (min-width: 821px) { .nav a.btn-secondary.nav-cta { display: none; } }
.nav a.nav-cta { color: inherit; }
.nav a.btn-primary { color: #fff; }
.nav a.btn-primary:hover { color: #fff; background: linear-gradient(120deg, #0a66aa 0%, #1193ad 130%); }
.nav a.btn-secondary { color: #201607; }
.nav a.btn-secondary:hover { color: #201607; background: linear-gradient(120deg, var(--amber-600) 0%, #f07d2e 100%); }
.nav-toggle {
  display: none; background: rgba(255,255,255,.10); color: #fff; border: 1px solid rgba(255,255,255,.22);
  width: 46px; height: 42px; border-radius: 10px; cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 22px; height: 2px; background: #fff; margin: 0 auto; position: relative; border-radius: 2px;
}
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after { position: absolute; top: 7px; }

/* ---- Hero (photo-led, dark cinematic overlay, centred) ---- */
.hero { position: relative; color: #eef4fa; overflow: hidden; background: var(--grad-hero); }
.hero .container { position: relative; z-index: 2; padding-top: clamp(56px, 8vw, 110px); padding-bottom: clamp(56px, 8vw, 110px); }
.hero h1 { color: #fff; max-width: 20ch; }
.hero .lead { color: #c6dcf0; font-size: 1.15rem; max-width: 60ch; }

.hero-photo { position: relative; overflow: hidden; color: #fff; background: var(--ink-950); }
.hero-photo .hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.hero-photo::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 420px at 50% -8%, rgba(14,127,209,.28), transparent 62%),
    linear-gradient(180deg, rgba(7,15,28,.72) 0%, rgba(7,15,28,.55) 45%, rgba(7,15,28,.88) 100%);
}
.hero-photo .container {
  position: relative; z-index: 2; text-align: center; max-width: 1020px;
  padding-top: clamp(84px, 11vw, 150px); padding-bottom: clamp(84px, 11vw, 150px);
}
.hero-title-band { display: block; background: none; padding: 0; margin-bottom: 10px; }
.hero-title-band h1 {
  color: #fff; margin: 0 auto; max-width: 24ch;
  font-size: clamp(2.1rem, 5vw, 3.5rem);
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.hero-sub {
  background: none;
  color: #c9daea; font-size: clamp(1.05rem, 1.6vw, 1.2rem); line-height: 1.65;
  max-width: 760px; margin: 14px auto 0; padding: 0;
}
.hero-photo .btn-row { justify-content: center; margin-top: 2.1rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 1.6rem; justify-content: center; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-size: .74rem; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: #eaf3fb;
  border: 1px solid rgba(255,255,255,.28); border-radius: var(--radius-pill); padding: 7px 15px;
  background: rgba(255,255,255,.08);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--grad-amber); box-shadow: 0 0 10px rgba(247,166,0,.9); }

/* Trust strip — dark continuation band under the hero */
.trust-strip { background: var(--ink-950); color: #9fb4c9; border-bottom: 1px solid rgba(255,255,255,.06); }
.trust-strip .container { display: flex; flex-wrap: wrap; gap: 10px 30px; padding-block: 18px; align-items: center; justify-content: center; }
.trust-strip span { font-family: var(--font-head); font-size: .85rem; font-weight: 600; letter-spacing: .3px; display: inline-flex; align-items: center; gap: 9px; }
.trust-strip span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--grad-amber); }

/* ---- Cards — soft, rounded, elevated ---- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
  height: 100%;
}
.card:hover { box-shadow: var(--shadow-md); border-color: rgba(14,127,209,.35); transform: translateY(-4px); }
.card h3 { margin-bottom: .4rem; }
.card p { color: var(--ink-soft); font-size: .97rem; margin-bottom: .8rem; }
.card .card-link { font-family: var(--font-head); font-weight: 700; color: var(--blue-600); }
.card-icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(14,127,209,.12), rgba(34,184,207,.14));
  border: 1px solid rgba(14,127,209,.18);
  margin-bottom: 16px; color: var(--blue-600);
}
.card-icon svg { width: 26px; height: 26px; }
.card--num { position: relative; }
.card-num {
  font-family: var(--font-head); font-weight: 800; font-size: .9rem;
  color: var(--blue-600); letter-spacing: 1px;
}
/* Dark sections keep cards readable */
.section--teal .card, .section--navy .card { border-color: rgba(255,255,255,.10); }

/* Feature/list panels */
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }
.panel--navy {
  background:
    radial-gradient(420px 260px at 100% 0%, rgba(34,184,207,.20), transparent 60%),
    var(--grad-hero);
  color: #d5e5f3; border: 1px solid rgba(255,255,255,.08);
}
.panel--navy h2, .panel--navy h3 { color: #fff; }
.panel--navy strong { color: #fff; }
.panel--navy .eyebrow { color: #ffc24d; background: rgba(247,166,0,.12); border-color: rgba(247,166,0,.35); }
.panel--navy .btn-ghost { color: #fff; border-color: rgba(255,255,255,.85); }
.panel--navy .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.14); color: #fff; }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center; }

/* Checklist / problem lists */
.ticks { list-style: none; padding: 0; }
.ticks li { position: relative; padding-left: 32px; margin-bottom: .6rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .3em;
  width: 18px; height: 18px; border-radius: 6px;
  background: var(--grad-blue); -webkit-mask: none; mask: none;
}
.ticks li::after {
  content: ""; position: absolute; left: 0; top: .3em;
  width: 18px; height: 18px;
  -webkit-mask: var(--tick) center/72% no-repeat; mask: var(--tick) center/72% no-repeat;
  background: #fff;
}
.crosses { list-style: none; padding: 0; }
.crosses li { position: relative; padding-left: 30px; margin-bottom: .6rem; }
.crosses li::before {
  content: "✕"; position: absolute; left: 2px; top: 0; color: var(--risk); font-weight: 700;
}

/* ---- Product / book ---- */
.book-cover { border-radius: 12px; box-shadow: var(--shadow-lg); width: 100%; max-width: 280px; }
.product { display: grid; grid-template-columns: 200px 1fr; gap: 26px; align-items: start; }
.price-tag { font-family: var(--font-head); font-weight: 800; color: var(--navy); font-size: 1.6rem; letter-spacing: -.01em; }
.price-tag small { font-size: .9rem; color: var(--steel); font-weight: 500; }
.badge-amber { display: inline-block; background: var(--grad-amber); color: #201607; font-family: var(--font-head); font-weight: 700; font-size: .76rem; letter-spacing: .6px; padding: 5px 13px; border-radius: var(--radius-pill); text-transform: uppercase; }

/* Pricing table */
.price-card { text-align: center; }
.price-card .price-tag { display: block; margin: .4rem 0; }
.price-card ul { text-align: left; }

/* ---- Forms ---- */
.form { display: grid; gap: 16px; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--ink); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: 13px 16px; border: 1px solid #c3cedb; border-radius: var(--radius-sm); background: #fff;
  width: 100%;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 4px rgba(14,127,209,.14); }
.field--req label::after { content: " *"; color: var(--risk); }
.form-note { font-size: .85rem; color: var(--steel); }

/* ---- Callouts ---- */
.callout { border-left: 4px solid var(--blue); background: var(--bg-alt); padding: 18px 22px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.callout--risk { border-color: var(--risk); }
.callout--amber { border-color: var(--amber); }
.callout h3 { font-size: 1.05rem; margin-bottom: .3rem; }
.callout p:last-child { margin-bottom: 0; }
.status-good { color: var(--status); font-weight: 600; }
.status-risk { color: var(--risk); font-weight: 600; }

/* Disclaimer block */
.disclaimer { font-size: .9rem; color: var(--steel); border-top: 1px solid var(--line); padding-top: 18px; }

/* ---- Stats ---- */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.stat { text-align: center; padding: 10px 6px; }
.stat b {
  display: block; font-family: var(--font-head); font-weight: 800; font-size: clamp(2rem, 3.4vw, 2.8rem);
  letter-spacing: -.02em; line-height: 1.1;
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat span { font-size: .9rem; color: var(--ink-soft); font-weight: 500; }
.section--navy .stat b, .section--teal .stat b, .stat-band .stat b {
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section--navy .stat span, .section--teal .stat span, .stat-band .stat span { color: #a9c0d6; }

/* Stat band — dark strip with headline numbers (home) */
.stat-band { background: var(--ink-950); border-bottom: 1px solid rgba(255,255,255,.06); }
.stat-band .container { padding-block: clamp(30px, 4vw, 46px); }
.stat-band .stat { border-left: 1px solid rgba(255,255,255,.08); }
.stat-band .stat:first-child { border-left: 0; }
@media (max-width: 940px) { .stat-band .stat:nth-child(3) { border-left: 0; } }
@media (max-width: 620px) { .stat-band .stat { border-left: 0; } }

/* ---- Breadcrumb / page head — dark gradient band ---- */
.page-head { background: var(--grad-hero); color: #dcebf8; position: relative; overflow: hidden; }
.page-head.blueprint {
  background-image:
    radial-gradient(760px 320px at 88% -20%, rgba(14,127,209,.35), transparent 62%),
    radial-gradient(520px 260px at 4% 130%, rgba(247,166,0,.14), transparent 60%),
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: auto, auto, 44px 44px, 44px 44px;
  background-color: var(--navy-900);
}
.page-head .container { padding-block: clamp(52px, 7vw, 88px); position: relative; z-index: 2; }
.page-head h1 { color: #fff; letter-spacing: -.025em; }
.page-head .lead { color: #c6dcf0; }
.page-head a { color: #fff; }
.breadcrumb { font-size: .85rem; color: #8fa6bd; margin-bottom: 1rem; }
.breadcrumb a { color: #c9daea; }

/* ---- Footer — near-black navy, layered ---- */
.site-footer {
  background:
    radial-gradient(680px 300px at 92% -10%, rgba(14,127,209,.16), transparent 60%),
    var(--ink-950);
  color: #b9c9d9; font-size: .94rem;
  border-top: 1px solid rgba(255,255,255,.07);
}
.site-footer .container { padding-block: 62px 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px; }
.site-footer h4 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: 1.6px; margin-bottom: 1rem; font-weight: 700; }
.site-footer a { color: #b9c9d9; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; }
.site-footer li { margin-bottom: .5rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.10); margin-top: 38px; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: .85rem; color: #8fa6bd; }

/* ---- Utility ---- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.tag-list li { background: var(--steel-100); color: var(--ink-soft); font-size: .85rem; padding: 6px 14px; border-radius: var(--radius-pill); margin: 0; border: 1px solid var(--steel-200); }
.divider { height: 1px; background: var(--line); border: 0; margin: 32px 0; }
.note-strip { background: var(--grad-amber); color: #201607; font-family: var(--font-head); font-weight: 700; text-align: center; padding: 10px 16px; font-size: .9rem; }

/* ---- Scroll reveal (progressive enhancement, added by main.js) ---- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s cubic-bezier(.4,0,.2,1), transform .6s cubic-bezier(.4,0,.2,1); }
.reveal.in-view { opacity: 1; transform: none; }
html.no-js .reveal, html.reduced-motion .reveal { opacity: 1; transform: none; }

/* ---- Responsive ---- */
@media (max-width: 940px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 74px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #0c1c31; border-bottom: 1px solid rgba(255,255,255,.10);
    box-shadow: var(--shadow-lg); padding: 8px 14px 16px;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 13px 10px; border-bottom: 1px solid rgba(255,255,255,.07); border-radius: 0; }
  .nav a.active { background: none; color: #ffc24d; }
  .nav .submenu { position: static; display: block; box-shadow: none; border: none; padding: 0 0 0 14px; min-width: auto; background: none; }
  .nav .has-sub > a::after { content: " ▾"; color: #8fa6bd; }
  .nav-cta { margin: 10px 0 0; border-radius: var(--radius-pill); text-align: center; justify-content: center; }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form .row2 { grid-template-columns: 1fr; }
  .product { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  body { font-size: 16px; }
  .hero-title-band { padding: 0; }
  /* Single-column footer on phones: two-across overflowed the viewport
     because long link labels exceed the half-width column. */
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div { min-width: 0; }
}

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

/* =====================================================================
   WhatsApp instant chat — discreet professional floating button
   ===================================================================== */
.btn:focus-visible,
.whatsapp-fab:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
}

/* Inline WhatsApp CTA button (hero, contact, final CTA rows). */
.btn-whatsapp { background: #16a26f; color: #fff; }
.btn-whatsapp:hover { background: #108058; color: #fff; }
.btn-whatsapp svg { width: 20px; height: 20px; display: block; fill: currentColor; }

/* Floating WhatsApp button — small, quiet, icon-only circle */
.whatsapp-fab {
  position: fixed; right: 16px; bottom: 16px; z-index: 900;
  display: inline-flex; align-items: center; justify-content: center;
  width: 54px; height: 54px;
  background: #16a26f; color: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 18px rgba(0,0,0,.35);
  text-decoration: none; line-height: 1;
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
}
.whatsapp-fab:hover { background: #108058; color: #fff; text-decoration: none; box-shadow: 0 6px 22px rgba(0,0,0,.4); transform: translateY(-2px); }
.whatsapp-fab svg { width: 26px; height: 26px; display: block; fill: currentColor; flex: none; }
.whatsapp-fab .whatsapp-fab-label {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* Buy Me a Coffee support button */
.btn-bmc { background: #ffdd00; color: #201607; }
.btn-bmc:hover { background: #eccd00; color: #201607; }

/* ---- Express Quote (quote.html) ---- */
.svc-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.svc-pick label {
  display: flex; align-items: center; gap: 9px;
  border: 2px solid var(--steel-200); border-radius: var(--radius-sm);
  padding: 11px 12px; cursor: pointer; font-weight: 600; font-size: .88rem;
  background: #fff; transition: border-color var(--transition), background var(--transition);
}
.svc-pick label:hover { border-color: var(--blue); }
.svc-pick input { accent-color: var(--blue); width: 17px; height: 17px; flex: none; }
.svc-pick input:checked + span { color: var(--navy); }
.svc-pick label:has(input:checked) { border-color: var(--blue); background: rgba(14,127,209,.07); }
.q-detail { border: 1px solid var(--steel-200); border-radius: var(--radius-sm); padding: 16px 16px 6px; margin: 0 0 14px; background: var(--bg-alt); }
.q-detail legend { font-family: var(--font-head); font-weight: 700; font-size: .95rem; padding: 0 6px; }
.q-step { display: flex; align-items: center; gap: 10px; margin: 26px 0 12px; }
.q-step .num { width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .9rem; flex: none; }
.q-step h2 { margin: 0; font-size: 1.15rem; }
.q-step .opt { color: var(--ink-soft); font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
@media (max-width: 860px) { .svc-pick { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .svc-pick { grid-template-columns: 1fr; } .form .row2 { grid-template-columns: 1fr; } }

/* Floating action button variant: Express Quote (replaces open WhatsApp chat) */
.quote-fab { background: var(--grad-amber); color: #201607; box-shadow: var(--glow-amber); }
.quote-fab:hover { background: linear-gradient(120deg, var(--amber-600) 0%, #f07d2e 100%); color: #201607; }
.quote-fab svg { fill: none; }
