/* =====================================================
   SEO Toronto Pro — v2 design system (shared)
   Tokens, typography, topbar, hero, content sections,
   footer. One stylesheet referenced by every page.
   ===================================================== */

:root {
  --red: #e63946;
  --red-dark: #c1121f;
  --ink: #0c1426;
  --ink-2: #1f2a44;
  --muted: #5a6478;
  --line: #e6eaf2;
  --bg: #ffffff;
  --bg-soft: #f6f8fc;
  --shadow-sm: 0 6px 18px -8px rgba(12,20,38,0.18);
  --shadow-md: 0 20px 50px -25px rgba(12,20,38,0.22);
  --radius: 12px;
  --radius-lg: 16px;
  --container: 1200px;
  --font: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-display: 'Poppins', var(--font);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--red); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.18;
  margin: 0 0 .5em;
  font-weight: 700;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(36px, 5vw, 60px); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(26px, 3.2vw, 38px); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }
p  { margin: 0 0 1em; color: var(--muted); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.skip-link { position: absolute; left: -9999px; top: 0; background: #000; color: #fff; padding: 8px 12px; z-index: 10000; }
.skip-link:focus { left: 12px; top: 12px; }

/* ========== TOPBAR / NAV ========== */
.topbar {
  position: absolute; top: 0; left: 0; right: 0; z-index: 10;
  padding: 22px 0;
  background: transparent;
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-right: clamp(24px, 6vw, 80px);
}
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { display: block; height: 56px; width: auto; }

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  border: none; background: transparent;
  padding: 10px; cursor: pointer;
  flex-direction: column; justify-content: center; gap: 5px;
}
.menu-toggle span {
  display: block; height: 2.5px; width: 100%;
  background: var(--ink); border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.menu-toggle.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.nav {
  display: flex; align-items: center; gap: 24px;
  list-style: none; padding: 0; margin: 0;
  flex-wrap: nowrap;
}
.nav > li { position: relative; }
.nav a {
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px;
  position: relative; padding: 6px 0; display: inline-block;
}
.nav a.is-active::after,
.nav a.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--red); border-radius: 2px;
}
.nav a:hover { color: var(--red); }

/* Services dropdown */
.nav .has-sub > a::after {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  margin-left: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  vertical-align: middle;
}
.nav .has-sub > ul {
  display: none;
  position: absolute; top: 100%; left: -16px;
  min-width: 240px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 8px; margin: 8px 0 0;
  list-style: none;
  z-index: 20;
}
.nav .has-sub > ul::before {
  content: ''; position: absolute; left: 0; right: 0; top: -8px; height: 8px;
}
@media (min-width: 1081px) {
  .nav .has-sub:hover > ul,
  .nav .has-sub:focus-within > ul { display: block; }
}
.nav .has-sub > ul a {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
}
.nav .has-sub > ul a:hover { background: var(--bg-soft); color: var(--red); }

.nav-cta {
  background: var(--red); color: #fff !important; padding: 14px 30px; border-radius: 6px;
  font-weight: 700; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 14px;
  white-space: nowrap; flex-shrink: 0;
  box-shadow: 0 6px 14px -6px rgba(230,57,70,0.55);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.nav-cta:hover { background: var(--red-dark); transform: translateY(-1px); box-shadow: 0 10px 20px -6px rgba(230,57,70,0.6); }
.nav-cta .arr { display: inline-block; width: 14px; height: 10px; flex-shrink: 0; transition: transform .15s ease; }
.nav-cta:hover .arr { transform: translateX(2px); }

/* ========== HERO ========== */
.hero { position: relative; padding: 0 0 80px; }
.hero-stage {
  position: relative; overflow: hidden;
  background: #0c1426;
  min-height: 640px;
}
.hero-stage img.bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center right;
  z-index: 0;
}
.hero-stage-inner {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 580px) 1fr;
  padding: 160px 24px 80px;
  min-height: 640px;
  align-items: center;
}
.hero-stage.is-narrow { min-height: 480px; }
.hero-stage.is-narrow .hero-stage-inner {
  min-height: 480px;
  padding: 150px 24px 60px;
  grid-template-columns: 1fr;
  text-align: center;
}
.hero-stage.is-narrow .hero-stage-inner .hero-copy { margin: 0 auto; max-width: 820px; }

