/* ============================================================
   S21 DETAILING — DESIGN SYSTEM
   Black · Blue · White · Premium Luxury Automotive
   ============================================================ */

@font-face {
  font-family: 'Gilroy';
  src: url('../assets/fonts/Gilroy Light.ttf') format('truetype');
  font-weight: 300;
  font-display: swap;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* ============================================================
   CUSTOM PROPERTIES
   ============================================================ */
:root {
  /* Colours */
  --black:        #08080A;
  --surface:      #0F0F14;
  --surface-2:    #161620;
  --surface-3:    #1E1E2A;
  --border:       rgba(255,255,255,0.07);
  --border-h:     rgba(255,255,255,0.14);

  /* S21 Teal — brand accent */
  --teal:         #1d9a78;
  --teal-2:       #25b48d;
  --accent:       #1d9a78;
  --accent-hover: #25b48d;

  /* Internal aliases (keep existing var names so all downstream refs auto-resolve) */
  --blue:         #1d9a78;
  --blue-bright:  #25b48d;
  --blue-dark:    #157a5f;
  --blue-glow:    rgba(29,154,120,0.35);
  --blue-subtle:  rgba(29,154,120,0.10);

  --white:        #FFFFFF;
  --white-off:    #F0FDF9;
  --muted:        #8892A4;
  --muted-2:      #5D6575;

  /* Typography */
  --font-display: 'Gilroy', 'Inter', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;

  /* S21 intent tile handoff tokens */
  --s21-bg:           var(--black);
  --s21-surface:      var(--surface);
  --s21-surface-hl:   linear-gradient(180deg, rgba(29,154,120,0.12) 0%, rgba(29,154,120,0.04) 100%);
  --s21-border:       var(--border);
  --s21-border-hl:    rgba(29,154,120,0.30);
  --s21-border-hover: rgba(29,154,120,0.45);
  --s21-accent:       var(--teal);
  --s21-text:         var(--white);
  --s21-text-sub:     var(--muted);
  --s21-text-muted:   var(--muted-2);
  --s21-font:         var(--font-body);
  --s21-r-card:       var(--r-md);
  --s21-r-btn:        var(--r-sm);
  --s21-r-badge:      var(--r-full);

  /* Fluid type scale */
  --text-xs:   clamp(0.688rem, 1vw, 0.75rem);
  --text-sm:   clamp(0.813rem, 1.3vw, 0.875rem);
  --text-base: clamp(0.938rem, 1.6vw, 1rem);
  --text-lg:   clamp(1.063rem, 1.8vw, 1.125rem);
  --text-xl:   clamp(1.125rem, 2.2vw, 1.25rem);
  --text-2xl:  clamp(1.25rem,  2.8vw, 1.5rem);
  --text-3xl:  clamp(1.5rem,   3.5vw, 2rem);
  --text-4xl:  clamp(2rem,     5vw,   2.75rem);
  --text-5xl:  clamp(2.5rem,   6vw,   3.75rem);
  --text-6xl:  clamp(3rem,     7.5vw, 5.25rem);
  --text-hero: clamp(3.5rem,   10vw,  8rem);

  /* Spacing */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.25rem;
  --sp-6: 1.5rem;
  --sp-8: 2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;
  --sp-32: 8rem;

  /* Easing */
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-in:     cubic-bezier(0.4, 0, 1, 1);
  --ease-out:    cubic-bezier(0, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Transitions */
  --tr-fast:   150ms var(--ease-smooth);
  --tr-base:   300ms var(--ease-smooth);
  --tr-slow:   500ms var(--ease-smooth);
  --tr-enter:  700ms var(--ease-out);

  /* Radii */
  --r-sm:   4px;
  --r-md:   8px;
  --r-lg:   16px;
  --r-xl:   24px;
  --r-full: 9999px;

  /* Z-Index */
  --z-base:    1;
  --z-above:   10;
  --z-sticky:  30;
  --z-nav:     50;
  --z-modal:   100;
  --z-overlay: 200;

  /* Nav height */
  --nav-h: 72px;
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.65;
  color: var(--white);
  background: var(--black);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, video {
  display: block;
  max-width: 100%;
  height: auto;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }
input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: none;
}
input::placeholder, textarea::placeholder { color: var(--muted); }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 5vw, 2.5rem);
}
.container--narrow {
  max-width: 860px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 5vw, 2rem);
}

.flex  { display: flex; }
.grid  { display: grid; }
.block { display: block; }

.items-center  { align-items: center; }
.items-start   { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center  { justify-content: center; }
.gap-2  { gap: var(--sp-2); }
.gap-4  { gap: var(--sp-4); }
.gap-6  { gap: var(--sp-6); }
.gap-8  { gap: var(--sp-8); }
.gap-12 { gap: var(--sp-12); }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}

/* ============================================================
   TYPOGRAPHY UTILITIES
   ============================================================ */
.text-hero { font-size: var(--text-hero); }
.text-6xl  { font-size: var(--text-6xl);  }
.text-5xl  { font-size: var(--text-5xl);  }
.text-4xl  { font-size: var(--text-4xl);  }
.text-3xl  { font-size: var(--text-3xl);  }
.text-2xl  { font-size: var(--text-2xl);  }
.text-xl   { font-size: var(--text-xl);   }
.text-lg   { font-size: var(--text-lg);   }
.text-base { font-size: var(--text-base); }
.text-sm   { font-size: var(--text-sm);   }
.text-xs   { font-size: var(--text-xs);   }

.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

