/* ==========================================================================
   Kerbnbucket — Premium Auto Detailing
   Public site stylesheet

   1. Tokens          6. Hero              11. Booking
   2. Base / reset    7. Section header    12. Reviews
   3. Layout          8. Services          13. FAQ
   4. Buttons/badges  9. Process           14. CTA, contact, page hero
   5. Header / nav   10. Gallery/Pricing   15. Footer, lightbox, motion
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
/* Colour tokens. Dark is the default theme. The same dark values are also
   applied to the lightbox and gallery tiles (text over photos) so they stay
   dark in light mode. Banners (hero, page hero, CTA) get bright photos and
   light overlays in light mode instead (see section 17). */
:root,
:root[data-theme="light"] :is(.lightbox, .gallery-btn) {
  --bg: #050505;
  --bg-2: #101010;
  --card: #151515;
  --card-2: #1b1b1d;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --line-3: rgba(255, 255, 255, 0.22);

  --accent: #1769ff;
  --accent-hi: #3d84ff;
  --accent-soft: rgba(23, 105, 255, 0.12);
  --accent-line: rgba(23, 105, 255, 0.45);
  --glow: 0 0 0 1px rgba(23, 105, 255, 0.35), 0 18px 50px -18px rgba(23, 105, 255, 0.55);

  --text: #f4f5f7;
  --text-2: #c7cad1;
  --muted: #8a8f99;
  --strong: #ffffff;
  --danger: #ff5a5f;
  --danger-text: #ffc9cb;
  --success: #2fd27a;

  --tint: rgba(255, 255, 255, 0.03);
  --sheen: rgba(255, 255, 255, 0.03);
  --header-bg: rgba(6, 6, 7, 0.78);
  --menu-bg: rgba(6, 6, 7, 0.97);
  --glass: linear-gradient(160deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  --glass-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  --input-bg: rgba(5, 5, 5, 0.55);
  --input-bg-focus: rgba(5, 5, 5, 0.75);
  --placeholder: #5b5f67;
  --footer-bg: #030303;
  --card-shadow: none;
  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg: #ffffff;
  --bg-2: #f6f8fc;
  --card: #ffffff;
  --card-2: #f7f8fa;
  --line: rgba(12, 16, 28, 0.09);
  --line-2: rgba(12, 16, 28, 0.16);
  --line-3: rgba(12, 16, 28, 0.28);

  --accent: #1769ff;
  --accent-hi: #0f5be8;
  --accent-soft: rgba(23, 105, 255, 0.08);
  --accent-line: rgba(23, 105, 255, 0.38);
  --glow: 0 0 0 1px rgba(23, 105, 255, 0.28), 0 22px 48px -22px rgba(23, 105, 255, 0.45);

  --text: #0c0f16;
  --text-2: #414a5c;
  --muted: #667085;
  --strong: #05070c;
  --danger: #d9363e;
  --danger-text: #a3222a;
  --success: #12a05a;

  --tint: #ffffff;
  --sheen: rgba(12, 16, 28, 0);
  --header-bg: rgba(255, 255, 255, 0.92);
  --menu-bg: rgba(255, 255, 255, 0.98);
  --glass: linear-gradient(160deg, #ffffff, #fafbfd);
  --glass-shadow: 0 30px 70px -35px rgba(15, 23, 42, 0.28);
  --input-bg: #ffffff;
  --input-bg-focus: #ffffff;
  --placeholder: #9aa1ad;
  --footer-bg: #f6f8fc;
  --card-shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 14px 32px -20px rgba(23, 60, 140, 0.22);
  color-scheme: light;
}

:root {
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Barlow Condensed", "Inter", system-ui, sans-serif;

  --radius: 6px;
  --radius-lg: 10px;
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(80px, 11vw, 140px);
  --header-h: 84px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --t-fast: 0.2s var(--ease);
  --t: 0.4s var(--ease);
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

:focus-visible {
  outline: 2px solid var(--accent-hi);
  outline-offset: 3px;
  border-radius: 2px;
}

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

.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 200;
  padding: 10px 16px;
  background: var(--accent); color: #fff;
  border-radius: var(--radius);
  font-weight: 600; font-size: 14px;
  transform: translateY(-150%);
  transition: transform var(--t-fast);
}
.skip-link:focus { transform: none; }

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

/* 3. Layout ---------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); position: relative; }
.section + .section { border-top: 1px solid var(--line); }

/* 4. Buttons & badges ------------------------------------------------------ */
.btn {
  --btn-h: 50px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--btn-h);
  padding: 0 26px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  white-space: nowrap;
  transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast),
              box-shadow var(--t), transform var(--t-fast);
}
.btn .icon { width: 18px; height: 18px; transition: transform var(--t-fast); }
.btn:hover .icon { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--accent); color: #fff;
  box-shadow: 0 8px 28px -8px rgba(23, 105, 255, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.btn-primary:hover {
  background: var(--accent-hi);
  box-shadow: 0 12px 40px -8px rgba(23, 105, 255, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}

.btn-ghost {
  background: var(--tint);
  border-color: var(--line-2); color: var(--text);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { border-color: var(--accent-line); background: var(--accent-soft); }

.btn-sm { --btn-h: 42px; padding: 0 20px; font-size: 12px; }
.btn-lg { --btn-h: 56px; padding: 0 32px; }
.btn-block { width: 100%; }

.badge {
  position: absolute; top: 18px; right: 18px;
  padding: 5px 10px;
  border: 1px solid var(--accent-line);
  border-radius: 3px;
  background: var(--accent-soft);
  color: var(--accent-hi);
  font-size: 10px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  line-height: 1;
}
.badge-solid { background: var(--accent); border-color: var(--accent); color: #fff; }

.icon-btn {
  display: inline-grid; place-items: center;
  width: 48px; height: 48px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  color: var(--text);
  transition: border-color var(--t-fast), background var(--t-fast), color var(--t-fast);
}
.icon-btn:hover { border-color: var(--accent); background: var(--accent-soft); color: var(--strong); }
.icon-btn .icon { width: 20px; height: 20px; }

/* 5. Header / nav ---------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  background: linear-gradient(to bottom, rgba(5, 5, 5, 0.7), rgba(5, 5, 5, 0));
  border-bottom: 1px solid transparent;
  transition: height var(--t), background var(--t), border-color var(--t), backdrop-filter var(--t);
}
.site-header.is-scrolled {
  --header-h: 70px;
  background: var(--header-bg);
  border-bottom-color: var(--line);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
}

.header-inner {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border: 1px solid var(--accent-line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(23, 105, 255, 0.22), rgba(23, 105, 255, 0.04));
  color: var(--strong);
  box-shadow: 0 0 24px -6px rgba(23, 105, 255, 0.6);
}
.brand-mark .icon { width: 26px; height: 26px; }
.brand-name {
  font-family: var(--font-display);
  font-size: 24px; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
}

.nav-list { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 36px); }
.nav-link {
  position: relative;
  display: inline-block;
  padding: 8px 0;
  color: var(--text-2);
  font-size: 12.5px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  transition: color var(--t-fast);
}
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--t);
}
.nav-link:hover, .nav-link.is-active { color: var(--strong); }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 22px; }
.header-phone, .nav-phone {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 500; color: var(--text);
  white-space: nowrap;
  transition: color var(--t-fast);
}
.header-phone .icon, .nav-phone .icon { width: 18px; height: 18px; color: var(--accent); }
.header-phone:hover { color: var(--accent-hi); }

.nav-mobile-extras { display: none; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line-2); border-radius: var(--radius);
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle-bar {
  width: 18px; height: 1.5px; background: var(--strong);
  transition: transform var(--t), opacity var(--t-fast);
}
.nav-open .nav-toggle-bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle-bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 1180px) {
  .header-phone span { display: none; }
  .header-phone {
    width: 42px; height: 42px; justify-content: center;
    border: 1px solid var(--line-2); border-radius: var(--radius);
  }
}

@media (max-width: 1023px) {
  .nav-toggle { display: inline-flex; }
  .header-phone, .header-cta { display: none; }

  .primary-nav {
    position: fixed; left: 0; right: 0; top: var(--header-h);
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    padding: 12px var(--gutter) 28px;
    background: var(--menu-bg);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    opacity: 0; visibility: hidden;
    transform: translateY(-12px);
    transition: opacity var(--t), transform var(--t), visibility 0s linear 0.4s;
  }
  .nav-open .primary-nav {
    opacity: 1; visibility: visible; transform: none;
    transition: opacity var(--t), transform var(--t), visibility 0s;
  }
  .nav-open .site-header {
    background: var(--menu-bg);
    border-bottom-color: var(--line);
  }

  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-link {
    display: block; padding: 16px 0;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
  }
  .nav-link::after { display: none; }
  .nav-mobile-extras { display: grid; gap: 16px; padding-top: 22px; }
  .nav-phone { font-size: 16px; }
}

@media (max-width: 420px) {
  .brand-name { font-size: 21px; }
  .brand-mark { width: 36px; height: 36px; }
}

/* 6. Hero ------------------------------------------------------------------ */
.hero {
  position: relative;
  min-height: max(640px, 100svh);
  display: flex; align-items: center;
  padding-block: calc(var(--header-h) + 40px) 120px;
  overflow: hidden;
  isolation: isolate;
}
.hero-media, .page-hero-media, .cta-media {
  position: absolute; inset: 0; z-index: -2; overflow: hidden;
}
.hero-media img, .page-hero-media img, .cta-media img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-img {
  object-position: 62% 50%;
  filter: brightness(0.46) contrast(1.18) saturate(0.5);
  transform: scale(1.06);
  animation: heroZoom 14s var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }

.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 70% at 78% 40%, rgba(23, 105, 255, 0.18), transparent 70%),
    linear-gradient(90deg, rgba(5, 5, 5, 0.97) 0%, rgba(5, 5, 5, 0.86) 34%, rgba(5, 5, 5, 0.35) 70%, rgba(5, 5, 5, 0.55) 100%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.65) 0%, transparent 22%, transparent 62%, var(--bg) 100%);
}
.hero-overlay::after {
  /* subtle blue tint over the photo */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 45%, rgba(23, 105, 255, 0.09));
  mix-blend-mode: screen;
}

