/* =====================================================================
   British Motor Check — stylesheet
   Palette: pure black, graphite, silver greys and white (light theme body)
===================================================================== */
:root {
  --black: #050505;
  --ink: #0d0d0e;
  --char: #1a1a1c;
  --g1: #f6f6f7;
  --g2: #e9e9ec;
  --g3: #d2d2d7;
  --g4: #8b8b93;
  --g5: #55555d;
  --white: #fff;
  --err: #b42318;
  --red: #d10000;
  --red-soft: rgba(209, 0, 0, 0.12);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
  --pad: clamp(20px, 4vw, 56px);
  --font: 'Outfit', 'Urbanist', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

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

[hidden] {
  display: none !important;
}

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

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

body.lock {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

ul,
ol {
  list-style: none;
}

input,
select,
textarea {
  font: inherit;
  color: inherit;
}

::selection {
  background: var(--ink);
  color: #fff;
}

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

.wrap {
  width: min(1240px, 100% - 2 * var(--pad));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.muted {
  color: var(--g5);
  margin: 14px 0 26px;
  max-width: 420px;
}

.u {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.flip {
  transform: scaleX(-1);
}

/* ---------- Icons (animated) ---------- */
.ico {
  width: 1.5em;
  height: 1.5em;
  display: inline-block;
  flex: none;
  overflow: visible;
  vertical-align: middle;
}

.ico .d {
  stroke-dasharray: 1 1;
  stroke-dashoffset: 0;
}

.reveal .ico .d {
  stroke-dashoffset: 1;
}

.reveal.in .ico .d {
  animation: draw 1.4s .25s cubic-bezier(.6, 0, .2, 1) forwards;
}

@keyframes draw {
  from {
    stroke-dashoffset: 1;
  }

  to {
    stroke-dashoffset: 0;
  }
}

.ico [data-a] {
  transform-box: fill-box;
  transform-origin: center;
}

.ico [data-a][style] {
  transform-box: view-box;
}

.ico [data-a=swing] {
  animation: swing 3.2s ease-in-out infinite alternate;
}

.ico [data-a=hand] {
  animation: spin 8s linear infinite;
}

.ico [data-a=scan] {
  animation: scan 3.4s ease-in-out infinite;
}

.ico [data-a=bob] {
  animation: bob 2.6s ease-in-out infinite;
}

.ico [data-a=ring] {
  animation: ring 3.6s ease-in-out infinite;
}

:is(a, button, .card, .feat, .acc-h, .tl):hover .ico [data-a=spin] {
  animation: spin 1.6s linear infinite;
}

:is(a, button, .card, .feat, .acc-h):hover .ico [data-a=pop] {
  animation: pop .7s var(--ease);
}

@keyframes swing {
  from {
    transform: rotate(-26deg);
  }

  to {
    transform: rotate(26deg);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes scan {

  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(2.5px, 2px);
  }
}

@keyframes bob {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-1.3px);
  }
}

@keyframes ring {

  0%,
  70%,
  100% {
    transform: rotate(0);
  }

  75% {
    transform: rotate(-9deg);
  }

  82% {
    transform: rotate(9deg);
  }

  89% {
    transform: rotate(-6deg);
  }

  95% {
    transform: rotate(4deg);
  }
}

@keyframes pop {
  40% {
    transform: scale(1.3);
  }
}

.stars {
  display: inline-flex;
  gap: 2px;
  font-size: 15px;
}

.stars .ico {
  width: 1em;
  height: 1em;
}

.stars .ico .d {
  fill: currentColor;
}

/* ---------- Loader / curtain / progress ---------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: #000;
  color: #fff;
  display: grid;
  place-items: center;
  transition: transform 1s var(--ease-io);
}

.loader.done {
  transform: translateY(-100%);
}

.loader-in {
  display: grid;
  justify-items: center;
  gap: 22px;
  width: min(320px, 80%);
}

.loader-crest {
  width: 84px;
  height: 84px;
  stroke-width: 1.1;
}

.loader .ico .d {
  stroke-dashoffset: 1;
  animation: draw 1.8s .1s cubic-bezier(.6, 0, .2, 1) forwards;
}

.loader-name {
  font-size: 15px;
  letter-spacing: .38em;
  text-transform: uppercase;
  display: flex;
  gap: .7em;
}

.loader-name span {
  opacity: 0;
  transform: translateY(14px);
  animation: up .8s var(--ease) forwards;
}

.loader-name span:nth-child(2) {
  animation-delay: .15s;
}

.loader-name span:nth-child(3) {
  animation-delay: .3s;
}

@keyframes up {
  to {
    opacity: 1;
    transform: none;
  }
}

.loader-bar {
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, .15);
  border-radius: 2px;
  overflow: hidden;
}

.loader-bar i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--red);
}

.loader-pct {
  font-size: 13px;
  color: var(--g4);
  font-variant-numeric: tabular-nums;
  letter-spacing: .1em;
}

.curtain {
  position: fixed;
  inset: 0;
  z-index: 250;
  background: var(--black);
  transform: translateY(100%);
  pointer-events: none;
  display: grid;
  place-items: center;
  color: #fff;
}

.curtain .ico {
  width: 64px;
  height: 64px;
  stroke-width: 1.1;
}

.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  z-index: 120;
  background: linear-gradient(90deg, var(--red), #ff4444);
}

/* ---------- Header ---------- */
.hdr {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad);
  color: #fff;
  transition: background .45s, height .45s var(--ease), backdrop-filter .45s, transform .4s var(--ease);
}

.hdr.solid {
  background: rgba(5, 5, 5, .86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  height: 70px;
}

.hdr.hide {
  transform: translateY(-110%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  letter-spacing: -.02em;
  font-weight: 400;
}

.brand b {
  font-weight: 600;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  display: grid;
  place-items: center;
  transition: transform .6s var(--ease);
}

.brand-mark .ico {
  width: 20px;
  height: 20px;
}

.brand:hover .brand-mark {
  transform: rotate(-12deg) scale(1.06);
}

.crest {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  transition: transform .5s var(--ease);
}

.crest .ico {
  width: 46px;
  height: 46px;
  stroke-width: 1.2;
}

.crest:hover {
  transform: scale(1.1);
}

.nav {
  display: flex;
  gap: clamp(20px, 3vw, 44px);
  margin-left: auto;
  margin-right: clamp(20px, 3vw, 44px);
  font-size: 15px;
}

.nav a {
  position: relative;
  padding: 6px 0;
  opacity: .88;
  transition: opacity .3s;
}

.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1.5px;
  width: 100%;
  background: #fff;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .45s var(--ease);
}

.nav a:hover,
.nav a.active {
  opacity: 1;
}

.nav a:hover::after,
.nav a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.hdr-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cart-btn,
.icon-btn {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: background .3s;
}

.cart-btn:hover,
.icon-btn:hover {
  background: rgba(255, 255, 255, .14);
}

.cart-btn .ico {
  width: 24px;
  height: 24px;
}

.badge {
  position: absolute;
  top: 2px;
  right: 0;
  min-width: 19px;
  height: 19px;
  border-radius: 10px;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  display: grid;
  place-items: center;
  padding: 0 5px;
  transform: scale(0);
  transition: transform .45s cubic-bezier(.3, 1.6, .5, 1);
}

.badge.show {
  transform: scale(1);
}

.badge.bump {
  animation: bump .6s var(--ease);
}

@keyframes bump {
  40% {
    transform: scale(1.5);
  }
}

.burger {
  width: 44px;
  height: 44px;
  display: grid;
  align-content: center;
  justify-items: end;
  gap: 6px;
  border-radius: 50%;
}

.burger span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .5s var(--ease), width .4s var(--ease), opacity .3s;
}

.burger span:nth-child(1) {
  width: 24px;
}

.burger span:nth-child(2) {
  width: 16px;
}

.burger span:nth-child(3) {
  width: 24px;
}

.burger:hover span:nth-child(2) {
  width: 24px;
}

body.menu-open .burger span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

body.menu-open .burger span:nth-child(2) {
  opacity: 0;
}

body.menu-open .burger span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ---------- Overlay + drawers ---------- */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 140;
  background: rgba(0, 0, 0, .6);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .6s var(--ease);
}

.overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 150;
  width: min(480px, 100%);
  display: flex;
  flex-direction: column;
  transform: translateX(105%);
  transition: transform .75s var(--ease-io);
  visibility: hidden;
}