.font-display { font-family: var(--font-display); }
.font-light   { font-weight: 300; }
.font-regular { font-weight: 400; }
.font-medium  { font-weight: 500; }
.font-semi    { font-weight: 600; }
.font-bold    { font-weight: 700; }

.text-white   { color: var(--white); }
.text-muted   { color: var(--muted); }
.text-blue    { color: var(--blue-bright); }

.tracking-tight  { letter-spacing: -0.02em; }
.tracking-normal { letter-spacing: 0; }
.tracking-wide   { letter-spacing: 0.06em; }
.tracking-widest { letter-spacing: 0.15em; }
.uppercase { text-transform: uppercase; }

.leading-tight { line-height: 1.1; }
.leading-snug  { line-height: 1.25; }
.leading-base  { line-height: 1.65; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.875rem 2rem;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--r-sm);
  transition: background var(--tr-base), color var(--tr-base),
              border-color var(--tr-base), box-shadow var(--tr-base),
              transform var(--tr-fast);
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn:active { transform: scale(0.98); }
.btn:focus-visible {
  outline: 2px solid var(--blue-bright);
  outline-offset: 3px;
}

.btn--primary {
  background: var(--blue);
  color: var(--white);
  border: 1px solid transparent;
}
.btn--primary:hover {
  background: var(--blue-bright);
  box-shadow: 0 0 28px var(--blue-glow);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.25);
}
.btn--outline:hover {
  border-color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.05);
}

.btn--ghost {
  background: transparent;
  color: var(--blue-bright);
  border: 1px solid var(--blue);
  padding: 0.75rem 1.5rem;
}
.btn--ghost:hover {
  background: var(--blue-subtle);
  box-shadow: 0 0 20px var(--blue-glow);
}

.btn--sm {
  padding: 0.625rem 1.25rem;
  font-size: var(--text-xs);
}
.btn--lg {
  padding: 1.125rem 2.5rem;
  font-size: var(--text-base);
}

/* Shine effect on primary btn */
.btn--primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.15) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.5s var(--ease-out);
}
.btn--primary:hover::before {
  transform: translateX(100%);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background var(--tr-slow), backdrop-filter var(--tr-slow),
              box-shadow var(--tr-slow), height var(--tr-base);
}
.nav.scrolled {
  background: rgba(8,8,10,0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 1px 0 var(--border);
  --nav-h: 64px;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: var(--sp-8);
}

.nav__logo img {
  height: 36px;
  width: auto;
  object-fit: contain;
  transition: opacity var(--tr-base);
}
.nav__logo:hover img { opacity: 0.8; }

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
}

.nav__link {
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.75);
  transition: color var(--tr-fast);
  position: relative;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--blue-bright);
  transform: scaleX(0);
  transition: transform var(--tr-base) var(--ease-out);
  transform-origin: left;
}
.nav__link:hover,
.nav__link.active {
  color: var(--white);
}
.nav__link:hover::after,
.nav__link.active::after {
  transform: scaleX(1);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px;
  cursor: pointer;
}
.nav__toggle span {
  display: block;
  height: 1.5px;
  background: var(--white);
  border-radius: var(--r-full);
  transition: transform var(--tr-base), opacity var(--tr-fast), width var(--tr-base);
  transform-origin: center;
}
.nav__toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile nav drawer */
.nav__mobile {
  position: fixed;
  inset: 0;
  z-index: calc(var(--z-nav) - 1);
  background: rgba(8,8,10,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: var(--sp-5);
  padding-top: 110px;
  padding-bottom: var(--sp-8);
  padding-inline: var(--sp-6);
  min-height: 100dvh;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--tr-slow);
}
.nav__mobile.open {
  opacity: 1;
  pointer-events: all;
}

/* Main nav links */
.nav__mobile-link {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 300;
  letter-spacing: -0.01em;
  color: rgba(255,255,255,0.6);
  transition: color var(--tr-fast), transform 0.4s var(--ease-out);
  transform: translateY(12px);
  text-align: center;
}
.nav__mobile.open .nav__mobile-link {
  transform: translateY(0);
  color: var(--white);
}
.nav__mobile-link:hover,
.nav__mobile-link.active { color: var(--teal); }
.nav__mobile-link:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 4px;
  border-radius: 2px;
}

/* Footer area: divider + phone + socials */
.nav__mobile-footer {
  margin-top: var(--sp-6);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-4);
  padding-top: var(--sp-5);
  border-top: 1px solid rgba(255,255,255,0.08);
  width: 100%;
  max-width: 280px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s var(--ease-out) 0.3s, transform 0.45s var(--ease-out) 0.3s;
}
.nav__mobile.open .nav__mobile-footer {
  opacity: 1;
  transform: translateY(0);
}

/* Phone link */
.nav__mobile-tel {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--teal);
  transition: color var(--tr-fast);
}
.nav__mobile-tel:hover { color: var(--teal-2); }
.nav__mobile-tel svg { width: 15px; height: 15px; flex-shrink: 0; }

/* Social icon row */
.nav__mobile-socials {
  display: flex;
  gap: var(--sp-3);
}
.nav__mobile-social {
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: background var(--tr-base), border-color var(--tr-base), color var(--tr-fast);
}
.nav__mobile-social:hover {
  background: var(--blue-subtle);
  border-color: var(--teal);
  color: var(--teal);
}
.nav__mobile-social svg { width: 18px; height: 18px; }

/* ============================================================
   SECTION LAYOUT
   ============================================================ */
.section {
  padding-block: clamp(4rem, 10vw, 7rem);
}
.section--sm {
  padding-block: clamp(2.5rem, 6vw, 4rem);
}
.section--lg {
  padding-block: clamp(5rem, 12vw, 9rem);
}