.hero-inner { position: relative; }
.hero-content { max-width: 760px; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 26px;
  padding: 8px 14px;
  border: 1px solid var(--line-2);
  border-radius: 3px;
  background: var(--tint);
  backdrop-filter: blur(8px);
  color: var(--text-2);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.24em; text-transform: uppercase;
}
.hero-eyebrow span { color: var(--accent); }

.hero-title {
  font-size: clamp(3.1rem, 8.4vw, 7.25rem);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -0.045em;
}
.hero-line { display: block; }
.hero-accent {
  color: var(--accent);
  text-shadow: 0 0 60px rgba(23, 105, 255, 0.45);
}

.hero-text {
  max-width: 540px;
  margin-top: 28px;
  color: var(--text-2);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  font-weight: 300;
  line-height: 1.75;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

.hero-trust {
  display: flex; flex-wrap: wrap;
  margin-top: 56px; padding-top: 28px;
  border-top: 1px solid var(--line);
  gap: 14px 0;
}
.hero-trust li {
  display: inline-flex; align-items: center; gap: 10px;
  padding-right: 18px; margin-right: 18px;
  border-right: 1px solid var(--line-2);
  color: var(--text-2);
  font-size: 13px; font-weight: 500; letter-spacing: 0.02em;
  white-space: nowrap;
}
.hero-trust li:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.hero-trust .icon { width: 18px; height: 18px; color: var(--accent); }

.scroll-cue {
  position: absolute; left: 50%; bottom: 28px;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  color: var(--muted);
  font-size: 10px; font-weight: 600; letter-spacing: 0.32em; text-transform: uppercase;
  transition: color var(--t-fast);
}
.scroll-cue:hover { color: var(--strong); }
.scroll-cue-line {
  position: relative; width: 1px; height: 46px;
  background: var(--line-2); overflow: hidden;
}
.scroll-cue-line::after {
  content: ""; position: absolute; left: 0; top: -40%;
  width: 1px; height: 40%;
  background: var(--accent);
  animation: scrollCue 2.2s var(--ease) infinite;
}
@keyframes scrollCue { to { top: 100%; } }

/* entrance animation (hero + page hero) */
.hero-anim {
  opacity: 0;
  transform: translateY(22px);
  animation: fadeUp 0.9s var(--ease) forwards;
  animation-delay: calc(0.15s + var(--d, 0) * 0.11s);
}
@keyframes fadeUp { to { opacity: 1; transform: none; } }

@media (max-width: 767px) {
  .hero { align-items: flex-end; padding-bottom: 96px; }
  .hero-img { object-position: 70% 50%; }
  .hero-overlay {
    background:
      radial-gradient(80% 50% at 70% 30%, rgba(23, 105, 255, 0.16), transparent 70%),
      linear-gradient(180deg, rgba(5, 5, 5, 0.6) 0%, rgba(5, 5, 5, 0.55) 35%, rgba(5, 5, 5, 0.92) 70%, var(--bg) 100%);
  }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-trust { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 12px; margin-top: 40px; }
  .hero-trust li { border: 0; padding: 0; margin: 0; white-space: normal; font-size: 12.5px; }
  .scroll-cue { display: none; }
}

/* 7. Section header -------------------------------------------------------- */
.section-head {
  display: grid; grid-template-columns: 1fr; gap: 20px;
  margin-bottom: clamp(44px, 6vw, 72px);
}
@media (min-width: 900px) {
  .section-head:has(.section-intro) {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    align-items: end; gap: 64px;
  }
}

.eyebrow {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 18px;
  color: var(--accent-hi);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.28em; text-transform: uppercase;
}
.eyebrow-line {
  width: 36px; height: 2px;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(23, 105, 255, 0.8);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.section-intro {
  max-width: 520px;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.15vw, 1.06rem);
  line-height: 1.75;
}

/* 8. Services -------------------------------------------------------------- */
.services { background: var(--bg); }

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 20px;
}
@media (min-width: 1200px) { .service-grid { grid-template-columns: repeat(4, 1fr); } }