.drawer.open {
  transform: none;
  visibility: visible;
}

.drawer-dark {
  background: var(--black);
  color: #fff;
}

.drawer-light {
  background: #fff;
  color: var(--ink);
  box-shadow: -30px 0 80px rgba(0, 0, 0, .25);
}

.drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
}

.drawer-title {
  font-size: 20px;
  font-weight: 500;
}

.drawer-title small {
  color: var(--g4);
  font-size: 14px;
  font-weight: 400;
  margin-left: 6px;
}

.drawer-light .drawer-top {
  border-bottom: 1px solid var(--g2);
}

.drawer-light .icon-btn:hover {
  background: var(--g1);
}

.drawer-dark .drawer-top {
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.menu-links {
  padding: 24px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.menu-links a {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 400;
  letter-spacing: -.02em;
  opacity: 0;
  transform: translateX(60px);
  transition: opacity .6s var(--ease), transform .7s var(--ease), padding .4s var(--ease), color .3s;
}

.menu-links a em {
  font-style: normal;
  font-size: 13px;
  color: var(--g4);
  width: 24px;
  letter-spacing: .1em;
}

.menu-links a span {
  flex: 1;
}

.menu-links a .ico {
  opacity: 0;
  transform: translate(-10px, 10px);
  transition: .4s var(--ease);
}

.menu-links a:hover {
  padding-left: 14px;
}

.menu-links a:hover .ico {
  opacity: 1;
  transform: none;
}

.menu-links a.active span {
  color: var(--g4);
}

.drawer.open .menu-links a {
  opacity: 1;
  transform: none;
  transition-delay: calc(.25s + var(--i) * .07s), calc(.25s + var(--i) * .07s), 0s, 0s;
}

.menu-foot {
  padding: 24px 28px 32px;
  display: grid;
  gap: 18px;
}

.menu-legal {
  display: flex;
  gap: 22px;
  font-size: 14px;
  color: var(--g4);
}

.menu-legal a:hover {
  color: #fff;
}

.menu-contact {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 28px;
}

.drawer-foot {
  padding: 22px 28px 28px;
  border-top: 1px solid var(--g2);
  display: grid;
  gap: 12px;
}

.drawer-foot .row {
  display: flex;
  justify-content: space-between;
  font-size: 18px;
  font-weight: 500;
}

.mini-item {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--g2);
  animation: slideIn .5s var(--ease) both;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
}

.mini-item .ibox {
  width: 52px;
  height: 52px;
  border-radius: 14px;
}

.mini-item h4 {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
}

.mini-item small {
  color: var(--g4);
}

.mini-item .price {
  font-weight: 500;
  text-align: right;
}

.mini-item .rm {
  color: var(--g4);
  font-size: 13px;
  display: block;
  margin-top: 4px;
  transition: color .3s;
}

.mini-item .rm:hover {
  color: var(--err);
}

/* ---------- Toasts ---------- */
.toasts {
  position: fixed;
  top: 96px;
  right: 24px;
  bottom: auto;
  z-index: 10000;
  display: grid;
  gap: 10px;
}

.toast {
  background: var(--black);
  color: #fff;
  padding: 14px 20px 14px 16px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .3);
  animation: toastIn .6s var(--ease) both;
  font-size: 15px;
}

.toast.out {
  animation: toastOut .5s var(--ease) forwards;
}

.toast .ico {
  width: 22px;
  height: 22px;
}

.toast a {
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-left: 6px;
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateX(60px);
  }
}

@keyframes toastOut {
  to {
    opacity: 0;
    transform: translateX(60px);
  }
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 16px;
  border: 1px solid transparent;
  transition: color .45s, border-color .45s, transform .4s var(--ease);
  white-space: nowrap;
  --hov: #000;
}

.btn::before {
  content: '';
  position: absolute;
  inset: -1px;
  background: var(--hov);
  transform: translateY(102%);
  transition: transform .55s var(--ease-io);
  z-index: -1;
  border-radius: inherit;
}

.btn:hover::before {
  transform: none;
}

.btn:active {
  transform: scale(.97);
}

.btn .ico {
  width: 20px;
  height: 20px;
  transition: transform .45s var(--ease);
}

.btn:hover .ico:not(.flip) {
  transform: translateX(4px);
}

.btn-light {
  background: #fff;
  color: #000;
  --hov: #d4d4d8;
}

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

.btn-line {
  border-color: var(--g3);
  color: var(--ink);
  --hov: var(--ink);
}

.btn-line:hover {
  color: #fff;
  border-color: var(--ink);
}

.hero .btn-line,
.dark .btn-line {
  border-color: rgba(255, 255, 255, .45);
  color: #fff;
  --hov: #fff;
}

.hero .btn-line:hover {
  color: #000;
  border-color: #fff;
}

.btn-sm {
  padding: 10px 24px;
  font-size: 14px;
}

.btn-block {
  width: 100%;
}

.btn-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: opacity .3s;
}

.spinner {
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2.5px solid rgba(255, 255, 255, .3);
  border-top-color: #fff;
  opacity: 0;
  animation: spin 0.8s linear infinite;
  transition: opacity .3s;
}

.btn.loading {
  pointer-events: none;
}

.btn.loading .btn-label {
  opacity: 0;
}

.btn.loading .spinner {
  opacity: 1;
}

.btn:disabled {
  opacity: .4;
  pointer-events: none;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, .8);
  border-bottom: 1px solid rgba(255, 255, 255, .3);
  padding-bottom: 3px;
  transition: color .3s, gap .4s var(--ease);
}

.link-arrow:hover {
  color: #fff;
  gap: 14px;
}

.link-arrow .ico {
  width: 18px;
  height: 18px;
}

/* ---------- Typography helpers ---------- */
h1,
h2,
h3,
h4 {
  font-weight: 500;
  letter-spacing: -.025em;
  line-height: 1.08;
}

h2 {
  font-size: clamp(34px, 4.6vw, 62px);
}

h3 {
  font-size: 22px;
  letter-spacing: -.015em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 20px;
  font-weight: 500;
}

.eyebrow::before {
  content: '';
  width: 26px;
  height: 1.5px;
  background: currentColor;
}

