/* =========================================================
   Baximus – Serwis myjni samochodowych
   ========================================================= */

:root {
  --red: #d7141a;
  --red-dark: #b10f14;
  --red-soft: #fdecec;
  --ink: #111827;
  --navy: #0c1424;
  --navy-2: #141e33;
  --text: #374151;
  --muted: #6b7280;
  --line: #e5e7eb;
  --bg: #ffffff;
  --bg-soft: #f5f6f9;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 8px 24px rgba(16, 24, 40, .06);
  --shadow-lg: 0 2px 4px rgba(16, 24, 40, .06), 0 20px 48px rgba(16, 24, 40, .12);
  --container: 1200px;
  --header-h: 76px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img, video, iframe { max-width: 100%; display: block; }

a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-dark); }

h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 .6em;
  font-weight: 800;
  letter-spacing: -.02em;
}

p { margin: 0 0 1.1em; }

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

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--red); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; color: #fff; }

.icon { width: 1.1em; height: 1.1em; flex: none; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary { background: var(--red); color: #fff; box-shadow: 0 8px 20px rgba(215, 20, 26, .28); }
.btn-primary:hover { background: var(--red-dark); color: #fff; }

.btn-outline { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn-outline:hover { border-color: #fff; background: rgba(255, 255, 255, .1); color: #fff; }

.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; }

.btn-white { background: #fff; color: var(--red); }
.btn-white:hover { background: #fff; color: var(--red-dark); box-shadow: 0 10px 24px rgba(0, 0, 0, .18); }

/* ---------- Top bar ---------- */

.topbar {
  background: var(--navy);
  color: #cbd2e1;
  font-size: 13.5px;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 42px;
}
.topbar-group { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar-item { display: inline-flex; align-items: center; gap: 8px; color: inherit; }
.topbar-item .icon { color: var(--red); }
a.topbar-item:hover { color: #fff; }

/* ---------- Header ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px rgba(16, 24, 40, .06); }

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}

.logo img { height: 44px; width: auto; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
  background: none;
  border: 0;
  font-family: inherit;
  cursor: pointer;
}
.nav-link:hover, .nav-link.is-active { color: var(--red); }
.nav-link .chev { width: 14px; height: 14px; transition: transform .2s; }

.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  width: 560px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 6px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.has-dropdown.is-open .dropdown {
  opacity: 1; visibility: visible; transform: translate(-50%, 0);
}
.has-dropdown:hover .chev, .has-dropdown.is-open .chev { transform: rotate(180deg); }
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }

.dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--ink);
  font-weight: 600;
  font-size: 14.5px;
  line-height: 1.35;
}
.dropdown a::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--red); flex: none;
  opacity: .5;
}
.dropdown a:hover, .dropdown a.is-active { background: var(--bg-soft); color: var(--red); }
.dropdown a:hover::before, .dropdown a.is-active::before { opacity: 1; }

.header-cta { margin-left: 10px; padding: 12px 20px; }

.burger {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.burger span, .burger span::before, .burger span::after {
  display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px;
  position: relative; transition: transform .25s, background .25s;
}
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.nav-open .burger span { background: transparent; }
.nav-open .burger span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .burger span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Home hero ---------- */

.hero {
  position: relative;
  color: #fff;
  background: var(--navy);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 13, 25, .94) 0%, rgba(8, 13, 25, .78) 45%, rgba(8, 13, 25, .35) 100%),
    linear-gradient(0deg, rgba(8, 13, 25, .6) 0%, rgba(8, 13, 25, 0) 40%);
}
.hero .container { position: relative; padding-top: 110px; padding-bottom: 120px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }

.hero .eyebrow { color: #ff6b6f; }
.hero h1 {
  color: #fff;
  font-size: clamp(2.3rem, 5.2vw, 4rem);
  max-width: 760px;
  margin-bottom: 20px;
}
.hero h1 em { font-style: normal; color: #ff3b40; }
.hero-lead { font-size: 1.15rem; color: #d4d9e4; max-width: 600px; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-stats {
  position: relative;
  margin-top: -64px;
  z-index: 2;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.stat {
  padding: 26px 26px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: 0; }
.stat-icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--red-soft); color: var(--red);
  display: grid; place-items: center; flex: none;
}
.stat-icon .icon { width: 22px; height: 22px; }
.stat strong { display: block; color: var(--ink); font-size: 1.05rem; line-height: 1.3; margin-bottom: 4px; }
.stat span { font-size: 14px; color: var(--muted); line-height: 1.45; display: block; }

/* ---------- Sections ---------- */

.section { padding: 100px 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--navy); color: #c6cddb; }
.section-dark h2, .section-dark h3 { color: #fff; }

.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-head .eyebrow::after { content: ""; width: 28px; height: 2px; background: currentColor; }
.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 1.05rem; margin: 0; }
.section-dark .section-head p { color: #aab3c5; }

/* Intro */
.intro {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 64px;
  align-items: center;
}
.intro h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
.intro-text p { font-size: 1.02rem; }
.intro-media { position: relative; }
.intro-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
}
.intro-badge {
  position: absolute;
  left: -28px;
  bottom: 36px;
  background: var(--red);
  color: #fff;
  padding: 22px 26px;
  border-radius: 18px;
  box-shadow: 0 16px 36px rgba(215, 20, 26, .35);
  max-width: 230px;
}
.intro-badge strong { display: block; font-size: 2.6rem; line-height: 1; font-weight: 800; }
.intro-badge span { display: block; font-size: 14px; line-height: 1.4; margin-top: 6px; opacity: .95; }

.pill-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; padding: 0; list-style: none; }
.pill-list li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  background: var(--bg-soft); border: 1px solid var(--line);
  font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.3;
}
.pill-list .icon { color: var(--red); }

/* Offer cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #d9dce3; }

.card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #eef0f4;
  overflow: hidden;
}
.card-media img, .card-media video {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.card:hover .card-media img, .card:hover .card-media video { transform: scale(1.05); }
.card-media.is-contain { background: #fff; }
.card-media.is-contain img { object-fit: contain; padding: 16px; }

.card-num {
  position: absolute; top: 14px; left: 14px;
  background: rgba(12, 20, 36, .78);
  color: #fff; font-weight: 700; font-size: 12.5px;
  padding: 5px 10px; border-radius: 999px;
  backdrop-filter: blur(6px);
}
.card-tag {
  position: absolute; top: 14px; right: 14px;
  background: var(--red); color: #fff;
  font-weight: 700; font-size: 12px; letter-spacing: .02em;
  padding: 5px 10px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 6px;
}
.card-tag .icon { width: 12px; height: 12px; }

.card-body { display: flex; flex-direction: column; flex: 1; padding: 24px 24px 26px; }
.card-body h3 { font-size: 1.22rem; margin-bottom: 10px; }
.card-body h3 a { color: inherit; }
.card-body h3 a:hover { color: var(--red); }
.card-body p { font-size: 15px; color: var(--muted); line-height: 1.65; flex: 1; margin-bottom: 18px; }

.card-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 15px; color: var(--red);
  align-self: flex-start;
}
.card-link .icon { transition: transform .2s; }
.card-link:hover .icon { transform: translateX(4px); }
.card-link.is-muted { color: var(--ink); }
.card-link.is-muted:hover { color: var(--red); }

/* Videos */
.videos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.videos.videos-2 { grid-template-columns: repeat(2, 1fr); }
.video-item { margin: 0; }
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .35);
}
.video-frame video, .video-frame iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
  object-fit: contain;
  background: #000;
}
.video-item figcaption {
  margin-top: 14px;
  font-weight: 600;
  font-size: 15px;
  color: #dfe4ee;
  display: flex; align-items: center; gap: 10px;
}
.section:not(.section-dark) .video-item figcaption { color: var(--ink); }
.video-item figcaption .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--red); flex: none;
}

