/* =============================================================
   POLISH PANDA — Car Care Studio
   Table of contents
   01. Tokens & reset
   02. Utilities, typography, buttons
   04. Navbar & mobile menu
   05. Hero
   06. Section shells, "sheet-rise" transition, reveal animations
   07. About
   08. Services + carousel
   09. Polish Panda Auto Hub
   10. Why choose us
   11. Before / After gallery
   12. How it works
   13. Testimonials
   14. CTA / contact
   15. Footer
   16. Modals, booking form, lightbox
   17. Responsive
   18. Reduced motion
   ============================================================= */

/* 01. Tokens & reset ------------------------------------------ */
:root {
  --red: #e3121b;
  --red-600: #c40d15;
  --red-glow: rgba(227, 18, 27, .45);
  --black: #07080a;
  --dark: #0b0d10;
  --charcoal: #14171c;
  --card: #181b21;
  --card-2: #1f232a;
  --line-dark: rgba(255, 255, 255, .09);
  --white: #ffffff;
  --light: #f4f5f7;
  --ink: #111318;
  --muted: #6b7280;
  --muted-dark: #9aa0aa;

  --font-head: "Montserrat", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --container: 1450px;
  --gutter: 24px;
  --radius: 18px;
  --radius-lg: 26px;
  --nav-h: 84px;
  --overlap: 48px;            /* how far each "sheet" slides over the previous section */

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --shadow-soft: 0 18px 50px -24px rgba(16, 18, 24, .28);
  --shadow-card: 0 10px 30px -12px rgba(16, 18, 24, .18);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--black);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.is-locked { overflow: hidden; }

img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
input, select, textarea { font: inherit; }

:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  width: 1.15em;
  height: 1.15em;
  flex-shrink: 0;
  fill: currentColor;
}

/* 02. Utilities, typography, buttons --------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.text-red { color: var(--red); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-head);
  font-size: clamp(13px, 1vw, 15px);
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 18px;
}
/* a little breathing room between a brand logo and its label */
.karvex__logo + .eyebrow, .rider__logo + .eyebrow, .barber__logo + .eyebrow, .fauto__logo + .eyebrow { margin-top: 14px; }
.eyebrow::before {
  content: "";
  width: 42px;
  height: 2px;
  background: var(--red);
}
.eyebrow i {
  width: 4px; height: 4px; border-radius: 50%;
  background: currentColor; display: inline-block;
}
.eyebrow--center { justify-content: center; }
.hero__eyebrow::before { display: none; }

.title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(32px, 4.2vw, 40px);
  line-height: 1.08;
  letter-spacing: -.02em;
}
.title--xl { font-size: clamp(36px, 5vw, 60px); }

.lead {
  font-size: 16.5px;
  color: var(--muted);
  max-width: 720px;
}

/* Buttons */
.btn {
  --btn-bg: var(--red);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 54px;
  padding: 0 30px;
  border-radius: 100px;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .3s, color .3s, border-color .3s;
}
.btn .icon { transition: transform .35s var(--ease); }
.btn:hover .icon { transform: translateX(4px); }
.btn:active { transform: scale(.97); }

.btn--primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 12px 30px -10px var(--red-glow);
}
/* shine sweep */
.btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .8s var(--ease);
  z-index: -1;
}
.btn--primary:hover { box-shadow: 0 18px 40px -12px var(--red-glow);  background: var(--red-600); }


.btn--outline {
  border: 1.5px solid rgba(17, 19, 24, .15);
  color: var(--ink);
}
.btn--outline:hover { border-color: var(--red); color: var(--red); }

.btn--ghost {
  border: 1.5px solid rgba(255, 255, 255, .5);
  color: #fff;
}
.btn--ghost:hover { background: #fff; color: var(--ink);  }

.btn--sm { height: 44px; padding: 0 22px; font-size: 13px; }
.btn--block { width: 100%; }

.btn-play {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  color: #fff;
}
.btn-play__circle {
  position: relative;
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .7);
  transition: background .3s, border-color .3s, transform .35s var(--ease);
}
.btn-play__circle::before {
  content: "";
  position: absolute; inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .35);
  animation: pulse-ring 2.4s var(--ease) infinite;
}
.btn-play:hover .btn-play__circle { background: var(--red); border-color: var(--red); transform: scale(1.06); }

@keyframes pulse-ring {
  0% { transform: scale(.85); opacity: 1; }
  100% { transform: scale(1.35); opacity: 0; }
}

.round-btn {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .35);
  color: #fff;
  transition: background .3s, border-color .3s, transform .3s var(--ease), opacity .3s;
}
.round-btn:hover { background: #fff; color: var(--ink); border-color: #fff; transform: scale(1.06); }
.round-btn--red { border-color: var(--red); color: var(--red); }
.round-btn--red:hover { background: var(--red); border-color: var(--red); color: #fff; }
.round-btn--light { border-color: rgba(17,19,24,.18); color: var(--ink); }
.round-btn--light:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.round-btn:disabled { opacity: .3; pointer-events: none; }

.carousel-nav { display: flex; gap: 12px; }

/* 04. Navbar & mobile menu ------------------------------------ */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;

  color: #fff;
  transition: transform .5s var(--ease), background-color .4s, height .4s var(--ease), box-shadow .4s;
}
.nav.is-scrolled {
  --nav-h: 70px;
  background: rgba(11, 13, 16, .82);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 1px 0 var(--line-dark);
}

.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}

.logo { display: inline-flex; flex-direction: column; line-height: 1; }
.logo--badge { flex-direction: row; align-items: center; gap: 10px; }
.logo__badge { width: 100px;flex-shrink: 0; filter: drop-shadow(0 4px 12px rgba(0, 0, 0, .5)); }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo--badge .logo__name { font-size: 25px; font-style: italic; letter-spacing: -.02em; }
.logo__name em { font-style: inherit; color: var(--red); }
.logo--badge .logo__tag { color: #fff; font-size: 9px; letter-spacing: .5em; text-align: left; margin-top: 6px; }
.logo__name {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 21px;
  letter-spacing: -.01em;
  color: #fff;
}
.logo__tag {
  margin-top: 5px;
  font-family: var(--font-head);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: .38em;
  color: var(--red);
  text-align: center;
}

.nav__menu { position: relative; margin-left: auto; }
.nav__links { display: flex; gap: 6px; }
.nav__link {
  position: relative;
  display: block;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, .78);
  transition: color .3s;
}
.nav__link:hover { color: var(--red); }
.nav__indicator {
  position: absolute;
  bottom: -2px;
  left: 0;
  height: 3px;
  width: 22px;
  border-radius: 3px;
  background: var(--red);
  box-shadow: 0 0 12px var(--red-glow);
  transition: transform .5s var(--ease), width .5s var(--ease), opacity .3s;
  opacity: 0;
}
.nav__indicator.is-ready { opacity: 1; }

/* Desktop: logo left, menu centred, dashboard button right */
@media (min-width: 1240px) {
  .nav__inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; }
  .nav__inner > .logo { grid-column: 1; grid-row: 1; justify-self: start; }
  .nav__menu { grid-column: 2; grid-row: 1; justify-self: center; margin-left: 0; }
  .nav__cta { grid-column: 3; grid-row: 1; justify-self: end; }
}
/* Below 1240px the full menu no longer fits beside a centred logo: switch to the burger */
@media (max-width: 1239px) {
  .nav__menu { display: none; }
  .nav .burger { display: block; }
  .nav__cta { margin-left: auto; }
}
@media (min-width: 681px) and (max-width: 1239px) {
  .nav .burger { margin-left: 0; }
}

/* Burger */
.burger {
  display: none;
  position: relative;
  width: 48px; height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .04);
  margin-left: auto;
  transition: border-color .3s, background .3s;
}
.burger:hover { border-color: var(--red); }
.burger__line {
  position: absolute;
  right: 13px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform .5s var(--ease), width .5s var(--ease), opacity .3s, top .5s var(--ease), background .3s;
}
.burger__line:nth-child(1) { top: 16px; width: 22px; }
.burger__line:nth-child(2) { top: 23px; width: 14px; background: var(--red); }
.burger__line:nth-child(3) { top: 30px; width: 18px; }
.burger:hover .burger__line:nth-child(2) { width: 22px; }
.burger:hover .burger__line:nth-child(3) { width: 22px; }
.burger.is-open .burger__line:nth-child(1) { top: 23px; width: 22px; transform: rotate(45deg); }
.burger.is-open .burger__line:nth-child(2) { opacity: 0; transform: translateX(10px); }
.burger.is-open .burger__line:nth-child(3) { top: 23px; width: 22px; transform: rotate(-45deg); }

/* Mobile menu */
.mmenu {
  position: fixed;
  inset: 0;
  z-index: 200;
  visibility: hidden;
  pointer-events: none;
}
.mmenu.is-open { visibility: visible; pointer-events: auto; }
.mmenu__overlay {
  position: absolute; inset: 0;
  background: rgba(5, 6, 8, .6);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity .5s var(--ease);
}
.mmenu.is-open .mmenu__overlay { opacity: 1; }
.mmenu__panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(420px, 88vw);
  display: flex;
  flex-direction: column;
  padding: 22px 28px 32px;
  background:
    radial-gradient(120% 60% at 100% 100%, rgba(227, 18, 27, .22), transparent 60%),
    var(--dark);
  color: #fff;
  overflow-y: auto;
  transform: translateX(105%);
  transition: transform .65s var(--ease);
  box-shadow: -30px 0 60px rgba(0, 0, 0, .4);
  overflow: hidden;
}
.mmenu__panel::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 4px;
  background: var(--red);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .8s var(--ease) .2s;
}
.mmenu.is-open .mmenu__panel { transform: none; }
.mmenu.is-open .mmenu__panel::before { transform: scaleY(1); }

.mmenu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 13px;
}
.mmenu__close {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  transition: transform .5s var(--ease), background .3s, border-color .3s;
}
.mmenu__close:hover { background: var(--red); border-color: var(--red); transform: rotate(90deg); }

.mmenu__links { display: flex; flex-direction: column; gap: 2px; overflow: auto; }
.mmenu__links li, .mmenu__foot {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity .5s var(--ease), transform .6s var(--ease);
}
.mmenu.is-open .mmenu__links li,
.mmenu.is-open .mmenu__foot {
  opacity: 1;
  transform: none;
  transition-delay: calc(var(--i) * 55ms + 180ms);
}
.mmenu__links a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 12px 0;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(24px, 6.5vw, 30px);
  letter-spacing: -.01em;
  border-bottom: 1px solid var(--line-dark);
  transition: color .3s, padding-left .4s var(--ease);
}
.mmenu__links a span {
  font-size: 12px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: .1em;
}
.mmenu__links a:hover, .mmenu__links a.is-active { color: var(--red); padding-left: 8px; }
.mmenu__foot { margin-top: auto; padding-top: 32px; display: grid; gap: 16px; }
.mmenu__contact {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  color: var(--muted-dark); font-size: 14px;
}

/* Header redesign: floating glass bar with a centred logo cradle ------- */
.nav {
  height: auto;
  padding-top: 16px;
  background: none;
  transition: padding .4s var(--ease);
}
.nav.is-scrolled {
  padding-top: 10px;
  background: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: none;
}
.nav .nav__inner {
  position: relative;
  height: 68px;
  padding: 0 10px 0 22px;
  border-radius: 999px;
  background: rgba(14, 15, 19, .5);
  border: 1px solid rgba(255, 255, 255, .09);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 18px 40px -22px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .05);
  transition: background .4s, height .4s var(--ease), box-shadow .4s;
}
.nav.is-scrolled .nav__inner {
  height: 62px;
  background: rgba(12, 13, 17, .9);
  box-shadow: 0 20px 44px -18px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .05);
}
/* keep the bar inside the page gutters */
.nav > .container {
   max-width: calc(var(--container) + var(--gutter) * 2 - 2 * var(--gutter));
    width: calc(100% - 2 * var(--gutter)); padding-inline: 22px 10px; padding-left:0px!important }