.eyebrow.on-dark {
  color: var(--red);
  opacity: .8;
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(44px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: var(--d, 0s);
}

.reveal.from-left {
  transform: translateX(-60px);
}

.reveal.from-right {
  transform: translateX(60px);
}

.reveal.zoom {
  transform: scale(.92);
}

.reveal.clip {
  transform: none;
  clip-path: inset(0 0 100% 0 round 28px);
  transition: clip-path 1.3s var(--ease-io), opacity .6s;
}

.reveal.clip.from-right {
  clip-path: inset(0 0 0 100% round 28px);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

.reveal.clip.in {
  clip-path: inset(0 0 0 0 round 28px);
}

.reveal.done {
  transition-delay: 0s;
  transition-duration: .4s, .45s;
}

.lines .line {
  display: block;
  overflow: hidden;
  padding-bottom: .08em;
  margin-bottom: -.08em;
}

.lines .line>span {
  display: block;
  transform: translateY(115%);
  transition: transform 1.1s var(--ease);
  transition-delay: calc(var(--i, 0) * .12s + .1s);
}

.lines.in .line>span {
  transform: none;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: #000;
  color: #fff;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  border-radius: 0 0 44px 44px;
  display: flex;
  align-items: center;
  padding: 130px var(--pad) 70px;
}

.hero-inner {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 350px;
  align-items: center;
  gap: 30px;
}

.hero h1 {
  font-size: clamp(44px, 5.6vw, 88px);
  line-height: 1.02;
  letter-spacing: -.035em;
}

.hero-sub {
  color: rgba(255, 255, 255, .72);
  font-size: 18px;
  max-width: 400px;
  margin: 30px 0 38px;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  isolation: isolate;
  background: #000;
  overflow: hidden;
}

.ghost {
  position: absolute;
  left: 50%;
  top: 9%;
  transform: translateX(-50%);
  font-size: clamp(200px, 34vw, 520px);
  line-height: .9;
  font-weight: 700;
  letter-spacing: -.05em;
  background: linear-gradient(180deg, rgba(255, 255, 255, .26), rgba(255, 255, 255, .03) 85%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  user-select: none;
  white-space: nowrap;
}

.hero-car {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(1500px, 115%);
  transform: translateX(-50%);
  mix-blend-mode: screen;
  animation: carIn 2s .1s var(--ease) both;
}

.hero-car img {
  width: 100%;
  height: auto;
}

@keyframes carIn {
  from {
    opacity: 0;
    scale: 1.12;
  }
}

.hero-spot {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 45% at 50% 38%, rgba(255, 255, 255, .1), transparent 70%), linear-gradient(90deg, #000 0, rgba(0, 0, 0, .55) 22%, transparent 42%), linear-gradient(0deg, #000 0, transparent 14%);
  pointer-events: none;
}

.hero-right {
  display: grid;
  gap: 26px;
  justify-self: end;
  width: 100%;
  max-width: 350px;
}

.hero-card {
  position: relative;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 22px;
  padding: 22px 22px 24px;
  background: rgba(0, 0, 0, .35);
  backdrop-filter: blur(8px);
}

.hero-card h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.hero-card p {
  font-size: 14px;
  color: rgba(255, 255, 255, .75);
  line-height: 1.5;
  margin-bottom: 18px;
}

.hero-card::before {
  content: '';
  position: absolute;
  right: 100%;
  top: 50%;
  width: clamp(60px, 9vw, 150px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55));
  transform-origin: right;
  animation: lineGrow 1.6s 2.6s var(--ease) both;
}

.hero-card::after {
  content: '';
  position: absolute;
  right: calc(100% + clamp(60px, 9vw, 150px));
  top: 50%;
  width: 9px;
  height: 9px;
  margin: -4px -4px 0 0;
  border-radius: 50%;
  border: 1.5px solid #fff;
  background: #000;
  animation: dotPulse 2.4s 3s ease-in-out infinite both;
}

@keyframes lineGrow {
  from {
    transform: scaleX(0);
  }
}

@keyframes dotPulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, .45);
  }

  50% {
    box-shadow: 0 0 0 9px rgba(255, 255, 255, 0);
  }
}

.feats {
  display: grid;
  gap: 14px;
}

.feat-h {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  width: 100%;
}

.feat-ic {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .28);
  display: grid;
  place-items: center;
  flex: none;
  background: rgba(255, 255, 255, .05);
  transition: background .5s, color .5s, border-color .5s, transform .5s var(--ease);
}

.feat-ic .ico {
  width: 22px;
  height: 22px;
}

.feat-t {
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  white-space: nowrap;
  font-size: 20px;
  font-weight: 500;
  transition: max-width .7s var(--ease), opacity .5s;
}

.feat.open .feat-ic,
.feat-h:hover .feat-ic {
  background: #fff;
  color: #000;
  border-color: #fff;
}

.feat-h:hover .feat-ic {
  transform: scale(1.08);
}

.feat.open .feat-t {
  max-width: 280px;
  opacity: 1;
}

.feat-b {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .6s var(--ease);
}

.feat-b>p {
  overflow: hidden;
  min-height: 0;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, .7);
  padding-left: 62px;
  transition: padding .6s var(--ease);
}

.feat.open .feat-b {
  grid-template-rows: 1fr;
}

.feat.open .feat-b>p {
  padding-top: 10px;
}

.scroll-cue {
  position: absolute;
  bottom: 26px;
  left: 50%;
  translate: -50% 0;
  z-index: 4;
  width: 24px;
  height: 40px;
  border: 1.5px solid rgba(255, 255, 255, .5);
  border-radius: 14px;
}

.scroll-cue span {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 3px;
  height: 8px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: #fff;
  animation: cue 1.8s ease-in-out infinite;
}

@keyframes cue {
  0% {
    opacity: 0;
    transform: translateY(0);
  }

  30% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateY(14px);
  }
}

/* ---------- Sections / grids ---------- */
.sec {
  position: relative;
  padding: clamp(80px, 10vw, 140px) 0;
}

.sec.alt {
  background: var(--g1);
}

.sec.tight {
  padding: clamp(70px, 8vw, 110px) 0;
}

.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: clamp(40px, 5vw, 70px);
}

.sec-head p {
  max-width: 420px;
  color: var(--g5);
}

.sec-head.center {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
}

.sec-head.center .eyebrow {
  justify-content: center;
}

.mt {
  margin-top: clamp(80px, 9vw, 130px);
}

.mt-sm {
  margin: 18px 0 20px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: #fff;
  border: 1px solid var(--g2);
  border-radius: 26px;
  padding: 34px;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .28);
  border-color: var(--g3);
}

.reveal.card.in:not(.done):hover {
  transform: none;
}

.ibox {
  width: 62px;
  height: 62px;
  border-radius: 20px;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  flex: none;
  transition: transform .5s var(--ease), background .4s;
}

.ibox .ico {
  width: 28px;
  height: 28px;
}

.ibox.light {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--g3);
}

.card:hover .ibox {
  transform: rotate(-6deg) scale(1.06);
}

.svc h3 {
  margin: 26px 0 12px;
}

.svc p {
  color: var(--g5);
  font-size: 16px;
}

.more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  font-weight: 500;
  font-size: 15px;
  transition: gap .4s var(--ease);
}

.more .ico {
  width: 18px;
  height: 18px;
}

.card:hover .more {
  gap: 14px;
}

.center-cta {
  text-align: center;
  margin-top: 50px;
}

/* Stats */
.stats {
  padding: 56px 0;
  border-bottom: 1px solid var(--g2);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  display: grid;
  justify-items: start;
  gap: 4px;
  padding: 6px 30px;
  border-left: 1px solid var(--g2);
}

.stat:first-child {
  border-left: 0;
  padding-left: 0;
}

.stat .ico {
  width: 30px;
  height: 30px;
  color: var(--g4);
  margin-bottom: 10px;
}

