/* ==========================================================================
   REMTOOL – arkusz stylów
   ========================================================================== */

:root {
  --ink: #0e1a2b;
  --ink-2: #1b2a40;
  --text: #2b3647;
  --muted: #5d6a7d;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --brand: #1f63b0;
  --brand-dark: #154a87;
  --brand-soft: #e8f0fa;
  --accent: #f08a24;
  --accent-dark: #d4730f;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(14, 26, 43, .06), 0 1px 3px rgba(14, 26, 43, .08);
  --shadow: 0 10px 30px -12px rgba(14, 26, 43, .25);
  --container: 1200px;
  --header-h: 76px;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: "Manrope", "Inter", system-ui, sans-serif;
}

/* ---------- Reset / baza ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; transition: color .2s; }
a:hover { color: var(--brand-dark); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; margin: 0 0 .6em; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--ink); color: #c8d2e0; }
.section--dark h2, .section--dark h3 { color: #fff; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 200; border-radius: 6px; }
.skip-link:focus { left: 8px; color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--accent); }
.section--dark .eyebrow, .hero .eyebrow { color: #9cc3f0; }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.lead { font-size: 1.125rem; color: var(--muted); }

/* ---------- Przyciski ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: .95rem; line-height: 1; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px -8px rgba(240, 138, 36, .7); }
.btn--primary:hover { background: var(--accent-dark); color: #fff; }
.btn--brand { background: var(--brand); color: #fff; }
.btn--brand:hover { background: var(--brand-dark); color: #fff; }
.btn--ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--ink); }
.btn--outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--outline:hover { border-color: var(--brand); color: var(--brand); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.link-arrow svg { width: 18px; height: 18px; transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Pasek górny ---------- */
.topbar { background: var(--ink); color: #aab7c9; font-size: .85rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 40px; }
.topbar ul { list-style: none; display: flex; gap: 24px; flex-wrap: wrap; }
.topbar li { display: inline-flex; align-items: center; gap: 8px; }
.topbar svg { width: 15px; height: 15px; color: var(--accent); }
.topbar a { color: #dfe7f2; }
.topbar a:hover { color: #fff; }

/* ---------- Nagłówek ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s, border-color .25s;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.logo img { width: 190px; height: auto; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav__list { list-style: none; display: flex; align-items: center; gap: 2px; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: 8px;
  font-weight: 600; font-size: .95rem; color: var(--ink);
  background: none; border: 0; font-family: inherit; cursor: pointer;
}
.nav__link:hover, .nav__link[aria-current="page"], .nav__link.is-active { color: var(--brand); background: var(--brand-soft); }
.nav__link svg { width: 14px; height: 14px; transition: transform .2s; }
.nav__item { position: relative; }
.nav__item--has-sub:hover > .nav__link svg,
.nav__item--has-sub.is-open > .nav__link svg { transform: rotate(180deg); }
.subnav {
  list-style: none; position: absolute; top: calc(100% + 8px); left: 0; min-width: 260px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow);
  padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.subnav::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.nav__item--has-sub:hover .subnav,
.nav__item--has-sub:focus-within .subnav,
.nav__item--has-sub.is-open .subnav { opacity: 1; visibility: visible; transform: none; }
.subnav a { display: block; padding: 10px 14px; border-radius: 8px; color: var(--ink); font-weight: 500; font-size: .95rem; }
.subnav a:hover, .subnav a[aria-current="page"] { background: var(--brand-soft); color: var(--brand); }
.nav__cta { margin-left: 10px; padding: 12px 20px; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 10px;
  border: 1px solid var(--line); background: #fff; cursor: pointer; padding: 0;
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .25s, background .25s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { 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; color: #fff; overflow: hidden;
  background: var(--ink) url("../../images/slider/1.jpg") center/cover no-repeat;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(10, 20, 35, .94) 0%, rgba(10, 20, 35, .82) 45%, rgba(10, 20, 35, .35) 100%);
}
.hero .container { position: relative; padding-top: clamp(72px, 12vw, 140px); padding-bottom: clamp(72px, 10vw, 120px); }
.hero__content { max-width: 680px; }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p { font-size: 1.15rem; color: #cdd7e5; max-width: 560px; margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.stats { position: relative; z-index: 2; margin-top: -48px; }
.stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
}
.stat { padding: 26px 28px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--font-head); font-size: 1.9rem; font-weight: 800; color: var(--brand); line-height: 1.1; }
.stat span { font-size: .92rem; color: var(--muted); }

/* ---------- Nagłówek podstrony ---------- */
.page-hero {
  position: relative; color: #fff;
  background: var(--ink) url("../../images/bg.jpg") center/cover no-repeat;
}
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 20, 35, .92), rgba(21, 74, 135, .75)); }
.page-hero .container { position: relative; padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(48px, 7vw, 88px); }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 10px; }
.page-hero p { color: #cdd7e5; max-width: 640px; margin: 0; font-size: 1.08rem; }
.breadcrumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; font-size: .88rem; margin-bottom: 16px; color: #9fb0c6; }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: #6f819a; }
.breadcrumbs a { color: #dbe5f2; }
.breadcrumbs a:hover { color: #fff; }

/* ---------- Układy ---------- */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--reverse > :first-child { order: 2; }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; }
.split__media--tall img { aspect-ratio: 4 / 5; }
.badge-float {
  position: absolute; left: -20px; bottom: 28px; background: var(--brand); color: #fff;
  padding: 18px 22px; border-radius: 12px; box-shadow: var(--shadow); max-width: 220px;
}
.badge-float strong { display: block; font-family: var(--font-head); font-size: 2rem; line-height: 1; }
.badge-float span { font-size: .88rem; opacity: .9; }

.checklist { list-style: none; display: grid; gap: 12px; margin: 24px 0; }
.checklist li { position: relative; padding-left: 34px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f63b0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/13px no-repeat;
}
.checklist--cols { grid-template-columns: repeat(2, 1fr); gap: 12px 32px; }

/* ---------- Karty oferty ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; color: var(--text);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; color: var(--text); }
.card__img { position: relative; flex-grow: 1; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft); }
.card__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card__body { flex-grow: 0; }
.card:hover .card__img img { transform: scale(1.05); }
.card__body { padding: 22px 24px 24px; display: flex; flex-direction: column; }
.card__body p { color: var(--muted); font-size: .95rem; flex: 1; }
.card__body .link-arrow { margin-top: 6px; }
.card--feature { grid-column: span 2; }
.card--feature .card__img { aspect-ratio: 16 / 7.5; }

/* ---------- Cechy / wartości ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; }
.section--dark .feature { background: var(--ink-2); border-color: rgba(255, 255, 255, .08); }
.feature__icon {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand); margin-bottom: 18px;
}
.section--dark .feature__icon { background: rgba(240, 138, 36, .12); color: var(--accent); }
.feature__icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.05rem; margin-bottom: 8px; }
.feature p { font-size: .93rem; margin: 0; color: var(--muted); }
.section--dark .feature p { color: #9fb0c6; }

/* ---------- Pas Walter ---------- */
.promo {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 0;
  background: linear-gradient(135deg, #f2f4f7, #e5e9ef); border-radius: 20px; overflow: hidden;
}
.promo__content { padding: clamp(32px, 5vw, 64px); }
.promo__media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Logotypy ---------- */
.logos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.logos__item {
  background: #fff; border: 1px solid var(--line); border-radius: 12px; display: grid; place-items: center;
  padding: 22px 18px; min-height: 92px;
}
.logos__item img { max-height: 46px; width: auto; filter: grayscale(1); opacity: .75; transition: filter .25s, opacity .25s; }
.logos__item:hover img { filter: none; opacity: 1; }

/* ---------- Producenci ---------- */
.toolbar { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-bottom: 28px; }
.search { position: relative; flex: 1; max-width: 420px; min-width: 220px; }
.search input {
  width: 100%; padding: 14px 16px 14px 46px; border: 1px solid var(--line); border-radius: 999px;
  font: inherit; background: #fff; color: var(--ink);
}
.search input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.search svg { position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--muted); }
.toolbar__count { color: var(--muted); font-size: .92rem; }

.brands { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.brand {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px;
  display: flex; flex-direction: column; gap: 16px; transition: box-shadow .25s, border-color .25s, transform .25s;
}
.brand:hover { box-shadow: var(--shadow-sm); border-color: #cfd9e6; transform: translateY(-2px); }
.brand__logo {
  height: 96px; border-radius: 10px; background: #fff; border-bottom: 1px solid var(--line);
  display: grid; place-items: center; overflow: hidden; padding-bottom: 12px;
}
.brand__logo img { max-width: 150px; max-height: 84px; width: auto; height: auto; object-fit: contain; }
.brand h3 { font-size: 1rem; margin-bottom: 4px; }
.brand p { font-size: .9rem; color: var(--muted); margin: 0; }
.brand[hidden] { display: none; }
.empty { display: none; text-align: center; padding: 40px; color: var(--muted); }
.empty.is-visible { display: block; }

/* ---------- Podmenu oferty (zakładki) ---------- */
.subtabs { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: var(--header-h); z-index: 50; }
.subtabs ul { list-style: none; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.subtabs ul::-webkit-scrollbar { display: none; }
.subtabs a {
  display: block; padding: 16px 18px; font-weight: 600; font-size: .93rem; color: var(--muted);
  white-space: nowrap; border-bottom: 3px solid transparent; margin-bottom: -1px;
}
.subtabs a:hover { color: var(--ink); }
.subtabs a[aria-current="page"] { color: var(--brand); border-color: var(--brand); }

/* ---------- Treść (prose) ---------- */
.prose { max-width: 780px; }
.prose h2 { font-size: 1.5rem; margin-top: 1.8em; }
.prose h3 { margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin-bottom: .4em; }
.prose ol { padding-left: 1.4em; }

.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 8px; }
.tags li { background: var(--brand-soft); color: var(--brand-dark); border-radius: 999px; padding: 8px 16px; font-size: .9rem; font-weight: 600; }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.contact-card h3 { display: flex; align-items: center; gap: 10px; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: 16px; }
.contact-card h3 svg { width: 18px; height: 18px; }
.person { padding: 12px 0; border-top: 1px solid var(--line); }
.person:first-of-type { border-top: 0; padding-top: 0; }
.person strong { display: block; color: var(--ink); font-size: 1.02rem; margin-bottom: 4px; }
.person a { display: flex; align-items: center; gap: 8px; font-size: .95rem; color: var(--text); padding: 2px 0; word-break: break-word; }
.person a:hover { color: var(--brand); }
.person a svg { width: 16px; height: 16px; color: var(--brand); flex: none; }
.address { font-style: normal; }
.address p { margin: 0 0 .25em; }
.contact-card--accent { background: var(--brand); border-color: var(--brand); color: #dce8f7; }
.contact-card--accent h3 { color: #fff; }
.contact-card--accent strong { color: #fff; }

/* ---------- CTA ---------- */
.cta {
  position: relative; color: #fff; text-align: center;
  background: var(--ink) url("../../images/bg.jpg") center/cover no-repeat;
}
.cta::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 20, 35, .55), rgba(10, 20, 35, .85)); }
.cta .container { position: relative; }
.cta h2 { color: #fff; margin-bottom: 14px; }
.cta p { color: #cdd7e5; font-size: 1.12rem; max-width: 620px; margin: 0 auto 32px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- Stopka ---------- */
.site-footer { background: #0a1422; color: #98a6ba; font-size: .95rem; }
.site-footer .container { padding-top: 64px; padding-bottom: 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; }
.footer-logo { background: #fff; display: inline-block; padding: 10px 14px; border-radius: 10px; margin-bottom: 18px; }
.footer-logo img { width: 170px; }
.site-footer h3 { color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: #c6d1df; }
.site-footer a:hover { color: #fff; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: rgba(255, 255, 255, .07); }
.social a:hover { background: var(--brand); }
.social svg { width: 18px; height: 18px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 48px; padding-top: 24px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .86rem;
}
.footer-bottom button { background: none; border: 0; color: #c6d1df; font: inherit; cursor: pointer; padding: 0; }
.footer-bottom button:hover { color: #fff; text-decoration: underline; }

/* ---------- Przycisk "do góry" ---------- */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 48px; height: 48px; border-radius: 50%;
  border: 0; background: var(--brand); color: #fff; cursor: pointer; box-shadow: var(--shadow);
  display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .25s, transform .25s, visibility .25s, background .2s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--brand-dark); }
.to-top svg { width: 20px; height: 20px; }

/* ---------- Animacje wejścia ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsywność
   ========================================================================== */
@media (max-width: 1080px) {
  .nav__link { padding: 10px 10px; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .logos { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .topbar { display: none; }
  .logo img { width: 160px; }
  .nav-toggle { display: inline-flex; }
  /* backdrop-filter tworzy kontener dla position:fixed – na mobile wyłączamy, by menu zajmowało cały ekran */
  .site-header { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }

  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: #fff;
    flex-direction: column; align-items: stretch; gap: 0; padding: 16px 20px 32px;
    overflow-y: auto; transform: translateX(100%); visibility: hidden;
    transition: transform .3s ease, visibility .3s;
  }
  .nav-open .nav { transform: none; visibility: visible; }
  .nav-open { overflow: hidden; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { border-bottom: 1px solid var(--line); }
  .nav__link { width: 100%; justify-content: space-between; padding: 16px 4px; font-size: 1.05rem; border-radius: 0; }
  .nav__link:hover, .nav__link[aria-current="page"], .nav__link.is-active { background: none; }
  .subnav {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0;
    padding: 0 0 12px 8px; display: none; min-width: 0;
  }
  .nav__item--has-sub:hover .subnav, .nav__item--has-sub:focus-within .subnav { display: none; }
  .nav__item--has-sub.is-open .subnav { display: block; }
  .nav__item--has-sub:hover > .nav__link svg { transform: none; }
  .nav__item--has-sub.is-open > .nav__link svg { transform: rotate(180deg); }
  .nav__cta { margin: 24px 0 0; width: 100%; padding: 16px; }
  .nav__contact { display: grid; gap: 10px; margin-top: 24px; font-size: .95rem; }
  .nav__contact a { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; }
  .nav__contact svg { width: 18px; height: 18px; color: var(--brand); }

  .split, .promo { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
  .split__media--tall img { aspect-ratio: 16 / 11; }
  .promo__media { order: -1; }
  .badge-float { left: 16px; bottom: 16px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .card--feature { grid-column: span 2; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (min-width: 961px) {
  .nav__contact { display: none; }
}

@media (max-width: 640px) {
  body { font-size: .98rem; }
  .container { padding: 0 16px; }
  .hero p { font-size: 1.05rem; }
  .hero__actions .btn, .cta__actions .btn { width: 100%; }
  .stats { margin-top: -32px; }
  .stat { padding: 18px 16px; }
  .stat strong { font-size: 1.5rem; }
  .stat span { font-size: .84rem; }
  .cards, .contact-grid, .features { grid-template-columns: 1fr; }
  .card--feature { grid-column: auto; }
  .card--feature .card__img { aspect-ratio: 16 / 10; }
  .logos { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .logos__item { min-height: 76px; padding: 16px 12px; }
  .checklist--cols { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .brands { grid-template-columns: 1fr 1fr; gap: 12px; }
  .brand { padding: 14px; gap: 12px; }
  .brand__logo { height: 76px; }
  .brand__logo img { max-height: 64px; }
  .brand p { font-size: .85rem; }
  .search { max-width: none; }
  .to-top { right: 14px; bottom: 14px; }
}