/* links: soft pill hover, red underline for the active one */
.nav .nav__links { gap: 0; }
.nav .nav__link {
  padding: 9px 12px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  color: rgba(255, 255, 255, .72);
  transition: color .3s, background .3s;
}
@media (min-width: 1240px) and (max-width: 1479px) {
  .nav .nav__link { padding: 9px 7px; font-size: 13px; }
}
.nav .nav__link:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.nav .nav__link.is-active { color: #fff; }
.nav .nav__indicator { bottom: -1px; height: 2px; }

/* centred logo seated in a round cradle that dips below the bar */
.nav__inner > .logo { position: relative; z-index: 1; }
.nav .logo__badge {
  position: relative;
  width: 92px; height: 92px;
  margin-block: -12px -24px;
  padding: 3px;
  border-radius: 50%;
  object-fit: contain;
  background: radial-gradient(circle at 50% 35%, #1b1d23, #0c0d11 70%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .1),
    0 0 0 5px rgba(12, 13, 17, .55),
    0 0 0 6px rgba(227, 18, 27, .55),
    0 14px 30px -10px rgba(0, 0, 0, .8);
  filter: none;
  transition: width .4s var(--ease), height .4s var(--ease), margin .4s var(--ease), transform .5s var(--ease);
}

.nav.is-scrolled .logo__badge { width: 76px; height: 76px; margin-block: -8px -16px; }

/* dashboard button sits snugly in the right end of the bar */
.nav .nav__cta { height: 48px; padding: 0 22px; font-size: 13.5px; }

/* Tablet & phone: logo on the left, no cradle overflow */
@media (max-width: 1239px) {
  .nav .nav__inner { padding: 0 8px 0 10px; height: 64px; }
  .nav .logo__badge { width: 90px;  margin: 0; padding: 2px; }
  .nav.is-scrolled .logo__badge { width: 50px; height: 50px; margin: 0; }
  .nav .burger { border-radius: 50%; }
  .nav{
    padding-top: 30px;
  }
}
@media (max-width: 680px) {
  .nav { padding-top: 10px; }
  .nav .nav__inner { height: 58px; }
  .nav.is-scrolled .nav__inner { height: 56px; }
  .nav .logo__badge, .nav.is-scrolled .logo__badge { width: 56px; height: 56px; }
  .nav .burger { width: 44px; height: 44px; }
  .nav .burger__line { right: 11px; }
  .nav .burger__line:nth-child(1) { top: 14px; }
  .nav .burger__line:nth-child(2) { top: 21px; }
  .nav .burger__line:nth-child(3) { top: 28px; }
  .nav .burger.is-open .burger__line:nth-child(1),
  .nav .burger.is-open .burger__line:nth-child(3) { top: 21px; }
}


/* 05. Hero ----------------------------------------------------- */
.hero {
  position: relative;
  z-index: 2;
  min-height: max(720px, 100svh);
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 40px) 0 140px;
  color: #fff;
  background: var(--dark);
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 110px), 0 100%);
}
.hero__media {
  position: absolute;
  inset: -6% 0;
  will-change: transform;
}
.hero__image, .hero__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 62% center;
}
.hero__image { animation: hero-zoom 18s var(--ease-in-out) infinite alternate;
 }
.hero__video { opacity: 0; transition: opacity 1s; }
.hero.is-video-ready .hero__video { opacity: 1; }
@keyframes hero-zoom { from { transform: scale(1.02); } to { transform: scale(1.12); } }

.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 8, 10, .95) 0%, rgba(7, 8, 10, .78) 38%, rgba(7, 8, 10, .25) 70%, rgba(7, 8, 10, .45) 100%),
    linear-gradient(0deg, rgba(7, 8, 10, .85) 0%, transparent 40%);
}
.hero__glow {
  position: absolute;
  width: 60vw; height: 60vw;
  right: -18vw; top: -10vw;
  background: radial-gradient(circle, rgba(227, 18, 27, .28), transparent 62%);
  pointer-events: none;
  animation: glow-drift 10s var(--ease-in-out) infinite alternate;
}
@keyframes glow-drift { to { transform: translate(-6vw, 6vw); } }

.hero__inner {
  position: static;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  min-height: 520px;
}
.hero__content { position: relative; z-index: 1; max-width: 1200px; }
.hero__badge { z-index: 1; }

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--red);
}
.hero__eyebrow i { width: 4px; height: 4px; border-radius: 50%; background: currentColor; }

.hero__title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(38px, 4.5vw, 88px);
  line-height: .98;
  white-space: nowrap;
  letter-spacing: -.02em;
  text-transform: uppercase;
  margin-bottom: 22px;
  text-shadow: 0 6px 30px rgba(0, 0, 0, .45);
}
.hero__title .line { display: block;  padding-bottom: .05em; }
.hero__title .line > span { display: inline-block; }

.hero__text {
  font-size: clamp(15px, 1.15vw, 20px);
  line-height: 1.55;
  color: rgba(255, 255, 255, .9);
  max-width: 700px;
  margin-bottom: 38px;
}
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-bottom: 34px; }
.hero__actions .btn { height: 62px; padding: 0 38px; font-size: 16px; }
.hero .btn-play { font-size: 15px; gap: 16px; }
.hero .btn-play__circle {
  width: 72px; height: 72px;
  border: 0;
  background: rgba(10, 11, 14, .65);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .85), 0 0 0 6px rgba(255, 255, 255, .06);
}
.hero .btn-play__circle::before { display: none; }
.hero .btn-play__circle .icon { width: 22px; height: 22px; margin-left: 3px; }

/* trust badges */
.hero__features { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 0; }
.hero__features li {
  display: flex; align-items: center; gap: 22px;
  padding-right: 26px;
  margin-right: 26px;
  border-right: 1px solid rgba(255, 255, 255, .22);
}
.hero__features li:last-child { border: 0; margin: 0; padding: 0; }
.hero__ficon {
  display: grid; place-items: center;
  width: 64px; height: 64px;
  border-radius: 50%;
  border: 2px solid var(--red);
  background: rgba(227, 18, 27, .06);
  box-shadow: 0 0 18px -4px rgba(227, 18, 27, .55);
}
.hero__ficon .icon { width: 28px; height: 28px; color: #fff; }
.hero__features li > span:last-child { font-size: 15px; line-height: 1.5; color: rgba(255, 255, 255, .78); max-width: 230px; }
.hero__ficon { flex-shrink: 0; }
.hero__features strong { display: block; margin-bottom: 10px; color: #fff;
   font-weight: 700; font-size: 16px; letter-spacing: .02em; margin-bottom: 4px; }

/* Hero entrance (triggered by body.is-ready) */
[data-hero-anim] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease), transform 1.1s var(--ease);
  transition-delay: calc(var(--d) * 110ms + 150ms);
}
.hero__title [data-hero-anim] { transform: translateY(105%); opacity: 1; }
.is-ready [data-hero-anim] { opacity: 1; transform: none; }

/* Social media icons: fixed to the right edge, visible while scrolling */
.hero__social {
  position: fixed;
  z-index: 90;
  right: 0;
  top: 50%;
  translate: 0 -50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 18px 14px;
  border-radius: 14px 0 0 14px;
  background: linear-gradient(90deg, rgba(10, 11, 14, .85), rgba(10, 11, 14, .6));
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .06);
  border-right: 0;
}
.hero__social { transition: opacity .5s var(--ease), transform .6s var(--ease); }
.is-ready .hero__social.is-away { opacity: 0; transform: translateX(110%); pointer-events: none; }
.hero__social a {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .22);
  color: #fff;
  transition: background .3s, border-color .3s, transform .35s var(--ease), box-shadow .35s, filter .3s;
}

/* official brand colours */
.hero__social a[aria-label="Instagram"] {
  border-color: transparent;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}
.hero__social a[aria-label="Facebook"] { border-color: transparent; background: #1877f2; }
.hero__social a[aria-label="YouTube"]  { border-color: transparent; background: #ff0000; }
.hero__social a[aria-label="WhatsApp"] { border-color: transparent; background: #25d366; }
.hero__social a[aria-label="Instagram"]:hover { box-shadow: 0 8px 20px -6px rgba(214, 36, 159, .7); }
.hero__social a[aria-label="Facebook"]:hover  { box-shadow: 0 8px 20px -6px rgba(24, 119, 242, .7); }
.hero__social a[aria-label="YouTube"]:hover   { box-shadow: 0 8px 20px -6px rgba(255, 0, 0, .7); }
.hero__social a[aria-label="WhatsApp"]:hover  { box-shadow: 0 8px 20px -6px rgba(37, 211, 102, .7); }
.hero__social .icon { width: 18px; height: 18px; }
.hero__social-label {
  margin-top: 6px;
  padding-top: 14px;
  border-top: 2px solid var(--red);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .7);
}

/* Spinning play badge, bottom right */
.hero__badge.spin-badge {
  position: absolute;
  right: 40px;
  bottom: 128px;   /* above the hero's angled bottom edge */
}
.spin-badge { position: relative; width: 176px; height: 176px; border-radius: 50%; }
.spin-badge__text {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  animation: spin 18s linear infinite;
}
.spin-badge__text text {
  fill: #fff;
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .24em;
}
.spin-badge__img {
  position: absolute;
  inset: 26px;
  width: calc(100% - 52px); height: calc(100% - 52px);
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--red);
  box-shadow: 0 0 0 6px rgba(227, 18, 27, .18), 0 0 34px var(--red-glow);
}
.spin-badge__play {
  position: absolute;
  left: 50%; top: 50%;
  width: 56px; height: 56px;
  margin: -28px 0 0 -28px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(10, 11, 14, .7);
  box-shadow: inset 0 0 0 1.5px #fff;
  color: #fff;
  transition: transform .4s var(--ease), background .3s;
}
.spin-badge__play .icon { width: 20px; height: 20px; margin-left: 0px; }
.spin-badge:hover .spin-badge__play { transform: scale(1.1); background: var(--red); }
@keyframes spin { to { transform: rotate(360deg); } }
/* shorter screens (most laptops): compact panel + badge so they don't collide */
@media (max-height: 860px) {
  .hero__social { gap: 10px; padding: 14px 12px; }
  .hero__social a { width: 40px; height: 40px; }
  .spin-badge { width: 140px; height: 140px; }
  .cta{
    clip-path:none!important;
    padding: 52px 0 67px;
  }
  .spin-badge__img { inset: 22px; width: calc(100% - 44px); height: calc(100% - 44px); }
  .spin-badge__play { width: 46px; height: 46px; margin: -23px 0 0 -23px; }
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 120px;
  width: 26px; height: 42px;
  margin-left: -13px;
  border: 1.5px solid rgba(255, 255, 255, .5);
  border-radius: 20px;
}
.hero__scroll span {
  position: absolute;
  left: 50%; top: 8px;
  width: 4px; height: 8px;
  margin-left: -2px;
  border-radius: 4px;
  background: var(--red);
  animation: scroll-cue 1.8s var(--ease) infinite;
}
@keyframes scroll-cue {
  0% { transform: translateY(0); opacity: 1; }
  80% { transform: translateY(14px); opacity: 0; }
  100% { opacity: 0; }
}

/* 06. Section shells, "sheet-rise" transition, reveals ---------- */
.section {
  position: relative;
  padding: 100px 0 calc(50px + var(--overlap));
  overflow: hidden;
}
.section--light { background: var(--light); color: var(--ink); }
.section--dark { background: var(--dark); color: #fff; }
.section--dark .lead, .section--dark .section-head__side p { color: var(--muted-dark); }

/* Sheet-rise: each section glides up over the previous one like an app
   bottom-sheet — slightly scaled with rounded top corners, settling flat
   as it reaches the viewport. Progress (--sheet: 0→1) is set in JS.      */
.sheet {
  --sheet: 1;


  transform-origin: 50% 0;
  box-shadow: 0 -30px 60px -30px rgba(0, 0, 0, calc((1 - var(--sheet)) * .5));
}
.sheet.is-animating { will-change: transform; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 50px;
}
.section-head__side {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 560px;
}
.section-head__side p { font-size: 15px; color: var(--muted); }
.section-head--center {
  flex-direction: column;
  align-items: center;
  gap: 0;
  text-align: center;
}
.section-head__lead { color: var(--muted); max-width: 520px; margin-top: 14px; }

/* Scroll reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .9s var(--ease), transform 1s var(--ease);
  transition-delay: var(--rd, 0s);
}
[data-reveal="up"] { transform: translateY(50px); }
[data-reveal="left"] { transform: translateX(-50px); }
[data-reveal="zoom"] { transform: scale(.92); }
[data-reveal="clip"] {
  opacity: 1;
  transform: none;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.2s var(--ease-in-out);
  transition-delay: var(--rd, 0s);
}
[data-reveal="clip-right"] {
  opacity: 1;
  transform: none;
  clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%);
  transition: clip-path 1.3s var(--ease-in-out);
}
[data-reveal].is-visible { opacity: 1; transform: none; }
.reveal-done { transition-delay: 0s !important; }
[data-reveal="clip"].is-visible { clip-path: inset(0 0 0 0); }

.slash {
  position: absolute;
  background: var(--red);
  pointer-events: none;
}

/* 07. About ---------------------------------------------------- */
.about { z-index: 1; margin-top: -110px; padding-top: 200px; }
.slash--about {
  top: 160px; left: 3%;
  width: 10px; height: 28px;
  transform: skewX(-25deg);
}
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 70px;
  align-items: center;
}
.about__content .title { margin-bottom: 22px; }
.about__content .lead { margin-bottom: 26px; }
.about__values-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 8px 0 18px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(20px, 1.6vw, 24px);
  letter-spacing: -.01em;
  color: var(--ink);
}
.about__values-title::before {
  content: "";
  width: 34px;
  height: 3px;
  border-radius: 3px;
  background: var(--red);
}

.checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
  margin-bottom: 34px;
}
.checklist li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 500; }
.checklist .icon {
  width: 22px; height: 22px; padding: 4px;
  border-radius: 50%;
  background: rgba(227, 18, 27, .1);
  color: var(--red);
}

.stats {
  display: flex;
  gap: 0;
  margin-bottom: 38px;
}
.stat { padding-right: 36px; margin-right: 36px; border-right: 1px solid rgba(17, 19, 24, .1); }
.stat:last-child { border: 0; margin: 0; padding: 0; }
.stat strong {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(30px, 3.4vw, 42px);
  line-height: 1;
  margin-bottom: 8px;
}
.stat:nth-child(n+2) strong { color: var(--red); }
.stat > span { font-size: 13px; color: var(--muted); }

.about__collage {
  position: relative;
  height: 560px;
}
.collage {
  position: absolute;
  overflow: hidden;
  background: var(--dark);
  clip-path: var(--shape-from);
  transition: clip-path 1.2s var(--ease-in-out) var(--rd, 0s);
}
.collage.is-visible { clip-path: var(--shape); }
.collage img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.collage:hover img { transform: scale(1.06); }
.collage--main {
  inset: 0 18% 14% 0;
  --shape: polygon(14% 0, 100% 0, 86% 100%, 0 100%);
  --shape-from: polygon(14% 0, 14% 0, 0 100%, 0 100%);
}
.collage__play {
  position: absolute;
  left: 50%; top: 50%;
  width: 72px; height: 72px;
  margin: -36px 0 0 -36px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .18);
  border: 1.5px solid rgba(255,255,255,.7);
  color: #fff;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: transform .4s var(--ease), background .3s;
}
.collage__play::before {
  content: ""; position: absolute; inset: -8px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.4);
  animation: pulse-ring 2.4s var(--ease) infinite;
}
.collage__play:hover { transform: scale(1.1); background: var(--red); border-color: var(--red); }
.collage__play .icon { width: 24px; height: 24px; margin-left: 3px; }

.collage--tile {
  top: 0; right: 0;
  width: 30%; height: 44%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 14px;
  padding: 20px;
  text-align: center;
  color: #fff;
  background: linear-gradient(160deg, #1d2128, #0b0d10);
  --shape: polygon(22% 0, 100% 0, 100% 100%, 0 100%);
  --shape-from: polygon(22% 0, 22% 0, 0 100%, 0 100%);
}
.collage--tile .icon { width: 36px; height: 36px; color: var(--red); }
.collage--tile p { font-family: var(--font-head); font-weight: 700; font-size: 17px; line-height: 1.25; }
.collage--small {
  right: 0; bottom: 0;
  width: 46%; height: 50%;
  --shape: polygon(20% 0, 100% 0, 100% 100%, 0 100%);
  --shape-from: polygon(20% 0, 20% 0, 0 100%, 0 100%);
}
.collage__bar {
  position: absolute;
  right: -16px; bottom: 14%;
  width: 14px; height: 120px;
  background: var(--red);
  transform: skewX(-18deg);
}

/* 08. Services + carousel -------------------------------------- */
.services { z-index: 3; }
.services::before {
  content: "";
  position: absolute;
  width: 520px; height: 520px;
  left: -200px; bottom: -200px;
  background: radial-gradient(circle, rgba(227, 18, 27, .16), transparent 65%);
  pointer-events: none;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 44px;
  padding: 0 20px;
  border-radius: 100px;
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, .03);
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255,255,255,.75);
  transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease);
}
.chip .icon { width: 18px; height: 18px; color: var(--red); transition: color .3s; }
.chip:hover { border-color: rgba(255,255,255,.3); color: #fff;
 }
.chip.is-active { background: var(--red); border-color: var(--red); color: #fff; }
.chip.is-active .icon { color: #fff; }

/* Generic carousel (native scroll-snap = free touch swipe) */
.carousel { --per: 4; --gap: 20px; position: relative; }
.carousel__track {
  display: flex;
  gap: var(--gap);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 14px 2px 30px;
  margin: -14px -2px -30px;
  cursor: grab;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * {
  flex: 0 0 calc((100% - var(--gap) * (var(--per) - 1)) / var(--per));
  scroll-snap-align: start;
  min-width: 0;
}
.carousel__track.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.carousel__track.is-dragging * { user-select: none; pointer-events: none; }
.carousel__track:focus-visible { outline-offset: 6px; }

.carousel__progress {
  position: relative;
  height: 3px;
  margin-top: 46px;
  background: var(--line-dark);
  border-radius: 3px;
  overflow: hidden;
}
.carousel__progress span {
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: var(--thumb, 25%);
  background: var(--red);
  border-radius: 3px;
  transform: translateX(var(--offset, 0));
  transition: width .3s, transform .15s linear;
}
.carousel__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 42px;
}
.carousel__dots { display: flex; gap: 8px; }
.carousel__dots button {
  width: 10px; height: 10px;
  border-radius: 10px;
  background: rgba(17, 19, 24, .18);
  transition: width .4s var(--ease), background .3s;
}
.section--dark .carousel__dots button { background: rgba(255, 255, 255, .22); }
.carousel__dots button.is-active { width: 30px; background: var(--red); }
.testimonials .carousel__dots { justify-content: center; margin-top: 40px; }

.service-card {
  position: relative;
  height: 420px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  isolation: isolate;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.service-card.is-hidden { display: none; }
.service-card.is-entering { animation: card-in .7s var(--ease) both; animation-delay: calc(var(--i, 0) * 70ms); }
@keyframes card-in { from { opacity: 0; transform: translateY(30px) scale(.97); } }
.service-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 1.1s var(--ease);
}
.service-card::after {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(7,8,10,0) 30%, rgba(7,8,10,.72) 62%, rgba(7,8,10,.96) 100%);
}
.service-card:hover { box-shadow: 0 30px 50px -24px rgba(227, 18, 27, .45); }
.service-card:hover img { transform: scale(1.08); }
.service-card__body {
  position: absolute;
  left: 24px; right: 76px; bottom: 24px;
}
.service-card__num {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 15px;
  color: var(--red);
  margin-bottom: 6px;
}
.service-card h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.25;
  margin-bottom: 6px;
}
.service-card p { font-size: 13.5px; color: rgba(255,255,255,.7); line-height: 1.5; margin-bottom: 12px; }
.service-card__price {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.14);
}
.service-card__btn {
  position: absolute;
  right: 22px; bottom: 26px;
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  box-shadow: 0 8px 20px -6px var(--red-glow);
  transition: transform .45s var(--ease), background .3s;
}
.service-card__btn:hover { background: #fff; color: var(--red); }
.service-card:hover .service-card__btn { transform: rotate(-45deg); }

/* 09. Polish Panda Auto Hub ----------------------------------- */
.hub {
  --tiles-h: 172px;
  z-index: 2;
  min-height: clamp(760px, 56vw, 900px);
  display: flex;
  align-items: center;
  padding: 110px 0 calc(70px + var(--overlap));
  background: #07080b;
}

/* Storefront photo on the right with an angled, faded left edge */
.hub__photo {
  position: absolute;
  top: 0; right: 0; bottom: var(--overlap);
  width: 64%;
  overflow: hidden;
  clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%);
}
.hub__photo img {
  width: 100%; height: 112%;
  margin-top: -6%;
  object-fit: cover;
  object-position: 60% center;
}
.hub__shade {
  position: absolute; inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, #07080b 34%, rgba(7, 8, 11, .75) 44%, rgba(7, 8, 11, .15) 62%, transparent 75%),
    linear-gradient(0deg, rgba(7, 8, 11, .95) 0%, rgba(7, 8, 11, .35) 32%, transparent 55%),
    linear-gradient(180deg, rgba(7, 8, 11, .55) 0%, transparent 25%),
    radial-gradient(40% 50% at 0% 100%, rgba(227, 18, 27, .22), transparent 70%);
}
.hub__shade::after {              /* red light edge along the photo's diagonal */
  content: "";
  position: absolute;
  top: -5%; bottom: 10%;
  left: 40%;
  width: 2px;
  background: linear-gradient(0deg, transparent, rgba(255, 50, 60, .85) 45%, transparent);
  box-shadow: 0 0 16px rgba(227, 18, 27, .8);
  transform: skewX(-10deg);
  transform-origin: bottom;
}

/* Polish Panda logo, top right */
.hub__brand-badge {
  position: absolute;
  top: 46px;
  right: max(var(--gutter), calc((100vw - var(--container)) / 2));
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1;
}
.hub__badge {
width: 284px;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, .6));
}
.hub__wordmark { width: 196px; height: auto; filter: drop-shadow(0 4px 14px rgba(0, 0, 0, .7)); }

.hub__inner { position: relative; z-index: 1; }
.hub__content { max-width: 680px; }

.hub__company {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 46px;
}
.hub__company img { width: 100px; height: auto; }
.hub__company strong {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15.5px;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: #fff;
}
.hub__company span {
  display: block;
  margin-top: 6px;
  font-size: 10.5px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .7);
}
.hub__company i, .hub__tagline i { font-style: normal; color: var(--red); margin: 0 .5em; }

.hub__eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 18px;
}
.hub__eyebrow::before { content: ""; width: 52px; height: 2px; background: var(--red); }
.hub__title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(30px, 3.5vw, 58px);
  line-height: 1.1;
  letter-spacing: -.02em;
  margin-bottom: 22px;
}
.hub__text {
  font-size: clamp(15px, 1.2vw, 17.5px);
  line-height: 1.7;
  color: rgba(255, 255, 255, .78);
  max-width: 640px;
  margin-bottom: 14px;
}
/* first paragraph reads as the intro */
.hub__title + .hub__text { color: #fff; font-size: clamp(16px, 1.3vw, 19px); font-weight: 500; margin-bottom: 18px; }

/* Feature cards: 2 × 2 grid, icon + title + short line */
.hub__features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 680px;
  margin: 32px 0 38px;
}
.hub__features li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
  backdrop-filter: blur(6px);
  overflow: hidden;
  transition: border-color .4s, transform .5s var(--ease), background .4s;
}
/* red accent bar that grows on hover */
.hub__features li::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--red);
  transform: scaleY(.35);
  transition: transform .5s var(--ease);
}
.hub__features li:hover {
  border-color: rgba(227, 18, 27, .55);
  background: linear-gradient(135deg, rgba(227, 18, 27, .14), rgba(255, 255, 255, .03));
 
}
.hub__features li:hover::before { transform: scaleY(1); }
.hub__ficon {
  flex-shrink: 0;
  display: grid; place-items: center;
  width: 52px; height: 52px;
  border-radius: 14px;
  border: 1.5px solid var(--red);
  background: radial-gradient(circle, rgba(227, 18, 27, .18), transparent 70%);
  box-shadow: 0 0 20px -6px rgba(227, 18, 27, .75);
  color: #fff;
  transition: background .4s, box-shadow .4s;
}
.hub__ficon .icon { width: 24px; height: 24px; }
.hub__features li:hover .hub__ficon { background: var(--red); box-shadow: 0 10px 24px -6px rgba(227, 18, 27, .9); }
.hub__features li div { min-width: 0; }
.hub__features strong {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 15px;
  line-height: 1.25;
  color: #fff;
  margin-bottom: 4px;
}
.hub__features small {
  display: block;
  font-size: 13.5px;
  line-height: 1.45;
  color: rgba(255, 255, 255, .7);
}

.hub__actions { display: flex; align-items: center; gap: 34px; flex-wrap: wrap; }
.hub__btn {
  height: 62px;
  padding: 0 40px;
  font-size: 16px;
 
}
.hub__tagline {
  position: relative;
  padding-top: 20px;
  font-size: 11px;
  letter-spacing: .2em;
  white-space: nowrap;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .75);
}
.hub__tagline::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--red), rgba(227, 18, 27, .35));
}