.stat strong {
  font-size: clamp(38px, 4.4vw, 58px);
  font-weight: 500;
  letter-spacing: -.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.stat>span {
  color: var(--g5);
  font-size: 15px;
}

/* Process */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.step-line {
  position: absolute;
  top: 112px;
  left: 12%;
  right: 12%;
  height: 1.5px;
  background: var(--g3);
  overflow: hidden;
}

.step-line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 2.4s .4s var(--ease-io);
}

.steps.in .step-line::after {
  transform: scaleX(1);
}

.pstep {
  position: relative;
  text-align: center;
  display: grid;
  justify-items: center;
}

.pnum {
  font-size: 64px;
  font-weight: 600;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.2px var(--g3);
  margin-bottom: 14px;
  letter-spacing: -.04em;
}

.pstep .ibox {
  position: relative;
  z-index: 1;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin-bottom: 26px;
  background: var(--g1);
}

.sec.alt .pstep .ibox {
  background: #fff;
}

.pstep:hover .ibox {
  background: var(--ink);
  color: #fff;
}

.pstep p {
  color: var(--g5);
  font-size: 15px;
  margin-top: 10px;
  max-width: 250px;
}

/* Split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
}

.split-text {
  display: grid;
  gap: 24px;
  justify-items: start;
}

.split-text p {
  color: var(--g5);
}

.img-frame {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 4/4.6;
  background: var(--g2);
}

.img-frame.tall {
  aspect-ratio: 4/5;
}

.img-frame img {
  position: absolute;
  left: 0;
  top: -9%;
  width: 100%;
  height: 118%;
  object-fit: cover;
  will-change: translate;
}

.float-badge {
  position: absolute;
  left: 22px;
  bottom: 22px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  padding: 14px 22px 14px 14px;
  border-radius: 22px;
  animation: floatY 5s ease-in-out infinite;
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .4);
}

.float-badge .ibox {
  width: 48px;
  height: 48px;
  border-radius: 16px;
}

.float-badge .ibox .ico {
  width: 24px;
  height: 24px;
}

.float-badge strong {
  display: block;
  line-height: 1.2;
  font-weight: 500;
}

.float-badge small {
  color: var(--g5);
  font-size: 13px;
}

@keyframes floatY {
  50% {
    transform: translateY(-9px);
  }
}

.ticks {
  display: grid;
  gap: 22px;
  margin: 6px 0 10px;
}

.ticks li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.tick-ic {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: grid;
  place-items: center;
  flex: none;
  margin-top: 2px;
}

.tick-ic .ico {
  width: 18px;
  height: 18px;
}

.ticks strong {
  display: block;
  font-weight: 500;
  font-size: 18px;
}

.ticks li span:not(.tick-ic) {
  color: var(--g5);
  font-size: 15px;
}

.mini-stats {
  display: flex;
  gap: clamp(24px, 4vw, 50px);
  margin-top: 14px;
  flex-wrap: wrap;
}

.mini-stats strong {
  display: block;
  font-size: 42px;
  font-weight: 500;
  letter-spacing: -.03em;
  line-height: 1.1;
  color: var(--ink);
}

.mini-stats span {
  color: var(--g5);
  font-size: 14px;
}

/* Dark section */
.sec.dark {
  background: var(--black);
  color: #fff;
  border-radius: 44px;
  margin: 0 clamp(0px, 1.2vw, 18px);
  overflow: hidden;
}

.ghost-bg {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(180px, 34vw, 520px);
  font-weight: 700;
  letter-spacing: -.05em;
  line-height: .9;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, .07);
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
}

.ghost-bg.sm {
  font-size: clamp(160px, 24vw, 340px);
}

.check-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 70px;
  align-items: center;
}

.check-grid h2 {
  margin-bottom: 44px;
}

.acc-group {
  display: grid;
}

.acc {
  border-bottom: 1px solid var(--g2);
}

.acc-h {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  text-align: left;
  padding: 24px 0;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 500;
  letter-spacing: -.01em;
}

.acc-h>span:not(.acc-n) {
  flex: 1;
}

.acc-n {
  font-size: 14px;
  color: var(--g4);
  width: 30px;
  display: grid;
  place-items: center start;
  letter-spacing: .08em;
}

.acc-n .ico {
  width: 24px;
  height: 24px;
  color: #fff;
}

.acc-i {
  width: 26px;
  height: 26px;
  transition: transform .6s var(--ease);
  color: var(--g4);
}

.acc-h:hover .acc-i {
  color: currentColor;
}

.acc.open .acc-i {
  transform: rotate(135deg);
  color: currentColor;
}

.acc-b {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .65s var(--ease);
}

.acc-b>div {
  overflow: hidden;
  min-height: 0;
}

.acc.open .acc-b {
  grid-template-rows: 1fr;
}

.acc-b p,
.acc-b .mini-list {
  padding: 0 44px 26px 0;
  color: var(--g5);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .5s, transform .6s var(--ease);
}

.acc.open .acc-b p,
.acc.open .acc-b .mini-list {
  opacity: 1;
  transform: none;
  transition-delay: .15s;
}

.acc-b p+p {
  padding-top: 0;
  margin-top: -10px;
}

.acc-dark .acc {
  border-color: rgba(255, 255, 255, .12);
}

.acc-dark .acc-b p,
.acc-dark .acc-b .mini-list {
  color: rgba(255, 255, 255, .68);
}

.acc-dark.narrow {
  max-width: 860px;
  margin: 0 auto;
}

.acc-b .mini-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 26px;
  padding-left: 48px;
  font-size: 15px;
}

.mini-list li {
  position: relative;
  padding-left: 22px;
}

.mini-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .7em;
  width: 10px;
  height: 1.5px;
  background: var(--red);
}

.ring-wrap {
  position: relative;
  width: min(420px, 100%);
  aspect-ratio: 1;
  margin: 0 auto;
  display: grid;
  place-items: center;
}

.ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ring-bg,
.ring-fg {
  fill: none;
  stroke-width: 2.4;
}

.ring-bg {
  stroke: rgba(255, 255, 255, .12);
}

.ring-fg {
  stroke: var(--red);
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transform: rotate(-90deg);
  transform-origin: 100px 100px;
  transition: stroke-dashoffset 2.6s .4s var(--ease-io);
}

.ring-wrap.in .ring-fg {
  stroke-dashoffset: 6;
}

.ring-center {
  text-align: center;
  display: grid;
}

.ring-center strong {
  font-size: clamp(64px, 8vw, 96px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.04em;
}

.ring-center span:last-child {
  color: var(--g4);
  font-size: 14px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.orbit {
  position: absolute;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--char);
  border: 1px solid rgba(255, 255, 255, .22);
  display: grid;
  place-items: center;
  animation: floatY 5s ease-in-out infinite;
}

.orbit .ico {
  width: 24px;
  height: 24px;
}

.orbit.o1 {
  top: 4%;
  left: 14%;
}

.orbit.o2 {
  top: 42%;
  right: -4%;
  animation-delay: -1.6s;
}

.orbit.o3 {
  bottom: 6%;
  left: 22%;
  animation-delay: -3.2s;
}

/* Pricing */
.pcard {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--g2);
  border-radius: 30px;
  padding: 38px 34px;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}

.pcard:hover {
  transform: translateY(-10px);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .35);
}

.pcard.pop {
  background: var(--black);
  color: #fff;
  border-color: var(--black);
}

.pcard .tagline {
  position: absolute;
  top: 22px;
  right: 22px;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  background: #fff;
  color: #000;
  font-weight: 500;
}

.pcard .ibox {
  margin-bottom: 26px;
}