.eyebrow-strip {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(230,57,70,0.08); color: var(--red);
  padding: 6px 14px; border-radius: 999px;
  font-weight: 700; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 22px;
}
.eyebrow-strip .dot { width: 6px; height: 6px; background: var(--red); border-radius: 50%; }

.hero h1 {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
  color: var(--ink);
}
.hero h1 .accent { color: var(--red); }
.hero p.lead {
  font-size: 17px; color: var(--muted); max-width: 540px; margin: 0 0 32px;
}
.hero-stage.is-narrow .hero p.lead { margin-left: auto; margin-right: auto; }

.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stage.is-narrow .cta-row { justify-content: center; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 8px;
  font-weight: 700; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.btn-primary {
  background: var(--red); color: #fff;
  box-shadow: 0 6px 20px rgba(230,57,70,0.32);
}
.btn-primary:hover { background: var(--red-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 28px rgba(230,57,70,0.4); }
.btn-outline {
  background: #fff; color: var(--ink); border-color: var(--line);
}
.btn-outline:hover { border-color: var(--red); color: var(--red); }
.btn-wide { width: 100%; justify-content: center; padding: 16px 24px; }
.btn .arr { display: inline-block; flex-shrink: 0; transition: transform .15s ease; }
.btn:hover .arr { transform: translateX(2px); }

/* ========== STATS BAR (homepage) ========== */
.stats {
  margin-top: -60px;
  position: relative; z-index: 3;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 20px 50px -25px rgba(12,20,38,0.18);
  padding: 28px 32px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.stat { display: flex; align-items: center; gap: 16px; }
.stat-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(230,57,70,0.10); color: var(--red);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.stat-icon svg { width: 22px; height: 22px; }
.stat-num {
  font-family: 'Poppins', sans-serif; font-weight: 800;
  font-size: 26px; line-height: 1; color: var(--ink);
}
.stat-num .red { color: var(--red); }
.stat-label { font-size: 13px; color: var(--muted); margin-top: 6px; }

/* ========== Sections ========== */
.section { padding: 90px 0; }
.section-alt { background: var(--bg-soft); }
.eyebrow {
  display: inline-block;
  font-family: var(--font-display); font-weight: 700;
  color: var(--red);
  letter-spacing: 0.12em; font-size: 12px; margin: 0 0 14px;
  text-transform: uppercase;
}
.eyebrow.center { display: block; text-align: center; }
.section-title { text-align: center; max-width: 820px; margin: 0 auto .35em; }
.section-title.left { text-align: left; max-width: none; margin-left: 0; }
.section-lead { text-align: center; max-width: 720px; margin: 0 auto 48px; color: var(--muted); font-size: 17px; }

/* Generic lead paragraph (used inside content sections, not the hero) */
.contact-copy .lead,
.grow-copy .lead,
p.lead:not(.hero p) {
  font-size: 17px; color: var(--muted); max-width: 540px; margin: 0 0 24px;
}
.contact-copy .eyebrow,
.grow-copy .eyebrow { color: var(--red); }

/* Generic content prose */
.prose { max-width: 820px; margin: 0 auto; }
.prose p { font-size: 16px; color: var(--muted); margin: 0 0 1.1em; }
.prose h2 { margin-top: 1.4em; }
.prose h3 { margin-top: 1.4em; }
.prose a { color: var(--red); }
.prose ul { padding-left: 22px; color: var(--muted); }
.prose ul li { margin-bottom: 8px; }

/* ========== Check grid (re-used by city + service "Why it matters") ========== */
.check-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 40px;
  margin-top: 40px;
}
.check-item {
  display: flex; gap: 16px; align-items: flex-start;
}
.check-icon {
  flex: none;
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--red);
}
.check-icon svg { width: 32px; height: 32px; }
.check-item h4 {
  margin: 4px 0 6px;
  color: var(--ink);
  font-size: 1.02rem;
}
.check-item p {
  margin: 0;
  font-size: .94rem;
  color: var(--muted);
  line-height: 1.55;
}

/* ========== Stage grid (process steps) ========== */
.stage-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 28px;
  margin-top: 40px;
}
.stage-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.stage-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(230,57,70,0.4); }
.stage-card h4 { color: var(--ink); margin-bottom: 10px; font-size: 1.08rem; }
.stage-card p { color: var(--muted); font-size: .94rem; line-height: 1.55; margin: 0; }
.stage-icon {
  width: 56px; height: 56px;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  background: rgba(230,57,70,0.08);
  color: var(--red);
  border-radius: 12px;
}
.stage-icon img {
  width: 100%; height: 100%;
  object-fit: contain; border-radius: 12px;
}
.stage-outro {
  text-align: center; max-width: 820px;
  margin: 50px auto 0;
  color: var(--muted);
  font-size: 16px;
}