/* Slanted service tiles, bottom right */
.hub__tiles {
  position: absolute;
  z-index: 1;
  --edge: max(var(--gutter), calc((100vw - var(--container)) / 2));   /* container's left/right edge */
  left: calc(var(--edge) + 640px);   /* start just after the button + tagline */
  right: var(--edge);
  bottom: calc(var(--overlap) + 28px);
  display: flex;
}
.hub__tile { flex: 1; min-width: 0; }
.hub__tile + .hub__tile { margin-left: -2.4%; }
.hub__tile button {
  position: relative;
  display: block;
  width: 100%;
  height: var(--tiles-h);
  overflow: hidden;
  clip-path: polygon(16% 0, 100% 0, 84% 100%, 0 100%);
  background: var(--card);
  text-align: left;
}
.hub__tile img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(.75) brightness(.8);
  transition: transform .9s var(--ease), filter .5s;
}
.hub__tile button::before {       /* bottom fade for label legibility */
  content: "";
  position: absolute; inset: 0;
  z-index: 1;
  background: linear-gradient(0deg, rgba(7, 8, 11, .95) 0%, rgba(7, 8, 11, .25) 55%, transparent);
}
.hub__tile-label {
  position: absolute;
  z-index: 3;
  left: 12%; right: 14%; bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #fff;
  transition: color .3s;
}
.hub__tile-label .icon { width: 24px; height: 24px; flex-shrink: 0; }
.hub__tile button:hover img { transform: scale(1.08); filter: saturate(1) brightness(.95); }
.hub__tile button:hover .hub__tile-label { color: #ff4b53; }
.hub__tiles.is-visible .hub__tile { animation: tile-in .8s var(--ease) both; animation-delay: calc(var(--i) * 90ms + .2s); }
@keyframes tile-in { from { opacity: 0; transform: translateY(30px); } }

/* 09b. Karvex products & equipment ----------------------------- */
.karvex__head {

  margin-bottom: 30px;
}
/* white logo on the light section → sits on a dark badge; PNG has heavy padding, so crop to the wordmark */
.karvex__logo {
  display: block;
  width: fit-content;
  padding: 16px 26px;
  margin-bottom: 22px;
  border-radius: var(--radius);
  background: var(--dark);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
}
.karvex__logo img {
  display: block;
  width: clamp(200px, 22vw, 280px);
  aspect-ratio: 4.4 / 1;
  object-fit: cover;
  object-position: center 51%;
}
.marginBottommain {
  margin-bottom: 20px;
}
.karvex__lead {
  max-width: 100%;


  font-size: clamp(15px, 1vw, 17px);
  line-height: 1.7;
  color: #5b6270;
}
.karvex__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(10px, 1.3vw, 10px);
}
.karvex__grid1 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(10px, 1.3vw, 10px);
  margin-top: 20px;
}
/* equipment photos come in different shapes — give every card the same frame */
.karvex__grid1 .kv-product__media { aspect-ratio: 4 / 3; }
.karvex__grid1 .kv-product__media img { position: absolute; inset: 0; object-position: center; }
.kv-product {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 18px 44px -24px rgba(16, 18, 24, .28), 0 0 0 1px rgba(17, 19, 24, .04);
  overflow: hidden;
}
.kv-product.is-visible { transition: opacity .9s var(--ease), transform .45s var(--ease), box-shadow .4s var(--ease); }
.kv-product:hover {  box-shadow: 0 28px 54px -24px rgba(16, 18, 24, .36); }
.kv-product__media {
  position: relative;
  display: grid;
  place-items: center;

  background: radial-gradient(circle at 70% 20%, rgba(227, 18, 27, .16), transparent 60%), linear-gradient(160deg, #1b1f26, #0b0d10);
  overflow: hidden;
}
.kv-product__media img {
 inset: 0;
  width: 100%; height: 100%;
  z-index: 1;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.kv-product:hover .kv-product__media img { transform: scale(1.06); }
.kv-product__media img + .kv-product__ph { display: none; }   /* hide the icon once a photo is present */
.kv-product__ph {
  display: grid; place-items: center;
  width: 74px; height: 74px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  box-shadow: 0 0 0 10px rgba(227, 18, 27, .18), 0 12px 26px -8px var(--red-glow);
}
.kv-product__ph .icon { width: 34px; height: 34px; }
.kv-product__cat {
  position: absolute;
  left: 14px; top: 14px;
  z-index: 1;
  padding: 6px 12px;
  border-radius: 100px;
  background: rgba(255, 255, 255, .92);
  color: var(--ink);
  font-family: var(--font-head);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.kv-product__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 22px 24px;
}
.kv-product h3 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(16px, 1.1vw, 19px);
  line-height: 1.25;
  margin-bottom: 10px;
}
.kv-product__desc { font-size: 14px; line-height: 1.55; color: #5b6270; }

.kv-equip {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  align-items: center;
  margin-bottom:20px;
  gap: clamp(24px, 4vw, 64px);
  margin-top: clamp(20px, 3vw, 20px);
  padding: clamp(26px, 2.6vw, 42px);
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at 100% 0, rgba(227, 18, 27, .35), transparent 45%), var(--dark);
  color: #fff;
}
.kv-equip__top { display: flex; align-items: center; gap: 22px; margin-bottom: 22px; }
.kv-equip__icon {
  flex-shrink: 0;
  display: grid; place-items: center;
  width: 68px; height: 68px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 10px rgba(227, 18, 27, .18);
}
.kv-equip__icon .icon { width: 32px; height: 32px; }
.kv-equip__top .eyebrow { margin-bottom: 8px; }
.kv-equip__top h3 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.2;
}
.kv-equip__main p { color: var(--muted-dark); font-size: 15px; line-height: 1.7; }
.kv-equip__main p + p { margin-top: 12px; }

.kv-equip__side {
  padding: clamp(22px, 2.2vw, 32px);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .04);
}
.kv-equip__certs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.kv-equip__certs li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(227, 18, 27, .5);
  border-radius: 999px;
  background: rgba(227, 18, 27, .12);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
}
.kv-equip__certs .icon { width: 15px; height: 15px; color: var(--red); }
.kv-equip__note { color: var(--muted-dark); font-size: 14px; line-height: 1.65; margin-bottom: 22px; }
.kv-equip__side .btn { width: 100%; justify-content: center; }

@media (max-width: 1239px) {
  .karvex__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 991px) {
  .karvex__head { flex-direction: column; align-items: flex-start; gap: 22px; }
  .karvex__grid { grid-template-columns: repeat(2, 1fr); }
  .kv-equip { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .karvex__grid { grid-template-columns: 1fr; }
  .kv-equip__top { flex-direction: column; align-items: flex-start; gap: 18px; }
}

/* 09c. Rider Panda --------------------------------------------- */
.rider__head {

  margin-bottom: 50px;
}
/* logo is a JPG on solid black — "lighten" melts the black into the dark section */
.rider__logo {
  display: block;
  width: 300px;
  height: auto;
  margin-bottom: 20px;

}
.rider__lead {
  max-width: 100%;


  font-size: clamp(15px, 1vw, 17px);
  line-height: 1.7;
  color: var(--muted-dark);
}
.rider__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(10px, 1.3vw, 10px);
}
.rider-cat {
  position: relative;
  padding: 30px 26px 32px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--card), var(--charcoal));
  border: 1px solid var(--line-dark);
  overflow: hidden;
  isolation: isolate;
}
.rider-cat::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0; right: 0;
  width: 70%; height: 60%;
  background: linear-gradient(225deg, rgba(227, 18, 27, .22), rgba(227, 18, 27, 0) 60%);
  opacity: .6;
  transition: opacity .4s var(--ease);
}
.rider-cat.is-visible { transition: opacity .9s var(--ease), transform .45s var(--ease), border-color .4s; }
.rider-cat:hover {  border-color: rgba(227, 18, 27, .5); }
.rider-cat:hover::before { opacity: 1; }
.rider-cat__icon {
  display: grid; place-items: center;
  width: 64px; height: 64px;
  margin-bottom: 26px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  box-shadow: 0 0 0 9px rgba(227, 18, 27, .16), 0 12px 26px -8px var(--red-glow);
}
.rider-cat__icon .icon { width: 30px; height: 30px; }
.rider-cat__num {
  position: absolute;
  top: 28px; right: 26px;
  font-size: 20px;
  font-weight: 500;
  color: rgba(255, 255, 255, .28);
}
.rider-cat h3 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(16px, 1.15vw, 20px);
  line-height: 1.25;
  margin-bottom: 10px;
}
.rider-cat p { font-size: 14px; line-height: 1.6; 
  color: var(--muted-dark); }

.rider-franchise {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: clamp(20px, 3vw, 20px);
  padding: clamp(26px, 2.6vw, 42px);
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, #e3121b, #a50c13);
  color: #fff;
}
.rider-franchise .eyebrow { color: #fff; margin-bottom: 10px; }
.rider-franchise .eyebrow::before { background: #fff; }
.rider-franchise h3 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(20px, 1.8vw, 30px);
  margin-bottom: 8px;
}
.rider-franchise__text p:last-child { color: rgba(255, 255, 255, .85); font-size: 15px; max-width: 620px; }
.rider-franchise .btn { background: #fff; color: var(--red); box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .4); flex-shrink: 0; }
.rider-franchise .btn:hover { background: var(--ink); color: #fff; }

@media (max-width: 1239px) {
  .rider__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 991px) {
  .rider__head { flex-direction: column; align-items: flex-start; gap: 22px; }
  .rider__grid { grid-template-columns: repeat(2, 1fr); }
  .rider-franchise { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .rider__grid { grid-template-columns: 1fr; }
  .rider-franchise .btn { width: 100%; }
}

/* 09d. Barber Panda -------------------------------------------- */
.barber__head {

  margin-bottom: 44px;
}
/* logo JPG has a solid black background — show it as a dark rounded tile on the light section */
.barber__logo {
  display: block;
  width:300px;
  height: auto;
  margin-bottom: 22px;
}
.barber__lead {
  max-width: 100%;

  font-size: clamp(15px, 1vw, 17px);
  line-height: 1.7;
  color: #5b6270;
}
.barber__photos {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(14px, 1.2vw, 10px);
  margin-bottom: clamp(20px, 2.4vw, 20px);
}
.barber__photos li {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background: radial-gradient(circle at 70% 20%, rgba(227, 18, 27, .16), transparent 60%), linear-gradient(160deg, #1b1f26, #0b0d10);
  overflow: hidden;
}
.barber__photos li:first-child { aspect-ratio: auto; }
.barber__photos img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.barber__photos li:hover img { transform: scale(1.05); }
.barber__photos img + .barber__ph { display: none; }
.barber__ph {
  display: grid; place-items: center;
  width: 70px; height: 70px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  box-shadow: 0 0 0 10px rgba(227, 18, 27, .18);
}
.barber__ph .icon { width: 32px; height: 32px; }

.barber__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(15px, 1.3vw, 15px);
}
.barber-menu,
.barber-info {
  padding: clamp(24px, 2.2vw, 36px);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 18px 44px -24px rgba(16, 18, 24, .28), 0 0 0 1px rgba(17, 19, 24, .04);
}
.barber__subtitle {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(19px, 1.5vw, 24px);
  margin-bottom: 20px;
}
.barber-menu__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 30px;
}
.barber-menu__list li {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 0 14px 18px;
  border-bottom: 1px dashed rgba(17, 19, 24, .14);
  position: relative;
}
.barber-menu__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 21px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--red);
}
.barber-menu__list strong { font-family: var(--font-head); font-size: 15px; font-weight: 700; }
.barber-menu__list span { font-size: 13.5px; color: #5b6270; }

.barber-info { display: flex; flex-direction: column; }
.barber-info__list { flex: 1; display: grid; align-content: space-evenly; gap: 22px; }
.barber-info__list li { display: flex; align-items: flex-start; gap: 14px; }
.barber-info__list .icon {
  flex-shrink: 0;
  width: 42px; height: 42px;
  padding: 10px;
  border-radius: 50%;
  background: #fce6e8;
  color: var(--red);
}
.barber-info__list small {
  display: block;
  font-family: var(--font-head);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 2px;
}
.barber-info__list span,
.barber-info__list a { font-size: 14.5px; line-height: 1.5; color: var(--ink); }
.barber-info__list a:hover { color: var(--red); }

.barber-franchise {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: clamp(20px, 3vw, 20px);
  padding: clamp(26px, 2.6vw, 42px);
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at 100% 0, rgba(227, 18, 27, .35), transparent 45%), var(--dark);
  color: #fff;
}
.barber-franchise .eyebrow { margin-bottom: 10px; }
.barber-franchise h3 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(20px, 1.8vw, 30px);
  margin-bottom: 8px;
}
.barber-franchise p:last-child { color: var(--muted-dark); font-size: 15px; max-width: 620px; }
.barber-franchise .btn { flex-shrink: 0; }

