/* ============================================================
   Artificial Turf Toronto — Modern Metropolitan
   Navy/charcoal base · vivid green accent · Space Grotesk + Inter
   ============================================================ */

:root {
  --navy-950: #070d1a;
  --navy-900: #0b1322;
  --navy-800: #111c31;
  --navy-700: #1a2845;
  --charcoal: #161b24;
  --ink: #18202e;
  --slate: #4b5563;
  --line: #e4e8ef;
  --bg: #f5f7fa;
  --white: #ffffff;
  --green: #25d366;
  --green-vivid: #1fc15c;
  --green-deep: #11813c;
  --green-tint: #e7f9ee;
  --glass: rgba(255, 255, 255, 0.07);
  --glass-line: rgba(255, 255, 255, 0.14);
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 10px 34px -12px rgba(11, 19, 34, 0.18);
  --shadow-lg: 0 24px 60px -20px rgba(11, 19, 34, 0.35);
  --font-head: "Space Grotesk", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --max: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--ink);
}

h1 { font-size: clamp(2.1rem, 5.2vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin-bottom: 0.9rem; }
h3 { font-size: 1.22rem; margin-bottom: 0.45rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--green-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--green-vivid);
  outline-offset: 2px;
  border-radius: 3px;
}

ul, ol { padding-left: 1.4rem; margin-bottom: 1rem; }
li { margin-bottom: 0.35rem; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 22px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--green-vivid); color: var(--navy-950);
  padding: 10px 18px; font-weight: 600; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11, 19, 34, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--glass-line);
}
.header-bar {
  display: flex; align-items: center; gap: 18px;
  max-width: var(--max); margin: 0 auto; padding: 10px 22px;
}
.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand img { width: 46px; height: 46px; }
.brand-name {
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem;
  color: var(--white); line-height: 1.15; letter-spacing: -0.01em;
}
.brand-name small { display: block; font-family: var(--font-body); font-weight: 400; font-size: 0.68rem; color: #9fb0c9; letter-spacing: 0.06em; text-transform: uppercase; }
.brand:hover { text-decoration: none; }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 4px; list-style: none; padding: 0; margin: 0; }
.main-nav a {
  display: block; padding: 9px 12px; color: #d4dcea; font-size: 0.93rem; font-weight: 500;
  border-radius: 8px;
}
.main-nav a:hover { color: var(--white); background: var(--glass); text-decoration: none; }
.main-nav a[aria-current="page"] { color: var(--green); }

/* dropdown sub-nav */
.main-nav .has-sub { position: relative; }
.sub-toggle {
  display: flex; align-items: center; gap: 7px;
  font: inherit; font-size: 0.93rem; font-weight: 500; color: #d4dcea;
  background: none; border: none; cursor: pointer; padding: 9px 12px; border-radius: 8px;
}
.sub-toggle:hover, .has-sub:hover > .sub-toggle, .has-sub:focus-within > .sub-toggle { color: var(--white); background: var(--glass); }
.sub-toggle .caret {
  width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent;
  border-top: 5px solid currentColor; transition: transform 0.2s ease;
}
.has-sub:hover > .sub-toggle .caret, .sub-toggle[aria-expanded="true"] .caret { transform: rotate(180deg); }
.main-nav .sub-menu {
  display: block; flex-direction: column; gap: 0;
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 224px; z-index: 200;
  list-style: none; margin: 0; padding: 8px;
  background: rgba(13, 22, 38, 0.98); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-line); border-radius: 14px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}
.sub-menu::before { content: ""; position: absolute; bottom: 100%; left: 0; right: 0; height: 10px; }
.has-sub:hover > .sub-menu, .has-sub:focus-within > .sub-menu, .sub-toggle[aria-expanded="true"] + .sub-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.sub-menu a {
  display: block; padding: 9px 13px; border-radius: 8px; white-space: nowrap;
  color: #d4dcea; font-size: 0.9rem; font-weight: 500;
}
.sub-menu a:hover { background: var(--glass); color: var(--white); text-decoration: none; }
.sub-menu a[aria-current="page"] { color: var(--green); }