.section__label {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: var(--sp-4);
}
.section__label::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 1px;
  background: var(--blue-bright);
}

.section__heading {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: var(--sp-6);
}

.section__sub {
  font-size: var(--text-lg);
  color: var(--muted);
  line-height: 1.7;
  max-width: 600px;
}

.section__header {
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}
.section__header.center {
  text-align: center;
}
.section__header.center .section__sub {
  margin-inline: auto;
}

/* Divider */
.divider {
  width: 100%;
  height: 1px;
  background: var(--border);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  will-change: transform;
  transform: scale(1.08);
  transition: transform 12s var(--ease-smooth);
}
.hero__img.loaded { transform: scale(1); }

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(8,8,10,0.85) 0%,
    rgba(8,8,10,0.55) 60%,
    rgba(8,8,10,0.20) 100%
  );
}
.hero__overlay-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to top, var(--black), transparent);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-6);
  max-width: 800px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-bright);
  opacity: 0;
  transform: translateY(16px);
  animation: hero-fade-up 0.8s 0.3s var(--ease-out) forwards;
}
.hero__eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue-bright);
  animation: pulse-dot 2s 1s infinite;
}

.hero__title {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 0.95;
  color: var(--white);
  opacity: 0;
  transform: translateY(24px);
  animation: hero-fade-up 0.9s 0.5s var(--ease-out) forwards;
}
.hero__title em {
  font-style: normal;
  color: var(--blue-bright);
}

.hero__sub {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
  max-width: 500px;
  opacity: 0;
  transform: translateY(20px);
  animation: hero-fade-up 0.8s 0.75s var(--ease-out) forwards;
}

.hero__cta {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(16px);
  animation: hero-fade-up 0.8s 1s var(--ease-out) forwards;
}

.hero__scroll {
  position: absolute;
  bottom: var(--sp-8);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  opacity: 0;
  animation: hero-fade-up 0.6s 1.5s var(--ease-out) forwards;
}
.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--blue-bright), transparent);
  animation: scroll-line 1.5s 1.5s infinite;
}
.hero__scroll-text {
  font-size: var(--text-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Page heroes (inner pages) */
.page-hero {
  padding-block: clamp(7rem, 14vw, 11rem) clamp(3rem, 6vw, 5rem);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 0%,
    rgba(29,154,120,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero__title {
  font-family: var(--font-display);
  font-size: var(--text-6xl);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--white);
}
.page-hero__sub {
  font-size: var(--text-lg);
  color: var(--muted);
  margin-top: var(--sp-5);
  max-width: 560px;
}

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust {
  background: var(--surface);
  border-block: 1px solid var(--border);
}
.trust__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
.trust__item {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-6) var(--sp-6);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust__item:nth-child(2n) { border-right: none; }
.trust__item:nth-last-child(-n+2) { border-bottom: none; }

.trust__icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-subtle);
  border-radius: var(--r-md);
  color: var(--blue-bright);
}
.trust__icon svg { width: 20px; height: 20px; }

.trust__label {
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--white);
  margin-bottom: 2px;
}
.trust__desc {
  font-size: var(--text-xs);
  color: var(--muted);
}

/* ============================================================
   SERVICE CARDS
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.service-card {
  background: var(--surface);
  display: flex;
  flex-direction: column;
  transition: background var(--tr-base);
  cursor: pointer;
}
.service-card:hover { background: var(--surface-2); }

.service-card__img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  transition: transform var(--tr-slow) var(--ease-out);
}
.service-card:hover .service-card__img { transform: scale(1.04); }
.service-card__img-wrap {
  overflow: hidden;
  position: relative;
}
.service-card__badge {
  position: absolute;
  top: var(--sp-3);
  right: var(--sp-3);
  background: var(--blue);
  color: var(--white);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: var(--r-full);
}

.service-card__body {
  padding: var(--sp-6);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.service-card__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 300;
  letter-spacing: -0.01em;
  color: var(--white);
}
.service-card__desc {
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: 1.65;
  flex: 1;
}
.service-card__meta {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--border);
  margin-top: auto;
}
.service-card__price {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--white);
}
.service-card__price span {
  font-size: var(--text-xs);
  font-weight: 400;
  color: var(--muted);
}
.service-card__duration {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  font-size: var(--text-xs);
  color: var(--muted);
}
.service-card__cta {
  margin-top: var(--sp-2);
}

/* ============================================================
   S21 INTENT SERVICE TILES
   ============================================================ */
.s21-svc,
.s21-svc * {
  box-sizing: border-box;
}

.s21-svc {
  background: var(--s21-bg);
  padding: 88px 0 96px;
  font-family: var(--s21-font);
  color: var(--s21-text);
  -webkit-font-smoothing: antialiased;
}

.s21-svc__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 80px;
}

.s21-svc__header {
  text-align: center;
  margin-bottom: 52px;
}

.s21-svc__eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--s21-accent);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.s21-svc__title {
  font-size: 44px;
  font-weight: 800;
  color: var(--s21-text);
  letter-spacing: 0;
  line-height: 1.1;
  margin: 0 0 14px;
}

.s21-svc__subtitle {
  font-size: 16px;
  color: var(--s21-text-sub);
  line-height: 1.65;
  max-width: 480px;
  margin: 0 auto;
  text-wrap: pretty;
}

.s21-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 44px;
}

.s21-tile {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--s21-surface);
  border: 1px solid var(--s21-border);
  border-radius: var(--s21-r-card);
  overflow: hidden;
  transition: border-color 0.16s ease, transform 0.18s ease;
}