/* ========== Services card grid (homepage) ========== */
.service-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-top: 40px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  text-decoration: none;
  color: inherit;
  display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(230,57,70,0.4); }
.service-card .service-ic {
  width: 48px; height: 48px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(230,57,70,0.1);
  color: var(--red);
  border-radius: 12px;
  margin-bottom: 16px;
}
.service-card h3 { font-size: 1.1rem; margin: 0 0 10px; color: var(--ink); }
.service-card p { font-size: .94rem; color: var(--muted); margin: 0 0 14px; flex: 1; line-height: 1.55; }
.service-card .learn {
  color: var(--red); font-weight: 700; font-size: 13px; letter-spacing: 0.04em;
  text-transform: uppercase; display: inline-flex; align-items: center; gap: 6px;
}
.service-card .learn .arr { transition: transform .15s ease; }
.service-card:hover .learn .arr { transform: translateX(3px); }

/* Floaty animation (preserved for legacy hero/contact illustrations) */
.floaty { animation: floaty 6s ease-in-out infinite; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* 404 / popular pages grid */
.case-overview-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-top: 40px;
}
.case-overview-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
}
.case-overview-card h4 {
  margin: 0 0 8px;
  color: var(--red); font-size: .8rem;
  text-transform: uppercase; letter-spacing: .06em;
}
.case-overview-card p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.55; }
.case-overview-card a { color: var(--red); }
@media (max-width: 1080px) {
  .case-overview-grid { grid-template-columns: 1fr; }
}

/* ========== Legacy two-column grids (used by city + about pages) ========== */
.grow-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.grow-art img {
  width: 100%; height: auto; max-width: 460px;
  border-radius: var(--radius-lg);
  margin: 0 auto;
}
.grow-copy p { font-size: 16px; color: var(--muted); line-height: 1.6; }
@media (max-width: 1080px) {
  .grow-grid { grid-template-columns: 1fr; gap: 40px; }
  .grow-art { order: 2; max-width: 380px; margin: 0 auto; }
}

/* ========== Two-column feature (image + checklist) ========== */
.feature-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
  margin-top: 30px;
}
.feature-art img {
  display: block;
  width: 100%; max-width: 540px; height: auto;
  margin: 0 auto;
}
.checklist { list-style: none; padding: 0; margin: 24px 0 0; }
.checklist li {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 10px 0;
  font-weight: 500; color: var(--ink);
  font-size: 1rem;
  line-height: 1.45;
}
.checklist li::before {
  content: ''; flex: none; margin-top: 2px;
  width: 22px; height: 22px; border-radius: 999px;
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M5 12l5 5 9-11' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/70% no-repeat,
    var(--red);
  box-shadow: 0 4px 10px rgba(230,57,70,0.35);
}