.pcard.pop .ibox {
  background: #fff;
  color: #000;
}

.pcard h3 {
  font-size: 26px;
}

.pcard .pdesc {
  color: var(--g5);
  margin: 8px 0 24px;
  font-size: 15px;
}

.pcard.pop .pdesc {
  color: rgba(255, 255, 255, .65);
}

.price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 58px;
  font-weight: 500;
  letter-spacing: -.04em;
  line-height: 1;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--g2);
}

.pcard.pop .price {
  border-color: rgba(255, 255, 255, .15);
}

.price small {
  font-size: 15px;
  font-weight: 400;
  color: var(--g4);
  letter-spacing: 0;
}

.price .num {
  display: inline-block;
  animation: tick .6s var(--ease);
}

@keyframes tick {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}

.pmeta {
  display: flex;
  gap: 18px;
  font-size: 14px;
  color: var(--g5);
  padding-bottom: 26px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--g2);
}

.pcard.pop .pmeta {
  color: rgba(255, 255, 255, .65);
  border-color: rgba(255, 255, 255, .15);
}

.pmeta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pmeta .ico {
  width: 17px;
  height: 17px;
}

.pfeat {
  display: grid;
  gap: 14px;
  margin-bottom: 34px;
  flex: 1;
}

.pfeat li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15.5px;
}

.pfeat .ico {
  width: 20px;
  height: 20px;
  margin-top: 2px;
}

.pcard .btn {
  width: 100%;
}

.pcard.pop .btn {
  background: #fff;
  color: #000;
  --hov: #d4d4d8;
}

.seg-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 50px;
}

.seg {
  position: relative;
  display: inline-flex;
  background: var(--g1);
  border: 1px solid var(--g2);
  border-radius: 999px;
  padding: 6px;
}

.seg button {
  position: relative;
  z-index: 1;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 15px;
  color: var(--g5);
  transition: color .4s;
}

.seg button.active {
  color: #fff;
}

.seg-thumb {
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 0;
  width: var(--w, 50%);
  transform: translateX(var(--x, 6px));
  background: var(--ink);
  border-radius: 999px;
  transition: transform .6s var(--ease), width .6s var(--ease);
}

.addons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.addon {
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--g2);
  border-radius: 22px;
  padding: 22px;
  background: #fff;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
}

.addon:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 50px -28px rgba(0, 0, 0, .3);
  border-color: var(--g3);
}

.addon .ibox {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--g1);
  color: var(--ink);
}

.addon .ibox .ico {
  width: 24px;
  height: 24px;
}

.addon:hover .ibox {
  background: var(--ink);
  color: #fff;
}

.addon div {
  flex: 1;
  min-width: 0;
}

.addon h4 {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -.01em;
}

.addon small {
  color: var(--g5);
  font-size: 13.5px;
  display: block;
  line-height: 1.4;
  margin-top: 2px;
}

.addon .ap {
  font-weight: 500;
  font-size: 17px;
}

.round-add {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--g3);
  display: grid;
  place-items: center;
  flex: none;
  transition: background .3s, color .3s, transform .5s var(--ease);
}

.round-add .ico {
  width: 20px;
  height: 20px;
}

.round-add:hover {
  background: var(--ink);
  color: #fff;
  transform: rotate(90deg);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--g2);
  border-radius: 26px;
  background: #fff;
}

.cmp {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.cmp th,
.cmp td {
  padding: 20px 26px;
  text-align: center;
  border-bottom: 1px solid var(--g2);
  font-size: 15.5px;
}

.cmp th:first-child,
.cmp td:first-child {
  text-align: left;
}

.cmp thead th {
  font-size: 18px;
  font-weight: 500;
  background: var(--g1);
}

.cmp thead th small {
  display: block;
  color: var(--g5);
  font-weight: 400;
  font-size: 14px;
}

.cmp tbody tr {
  transition: background .3s;
}

.cmp tbody tr:hover {
  background: var(--g1);
}

.cmp tbody tr:last-child td {
  border-bottom: 0;
}

.cmp .ico {
  width: 22px;
  height: 22px;
}

.cmp .no {
  color: var(--g3);
}

.cmp td.pk {
  background: rgba(0, 0, 0, .025);
}

/* Marquee */
.marquee {
  margin-top: 10px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marq 60s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marq {
  to {
    transform: translateX(-50%);
  }
}

.tcard {
  width: 390px;
  margin-right: 24px;
  background: #fff;
  border: 1px solid var(--g2);
  border-radius: 26px;
  padding: 30px;
  display: grid;
  gap: 18px;
  white-space: normal;
}

.tcard p {
  color: var(--ink);
  font-size: 16.5px;
}

.tcard .who {
  display: flex;
  align-items: center;
  gap: 14px;
}

.avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: .04em;
}

.who strong {
  display: block;
  font-weight: 500;
  line-height: 1.2;
}

.who small {
  color: var(--g4);
  font-size: 13.5px;
}

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: start;
}

.faq-grid>div:first-child {
  position: sticky;
  top: 120px;
}

.acc-group:not(.acc-dark) .acc:first-child {
  border-top: 1px solid var(--g2);
}

/* CTA */
.cta-sec {
  padding: clamp(60px, 8vw, 110px) 0 clamp(70px, 9vw, 120px);
}

.cta {
  position: relative;
  overflow: hidden;
  background: var(--black);
  color: #fff;
  border-radius: 44px;
  padding: clamp(60px, 9vw, 120px) 30px;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 22px;
}

.cta>* {
  position: relative;
  z-index: 1;
}

.cta h2 {
  max-width: 760px;
}

.cta p {
  color: rgba(255, 255, 255, .7);
  font-size: 18px;
  margin-bottom: 8px;
}

/* ---------- Page hero (inner pages) ---------- */
.phero {
  position: relative;
  overflow: hidden;
  background: var(--black);
  color: #fff;
  padding: 190px 0 100px;
  border-radius: 0 0 44px 44px;
}

.phero.short {
  padding: 170px 0 80px;
}

.phero .ghost-bg {
  top: 58%;
}

.phero h1 {
  font-size: clamp(42px, 6.4vw, 96px);
  letter-spacing: -.04em;
  line-height: 1.02;
  max-width: 1000px;
}

.phero p {
  margin-top: 28px;
  max-width: 580px;
  color: rgba(255, 255, 255, .7);
  font-size: 19px;
}

.crumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--g4);
  margin-bottom: 30px;
}

.crumbs .ico {
  width: 14px;
  height: 14px;
}

.crumbs a:hover {
  color: #fff;
}

.crumbs span {
  color: #fff;
}

/* ---------- About ---------- */
.timeline {
  position: relative;
  display: grid;
  gap: 36px;
  max-width: 980px;
  margin: 0 auto;
}

.tl-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1.5px;
  background: var(--g2);
}

.tl {
  position: relative;
  width: calc(50% - 44px);
  padding: 30px;
  border: 1px solid var(--g2);
  border-radius: 24px;
  background: #fff;
}

.tl:nth-child(even) {
  margin-left: auto;
}

.tl:nth-child(odd) .tl-dot {
  right: -51px;
}

.tl:nth-child(even) .tl-dot {
  left: -51px;
}

.tl-dot {
  position: absolute;
  top: 38px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 6px #fff, 0 0 0 7px var(--g3);
}

.tl em {
  font-style: normal;
  font-size: 14px;
  letter-spacing: .14em;
  color: var(--g4);
}

.tl h3 {
  margin: 6px 0 8px;
}

