html, html[data-theme="light"], html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #050505;
  --surface: #0d0d0f;
  --surface-2: #171719;
  --text: #f5f5f3;
  --muted: #9b9b9f;
  --line: rgba(255,255,255,.13);
  --header: rgba(8,8,10,.64);
  --shadow: 0 28px 90px rgba(0,0,0,.52);
}
body {
  overflow-x: hidden;
  background:
    radial-gradient(circle at 14% 8%, rgba(237,50,55,.09), transparent 26rem),
    radial-gradient(circle at 90% 38%, rgba(255,255,255,.045), transparent 30rem),
    var(--bg);
}
body::before {
  content: "";
  position: fixed;
  z-index: -1;
  inset: 0;
  opacity: .12;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.16'/%3E%3C/svg%3E");
}
::selection { background: var(--red); color: white; }
.wrap { width: min(1240px, calc(100% - 48px)); }
.theme-toggle { display: none !important; }

.scroll-progress {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg,var(--red),#ff8b8f);
  box-shadow: 0 0 14px var(--red);
  pointer-events: none;
}

.site-header {
  position: absolute;
  padding-top: 14px;
  border: 0;
  background: transparent;
  backdrop-filter: none;
}
.header-row {
  min-height: 74px;
  height: auto;
  padding: 10px 12px 10px 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(8,8,10,.62);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.09),0 24px 70px rgba(0,0,0,.26);
  backdrop-filter: blur(22px) saturate(145%);
}
.brand-mark img { transform: scaleX(-1); }
.partner-lockup {
  min-width: 142px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 13px;
  border-left: 1px solid var(--line);
}
.partner-lockup img {
  width: 56px;
  filter: invert(1);
  mix-blend-mode: screen;
}
.partner-lockup span {
  max-width: 73px;
  color: rgba(255,255,255,.62);
  font-size: .57rem;
  line-height: 1.15;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.nav a { position: relative; color: rgba(255,255,255,.67); }
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 1px;
  background: var(--red);
  transition: right 220ms cubic-bezier(.2,.8,.2,1);
}
.nav a:hover::after { right: 0; }
.control { background: rgba(255,255,255,.055); color: white; backdrop-filter: blur(12px); }
.header-cta { box-shadow: 0 10px 28px rgba(237,50,55,.25); }

