/* ============================================================
   INFRAYAR GmbH – Garten- & Landschaftsbau / Tiefbau Duisburg
   Farben aus dem Logo: Navy #1B3B5C, Bordeaux #75282A
   ============================================================ */

:root {
  --navy: #1B3B5C;
  --navy-dark: #132c45;
  --navy-light: #2d557d;
  --red: #75282A;
  --red-dark: #5d1f21;
  --red-light: #8f3739;

  --bg: #ffffff;
  --bg-soft: #f5f7f9;
  --bg-alt: #eef2f6;
  --text: #20272f;
  --muted: #5d6873;
  --line: #e3e8ee;
  --white: #ffffff;
  --wa: #25D366;
  --wa-dark: #1da851;

  --shadow-sm: 0 1px 3px rgba(19, 44, 69, .07), 0 1px 2px rgba(19, 44, 69, .05);
  --shadow-md: 0 6px 22px rgba(19, 44, 69, .10);
  --shadow-lg: 0 18px 50px rgba(19, 44, 69, .16);

  --radius: 12px;
  --radius-lg: 18px;
  --maxw: 1180px;
  --header-h: 84px;

  --font: "Segoe UI", system-ui, -apple-system, "Roboto", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 10px); }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { line-height: 1.18; font-weight: 700; color: var(--navy); letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.3rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { color: var(--text); }

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

.section { padding: 84px 0; }
.section--soft { background: var(--bg-soft); }
.section--alt { background: var(--bg-alt); }
.section--navy { background: var(--navy); color: #dce6f1; }
.section--navy h2, .section--navy h3 { color: #fff; }

/* ---------- Eyebrow + headings ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--red); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--red); display: inline-block; }
.section-head { max-width: 720px; margin-bottom: 50px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { color: var(--muted); margin-top: 14px; font-size: 1.08rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 10px; font-weight: 600; font-size: 1rem;
  cursor: pointer; border: 2px solid transparent; transition: transform .15s ease, background .2s, box-shadow .2s, color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--red); color: #fff; box-shadow: 0 6px 18px rgba(117,40,42,.28); }
.btn--primary:hover { background: var(--red-dark); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-dark); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--navy); background: #fff; }
.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 6px 18px rgba(37,211,102,.30); }
.btn--wa:hover { background: var(--wa-dark); }
.btn--white { background: #fff; color: var(--navy); }
.btn--white:hover { background: #eef2f6; }
.btn--lg { padding: 17px 34px; font-size: 1.06rem; }
.ico { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ico.solid { fill: currentColor; stroke: none; }
.btn .ico { width: 19px; height: 19px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 20px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 54px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 10px 14px; font-weight: 600; font-size: .98rem; color: var(--navy);
  border-radius: 8px; transition: background .18s, color .18s; position: relative; white-space: nowrap;
}
.nav a:hover { background: var(--bg-alt); }
.nav a.active { color: var(--red); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.header-phone {
  display: inline-flex; align-items: center; gap: 9px; font-weight: 700; color: var(--navy);
  padding: 9px 12px; border-radius: 9px;
}
.header-phone:hover { background: var(--bg-alt); }
.header-phone .ico { width: 18px; height: 18px; color: var(--red); }
.header-phone small { display: block; font-size: .68rem; font-weight: 600; color: var(--muted); letter-spacing: .04em; }

.site-nav-mobile { display: none; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 2.5px; background: var(--navy); margin: 5px 0; border-radius: 2px; transition: .25s; }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(19,44,69,.93) 0%, rgba(19,44,69,.80) 42%, rgba(19,44,69,.42) 100%);
}
.hero-inner { position: relative; z-index: 1; padding: clamp(70px, 11vw, 140px) 0; max-width: 720px; }
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero h1 .accent { color: #fff; border-bottom: 4px solid var(--red); padding-bottom: 2px; }
.hero p { font-size: 1.2rem; color: #e3ebf3; margin-bottom: 34px; max-width: 600px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 38px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 12px 26px; }
.hero-badge { display: flex; align-items: center; gap: 10px; font-size: .96rem; color: #dce6f1; font-weight: 500; }
.hero-badge .ico { width: 22px; height: 22px; color: #fff; flex-shrink: 0; }
.hero-logo-img { width: min(280px, 70%); height: auto; margin-bottom: 24px; display: block; filter: drop-shadow(0 2px 10px rgba(0,0,0,.35)); }
.hero .eyebrow::before { display: none; }

/* Hero-Variante: Logo statt Foto (heller Hintergrund mit Bordeaux-Akzent) */
.hero--logo {
  color: var(--text);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(55% 75% at 88% 12%, rgba(117,40,42,.08), transparent 62%),
    radial-gradient(55% 80% at 8% 95%, rgba(27,59,92,.09), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #eef2f7 100%);
}
.hero--logo .hero-inner { max-width: 780px; margin: 0 auto; text-align: center; padding: clamp(50px, 8vw, 92px) 0; }
.hero-logo { width: min(300px, 62%); height: auto; margin: 0 auto 14px; display: block; }
.hero-wordmark { font-size: clamp(2rem, 6vw, 3.1rem); font-weight: 700; letter-spacing: .03em; line-height: 1; margin: 0 0 22px; }
.hero-wordmark .wm-accent { color: var(--red); }
.hero-wordmark span { color: var(--navy); }
.hero-wordmark .wm-sub { font-size: .5em; font-weight: 700; letter-spacing: .04em; vertical-align: baseline; margin-left: .35em; }
.hero--logo .eyebrow { justify-content: center; color: var(--red); }
.hero--logo h1 { color: var(--navy); }
.hero--logo h1 .accent { color: var(--navy); border-bottom-color: var(--red); }
.hero--logo p { color: var(--muted); margin-left: auto; margin-right: auto; }
.hero--logo .hero-actions { justify-content: center; }
.hero--logo .hero-badges { justify-content: center; }
.hero--logo .hero-badge { color: var(--navy); }
.hero--logo .hero-badge .ico { color: var(--red); }

/* ---------- Service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .22s ease, box-shadow .22s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-media { aspect-ratio: 16/11; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-media img { transform: scale(1.06); }
.card-body { padding: 24px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.card-icon {
  width: 46px; height: 46px; border-radius: 11px; background: rgba(117,40,42,.10);
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.card-icon .ico { width: 24px; height: 24px; color: var(--red); }
.card h3 { margin-bottom: 9px; }
.card p { color: var(--muted); font-size: .98rem; margin-bottom: 16px; }
.card-link { margin-top: auto; font-weight: 700; color: var(--red); font-size: .95rem; display: inline-flex; align-items: center; gap: 7px; }
.card-link .ico { width: 16px; height: 16px; transition: transform .2s; }
.card:hover .card-link .ico { transform: translateX(4px); }
.badge-soft {
  align-self: flex-start; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--navy); background: var(--bg-alt); padding: 5px 11px; border-radius: 20px; margin-bottom: 14px;
}

/* ---------- USP / Features ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature { text-align: left; }
.feature-ico {
  width: 54px; height: 54px; border-radius: 13px; background: #fff; box-shadow: var(--shadow-sm);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.feature-ico .ico { width: 27px; height: 27px; color: var(--navy); }
.feature h3 { font-size: 1.1rem; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: .95rem; }

/* ---------- Before/After slider ---------- */
.ba-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.ba {
  position: relative; width: 100%; aspect-ratio: 4/3; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-md); user-select: none; touch-action: pan-y; cursor: ew-resize; background: #ccc;
}
.ba .ba-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba .ba-top { clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 3px; background: #fff; transform: translateX(-50%); box-shadow: 0 0 8px rgba(0,0,0,.35); pointer-events: none; }
.ba-knob {
  position: absolute; top: 50%; left: var(--pos, 50%); transform: translate(-50%, -50%);
  width: 46px; height: 46px; border-radius: 50%; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.3);
  display: flex; align-items: center; justify-content: center; pointer-events: none;
}
.ba-knob .ico { width: 24px; height: 24px; color: var(--navy); }
.ba-tag {
  position: absolute; top: 14px; font-size: .76rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: #fff; background: rgba(19,44,69,.78); padding: 5px 12px; border-radius: 20px; pointer-events: none;
}
.ba-tag.before { left: 14px; }
.ba-tag.after { right: 14px; background: rgba(117,40,42,.85); }
.ba-caption { margin-top: 16px; font-weight: 600; color: var(--navy); }
.ba-caption span { display: block; font-weight: 400; color: var(--muted); font-size: .95rem; }

/* ---------- Split / about ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.split-media.tall img { aspect-ratio: 3/4; }
.list-check { list-style: none; margin: 24px 0; display: grid; gap: 13px; }
.list-check li { display: flex; align-items: flex-start; gap: 12px; color: var(--text); }
.list-check .ico { width: 22px; height: 22px; color: var(--red); flex-shrink: 0; margin-top: 3px; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; text-align: center; }
.stat .num { font-size: 2.6rem; font-weight: 700; color: #fff; line-height: 1; }
.stat .lbl { color: #b8c6d6; font-size: .96rem; margin-top: 8px; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery a { border-radius: var(--radius); overflow: hidden; aspect-ratio: 1/1; box-shadow: var(--shadow-sm); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery a:hover img { transform: scale(1.08); }

/* ---------- Referenzen: Gruppen mit horizontalem Scroll ---------- */
.ref-group { margin-bottom: 40px; }
.ref-group:last-of-type { margin-bottom: 0; }
.ref-group-title { display: flex; align-items: center; gap: 11px; font-size: 1.2rem; font-weight: 700; color: var(--navy); margin-bottom: 16px; }
.ref-group-title::before { content: ""; width: 24px; height: 3px; background: var(--red); border-radius: 2px; }
.ref-strip { display: flex; gap: 14px; overflow-x: auto; padding: 4px 2px 16px; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: #c2ccd6 var(--bg-alt); }
.ref-strip::-webkit-scrollbar { height: 8px; }
.ref-strip::-webkit-scrollbar-track { background: var(--bg-alt); border-radius: 4px; }
.ref-strip::-webkit-scrollbar-thumb { background: #c2ccd6; border-radius: 4px; }
.ref-item { flex: 0 0 auto; width: clamp(240px, 80vw, 310px); height: 225px; border: none; padding: 0; margin: 0; border-radius: var(--radius); overflow: hidden; cursor: pointer; scroll-snap-align: start; box-shadow: var(--shadow-sm); background: var(--bg-alt); }
.ref-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; display: block; }
.ref-item:hover img { transform: scale(1.06); }

/* ---------- Lightbox ---------- */
.lb-overlay { position: fixed; inset: 0; z-index: 1000; background: rgba(12,14,18,.93); display: none; align-items: center; justify-content: center; }
.lb-overlay.open { display: flex; }
.lb-img { max-width: 92vw; max-height: 86vh; border-radius: 8px; box-shadow: 0 12px 50px rgba(0,0,0,.55); }
.lb-btn { position: fixed; background: rgba(255,255,255,.14); color: #fff; border: none; cursor: pointer; border-radius: 50%; display: flex; align-items: center; justify-content: center; line-height: 1; transition: background .2s; }
.lb-btn:hover { background: rgba(255,255,255,.30); }
.lb-close { top: 18px; right: 20px; width: 44px; height: 44px; font-size: 22px; }
.lb-nav { top: 50%; transform: translateY(-50%); width: 50px; height: 50px; font-size: 30px; }
.lb-prev { left: 16px; } .lb-next { right: 16px; }
@media (max-width: 600px) { .lb-nav { width: 42px; height: 42px; font-size: 24px; } }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy); color: #fff; border-radius: var(--radius-lg); padding: 52px 48px; }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: #c6d4e3; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-sm); }
.contact-row { display: flex; align-items: flex-start; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-row:last-child { border-bottom: none; }
.contact-ico { width: 46px; height: 46px; border-radius: 11px; background: var(--bg-alt); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-ico .ico { width: 22px; height: 22px; color: var(--navy); }
.contact-row .lbl { font-size: .82rem; color: var(--muted); font-weight: 600; }
.contact-row .val { font-weight: 600; color: var(--navy); font-size: 1.05rem; }
.contact-row a.val:hover { color: var(--red); }

/* ---------- Form ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .88rem; font-weight: 600; color: var(--navy); }
.field input, .field textarea, .field select {
  font-family: inherit; font-size: 1rem; padding: 13px 15px; border: 1.5px solid var(--line);
  border-radius: 10px; background: #fff; color: var(--text); transition: border .18s, box-shadow .18s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(27,59,92,.12);
}
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 4px; }

/* ---------- Page hero (subpages) ---------- */
.page-hero { background: var(--navy); color: #fff; padding: 64px 0 56px; position: relative; }
.page-hero h1 { color: #fff; margin-bottom: 12px; }
.page-hero p { color: #c6d4e3; max-width: 640px; font-size: 1.1rem; }
.breadcrumb { font-size: .9rem; color: #9fb3c8; margin-bottom: 18px; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { margin: 0 8px; opacity: .6; }

/* ---------- Service detail blocks ---------- */
.svc { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 60px 0; border-bottom: 1px solid var(--line); }
.svc:last-child { border-bottom: none; }
.svc.reverse .svc-media { order: 2; }
.svc-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.svc h2 { font-size: 1.7rem; margin-bottom: 14px; }
.svc .eyebrow { margin-bottom: 10px; }

/* ---------- Prose ---------- */
.prose { max-width: 820px; }
.prose h2 { margin: 36px 0 14px; font-size: 1.5rem; }
.prose h3 { margin: 26px 0 10px; }
.prose p { margin-bottom: 16px; color: var(--text); }
.prose ul { margin: 0 0 18px 22px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--red); font-weight: 600; }
.prose a:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); color: #aebfd0; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 38px; margin-bottom: 44px; }
.footer-brand img { height: 52px; margin-bottom: 18px; }
.footer-brand p { color: #93a6bb; font-size: .96rem; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; letter-spacing: .02em; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer ul a { color: #aebfd0; font-size: .96rem; }
.footer ul a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; color: #aebfd0; font-size: .96rem; margin-bottom: 10px; }
.footer-contact .ico { width: 18px; height: 18px; color: #7e93aa; flex-shrink: 0; margin-top: 3px; }
.footer-social { display: flex; gap: 12px; margin-top: 8px; }
.footer-social a { width: 40px; height: 40px; border-radius: 9px; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; transition: background .2s; }
.footer-social a:hover { background: var(--red); }
.footer-social .ico { width: 20px; height: 20px; color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .9rem; color: #8298ae; }
.footer-bottom a:hover { color: #fff; }
.footer-bottom .links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-credit { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.10); font-size: .85rem; color: #8298ae; }
.footer-credit .we24 { color: #b9c7d6; display: inline-flex; align-items: center; transition: color .2s; }
.footer-credit .we24:hover { color: #fff; }
.footer-credit .we24-logo { height: 30px; width: auto; display: block; }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 60px; height: 60px; border-radius: 50%; background: var(--wa);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,.45); transition: transform .2s;
  animation: wa-pulse 2.6s infinite;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float .ico { width: 33px; height: 33px; color: #fff; }
@keyframes wa-pulse {
  0% { box-shadow: 0 8px 24px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,.5); }
  70% { box-shadow: 0 8px 24px rgba(37,211,102,.45), 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 8px 24px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,0); }
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .split, .svc, .svc.reverse { grid-template-columns: 1fr; gap: 30px; }
  .svc.reverse .svc-media { order: 0; }
  .split-media { order: -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

@media (max-width: 760px) {
  .nav, .header-phone, .header-cta { display: none; }
  .nav-toggle { display: block; }
  .site-nav-mobile {
    position: fixed; inset: var(--header-h) 0 auto 0; background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md); transform: translateY(-120%); transition: transform .3s ease; z-index: 99;
    padding: 14px 22px 22px; display: flex; flex-direction: column; gap: 4px;
  }
  .site-nav-mobile.open { transform: translateY(0); }
  .site-nav-mobile a:not(.btn) { padding: 13px 10px; font-weight: 600; color: var(--navy); border-bottom: 1px solid var(--bg-alt); }
  .site-nav-mobile .btn { margin-top: 12px; }
  .ba-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 38px 26px; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
  .footer-bottom { flex-direction: column; }
  .form-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  body { font-size: 16px; }
}

@media (max-width: 540px) {
  .cards { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .hero-actions .btn { flex: 1; }
}