@media (max-width: 991px) {
  .barber__head { flex-direction: column; align-items: flex-start; gap: 22px; }
  .barber__grid { grid-template-columns: 1fr; }
  .barber-franchise { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 680px) {
  .barber__photos { grid-template-columns: 1fr 1fr; }
  .barber__photos li:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
  .barber-menu__list { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .barber-franchise .btn { width: 100%; }
}

/* 09e. Forward Automobiles ------------------------------------- */
/* Both this section and Services are dark, so trim the padding where they meet */
.section.fauto { padding-bottom: calc(clamp(40px, 5vw, 70px) + var(--overlap)); }
.fauto + .services { padding-top: clamp(50px, 6vw, 80px); }
.fauto__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: end;
  gap: clamp(28px, 4vw, 64px);
  margin-bottom: 44px;
}
.fauto__head .title { margin-bottom: 0; }
.fauto__intro {
  padding: clamp(22px, 2.4vw, 34px);
  border: 1px solid var(--line-dark);
  border-left: 3px solid var(--red);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .03);
}
.fauto__subtitle-lg {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.35;
  color: #fff;
  margin-bottom: 14px;
}
.fauto__intro .fauto__lead + .fauto__lead { margin-top: 10px; }
.fauto__tagline {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line-dark);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--red);
}
/* logo PNG has a solid black background — "lighten" melts it into the dark section */
.fauto__logo {
  display: block;
  width: 300px;
  height: auto;
  margin-bottom: 20px;
  mix-blend-mode: lighten;
}
.fauto__lead {
  max-width: 100%;

  font-size: clamp(15px, 1vw, 17px);
  line-height: 1.7;
  color: var(--muted-dark);
}
.fauto__types {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 1.3vw, 24px);
  margin-bottom: clamp(24px, 2.4vw, 36px);
}
.fauto-type {
  padding: clamp(24px, 2.2vw, 34px);
  border-radius: var(--radius);
  border: 1px solid var(--line-dark);
  background: linear-gradient(160deg, var(--card), var(--charcoal));
}
.fauto-type--oem { border-color: rgba(227, 18, 27, .45); background: radial-gradient(circle at 100% 0, rgba(227, 18, 27, .22), transparent 55%), var(--card); }
.fauto-type h3 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(18px, 1.4vw, 23px);
  margin: 16px 0 8px;
}
.fauto-type p { font-size: 14.5px; line-height: 1.6; color: var(--muted-dark); max-width: 520px; }

/* Type tags: solid red = Genuine/OEM, outline = Aftermarket */
.fauto-tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  border-radius: 100px;
  font-family: var(--font-head);
  font-size: 10.5px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.fauto-tag--oem { background: var(--red); color: #fff; }
.fauto-tag--after { border: 1.5px solid rgba(255, 255, 255, .45); color: #fff; }

.fauto__subtitle {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(19px, 1.5vw, 24px);
  margin-bottom: 18px;
}
.fauto-cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.fauto-cats li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  column-gap: 14px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid var(--line-dark);
  background: var(--card);
}
.fauto-cats .icon {
  width: 38px; height: 38px;
  padding: 9px;
  border-radius: 50%;
  background: rgba(227, 18, 27, .15);
  color: var(--red);
}
.fauto-cats strong { font-family: var(--font-head); font-size: 14.5px; font-weight: 700; }
.fauto-tags { display: flex; gap: 6px; }
.fauto-cats small { grid-column: 2 / -1; font-size: 12px; color: var(--muted-dark); margin-top: -2px; }

@media (max-width: 1239px) {
  .fauto-cats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 991px) {
  .fauto__head { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 680px) {
  .fauto__types { grid-template-columns: 1fr; }
  .fauto-cats { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .fauto-cats li { grid-template-columns: auto 1fr; }
  .fauto-tags { grid-column: 2; margin-top: 6px; }
}

/* 09g. Karvex car wash management software ---------------------- */
/* its own "tech" background — deep navy with a faint grid — so it reads as a separate section
   from the black Rider Panda section below */
.kvsoft {
  position: relative;
  overflow: hidden;
  overflow: clip;            /* clip (not hidden) so the sticky slider still sticks */
  background:
    radial-gradient(55% 45% at 100% 0%, rgba(227, 18, 27, .22), transparent 70%),
    radial-gradient(50% 40% at 0% 100%, rgba(37, 99, 235, .18), transparent 70%),
    linear-gradient(160deg, #0d1426 0%, #0a1020 55%, #070b16 100%);
  border-top: 1px solid rgba(227, 18, 27, .45);
}
.kvsoft::before {                 /* faint blueprint grid */
  content: "";
  position: absolute; inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(80% 70% at 50% 40%, #000, transparent);
  mask-image: radial-gradient(80% 70% at 50% 40%, #000, transparent);
}
/* background video + dark overlay so text and screenshots stay readable */
.kvsoft__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.kvsoft__video {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s;
}
.kvsoft__video.is-playing { opacity: 1; }
.kvsoft__shade {
  position: absolute; inset: 0; z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10, 16, 32, .9) 0%, rgba(10, 16, 32, .74) 35%, rgba(10, 16, 32, .8) 70%, rgba(7, 11, 22, .95) 100%),
    radial-gradient(60% 50% at 100% 0%, rgba(227, 18, 27, .2), transparent 70%);
  opacity: 0;                     /* only darken when the video is actually playing */
  transition: opacity 1.2s;
}
.kvsoft__bg:has(.is-playing) + .kvsoft__shade { opacity: 1; }
.kvsoft__inner { position: relative; z-index: 1; }

/* layout: text column left, image slider right (sticks in view while the text scrolls) */
.kvsoft .kvsoft__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(32px, 4.5vw, 72px);
  align-items: start;
}
.kvsoft__text .title { margin-bottom: 22px; }
.kvsoft__intro .kvsoft__lead + .kvsoft__lead { margin-top: 10px; }
.kvsoft__lead--first { color: #fff; font-weight: 500; }
.kvsoft__tagline {
  display: inline-flex; align-items: center; gap: 12px;
  margin-top: 18px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--red);
}
.kvsoft__tagline::before { content: ""; width: 28px; height: 2px; background: var(--red); }

.kvsoft-slider {
  position: sticky;
  top: 110px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  background: #050608;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .85), 0 0 0 6px rgba(255, 255, 255, .03);
}
.kvsoft-slider__track { position: relative; aspect-ratio: 16 / 9; }
.kvsoft-slider__slide {
  position: absolute; inset: 0;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity .9s var(--ease), transform 6s linear;
}
.kvsoft-slider__slide.is-active { opacity: 1; transform: scale(1); z-index: 1; }
.kvsoft-slider__slide img { width: 100%; height: 100%; object-fit: contain; }
.kvsoft-slider__dots {
  position: absolute;
  z-index: 2;
  left: 50%; bottom: 14px;
  transform: translateX(-50%);
  display: flex; gap: 8px;
  padding: 6px 10px;
  border-radius: 99px;
  background: rgba(0, 0, 0, .45);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.kvsoft-slider__dots button {
  width: 8px; height: 8px;
  padding: 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, .45);
  transition: width .4s var(--ease), background .3s;
}
.kvsoft-slider__dots button.is-active { width: 24px; background: var(--red); }
.kvsoft-slider__progress {           /* thin bar showing time until the next slide */
  position: absolute;
  z-index: 2;
  left: 0; bottom: 0;
  height: 3px; width: 100%;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
}
.kvsoft-slider__progress.is-running { transform: scaleX(1); transition: transform var(--slide-ms, 4500ms) linear; }

@media (max-width: 991px) {
  .kvsoft .kvsoft__inner { grid-template-columns: 1fr; }
  .kvsoft-slider { position: relative; top: auto; order: -1; }   /* slider above the text on tablet / phone */
}

/* closing statement panel with the enquiry button */
.kvsoft-partner {
  position: relative;
  margin-top: clamp(36px, 4vw, 56px);
  padding: clamp(28px, 3.4vw, 52px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, .1);
  background: linear-gradient(135deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .015));
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  overflow: hidden;
}
.kvsoft-partner::before {         /* red accent bar on the left */
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--red), rgba(227, 18, 27, .2));
}
.kvsoft-partner__title {
  max-width: 900px;
  margin-bottom: 18px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(24px, 2.4vw, 38px);
  line-height: 1.2;
  letter-spacing: -.01em;
}
.kvsoft-partner__text {
  max-width: 820px;
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.75;
  color: var(--muted-dark);
}
.kvsoft-partner__text + .kvsoft-partner__text { margin-top: 12px; }
.kvsoft-partner__text--strong { color: #fff; font-weight: 600; }
.kvsoft-partner__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}
.kvsoft-partner__sign {
  font-family: var(--font-head);
  font-size: clamp(15px, 1.2vw, 19px);
  font-weight: 600;
  letter-spacing: .02em;
  color: rgba(255, 255, 255, .85);
}
.kvsoft-partner__sign strong { color: var(--red); font-weight: 900; letter-spacing: .12em; }
@media (max-width: 680px) {
  .kvsoft-partner__foot { flex-direction: column; align-items: stretch; }
  .kvsoft-partner__foot .btn { justify-content: center; }
}
.kvsoft__head { margin-bottom: 44px; }
.kvsoft__lead { font-size: clamp(15px, 1vw, 17px); line-height: 1.7; color: var(--muted-dark); }
/* screenshots: browser-framed desktop view with a phone overlapping its bottom-right corner */
.kvsoft-shots {
  position: relative;
  padding-right: clamp(60px, 9vw, 150px);
  padding-bottom: clamp(30px, 4vw, 60px);
  margin-bottom: 56px;
}
.kvsoft-shots::before {          /* red glow behind the screens */
  content: "";
  position: absolute;
  inset: 10% 15% 0 10%;
  z-index: 0;
  background: radial-gradient(closest-side, rgba(227, 18, 27, .35), transparent);
  filter: blur(40px);
  pointer-events: none;
}
.kvsoft-browser {
  position: relative;
  z-index: 1;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .85);
}
.kvsoft-browser__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 14px;
  background: #1b1e24;
}
.kvsoft-browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.kvsoft-browser__bar i:nth-child(2) { background: #febc2e; }
.kvsoft-browser__bar i:nth-child(3) { background: #28c840; }
.kvsoft-browser__bar span {
  margin: 0 auto;
  padding: 4px 18px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .07);
  font-size: 11.5px;
  color: rgba(255, 255, 255, .6);
}
.kvsoft-browser img { display: block; width: 100%; height: auto; }
.kvsoft-phone {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  width: clamp(140px, 19%, 250px);
  padding: 8px;
  border-radius: 30px;
  background: #0b0c0f;
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 40px 70px -20px rgba(0, 0, 0, .9), 0 0 0 4px rgba(255, 255, 255, .04);
}
.kvsoft-phone img { display: block; width: 100%; height: auto; border-radius: 22px; }

/* ---- "live" animation layer on the screenshots ---- */
.kvsoft-screen { position: relative; overflow: hidden; }
.kvsoft-phone .kvsoft-screen { border-radius: 22px; }
.kvsoft-phone { animation: kvsoft-float 6s ease-in-out infinite; }
@keyframes kvsoft-float { 50% { transform: translateY(-12px); } }

.kvsoft-live-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px;
  border-radius: 99px;
  background: rgba(40, 200, 64, .14);
  color: #4ade80;
  font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.kvsoft-live-pill em { width: 7px; height: 7px; border-radius: 50%; background: #28c840; animation: kvsoft-pulse 1.4s ease-out infinite; }
@keyframes kvsoft-pulse { 0% { box-shadow: 0 0 0 0 rgba(40, 200, 64, .7); } 100% { box-shadow: 0 0 0 8px rgba(40, 200, 64, 0); } }

/* light sweep that glides across the screen every few seconds */
.kvsoft-sweep {
  position: absolute; inset: 0;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, .35) 50%, transparent 60%);
  transform: translateX(-100%);
  animation: kvsoft-sweep 7s ease-in-out infinite;
}
.kvsoft-phone .kvsoft-sweep { animation-delay: 1.2s; }
@keyframes kvsoft-sweep { 0%, 60% { transform: translateX(-100%); } 85%, 100% { transform: translateX(100%); } }

/* mouse cursor moving between dashboard controls and "clicking" */
.kvsoft-cursor {
  position: absolute;
  z-index: 3;
  width: 22px; height: 22px;
  left: 50%; top: 50%;
  pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 2.5 19 13l-6.6 1.3L9 21 4 2.5Z' fill='%23111' stroke='%23fff' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
  filter: drop-shadow(0 3px 5px rgba(0, 0, 0, .45));
  animation: kvsoft-cursor 12s cubic-bezier(.6, 0, .3, 1) infinite;
}
.kvsoft-cursor::after {           /* click ripple */
  content: "";
  position: absolute;
  left: -9px; top: -9px;
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 2px solid var(--red);
  opacity: 0;
  animation: kvsoft-click 12s linear infinite;
}
/* stops: New Appointment → Open Queue → Saturday revenue bar → sidebar Queue → back */
@keyframes kvsoft-cursor {
  0%   { left: 60%; top: 55%; }
  12%, 20% { left: 92%; top: 8%; }
  32%, 40% { left: 43%; top: 39%; }
  52%, 60% { left: 63%; top: 58%; }
  72%, 80% { left: 6%;  top: 14%; }
  100% { left: 60%; top: 55%; }
}
@keyframes kvsoft-click {
  0%, 13%   { opacity: 0; transform: scale(.4); }
  14%       { opacity: 1; transform: scale(.4); }
  18%       { opacity: 0; transform: scale(1.6); }
  33%       { opacity: 0; transform: scale(.4); }
  34%       { opacity: 1; transform: scale(.4); }
  38%       { opacity: 0; transform: scale(1.6); }
  73%       { opacity: 0; transform: scale(.4); }
  74%       { opacity: 1; transform: scale(.4); }
  78%, 100% { opacity: 0; transform: scale(1.6); }
}