.service-card {
  position: relative;
  display: flex; flex-direction: column;
  padding: 36px 30px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, var(--sheen), transparent 40%),
    var(--card);
  box-shadow: var(--card-shadow);
  transition: transform var(--t), border-color var(--t), box-shadow var(--t), background var(--t);
  overflow: hidden;
}
.service-card::before {
  /* top accent line that lights up on hover */
  content: ""; position: absolute; left: 30px; right: 30px; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0; transition: opacity var(--t);
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-line);
  box-shadow: var(--glow);
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(23, 105, 255, 0.10), transparent 60%),
    var(--card);
}
.service-card:hover::before { opacity: 1; }

.service-icon {
  display: grid; place-items: center;
  width: 56px; height: 56px;
  border: 1px solid var(--accent-line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(23, 105, 255, 0.18), rgba(23, 105, 255, 0.03));
  color: var(--accent-hi);
  flex-shrink: 0;
  transition: box-shadow var(--t), color var(--t);
}
.service-icon .icon { width: 26px; height: 26px; }
.service-card:hover .service-icon { color: var(--strong); box-shadow: 0 0 26px -4px rgba(23, 105, 255, 0.7); }

.service-title {
  margin-top: 30px;
  font-family: var(--font-display);
  font-size: 1.6rem; font-weight: 700;
  letter-spacing: 0.03em; text-transform: uppercase;
  line-height: 1.1;
}
.service-text { margin-top: 14px; color: var(--muted); font-size: 0.95rem; line-height: 1.7; flex: 1; }

.service-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 28px; padding-top: 20px;
  border-top: 1px solid var(--line);
}
.service-price { color: var(--muted); font-size: 13px; }
.service-price strong { color: var(--text); font-weight: 600; font-size: 15px; }
.service-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--accent-hi);
  font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
}
.service-link .icon { width: 16px; height: 16px; transition: transform var(--t-fast); }
.service-link:hover .icon { transform: translateX(4px); }

/* 9. Process / timeline ---------------------------------------------------- */
.process { background: var(--bg-2); }

.timeline { position: relative; }
.timeline-list { display: grid; grid-template-columns: repeat(var(--steps, 4), 1fr); gap: 28px; position: relative; }

.timeline-track {
  position: absolute; left: 30px; right: 30px; top: 30px;
  height: 1px; background: var(--line-2);
}
.timeline-fill {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-hi));
  box-shadow: 0 0 14px rgba(23, 105, 255, 0.8);
  transform: scaleX(0); transform-origin: left;
  transition: transform 1.6s var(--ease) 0.2s;
}
.timeline.is-visible .timeline-fill { transform: scaleX(1); }