.s21-tile:hover {
  border-color: var(--s21-border-hover);
  transform: translateY(-3px);
}

.s21-tile--hl {
  background: var(--s21-surface-hl);
  border-color: var(--s21-border-hl);
}

.s21-photo {
  height: 200px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
}

.s21-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 20%, rgba(0,0,0,0.78) 100%);
  pointer-events: none;
}

.s21-photo__text {
  position: relative;
  z-index: 1;
}

.s21-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 1;
  background: var(--s21-accent);
  color: #000;
  font-family: var(--s21-font);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 11px;
  border-radius: var(--s21-r-badge);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
}

.s21-photo__label {
  font-size: 26px;
  font-weight: 800;
  color: var(--s21-text);
  letter-spacing: 0;
  line-height: 1.1;
  text-wrap: pretty;
}

.s21-photo__sub {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.52);
  margin-top: 5px;
  line-height: 1.4;
}

.s21-body {
  padding: 22px;
}

.s21-price {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0;
  color: var(--s21-text);
  margin-bottom: 18px;
}

.s21-tile--hl .s21-price {
  color: var(--s21-accent);
}

.s21-list {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
}

.s21-list__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--s21-border);
  font-size: 13px;
  color: var(--s21-text-sub);
  line-height: 1.4;
}

.s21-list__item:last-child {
  border-bottom: none;
}

.s21-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--s21-text-muted);
  flex-shrink: 0;
}

.s21-tile--hl .s21-dot {
  background: var(--s21-accent);
}

.s21-cta {
  display: block;
  width: 100%;
  padding: 10px 16px;
  background: transparent;
  color: var(--s21-accent);
  border: 1.5px solid var(--s21-accent);
  border-radius: var(--s21-r-btn);
  font-family: var(--s21-font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.s21-tile--hl .s21-cta,
.s21-cta:hover {
  background: var(--s21-accent);
  color: #000;
}

.s21-view-all {
  text-align: center;
}

.s21-view-all__btn {
  display: inline-block;
  padding: 13px 44px;
  background: transparent;
  color: var(--s21-text);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--s21-r-btn);
  font-family: var(--s21-font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.15s ease;
}

.s21-view-all__btn:hover {
  border-color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 1100px) {
  .s21-svc__inner  { padding: 0 40px; }
  .s21-svc__title  { font-size: 38px; }
  .s21-photo       { height: 180px; }
}

@media (max-width: 860px) {
  .s21-svc         { padding: 64px 0 72px; }
  .s21-svc__inner  { padding: 0 24px; }
  .s21-svc__header { margin-bottom: 36px; }
  .s21-svc__title  { font-size: 32px; }
  .s21-svc__subtitle { font-size: 15px; }

  .s21-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    gap: 12px;
  }

  .s21-photo { height: 160px; }
  .s21-photo__label { font-size: 22px; }
  .s21-tile:hover  { transform: translateY(-1px); }
}

@media (max-width: 480px) {
  .s21-svc         { padding: 48px 0 56px; }
  .s21-svc__inner  { padding: 0 16px; }
  .s21-svc__title  { font-size: 26px; }
  .s21-svc__subtitle { font-size: 14px; }

  .s21-photo       { height: 140px; padding: 14px; }
  .s21-photo__label { font-size: 20px; }
  .s21-photo__sub  { font-size: 12px; }

  .s21-body        { padding: 16px; }
  .s21-price       { font-size: 20px; margin-bottom: 14px; }
  .s21-list__item  { font-size: 12px; padding: 7px 0; }

  .s21-view-all__btn { width: 100%; text-align: center; padding: 13px; }
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-filter {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  flex-wrap: wrap;
  margin-bottom: var(--sp-8);
}
.filter-btn {
  padding: 0.5rem 1.25rem;
  border-radius: var(--r-full);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--muted);
  border: 1px solid var(--border);
  background: transparent;
  transition: all var(--tr-base);
  cursor: pointer;
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--sp-3);
}
.gallery-item {
  overflow: hidden;
  border-radius: var(--r-md);
  cursor: pointer;
  position: relative;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform var(--tr-slow) var(--ease-out);
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  display: flex;
  align-items: flex-end;
  padding: var(--sp-4);
  transition: background var(--tr-base);
}
.gallery-item:hover .gallery-item__overlay {
  background: rgba(0,0,0,0.45);
}
.gallery-item__tag {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  padding: 3px 10px;
  background: var(--blue);
  border-radius: var(--r-full);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--tr-base), transform var(--tr-base);
}
.gallery-item:hover .gallery-item__tag {
  opacity: 1;
  transform: translateY(0);
}

/* Gallery size classes */
.gallery-item--tall { grid-column: span 4; grid-row: span 2; min-height: 420px; }
.gallery-item--wide { grid-column: span 8; grid-row: span 1; min-height: 200px; }
.gallery-item--square { grid-column: span 4; min-height: 200px; }
.gallery-item--full { grid-column: span 12; min-height: 300px; }

/* Before/After */
.before-after {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  user-select: none;
}
.before-after__before,
.before-after__after {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.before-after__before { position: absolute; inset: 0; }
.before-after__clip {
  position: absolute;
  inset: 0;
  overflow: hidden;
  width: 50%;
  transition: width 0s;
}
.before-after__clip img { width: 300%; object-fit: cover; }
.before-after__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--white);
  transform: translateX(-50%);
  cursor: ew-resize;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}