.yt-facade {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  padding: 0; border: 0; cursor: pointer;
  background: #000 center / cover no-repeat;
}
.yt-facade::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, .45), rgba(0, 0, 0, .05));
  transition: background .2s;
}
.yt-facade:hover::before { background: linear-gradient(0deg, rgba(0, 0, 0, .35), rgba(0, 0, 0, 0)); }
.play-btn {
  position: absolute; left: 50%; top: 50%;
  width: 72px; height: 72px; margin: -36px 0 0 -36px;
  border-radius: 50%;
  background: var(--red);
  display: grid; place-items: center;
  box-shadow: 0 0 0 10px rgba(215, 20, 26, .25);
  transition: transform .2s, box-shadow .2s;
}
.play-btn svg { width: 26px; height: 26px; margin-left: 4px; color: #fff; }
.yt-facade:hover .play-btn, .yt-facade:focus-visible .play-btn {
  transform: scale(1.08);
  box-shadow: 0 0 0 14px rgba(215, 20, 26, .25);
}

/* Why us strip */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.feature .stat-icon { margin-bottom: 18px; }
.feature h3 { font-size: 1.1rem; margin-bottom: 8px; }
.feature p { font-size: 15px; color: var(--muted); margin: 0; line-height: 1.65; }

/* CTA band */
.cta {
  position: relative;
  background: linear-gradient(120deg, var(--red) 0%, #a80d12 100%);
  color: #fff;
  overflow: hidden;
}
.cta::before, .cta::after {
  content: ""; position: absolute; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .12);
}
.cta::before { width: 420px; height: 420px; right: -120px; top: -180px; }
.cta::after { width: 260px; height: 260px; right: 160px; bottom: -170px; }
.cta .container {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  padding-top: 64px; padding-bottom: 64px;
}
.cta h2 { color: #fff; font-size: clamp(1.5rem, 2.8vw, 2.2rem); margin: 0 0 8px; max-width: 720px; }
.cta p { margin: 0; color: rgba(255, 255, 255, .85); }
.cta .btn { font-size: 17px; padding: 18px 30px; }

/* ---------- Subpage ---------- */

.page-hero {
  position: relative;
  color: #fff;
  background: var(--navy);
  overflow: hidden;
}
.page-hero .hero-bg::after {
  background: linear-gradient(90deg, rgba(8, 13, 25, .95) 0%, rgba(8, 13, 25, .82) 55%, rgba(8, 13, 25, .55) 100%);
}
.page-hero .container { position: relative; padding-top: 72px; padding-bottom: 80px; }
.page-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  max-width: 820px;
  margin-bottom: 18px;
}
.page-hero .lead { color: #d4d9e4; font-size: 1.1rem; max-width: 720px; margin-bottom: 30px; }

.breadcrumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: 14px; color: #9aa4b8; margin-bottom: 22px;
  list-style: none; padding: 0;
}
.breadcrumbs a { color: #cfd5e2; }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.breadcrumbs [aria-current] { color: #fff; font-weight: 600; }

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 56px;
  align-items: start;
}

.article { font-size: 1.04rem; }
.article > *:last-child { margin-bottom: 0; }
.article h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 1.6em; }
.article h2:first-child, .article .eyebrow + h2 { margin-top: 0; }
.article h3 { font-size: 1.3rem; margin-top: 1.6em; }
.article strong { color: var(--ink); }