.timeline-step { position: relative; }
.timeline-node {
  position: relative; z-index: 1;
  display: grid; place-items: center;
  width: 60px; height: 60px;
  border: 1px solid var(--accent-line);
  border-radius: 50%;
  background: var(--bg-2);
  color: var(--strong);
  font-family: var(--font-display);
  font-size: 1.25rem; font-weight: 600; letter-spacing: 0.04em;
  box-shadow: 0 0 0 6px var(--bg-2), 0 0 30px -6px rgba(23, 105, 255, 0.6);
  transition: background var(--t), border-color var(--t);
}
.timeline-step:hover .timeline-node { background: var(--accent); border-color: var(--accent); color: #fff; }

.timeline-body { margin-top: 30px; padding-right: 12px; }
.timeline-title {
  font-family: var(--font-display);
  font-size: 1.65rem; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.timeline-text { margin-top: 10px; color: var(--muted); font-size: 0.96rem; line-height: 1.7; max-width: 260px; }

@media (max-width: 899px) {
  .timeline-list { grid-template-columns: 1fr; gap: 40px; }
  .timeline-track { left: 30px; right: auto; top: 30px; bottom: 30px; width: 1px; height: auto; }
  .timeline-fill {
    background: linear-gradient(180deg, var(--accent), var(--accent-hi));
    transform: scaleY(0); transform-origin: top;
  }
  .timeline.is-visible .timeline-fill { transform: scaleY(1); }
  .timeline-step { display: grid; grid-template-columns: 60px 1fr; gap: 24px; align-items: start; }
  .timeline-body { margin-top: 8px; }
  .timeline-text { max-width: none; }
}

/* 10a. Gallery ------------------------------------------------------------- */
.gallery { background: var(--bg); }

.filter-bar {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: 36px;
}
.filter-btn {
  min-height: 42px; padding: 0 20px;
  border: 1px solid var(--line-2);
  border-radius: 3px;
  color: var(--text-2);
  font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  transition: color var(--t-fast), border-color var(--t-fast), background var(--t-fast), box-shadow var(--t);
}
.filter-btn:hover { color: var(--strong); border-color: var(--accent-line); }
.filter-btn.is-active {
  color: #fff; background: var(--accent); border-color: var(--accent);
  box-shadow: 0 6px 24px -8px rgba(23, 105, 255, 0.8);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: clamp(200px, 22vw, 290px);
  grid-auto-flow: dense;
  gap: 14px;
}
.gallery-item { position: relative; transition: opacity 0.35s var(--ease), transform 0.35s var(--ease); }
.gallery-item.is-wide { grid-column: span 2; }
.gallery-item.is-wide-off { grid-column: auto; }
.gallery-item.is-hiding { opacity: 0; transform: scale(0.97); }

.gallery-btn {
  position: relative; display: block;
  width: 100%; height: 100%;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--card);
  text-align: left;
}
.gallery-btn img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.82) saturate(0.9);
  transition: transform 0.9s var(--ease), filter var(--t);
}
.gallery-btn::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(5, 5, 5, 0.88));
  transition: opacity var(--t);
}
.gallery-btn:hover img, .gallery-btn:focus-visible img { transform: scale(1.05); filter: brightness(0.95) saturate(1); }
.gallery-btn:hover { border-color: var(--accent-line); }

.gallery-meta {
  position: absolute; left: 22px; right: 70px; bottom: 20px; z-index: 1;
  display: flex; flex-direction: column; gap: 4px;
}
.gallery-cat {
  color: var(--accent-hi);
  font-size: 11px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
}
.gallery-title {
  font-family: var(--font-display);
  font-size: 1.35rem; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase;
  line-height: 1.15;
}
.gallery-zoom {
  position: absolute; right: 18px; bottom: 18px; z-index: 1;
  display: grid; place-items: center;
  width: 42px; height: 42px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: rgba(5, 5, 5, 0.5);
  backdrop-filter: blur(6px);
  opacity: 0; transform: scale(0.85);
  transition: opacity var(--t), transform var(--t), background var(--t);
}
.gallery-zoom .icon { width: 18px; height: 18px; }
.gallery-btn:hover .gallery-zoom, .gallery-btn:focus-visible .gallery-zoom {
  opacity: 1; transform: none; background: var(--accent); border-color: var(--accent);
}

.gallery-empty { color: var(--muted); text-align: center; padding: 40px 0; }

@media (max-width: 899px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: clamp(180px, 34vw, 260px); }
  .gallery-item.is-wide { grid-column: auto; }
}
@media (max-width: 559px) {
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .gallery-zoom { opacity: 1; transform: none; }
  .filter-bar { gap: 8px; }
  .filter-btn { padding: 0 14px; flex: 1 1 auto; }
}

/* 10b. Pricing ------------------------------------------------------------- */
.pricing { background: var(--bg-2); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 20px;
  align-items: stretch;
}
@media (min-width: 1200px) {
  .pricing-grid--4 { grid-template-columns: repeat(4, 1fr); }
  .pricing-grid--3 { grid-template-columns: repeat(3, 1fr); }
}

.price-card {
  position: relative;
  display: flex; flex-direction: column;
  padding: 36px 28px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}
.price-card:hover { transform: translateY(-4px); border-color: var(--line-2); }
.price-card.is-popular {
  border-color: var(--accent-line);
  background:
    radial-gradient(130% 50% at 50% 0%, rgba(23, 105, 255, 0.16), transparent 70%),
    var(--card);
  box-shadow: var(--glow);
}
.price-card.is-popular:hover { border-color: var(--accent); }
.price-card .badge { top: -1px; right: 24px; border-radius: 0 0 3px 3px; padding: 7px 12px; }

.price-name {
  font-family: var(--font-display);
  font-size: 1.65rem; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
  line-height: 1.1;
  padding-right: 0;
}
.price-desc { margin-top: 12px; color: var(--muted); font-size: 0.92rem; line-height: 1.65; min-height: 4.95em; }

.price-amount {
  display: flex; flex-direction: column; gap: 2px;
  margin-top: 26px; padding-top: 22px;
  border-top: 1px solid var(--line);
}
.price-from { color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; }
.price-value {
  font-family: var(--font-display);
  font-size: 3.4rem; font-weight: 700; line-height: 1;
  letter-spacing: 0.01em;
}
.is-popular .price-value { color: var(--strong); text-shadow: 0 0 30px rgba(23, 105, 255, 0.5); }

.price-duration {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 14px;
  color: var(--text-2); font-size: 13.5px;
}
.price-duration .icon { width: 17px; height: 17px; color: var(--accent); }

.price-features { display: grid; gap: 11px; margin: 24px 0 30px; flex: 1; }
.price-features li { display: flex; gap: 12px; color: var(--text-2); font-size: 0.93rem; line-height: 1.5; }
.price-features .icon { width: 17px; height: 17px; margin-top: 2px; color: var(--accent); }