.tl p {
  color: var(--g5);
  font-size: 15.5px;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 30px;
  align-items: start;
}

.contact-info {
  display: grid;
  gap: 18px;
}

.cinfo {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 26px;
}

.cinfo small {
  color: var(--g4);
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  display: block;
}

.cinfo strong {
  font-weight: 500;
  font-size: 18px;
  line-height: 1.35;
  word-break: break-word;
}

.form-card {
  border: 1px solid var(--g2);
  border-radius: 30px;
  padding: clamp(26px, 4vw, 48px);
  background: #fff;
  box-shadow: 0 40px 90px -50px rgba(0, 0, 0, .3);
}

.form-card h3 {
  font-size: 28px;
  margin-bottom: 28px;
}

.row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field {
  position: relative;
  display: block;
  margin-bottom: 26px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--g1);
  border: 1.5px solid transparent;
  border-radius: 16px;
  padding: 28px 18px 10px;
  outline: none;
  transition: border-color .3s, background .3s, box-shadow .3s;
  appearance: none;
  -webkit-appearance: none;
  resize: vertical;
}

.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--g5) 50%), linear-gradient(135deg, var(--g5) 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
}

.field span {
  position: absolute;
  left: 19px;
  top: 18px;
  color: var(--g4);
  font-size: 16px;
  pointer-events: none;
  transition: all .3s var(--ease);
  transform-origin: left;
}

.field input:focus+span,
.field input:not(:placeholder-shown)+span,
.field textarea:focus+span,
.field textarea:not(:placeholder-shown)+span,
.field select:focus+span,
.field select:valid+span,
.field input[type=date]+span {
  top: 8px;
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--g5);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  background: #fff;
  border-color: var(--ink);
  box-shadow: 0 0 0 5px rgba(0, 0, 0, .06);
}

.field em {
  position: absolute;
  left: 6px;
  bottom: -19px;
  font-style: normal;
  font-size: 12.5px;
  color: var(--err);
  opacity: 0;
  transform: translateY(-4px);
  transition: .3s;
}

.field.err input,
.field.err select,
.field.err textarea {
  border-color: var(--err);
  background: #fff;
}

.field.err em {
  opacity: 1;
  transform: none;
}

.field.err {
  animation: shake .5s;
}

@keyframes shake {

  20%,
  60% {
    transform: translateX(-6px);
  }

  40%,
  80% {
    transform: translateX(6px);
  }
}

.success {
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 30px 0;
  animation: up .8s var(--ease) both;
}

.success p {
  color: var(--g5);
  max-width: 340px;
  margin-bottom: 10px;
}

.success-ic svg {
  width: 92px;
  height: 92px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.success-ic circle,
.success-ic path {
  stroke-dasharray: 1 1;
  stroke-dashoffset: 1;
  animation: draw .9s .1s var(--ease-io) forwards;
}

.success-ic path {
  animation-delay: .7s;
  animation-duration: .6s;
}

.map {
  position: relative;
  height: 380px;
  border-radius: 32px;
  overflow: hidden;
  background: var(--g2);
  border: 1px solid var(--g3);
}

.map svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.map-roads path {
  stroke: #fff;
  stroke-width: 9;
  stroke-dasharray: 1 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 3s var(--ease-io);
}

.map.in .map-roads path {
  stroke-dashoffset: 0;
}

.map-roads path:nth-child(even) {
  stroke-width: 5;
}

.map-river path {
  stroke: var(--g3);
  stroke-width: 26;
  stroke-linecap: round;
}

.pin {
  position: absolute;
  left: 52%;
  top: 52%;
  width: 56px;
  height: 56px;
  margin: -28px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
}

.pin .ico {
  width: 26px;
  height: 26px;
}

.pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--ink);
  animation: pulse 2.6s ease-out infinite;
}

.pulse.p2 {
  animation-delay: 1.3s;
}

@keyframes pulse {
  from {
    transform: scale(1);
    opacity: .7;
  }

  to {
    transform: scale(3.2);
    opacity: 0;
  }
}

.map-card {
  position: absolute;
  left: 24px;
  bottom: 24px;
  background: #fff;
  padding: 16px 22px;
  border-radius: 18px;
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .4);
  display: grid;
}

.map-card span {
  color: var(--g5);
  font-size: 14px;
}

/* ---------- Legal ---------- */
.legal-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}

.toc {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 4px;
  border: 1px solid var(--g2);
  border-radius: 24px;
  padding: 14px;
  background: #fff;
}

.toc a {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 15px;
  color: var(--g5);
  cursor: pointer;
  transition: background .3s, color .3s, padding .4s var(--ease);
}

.toc a em {
  font-style: normal;
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--g4);
  width: 22px;
}

.toc a:hover {
  background: var(--g1);
  color: var(--ink);
  padding-left: 20px;
}

.legal .acc-h {
  font-size: 20px;
}

.legal .acc-b p {
  color: var(--g5);
  line-height: 1.75;
}

.legal .acc-b p:not(:last-child) {
  padding-bottom: 14px;
}

.legal .acc {
  scroll-margin-top: 100px;
}

/* ---------- Cart ---------- */
.cart-grid,
.co-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: clamp(30px, 4vw, 56px);
  align-items: start;
}

.cart-list {
  display: grid;
  gap: 16px;
}

.crow {
  display: grid;
  grid-template-columns: 64px 1fr auto auto auto;
  gap: 20px;
  align-items: center;
  padding: 22px;
  border: 1px solid var(--g2);
  border-radius: 24px;
  background: #fff;
  animation: slideIn .6s var(--ease) both;
  transition: box-shadow .4s, border-color .3s;
}

.crow:hover {
  border-color: var(--g3);
  box-shadow: 0 24px 50px -30px rgba(0, 0, 0, .3);
}

.crow.removing {
  animation: rowOut .45s var(--ease) forwards;
}

@keyframes rowOut {
  to {
    opacity: 0;
    transform: translateX(80px);
  }
}

.crow h4 {
  font-size: 18px;
  font-weight: 500;
}

.crow small {
  color: var(--g5);
}

.crow .ibox {
  width: 64px;
  height: 64px;
}

.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--g3);
  border-radius: 999px;
  padding: 4px;
}

.qty button {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: background .3s, color .3s;
}

.qty button:hover {
  background: var(--ink);
  color: #fff;
}

.qty .ico {
  width: 16px;
  height: 16px;
}

.qty span {
  min-width: 30px;
  text-align: center;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.crow .lp {
  font-size: 20px;
  font-weight: 500;
  min-width: 80px;
  text-align: right;
}

.trash {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--g4);
  transition: background .3s, color .3s;
}

.trash:hover {
  background: #fdecea;
  color: var(--err);
}

.trash .ico {
  width: 21px;
  height: 21px;
}

.summary {
  position: sticky;
  top: 100px;
  border: 1px solid var(--g2);
  border-radius: 28px;
  padding: 32px;
  background: #fff;
  box-shadow: 0 40px 80px -50px rgba(0, 0, 0, .3);
}

.summary h3 {
  margin-bottom: 22px;
  font-size: 24px;
}

.sline {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  color: var(--g5);
  font-size: 16px;
}

.sline.item {
  font-size: 15px;
}

.sline.item span:first-child {
  color: var(--ink);
}

.sline.disc {
  color: var(--ink);
}

.sline.total {
  border-top: 1px solid var(--g2);
  margin-top: 12px;
  padding-top: 20px;
  font-size: 24px;
  font-weight: 500;
  color: var(--ink);
}