.before-after__handle-circle {
  width: 40px; height: 40px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.before-after__label {
  position: absolute;
  bottom: var(--sp-4);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(0,0,0,0.6);
  color: var(--white);
  padding: 4px 12px;
  border-radius: var(--r-full);
}
.before-after__label--before { left: var(--sp-4); }
.before-after__label--after  { right: var(--sp-4); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: var(--z-overlay);
  background: rgba(0,0,0,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--tr-base);
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox__img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--r-md);
  transform: scale(0.95);
  transition: transform var(--tr-base) var(--ease-spring);
}
.lightbox.open .lightbox__img { transform: scale(1); }
.lightbox__close {
  position: absolute;
  top: var(--sp-6);
  right: var(--sp-6);
  width: 44px; height: 44px;
  background: var(--surface-2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  cursor: pointer;
  border: 1px solid var(--border);
  transition: background var(--tr-fast);
}
.lightbox__close:hover { background: var(--surface-3); }

/* ============================================================
   PROCESS STEPS
   ============================================================ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-3);
}

.process-step {
  position: relative;
  padding: var(--sp-8) var(--sp-6);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color var(--tr-base), background var(--tr-base);
}
.process-step:hover {
  border-color: var(--border-h);
  background: var(--surface-2);
}
.process-step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--blue), var(--blue-bright));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--tr-slow) var(--ease-out);
}
.process-step:hover::before { transform: scaleX(1); }

.process-step__num {
  font-family: var(--font-display);
  font-size: clamp(4rem, 8vw, 7rem);
  font-weight: 300;
  line-height: 1;
  color: rgba(255,255,255,0.04);
  position: absolute;
  bottom: var(--sp-4);
  right: var(--sp-6);
  pointer-events: none;
  letter-spacing: -0.03em;
  user-select: none;
}

.process-step__icon {
  width: 48px; height: 48px;
  background: var(--blue-subtle);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-bright);
  margin-bottom: var(--sp-5);
}
.process-step__icon svg { width: 24px; height: 24px; }

.process-step__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 300;
  color: var(--white);
  margin-bottom: var(--sp-3);
}
.process-step__desc {
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: 1.7;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--sp-6);
}

.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-8) var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  transition: border-color var(--tr-base), transform var(--tr-slow);
}
.testimonial-card:hover {
  border-color: rgba(29,154,120,0.3);
  transform: translateY(-4px);
}

.testimonial-card__stars {
  display: flex;
  gap: 3px;
  color: #F59E0B;
}
.testimonial-card__stars svg { width: 16px; height: 16px; }

.testimonial-card__text {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.82);
  line-height: 1.75;
  flex: 1;
}
.testimonial-card__text::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 0.5;
  color: var(--blue);
  display: block;
  margin-bottom: var(--sp-3);
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--border);
}
.testimonial-card__avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--blue-subtle);
  border: 1px solid var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--blue-bright);
  flex-shrink: 0;
}
.testimonial-card__name {
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--white);
}
.testimonial-card__vehicle {
  font-size: var(--text-xs);
  color: var(--muted);
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 50%, var(--blue-dark) 100%);
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.5rem, 8vw, 6rem);
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta-banner__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--sp-6);
}
.cta-banner__title {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--white);
}
.cta-banner__sub {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.75);
  max-width: 480px;
}
.cta-banner__btns {
  display: flex;
  gap: var(--sp-4);
  flex-wrap: wrap;
  justify-content: center;
}
.btn--white {
  background: var(--white);
  color: var(--blue-dark);
  border: 1px solid transparent;
}
.btn--white:hover {
  background: var(--white-off);
  box-shadow: 0 0 28px rgba(255,255,255,0.25);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding-block: clamp(3rem, 8vw, 5.5rem) var(--sp-8);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-12);
  margin-bottom: var(--sp-12);
}
.footer__brand img {
  height: 32px;
  width: auto;
  margin-bottom: var(--sp-5);
  opacity: 0.85;
}
.footer__brand-desc {
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: 1.75;
  max-width: 280px;
  margin-bottom: var(--sp-5);
}
.footer__social {
  display: flex;
  gap: var(--sp-3);
}
.footer__social-link {
  width: 36px; height: 36px;
  border-radius: var(--r-md);
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: all var(--tr-base);
}
.footer__social-link:hover {
  background: var(--blue-subtle);
  border-color: var(--blue);
  color: var(--blue-bright);
}
.footer__social-link svg { width: 16px; height: 16px; }

.footer__col-title {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: var(--sp-5);
}
.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.footer__link {
  font-size: var(--text-sm);
  color: var(--muted);
  transition: color var(--tr-fast);
}
.footer__link:hover { color: var(--white); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--sp-6);
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: var(--sp-4);
}
.footer__copy {
  font-size: var(--text-xs);
  color: var(--muted-2);
}

/* ============================================================
   FORMS
   ============================================================ */
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.form-label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: rgba(255,255,255,0.8);
}
.form-label span {
  color: var(--blue-bright);
  margin-left: 2px;
}
.form-control {
  width: 100%;
  padding: 0.875rem 1rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  color: var(--white);
  font-size: var(--text-base);
  transition: border-color var(--tr-base), box-shadow var(--tr-base);
}
.form-control:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-subtle);
}
.form-control--error { border-color: #EF4444; }

textarea.form-control {
  resize: vertical;
  min-height: 140px;
  line-height: 1.6;
}
select.form-control {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%238892a4' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-5);
}

.form-error {
  font-size: var(--text-xs);
  color: #EF4444;
  display: none;
}
.form-group.has-error .form-error { display: block; }
.form-group.has-error .form-control { border-color: #EF4444; }

/* ============================================================
   MERCH STORE
   ============================================================ */
/* ── Merch grid — 5 col desktop / 2 tablet / 1 mobile ─── */
.merch-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

/* ── Merch Card ─────────────────────────────────────────── */
.merch-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: border-color var(--tr-base), transform var(--tr-slow);
}
.merch-card:hover {
  border-color: rgba(29,154,120,0.4);
  transform: translateY(-4px);
}

/* Textured placeholder image area */
.merch-card__thumb {
  position: relative;
  aspect-ratio: 4/3;
  background:
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 6px,
      rgba(255,255,255,0.025) 6px,
      rgba(255,255,255,0.025) 7px
    ),
    var(--surface-2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.merch-card__thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--tr-slow) var(--ease-out);
}
.merch-card:hover .merch-card__thumb img { transform: scale(1.05); }