/* 11. Booking -------------------------------------------------------------- */
.booking {
  background:
    radial-gradient(50% 60% at 85% 20%, rgba(23, 105, 255, 0.10), transparent 70%),
    var(--bg);
}
.booking-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
.booking-info { position: sticky; top: 110px; }
.booking-info .section-intro { margin-top: 22px; }

.booking-steps { display: grid; gap: 22px; margin-top: 40px; }
.booking-steps li { display: flex; gap: 18px; }
.booking-steps li > span {
  flex-shrink: 0;
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border: 1px solid var(--accent-line); border-radius: 50%;
  color: var(--accent-hi);
  font-family: var(--font-display); font-weight: 600;
}
.booking-steps strong { display: block; font-weight: 600; font-size: 0.98rem; }
.booking-steps p { color: var(--muted); font-size: 0.92rem; }

.booking-contact {
  display: grid; gap: 18px;
  margin-top: 40px; padding-top: 32px;
  border-top: 1px solid var(--line);
}
.booking-contact a, .booking-contact p { display: flex; gap: 14px; align-items: flex-start; }
.booking-contact .icon { width: 20px; height: 20px; color: var(--accent); margin-top: 3px; }
.booking-contact small, .faq-call small {
  display: block;
  color: var(--muted);
  font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
}
.booking-contact a span { font-size: 1.15rem; font-weight: 600; }
.booking-contact p span { color: var(--text-2); font-size: 0.95rem; }

.booking-card {
  position: relative;
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  background: var(--glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--glass-shadow);
}

.form-group { border: 0; margin: 0 0 30px; padding: 0; min-width: 0; }
.form-group legend {
  display: flex; align-items: center; gap: 12px; width: 100%;
  margin-bottom: 18px; padding: 0;
  color: var(--text-2);
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
}
.form-group legend::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-row-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.form-row-3 .field-full, .form-row .field-full { grid-column: 1 / -1; }

.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label { color: var(--text-2); font-size: 13px; font-weight: 500; }
.field label span[aria-hidden] { color: var(--accent-hi); }
.optional { color: var(--muted); font-weight: 400; }

.field input, .field select, .field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 15px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: var(--input-bg);
  color: var(--text);
  font-size: 15px;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 110px; line-height: 1.6; }
.field input::placeholder, .field textarea::placeholder { color: var(--placeholder); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--line-3); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--input-bg-focus);
  box-shadow: 0 0 0 3px rgba(23, 105, 255, 0.2);
}
.field [aria-invalid="true"] { border-color: var(--danger); }
.field [aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(255, 90, 95, 0.2); }
.field input[type="date"] { color-scheme: inherit; }
.field select option, .field select optgroup { background: var(--card); color: var(--text); }