.hero-media { overflow: hidden; }
.hero-media img { animation: heroDrift 18s ease-in-out infinite alternate; }
@keyframes heroDrift {
  from { transform: scale(1.035) translate3d(-.4%,0,0); }
  to { transform: scale(1.1) translate3d(.8%,-.5%,0); }
}
.hero-scan { position: absolute; z-index: 1; inset: 0; overflow: hidden; pointer-events: none; }
.hero-scan::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -12%;
  height: 16%;
  background: linear-gradient(transparent,rgba(237,50,55,.08),transparent);
  animation: scan 7s linear infinite;
}
@keyframes scan { to { transform: translateY(760%); } }
.hero-partner { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 26px; }
.hero-xpel {
  flex: 0 0 auto;
  width: 134px;
  padding: 7px 0;
  background: transparent;
  filter: drop-shadow(0 10px 24px rgba(0,0,0,.42));
}
.hero-xpel img { width: 100%; }
.hero-kicker-v2 {
  max-width: 310px;
  padding-top: 3px;
  color: rgba(255,255,255,.77);
  font-size: .71rem;
  line-height: 1.25;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.hero-kicker-v2 b {
  display: block;
  margin-bottom: 4px;
  color: var(--red);
  font-size: .62rem;
  letter-spacing: .16em;
}
.hero h1 em { text-shadow: 0 0 38px rgba(237,50,55,.23); }
.hero-side {
  padding: 20px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px;
  background: linear-gradient(135deg,rgba(255,255,255,.09),rgba(255,255,255,.025));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1),0 25px 70px rgba(0,0,0,.32);
  backdrop-filter: blur(20px) saturate(140%);
}
.hero-side small { display: block; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.button {
  --mx: 0px;
  --my: 0px;
  --lift: 0px;
  position: relative;
  overflow: hidden;
  transform: translate3d(var(--mx),calc(var(--my) - var(--lift)),0);
  transition: transform 160ms ease,background-color 180ms ease,border-color 180ms ease,box-shadow 180ms ease;
}
.button::before {
  content: "";
  position: absolute;
  top: -120%;
  left: -45%;
  width: 30%;
  height: 340%;
  background: rgba(255,255,255,.26);
  transform: rotate(20deg);
  transition: left 520ms cubic-bezier(.2,.8,.2,1);
}
.button:hover { --lift: 3px; }
.button:hover::before { left: 125%; }
.button-primary { box-shadow: 0 12px 36px rgba(237,50,55,.27); }
.button-primary:hover { box-shadow: 0 18px 48px rgba(237,50,55,.35); }
.arrow { transition: transform 180ms ease; }
.button:hover .arrow { transform: translate(3px,-3px); }

.marquee { overflow: hidden; border-block: 1px solid var(--line); background: #09090a; }
.marquee-track { width: max-content; display: flex; gap: 42px; padding: 17px 0; animation: marquee 24s linear infinite; }
.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 42px;
  color: rgba(255,255,255,.72);
  font-size: .77rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee-track span::after { content: "✦"; color: var(--red); font-size: .7rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

.proof-strip { background: #080809; }
.proof-item { transition: background 200ms ease; }
.proof-item:hover { background: rgba(255,255,255,.035); }
.proof-xpel img { filter: invert(1); mix-blend-mode: screen; }
.verified-dot {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 7px rgba(237,50,55,.1),0 0 22px var(--red);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 50% { box-shadow: 0 0 0 11px rgba(237,50,55,0),0 0 28px var(--red); } }

.service-card,.package {
  border-radius: 22px;
  background: linear-gradient(145deg,rgba(255,255,255,.075),rgba(255,255,255,.018));
  backdrop-filter: blur(15px);
}
.service-card { transform-style: preserve-3d; }
.service-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  opacity: 0;
  background: radial-gradient(420px circle at var(--px,50%) var(--py,50%),rgba(237,50,55,.16),transparent 42%);
  pointer-events: none;
  transition: opacity 200ms ease;
}
.service-card:hover::before { opacity: 1; }
.service-card.featured { background: linear-gradient(135deg,#ed3237,#94171b); }
.package { transition: transform 220ms ease,border-color 220ms ease; }
.package:hover { transform: translateY(-7px); border-color: rgba(255,255,255,.27); }

.xpel-section { border-block: 1px solid var(--line); background: #080809; }
.xpel-logo-box { position: relative; overflow: hidden; border-radius: 28px; box-shadow: 0 30px 100px rgba(0,0,0,.55); }
.xpel-logo-box::after {
  content: "OFFICIAL DISTRIBUTOR · UZBEKISTAN";
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 20px;
  color: #242424;
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-align: center;
}
.xpel-logo-box img { transition: transform 500ms cubic-bezier(.2,.8,.2,1); }
.xpel-logo-box:hover img { transform: scale(1.045); }
.feature { transition: color 180ms ease; }
.feature:hover { color: var(--red); }

.projects-section { overflow: hidden; border-block: 1px solid var(--line); background: #080809; }
.project-heading { margin-bottom: 40px; }
.project-heading-side { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.project-heading-count { color: rgba(255,255,255,.48); font-family: ui-monospace,SFMono-Regular,Menlo,monospace; font-size: .76rem; letter-spacing: .15em; text-transform: uppercase; }
.project-carousel { min-width: 0; }
.project-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc(100% - clamp(68px,8vw,112px));
  gap: 16px;
  overflow-x: auto;
  padding-right: clamp(68px,8vw,112px);
  scroll-padding-left: 0;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
  touch-action: auto;
}
.project-track::-webkit-scrollbar { display: none; }
.project-slide {
  position: relative;
  min-height: clamp(510px,48vw,620px);
  display: grid;
  grid-template-columns: minmax(0,1.7fr) minmax(310px,.72fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #0a0a0b;
  scroll-snap-align: start;
  isolation: isolate;
}
.project-slide-media { position: relative; min-width: 0; overflow: hidden; background: #0a0a0b; }
.project-slide-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,transparent 64%,rgba(8,8,9,.42));
  pointer-events: none;
}
.project-slide-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 43%;
  transform: scale(1.015);
  filter: saturate(.9) contrast(1.03);
  transition: transform 900ms cubic-bezier(.16,1,.3,1),filter 500ms ease;
}
.project-slide.is-active .project-slide-media img,.project-slide:hover .project-slide-media img { transform: scale(1.065); filter: saturate(1.06) contrast(1.04); }
.project-slide-panel {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  padding: clamp(28px,4vw,50px);
  background:
    radial-gradient(circle at 100% 0,rgba(237,50,55,.2),transparent 16rem),
    linear-gradient(145deg,rgba(24,24,27,.98),rgba(7,7,8,.98));
}
.project-slide-panel::before { content: ""; position: absolute; inset: 0; border-left: 1px solid rgba(255,255,255,.1); pointer-events: none; }
.project-slide-top { display: flex; align-items: center; justify-content: space-between; gap: 18px; color: rgba(255,255,255,.52); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; }
.project-slide-top b { color: rgba(255,255,255,.82); font-size: inherit; }
.project-product { display: block; margin-bottom: 17px; color: var(--red); font-size: .72rem; font-weight: 700; letter-spacing: .14em; }
.project-slide-copy h3 { max-width: 430px; margin: 0 0 17px; font-size: clamp(2.35rem,4.2vw,4.9rem); line-height: .92; letter-spacing: -.055em; }
.project-slide-copy p { max-width: 360px; margin: 0 0 32px; color: rgba(255,255,255,.6); font-size: .92rem; }
.project-slide-link { display: inline-flex; align-items: center; padding-bottom: 6px; border-bottom: 1px solid rgba(255,255,255,.28); color: white; font-size: .86rem; font-weight: 700; transition: color 180ms ease,border-color 180ms ease,transform 180ms ease; }
.project-slide-link:hover { color: var(--red); border-color: var(--red); transform: translateY(-2px); }
.project-toolbar { display: grid; grid-template-columns: auto minmax(90px,1fr) auto; align-items: center; gap: clamp(20px,4vw,54px); margin-top: 24px; }
.project-counter { display: flex; align-items: baseline; gap: 8px; min-width: 86px; }
.project-counter strong { font-size: 2rem; line-height: 1; letter-spacing: -.06em; }
.project-counter span { color: rgba(255,255,255,.42); font-size: .78rem; }
.project-progress { height: 1px; overflow: hidden; background: rgba(255,255,255,.16); }
.project-progress span { display: block; width: 33.333%; height: 100%; background: var(--red); transform-origin: left; transition: width 420ms cubic-bezier(.16,1,.3,1); }
.project-arrows { display: flex; gap: 10px; }
.project-arrow { width: 52px; height: 52px; border: 1px solid var(--line); border-radius: 50%; background: rgba(255,255,255,.045); color: white; font-size: 1.1rem; cursor: pointer; transition: background 180ms ease,border-color 180ms ease,transform 180ms ease; }
.project-arrow:hover { border-color: var(--red); background: var(--red); transform: scale(1.05); }

.step { overflow: hidden; }
.step::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--red);
  transition: right 380ms cubic-bezier(.2,.8,.2,1);
}
.step:hover::after { right: 0; }
.step-num { transition: transform 220ms ease; }
.step:hover .step-num { transform: translateX(7px); }

.reviews-section { overflow: hidden; background: linear-gradient(135deg,#d62329,#761115); }
.reviews-top { display: grid; grid-template-columns: .66fr 1.34fr; gap: clamp(45px,8vw,110px); align-items: start; margin-bottom: 48px; }
.rating { padding-top: 38px; }
.reviews-intro h2 { margin-bottom: 14px; }
.reviews-intro p { max-width: 620px; color: rgba(255,255,255,.72); }
.review-controls { display: flex; gap: 8px; margin-top: 24px; }
.review-arrow {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%;
  background: rgba(255,255,255,.09);
  color: white;
  cursor: pointer;
  transition: background 180ms ease,transform 180ms ease;
}
.review-arrow:hover { background: white; color: #8f1519; transform: scale(1.06); }
.reviews-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(310px,1fr);
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.reviews-track::-webkit-scrollbar { display: none; }
.review-card {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 27px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 22px;
  background: rgba(8,8,10,.24);
  backdrop-filter: blur(18px);
  scroll-snap-align: start;
  transition: transform 220ms ease,background 220ms ease;
}
.review-card:hover { transform: translateY(-6px); background: rgba(8,8,10,.37); }
.review-source { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: rgba(255,255,255,.68); font-size: .76rem; letter-spacing: .07em; text-transform: uppercase; }
.review-source b { padding: 7px 10px; border-radius: 999px; background: rgba(255,255,255,.12); color: white; }
.review-card blockquote { margin: 34px 0; font-size: 1.22rem; line-height: 1.4; letter-spacing: -.02em; }
.review-card cite { color: rgba(255,255,255,.7); font-style: normal; font-size: .88rem; }
.review-footnote { margin: 18px 0 0; color: rgba(255,255,255,.6); font-size: .78rem; }
.review-footnote a { display: inline-block; border-bottom: 1px solid currentColor; transition: color 180ms ease,border-color 180ms ease,transform 180ms ease; }
.review-footnote a:hover { color: white; border-color: white; transform: translateY(-2px); }

.map-shell {
  display: grid;
  grid-template-columns: minmax(290px,.65fr) 1.35fr;
  min-height: 610px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.map-info {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(28px,4vw,52px);
  background: linear-gradient(145deg,rgba(18,18,21,.96),rgba(7,7,8,.9));
  backdrop-filter: blur(20px);
}
.map-info h3 { margin-bottom: 14px; font-size: clamp(2rem,4vw,3.65rem); line-height: .95; }
.map-info p { color: var(--muted); }
.map-data { margin: 36px 0; border-top: 1px solid var(--line); }
.map-data div { display: grid; grid-template-columns: 86px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.map-data span:first-child { color: var(--muted); font-size: .82rem; }
.map-tabs { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.map-tab { min-height: 45px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.045); color: white; cursor: pointer; transition: background 180ms ease,border-color 180ms ease,transform 180ms ease; }
.map-tab:hover,.map-tab.active { background: var(--red); border-color: var(--red); transform: translateY(-2px); }
.map-stage { position: relative; min-height: 610px; background: #171719; }
.map-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; opacity: 0; pointer-events: none; filter: grayscale(1) invert(.91) contrast(.83); transition: opacity 400ms ease,filter 400ms ease; }
.map-frame.active { opacity: 1; pointer-events: auto; }
.map-stage:hover .map-frame.active { filter: grayscale(.55) invert(.88) contrast(.86); }
.map-cross { position: absolute; z-index: 2; left: 50%; top: 50%; width: 54px; height: 54px; transform: translate(-50%,-50%); border: 1px solid rgba(237,50,55,.8); border-radius: 50%; pointer-events: none; box-shadow: 0 0 0 9px rgba(237,50,55,.09),0 0 32px rgba(237,50,55,.5); }
.map-cross::before,.map-cross::after { content: ""; position: absolute; background: var(--red); }
.map-cross::before { left: 50%; top: -14px; bottom: -14px; width: 1px; }
.map-cross::after { top: 50%; left: -14px; right: -14px; height: 1px; }

.back-to-top {
  position: fixed;
  z-index: 44;
  right: 20px;
  bottom: 20px;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(15,15,18,.68);
  color: white;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(.9);
  transition: opacity 220ms ease,visibility 220ms ease,transform 220ms ease,border-color 180ms ease;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { border-color: var(--red); transform: translateY(-3px); }
.back-to-top span { font-size: 1.3rem; transition: transform 180ms ease; }
.back-to-top:hover span { transform: translateY(-3px); }

.cursor-crosshair {
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 34px;
  height: 34px;
  display: none;
  pointer-events: none;
  color: rgba(255,255,255,.75);
  transform: translate3d(-100px,-100px,0);
  mix-blend-mode: difference;
}
.cursor-crosshair::before,.cursor-crosshair::after { content: ""; position: absolute; background: currentColor; transition: transform 160ms ease; }
.cursor-crosshair::before { left: 50%; top: -6px; bottom: -6px; width: 1px; }
.cursor-crosshair::after { top: 50%; left: -6px; right: -6px; height: 1px; }
.cursor-ring { position: absolute; inset: 7px; border: 1px solid currentColor; border-radius: 50%; transition: inset 180ms ease; }
.cursor-coords { position: absolute; left: 29px; top: 26px; min-width: 92px; font-family: ui-monospace,SFMono-Regular,Menlo,monospace; font-size: 10px; letter-spacing: .04em; white-space: nowrap; }
.cursor-crosshair.active { color: var(--red); }
.cursor-crosshair.active .cursor-ring { inset: 1px; }
@media (pointer:fine) and (min-width:769px) {
  body,a,button,select,input,label { cursor: none !important; }
  .cursor-crosshair { display: block; }
}
.reveal { transition-duration: 720ms; transition-timing-function: cubic-bezier(.16,1,.3,1); transition-delay: var(--delay,0ms); }

@media (max-width:1080px) {
  .partner-lockup span { display: none; }
  .partner-lockup { min-width: auto; }
}
@media (max-width:980px) {
  .nav { position: absolute; inset: 88px 24px auto; border: 1px solid var(--line); border-radius: 20px; background: rgba(8,8,10,.94); box-shadow: var(--shadow); backdrop-filter: blur(24px); }
  .project-slide { grid-template-columns: minmax(0,1.25fr) minmax(290px,.75fr); min-height: 520px; }
  .reviews-top { grid-template-columns: 1fr; }
  .map-shell { grid-template-columns: 1fr; }
  .map-stage { min-height: 460px; }
}
@media (max-width:640px) {
  .wrap { width: min(100% - 30px,1240px); }
  .site-header { padding-top: 10px; }
  .header-row { min-height: 66px; padding: 8px 9px 8px 13px; border-radius: 17px; }
  .brand-copy { display: none; }
  .partner-lockup { padding-left: 9px; }
  .partner-lockup img { width: 47px; }
  .nav { inset: 78px 15px auto; }
  .hero-partner { align-items: flex-start; }
  .hero-xpel { width: 106px; }
  .hero-kicker-v2 { font-size: .63rem; }
  .project-track { grid-auto-columns: 92%; padding-right: 8%; gap: 12px; }
  .project-slide { min-height: 0; grid-template-columns: 1fr; grid-template-rows: minmax(390px,58svh) auto; border-radius: 22px; }
  .project-slide-panel { min-height: 310px; padding: 26px 22px; }
  .project-slide-panel::before { border-left: 0; border-top: 1px solid rgba(255,255,255,.1); }
  .project-slide-copy h3 { max-width: 340px; font-size: clamp(2.2rem,11vw,3.5rem); }
  .project-toolbar { gap: 16px; }
  .project-progress { display: none; }
  .project-arrow { width: 48px; height: 48px; }
  .reviews-track { grid-auto-columns: 88%; }
  .map-shell { border-radius: 22px; }
  .map-stage { min-height: 390px; }
  .map-data div { grid-template-columns: 1fr; gap: 3px; }
  .back-to-top { right: 16px; bottom: 88px; width: 50px; height: 50px; }
}
@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after { animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; }
}

/* v3 — fixed navigation, resilient multilingual layout and business-card contact flow */
html { scroll-padding-top: 100px; }
body { padding-bottom: 0; }
html.lang-switching *,html.lang-switching *::before,html.lang-switching *::after {
  animation: none !important;
  transition: none !important;
}
h1,h2,h3 { text-wrap: balance; overflow-wrap: normal; }
.section-head {
  display: grid;
  grid-template-columns: minmax(0,1.28fr) minmax(300px,.72fr);
  align-items: start;
  gap: clamp(42px,7vw,96px);
}
.section-head > * { min-width: 0; }
.section-head > :only-child { grid-column: 1 / -1; }
.section-head h2 { margin-bottom: 0; }
.section-head > .lead,.section-head > .project-heading-side { padding-top: 39px; }

.site-header {
  position: fixed;
  padding-top: 14px;
  transition: padding 240ms ease,background 240ms ease,box-shadow 240ms ease;
}
.site-header.scrolled {
  padding-top: 7px;
  background: linear-gradient(180deg,rgba(5,5,6,.94),rgba(5,5,6,.68) 72%,transparent);
}
.header-row { transition: min-height 240ms ease,padding 240ms ease,border-radius 240ms ease,background 240ms ease; }
.site-header.scrolled .header-row {
  min-height: 60px;
  padding-block: 6px;
  border-radius: 16px;
  background: rgba(8,8,10,.86);
}
.brand-cluster { min-width: 0; display: flex; align-items: center; gap: 13px; }
.brand { min-width: 0; }
.partner-lockup { flex: 0 0 auto; transition: opacity 180ms ease,transform 180ms ease; }
.partner-lockup:hover { opacity: 1; transform: translateY(-1px); }
.nav { gap: clamp(13px,1.45vw,24px); }
.nav a { white-space: nowrap; }
.nav a.active { color: white; }
.nav a.active::after,.nav a:hover::after { right: 0; }
.nav-instagram { color: #ff7276 !important; }
.footer-links { flex-wrap: wrap; }

.hero h1 { line-height: .89; }
html[lang="en"] .hero h1 { max-width: 790px; font-size: clamp(2.95rem,5.85vw,6.05rem); line-height: .96; letter-spacing: -.052em; }
html[lang="uz"] .hero h1 { max-width: 850px; font-size: clamp(3rem,6.1vw,6.25rem); }
.hero-xpel { display: block; transition: transform 220ms ease,filter 220ms ease; }
.hero-xpel:hover { transform: translateY(-3px); filter: drop-shadow(0 14px 30px rgba(237,50,55,.28)); }
.hero-instagram,.instagram-inline {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding-inline: 8px;
  color: rgba(255,255,255,.72);
  font-size: .86rem;
  font-weight: 700;
  border-bottom: 1px solid rgba(255,255,255,.28);
  transition: color 180ms ease,border-color 180ms ease,transform 180ms ease;
}
.hero-instagram:hover,.instagram-inline:hover { color: white; border-color: var(--red); transform: translateY(-2px); }
.project-heading-side { max-width: 470px; }
.project-heading-side .lead { margin-bottom: 16px; }
.instagram-inline { min-height: auto; padding: 0 0 5px; color: var(--red); }

.marquee {
  position: relative;
  z-index: 1;
  height: auto;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: #09090a;
  backdrop-filter: none;
  pointer-events: none;
}
.marquee-scale { display: none; }
.marquee-track {
  height: auto;
  width: max-content;
  display: flex;
  gap: 42px;
  padding: 17px 0;
  animation: marquee 24s linear infinite;
  transform: none;
  will-change: transform;
}
.marquee-track span { gap: 42px; color: rgba(255,255,255,.72); font-family: inherit; font-size: .77rem; letter-spacing: .16em; }
.marquee-track span::after { content: "✦"; color: var(--red); font-size: .7rem; }

.proof-xpel { cursor: pointer; }
.proof-xpel:hover { color: white; }

.review-controls { align-items: center; }
.review-arrow:disabled { opacity: .35; cursor: default; transform: none; }
.review-arrow:disabled:hover { background: rgba(255,255,255,.09); color: white; }
.review-pagination { display: flex; align-items: center; gap: 7px; margin-left: 8px; }
.review-dot { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 999px; background: rgba(255,255,255,.35); cursor: pointer; transition: width 180ms ease,background 180ms ease; }
.review-dot.active { width: 24px; background: white; }
.reviews-track { grid-auto-columns: calc((100% - 28px) / 3); padding-right: 0; cursor: grab; overscroll-behavior-inline: contain; touch-action: pan-y; }
.reviews-track.dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }

.map-caption { margin: 0 0 10px; color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; }
.map-tab { width: 100%; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; text-align: center; }
.map-frame { opacity: 1; pointer-events: auto; filter: grayscale(1) invert(.91) contrast(.83); }
.map-stage:hover .map-frame { filter: grayscale(.45) invert(.87) contrast(.88); }
.map-badge {
  position: absolute;
  z-index: 3;
  left: 20px;
  bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 15px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(8,8,10,.75);
  color: white;
  font-weight: 700;
  backdrop-filter: blur(16px);
  pointer-events: none;
}

.contact-grid { align-items: stretch; }
.contact-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(28px,4vw,50px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(135deg,rgba(255,255,255,.1),rgba(255,255,255,.025));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.09),var(--shadow);
  backdrop-filter: blur(24px) saturate(145%);
}
.contact-panel::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  right: -130px;
  top: -140px;
  border-radius: 50%;
  background: rgba(237,50,55,.18);
  filter: blur(45px);
  pointer-events: none;
}
.contact-panel-top { position: relative; display: flex; justify-content: space-between; gap: 16px; margin-bottom: clamp(55px,8vw,100px); color: var(--muted); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.contact-panel-status { display: inline-flex; align-items: center; gap: 8px; }
.contact-panel-status i { width: 7px; height: 7px; border-radius: 50%; background: #5be37d; box-shadow: 0 0 16px #5be37d; }
.contact-panel h3 { position: relative; margin-bottom: 24px; font-size: clamp(2rem,3.3vw,3.4rem); line-height: .98; }
.contact-action {
  --mx: 0px;
  --my: 0px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 82px;
  padding: 16px 18px;
  border-top: 1px solid var(--line);
  transform: translate3d(var(--mx),var(--my),0);
  transition: background 180ms ease,color 180ms ease,transform 180ms ease;
}
.contact-action:last-of-type { border-bottom: 1px solid var(--line); }
.contact-action:hover { background: rgba(255,255,255,.055); }
.contact-action-social { margin-bottom: 10px; border: 1px solid rgba(255,255,255,.14); border-radius: 18px; background: rgba(255,255,255,.035); }
.contact-action-social:hover { border-color: var(--red); background: var(--red); color: white; box-shadow: 0 16px 44px rgba(237,50,55,.25); }
.contact-action span { display: grid; gap: 3px; }
.contact-action small { color: currentColor; opacity: .6; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.contact-action strong { font-size: clamp(1rem,1.7vw,1.3rem); }
.contact-action b { font-size: 1.35rem; transition: transform 180ms ease; }
.contact-action:hover b { transform: translate(3px,-3px); }
.contact-panel-note { margin: 22px 0 0; color: var(--muted); font-size: .85rem; }

.cursor-crosshair.safe { opacity: 0; }
.cursor-coords { opacity: 1; transition: opacity 220ms ease; }
.cursor-crosshair.idle .cursor-coords { opacity: 0; }
.back-to-top { bottom: 20px; }
footer { padding-bottom: 96px; }

@media (max-width:1080px) {
  .brand-copy { display: none; }
  .partner-lockup { padding-left: 10px; }
  .nav { gap: 14px; }
}
@media (max-width:980px) {
  .site-header,.site-header.scrolled { padding-top: 10px; }
  .nav { position: fixed; inset: 88px 24px auto; }
  .project-slide { grid-template-columns: minmax(0,1.18fr) minmax(285px,.82fr); }
  .reviews-track { grid-auto-columns: calc((100% - 14px) / 2); }
  .rating { padding-top: 0; }
  .section-head { grid-template-columns: minmax(0,1.15fr) minmax(270px,.85fr); gap: 36px; }
  .section-head > .lead,.section-head > .project-heading-side { padding-top: 36px; }
}
@media (max-width:640px) {
  body { padding-bottom: 0; }
  .site-header,.site-header.scrolled { padding-top: 8px; }
  .site-header.scrolled .header-row { min-height: 58px; }
  .brand-cluster { gap: 7px; }
  .partner-lockup { padding-left: 7px; }
  .partner-lockup img { width: 43px; }
  .hero h1,html[lang="uz"] .hero h1 { font-size: clamp(2.75rem,14vw,4.75rem); line-height: .91; }
  html[lang="en"] .hero h1 { max-width: 100%; font-size: clamp(2.55rem,12.5vw,4.35rem); line-height: .98; letter-spacing: -.045em; }
  .hero-partner { gap: 10px; }
  .hero-instagram { width: auto !important; margin-inline: auto; }
  .project-heading-side { max-width: none; }
  .section-head { display: block; }
  .section-head > .lead,.section-head > .project-heading-side { padding-top: 0; margin-top: 24px; }
  .rating { padding-top: 0; }
  .project-track { grid-auto-columns: 92%; padding-right: 8%; gap: 12px; }
  .project-slide { min-height: 0; grid-template-columns: 1fr; grid-template-rows: minmax(390px,58svh) auto; border-radius: 22px; }
  .project-slide-panel { min-height: 310px; padding: 26px 22px; }
  .project-slide-panel::before { border-left: 0; border-top: 1px solid rgba(255,255,255,.1); }
  .project-slide-copy h3 { max-width: 340px; font-size: clamp(2.2rem,11vw,3.5rem); }
  .project-toolbar { gap: 16px; }
  .project-progress { display: none; }
  .project-arrow { width: 48px; height: 48px; }
  .reviews-track { grid-auto-columns: 100%; }
  .review-pagination { margin-left: 4px; }
  .map-badge { left: 14px; bottom: 14px; }
  .contact-panel { border-radius: 22px; }
  .contact-panel-top { margin-bottom: 54px; }
  .contact-action { min-height: 72px; }
  .marquee { height: auto; }
  .marquee-track { gap: 28px; padding-block: 14px; }
  .marquee-track span { gap: 28px; font-size: .66rem; }
  .marquee-track span:nth-child(n+4) { display: inline-flex; }
  .mobile-actions { bottom: 12px; }
  .back-to-top { bottom: 88px; }
  footer { padding-bottom: 96px; }
}

/* v8 — compact project showcase and mobile-first header controls */
.section { padding-block: clamp(76px,9vw,132px); }
.section-head { margin-bottom: 40px; }
.section-head h2 { line-height: 1.04; }

.lang-select {
  flex: 0 0 76px;
  width: 76px;
  min-width: 76px;
  max-width: 76px;
  height: 44px;
  padding: 0 28px 0 14px;
  border-radius: 999px;
  -webkit-appearance: none;
  appearance: none;
  color: #f5f5f3;
  -webkit-text-fill-color: #f5f5f3;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.2;
  text-align: left;
  text-indent: 0;
  background-color: rgba(255,255,255,.055);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='m3 4.5 3 3 3-3' fill='none' stroke='%23f5f5f3' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px;
}
.lang-select option { color: #f5f5f3; background: #111113; }

.projects-section {
  scroll-margin-top: 96px;
  padding-block: clamp(72px,7.25vw,108px);
}
.project-heading {
  grid-template-columns: minmax(0,1fr) auto;
  align-items: end;
  gap: clamp(28px,5vw,84px);
  margin-bottom: clamp(22px,2.4vw,30px);
}
.project-heading > div:first-child { min-width: 0; }
.project-heading .eyebrow { margin-bottom: 14px; }
.project-heading h2 {
  max-width: none;
  font-size: clamp(2.7rem,4.55vw,4.35rem);
  line-height: .94;
  letter-spacing: -.055em;
}
.project-heading h2 > span { display: block; }
.project-heading h2 > span + span { margin-top: .06em; }
.project-heading .brand-name { white-space: nowrap; }
.project-heading-side {
  align-self: end;
  justify-self: end;
  justify-content: flex-end;
  padding: 0 0 5px !important;
}
.project-heading-side .instagram-inline { white-space: nowrap; }
.project-heading-count { display: none; }

.elfsight-projects {
  position: relative;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  border-radius: 20px;
  background: #0a0a0b;
  box-shadow: 0 0 0 1px rgba(255,255,255,.1),0 20px 60px rgba(0,0,0,.28);
  isolation: isolate;
}
.elfsight-widget {
  position: relative;
  width: 100%;
  min-width: 0;
  min-height: 1px;
  overflow: hidden;
  border-radius: inherit;
  background: transparent;
}
.elfsight-widget iframe {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  border: 0 !important;
  border-radius: inherit;
}

.project-track {
  position: relative;
  display: flex;
  gap: 14px;
  padding-right: 0;
  scroll-padding-left: 0;
}
.project-track::after { content: ""; flex: 0 0 clamp(46px,5vw,72px); }
.project-slide {
  flex: 0 0 calc(100% - clamp(46px,5vw,72px));
  height: clamp(430px,38vw,500px);
  min-height: 0;
  grid-template-columns: minmax(0,1.32fr) minmax(360px,.88fr);
  border-radius: 24px;
}
.project-slide-media img { position: absolute; inset: 0; }
.project-slide-panel { padding: clamp(28px,3vw,40px); }
.project-slide-copy h3 {
  max-width: 390px;
  margin-bottom: 14px;
  font-size: clamp(2.1rem,3vw,3.6rem);
  line-height: .98;
}
.project-slide-copy p { margin-bottom: 24px; }
.project-toolbar { margin-top: 18px; }

@media (max-width:980px) {
  .section { padding-block: 80px; }
  .projects-section { padding-block: 72px; }
  .project-heading { grid-template-columns: minmax(0,1fr) auto; gap: 24px; }
  .project-heading h2 { font-size: clamp(2.55rem,6.2vw,3.8rem); }
  .project-slide {
    height: 450px;
    grid-template-columns: minmax(0,1.05fr) minmax(310px,.95fr);
  }
  .project-slide-panel { padding: 28px; }
  .project-slide-copy h3 { font-size: clamp(2rem,4.7vw,3rem); }
}

@media (max-width:640px) {
  .wrap { width: min(calc(100% - 24px),1240px); }
  .section { padding-block: 68px; }
  .section-head { margin-bottom: 30px; }
  .section-head > .lead,.section-head > .project-heading-side { margin-top: 18px; }

  .header-row {
    gap: 10px;
    padding: 8px 9px 8px 12px;
  }
  .header-actions { gap: 7px; }
  .brand-mark { width: 43px; }
  .partner-lockup img { width: 42px; }
  .lang-select {
    flex-basis: 72px;
    width: 72px;
    min-width: 72px;
    max-width: 72px;
    height: 44px;
    padding-left: 13px;
    padding-right: 27px;
    background-position: right 11px center;
  }
  .menu-toggle { flex: 0 0 44px; width: 44px; }

  .projects-section { scroll-margin-top: 78px; padding-block: 60px; }
  .project-heading { display: block; margin-bottom: 18px; }
  .project-heading .eyebrow { margin-bottom: 12px; }
  .project-heading h2 { font-size: clamp(2.05rem,10vw,2.75rem); line-height: .96; }
  .project-heading .brand-name { font-size: .91em; letter-spacing: -.05em; }
  .project-heading-side { margin-top: 14px !important; padding-bottom: 0 !important; }
  .project-heading-side .instagram-inline { font-size: .86rem; }
  .elfsight-projects { border-radius: 16px; }
  .project-track { gap: 10px; }
  .project-track::after { flex-basis: 20px; }
  .project-slide {
    flex-basis: calc(100% - 20px);
    height: auto;
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0,310px) auto;
    border-radius: 20px;
  }
  .project-slide-media { height: 310px; }
  .project-slide-media::after { background: linear-gradient(0deg,rgba(8,8,9,.5),transparent 46%); }
  .project-slide-panel {
    min-height: 260px;
    gap: 44px;
    padding: 22px 20px 24px;
  }
  .project-slide-panel::before { border-left: 0; border-top: 1px solid rgba(255,255,255,.1); }
  .project-slide-top { font-size: .64rem; }
  .project-product { margin-bottom: 12px; }
  .project-slide-copy h3 { max-width: none; font-size: clamp(1.9rem,9.4vw,2.55rem); line-height: 1; }
  .project-slide-copy p { margin-bottom: 20px; font-size: .88rem; }
  .project-toolbar { grid-template-columns: auto auto; justify-content: space-between; gap: 18px; margin-top: 16px; }
  .project-progress { display: none; }
  .project-arrow { width: 46px; height: 46px; }
  .mobile-actions {
    left: max(10px,env(safe-area-inset-left));
    right: max(10px,env(safe-area-inset-right));
    bottom: max(10px,env(safe-area-inset-bottom));
  }
  footer { padding-bottom: calc(92px + env(safe-area-inset-bottom)); }
}

/* v9 — mobile-only card carousels */
.mobile-carousel-nav { display: none; }

@media (max-width:640px) {
  .section-head h2 { font-size: clamp(2.1rem,10.7vw,2.8rem); line-height: 1.03; }
  .section-head .lead { font-size: 1rem; line-height: 1.55; }
  .xpel-grid { gap: 42px; }
  .xpel-logo-box { min-height: 190px; padding: 34px; }
  .xpel-copy h2 { font-size: clamp(2.1rem,10.7vw,2.9rem); line-height: 1.03; }
  .feature-list { margin-top: 32px; }
  .reviews-top { gap: 30px; margin-bottom: 32px; }
  .review-card { min-height: 290px; padding: 24px; }
  .review-card blockquote { margin: 28px 0; font-size: 1.1rem; }
  .map-info { padding: 24px; }
  .map-data { margin: 28px 0; }
  .map-stage { min-height: 340px; }
  .contact-grid { gap: 38px; }
  .contact-lines { margin-top: 34px; }
  .contact-panel { padding: 24px; }
  .contact-panel-top { margin-bottom: 44px; }

  .services-grid,.packages-grid,.process-grid {
    display: flex;
    align-items: stretch;
    gap: 10px;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 1px 0 5px;
    border-top: 0;
    scroll-padding-left: 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
    touch-action: pan-x pan-y;
    -webkit-overflow-scrolling: touch;
  }
  .services-grid::-webkit-scrollbar,.packages-grid::-webkit-scrollbar,.process-grid::-webkit-scrollbar { display: none; }
  .services-grid::after,.packages-grid::after,.process-grid::after { content: ""; flex: 0 0 22px; }

  .service-card,.service-card.featured {
    flex: 0 0 calc(100% - 28px);
    width: auto;
    min-height: 350px;
    grid-column: auto;
    padding: 24px;
    border-radius: 20px;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
  .service-card h3,.service-card:not(.featured) h3 { font-size: clamp(1.72rem,8.5vw,2.2rem); line-height: 1.02; }
  .service-card p { font-size: .96rem; line-height: 1.55; }

  .package {
    flex: 0 0 calc(100% - 22px);
    width: auto;
    min-height: 470px;
    padding: 22px;
    border-radius: 20px;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
  .package .coverage { height: 62px; margin: 25px 0 22px; }
  .package h3 { margin-bottom: 11px; font-size: 1.85rem; }
  .package p { font-size: .94rem; line-height: 1.5; }
  .package ul { margin: 0 0 22px; }
  .package li { padding: 8px 0; }
  .package .button { min-height: 50px; }

  .process-grid { overflow-y: visible; }
  .step,.step:not(:first-child) {
    flex: 0 0 calc(100% - 48px);
    width: auto;
    min-height: 250px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: linear-gradient(145deg,rgba(255,255,255,.07),rgba(255,255,255,.018));
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
  .step-num { margin-bottom: 54px; }
  .step h3 { font-size: 1.55rem; }
  .step p { font-size: .94rem; line-height: 1.5; }

  .mobile-carousel-nav {
    display: grid;
    grid-template-columns: auto minmax(44px,1fr) auto;
    align-items: center;
    gap: 14px;
    margin-top: 15px;
  }
  .mobile-carousel-count { display: inline-flex; align-items: baseline; gap: 5px; min-width: 52px; }
  .mobile-carousel-count strong { font-size: 1.45rem; line-height: 1; letter-spacing: -.055em; }
  .mobile-carousel-count i { color: rgba(255,255,255,.42); font-size: .73rem; font-style: normal; }
  .mobile-carousel-progress { height: 1px; overflow: hidden; background: rgba(255,255,255,.16); }
  .mobile-carousel-progress i { display: block; width: 20%; height: 100%; background: var(--red); transition: width 280ms cubic-bezier(.16,1,.3,1); }
  .mobile-carousel-arrows { display: inline-flex; gap: 7px; }
  .mobile-carousel-arrows button {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: rgba(255,255,255,.045);
    color: white;
    font-size: 1rem;
  }
  .mobile-carousel-arrows button:active { border-color: var(--red); background: var(--red); transform: scale(.96); }
  .mobile-carousel-arrows button:disabled { opacity: .3; }
}