/* ========== Cities grid ========== */
.cities-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 14px; margin-top: 32px;
}
.cities-grid a {
  display: block; padding: 18px 20px; text-align: center;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--font-display); font-weight: 600; font-size: .95rem;
  color: var(--ink);
  transition: transform .15s ease, border-color .15s ease, color .15s ease;
}
.cities-grid a:hover {
  border-color: var(--red); color: var(--red);
  transform: translateY(-2px);
}

/* ========== FAQ accordion ========== */
.faq-list {
  max-width: 880px; margin: 40px auto 0;
  display: grid; gap: 12px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display); font-weight: 600;
  color: var(--ink); font-size: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; flex: none;
  width: 26px; height: 26px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--red); color: #fff;
  border-radius: 50%;
  font-weight: 700; font-size: 1.1rem;
  transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-answer {
  padding: 0 22px 18px;
  color: var(--muted);
  font-size: .96rem;
  line-height: 1.6;
}
.faq-item .faq-answer p { margin: 0 0 .8em; }
.faq-item .faq-answer p:last-child { margin: 0; }

/* ========== Contact form ========== */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center;
}
.contact-art img {
  width: 100%; height: auto; max-width: 460px;
  border-radius: var(--radius-lg);
  margin: 0 auto;
}
.contact-form { display: grid; gap: 14px; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form input,
.contact-form textarea {
  width: 100%; padding: 14px 18px; font: inherit; color: var(--ink);
  border: 1px solid var(--line); border-radius: 10px;
  background: #fff; transition: border-color .15s ease, box-shadow .15s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none; border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(230,57,70,0.16);
}
.contact-form textarea { resize: vertical; min-height: 140px; }
.form-status { margin: 0; font-size: .9rem; }
.form-status.ok { color: #16a34a; }
.form-status.err { color: #ef4444; }

/* ========== Contact cards (contact page) ========== */
.contact-cards-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-top: 32px;
}
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(230,57,70,0.4); }
.contact-card-icon {
  width: 64px; height: 64px;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  background: rgba(230,57,70,0.08);
  color: var(--red);
  border-radius: 14px;
}
.contact-card h4 { font-size: 1.05rem; margin: 0 0 10px; }
.contact-card p, .contact-card a { font-size: .95rem; color: var(--muted); }
.contact-card a:hover { color: var(--red); }
.contact-card .btn { margin-top: 14px; }

.map-wrap iframe {
  display: block; width: 100%; height: 380px; border: 0; border-radius: var(--radius-lg);
}

/* ========== FOOTER ========== */
.site-footer {
  background: #0c1426;
  color: #b9bdd6;
  padding: 72px 0 0;
  position: relative;
}
.site-footer h5 {
  color: #fff; font-family: var(--font-display); font-weight: 700;
  font-size: 1rem; margin: 0 0 18px;
  letter-spacing: 0.02em;
}
.site-footer p { color: #b9bdd6; font-size: .92rem; line-height: 1.55; }
.site-footer a { color: #b9bdd6; }
.site-footer a:hover { color: var(--red); }
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 36px;
  padding-bottom: 50px;
}
.site-footer .logo { display: inline-flex; margin-bottom: 16px; }
.site-footer .logo img { height: 48px; width: auto; filter: brightness(0) invert(1); }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 12px; font-size: .92rem; line-height: 1.5; }
.footer-col ul:not(.contact-list) li {
  position: relative; padding-left: 18px;
}
.footer-col ul:not(.contact-list) li::before {
  content: ''; position: absolute; left: 0; top: .55em;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--red);
}
.contact-list li {
  display: flex; align-items: flex-start; gap: 12px;
  margin-bottom: 12px;
  padding-left: 0;
}
.contact-list li::before { display: none; }
.contact-list .ico {
  flex: none;
  width: 22px; height: 22px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--red);
}
.contact-list .ico svg { width: 16px; height: 16px; display: block; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 22px 0;
  text-align: center;
}
.footer-bottom p { margin: 0; color: #98a0c0; font-size: .88rem; }

/* ========== Back to top ========== */
.back-to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 60;
  width: 48px; height: 48px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; cursor: pointer;
  background: var(--red);
  color: #fff; border-radius: 999px;
  box-shadow: 0 8px 20px rgba(230,57,70,.35);
  opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease, background .15s ease;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background: var(--red-dark); transform: translateY(-3px); }