.merch-card__circle {
  width: 60px; height: 60px;
  border-radius: 50%;
  border: 1.5px solid var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 300;
  font-style: italic;
  color: var(--teal);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.merch-card__type-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  position: relative;
  z-index: 1;
}

/* Card body */
.merch-card__body {
  padding: 18px 20px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.merch-card__name {
  font-size: var(--text-base);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.2;
}
.merch-card__price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.merch-card__price {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--teal);
}
.merch-card__meta {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}
.merch-card__cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.07);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  transition: color var(--tr-fast);
}
.merch-card:hover .merch-card__cta-row { color: var(--white); }
.merch-card__cta-arrow {
  color: var(--teal);
  font-size: 1rem;
  font-weight: 400;
  transition: transform var(--tr-fast);
}
.merch-card:hover .merch-card__cta-arrow { transform: translateX(4px); }

/* Legacy color-dot (used in modal) */
.color-dot {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 2px solid transparent;
  outline: 1px solid rgba(255,255,255,0.2);
  cursor: pointer;
  transition: all var(--tr-fast);
}
.color-dot.active {
  border-color: var(--white);
  outline-color: var(--white);
  transform: scale(1.2);
}

/* Product Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--tr-base);
  padding: var(--sp-4);
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.modal {
  background: var(--surface);
  border: 1px solid var(--border-h);
  border-radius: var(--r-xl);
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.96) translateY(16px);
  transition: transform var(--tr-base) var(--ease-spring);
  scrollbar-width: thin;
  scrollbar-color: var(--surface-3) transparent;
}
.modal-overlay.open .modal { transform: scale(1) translateY(0); }
.modal__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.modal__preview {
  position: relative;
  background: var(--surface-2);
  border-right: 1px solid var(--border);
  border-radius: var(--r-xl) 0 0 var(--r-xl);
  overflow: hidden;
}
.modal__preview-img {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: contain;
  padding: var(--sp-8);
  transition: transform var(--tr-base) var(--ease-out);
}
.modal__preview-placeholder {
  width: 100%;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: var(--sp-4);
  padding: var(--sp-8);
}
.modal__preview-label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.modal__body {
  padding: var(--sp-8) var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}
.modal__close {
  position: absolute;
  top: var(--sp-4);
  right: var(--sp-4);
  width: 36px; height: 36px;
  background: var(--surface-3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  cursor: pointer;
  border: 1px solid var(--border);
  transition: all var(--tr-fast);
  z-index: 2;
}
.modal__close:hover { color: var(--white); background: var(--surface-2); }

.modal__name {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 300;
  color: var(--white);
}
.modal__price {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--white);
}
.modal__desc {
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: 1.7;
}

.modal__option-label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--sp-3);
}

.size-grid {
  display: flex;
  gap: var(--sp-2);
  flex-wrap: wrap;
}
.size-btn {
  min-width: 44px;
  height: 40px;
  padding: 0 var(--sp-3);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--muted);
  background: var(--surface-2);
  cursor: pointer;
  transition: all var(--tr-fast);
}
.size-btn:hover { border-color: var(--border-h); color: var(--white); }
.size-btn.active { background: var(--blue); border-color: var(--blue); color: var(--white); }

.qty-control {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
}
.qty-btn {
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-2);
  color: var(--white);
  font-size: 1.2rem;
  cursor: pointer;
  transition: background var(--tr-fast);
  border: none;
}
.qty-btn:hover { background: var(--surface-3); }
.qty-display {
  width: 44px;
  text-align: center;
  font-weight: 600;
  font-size: var(--text-base);
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  padding-block: 0.5rem;
}
.modal__add-btn {
  width: 100%;
  margin-top: var(--sp-2);
}

/* Cart Sidebar */
.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: calc(var(--z-modal) - 1);
  background: rgba(0,0,0,0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--tr-base);
}
.cart-overlay.open { opacity: 1; pointer-events: all; }