/* finger tap on the phone */
.kvsoft-tap {
  position: absolute;
  z-index: 3;
  width: 26px; height: 26px;
  margin: -13px 0 0 -13px;
  border-radius: 50%;
  background: rgba(227, 18, 27, .35);
  border: 2px solid rgba(255, 255, 255, .9);
  opacity: 0;
  pointer-events: none;
  animation: kvsoft-tap 9s ease-in-out infinite;
}
@keyframes kvsoft-tap {
  0%, 8%   { left: 77%; top: 15%; opacity: 0; transform: scale(.6); }
  12%      { left: 77%; top: 15%; opacity: 1; transform: scale(1); }
  18%      { left: 77%; top: 15%; opacity: 0; transform: scale(1.5); }
  40%      { left: 28%; top: 30%; opacity: 0; transform: scale(.6); }
  44%      { left: 28%; top: 30%; opacity: 1; transform: scale(1); }
  50%      { left: 28%; top: 30%; opacity: 0; transform: scale(1.5); }
  72%      { left: 74%; top: 60%; opacity: 0; transform: scale(.6); }
  76%      { left: 74%; top: 60%; opacity: 1; transform: scale(1); }
  82%, 100% { left: 74%; top: 60%; opacity: 0; transform: scale(1.5); }
}

/* pop-up notifications (content swapped by script.js) */
.kvsoft-toast {
  position: absolute;
  z-index: 4;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px 10px 10px;
  border-radius: 12px;
  background: #fff;
  color: #111318;
  box-shadow: 0 14px 34px -10px rgba(0, 0, 0, .45), 0 0 0 1px rgba(17, 19, 24, .06);
  opacity: 0;
  transform: translateY(-14px) scale(.96);
  transition: opacity .45s var(--ease), transform .55s var(--ease);
  pointer-events: none;
}
.kvsoft-toast.is-shown { opacity: 1; transform: none; }
.kvsoft-toast--web { top: 14%; right: 2.5%; max-width: 46%; }
.kvsoft-toast--phone { top: 11%; left: 5%; right: 5%; padding: 7px 9px 7px 7px; gap: 7px; border-radius: 10px; }
.kvsoft-toast__icon {
  flex-shrink: 0;
  display: grid; place-items: center;
  width: 34px; height: 34px;
  border-radius: 10px;
  background: rgba(227, 18, 27, .1);
  color: var(--red);
}
.kvsoft-toast__icon .icon { width: 18px; height: 18px; }
.kvsoft-toast strong { display: block; font-size: 13px; font-weight: 700; line-height: 1.25; }
.kvsoft-toast small { display: block; font-size: 11.5px; color: #5b6270; line-height: 1.3; }
.kvsoft-toast--phone .kvsoft-toast__icon { width: 24px; height: 24px; border-radius: 7px; }
.kvsoft-toast--phone .kvsoft-toast__icon .icon { width: 13px; height: 13px; }
.kvsoft-toast--phone strong { font-size: 9.5px; }
.kvsoft-toast--phone small { font-size: 8.5px; }

@media (prefers-reduced-motion: reduce) {
  .kvsoft-phone, .kvsoft-sweep, .kvsoft-cursor, .kvsoft-cursor::after, .kvsoft-tap, .kvsoft-live-pill em { animation: none; }
  .kvsoft-cursor, .kvsoft-tap, .kvsoft-sweep { display: none; }
}

.kvsoft__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.kvsoft-feat {
  position: relative;
  padding: 26px 24px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .03);
  overflow: hidden;
  transition: border-color .4s, background .4s, transform .5s var(--ease), opacity .9s var(--ease);
}
.kvsoft-feat::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease);
}
.kvsoft-feat:hover { border-color: rgba(227, 18, 27, .5); background: rgba(227, 18, 27, .07);  }
.kvsoft-feat:hover::before { transform: scaleX(1); }
.kvsoft-feat__icon {
  display: grid; place-items: center;
  width: 52px; height: 52px;
  margin-bottom: 18px;
  border-radius: 14px;
  border: 1.5px solid var(--red);
  background: radial-gradient(circle, rgba(227, 18, 27, .18), transparent 70%);
  box-shadow: 0 0 20px -6px rgba(227, 18, 27, .75);
  transition: background .4s;
}
.kvsoft-feat__icon .icon { width: 24px; height: 24px; }
.kvsoft-feat:hover .kvsoft-feat__icon { background: var(--red); }
.kvsoft-feat h3 { font-family: var(--font-head); font-weight: 800; font-size: 17px; margin-bottom: 8px; }
.kvsoft-feat p { font-size: 14px; line-height: 1.6; color: var(--muted-dark); }

.kvsoft-cta {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 32px);
  margin-top: 28px;
  padding: clamp(24px, 2.6vw, 36px);
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--red), #9e0b12);
  box-shadow: 0 30px 60px -30px rgba(227, 18, 27, .6);
}
.kvsoft-cta__icon {
  flex-shrink: 0;
  display: grid; place-items: center;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .15);
}
.kvsoft-cta__icon .icon { width: 30px; height: 30px; }
.kvsoft-cta__text { flex: 1; min-width: 0; }
.kvsoft-cta__text h3 { font-family: var(--font-head); font-weight: 800; font-size: clamp(20px, 1.8vw, 26px); margin-bottom: 6px; }
.kvsoft-cta__text p { color: rgba(255, 255, 255, .85); }
.kvsoft-cta .btn { flex-shrink: 0; background: #fff; color: var(--red); }
.kvsoft-cta .btn:hover { background: var(--dark); color: #fff; }

@media (max-width: 1239px) {
  .kvsoft__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .kvsoft__grid { grid-template-columns: 1fr; }
  .kvsoft-shots { padding-right: 70px; padding-bottom: 40px; margin: 40px 0 36px; }   /* top margin: the phone is taller than the browser here */
  .kvsoft-phone { width: 34%; padding: 5px; border-radius: 20px; }
  .kvsoft-phone img, .kvsoft-phone .kvsoft-screen { border-radius: 15px; }
  .kvsoft-toast--web { padding: 6px 8px 6px 6px; gap: 6px; max-width: 62%; }
  .kvsoft-toast--web .kvsoft-toast__icon { width: 22px; height: 22px; border-radius: 6px; }
  .kvsoft-toast--web .kvsoft-toast__icon .icon { width: 12px; height: 12px; }
  .kvsoft-toast--web strong { font-size: 9.5px; }
  .kvsoft-toast--web small { font-size: 8.5px; }
  .kvsoft-toast--phone { display: none; }   /* phone mock is too small for a readable toast on phones */
  .kvsoft-cursor { width: 14px; height: 14px; }
  .kvsoft-browser__bar { height: 24px; }
  .kvsoft-browser__bar span { display: none; }
  .kvsoft-cta { flex-direction: column; align-items: flex-start; }
  .kvsoft-cta .btn { width: 100%; justify-content: center; }
}

/* 09f. Shared split section head (Karvex, Rider Panda, Barber Panda)
   — same layout as the Forward Automobiles head: title left, intro panel right */
.split-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(28px, 4vw, 64px);
}
.split-head .title { margin-bottom: 0; }
.split-intro {
  padding: clamp(22px, 2.4vw, 34px);
  border: 1px solid var(--line-dark);
  border-left: 3px solid var(--red);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .03);
}
.split-intro p + p { margin-top: 10px; }
.split-intro .split-intro__first { color: #fff; font-weight: 500; }
.split-intro--light {
  border-color: rgba(17, 19, 24, .08);
  border-left-color: var(--red);
  background: #fff;
  box-shadow: 0 18px 44px -26px rgba(16, 18, 24, .25);
}
.split-intro--light .split-intro__first { color: var(--ink); }
.split-intro p.split-intro__tagline {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(17, 19, 24, .1);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--red);
}
.split-intro:not(.split-intro--light) .split-intro__tagline { border-top-color: var(--line-dark); }
@media (max-width: 991px) {
  .split-head { grid-template-columns: 1fr; gap: 26px; }
}

/* 10. Why choose us -------------------------------------------- */
.why { z-index: 4; background: #fbfbfd; }   /* matches the faded area of hero-car.jpg */
.why__corner {                    /* full-height car photo with red diagonal, right side (top to bottom) */
  position: absolute;
  top: 0; right: 0; bottom: var(--overlap);
  width: min(33%, 680px);
  pointer-events: none;
}
.why__corner img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: right top;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 24%);
  mask-image: linear-gradient(90deg, transparent, #000 24%);
}
.why .title { font-size: clamp(34px, 3.4vw, 68px); white-space: nowrap; }
.why__head > div { flex-shrink: 0; }
.why .container { position: relative; max-width: 1780px; }   /* wide like the mockup: card 4 overlaps the photo */
.why__head {
  display: flex;
  align-items: center;
  gap: clamp(30px, 2.4vw, 46px);
  margin-bottom: 52px;
}
.why__lead {
  max-width: 500px;
  padding-left: 24px;
  border-left: 3px solid rgba(227, 18, 27, .35);
  font-size: clamp(15px, 1vw, 18px);
  line-height: 1.75;
  color: #5b6270;
}
.why__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 1.3vw, 26px);
}