.select-wrap { position: relative; }
.select-wrap::after {
  content: ""; position: absolute; right: 16px; top: 50%;
  width: 8px; height: 8px;
  border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.select-wrap select { padding-right: 40px; }

.field-error { color: var(--danger); font-size: 12.5px; }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-alert {
  margin-bottom: 24px; padding: 14px 16px;
  border: 1px solid rgba(255, 90, 95, 0.4);
  border-left-width: 3px;
  border-radius: var(--radius);
  background: rgba(255, 90, 95, 0.08);
  color: var(--danger-text); font-size: 14px;
}

.form-submit { display: grid; gap: 14px; }
.form-note { color: var(--muted); font-size: 13px; text-align: center; }

.btn-spinner {
  display: none;
  width: 18px; height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.35); border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.is-loading .btn-spinner { display: inline-block; }
.is-loading { pointer-events: none; opacity: 0.85; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-success { text-align: center; padding: clamp(20px, 5vw, 56px) 8px; outline: none; }
.form-success-icon {
  display: inline-grid; place-items: center;
  width: 72px; height: 72px; margin-bottom: 24px;
  border: 1px solid var(--accent-line); border-radius: 50%;
  background: var(--accent-soft); color: var(--accent-hi);
  box-shadow: 0 0 40px -6px rgba(23, 105, 255, 0.7);
}
.form-success-icon .icon { width: 32px; height: 32px; }
.form-success h3 {
  font-family: var(--font-display);
  font-size: 2rem; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase;
}
.form-success p { max-width: 440px; margin: 14px auto 28px; color: var(--text-2); }

@media (max-width: 959px) {
  .booking-grid { grid-template-columns: 1fr; }
  .booking-info { position: static; }
}
@media (max-width: 599px) {
  .form-row, .form-row-3 { grid-template-columns: 1fr; }
}

/* 12. Reviews -------------------------------------------------------------- */
.reviews { background: var(--bg-2); overflow: hidden; }
.reviews-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 24px 48px;
  margin-bottom: clamp(44px, 6vw, 72px);
}
.reviews-head .section-head { margin-bottom: 0; }
.reviews-summary { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 14px; }
.reviews-summary strong { color: var(--text); font-size: 1.05rem; }

.stars { display: inline-flex; gap: 3px; color: var(--accent); }
.stars .icon { width: 16px; height: 16px; }
.stars .is-empty { color: var(--line-2); }

.slider-viewport { overflow: hidden; margin-inline: -10px; padding: 10px; touch-action: pan-y; }
.slider-track { display: flex; transition: transform 0.7s var(--ease); will-change: transform; }
.slide { flex: 0 0 calc(100% / 3); padding-inline: 10px; }
@media (max-width: 1023px) { .slide { flex-basis: 50%; } }
@media (max-width: 679px)  { .slide { flex-basis: 100%; } }

.review-card {
  position: relative;
  height: 100%;
  display: flex; flex-direction: column; gap: 22px;
  padding: 36px 32px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(170deg, var(--sheen), transparent 50%), var(--card);
  box-shadow: var(--card-shadow);
  transition: border-color var(--t);
}
.review-card:hover { border-color: var(--accent-line); }
.review-quote { position: absolute; right: 26px; top: 26px; color: var(--accent); opacity: 0.22; }
.review-quote .icon { width: 44px; height: 44px; }
.review-text { flex: 1; color: var(--text); font-size: 1.04rem; line-height: 1.75; font-weight: 300; }
.review-author {
  display: flex; align-items: center; gap: 14px;
  padding-top: 22px; border-top: 1px solid var(--line);
}
.review-author strong { display: block; font-weight: 600; font-size: 0.96rem; }
.review-author small { color: var(--muted); font-size: 13px; }
.review-avatar {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  border: 1px solid var(--accent-line); border-radius: 50%;
  background: var(--accent-soft); color: var(--accent-hi);
  font-weight: 600;
}

.slider-controls {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  margin-top: 36px;
}
.slider-dots { display: flex; flex-wrap: wrap; gap: 6px; }
.slider-dot {
  position: relative;
  width: 28px; height: 24px;
}
.slider-dot::before {
  content: ""; position: absolute; left: 0; right: 0; top: 50%;
  height: 2px; background: var(--line-2);
  transition: background var(--t), box-shadow var(--t);
}
.slider-dot[aria-current="true"]::before { background: var(--accent); box-shadow: 0 0 10px rgba(23, 105, 255, 0.8); }
.slider-arrows { display: flex; gap: 10px; }

/* 13. FAQ ------------------------------------------------------------------ */
.faq { background: var(--bg); }
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.faq-aside { position: sticky; top: 110px; }
.faq-aside .section-head { grid-template-columns: 1fr; gap: 22px; margin-bottom: 36px; }
.faq-call {
  display: inline-flex; align-items: center; gap: 16px;
  padding: 16px 22px 16px 16px;
  border: 1px solid var(--line-2); border-radius: var(--radius-lg);
  background: var(--card);
  transition: border-color var(--t), box-shadow var(--t);
}
.faq-call:hover { border-color: var(--accent-line); box-shadow: var(--glow); }
.faq-call > span:last-child { font-size: 1.1rem; font-weight: 600; }
.faq-call .service-icon { width: 48px; height: 48px; }
.faq-call .service-icon .icon { width: 22px; height: 22px; }

.accordion { border-top: 1px solid var(--line); }
.accordion-item { border-bottom: 1px solid var(--line); }
.accordion-heading { font-size: inherit; font-weight: inherit; }
.accordion-trigger {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  width: 100%;
  padding: 26px 0;
  text-align: left;
  font-size: clamp(1.02rem, 1.4vw, 1.15rem); font-weight: 500;
  transition: color var(--t-fast);
}
.accordion-trigger:hover { color: var(--accent-hi); }
.accordion-icon {
  flex-shrink: 0;
  display: grid; place-items: center;
  width: 36px; height: 36px;
  border: 1px solid var(--line-2); border-radius: 50%;
  transition: transform var(--t), background var(--t), border-color var(--t);
}
.accordion-icon .icon { width: 16px; height: 16px; }
.accordion-trigger[aria-expanded="true"] .accordion-icon {
  transform: rotate(45deg);
  background: var(--accent); border-color: var(--accent);
}
.accordion-panel { overflow: hidden; transition: height 0.45s var(--ease); }
.accordion-content { padding: 0 60px 28px 0; color: var(--muted); line-height: 1.8; }

@media (max-width: 899px) {
  .faq-grid { grid-template-columns: 1fr; }
  .faq-aside { position: static; }
  .accordion-content { padding-right: 0; }
}

/* 14a. CTA ----------------------------------------------------------------- */
.cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(110px, 16vw, 200px);
  text-align: center;
  border-top: 1px solid var(--line);
}
.cta-media img { object-position: 50% 62%; filter: brightness(0.75) contrast(1.1); }
.cta-overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 80% at 50% 110%, rgba(23, 105, 255, 0.55), transparent 70%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.85), rgba(5, 5, 5, 0.35) 45%, rgba(7, 20, 48, 0.7));
}
.cta-inner { display: flex; flex-direction: column; align-items: center; }
.cta-title {
  max-width: 960px;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 5.6rem);
  font-weight: 700; line-height: 0.95;
  letter-spacing: 0.005em; text-transform: uppercase;
}
.cta-title .text-accent { text-shadow: 0 0 50px rgba(23, 105, 255, 0.6); }
.cta-text { margin: 24px 0 40px; color: var(--text-2); font-size: clamp(1rem, 1.4vw, 1.2rem); font-weight: 300; }

/* 14b. Page hero (inner pages) -------------------------------------------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(380px, 56vh, 560px);
  display: flex; align-items: flex-end;
  padding: calc(var(--header-h) + 60px) 0 clamp(56px, 7vw, 90px);
}
.page-hero-media img { filter: brightness(0.45) saturate(0.6) contrast(1.1); }
.page-hero .hero-overlay {
  background:
    radial-gradient(60% 70% at 80% 30%, rgba(23, 105, 255, 0.16), transparent 70%),
    linear-gradient(90deg, rgba(5, 5, 5, 0.94) 0%, rgba(5, 5, 5, 0.6) 60%, rgba(5, 5, 5, 0.5) 100%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.6) 0%, transparent 35%, var(--bg) 100%);
}
.page-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700; line-height: 0.95;
  text-transform: uppercase;
}
.page-hero .hero-text { margin-top: 18px; }
.breadcrumb {
  display: flex; gap: 10px; margin-bottom: 22px;
  color: var(--muted); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
}
.breadcrumb a:hover { color: var(--strong); }
.breadcrumb [aria-current] { color: var(--text-2); }
.page-hero + .section { border-top: 0; }

/* 14c. Contact ------------------------------------------------------------- */
.contact { padding-bottom: 0; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 20px; }
.contact-card {
  display: flex; flex-direction: column; gap: 14px;
  padding: 30px 28px;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--card);
  transition: border-color var(--t), box-shadow var(--t), transform var(--t);
}
.contact-card:hover { border-color: var(--accent-line); box-shadow: var(--glow); transform: translateY(-4px); }
.contact-label {
  margin-top: 8px;
  color: var(--muted);
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
}
.contact-value { font-size: 1.04rem; font-weight: 500; line-height: 1.6; overflow-wrap: anywhere; }
a.contact-value:hover { color: var(--accent-hi); }
.contact + .booking { border-top: 0; }