.sline small {
  display: block;
  color: var(--g4);
  font-size: 13px;
}

.promo {
  display: flex;
  gap: 8px;
  margin: 20px 0 10px;
}

.promo input {
  flex: 1;
  min-width: 0;
  border: 1.5px solid var(--g2);
  background: var(--g1);
  border-radius: 999px;
  padding: 13px 20px;
  outline: none;
  font-size: 15px;
  text-transform: uppercase;
  transition: border-color .3s;
}

.promo input:focus {
  border-color: var(--ink);
  background: #fff;
}

.promo button {
  padding: 0 22px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 500;
  font-size: 15px;
  transition: background .3s;
}

.promo button:hover {
  background: #3a3a3f;
}

.promo-msg {
  display: none;
}

.promo-msg.bad {
  color: var(--err);
}

.promo-msg .ico {
  width: 16px;
  height: 16px;
}

.summary .btn {
  margin-top: 18px;
}

.trust {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  color: var(--g4);
  font-size: 13.5px;
  margin-top: 18px;
}

.trust .ico {
  width: 18px;
  height: 18px;
}

.empty {
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 50px 0;
}

.empty .ibox {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: var(--g1);
  color: var(--ink);
  margin-bottom: 10px;
}

.empty .ibox .ico {
  width: 48px;
  height: 48px;
}

.empty p {
  color: var(--g5);
  max-width: 380px;
  margin-bottom: 14px;
}

.cart-grid.is-empty {
  grid-template-columns: 1fr;
}

.cart-grid.is-empty .summary {
  display: none;
}

/* ---------- Checkout ---------- */
.co-panel {
  background: #fff;
  border: 1px solid var(--g2);
  border-radius: 24px;
  padding: clamp(24px, 4vw, 36px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.co-heading {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 26px;
  color: var(--ink);
}

.co-terms-block {
  background: var(--g1);
  border: 1px solid var(--g2);
  border-radius: 18px;
  padding: 22px 24px;
  margin: 8px 0 24px;
}

.co-terms-block h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--ink);
}

.co-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: grid;
  gap: 8px;
}

.co-bullets li {
  position: relative;
  padding-left: 20px;
  font-size: 13.5px;
  color: var(--g5);
  line-height: 1.5;
}

.co-bullets li::before {
  content: '•';
  position: absolute;
  left: 4px;
  top: 0;
  color: var(--red);
  font-size: 18px;
  line-height: 1.2;
}

.co-terms-block .check {
  margin-top: 10px;
}

.stepper {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 44px;
}

.stepper li {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 12px;
  color: var(--g4);
  font-size: 15px;
  transition: color .4s;
}

.stepper .sn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1.5px solid var(--g3);
  font-weight: 500;
  transition: .5s var(--ease);
  position: relative;
}

.stepper .sn .ico {
  position: absolute;
  width: 22px;
  height: 22px;
  opacity: 0;
  transform: scale(.5);
  transition: .4s;
}

.stepper .sn .ico .d {
  stroke-dashoffset: 0 !important;
}

.stepper li.active {
  color: var(--ink);
}

.stepper li.active .sn {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
  transform: scale(1.1);
}

.stepper li.done {
  color: var(--ink);
}

.stepper li.done .sn {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.stepper li.done .sn b {
  opacity: 0;
}

.stepper li.done .sn .ico {
  opacity: 1;
  transform: none;
}

.stepper-line {
  position: absolute;
  top: 23px;
  left: 25%;
  right: 25%;
  height: 1.5px;
  background: var(--g3);
  z-index: 0;
}

.stepper-line i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--ink);
  transition: width .8s var(--ease);
}

.steps-viewport {
  overflow: hidden;
  transition: height .6s var(--ease);
  margin: 0 -8px;
}

.steps-track {
  display: flex;
  width: 200%;
  transition: transform .8s var(--ease-io);
}

.cstep {
  width: 50%;
  padding: 8px;
  border: 0;
  min-width: 0;
}

.cstep h3 {
  margin-bottom: 24px;
  font-size: 24px;
}

.co-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  gap: 14px;
}

.demo-note {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--g4);
  font-size: 13.5px;
  margin-top: 22px;
}

.demo-note .ico {
  width: 18px;
  height: 18px;
  flex: none;
}

.pay-brands {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--g1);
  border-radius: 16px;
  padding: 14px 18px;
  margin-bottom: 26px;
  font-size: 14.5px;
  color: var(--g5);
}

.pay-brands .ico {
  width: 20px;
  height: 20px;
  color: var(--ink);
}

.brands {
  margin-left: auto;
  display: flex;
  gap: 6px;
}

.brands b {
  font-size: 11px;
  letter-spacing: .08em;
  border: 1px solid var(--g3);
  background: #fff;
  color: var(--ink);
  padding: 4px 8px;
  border-radius: 6px;
}

.check {
  position: relative;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  cursor: pointer;
  font-size: 15px;
  color: var(--g5);
  margin-top: 6px;
}

.check input {
  position: absolute;
  opacity: 0;
}

.check .box {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  border: 1.5px solid var(--g3);
  display: grid;
  place-items: center;
  flex: none;
  transition: .3s var(--ease);
  background: #fff;
  color: #fff;
}

.check .box .ico {
  width: 15px;
  height: 15px;
  transform: scale(0);
  transition: transform .35s var(--ease);
}

.check .box .ico .d {
  stroke-dashoffset: 0 !important;
}

.check input:checked+.box {
  background: var(--ink);
  border-color: var(--ink);
}

.check input:checked+.box .ico {
  transform: scale(1);
}

.check input:focus-visible+.box {
  outline: 2px solid var(--g4);
  outline-offset: 2px;
}

.field-err {
  color: var(--err);
  font-size: 13.5px;
  min-height: 20px;
  margin-top: 8px;
}

.review {
  display: grid;
  gap: 14px;
  margin-bottom: 26px;
}

.rv {
  background: var(--g1);
  border-radius: 20px;
  padding: 20px 24px;
  display: grid;
  gap: 4px;
}

.rv h4 {
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--g4);
  font-weight: 500;
  margin-bottom: 6px;
}

.rv p {
  font-size: 16px;
}

.rv p span {
  color: var(--g5);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 280;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, .65);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s, visibility .5s;
}

.modal.show {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: #fff;
  border-radius: 34px;
  padding: 50px 40px;
  max-width: 480px;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 16px;
  transform: translateY(60px) scale(.94);
  transition: transform .8s var(--ease);
}

.modal.show .modal-card {
  transform: none;
}

.modal-card p {
  color: var(--g5);
  margin-bottom: 8px;
}

.modal-card strong {
  color: var(--ink);
}

.success-ic.big svg {
  width: 110px;
  height: 110px;
}

.modal:not(.show) .success-ic circle,
.modal:not(.show) .success-ic path {
  animation: none;
  stroke-dashoffset: 1;
}

/* ---------- Cookie consent popup ---------- */
.cookie-popup {
  position: fixed;
  bottom: 28px;
  right: 28px;
  max-width: 440px;
  width: calc(100% - 44px);
  z-index: 200;
  background: rgba(13, 13, 14, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  padding: 24px;
  color: #fff;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.05);
  display: grid;
  gap: 14px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(30px) scale(0.96);
  transition: opacity .5s var(--ease), transform .5s var(--ease), visibility .5s;
}

.cookie-popup.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.cookie-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--g4);
  transition: color .3s, background .3s;
}

.cookie-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.cookie-close .ico {
  width: 16px;
  height: 16px;
}

.cookie-h {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-right: 28px;
}