.feature {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 424px;
  padding: 26px 30px 0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 44px -24px rgba(16, 18, 24, .28), 0 0 0 1px rgba(17, 19, 24, .04);
  overflow: hidden;
  isolation: isolate;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.feature::before {                /* soft pink diagonal wash, top right */
  content: "";
  position: absolute;
  z-index: -1;
  top: 0; right: 0;
  width: 60%; height: 64%;
  background: linear-gradient(225deg, rgba(227, 18, 27, .1), rgba(227, 18, 27, 0) 55%);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}
.feature:last-child::before {     /* last card: bold red stripe */
  width: 34%; height: 54%;
  background: linear-gradient(200deg, #e3121b, rgba(227, 18, 27, .55) 60%, rgba(227, 18, 27, .1));
  clip-path: polygon(100% 0, 100% 34%, 34% 100%, 0 100%);
}
.feature:hover { box-shadow: 0 28px 54px -24px rgba(16, 18, 24, .34); }

.feature__top { display: flex; align-items: center; gap: 22px; margin-bottom: 16px; }
.feature__icon {
  display: grid; place-items: center;
  width: 70px; height: 70px;
  border-radius: 50%;
  background: #e6151e;
  color: #fff;
  box-shadow: 0px 0px 0 10px #fce6e8, 0 10px 22px -8px rgba(227, 18, 27, .45);
  transition: transform .4s var(--ease);
}
.feature__icon .icon { width: 32px; height: 32px; }
.feature:hover .feature__icon { transform: scale(1.05); }
.feature__num { font-size: 22px; font-weight: 500; color: #9ca3af; letter-spacing: .02em; }
.feature h3 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(17px, 1.3vw, 25px);
  line-height: 1.2;
  margin-bottom: 14px;
}
.feature p { position: relative; z-index: 1; font-size: clamp(14px, .95vw, 17px); line-height: 1.55; color: #5b6270; max-width: 14.5em; }

.feature__media {                 /* photo with a sweeping curved top edge */
  position: relative;
  z-index: -1;
  flex: 1;
  min-height: 210px;
  margin: -40px -30px 0;
  clip-path: polygon(0 48%, 15% 44%, 30% 39%, 45% 33%, 60% 26%, 75% 18%, 90% 10%, 100% 6%, 100% 100%, 0 100%);
}
.feature__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center bottom;
  transition: transform .8s var(--ease);
}
.feature:hover .feature__media img { transform: scale(1.05); }
.feature__btn {
  position: absolute;
  left: 28px; bottom: 22px;
  display: grid; place-items: center;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #fff;
  color: var(--red);
  box-shadow: 0 8px 22px -6px rgba(0, 0, 0, .35);
  transition: transform .4s var(--ease), background .3s, color .3s;
}
.feature__btn .icon { width: 22px; height: 22px; }
.feature__btn:hover { background: var(--red); color: #fff; transform: scale(1.08); }

/* 11. Before / After gallery ----------------------------------- */
.gallery { z-index: 5; }
.carousel[data-carousel="gallery"] { --per: 3; --gap: 22px; }
.ba-card {
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line-dark);
  overflow: hidden;
  transition: transform .5s var(--ease), border-color .4s, box-shadow .5s var(--ease);
}
.ba-card:hover {  border-color: rgba(227, 18, 27, .5); box-shadow: 0 30px 50px -28px rgba(227, 18, 27, .5); }
.ba-card__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px 20px;
}
.ba-card__meta > span {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 22px;
  color: var(--red);
}
.ba-card__meta h3 { font-family: var(--font-head); font-size: 16px; font-weight: 700; }
.ba-card__meta p { font-size: 13px; color: var(--muted-dark); }

/* Compare slider
   Both photos are the same size and framing; the BEFORE layer is clipped at
   --pos so the divider reveals the matching part of the same vehicle. */
.compare {
  --pos: 50%;
  position: relative;
  aspect-ratio: 10 / 7;          /* matches the 1400 x 980 source photos */
  overflow: hidden;
  background: #000;
  cursor: ew-resize;
  touch-action: pan-y;           /* vertical swipes still scroll the page */
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.compare img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
  transition: transform 1.2s var(--ease);
}
.ba-card:hover .compare img { transform: scale(1.03); }
.compare__before {
  position: absolute; inset: 0;
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
  will-change: clip-path;
}
.compare__label {
  position: absolute;
  top: 14px;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(7, 8, 10, .6);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  pointer-events: none;
  transition: opacity .2s;
}
.compare__label--before { left: 14px; opacity: var(--label-before, 1); }
.compare__label--after { right: 14px; background: var(--red); opacity: var(--label-after, 1); }
.compare__divider {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--pos);
  width: 2px;
  margin-left: -1px;
  background: #fff;
  box-shadow: 0 0 14px rgba(0,0,0,.45);
  pointer-events: none;
  transition: box-shadow .3s, width .3s;
}
.compare.is-dragging .compare__divider { box-shadow: 0 0 16px rgba(227, 18, 27, .9), 0 0 4px rgba(255,255,255,.9); }
.compare__handle {
  position: absolute;
  top: 50%;
  left: var(--pos);
  width: 46px; height: 46px;
  margin: -23px 0 0 -23px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  box-shadow: 0 0 0 5px rgba(255,255,255,.25), 0 10px 24px rgba(0,0,0,.4);
  cursor: ew-resize;
  touch-action: none;
  transition: transform .35s var(--ease), box-shadow .35s;
}
/* soft pulse ring, shown on card hover */
.compare__handle::before {
  content: "";
  position: absolute; inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .55);
  opacity: 0;
  pointer-events: none;
}
.ba-card:hover .compare__handle::before,
.lightbox .compare__handle::before { animation: pulse-ring 1.8s var(--ease) infinite; }
.compare__handle::after { content: ""; position: absolute; inset: -14px; border-radius: 50%; }
.ba-card:hover .compare__handle { transform: scale(1.06); }
.compare__handle:hover, .compare.is-dragging .compare__handle { transform: scale(1.14); box-shadow: 0 0 0 8px rgba(255,255,255,.25), 0 10px 24px rgba(0,0,0,.4); }
.compare.is-dragging .compare__handle::before { animation: none; opacity: 0; }
.compare__handle .icon { width: 22px; height: 22px; transition: transform .35s var(--ease); }
.compare.is-dragging .compare__handle .icon { transform: scaleX(1.15); }
body:has(.compare.is-dragging) { -webkit-user-select: none; user-select: none; cursor: ew-resize; }
.compare__expand {
  position: absolute;
  right: 12px; bottom: 12px;
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: rgba(7, 8, 10, .6);
  color: #fff;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: background .3s, transform .3s var(--ease);
}
.compare__expand:hover { background: var(--red); transform: scale(1.08); }
.compare__expand .icon { width: 18px; height: 18px; }

/* 13. Testimonials --------------------------------------------- */
.testimonials { z-index: 7; }
.testimonials::after {
  content: "";
  position: absolute;
  right: -160px; top: -160px;
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(227, 18, 27, .14), transparent 65%);
  pointer-events: none;
}
.carousel[data-carousel="reviews"] { --per: 3; --gap: 22px; }
.review {
  display: flex;
  flex-direction: column;
  padding: 32px 30px 28px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--card-2), var(--card));
  border: 1px solid var(--line-dark);
  transition: transform .5s var(--ease), border-color .4s;
}
.review:hover { border-color: rgba(227, 18, 27, .45); }
.review__quote { width: 38px; height: 38px; color: var(--red); margin-bottom: 18px; }
.review > p { font-size: 15px; color: rgba(255,255,255,.82); line-height: 1.7; margin-bottom: 28px; flex: 1; }
.review__author { display: flex; align-items: center; gap: 14px; }
.review__author div { flex: 1; min-width: 0; }
.review__author strong { display: block; font-family: var(--font-head); font-size: 14.5px; }
.review__author small { font-size: 12.5px; color: var(--muted-dark); }
.avatar {
  display: grid; place-items: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  flex-shrink: 0;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 15px;
  color: #fff;
  background: linear-gradient(135deg, var(--red), #6d0a0e);
  box-shadow: 0 0 0 3px rgba(227, 18, 27, .2);
}
.stars { display: flex; gap: 2px; color: #ffc53d; }
.stars svg { width: 15px; height: 15px; fill: currentColor; }

/* 14. CTA / contact -------------------------------------------- */
.cta {
  position: relative;
  z-index: 8;
  margin-top: calc(var(--overlap) * -1);
  padding: 170px 0 90px;
  color: #fff;
  overflow: hidden;
  background: var(--black);
  clip-path: polygon(0 70px, 100% 0, 100% 100%, 0 100%);
}
.cta__bg { position: absolute; inset: -12% 0; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.cta__shade {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 80% at 0% 100%, rgba(227, 18, 27, .55), transparent 60%),
    linear-gradient(90deg, rgba(7,8,10,.95) 0%, rgba(7,8,10,.7) 45%, rgba(7,8,10,.15) 100%),
    linear-gradient(0deg, rgba(7,8,10,.9), transparent 45%);
}
/* two columns: text + buttons left, contact details panel right */
.cta__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
}
.cta__content { max-width: 620px; }
.cta .title { margin-bottom: 20px; }
.cta .lead { color: rgba(255,255,255,.78); margin-bottom: 14px; font-size: clamp(15px, 1.05vw, 17px); }
.cta .lead:last-of-type { margin-bottom: 32px; }
.cta__panel {
  padding: clamp(20px, 2.2vw, 30px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(10, 11, 14, .55);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7);
}
.cta__panel-title {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 18px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 18px;
}
.cta__panel-title::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: var(--red); }
.cta__intro { color: #fff; font-weight: 600; font-size: clamp(16px, 1.15vw, 19px); line-height: 1.6; margin: 4px 0 16px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 16px; }

.contact-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.contact-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: border-color .4s, background .4s, transform .5s var(--ease), opacity .9s var(--ease);
}
.contact-card:hover { border-color: rgba(227, 18, 27, .6); background: rgba(227, 18, 27, .1); }
.contact-card > .icon {
  width: 44px; height: 44px;
  padding: 11px;
  border-radius: 12px;
  background: var(--red);
  color: #fff;
}
.contact-card div { min-width: 0; }
.contact-card small { display: block; font-size: 12px; color: var(--muted-dark); letter-spacing: .04em; }
.contact-card a, .contact-card span { font-weight: 600; font-size: 14px; overflow-wrap: anywhere; }
.contact-card a:hover { color: var(--red); }
.contact-card__note { display: block; margin-top: 4px; font-style: normal; font-size: 12px; line-height: 1.45; color: var(--muted-dark); }

/* 15. Footer --------------------------------------------------- */
.footer {
  position: relative;
  background: var(--black);
  color: #fff;
  padding: 50px 0 30px;
  border-top: 1px solid var(--line-dark);
}
.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line-dark);
}
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 30px; }
.footer__links a { font-size: 14px; color: rgba(255,255,255,.75); transition: color .3s; }
.footer__links a:hover { color: var(--red); }
.socials { display: flex; gap: 10px; }
.socials a {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25);
  transition: background .3s, border-color .3s, transform .35s var(--ease), box-shadow .35s, filter .3s;
}