.cart-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 400px;
  max-width: 100vw;
  background: var(--surface);
  border-left: 1px solid var(--border);
  z-index: var(--z-modal);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--tr-slow) var(--ease-out);
}
.cart-sidebar.open { transform: translateX(0); }
.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-5) var(--sp-6);
  border-bottom: 1px solid var(--border);
}
.cart-header__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 300;
}
.cart-header__count {
  font-size: var(--text-xs);
  color: var(--blue-bright);
  font-weight: 600;
}
.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: var(--sp-5) var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  scrollbar-width: thin;
  scrollbar-color: var(--surface-3) transparent;
}
.cart-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  color: var(--muted);
}
.cart-item {
  display: flex;
  gap: var(--sp-4);
  padding: var(--sp-4);
  background: var(--surface-2);
  border-radius: var(--r-md);
  border: 1px solid var(--border);
}
.cart-item__img {
  width: 64px; height: 64px;
  border-radius: var(--r-md);
  object-fit: cover;
  background: var(--surface-3);
  flex-shrink: 0;
}
.cart-item__info { flex: 1; }
.cart-item__name { font-weight: 600; font-size: var(--text-sm); margin-bottom: 4px; }
.cart-item__meta { font-size: var(--text-xs); color: var(--muted); }
.cart-item__price { font-weight: 700; font-size: var(--text-sm); color: var(--blue-bright); }
.cart-item__remove {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 1.1rem;
  padding: 0;
  transition: color var(--tr-fast);
  align-self: flex-start;
}
.cart-item__remove:hover { color: #EF4444; }
.cart-footer {
  padding: var(--sp-5) var(--sp-6);
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}
.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cart-total__label { font-size: var(--text-sm); color: var(--muted); }
.cart-total__amount { font-size: var(--text-2xl); font-weight: 700; }
.cart-checkout { width: 100%; }

/* Cart icon in nav */
.cart-icon {
  position: relative;
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  cursor: pointer;
  transition: color var(--tr-fast);
}
.cart-icon:hover { color: var(--blue-bright); }
.cart-icon svg { width: 22px; height: 22px; }
.cart-badge {
  position: absolute;
  top: 4px;
  right: 2px;
  min-width: 16px;
  height: 16px;
  background: var(--blue);
  border-radius: var(--r-full);
  font-size: 10px;
  font-weight: 700;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  display: none;
}
.cart-badge.visible { display: flex; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.about-split--reverse { direction: rtl; }
.about-split--reverse > * { direction: ltr; }

.about-img-wrap {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
}
.about-img-wrap img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.about-img-accent {
  position: absolute;
  bottom: var(--sp-5);
  left: var(--sp-5);
  background: var(--blue);
  color: var(--white);
  padding: var(--sp-4) var(--sp-5);
  border-radius: var(--r-md);
  font-weight: 700;
}
.about-img-accent__num {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 300;
  line-height: 1;
}
.about-img-accent__label {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.75);
  margin-top: 2px;
}

/* Stats bar */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-block: var(--sp-10);
}
.stat-item {
  background: var(--surface);
  padding: var(--sp-8) var(--sp-6);
  text-align: center;
}
.stat-item__num {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--white);
  line-height: 1;
  margin-bottom: var(--sp-2);
}
.stat-item__num span { color: var(--blue-bright); }
.stat-item__label {
  font-size: var(--text-sm);
  color: var(--muted);
  font-weight: 500;
}

/* Values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--sp-5);
}
.value-card {
  padding: var(--sp-6);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: border-color var(--tr-base);
}
.value-card:hover { border-color: var(--border-h); }
.value-card__icon {
  width: 44px; height: 44px;
  background: var(--blue-subtle);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-bright);
  margin-bottom: var(--sp-4);
}
.value-card__title {
  font-weight: 600;
  font-size: var(--text-base);
  color: var(--white);
  margin-bottom: var(--sp-2);
}
.value-card__desc {
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: 1.7;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.contact-info-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--sp-8) var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
}
.contact-info-item {
  display: flex;
  gap: var(--sp-4);
}
.contact-info-item__icon {
  width: 44px; height: 44px;
  background: var(--blue-subtle);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-bright);
  flex-shrink: 0;
}
.contact-info-item__icon svg { width: 20px; height: 20px; }
.contact-info-item__label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--sp-1);
}
.contact-info-item__value {
  font-size: var(--text-base);
  color: var(--white);
  font-weight: 500;
}
.contact-hours {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.contact-hours__head {
  padding: var(--sp-4) var(--sp-5);
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-hours__row {
  display: flex;
  justify-content: space-between;
  padding: var(--sp-3) var(--sp-5);
  border-bottom: 1px solid var(--border);
  font-size: var(--text-sm);
}
.contact-hours__row:last-child { border-bottom: none; }
.contact-hours__day { color: var(--muted); }
.contact-hours__time { color: var(--white); font-weight: 500; }
.contact-hours__time.closed { color: var(--muted-2); }

.map-placeholder {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  color: var(--muted);
}
.map-placeholder svg { width: 48px; height: 48px; color: var(--blue-bright); opacity: 0.5; }

/* ── About page: location map image ────────────────────── */
.location-map-wrap {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface-2);
  min-height: 300px;
}
.location-map-img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  display: block;
  border-radius: var(--r-xl);
}
.location-map-fallback {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 300px;
  padding: 2rem;
  color: var(--muted);
  font-size: var(--text-sm);
  text-align: center;
}
.location-map-fallback svg {
  width: 48px;
  height: 48px;
  color: var(--teal);
  opacity: 0.5;
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
[data-animate] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s var(--ease-out),
              transform 0.75s var(--ease-out);
}
[data-animate="fade"] { transform: none; }
[data-animate="slide-left"]  { transform: translateX(-36px); }
[data-animate="slide-right"] { transform: translateX(36px); }
[data-animate="scale-in"] {
  transform: scale(0.94);
  opacity: 0;
}
[data-animate].is-visible {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* Stagger */
[data-stagger] > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-out),
              transform 0.6s var(--ease-out);
}
[data-stagger].is-visible > *:nth-child(1)  { transition-delay: 0ms; }
[data-stagger].is-visible > *:nth-child(2)  { transition-delay: 80ms; }
[data-stagger].is-visible > *:nth-child(3)  { transition-delay: 160ms; }
[data-stagger].is-visible > *:nth-child(4)  { transition-delay: 240ms; }
[data-stagger].is-visible > *:nth-child(5)  { transition-delay: 320ms; }
[data-stagger].is-visible > *:nth-child(6)  { transition-delay: 400ms; }
[data-stagger].is-visible > *:nth-child(7)  { transition-delay: 480ms; }
[data-stagger].is-visible > *:nth-child(8)  { transition-delay: 560ms; }
[data-stagger].is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* Page entry */
.page-enter {
  animation: page-fade-in 0.6s var(--ease-out) both;
}