.cookie-ic {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--red-soft);
  color: var(--red);
  display: grid;
  place-items: center;
  flex: none;
}

.cookie-ic .ico {
  width: 22px;
  height: 22px;
}

.cookie-h h4 {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.2;
}

.cookie-h small {
  font-size: 13px;
  color: var(--g4);
}

.cookie-desc {
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.75);
}

.cookie-desc a {
  color: #fff;
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}

.cookie-actions .btn {
  flex: 1;
  padding: 10px 16px;
  font-size: 13.5px;
}

.cookie-actions .btn-line {
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.cookie-actions .btn-line:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 600px) {
  .cookie-popup {
    bottom: 16px;
    right: 16px;
    left: 16px;
    width: auto;
    padding: 20px;
  }
}

/* ---------- Footer ---------- */
.footer {
  background: var(--black);
  color: #fff;
  border-radius: 44px 44px 0 0;
  padding: 90px 0 30px;
  overflow: hidden;
  position: relative;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 40px;
}

.foot-brand p {
  margin-top: 22px;
  color: var(--g4);
  max-width: 300px;
  font-size: 15.5px;
}

.footer h4 {
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--g4);
  font-weight: 500;
  margin-bottom: 22px;
}

.footer .foot-grid a:not(.brand),
.foot-addr {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, .85);
  padding: 6px 0;
  font-size: 15.5px;
  transition: color .3s, transform .4s var(--ease);
  width: fit-content;
}

.footer .foot-grid a:not(.brand):hover {
  color: #fff;
  transform: translateX(6px);
}

.footer .ico {
  width: 19px;
  height: 19px;
}

.footer .brand .ico {
  width: 20px;
  height: 20px;
}

.foot-word {
  margin: 70px 0 20px;
  text-align: center;
  font-size: clamp(26px, 7.6vw, 128px);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.2px rgba(255, 255, 255, .2);
  white-space: nowrap;
  overflow: hidden;
}

.foot-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-top: 26px;
  color: var(--g4);
  font-size: 14px;
}

/* ---------- Page transitions ---------- */
.page {
  animation: pageIn .9s var(--ease) both;
}

@keyframes pageIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav {
    display: none;
  }

  .hdr-actions {
    margin-left: auto;
  }

  .hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 120px 0 0;
    border-radius: 0 0 32px 32px;
  }

  .hero-inner {
    display: contents;
  }

  .hero-left {
    order: 1;
    padding: 0 var(--pad);
  }

  .hero-bg {
    position: relative;
    order: 2;
    height: auto;
    min-height: 320px;
    margin-top: 20px;
  }

  .hero-car {
    position: relative;
    left: 50%;
    width: 150%;
    bottom: -2%;
  }

  .ghost {
    top: 0;
    font-size: 56vw;
  }

  .hero-right {
    order: 3;
    position: relative;
    z-index: 3;
    padding: 20px var(--pad) 70px;
    max-width: 640px;
    justify-self: stretch;
    margin: 0 auto;
    width: 100%;
    background: #000;
  }

  .hero-card::before,
  .hero-card::after {
    display: none;
  }

  .scroll-cue {
    display: none;
  }

  .check-grid,
  .faq-grid,
  .contact-grid,
  .legal-grid,
  .cart-grid,
  .co-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .faq-grid>div:first-child,
  .toc,
  .summary {
    position: static;
  }

  .ring-wrap {
    max-width: 340px;
  }

  .legal-grid .toc {
    grid-template-columns: 1fr 1fr;
  }

  .addons {
    grid-template-columns: 1fr 1fr;
  }

  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .grid-3 {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin-inline: auto;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    row-gap: 36px;
  }

  .stat:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
    row-gap: 50px;
  }

  .step-line {
    display: none;
  }

  .sec-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .crest {
    display: none;
  }

  .tl-line {
    left: 7px;
  }

  .tl {
    width: auto;
    margin-left: 34px !important;
  }

  .tl:nth-child(n) .tl-dot {
    left: -34px;
    right: auto;
  }

  .row2 {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .crow {
    grid-template-columns: 56px 1fr auto;
    row-gap: 14px;
  }

  .crow .ibox {
    width: 56px;
    height: 56px;
  }

  .crow .qty {
    grid-column: 2;
    justify-self: start;
  }

  .crow .lp {
    grid-column: 3;
    grid-row: 2;
  }

  .crow .trash {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .brand {
    font-size: 19px;
  }

  .hdr {
    height: 74px;
  }

  .addons,
  .steps,
  .legal-grid .toc,
  .acc-b .mini-list {
    grid-template-columns: 1fr;
  }

  .acc-b .mini-list {
    padding-left: 0;
  }

  .stat {
    padding: 6px 14px;
  }

  .foot-grid {
    grid-template-columns: 1fr;
  }

  .tcard {
    width: 300px;
  }

  .seg {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    border-radius: 28px;
  }

  .seg-thumb {
    display: none;
  }

  .seg button.active {
    background: var(--ink);
  }

  .stepper .sl {
    font-size: 12.5px;
    text-align: center;
  }

  .co-nav .btn {
    padding: 15px 22px;
  }

  .sec.dark,
  .cta,
  .footer {
    border-radius: 30px;
  }

  .footer {
    border-radius: 30px 30px 0 0;
  }

  .phero {
    padding-top: 150px;
    border-radius: 0 0 30px 30px;
  }

  .map {
    height: 300px;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .marquee-track {
    animation: none;
  }
}

/* ─── Our Services Grid ─────────────────────────────────────────────────── */
.svcs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 56px;
}

.svc-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--ink, #0d0d0d);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
  cursor: pointer;
}

.svc-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 28px 60px -20px rgba(0, 0, 0, 0.65);
}

/* image wrapper (square aspect ratio) */
.svc-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

/* both images fill the frame */
.svc-img-def,
.svc-img-hov {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .45s var(--ease), transform .55s var(--ease-io);
}

/* default visible, hover hidden */
.svc-img-def {
  opacity: 1;
  transform: scale(1.03);
}

.svc-img-hov {
  opacity: 0;
  transform: scale(1.08);
}

/* on card hover: swap images */
.svc-card:hover .svc-img-def {
  opacity: 0;
  transform: scale(1.08);
}

.svc-card:hover .svc-img-hov {
  opacity: 1;
  transform: scale(1.03);
}

/* dark tint backdrop across image so center text is always crisp */
.svc-tint {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.65) 100%);
  transition: background .4s var(--ease);
  z-index: 1;
  pointer-events: none;
}

.svc-card:hover .svc-tint {
  background: rgba(0, 0, 0, 0.45);
}

/* CENTER TEXT inside the image */
.svc-info {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 86%;
  text-align: center;
  z-index: 2;
  pointer-events: none;
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}

.svc-info h3 {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.svc-info p {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
  line-height: 1.45;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

/* on hover: hide center text */
.svc-card:hover .svc-info {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.92);
}

/* CENTER OVERLAY with "View Plan" button */
.svc-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.92);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}

.svc-card:hover .svc-overlay {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.svc-btn {
  font-size: 14px;
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 999px;
  background: #ffffff;
  color: #111111;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
}

.svc-btn:hover {
  background: var(--red, #d10000);
  color: #ffffff;
  transform: scale(1.06);
}

/* responsive */
@media (max-width: 900px) {
  .svcs-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .svc-info h3 {
    font-size: 20px;
  }

  .svc-info p {
    font-size: 13.5px;
  }
}

@media (max-width: 540px) {
  .svcs-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}