.header-cta { display: flex; align-items: center; gap: 10px; }
.phone-link {
  color: var(--white); font-family: var(--font-head); font-weight: 600; font-size: 0.98rem;
  white-space: nowrap; padding: 8px 6px;
}
.phone-link:hover { color: var(--green); text-decoration: none; }

.btn {
  display: inline-block; padding: 12px 26px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 700; font-size: 0.98rem; letter-spacing: 0.01em;
  text-align: center; cursor: pointer; border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-green { background: var(--green-vivid); color: var(--navy-950); box-shadow: 0 8px 22px -8px rgba(31, 193, 92, 0.55); }
.btn-green:hover { background: var(--green); color: var(--navy-950); }
.btn-ghost { background: transparent; color: var(--white); border-color: var(--glass-line); }
.btn-ghost:hover { border-color: var(--green); color: var(--green); }
.btn-sm { padding: 9px 19px; font-size: 0.9rem; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--glass-line); border-radius: 8px;
  width: 42px; height: 42px; cursor: pointer; flex-shrink: 0; position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 20px; height: 2px; background: var(--white);
  border-radius: 2px; position: absolute; left: 10px; top: 19px; transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle span::before { left: 0; top: -6px; }
.nav-toggle span::after { left: 0; top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; background: var(--navy-900); color: var(--white);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(820px 420px at 85% -10%, rgba(31, 193, 92, 0.16), transparent 60%),
    linear-gradient(180deg, rgba(7, 13, 26, 0.5), rgba(7, 13, 26, 0.88));
  z-index: 1;
}
.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0.5;
}
.hero-inner {
  position: relative; z-index: 2;
  max-width: var(--max); margin: 0 auto; padding: 84px 22px 70px;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 48px; align-items: center;
}
.hero-inner.hero-solo { grid-template-columns: minmax(0, 760px); padding: 76px 22px 64px; }
.hero h1 { color: var(--white); margin-bottom: 1rem; }
.hero .kicker {
  display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: 0.8rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--green);
  background: rgba(31, 193, 92, 0.12); border: 1px solid rgba(31, 193, 92, 0.3);
  padding: 5px 14px; border-radius: 999px; margin-bottom: 1.1rem;
}
.hero .lede { font-size: 1.18rem; color: #ccd6e6; max-width: 56ch; margin-bottom: 1.6rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 1.8rem; }
.hero-phone { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--white); }
.hero-phone:hover { color: var(--green); text-decoration: none; }
.hero-phone small { display: block; font-family: var(--font-body); font-weight: 400; font-size: 0.74rem; color: #9fb0c9; letter-spacing: 0.04em; text-transform: uppercase; }

.badge-row { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.badge-row img { width: 84px; height: 84px; object-fit: contain; filter: drop-shadow(0 6px 14px rgba(0,0,0,0.35)); }

/* trust chips (themed replacement for badge images) */
.trust-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.trust-chips .chip {
  display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.45rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  color: var(--white); font-family: var(--font-head); font-size: 0.85rem; font-weight: 600;
  white-space: nowrap;
}
.trust-chips .stars { color: #f5b942; letter-spacing: 0.1em; }
.quote-side .trust-chips { margin-top: 1.6rem; }

/* glass quote card in hero */
.hero-card {
  background: var(--glass); border: 1px solid var(--glass-line);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-lg);
}
.hero-card h2 { color: var(--white); font-size: 1.35rem; margin-bottom: 0.35rem; }
.hero-card p { color: #b9c5d8; font-size: 0.92rem; margin-bottom: 1.1rem; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-dark { background: var(--navy-900); color: #ccd6e6; }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-tint { background: var(--bg); }
.section-head { max-width: 760px; margin-bottom: 2.4rem; }
.section-head .eyebrow {
  font-family: var(--font-head); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--green-deep); display: block; margin-bottom: 0.5rem;
}
.section-dark .section-head .eyebrow { color: var(--green); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* cards & grids */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
}
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--slate); font-size: 0.97rem; }