/* ========== Legal prose (privacy / terms / 404) ========== */
.legal { max-width: 820px; margin: 0 auto; }
.legal h2 { font-size: 1.4rem; margin-top: 1.8em; }
.legal p, .legal li { color: var(--muted); font-size: 1rem; line-height: 1.65; }
.legal ul { padding-left: 22px; }

/* ========== Toronto clients strip ========== */
.clients-strip {
  padding: 56px 0 48px;
  background: #ffffff;
}
.clients-strip-title {
  text-align: center;
  font-size: 17px;
  color: var(--ink);
  margin: 0 0 36px;
  font-weight: 600;
}
.clients-strip-title .accent { color: var(--red); }
.clients-strip-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  gap: 28px 48px;
}
.clients-strip-grid img {
  display: block;
  height: 44px;
  width: auto;
  max-width: 180px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1080px) {
  .hero-stage { min-height: 560px; }
  .hero-stage-inner { grid-template-columns: 1fr; padding: 130px 24px 60px; min-height: 560px; }
  .hero-stage img.bg { object-position: 40% 50%; }
  .hero-stage::after {
    content: ''; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.80) 55%, rgba(255,255,255,0.45) 100%);
  }
  .hero p.lead { color: #0c1426; }
  .menu-toggle { display: flex; }
  .nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #ffffff;
    padding: 12px clamp(20px, 4vw, 56px) 20px;
    box-shadow: 0 16px 40px -10px rgba(12,20,38,0.18);
    border-top: 1px solid var(--line);
  }
  .nav.is-open { display: flex; }
  .nav > li { width: 100%; }
  .nav a {
    padding: 14px 4px; font-size: 16px;
    border-bottom: 1px solid var(--line);
    display: block;
  }
  .nav > li:last-child > a { border-bottom: none; }
  .nav a.is-active::after,
  .nav a.active::after { display: none; }
  .nav a.is-active,
  .nav a.active { color: var(--red); }
  .nav .has-sub > a::after { display: none; }
  /* On mobile, dropdown becomes flat collapsed list under the parent */
  .nav .has-sub > ul {
    display: block;
    position: static;
    box-shadow: none;
    border: none;
    border-radius: 0;
    margin: 0;
    padding: 0 0 8px 16px;
    min-width: 0;
    background: transparent;
  }
  .nav .has-sub > ul a {
    padding: 10px 6px;
    font-size: 14px;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
  }
  .nav-cta {
    margin-top: 12px; justify-content: center;
    padding: 14px 22px !important;
    border-bottom: none !important;
  }
  .stats { grid-template-columns: repeat(2, 1fr); margin-top: -40px; }
  .check-grid { grid-template-columns: repeat(2, 1fr); }
  .stage-grid { grid-template-columns: repeat(2, 1fr); }
  .service-cards { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: 1fr; gap: 36px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .cities-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .section { padding: 70px 0; }
}
@media (max-width: 640px) {
  .stats { grid-template-columns: 1fr; margin-top: -30px; }
  .check-grid { grid-template-columns: 1fr; }
  .stage-grid { grid-template-columns: 1fr; }
  .service-cards { grid-template-columns: 1fr; }
  .cities-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-form .row { grid-template-columns: 1fr; }
  .contact-cards-grid { grid-template-columns: 1fr; }
  .clients-strip-grid { gap: 22px 28px; }
  .clients-strip-grid img { height: 32px; max-width: 130px; }
}
@media (max-width: 520px) {
  .hero h1 { font-size: 38px; }
  .hero-stage-inner { padding: 110px 20px 50px; }
}