/* 15a. Footer -------------------------------------------------------------- */
.site-footer {
  position: relative;
  padding-top: clamp(64px, 8vw, 100px);
  background: var(--footer-bg);
  border-top: 1px solid var(--line);
}
.site-footer::before {
  content: ""; position: absolute; left: 50%; top: -1px;
  width: min(560px, 80%); height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 48px;
  padding-bottom: 64px;
}
.footer-tagline {
  margin-top: 18px;
  color: var(--accent-hi);
  font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
}
.footer-about { max-width: 320px; margin-top: 14px; color: var(--muted); font-size: 0.94rem; }
.social-list { display: flex; gap: 10px; margin-top: 26px; }
.social-link {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  border: 1px solid var(--line-2); border-radius: var(--radius);
  color: var(--text-2);
  transition: color var(--t-fast), border-color var(--t-fast), background var(--t-fast), box-shadow var(--t);
}
.social-link .icon { width: 18px; height: 18px; }
.social-link:hover { color: var(--strong); border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 20px -6px rgba(23, 105, 255, 0.8); }

.footer-heading {
  margin-bottom: 22px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--text);
}
.footer-links { display: grid; gap: 12px; }
.footer-links a { color: var(--muted); font-size: 0.94rem; transition: color var(--t-fast), padding var(--t-fast); }
.footer-links a:hover { color: var(--strong); padding-left: 4px; }
.footer-contact { display: grid; gap: 16px; }
.footer-contact li { display: flex; gap: 12px; color: var(--muted); font-size: 0.93rem; line-height: 1.6; }
.footer-contact .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--accent); }
.footer-contact a { overflow-wrap: anywhere; }
.footer-contact a:hover { color: var(--strong); }

.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  padding-block: 26px;
  border-top: 1px solid var(--line);
  color: var(--muted); font-size: 13px;
}
.back-to-top { display: inline-flex; align-items: center; gap: 8px; letter-spacing: 0.14em; text-transform: uppercase; font-size: 11.5px; }
.back-to-top .icon { width: 16px; height: 16px; transform: rotate(-90deg); }
.back-to-top:hover { color: var(--strong); }