/* official brand colours (same as the side bar) */
.socials a[aria-label="Instagram"] { border-color: transparent; background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.socials a[aria-label="Facebook"]  { border-color: transparent; background: #1877f2; }
.socials a[aria-label="YouTube"]   { border-color: transparent; background: #ff0000; }
.socials a[aria-label="WhatsApp"]  { border-color: transparent; background: #25d366; }
.socials a[aria-label="Instagram"]:hover { box-shadow: 0 8px 20px -6px rgba(214, 36, 159, .7); }
.socials a[aria-label="Facebook"]:hover  { box-shadow: 0 8px 20px -6px rgba(24, 119, 242, .7); }
.socials a[aria-label="YouTube"]:hover   { box-shadow: 0 8px 20px -6px rgba(255, 0, 0, .7); }
.socials a[aria-label="WhatsApp"]:hover  { box-shadow: 0 8px 20px -6px rgba(37, 211, 102, .7); }
.socials .icon { width: 17px; height: 17px; }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  font-size: 13px;
  color: var(--muted-dark);
}
.footer__tags { display: flex; align-items: center; gap: 10px; }
.footer__tags a {color:var(--red) ; text-transform: uppercase; }

.to-top {
  position: fixed;
  right: 24px; bottom:43px;
  z-index: 90;
  display: grid; place-items: center;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  box-shadow: 0 12px 30px -8px var(--red-glow);
  opacity: 0;
  transform: translateY(20px) scale(.8);
  pointer-events: none;
  transition: opacity .4s, transform .5s var(--ease), background .3s;
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--red-600); transform: translateY(-4px); }

/* 16. Modals, booking form, lightbox --------------------------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 20px;
  visibility: hidden;
  pointer-events: none;
}
.modal.is-open { visibility: visible; pointer-events: auto; }
.modal__overlay {
  position: absolute; inset: 0;
  background: rgba(5, 6, 8, .78);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity .45s var(--ease);
}
.modal.is-open .modal__overlay { opacity: 1; }
.modal__dialog {
  position: relative;
  width: 100%;
  max-height: calc(100svh - 40px);
  overflow-y: auto;
  opacity: 0;
  transform: translateY(40px) scale(.96);
  transition: opacity .45s var(--ease), transform .6s var(--ease);
}
.modal.is-open .modal__dialog { opacity: 1; transform: none; }
.modal__dialog--form {
  max-width: 640px;
  padding: 44px 40px 36px;
  border-radius: var(--radius-lg);
  background: #fff;
  color: var(--ink);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6);
}
.modal__dialog--form::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--red), #ff6a6f);
}
.modal__dialog--media { max-width: 1100px; overflow: visible; }
.modal__close {
  position: absolute;
  top: 16px; right: 16px;
  z-index: 2;
  display: grid; place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(17,19,24,.06);
  transition: background .3s, color .3s, transform .5s var(--ease);
}
.modal__close:hover { background: var(--red); color: #fff; transform: rotate(90deg); }
.modal--media .modal__close { top: -54px; right: 0; background: rgba(255,255,255,.12); color: #fff; }
#modalVideo { width: 100%; border-radius: var(--radius); background: #000; aspect-ratio: 16 / 9; }

.booking__title { font-family: var(--font-head); font-weight: 800; font-size: 30px; margin-bottom: 26px; letter-spacing: -.02em; }
.form { display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field > span { font-size: 12.5px; font-weight: 600; color: #374151; }
.field input, .field select, .field textarea {
  width: 100%;
  height: 50px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1.5px solid #e5e7eb;
  background: #f9fafb;
  color: var(--ink);
  font-size: 14.5px;
  transition: border-color .3s, background .3s, box-shadow .3s;
  -webkit-appearance: none;
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23e3121b' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  padding-right: 40px;
}
.field textarea { height: auto; padding: 14px 16px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--red);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(227, 18, 27, .1);
}
.field__error { display: none; font-style: normal; font-size: 12px; color: var(--red); }
.field.is-invalid input, .field.is-invalid select { border-color: var(--red); background: #fff5f5; }
.field.is-invalid .field__error { display: block; }
.form .btn { margin-top: 6px; }
.form .btn.is-loading { pointer-events: none; opacity: .75; }
.form__status { font-size: 13px; color: var(--red); min-height: 1em; text-align: center; }

.booking-success { text-align: center; padding: 20px 0 4px; }
.booking-success[hidden] { display: none; }
.booking-success__icon {
  display: grid; place-items: center;
  width: 84px; height: 84px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  box-shadow: 0 0 0 10px rgba(227, 18, 27, .12), 0 20px 40px -10px var(--red-glow);
  animation: pop .7s var(--ease) both;
}
.booking-success__icon .icon { width: 40px; height: 40px; }
@keyframes pop { 0% { transform: scale(0); } 60% { transform: scale(1.12); } 100% { transform: scale(1); } }
.booking-success h2 { font-family: var(--font-head); font-weight: 800; font-size: 26px; margin-bottom: 10px; }
.booking-success > p { color: var(--muted); max-width: 420px; margin: 0 auto 24px; }
.booking-success__summary {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 20px;
  text-align: left;
  padding: 20px 24px;
  border-radius: var(--radius);
  background: var(--light);
  font-size: 14px;
  margin-bottom: 26px;
}
.booking-success__summary dt { color: var(--muted); }
.booking-success__summary dd { font-weight: 600; }

.lightbox .compare { border-radius: var(--radius); aspect-ratio: 10 / 7; max-height: 74svh; width: auto; max-width: 100%; margin-inline: auto; touch-action: none; }
.lightbox .compare__expand { display: none; }
.lightbox__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 20px;
  color: #fff;
}
.lightbox__bar p { display: flex; flex-direction: column; align-items: center; text-align: center; }
.lightbox__bar span { font-size: 12px; letter-spacing: .2em; color: var(--red); font-weight: 700; }
.lightbox__bar strong { font-family: var(--font-head); font-size: 18px; }

/* 17. Responsive ----------------------------------------------- */
/* Laptops & desktops: the text column is too tall for tiles beside it, so they sit in a row below it */
@media (min-width: 1081px) {
  .hub { display: block; min-height: 0; padding-top: 100px; }
  /* text on the left, service photos as a 2-column grid on the right */
  .hub__inner {
    display: grid;
    grid-template-columns: minmax(0, 680px) minmax(0, 1fr);
    align-items: end;
    gap: clamp(32px, 4vw, 72px);
  }
  .hub__tiles {
    position: relative;
    left: auto; right: auto; bottom: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 0;
    width: 100%;
    max-width: 620px;
    justify-self: end;
    --slant: 40px;
    isolation: isolate;
  }
  /* soft dark shadow pooled behind the tiles (no box) so they stand out from the car photo */
  .hub__tiles::before {
    content: "";
    position: absolute;
    inset: -18% -14%;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(closest-side, rgba(5, 6, 9, .92) 0%, rgba(5, 6, 9, .75) 45%, rgba(5, 6, 9, .35) 75%, transparent 100%);
    filter: blur(10px);
  }
  .hub__tile { filter: drop-shadow(0 10px 16px rgba(0, 0, 0, .55)); }
  .hub__tile img { filter: saturate(.95) brightness(.95); }   /* brighter photos (were dimmed to 80%) */
  /* keep the original slanted shape; a fixed-px slant so wide and narrow tiles match */
  .hub__tile + .hub__tile { margin-left: 0; }
  .hub__tile:nth-child(even) { margin-left: calc(var(--slant) * -1 + 8px); }   /* interlock the slants with an 8px gap */
  .hub__tile.is-clone { display: none; }           /* loop copies are only for the mobile auto-scroll */
  .hub__tile:nth-child(5) { grid-column: 1 / -1; } /* 5th tile spans the full width */
  .hub__tile button {
    height: clamp(130px, 10vw, 160px);
    clip-path: polygon(var(--slant) 0, 100% 0, calc(100% - var(--slant)) 100%, 0 100%);
  }
  .hub__tile-label { left: calc(var(--slant) - 4px); right: var(--slant); bottom: 14px; }
  .hub__shade {
    background:
      linear-gradient(90deg, #07080b 30%, rgba(7, 8, 11, .7) 45%, rgba(7, 8, 11, .15) 65%, transparent 80%),
      linear-gradient(0deg, rgba(7, 8, 11, .95) 0%, rgba(7, 8, 11, .5) 30%, transparent 55%),
      radial-gradient(40% 50% at 0% 100%, rgba(227, 18, 27, .22), transparent 70%);
  }
}

@media (max-width: 1200px) {
  .carousel { --per: 3; }
  .nav__link { padding: 10px 10px; }
  .why__head { max-width: 72%; }
}

@media (max-width: 1080px) {
  .nav__menu { display: none; }
  .burger { display: block; margin-left: 0; }
  .nav__cta { margin-left: auto; }
  .about__grid { grid-template-columns: 1fr; gap: 60px; }
  /* Auto Hub: photo on top, content below, tiles scroll sideways */
  .hub { display: block; min-height: 0; padding-top: 150px; }
  .hub__photo { display: none; position: relative; width: 100%; height: clamp(300px, 55vw, 480px); bottom: auto; clip-path: none; }
  .hub__photo img { -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent); mask-image: linear-gradient(180deg, #000 55%, transparent); }
  .hub__shade { background: radial-gradient(60% 40% at 0% 100%, rgba(227, 18, 27, .2), transparent 70%); }
  .hub__shade::after { display: none; }
  .hub__brand-badge { top: 22px; right: var(--gutter); }
  .hub__badge { width: 128px;  }
  .hub__wordmark { width: 140px; }
  .hub__inner { margin-top: -60px; }
  .hub__content { max-width: none; }
  .hub__text, .hub__features { max-width: 100%; }   /* use the full width on tablet / phone */
  .cta { padding-top: 90px; }                        /* Contact: less space above "Get in Touch" */
  .cta__inner { grid-template-columns: 1fr; gap: 36px; }   /* stack text above the contact panel */
  .cta__content { max-width: 100%; }
  .hub__tiles {
    position: relative;
    left: auto; right: auto; bottom: auto;
    width: auto;
    margin: 48px 0 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-right: 30px;
  }
  .hub__tiles::-webkit-scrollbar { display: none; }
  .hub__tile { flex: 0 0 240px; scroll-snap-align: start; }
  .hub__tile + .hub__tile { margin-left: -26px; }
  .about__collage { height: 480px; }
  .slash--about, .collage__bar { display: none; }
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 991px) {
  .nav__links{
    display: block;
  }
  .hub__brand-badge{
    position: static;
  }
  .hub__inner{
    margin-top: 0;
    padding-top: 30px;
  }
  :root { --overlap: 36px; }
  .section { padding: 90px 0 calc(40px + var(--overlap)); }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__badge { display: none; }
  .hero__social { display: none; }
  .logo__badge { width: 110px; height: auto; }
  .logo--badge .logo__name { font-size: 21px; }
  .hero__scroll { display: none; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 22px; }
  .section-head--center { align-items: center; }
  .section-head__side { max-width: none; width: 100%; justify-content: space-between; }
  .carousel { --per: 2; }
  .carousel[data-carousel="gallery"], .carousel[data-carousel="reviews"] { --per: 2; }


  .hub__company { margin-bottom: 30px; }
  .hub__company img { width: 44px; }
  .hub__company strong { font-size: 12.5px; }
  .hub__company span { font-size: 9px; letter-spacing: .18em; }
  .hub__eyebrow { font-size: 12.5px; }
  .hub__eyebrow::before { width: 34px; }
  .hub__features { gap: 12px; }
  .hub__features li { padding: 14px 16px; }
  .hub__ficon { width: 46px; height: 46px; border-radius: 12px; }
  .hub__actions { flex-direction: column; align-items: stretch; gap: 26px; }
  .hub__tagline { text-align: center; font-size: 11px; }
  .hub__tile { flex-basis: 210px; }

  .hub__wordmark { width: 108px; }
  .why__corner { width: 46%; opacity: .5; }
  .why__head { max-width: none; flex-direction: column; align-items: flex-start; gap: 22px; }
  .why__grid { grid-template-columns: repeat(2, 1fr); }

}

@media (max-width: 680px) {
  :root { --gutter: 16px; --nav-h: 72px; --overlap: 28px; }
  .nav.is-scrolled { --nav-h: 64px; }
  .nav__cta { display: none; }
  .burger { margin-left: auto; }
  .logo__name { font-size: 18px; }

  .hero { min-height: 80svh; padding: calc(var(--nav-h) + -48px) 0 7px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 60px), 0 100%); }
  .hero__shade {
    background:
      linear-gradient(180deg, rgba(7,8,10,.55) 0%, rgba(7,8,10,.7) 45%, rgba(7,8,10,.95) 100%);
  }
  /* let the title wrap and size it to the screen so it never pushes past the right edge */
  .hero__title { font-size: clamp(26px, 7.6vw, 44px); white-space: normal; overflow-wrap: break-word; }
  .hero__title .line > span { max-width: 100%; }
  .hero__content { max-width: 100%; min-width: 0; }
  .hero__actions { gap: 14px; margin-bottom: 30px; }
  .hero__actions .btn { height: 54px; padding: 0 28px; font-size: 15px; }
  .hero .btn-play__circle { width: 58px; height: 58px; }
  .hero__eyebrow { font-size: 11.5px; letter-spacing: .26em; gap: 12px; }
  .hero__features { gap: 14px; }
  .hero__features li { gap: 12px; padding: 0; margin: 0; border: 0; flex: 1 1 100%; }
  .hero__ficon { width: 46px; height: 46px; }
  .hero__ficon .icon { width: 22px; height: 22px; }
  .hero__features li > span:last-child { font-size: 13px; }
  .logo__badge { width: 84px; height: auto; }
  .logo--badge .logo__name { font-size: 18px; }
  .logo--badge .logo__tag { font-size: 7.5px; letter-spacing: .38em; }
  .about { margin-top: 0; padding-top: 100px; }

  .section { padding: 72px 0 calc(72px + var(--overlap)); }
  .section-head { margin-bottom: 34px; }
  .section-head__side { flex-direction: column; align-items: flex-start; gap: 20px; }

  .checklist { grid-template-columns: 1fr; }
  .stats { justify-content: space-between; }
  .stat { padding-right: 0; margin-right: 0; border: 0; }
  .about__collage { height: 360px; }
  .collage--tile p { font-size: 13px; }
  .collage--tile .icon { width: 26px; height: 26px; }
  .collage__bar { display: none; }

  .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex-shrink: 0; }

  .carousel,
  .carousel[data-carousel="gallery"],
  .carousel[data-carousel="reviews"] { --per: 1.12; --gap: 14px; }
  .service-card { height: 400px; }
  .carousel__footer { flex-direction: column-reverse; }



  .hub__company { margin-bottom: 30px; }
  .hub__company img { width: 44px; }
  .hub__company strong { font-size: 12.5px; }
  .hub__company span { font-size: 9px; letter-spacing: .18em; }
  .hub__eyebrow { font-size: 12.5px; }
  .hub__eyebrow::before { width: 34px; }
  /* phones: keep the 2 × 2 card grid like desktop; stack icon above the text so it fits */
  .hub__features { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .hub__features li { flex-direction: column; align-items: flex-start; gap: 12px; padding: 14px; }
  .hub__ficon { width: 42px; height: 42px; border-radius: 12px; }
  .hub__ficon .icon { width: 20px; height: 20px; }
  .hub__features strong { font-size: 14px; }
  .hub__features small { font-size: 12.5px; }
  .hub__actions { flex-direction: column; align-items: stretch; gap: 26px; }
  .hub__tagline { text-align: center; font-size: 11px; }
  .hub__tile { flex-basis: 210px; }

  .hub__wordmark { width: 108px; }
  .why__corner { display: none; }
  .why__grid { grid-template-columns: 1fr; }
  .feature { min-height: 400px; padding: 24px 24px 0; }
  .feature__media { margin: -30px -24px 0; }
  .feature__icon { width: 60px; height: 60px; }
  .feature__icon .icon { width: 28px; height: 28px; }


  .cta { padding: 64px 0 70px; clip-path: polygon(0 40px, 100% 0, 100% 100%, 0 100%); }
  .cta__content { margin-bottom: 0; }
  .cta__actions .btn { flex: 1; }
  .contact-cards { grid-template-columns: 1fr; }
  .contact-card { flex-direction: column; align-items: flex-start; gap: 14px; }   /* icon on top on phones */

  .footer__top { flex-direction: column; align-items: flex-start; }
  .footer__bottom { flex-direction: column; gap: 10px; }
  .to-top { right: 16px; bottom: 16px; width: 46px; height: 46px; }

  .modal { padding: 12px; align-items: end; }
  .modal--media { align-items: center; }
  .modal__dialog--form { padding: 36px 20px 24px; max-height: calc(100svh - 24px); }
  .form__row { grid-template-columns: 1fr; }
  .booking__title { font-size: 25px; }
}

@media (max-width: 380px) {
 
  .btn { padding: 0 22px; }
}

/* 18. Reduced motion ------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0s !important;
  }
  .sheet { transform: none !important; border-radius: 0 !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .collage { clip-path: var(--shape); }
}