.card-dark {
  background: var(--glass); border: 1px solid var(--glass-line); border-radius: var(--radius);
  padding: 24px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.card-dark h3 { color: var(--white); }
.card-dark p { color: #b9c5d8; font-size: 0.95rem; }

.solution-tile {
  position: relative; display: flex; align-items: flex-end; min-height: 150px;
  background-color: var(--navy-800); background-size: cover; background-position: center;
  border: 1px solid var(--glass-line); border-radius: var(--radius); overflow: hidden;
  padding: 20px; color: var(--white); font-family: var(--font-head); font-weight: 600; font-size: 1.04rem;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.solution-tile::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(8, 14, 28, 0.2) 0%, rgba(8, 14, 28, 0.55) 55%, rgba(8, 14, 28, 0.9) 100%);
  transition: background 0.18s ease;
}
.solution-tile > span { position: relative; z-index: 2; }
.solution-tile::after {
  content: "→"; position: absolute; top: 16px; right: 18px; z-index: 2; color: var(--green);
  font-size: 1.15rem; transition: transform 0.18s ease;
}
.solution-tile:hover { transform: translateY(-4px); border-color: var(--green-vivid); text-decoration: none; box-shadow: 0 16px 34px -16px rgba(0, 0, 0, 0.7); }
.solution-tile:hover::before { background: linear-gradient(180deg, rgba(8, 14, 28, 0.1) 0%, rgba(8, 14, 28, 0.45) 55%, rgba(8, 14, 28, 0.82) 100%); }
.solution-tile:hover::after { transform: translateX(4px); }
span.solution-tile { cursor: default; }
span.solution-tile::after { content: ""; }
span.solution-tile:hover { transform: none; border-color: var(--glass-line); box-shadow: none; }

/* checklist */
.checklist { list-style: none; padding: 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; margin: 0; }
.checklist li::before {
  content: "✓"; flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
  background: var(--green-tint); color: var(--green-deep); font-weight: 700;
  display: grid; place-items: center; font-size: 0.85rem; margin-top: 2px;
}
.section-dark .checklist li::before { background: rgba(31, 193, 92, 0.18); color: var(--green); }
.checklist a, .footer-grid a { overflow-wrap: anywhere; }

/* split layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; object-fit: cover; }
.split .badge-row img { width: 84px; height: 84px; object-fit: contain; border-radius: 0; box-shadow: none; }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-sm);
  transition: transform 0.2s ease;
}
.gallery img:hover { transform: scale(1.025); }
.gallery-2 { grid-template-columns: repeat(2, 1fr); }

/* process steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; counter-increment: step; box-shadow: var(--shadow);
}
.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-head); font-weight: 700; font-size: 1.6rem; color: var(--green-deep);
  display: block; margin-bottom: 0.5rem;
}
.step h3 { font-size: 1.08rem; }
.step p { color: var(--slate); font-size: 0.94rem; }

/* FAQ */
.faq-list { display: grid; gap: 12px; max-width: 860px; }
.faq-list details {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 0; overflow: hidden;
}
.faq-list summary {
  cursor: pointer; list-style: none; padding: 18px 48px 18px 22px; position: relative;
  font-family: var(--font-head); font-weight: 600; font-size: 1.02rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  color: var(--green-deep); font-size: 1.4rem; font-weight: 400;
}
.faq-list details[open] summary::after { content: "–"; }
.faq-list details[open] { border-color: var(--green-vivid); }
.faq-list .faq-a { padding: 0 22px 18px; color: var(--slate); }

/* areas */
.area-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.area-list li { margin: 0; }
.area-list li, .area-pill {
  background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 18px; font-size: 0.92rem; font-weight: 500;
}
.section-dark .area-list li { background: var(--glass); border-color: var(--glass-line); color: #d4dcea; }

/* product cards */
.product-card { border-top: 4px solid var(--green-vivid); }
.product-card .tag {
  display: inline-block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--green-deep); background: var(--green-tint);
  border-radius: 999px; padding: 3px 11px; margin-bottom: 0.7rem;
}

/* ---------- Quote section & form ---------- */
.quote-section {
  background:
    radial-gradient(700px 380px at 12% 0%, rgba(31, 193, 92, 0.14), transparent 55%),
    var(--navy-950);
  color: #ccd6e6; padding: 76px 0;
}
.quote-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 52px; align-items: start; }
.quote-grid h2 { color: var(--white); font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
.quote-side p { color: #b9c5d8; }
.quote-side .hero-phone { font-size: 1.5rem; }

.lead-form {
  background: var(--glass); border: 1px solid var(--glass-line); border-radius: var(--radius);
  padding: 30px; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-lg);
}
.lead-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lead-form .form-row-3 { grid-template-columns: 1fr 1fr 1fr; }
.lead-form .field { margin-bottom: 14px; }
.lead-form label {
  display: block; font-size: 0.84rem; font-weight: 600; color: #d4dcea;
  margin-bottom: 5px; letter-spacing: 0.02em;
}
.lead-form .req { color: var(--green); }
.lead-form input[type="text"], .lead-form input[type="tel"], .lead-form input[type="email"], .lead-form textarea {
  width: 100%; padding: 12px 14px; border-radius: var(--radius-sm);
  border: 1px solid var(--glass-line); background: rgba(7, 13, 26, 0.55);
  color: var(--white); font-family: var(--font-body); font-size: 1rem;
}
.lead-form ::placeholder { color: #748399; opacity: 1; }
.lead-form input:focus, .lead-form textarea:focus { border-color: var(--green-vivid); outline: none; box-shadow: 0 0 0 3px rgba(31, 193, 92, 0.25); }
.lead-form textarea { resize: none; height: 110px; }
.lead-form button[type="submit"] { width: 100%; margin-top: 6px; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-confirmation {
  background: rgba(31, 193, 92, 0.14); border: 1px solid var(--green-vivid);
  color: #d9ffe8; border-radius: var(--radius-sm); padding: 22px; font-size: 1.02rem;
}
.form-error { color: #ffb4b4; font-size: 0.9rem; margin-top: 8px; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { font-size: 0.85rem; color: #9fb0c9; margin-bottom: 1.2rem; position: relative; z-index: 2; }
.breadcrumbs a { color: #c3cfe2; }
.breadcrumbs a:hover { color: var(--green); }
.breadcrumbs span[aria-current] { color: var(--green); }

/* ---------- Article / prose ---------- */
.prose { max-width: 780px; }
.prose h2 { margin-top: 2.4rem; }
.prose h3 { margin-top: 1.6rem; font-size: 1.13rem; }
.prose img { border-radius: var(--radius); margin: 1.6rem 0; box-shadow: var(--shadow); }
.prose ul, .prose ol { margin-bottom: 1.2rem; }
.article-meta { color: var(--slate); font-size: 0.88rem; margin-bottom: 1.4rem; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; }
.article-aside { position: sticky; top: 90px; display: grid; gap: 20px; }
.aside-card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
}
.aside-card h2 { font-size: 1.05rem; margin-bottom: 0.8rem; }
.aside-card ul { list-style: none; padding: 0; margin: 0; }
.aside-card li { margin: 0 0 10px; font-size: 0.93rem; line-height: 1.45; }
.aside-card.aside-cta { background: var(--navy-900); border-color: var(--navy-700); }
.aside-card.aside-cta h2 { color: var(--white); }
.aside-card.aside-cta p { color: #b9c5d8; font-size: 0.92rem; }

/* blog cards */
.post-card { overflow: hidden; padding: 0; display: flex; flex-direction: column; }
.post-card img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.post-card .post-card-body { padding: 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-card h2 { font-size: 1.18rem; margin: 0; }
.post-card h2 a { color: var(--ink); }
.post-card h2 a:hover { color: var(--green-deep); }
.post-card time { font-size: 0.82rem; color: var(--slate); }
.post-card p { font-size: 0.93rem; color: var(--slate); }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--green-deep), var(--green-vivid));
  border-radius: var(--radius); padding: 40px; display: flex; flex-wrap: wrap; gap: 20px;
  align-items: center; justify-content: space-between; box-shadow: var(--shadow-lg);
}
.cta-banner h2 { color: var(--navy-950); margin: 0; font-size: clamp(1.3rem, 2.6vw, 1.8rem); }
.cta-banner .btn { background: var(--navy-950); color: var(--white); }
.cta-banner .btn:hover { background: var(--navy-800); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #9fb0c9; font-size: 0.94rem; }
.footer-grid {
  max-width: var(--max); margin: 0 auto; padding: 60px 22px 36px;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 40px;
}
.site-footer h2 {
  color: var(--white); font-size: 0.86rem; letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 1rem;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: #c3cfe2; }
.site-footer a:hover { color: var(--green); }
.footer-brand img { width: 54px; height: 54px; margin-bottom: 14px; }
.footer-bottom { border-top: 1px solid var(--glass-line); }
.footer-bottom .wrap {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  padding-top: 20px; padding-bottom: 20px; font-size: 0.84rem;
}

/* ---------- Mobile sticky call bar ---------- */
.mobile-call-bar {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 120;
  background: rgba(7, 13, 26, 0.96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--glass-line); padding: 10px 14px;
  gap: 10px;
}
.mobile-call-bar .btn { flex: 1; padding: 12px 10px; font-size: 0.95rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .main-nav a { padding: 9px 9px; font-size: 0.88rem; }
  .article-layout { grid-template-columns: 1fr; }
  .article-aside { position: static; }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; margin-left: auto; }
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--navy-950); border-bottom: 1px solid var(--glass-line);
    padding: 12px 22px 18px; margin: 0;
  }
  .nav-open .main-nav { display: block; }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .main-nav a { font-size: 1.02rem; padding: 12px 8px; }
  .header-cta .btn { display: none; }
  /* mobile accordion sub-nav */
  .main-nav .has-sub { position: static; }
  .sub-toggle { width: 100%; justify-content: space-between; font-size: 1.02rem; padding: 12px 8px; }
  .main-nav .sub-menu {
    position: static; min-width: 0; opacity: 1; visibility: hidden; transform: none;
    background: rgba(255, 255, 255, 0.03); border: none; border-radius: 8px;
    box-shadow: none; padding: 2px 0 6px 14px; margin: 0 0 4px;
    max-height: 0; overflow: hidden; transition: max-height 0.25s ease, visibility 0.25s ease;
  }
  .sub-toggle[aria-expanded="true"] + .sub-menu { visibility: visible; max-height: 420px; }
  .main-nav .sub-menu a { font-size: 0.98rem; padding: 10px 8px; }
  .hero-inner { grid-template-columns: 1fr; padding: 56px 22px 50px; gap: 36px; }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .quote-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; padding: 46px 22px 30px; }
  .mobile-call-bar { display: flex; }
  body { padding-bottom: 64px; }
  .section { padding: 54px 0; }
}

@media (max-width: 600px) {
  .header-cta { display: none; }
}

@media (max-width: 560px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .lead-form .form-row, .lead-form .form-row-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .badge-row img { width: 70px; height: 70px; }
  .solution-tile { min-height: 104px; font-size: 0.95rem; }
  .header-cta .phone-link { font-size: 0.9rem; }
}

@media (max-width: 380px) {
  .grid-4 { grid-template-columns: 1fr; }
}

/* Mobile overflow guards: prevent horizontal scroll from long words and wide tables */
h1, h2, h3, h4 { overflow-wrap: break-word; }
main table { display: block; overflow-x: auto; max-width: 100%; }