@media (max-width: 1023px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 559px) {
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* 15b. Lightbox ------------------------------------------------------------ */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center;
  gap: 16px;
  padding: 70px clamp(12px, 3vw, 40px) 40px;
  background: rgba(3, 3, 4, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.lightbox.is-open { opacity: 1; }
.lightbox-figure { display: flex; flex-direction: column; align-items: center; gap: 16px; min-width: 0; }
.lightbox-img {
  max-width: 100%; max-height: calc(100dvh - 170px);
  object-fit: contain;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: 0 30px 90px -20px rgba(0, 0, 0, 0.9), 0 0 60px -20px rgba(23, 105, 255, 0.35);
  transform: scale(0.97);
  transition: transform 0.4s var(--ease), opacity 0.25s var(--ease);
}
.lightbox.is-open .lightbox-img { transform: none; }
.lightbox-caption { color: var(--text-2); font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; text-align: center; }
.lightbox-close {
  position: absolute; top: 18px; right: 18px;
  display: grid; place-items: center;
  width: 46px; height: 46px;
  border: 1px solid var(--line-2); border-radius: 50%;
  transition: background var(--t-fast), border-color var(--t-fast);
}
.lightbox-nav {
  display: grid; place-items: center;
  width: 50px; height: 50px;
  border: 1px solid var(--line-2); border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  transition: background var(--t-fast), border-color var(--t-fast);
}
.lightbox-close:hover, .lightbox-nav:hover { background: var(--accent); border-color: var(--accent); }
.lightbox .icon { width: 22px; height: 22px; }
body.has-lightbox { overflow: hidden; }

@media (max-width: 679px) {
  .lightbox { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr auto; padding-inline: 12px; }
  .lightbox-figure { grid-column: 1 / -1; grid-row: 1; }
  .lightbox-prev { grid-row: 2; justify-self: end; }
  .lightbox-next { grid-row: 2; justify-self: start; }
}

/* 15c. Scroll reveal ------------------------------------------------------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }
/* card hover transforms should not wait for the stagger delay */
.js .service-card.is-visible, .js .price-card.is-visible, .js .contact-card.is-visible {
  transition: opacity 0.9s var(--ease) calc(var(--i, 0) * 90ms), transform var(--t), border-color var(--t), box-shadow var(--t), background var(--t);
}

/* 15d. Reduced motion ------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .hero-anim, .js [data-reveal] { opacity: 1; transform: none; }
  .hero-img { transform: none; }
  .scroll-cue-line::after { display: none; }
}

@media (max-width: 767px) {
  .cta-media img { object-position: 30% 70%; }
  .cta-overlay {
    background:
      radial-gradient(90% 60% at 50% 115%, rgba(23, 105, 255, 0.5), transparent 70%),
      linear-gradient(180deg, rgba(5, 5, 5, 0.9), rgba(5, 5, 5, 0.72) 50%, rgba(7, 20, 48, 0.78));
  }
}

/* 16. Theme toggle, light-mode helpers, page additions -------------------- */
/* Areas re-scoped to dark tokens must also re-apply the text colour,
   because inherited `color` is computed on <body> before the re-scope. */
.hero, .page-hero, .cta, .lightbox, .site-header, .gallery-btn { color: var(--text); }
/* Photo sections keep a dark base so a slow-loading image never shows the light page through the overlay */
.hero, .page-hero, .cta { background-color: var(--bg); }

.theme-toggle {
  position: relative;
  display: inline-grid; place-items: center;
  width: 42px; height: 42px;
  border: 1px solid var(--line-2); border-radius: var(--radius);
  color: var(--text);
  transition: border-color var(--t-fast), background var(--t-fast), color var(--t-fast);
}
.theme-toggle:hover { border-color: var(--accent-line); background: var(--accent-soft); color: var(--strong); }
.theme-toggle .icon { width: 19px; height: 19px; grid-area: 1 / 1; transition: opacity var(--t), transform var(--t); }
.theme-toggle .icon-moon { opacity: 0; transform: rotate(-60deg) scale(0.6); }
:root[data-theme="light"] .theme-toggle .icon-sun { opacity: 0; transform: rotate(60deg) scale(0.6); }
:root[data-theme="light"] .theme-toggle .icon-moon { opacity: 1; transform: none; }

/* Smooth colour change when switching themes (class added briefly by JS) */
.theme-switching, .theme-switching *, .theme-switching *::before, .theme-switching *::after {
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease), color 0.35s var(--ease) !important;
}

.section-more {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
  margin-top: clamp(36px, 5vw, 56px);
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 20px;
}

/* Light mode: section separators and the popular price card read better with a touch of depth */
:root[data-theme="light"] .price-card { box-shadow: var(--card-shadow); }
:root[data-theme="light"] .price-card.is-popular { box-shadow: var(--glow); }
:root[data-theme="light"] .gallery-cat { color: #6ea2ff; }

@media (max-width: 1023px) {
  .header-actions { gap: 10px; }
}

/* 17. Light-mode banners ---------------------------------------------------
   No haze: text sits on a clean light surface and the photo is shown crisp,
   at full colour, beside it. Only the photo's inner edge fades (CSS mask).
   .banner-dark / .banner-light pick the image for each theme. */
.banner-light { display: none; }
:root[data-theme="light"] .banner-dark { display: none; }
:root[data-theme="light"] .banner-light { display: block; }

/* Header is a solid white bar in light mode (never transparent over a photo) */
:root[data-theme="light"] .site-header {
  background: var(--header-bg);
  border-bottom-color: var(--line);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
}

:root[data-theme="light"] :is(.hero, .page-hero) {
  background:
    radial-gradient(50% 70% at 12% 30%, rgba(23, 105, 255, 0.07), transparent 70%),
    linear-gradient(180deg, #f6f8fc 0%, #ffffff 100%);
}
:root[data-theme="light"] :is(.hero, .page-hero) .hero-overlay { display: none; }

:root[data-theme="light"] :is(.hero-media, .page-hero-media) {
  left: 44%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 32%), linear-gradient(180deg, #000 78%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0%, #000 32%), linear-gradient(180deg, #000 78%, transparent 100%);
  mask-composite: intersect;
}
:root[data-theme="light"] .hero-img,
:root[data-theme="light"] .page-hero-media img { filter: none; object-position: 50% 50%; }

:root[data-theme="light"] .hero-accent { text-shadow: none; }
:root[data-theme="light"] .hero-eyebrow { backdrop-filter: none; box-shadow: var(--card-shadow); }
:root[data-theme="light"] .hero-trust { border-top-color: var(--line-2); }

/* CTA: headline on white, crisp photo rising from the bottom */
:root[data-theme="light"] .cta {
  padding-bottom: clamp(260px, 34vw, 520px);
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(23, 105, 255, 0.08), transparent 70%),
    #ffffff;
}
:root[data-theme="light"] .cta-overlay { display: none; }
:root[data-theme="light"] .cta-media {
  -webkit-mask-image: linear-gradient(180deg, transparent 44%, #000 72%);
  mask-image: linear-gradient(180deg, transparent 44%, #000 72%);
}
:root[data-theme="light"] .cta-media img { filter: none; object-position: 50% 78%; }
:root[data-theme="light"] .cta-title .text-accent { text-shadow: none; }

/* Crisper surfaces */
:root[data-theme="light"] .btn-ghost { backdrop-filter: none; }
:root[data-theme="light"] .btn-ghost:hover { background: #f1f6ff; }
:root[data-theme="light"] .booking {
  background: radial-gradient(50% 60% at 85% 10%, rgba(23, 105, 255, 0.06), transparent 70%), var(--bg);
}
:root[data-theme="light"] .booking-card { backdrop-filter: none; }
:root[data-theme="light"] :is(.contact-card, .faq-call) { box-shadow: var(--card-shadow); }
:root[data-theme="light"] .timeline-node { background: #ffffff; box-shadow: 0 0 0 6px var(--bg-2), 0 8px 22px -10px rgba(23, 105, 255, 0.45); }
:root[data-theme="light"] .gallery-btn { border-color: transparent; background: #e9edf4; }
:root[data-theme="light"] .gallery-btn img { filter: none; }
:root[data-theme="light"] .gallery-btn::after { background: linear-gradient(180deg, transparent 55%, rgba(5, 8, 16, 0.78)); }

@media (max-width: 767px) {
  /* Photo becomes its own crisp band under the header; text follows below on white */
  :root[data-theme="light"] :is(.hero-media, .page-hero-media) {
    left: 0; top: var(--header-h); bottom: auto;
    -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
    -webkit-mask-composite: source-over;
    mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
    mask-composite: add;
  }
  :root[data-theme="light"] .hero-media { height: 270px; }
  :root[data-theme="light"] .page-hero-media { height: 200px; }
  :root[data-theme="light"] .hero {
    display: block; min-height: 0;
    padding-top: calc(var(--header-h) + 270px);
    padding-bottom: 56px;
  }
  :root[data-theme="light"] .page-hero {
    min-height: 0;
    padding-top: calc(var(--header-h) + 200px);
  }
  :root[data-theme="light"] .cta { padding-bottom: 250px; }
}

/* 18. Optional admin-managed card image ------------------------------------
   Only rendered when an image is uploaded for a service in the admin. */
.card-media {
  display: block;
  width: calc(100% + 60px); max-width: none;
  margin: -36px -30px 28px;
  aspect-ratio: 3 / 2; object-fit: cover;
  border-bottom: 1px solid var(--line);
}
.price-card .card-media {
  width: calc(100% + 56px);
  margin: -36px -28px 28px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