/* ============================================================
   KEYFRAMES
   ============================================================ */
@keyframes hero-fade-up {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.5); opacity: 0.6; }
}
@keyframes scroll-line {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}
@keyframes page-fade-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes step-in {
  from { opacity: 0; transform: translateX(24px); }
  to   { opacity: 1; transform: translateX(0); }
}
/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-animate], [data-stagger] > * {
    opacity: 1;
    transform: none;
  }
  .hero__img { transform: scale(1); }
}

/* ============================================================
   RESPONSIVE — TABLET (701px - 1024px)
   ============================================================ */
@media (min-width: 701px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Merch: 2 columns on tablet */
  .merch-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-8);
  }
}

/* ============================================================
   TERMS PAGE
   ============================================================ */
.terms-section {
  padding-top: 0;
}

.terms-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.015));
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: clamp(1.5rem, 4vw, 3rem);
  box-shadow: 0 24px 80px rgba(0,0,0,0.22);
}

.terms-block {
  padding-block: clamp(1.25rem, 3vw, 2rem);
  border-bottom: 1px solid var(--border);
}

.terms-block:first-child {
  padding-top: 0;
}

.terms-block h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 300;
  color: var(--white);
  margin-bottom: var(--sp-4);
}

.terms-block ul {
  display: grid;
  gap: var(--sp-3);
  color: var(--muted);
  line-height: 1.75;
  padding-left: 1.1rem;
  list-style: disc;
}

.terms-block li::marker {
  color: var(--teal-2);
}

.terms-block li > ul {
  margin-top: var(--sp-3);
  gap: var(--sp-2);
}

.terms-block strong {
  color: var(--white);
  font-weight: 600;
}

.terms-acceptance {
  margin-top: clamp(1.5rem, 4vw, 2.5rem);
  padding: var(--sp-5);
  border: 1px solid rgba(29,154,120,0.3);
  border-radius: var(--r-lg);
  background: var(--blue-subtle);
  color: var(--white);
  font-weight: 600;
  line-height: 1.7;
}

/* ============================================================
   RESPONSIVE — DESKTOP (1025px+)
   ============================================================ */
@media (min-width: 1025px) {
  .nav__toggle { display: none; }
  .nav__links { display: flex; }

  .trust__grid {
    grid-template-columns: repeat(6, 1fr);
  }
  .trust__item:nth-child(n) {
    border-right: 1px solid var(--border);
    border-bottom: none;
  }
  .trust__item:last-child { border-right: none; }

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

  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--sp-12);
  }
}

/* ============================================================
   RESPONSIVE — MOBILE (max 700px)
   ============================================================ */
@media (max-width: 700px) {
  :root { --nav-h: 60px; }

  .nav__links { display: none; }
  .nav__actions .btn { display: none; }
  .nav__toggle { display: flex; }

  .hero__overlay {
    background: rgba(8,8,10,0.7);
  }

  .hero__title { letter-spacing: -0.025em; }

  .hero__scroll { display: none; }

  .hero__cta { flex-direction: column; align-items: flex-start; }
  .hero__cta .btn { width: 100%; justify-content: center; }

  /* Merch: 1 column on mobile */
  .merch-grid { grid-template-columns: 1fr; }

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

  .gallery-item--tall  { grid-column: span 12; min-height: 260px; }
  .gallery-item--wide  { grid-column: span 12; min-height: 200px; }
  .gallery-item--square{ grid-column: span 12; min-height: 200px; }
  .gallery-item--full  { grid-column: span 12; }

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

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

  .footer__grid { grid-template-columns: 1fr; gap: var(--sp-8); }
  .footer__bottom { flex-direction: column; align-items: flex-start; }

  .about-split { grid-template-columns: 1fr; }
  .about-split--reverse { direction: ltr; }

  /* Location map: stack below text on mobile */
  .location-map-wrap { min-height: 220px; }
  .location-map-img  { min-height: 220px; }
  .location-map-fallback { min-height: 220px; }

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

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

  .modal__inner { grid-template-columns: 1fr; }
  .modal__preview {
    border-right: none;
    border-bottom: 1px solid var(--border);
    border-radius: var(--r-xl) var(--r-xl) 0 0;
  }

  .cart-sidebar { width: 100%; }

  .form-row { grid-template-columns: 1fr; }

  .cta-banner__title { font-size: var(--text-4xl); }
  .cta-banner__btns { flex-direction: column; align-items: center; }
  .cta-banner__btns .btn { width: 100%; justify-content: center; max-width: 320px; }

  .page-hero { padding-top: calc(var(--nav-h) + 3rem); }

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

/* ============================================================
   SCROLLBAR
   ============================================================ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: var(--surface-3);
  border-radius: var(--r-full);
}
::-webkit-scrollbar-thumb:hover { background: var(--muted-2); }

/* Selection */
::selection { background: var(--blue); color: var(--white); }

/* Focus visible */
:focus-visible {
  outline: 2px solid var(--blue-bright);
  outline-offset: 3px;
}
