/* ============================================================
   OneOfficeHQ — Master Stylesheet v3.0 (2026-09-25, mobile-first)
   oneofficehq.com/ie — a service of Onlinetradesmen.
   Palette: white / #da2723 (primary red) / #1f60a2 (secondary blue)
   Design: calm, polished, high-converting for a trade audience.
   No decorative gradient blobs. Text-led hero. Real product imagery.
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --red: #da2723;
  --red-dark: #b81e1b;
  --red-soft: #fdeceb;
  --blue: #1f60a2;
  --blue-dark: #174a7d;
  --blue-soft: #eaf1f8;
  --navy: #122f4e;
  --ink: #1c2733;
  --slate: #595959;
  --muted: #7a838c;
  --line: #e4e8ec;
  --bg-soft: #f5f7f9;
  --white: #ffffff;
  --amber: #f5a623;
  --radius: 10px;
  --shadow: 0 1px 3px rgba(18, 47, 78, 0.08);
  --shadow-lg: 0 8px 24px rgba(18, 47, 78, 0.10);
  --font: "Inter", "Segoe UI", Arial, sans-serif;
  --header-h: 64px;
}

/* ---------- Base (mobile first) ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--slate);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.22; font-weight: 800; }
h1 { font-size: clamp(27px, 6vw, 46px); letter-spacing: -0.4px; }
h2 { font-size: clamp(22px, 4.6vw, 32px); letter-spacing: -0.2px; }
h3 { font-size: 18px; }
p { margin-bottom: 1rem; }
ul { list-style: none; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 18px; }

/* ---------- Utilities ---------- */
.eyebrow {
  display: inline-block;
  color: var(--red);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.eyebrow--blue { color: var(--blue); }
.section { padding: 44px 0; }
.section--soft { background: var(--bg-soft); }
.section--blue { background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%); color: #fff; }
.section--red { background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%); color: #fff; }
.section-title { margin-bottom: 10px; }
.section-sub { max-width: 720px; margin-bottom: 28px; font-size: 15.5px; }
.section--blue .section-title, .section--blue .section-sub,
.section--red .section-title, .section--red .section-sub { color: #fff; }
.center { text-align: center; }
.center .section-sub { margin-left: auto; margin-right: auto; }
.muted { color: var(--muted); }
.small { font-size: 13px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14.5px;
  padding: 13px 22px;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
  text-decoration: none !important;
  line-height: 1.2;
  width: 100%;
}
.btn-red { background: var(--red); color: #fff !important; }
.btn-red:hover { background: var(--red-dark); }
.btn-blue { background: var(--blue); color: #fff !important; }
.btn-blue:hover { background: var(--blue-dark); }
.btn-outline { background: transparent; border-color: var(--blue); color: var(--blue) !important; }
.btn-outline:hover { background: var(--blue-soft); }
.btn-outline-white { background: transparent; border-color: #fff; color: #fff !important; }
.btn-outline-white:hover { background: rgba(255, 255, 255, 0.12); }
.btn-lg { padding: 15px 28px; font-size: 15.5px; }
.btn-sm { padding: 8px 14px; font-size: 13px; width: auto; }
.btn-block { width: 100%; }
.hero-ctas .btn, .cta-band .btn { width: 100%; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy); color: #cfe0f0; font-size: 12px; }
.topbar .container { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 36px; flex-wrap: wrap; text-align: center; padding-top: 6px; padding-bottom: 6px; }
.topbar a { color: #fff; font-weight: 600; }
.topbar .topbar-right { display: flex; gap: 14px; align-items: center; }
.topbar .topbar-right span { display: inline-flex; align-items: center; gap: 5px; }
.topbar > .container > span:first-child { width: 100%; order: -1; font-size: 11.5px; }

/* ---------- Header (mobile first) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 12px rgba(18,47,78,0.04);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: var(--header-h); max-width: 1560px; }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; flex-shrink: 0; }
.brand img { height: 34px; width: auto; max-width: 130px; display: block; }

/* Mobile nav: full-screen overlay */
.main-nav {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0; bottom: 0;
  background: #fff;
  overflow-y: auto;
  padding: 8px 18px 26px;
  z-index: 150;
}
.main-nav.open { display: block; }
.main-nav ul { display: flex; flex-direction: column; gap: 2px; }
.main-nav li { border-bottom: 1px solid var(--line); }
.main-nav a { display: block; padding: 15px 4px; color: var(--ink); font-weight: 600; font-size: 16px; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--red); text-decoration: none; }

.header-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; margin-left: auto; }
.header-cta .btn { padding: 9px 14px; font-size: 13px; width: auto; white-space: nowrap; }
.header-cta .btn span { display: none; }

.nav-toggle {
  display: flex; align-items: center; justify-content: center;
  background: none; border: 1px solid var(--line); border-radius: 6px;
  width: 40px; height: 40px; padding: 0; cursor: pointer; flex-shrink: 0;
}
.nav-toggle svg { display: block; }

/* ---------- Megamenu (desktop) ---------- */
.mega { position: relative; }
.mega-trigger {
  display: flex; align-items: center; gap: 6px;
  background: none; border: none; cursor: pointer;
  font-family: inherit; color: var(--ink); font-weight: 600;
  padding: 15px 4px; font-size: 16px; width: 100%; text-align: left;
}
.mega-trigger::after { content: "\25BE"; font-size: 10px; opacity: 0.7; transition: transform 0.15s ease; }
.mega.open .mega-trigger::after { transform: rotate(180deg); }
.mega-trigger:hover { color: var(--red); }
.mega-panel {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  padding: 18px;
  min-width: 460px;
  z-index: 300;
}
.mega-panel::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: #fff;
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
}
.mega:hover .mega-panel, .mega:focus-within .mega-panel, .mega.open .mega-panel { display: block; }
.mega-panel h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.6px; color: var(--muted); margin-bottom: 10px; padding: 0 6px; }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.mega-grid a {
  display: flex; align-items: center; gap: 4px;
  padding: 10px 12px; color: var(--ink); font-weight: 600; font-size: 14px;
  border-radius: 8px; border: 1px solid transparent;
  background: var(--bg-soft);
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.mega-grid a:hover { color: var(--red); text-decoration: none; background: var(--red-soft); border-color: #f3c9c7; }

/* ---------- Hero (text-only, centered) ---------- */
.hero { position: relative; background: var(--white); border-bottom: 1px solid var(--line); padding: 48px 0 40px; text-align: center; }
.hero .container { max-width: 880px; }
.hero h1 { margin-bottom: 16px; font-size: clamp(30px, 7vw, 52px); }
.hero h1 .accent { color: var(--red); }
.hero .lead { font-size: 16.5px; margin: 0 auto 24px; max-width: 640px; }
.hero .hero-ctas { display: flex; flex-direction: column; gap: 10px; margin: 0 auto 22px; max-width: 420px; }
.hero .hero-trust { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: center; color: var(--muted); font-size: 12.5px; font-weight: 600; }
.hero .hero-trust li { display: flex; align-items: center; gap: 6px; }
.hero .hero-trust li::before { content: "\2713"; color: var(--red); font-weight: 800; }
.hero-credit { margin-top: 26px; font-size: 13px; color: var(--muted); }

/* ---------- Stat band ---------- */
.stat-band { background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%); color: #fff; padding: 28px 0; }
.stat-band .container { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 12px; }
.stat { text-align: center; }
.stat .stat-num { font-size: clamp(21px, 5vw, 30px); font-weight: 800; line-height: 1.1; }
.stat .stat-lbl { font-size: 11.5px; opacity: 0.92; font-weight: 600; margin-top: 3px; }
.stat + .stat { border-left: none; padding-left: 0; }

/* ---------- Cards / grids (mobile: single column) ---------- */
.grid-2 { display: flex; flex-direction: column; gap: 22px; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 22px; }
.grid-4 { display: grid; grid-template-columns: 1fr; gap: 14px; }

/* Redesigned card: clean, flat, image-led, no gradient blobs or heavy shadows */
.card {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 2px rgba(18,47,78,0.05);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.card:hover { box-shadow: var(--shadow-lg); border-color: var(--blue); transform: translateY(-2px); }
.card-img-wrap {
  width: 100%;
  aspect-ratio: 1/1;
  max-height: 190px;
  background: linear-gradient(160deg, var(--blue-soft) 0%, #f7f9fb 65%);
  border-bottom: 1.5px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  overflow: hidden;
  position: relative;
}
.card-img-wrap--red { background: linear-gradient(160deg, var(--red-soft) 0%, #f7f9fb 65%); }
.card-img {
  max-width: 78%;
  max-height: 78%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center top;
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(18,47,78,0.16);
  background: #fff;
  border: 1px solid rgba(18,47,78,0.06);
}
/* Icon-only tile variant -- for cards with no product screenshot */
.card-icon-tile {
  width: 84px; height: 84px; border-radius: 18px;
  background: #fff;
  box-shadow: 0 6px 16px rgba(18,47,78,0.14);
  border: 1px solid rgba(18,47,78,0.06);
  display: flex; align-items: center; justify-content: center;
  font-size: 34px; color: var(--blue);
}
.card-img-wrap--red .card-icon-tile { color: var(--red); }
.card-body { padding: 26px 24px 28px; display: flex; flex-direction: column; flex-grow: 1; }
.card-icon {
  width: 38px; height: 38px; border-radius: 8px; display: flex; align-items: center; justify-content: center;
  background: var(--blue-soft); color: var(--blue); font-size: 16px; margin-bottom: 12px;
}
.card-icon--red { background: var(--red-soft); color: var(--red); }
.card h3 { margin-bottom: 10px; font-size: 17px; }
.card p { font-size: 14.5px; margin-bottom: 0; line-height: 1.6; }
.card .card-link { display: inline-block; margin-top: 12px; font-weight: 700; font-size: 13.5px; color: var(--blue); }
.card .card-link:hover { color: var(--red); text-decoration: none; }
.card .card-link::after { content: " \2192"; }

/* Image-led product tile (for homepage toolkit + feature pages) */
.product-tile { border: 1.5px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: 0 1px 2px rgba(18,47,78,0.05); }
.product-tile .pt-img-wrap { width: 100%; aspect-ratio: 1/1; background: var(--bg-soft); border-bottom: 1.5px solid var(--line); display: flex; align-items: center; justify-content: center; padding: 18px; overflow: hidden; }
.product-tile .pt-img { width: 100%; height: 100%; object-fit: contain; object-position: center; border-radius: 6px; box-shadow: 0 2px 8px rgba(18,47,78,0.10); background: #fff; }
.product-tile .pt-body { padding: 16px 18px 18px; }
.product-tile .pt-body h3 { font-size: 16px; margin-bottom: 6px; }
.product-tile .pt-body p { font-size: 13.5px; margin-bottom: 0; }

/* Feature image frame (page hero side image) */
.feature-img { border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; background: #fff; }
.feature-img img { width: 100%; display: block; }

.badge {
  display: inline-block; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px;
  background: var(--blue-soft); color: var(--blue); margin-bottom: 12px;
}
.badge--red { background: var(--red-soft); color: var(--red); }
.badge--amber { background: #fdf3e2; color: #b06e00; }

/* ---------- Comparison table ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
table.cmp .yes i { color: var(--blue); margin-right: 5px; }
table.cmp { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 13.5px; }
table.cmp th { background: var(--navy); color: #fff; text-align: left; padding: 12px 14px; font-size: 13px; }
table.cmp th.cmp-to { background: var(--red); }
table.cmp td { padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.cmp tr:nth-child(even) td { background: var(--bg-soft); }
table.cmp tr:last-child td { border-bottom: none; }
table.cmp .yes { color: var(--blue); font-weight: 800; }
table.cmp .no { color: var(--muted); }
table.cmp .hl td { background: var(--red-soft) !important; font-weight: 700; color: var(--red-dark); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: 1fr; gap: 14px; counter-reset: step; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.step .step-num {
  counter-increment: step; width: 34px; height: 34px; border-radius: 8px; background: var(--red);
  color: #fff; font-weight: 800; font-size: 15px; display: flex; align-items: center; justify-content: center; margin-bottom: 12px;
}
.step .step-num::before { content: counter(step); }
.step h3 { font-size: 15.5px; margin-bottom: 6px; }
.step p { font-size: 13.5px; margin: 0; }

/* ---------- Testimonials ---------- */
.testi { display: grid; grid-template-columns: 1fr; gap: 16px; }
.t-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px;
  display: flex; flex-direction: column;
}
.t-card .stars { color: var(--amber); font-size: 14px; letter-spacing: 2px; margin-bottom: 10px; }
.t-card .quote { font-size: 14px; color: var(--slate); margin-bottom: 16px; flex-grow: 1; }
.t-card .who { display: flex; align-items: center; gap: 10px; }
.t-card .avatar {
  width: 38px; height: 38px; border-radius: 8px; background: var(--blue); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; flex-shrink: 0;
}
.t-card .avatar--red { background: var(--red); }
.t-card .who strong { color: var(--ink); display: block; font-size: 14px; line-height: 1.3; }
.t-card .who span { font-size: 12px; color: var(--muted); }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: 1fr; gap: 20px; max-width: 860px; margin: 0 auto; }
.price-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 20px; display: flex; flex-direction: column; }
.price-card.featured { border: 2px solid var(--red); position: relative; margin-top: 8px; }
.price-card .flag {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--red); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: 0.6px;
  text-transform: uppercase; padding: 5px 14px; border-radius: 999px; white-space: nowrap;
}
.price-card h3 { font-size: 18px; }
.price-card .price { font-size: 32px; font-weight: 800; color: var(--ink); line-height: 1.1; margin: 12px 0 4px; }
.price-card .price span { font-size: 14px; color: var(--muted); font-weight: 600; }
.price-card .price-note { font-size: 12.5px; color: var(--muted); margin-bottom: 16px; }
.price-card ul { margin-bottom: 20px; flex-grow: 1; }
.price-card li { padding: 6px 0; padding-left: 26px; position: relative; font-size: 13.5px; }
.price-card li::before { content: "\2713"; position: absolute; left: 0; color: var(--blue); font-weight: 800; }
.price-card.featured li::before { color: var(--red); }

/* ---------- Check list (feature bullets) ---------- */
.check-list li { padding: 7px 0 7px 28px; position: relative; font-size: 14.5px; }
.check-list li::before { content: "\2713"; position: absolute; left: 0; top: 7px; width: 19px; height: 19px; border-radius: 50%; background: var(--red-soft); color: var(--red); font-weight: 800; font-size: 11px; display: flex; align-items: center; justify-content: center; }
.check-list--blue li::before { background: var(--blue-soft); color: var(--blue); }

/* ---------- Pain / payoff split ---------- */
.split { display: grid; grid-template-columns: 1fr; gap: 20px; }
.panel { background: #fff; border-radius: var(--radius); padding: 22px 20px; border: 1px solid var(--line); }
.panel h3 { font-size: 16.5px; margin-bottom: 14px; }
.panel.pain { border-top: 4px solid var(--red); }
.panel.payoff { border-top: 4px solid var(--blue); }
.panel ul li { padding: 6px 0 6px 24px; position: relative; font-size: 14px; }
.panel.pain ul li::before { content: "\2715"; position: absolute; left: 0; color: var(--red); font-weight: 800; }
.panel.payoff ul li::before { content: "\2713"; position: absolute; left: 0; color: var(--blue); font-weight: 800; }

/* ---------- FAQ accordion ---------- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 8px; margin-bottom: 8px; overflow: hidden; }
.faq-q {
  width: 100%; background: none; border: none; text-align: left; cursor: pointer;
  padding: 16px; font-family: inherit; font-size: 15px; font-weight: 700; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-q .faq-icon { flex-shrink: 0; width: 22px; height: 22px; border-radius: 6px; background: var(--blue-soft); color: var(--blue); display: flex; align-items: center; justify-content: center; font-size: 13px; transition: transform 0.2s ease; }
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--red-soft); color: var(--red); }
.faq-a { display: none; padding: 0 16px 16px; font-size: 14px; }
.faq-item.open .faq-a { display: block; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; padding: 40px 0; }
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { color: rgba(255,255,255,0.92); max-width: 640px; margin: 0 auto 22px; font-size: 15px; }
.cta-band .btn { margin-bottom: 10px; }
.cta-band .btn:last-child { margin-bottom: 0; }

/* ---------- Contact ---------- */
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 30px; }
.contact-card { text-align: center; padding: 18px 10px; }
.contact-card .cc-icon { width: 42px; height: 42px; border-radius: 8px; margin: 0 auto 10px; background: var(--blue-soft); color: var(--blue); display: flex; align-items: center; justify-content: center; font-size: 18px; }
.contact-card h3 { font-size: 14px; margin-bottom: 4px; }
.contact-card a { font-weight: 700; font-size: 13.5px; color: var(--ink); word-break: break-word; }
.contact-card a:hover { color: var(--red); text-decoration: none; }
.contact-card .small { display: block; margin-top: 4px; color: var(--muted); font-size: 11.5px; }

.contact-layout { display: grid; grid-template-columns: 1fr; gap: 24px; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 18px; }
.form-card h3 { margin-bottom: 6px; font-size: 17px; }
.form-card .form-note { font-size: 12.5px; color: var(--muted); margin-bottom: 18px; }
.form-row { margin-bottom: 14px; }
.form-row label { display: block; font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 5px; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: 12px 13px; border: 1.5px solid var(--line); border-radius: 8px;
  font-family: inherit; font-size: 16px; color: var(--ink); background: #fff; transition: border-color 0.15s ease;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: none; border-color: var(--blue); }
.form-row textarea { min-height: 110px; resize: vertical; }
.form-consent { display: flex; gap: 9px; align-items: flex-start; font-size: 12.5px; color: var(--muted); margin-bottom: 16px; }
.form-consent input { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; }
.form-success { display: none; background: #eaf7ef; border: 1px solid #b7e2c4; color: #1c6b33; border-radius: 8px; padding: 14px; margin-top: 14px; font-size: 13.5px; font-weight: 600; }
.form-success.show { display: block; }

/* ---------- Zoho embed ---------- */
.zoho-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px; }
.zoho-wrap iframe { width: 100%; height: 560px; border: none; display: block; margin: 0 auto; }

/* ---------- App badges ---------- */
.app-badges { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.app-badges a { display: inline-flex; }
.app-badges img { height: 44px; width: auto; border-radius: 8px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #b9cde0; font-size: 13.5px; padding: 36px 0 0; }
.site-footer a { color: #d9e6f3; }
.site-footer a:hover { color: #fff; text-decoration: none; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 26px; padding-bottom: 26px; }
.footer-brand .logo-card { display: inline-block; background: #fff; border-radius: 8px; padding: 8px 12px; margin-bottom: 14px; }
.footer-brand .logo-card img { height: 36px; width: auto; max-width: 160px; }
.footer-brand p { font-size: 13px; line-height: 1.6; }
.footer-brand .ot-link { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; color: #fff; margin-top: 6px; }
.footer-col h4 { color: #fff; font-size: 13.5px; margin-bottom: 12px; letter-spacing: 0.3px; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { font-size: 13px; }
.footer-contact li { display: flex; gap: 9px; align-items: flex-start; margin-bottom: 10px; font-size: 13px; }
.footer-contact .fc-ico { color: var(--red); font-weight: 800; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.14); padding: 14px 0; font-size: 12px; }
.footer-bottom .container { display: flex; flex-direction: column; justify-content: center; gap: 8px; text-align: center; }
.footer-bottom a { color: #b9cde0; }

/* ---------- Subpage hero ---------- */
.page-hero { background: linear-gradient(160deg, #fff, var(--bg-soft)); padding: 30px 0 28px; }
.page-hero h1 { margin-bottom: 12px; }
.page-hero .lead { max-width: 680px; font-size: 15.5px; }
.page-hero .page-hero-bullets { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 16px; font-size: 13px; font-weight: 600; color: var(--slate); }
.page-hero .page-hero-bullets li { display: flex; gap: 7px; align-items: center; }
.page-hero .page-hero-bullets li::before { content: "\2713"; color: var(--red); font-weight: 800; }
.page-hero--blue { background: linear-gradient(135deg, var(--blue), var(--blue-dark)); }
.page-hero--blue h1, .page-hero--blue .lead { color: #fff; }
.page-hero--blue .page-hero-bullets li { color: #e3eefa; }
.page-hero--blue .page-hero-bullets li::before { color: #fff; }

/* ---------- Misc ---------- */
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-size: 12.5px; font-weight: 700; color: var(--ink); }
.pill .pill-num { color: var(--red); font-weight: 800; }
.cta-strip { background: var(--red); color: #fff; padding: 16px 0; }
.cta-strip .container { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; }
.cta-strip p { margin: 0; font-weight: 700; font-size: 15px; }
.breadcrumb { font-size: 12.5px; color: var(--muted); margin-bottom: 14px; }
.breadcrumb a { color: var(--muted); }

/* ============================================================
   TABLET AND UP (min-width 640px)
   ============================================================ */
@media (min-width: 640px) {
  .container { padding: 0 28px; }
  body { font-size: 16px; }
  .section { padding: 60px 0; }
  .grid-3, .grid-4, .testi, .steps, .contact-cards { grid-template-columns: 1fr 1fr; }
  .stat-band .container { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .hero .hero-ctas { flex-direction: row; max-width: 520px; }
  .hero .hero-ctas .btn { width: auto; }
  .pricing { grid-template-columns: 1fr 1fr; }
  .cta-band .btn { width: auto; margin: 0 6px; }
  .footer-bottom .container { flex-direction: row; justify-content: space-between; text-align: left; }
  .cta-strip .container { flex-direction: row; justify-content: space-between; text-align: left; }
}

/* ============================================================
   DESKTOP (min-width 960px)
   ============================================================ */
@media (min-width: 960px) {
  :root { --header-h: 78px; }
  .container { padding: 0 24px; }
  body { font-size: 15.5px; line-height: 1.7; }
  h1 { font-size: clamp(34px, 3.6vw, 46px); }
  h2 { font-size: clamp(24px, 2.4vw, 32px); }
  h3 { font-size: 18px; }
  .section-sub { font-size: 16px; }

  .section { padding: 72px 0; }

  .topbar .container { justify-content: space-between; text-align: left; padding-top: 0; padding-bottom: 0; min-height: 38px; }
  .topbar > .container > span:first-child { width: auto; order: 0; font-size: 12.5px; }

  .brand img { height: 40px; max-width: 165px; }
  .site-header .container { min-height: var(--header-h); gap: 16px; flex-wrap: nowrap; }

  /* Nav stays in the mobile overlay pattern (hamburger) up to 1279px --
     10 nav items + megamenu trigger + CTA button do not fit a single row
     before that width; forcing it earlier is what caused the overrun. */
  .header-cta { flex-shrink: 0; }
  .header-cta .btn { padding: 9px 16px; font-size: 13px; width: auto; white-space: nowrap; }
  .header-cta .btn span { display: inline; }

  .hero { padding: 56px 0 48px; }
  .hero h1 { font-size: clamp(38px, 5vw, 56px); }
  .hero .lead { font-size: 17.5px; max-width: 620px; }
  .hero .hero-trust { font-size: 13px; }

  .stat-band .container { grid-template-columns: repeat(5, 1fr); gap: 24px; }
  .stat + .stat { border-left: 1px solid rgba(255,255,255,0.22); padding-left: 24px; }
  .stat .stat-num { font-size: clamp(26px, 2.4vw, 36px); }
  .stat .stat-lbl { font-size: 12.5px; }

  .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .grid-4 { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .card { border-radius: var(--radius); }
  .card h3 { font-size: 17px; }
  .card p { font-size: 14px; }

  .split, .contact-layout { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
  .footer-brand .logo-card img { height: 46px; max-width: 180px; }

  .contact-cards { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .pricing { max-width: 860px; }

  table.cmp { font-size: 14px; }
  .faq-q { font-size: 16px; }
}

/* ============================================================
   WIDE DESKTOP (min-width 1300px) -- full horizontal nav switches on
   here, once there is genuinely enough room for logo + 10 links +
   megamenu trigger + CTA button on one line without overrunning.
   ============================================================ */
@media (min-width: 1300px) {
  .main-nav {
    display: block !important;
    position: static;
    background: none;
    padding: 0;
    z-index: auto;
    flex: 1 1 auto;
    min-width: 0;
    /* Safety net: if content genuinely can't fit even at this width, scroll
       the nav horizontally rather than ever overlapping the CTA button. */
    overflow-x: auto;
    overflow-y: visible;
    scrollbar-width: none;
  }
  .main-nav::-webkit-scrollbar { display: none; }
  .main-nav ul { display: flex; flex-direction: row; flex-wrap: nowrap; gap: 11px; align-items: center; justify-content: flex-start; }
  .main-nav li { border-bottom: none; flex-shrink: 0; }
  .main-nav a {
    display: inline-block; padding: 6px 1px; color: var(--ink); font-weight: 600;
    font-size: 12px; white-space: nowrap; position: relative; line-height: 1.2;
  }
  .main-nav a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
    background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform 0.15s ease;
  }
  .main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
  .main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--red); }
  .main-nav .mega-trigger { display: inline-flex; align-items: center; width: auto; padding: 6px 1px; font-size: 12px; }
  .main-nav .mega-trigger::after { font-size: 9px; margin-left: 2px; }
  .nav-toggle { display: none; }
  /* header-cta always renders above nav and never gets covered, even in
     the worst case where the nav's scroll area visually meets it */
  .header-cta { position: relative; z-index: 210; background: #fff; }
}
@media (min-width: 1480px) {
  .main-nav ul { gap: 18px; }
  .main-nav a { font-size: 13px; }
}
@media (min-width: 1680px) {
  .main-nav ul { gap: 24px; }
  .main-nav a { font-size: 14px; }
}