.article .media {
  margin: 36px 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #eef0f4;
}
.article .media img { width: 100%; height: auto; }
.article .media.is-contain { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); padding: 24px; }
.article .media.is-small { max-width: 560px; }

.checklist { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 14px; }
.checklist li {
  position: relative;
  padding: 16px 18px 16px 56px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  line-height: 1.6;
}
.checklist li::before {
  content: "";
  position: absolute; left: 18px; top: 18px;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.checklist.is-compact { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.checklist.is-compact li { padding: 12px 14px 12px 48px; font-weight: 600; color: var(--ink); }
.checklist.is-compact li::before { left: 14px; top: 50%; margin-top: -11px; width: 22px; height: 22px; }

.group-title {
  display: flex; align-items: center; gap: 12px;
  font-size: 1.15rem; margin: 2em 0 .9em;
}
.group-title .num {
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--ink); color: #fff;
  display: grid; place-items: center;
  font-size: 15px; flex: none;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: 0 0 1.6em;
}
.info-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.info-box h3 { font-size: 1.08rem; margin: 0 0 8px; display: flex; gap: 10px; align-items: center; }
.info-box h3 .icon { color: var(--red); width: 22px; height: 22px; }
.info-box p { font-size: 15.5px; margin: 0; color: var(--text); line-height: 1.65; }

.callout {
  border-left: 4px solid var(--red);
  background: var(--red-soft);
  border-radius: 0 12px 12px 0;
  padding: 18px 22px;
  color: var(--ink);
  margin: 1.4em 0;
}

.panel {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 34px;
  margin-top: 40px;
}
.panel h2 { margin-top: 0; }

.article .video-frame { margin: 30px 0 10px; }

/* Sidebar */
.sidebar { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 24px; }

.side-card {
  border-radius: 20px;
  padding: 28px;
  background: var(--navy);
  color: #c6cddb;
  position: relative;
  overflow: hidden;
}
.side-card::after {
  content: ""; position: absolute; width: 200px; height: 200px; border-radius: 50%;
  right: -80px; top: -80px; background: rgba(215, 20, 26, .25); filter: blur(10px);
}
.side-card > * { position: relative; z-index: 1; }
.side-card h3 { color: #fff; font-size: 1.25rem; margin-bottom: 8px; }
.side-card p { font-size: 14.5px; line-height: 1.6; margin-bottom: 20px; }
.side-card .btn { width: 100%; justify-content: center; }
.side-contacts { list-style: none; margin: 20px 0 0; padding: 18px 0 0; border-top: 1px solid rgba(255, 255, 255, .12); display: grid; gap: 10px; font-size: 14.5px; }
.side-contacts li { display: flex; gap: 10px; align-items: center; }
.side-contacts .icon { color: #ff5257; }
.side-contacts a { color: #fff; }

.side-nav {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  background: #fff;
}
.side-nav h3 { font-size: 1.05rem; margin: 4px 6px 12px; }
.side-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.side-nav a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 12px; border-radius: 10px;
  color: var(--text); font-weight: 600; font-size: 14.5px; line-height: 1.4;
}
.side-nav a .icon { color: #b8bec9; width: 16px; height: 16px; transition: transform .2s, color .2s; }
.side-nav a:hover { background: var(--bg-soft); color: var(--red); }
.side-nav a:hover .icon { color: var(--red); transform: translateX(3px); }
.side-nav a.is-active { background: var(--red-soft); color: var(--red); }
.side-nav a.is-active .icon { color: var(--red); }

/* ---------- Footer ---------- */

.footer { background: #080d18; color: #9aa4b8; font-size: 15px; }
.footer .container { padding-top: 72px; padding-bottom: 32px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.4fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.footer-logo {
  display: inline-block;
  background: #fff;
  border-radius: 12px;
  padding: 10px 14px;
  margin-bottom: 20px;
}
.footer-logo img { height: 38px; width: auto; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; letter-spacing: 0; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.5; }
.footer-contact .icon { color: var(--red); margin-top: 3px; }
.footer a { color: #d3d9e4; }
.footer a:hover { color: #fff; }
.footer-links { grid-template-columns: 1fr 1fr; column-gap: 24px; }
.footer-links a { display: inline-flex; gap: 8px; align-items: baseline; line-height: 1.45; }
.footer-links a::before { content: "›"; color: var(--red); font-weight: 700; }
.footer-company { color: #fff; font-weight: 700; margin-bottom: 6px; }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding-top: 26px; font-size: 14px; color: #6f7a90;
}

/* ---------- Reveal animation ---------- */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .header-cta span.long { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .burger { display: inline-flex; }
  .header-cta { display: none; }
  .nav {
    position: fixed;
    top: var(--header-h); left: 0; right: 0;
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px 32px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
    border-top: 1px solid var(--line);
  }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav-open { overflow: hidden; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--line); }
  .nav-link { width: 100%; justify-content: space-between; padding: 16px 4px; font-size: 17px; }
  .dropdown {
    position: static; width: auto; transform: none; opacity: 1; visibility: visible;
    box-shadow: none; border: 0; padding: 0 0 12px; grid-template-columns: 1fr;
    display: none;
  }
  .has-dropdown:hover .dropdown { transform: none; }
  .has-dropdown.is-open .dropdown { display: grid; transform: none; }
  .has-dropdown:hover .chev { transform: none; }
  .has-dropdown.is-open .chev { transform: rotate(180deg); }
  .nav .mobile-cta { display: flex; margin-top: 24px; justify-content: center; }

  .cards { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .videos { grid-template-columns: 1fr 1fr; }
  .videos .video-item:first-child { grid-column: 1 / -1; }
  .intro { grid-template-columns: 1fr; gap: 48px; }
  .intro-media img { aspect-ratio: 16 / 10; }
  .intro-badge { left: 16px; bottom: 16px; }
  .layout { grid-template-columns: 1fr; }
  .sidebar { position: static; grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .cta .container { flex-direction: column; align-items: flex-start; }
  .topbar .hide-md { display: none; }
}

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

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .section { padding: 72px 0; }
  .topbar { font-size: 13px; }
  .topbar .container { justify-content: center; }
  .topbar .hide-sm { display: none; }
  .logo img { height: 38px; }
  .hero .container { padding-top: 72px; padding-bottom: 104px; }
  .hero-lead { font-size: 1.05rem; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); padding: 20px; }
  .stat:last-child { border-bottom: 0; }
  .cards, .videos, .features, .info-grid { grid-template-columns: 1fr; }
  .section-head { margin-bottom: 40px; }
  .sidebar { grid-template-columns: 1fr; }
  .panel { padding: 24px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-links { grid-template-columns: 1fr; }
  .page-hero .container { padding-top: 48px; padding-bottom: 56px; }
  .cta .btn { width: 100%; justify-content: center; }
  .intro-badge { position: static; max-width: none; margin-top: -40px; margin-left: 16px; margin-right: 16px; position: relative; }
}
