/* TotalPrintUSA — client demo styles
   Brand: #0056A3 blue, #FF6B35 orange, #28A745 green
   Static site, no build step. */
:root {
  --blue: #0056A3;
  --blue-600: #004B8E;
  --blue-700: #003E75;
  --blue-800: #002F58;
  --blue-900: #001F3A;
  --blue-100: #E6F0F8;
  --blue-50: #F3F8FC;
  --orange: #FF6B35;
  --orange-600: #E55A2B;
  --orange-700: #C94B20;
  --orange-100: #FFE8DF;
  --green: #1F9D4A;
  --green-100: #E5F6EB;
  --gold: #F5B400;
  --ink: #1A2834;
  --muted: #5A6B78;
  --line: #D9E1E8;
  --paper: #F4F7FA;
  --white: #FFFFFF;
  --shadow: 0 10px 30px rgba(0, 31, 58, 0.08);
  --shadow-lg: 0 24px 50px rgba(0, 31, 58, 0.14);
  --radius: 16px;
  --radius-sm: 10px;
  --header-h: 76px;
  --util-h: 40px;
  --font-sans: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  --font-display: "Outfit", "Source Sans 3", "Segoe UI", sans-serif;
  --bg: #FFFFFF;
  --bg-elev: #FFFFFF;
  --text: var(--ink);
  --text-muted: var(--muted);
  --border: var(--line);
  --hero-grad: linear-gradient(135deg, #0056A3 0%, #003E75 55%, #00284D 100%);
  --ok: var(--green);
  --focus: 0 0 0 3px rgba(0, 86, 163, 0.35);
}

[data-theme="dark"] {
  --bg: #0E1620;
  --bg-elev: #172230;
  --paper: #121C26;
  --ink: #E8EEF4;
  --text: #E8EEF4;
  --muted: #9AA8B5;
  --text-muted: #9AA8B5;
  --line: #2A3A4A;
  --border: #2A3A4A;
  --blue-50: #132030;
  --blue-100: #1A2C40;
  --orange-100: #3A241C;
  --green-100: #163224;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 24px 50px rgba(0, 0, 0, 0.45);
  --hero-grad: linear-gradient(135deg, #063A6E 0%, #052844 60%, #021624 100%);
  --focus: 0 0 0 3px rgba(90, 170, 230, 0.45);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
}
img, svg { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
[data-theme="dark"] a { color: #7CBCF0; }
a:hover { color: var(--orange-600); }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 4px; }
.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 4000;
  background: var(--orange); color: #fff; padding: 8px 14px; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { top: 12px; color: #fff; }

.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.container-narrow { width: min(820px, calc(100% - 40px)); margin: 0 auto; }

/* Utility / demo bar */
.util-bar {
  background: var(--blue-900); color: #D7E6F3; font-size: 0.85rem;
  min-height: var(--util-h); display: flex; align-items: center;
}
.util-bar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 6px 0; }
.util-bar a { color: #fff; text-decoration: none; font-weight: 600; }
.util-bar a:hover { color: #FFB89A; }
.demo-flag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,107,53,.18); color: #FFD2C2; border: 1px solid rgba(255,107,53,.35);
  padding: 2px 10px; border-radius: 999px; font-weight: 650; letter-spacing: .01em;
}
.util-meta { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: color-mix(in srgb, var(--bg-elev) 92%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .2s ease, background .2s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow); }
.header-inner {
  min-height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); flex-shrink: 0; }
.logo:hover { color: var(--text); }
.logo-mark { width: 42px; height: 42px; flex-shrink: 0; }
.logo-word { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; letter-spacing: -0.03em; line-height: 1; color: var(--blue); }
[data-theme="dark"] .logo-word { color: #7CBCF0; }
.logo-word span { color: var(--orange); }
.logo-sub { display: block; font-size: 0.68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); font-weight: 600; margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav ul { display: flex; list-style: none; margin: 0; padding: 0; gap: 2px; align-items: center; }
.nav > ul > li { position: relative; }
.nav a, .nav .nav-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 12px; color: var(--text); text-decoration: none; font-weight: 600; font-size: 0.95rem;
  background: none; border: 0; cursor: pointer; border-radius: 8px;
}
.nav a:hover, .nav .nav-btn:hover, .nav a[aria-current="page"] { color: var(--blue); background: var(--blue-50); }
[data-theme="dark"] .nav a:hover, [data-theme="dark"] .nav .nav-btn:hover, [data-theme="dark"] .nav a[aria-current="page"] { color: #7CBCF0; }
.dropdown {
  position: absolute; top: calc(100% - 2px); left: 0; min-width: 260px;
  background: var(--bg-elev); border: 1px solid var(--border); border-radius: 12px;
  box-shadow: var(--shadow-lg); padding: 8px; display: none; z-index: 20;
}
.has-drop:hover > .dropdown, .has-drop:focus-within > .dropdown { display: block; }
.dropdown a { display: block; width: 100%; padding: 10px 12px; border-radius: 8px; }
.dropdown a small { display: block; font-weight: 500; color: var(--text-muted); font-size: 0.8rem; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-phone { color: var(--blue); font-weight: 700; text-decoration: none; white-space: nowrap; font-size: 0.98rem; }
[data-theme="dark"] .header-phone { color: #7CBCF0; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--border);
  background: var(--bg-elev); color: var(--text); display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.icon-btn:hover { border-color: var(--blue); color: var(--blue); }
.menu-toggle { display: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 10px; font-weight: 700; text-decoration: none;
  border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
  line-height: 1.2; white-space: nowrap;
}
.btn:hover { color: inherit; transform: translateY(-1px); }
.btn-primary { background: var(--orange); color: #fff; border-color: var(--orange); box-shadow: 0 8px 18px rgba(255,107,53,.28); }
.btn-primary:hover { background: var(--orange-600); border-color: var(--orange-600); color: #fff; }
.btn-secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-secondary:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn-outline { background: transparent; color: var(--blue); border-color: var(--blue); }
[data-theme="dark"] .btn-outline { color: #7CBCF0; border-color: #7CBCF0; }
.btn-outline:hover { background: var(--blue-50); color: var(--blue); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-lg { padding: 15px 26px; font-size: 1.05rem; }
.btn-full { width: 100%; }
.btn-dark { background: var(--blue-800); color: #fff; border-color: var(--blue-800); }
.btn-dark:hover { background: var(--blue-900); color: #fff; }

/* Hero */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--hero-grad); color: #fff;
  padding: 72px 0 80px;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    radial-gradient(circle at 80% 10%, rgba(255,107,53,.22), transparent 28%),
    radial-gradient(circle at 10% 90%, rgba(255,255,255,.08), transparent 32%),
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: auto, auto, 36px 36px, 36px 36px;
  mask-image: linear-gradient(#000, #000);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 650; letter-spacing: .12em;
  text-transform: uppercase; font-size: 0.78rem; color: #FFB89A; margin: 0 0 14px;
}
.hero h1 {
  font-family: var(--font-display); font-weight: 700; letter-spacing: -0.035em;
  font-size: clamp(2.2rem, 4.4vw, 3.55rem); line-height: 1.08; margin: 0 0 16px;
}
.hero .lede { font-size: 1.2rem; max-width: 38rem; opacity: .94; margin: 0 0 22px; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 26px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.18);
  padding: 7px 14px; border-radius: 999px; font-size: 0.9rem; font-weight: 600;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 28px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 22px; }
.trust-item { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 0.95rem; }
.trust-item svg { width: 22px; height: 22px; color: var(--orange); flex-shrink: 0; }

.hero-panel {
  background: var(--bg-elev);
  color: var(--text);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 20px; padding: 22px;
  box-shadow: var(--shadow-lg);
}
.hero-panel h2 { font-family: var(--font-display); font-size: 1.25rem; margin: 0 0 6px; color: var(--text); }
.hero-panel p.hint { margin: 0 0 16px; color: var(--text-muted); font-size: 0.92rem; }
.hero-art { margin-top: 16px; border-radius: 14px; overflow: hidden; }
.hero-panel .form-note { color: var(--text-muted) !important; }
.hero-panel .form-note a { color: var(--blue); }

/* Sections */
section { padding: 88px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-head .eyebrow { color: var(--orange-600); justify-content: center; }
.section-head h2, .page-hero h1, .article-hero h1, h1, h2, h3, h4 {
  font-family: var(--font-display); letter-spacing: -0.03em; color: var(--text); line-height: 1.15;
}
.section-head h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 0 0 12px; }
.section-head p, .subhead { color: var(--text-muted); margin: 0; font-size: 1.08rem; }

.page-hero {
  background: var(--blue-50); border-bottom: 1px solid var(--border);
  padding: 56px 0 48px;
}
.page-hero h1 { font-size: clamp(2rem, 3.6vw, 3rem); margin: 0 0 12px; }
.page-hero p { color: var(--text-muted); font-size: 1.15rem; max-width: 46rem; margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 16px; font-size: 0.88rem; color: var(--text-muted); }
.crumbs a { color: var(--text-muted); text-decoration: none; }
.crumbs a:hover { color: var(--blue); }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 8px; opacity: .5; }

/* Pain */
.pain { background: var(--paper); }
.grid-4, .grid-3, .grid-2 { display: grid; gap: 22px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; box-shadow: 0 1px 0 rgba(255,255,255,.4) inset; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--blue) 30%, var(--border)); }
.icon-orb {
  width: 54px; height: 54px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--blue-100); color: var(--blue); margin-bottom: 16px;
}
.icon-orb.orange { background: var(--orange-100); color: var(--orange-700); }
.icon-orb.green { background: var(--green-100); color: var(--green); }
.card h3 { font-size: 1.15rem; margin: 0 0 8px; }
.card p { margin: 0; color: var(--text-muted); }
.solution-banner {
  margin-top: 28px; background: var(--blue); color: #fff; text-align: center;
  padding: 26px; border-radius: var(--radius); font-family: var(--font-display);
  font-size: 1.35rem; font-weight: 650;
}

/* Services */
.service-card { position: relative; display: flex; flex-direction: column; min-height: 280px; }
.service-card h3 { margin-top: 0; }
.service-card .more { margin-top: auto; padding-top: 16px; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.featured-tag {
  position: absolute; top: -12px; right: 18px;
  background: var(--orange); color: #fff; font-size: 0.75rem; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px;
}
.service-card.featured { border-color: var(--orange); box-shadow: 0 12px 28px rgba(255,107,53,.12); }

/* Stats */
.stats { background: var(--blue-900); color: #fff; padding: 56px 0; }
.stats .grid-4 { align-items: stretch; }
.stat { text-align: center; padding: 10px; }
.stat-number { font-family: var(--font-display); font-size: 2.8rem; font-weight: 700; letter-spacing: -0.03em; color: #fff; line-height: 1; }
.stat-number span { color: var(--orange); }
.stat p { margin: 8px 0 0; color: #C5D6E6; }

/* Why / industries / steps */
.why-item h3, .industry-card h3 { margin: 0 0 8px; font-size: 1.15rem; }
.industry-card { border-left: 4px solid var(--blue); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step { text-align: center; position: relative; }
.step-num {
  width: 40px; height: 40px; border-radius: 50%; background: var(--orange); color: #fff;
  font-weight: 800; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px; font-family: var(--font-display);
}
.step-icon {
  width: 84px; height: 84px; margin: 0 auto 16px; border-radius: 50%;
  border: 3px solid var(--blue); color: var(--blue); display: flex; align-items: center; justify-content: center;
  background: var(--bg-elev);
}

/* Case teaser */
.case-teaser { background: var(--paper); }
.case-split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.metric-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 22px 0; }
.metric { background: var(--bg-elev); border: 1px solid var(--border); border-radius: 12px; padding: 14px; text-align: center; }
.metric strong { display: block; font-family: var(--font-display); font-size: 1.5rem; color: var(--blue); }
[data-theme="dark"] .metric strong { color: #7CBCF0; }
.sample-label {
  display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  background: var(--orange-100); color: var(--orange-700); padding: 3px 8px; border-radius: 999px; margin-bottom: 10px;
}

/* Testimonials carousel */
.carousel { position: relative; }
.carousel-track { display: grid; grid-template-columns: 1fr; }
.t-card { display: none; background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; }
.t-card.is-active { display: block; animation: fadeUp .4s ease; }
.stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 12px; }
.t-card blockquote { margin: 0 0 20px; font-size: 1.15rem; font-style: italic; }
.author { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 48px; height: 48px; border-radius: 50%; background: var(--blue-100); color: var(--blue);
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-family: var(--font-display);
}
.carousel-nav { display: flex; justify-content: center; gap: 10px; margin-top: 18px; }
.carousel-nav button { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--border); background: var(--bg-elev); color: var(--text); cursor: pointer; }
.dots { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
.dots button { width: 8px; height: 8px; border-radius: 50%; border: 0; background: var(--border); padding: 0; cursor: pointer; }
.dots button.is-active { background: var(--orange); width: 22px; border-radius: 8px; }

/* Articles list */
.article-tools { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; align-items: center; }
.search {
  flex: 1; min-width: 220px; position: relative;
}
.search input, .field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: 10px;
  background: var(--bg-elev); color: var(--text);
}
.search input { padding-left: 40px; }
.search .s-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--text-muted); pointer-events: none; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1px solid var(--border); background: var(--bg-elev); color: var(--text);
  padding: 8px 14px; border-radius: 999px; cursor: pointer; font-weight: 650; font-size: 0.9rem;
}
.chip.is-active, .chip:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.article-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; overflow: hidden; padding: 0; }
.article-card:hover { color: inherit; }
.thumb { height: 150px; background: var(--hero-grad); position: relative; }
.thumb.t2 { background: linear-gradient(135deg, #FF6B35, #003E75); }
.thumb.t3 { background: linear-gradient(135deg, #1F9D4A, #0056A3); }
.thumb.t4 { background: linear-gradient(135deg, #002F58, #FF6B35); }
.thumb.t5 { background: linear-gradient(135deg, #004B8E, #1A2834); }
.thumb.t6 { background: linear-gradient(135deg, #C94B20, #001F3A); }
.article-card .body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.meta { color: var(--text-muted); font-size: 0.85rem; display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 8px; }
.cat { color: var(--orange-700); font-weight: 700; font-size: 0.78rem; letter-spacing: .06em; text-transform: uppercase; }
.article-card h3 { margin: 0 0 8px; font-size: 1.15rem; }
.empty-state { text-align: center; padding: 40px; color: var(--text-muted); display: none; }
.empty-state.show { display: block; }

/* Article body */
.article-layout { display: grid; grid-template-columns: 1fr 280px; gap: 40px; padding: 48px 0 80px; align-items: start; }
.prose { font-size: 1.08rem; }
.prose p { margin: 0 0 1.1em; }
.prose h2 { font-size: 1.5rem; margin: 1.6em 0 .6em; }
.prose h3 { font-size: 1.2rem; margin: 1.3em 0 .5em; }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.article-hero { padding: 48px 0 20px; }
.byline { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.related { display: grid; gap: 12px; }
.related a { text-decoration: none; color: inherit; display: block; }
.toc { position: sticky; top: 100px; background: var(--paper); border: 1px solid var(--border); border-radius: 14px; padding: 18px; }
.toc h2 { font-size: 0.95rem; margin: 0 0 10px; }
.toc a { display: block; color: var(--text-muted); text-decoration: none; padding: 6px 0; font-size: 0.92rem; }
.toc a:hover { color: var(--blue); }

/* Forms */
.form-section { background: var(--hero-grad); color: #fff; }
.form-card {
  background: var(--bg-elev); color: var(--text); border-radius: 20px; padding: 40px;
  box-shadow: var(--shadow-lg); max-width: 820px; margin: 0 auto;
}
.form-card h2 { margin: 0 0 8px; text-align: center; }
.form-card .lead { text-align: center; color: var(--text-muted); margin: 0 0 10px; }
.urgency {
  display: inline-flex; align-items: center; gap: 8px; background: #FFF3CD; color: #6A5300;
  padding: 8px 14px; border-radius: 999px; font-weight: 700; font-size: 0.9rem;
  margin: 12px auto 22px; 
}
[data-theme="dark"] .urgency { background: #3A3210; color: #F5E7A3; }
.form-head { text-align: center; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; font-size: 0.92rem; }
.field .error { color: #C0392B; font-size: 0.82rem; margin-top: 5px; display: none; }
.field.has-error .error { display: block; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #C0392B; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.check { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.95rem; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form-note { text-align: center; color: var(--text-muted); font-size: 0.88rem; margin: 14px 0 0; }
.form-success { display: none; text-align: center; padding: 20px; }
.form-success.show { display: block; }
.form-success h3 { color: var(--green); }

/* Pricing */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.price-card { padding: 32px 28px; display: flex; flex-direction: column; }
.price-card.featured { border-color: var(--orange); transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.price { font-family: var(--font-display); font-size: 2rem; margin: 8px 0 4px; color: var(--blue); }
[data-theme="dark"] .price { color: #7CBCF0; }
.price small { font-size: 1rem; color: var(--text-muted); font-weight: 500; }
.price-card ul { list-style: none; padding: 0; margin: 16px 0 24px; flex: 1; }
.price-card li { padding: 8px 0 8px 26px; position: relative; border-bottom: 1px solid var(--border); }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }

/* FAQ */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { background: var(--bg-elev); border: 1px solid var(--border); border-radius: 12px; margin-bottom: 12px; overflow: hidden; }
.faq-item button {
  width: 100%; text-align: left; background: none; border: 0; padding: 18px 20px;
  font-weight: 700; font-size: 1.05rem; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; color: var(--text);
}
.faq-item .faq-a { display: none; padding: 0 20px 18px; color: var(--text-muted); }
.faq-item.is-open .faq-a { display: block; }
.faq-item button .chev { transition: transform .2s ease; }
.faq-item.is-open button .chev { transform: rotate(180deg); }

/* Contact split */
.contact-split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 36px; }
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { display: flex; gap: 12px; margin-bottom: 16px; }
.info-list a { font-weight: 700; text-decoration: none; }

/* Footer */
.site-footer { background: #152230; color: #D5E0EA; padding: 64px 0 20px; }
.site-footer a { color: #D5E0EA; text-decoration: none; }
.site-footer a:hover { color: #FFB89A; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 32px; margin-bottom: 36px; }
.site-footer h3, .site-footer h2 { color: #fff; font-size: 1.05rem; margin: 0 0 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.news-form { display: flex; gap: 8px; }
.news-form input { flex: 1; padding: 11px 12px; border-radius: 10px; border: 1px solid #31485C; background: #1C2E3E; color: #fff; }
.footer-bottom { border-top: 1px solid #2A3E50; padding-top: 18px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.88rem; color: #9BB0C0; }
.socials { display: flex; gap: 8px; margin-top: 14px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; background: #223344; display: flex; align-items: center; justify-content: center; }

/* Floating actions */
.float-btns {
  position: fixed; right: 20px; bottom: 20px; z-index: 1200;
  display: flex; flex-direction: column; gap: 10px;
}
.float-btn {
  width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: #fff; text-decoration: none; box-shadow: var(--shadow-lg); border: 0;
}
.float-btn:hover { color: #fff; transform: translateY(-2px); }
.float-btn.call { background: var(--blue); }
.float-btn.wa { background: #1FA855; }
.float-label { position: absolute; right: 66px; background: var(--bg-elev); color: var(--text); border: 1px solid var(--border); padding: 6px 10px; border-radius: 8px; font-size: 0.8rem; font-weight: 700; white-space: nowrap; opacity: 0; pointer-events: none; }
.float-wrap { position: relative; }
.float-wrap:hover .float-label, .float-wrap:focus-within .float-label { opacity: 1; }

/* 404 */
.err-page { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 20px; }
.err-page h1 { font-size: 5rem; margin: 0; color: var(--blue); }

/* Animations */
.reveal { opacity: 0; transform: translateY(18px); animation: fadeUp .7s ease forwards; }
.reveal.d1 { animation-delay: .1s; }
.reveal.d2 { animation-delay: .2s; }
.reveal.d3 { animation-delay: .3s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .t-card.is-active { animation: none; opacity: 1; transform: none; }
  .btn, .card { transition: none; }
}

/* Calculator */
.calc { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; }
.calc-result { background: var(--blue-50); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.calc-result .big { font-family: var(--font-display); font-size: 2.4rem; color: var(--blue); font-weight: 700; }
[data-theme="dark"] .calc-result .big { color: #7CBCF0; }

/* Map / coverage art */
.art-frame { background: rgba(255,255,255,.08); border-radius: 16px; padding: 12px; }

/* Tables */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); }
th { font-size: 0.85rem; letter-spacing: .04em; text-transform: uppercase; color: var(--text-muted); }

/* Mobile nav */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .grid-3, .price-grid, .steps, .hero-grid, .case-split, .article-grid, .article-layout, .contact-split, .calc, .footer-grid {
    grid-template-columns: 1fr;
  }
  .price-card.featured { transform: none; }
  .toc { position: static; }
  .menu-toggle { display: inline-flex; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--bg-elev); border-bottom: 1px solid var(--border);
    padding: 12px 20px 20px; box-shadow: var(--shadow);
  }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; }
  .dropdown { position: static; display: none; box-shadow: none; border: 0; padding-left: 10px; }
  .has-drop.is-open > .dropdown { display: block; }
  .header-phone { display: none; }
  .hero { padding: 40px 0 48px; }
  .hero-cta .btn { width: 100%; }
  .form-card { padding: 24px 18px; }
  .form-row, .checks { grid-template-columns: 1fr; }
  .news-form { flex-direction: column; }
  .util-meta { display: none; }
  .container { width: min(1180px, calc(100% - 28px)); }
  section { padding: 64px 0; }
  .header-actions .btn { padding: 10px 12px; font-size: 0.88rem; }
  .float-btns { bottom: 16px; right: 14px; }
}

@media (max-width: 560px) {
  .grid-4, .metric-row { grid-template-columns: 1fr; }
  .stats .grid-4 { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 2rem; }
  .logo-sub { display: none; }
}

.site-footer{padding-bottom:96px}
.prose a{font-weight:650}
.callout{background:var(--blue-50);border:1px solid var(--border);border-left:4px solid var(--blue);border-radius:12px;padding:16px 18px;margin:1.2em 0}
.cover-art{height:220px;border-radius:16px;margin:18px 0 8px}

/* Contrast fixes: heading color rule must not paint over dark bands */
.hero h1, .hero h2, .hero h3, .hero .lede, .hero .trust-item { color: #fff; }
.cta-band h2, .cta-band p { color: #fff; }
.form-section > .container > .form-card h2 { color: var(--text); }
.btn-secondary { color: #fff; }
.hero .btn-secondary { color: #fff; border-color: rgba(255,255,255,.75); }

.nav-cta-mobile { display: none; }
@media (max-width: 980px) {
  .header-inner { gap: 8px; }
  .logo-word { font-size: 1.18rem; }
  .logo-mark { width: 36px; height: 36px; }
  .header-actions { gap: 6px; }
  .header-actions > .btn { display: none; }
  .nav-cta-mobile { display: block; margin-top: 12px; }
  .nav-cta-mobile .btn { width: 100%; }
}
@media (max-width: 560px) {
  body { overflow-x: hidden; }
}

.hero .hero-panel h2 { color: var(--text) !important; }
.hero .hero-panel .form-note,
.hero .hero-panel .form-note a { color: var(--text-muted) !important; }
.hero .hero-panel .form-note a { color: var(--blue) !important; }
.nav-cta-mobile a.btn-primary,
.nav-cta-mobile a.btn-primary:hover {
  background: var(--orange) !important;
  border-color: var(--orange) !important;
  color: #fff !important;
}
@media (max-width: 980px) {
  .hero-cta, .trust-row { padding-right: 72px; }
}
