/* ==========================================================================
   Nuvex Auto Detailing — design system
   ========================================================================== */

:root,
[data-theme="light"] :is(.hero, .reveal__frame, .feature, .area, .cta__inner, .nav:not(.is-solid)) {
  --bg: #06080d;
  --bg-2: #0a0e15;
  --surface: #0e131c;
  --surface-2: #131a26;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --blue: #2b8cff;
  --blue-2: #5aa8ff;
  --ice: #b9dcff;
  --blue-soft: rgba(43, 140, 255, 0.14);
  --glow: rgba(43, 140, 255, 0.4);
  --text: #eef2f7;
  --text-2: #c4ccd8;
  --muted: #8a94a5;
  --tint: rgba(255, 255, 255, 0.03);
  --tint-2: rgba(255, 255, 255, 0.08);
  --hover: rgba(255, 255, 255, 0.06);
  --glass-bg: rgba(255, 255, 255, 0.06);
  --glass-bg-h: rgba(255, 255, 255, 0.11);
  --glass-line: rgba(255, 255, 255, 0.14);
  --glass-line-h: rgba(255, 255, 255, 0.24);
  --nav-bg: rgba(6, 8, 13, 0.78);
  --bar-bg: rgba(10, 14, 21, 0.86);
  --stroke: rgba(238, 242, 247, 0.45);
  --input-bg: rgba(0, 0, 0, 0.25);
  --placeholder: #5b6577;
  --summary-bg: #0c121c;
  --featured-bg: linear-gradient(180deg, #111a29, #0c121c);
  --badge-bg: linear-gradient(180deg, #1a3050, #10213a);
  --badge-text: var(--ice);
  --error: #fca5a5;
  --sheen: rgba(150, 200, 255, 0.2);
  --glint: #9fd0ff;
  --grain: 0.05;
  --card-shadow: none;
  color-scheme: dark;
}

[data-theme="light"] {
  --bg: #f4f6fa;
  --bg-2: #eaeef5;
  --surface: #ffffff;
  --surface-2: #fbfcfe;
  --line: rgba(12, 24, 44, 0.09);
  --line-2: rgba(12, 24, 44, 0.16);
  --blue: #1f78ec;
  --blue-2: #1667d9;
  --ice: #1559c4;
  --blue-soft: rgba(31, 120, 236, 0.1);
  --glow: rgba(31, 120, 236, 0.28);
  --text: #0b1322;
  --text-2: #2f3d52;
  --muted: #5d6a7e;
  --tint: rgba(12, 24, 44, 0.03);
  --tint-2: rgba(12, 24, 44, 0.08);
  --hover: rgba(12, 24, 44, 0.05);
  --glass-bg: rgba(12, 24, 44, 0.04);
  --glass-bg-h: rgba(12, 24, 44, 0.08);
  --glass-line: rgba(12, 24, 44, 0.16);
  --glass-line-h: rgba(12, 24, 44, 0.28);
  --nav-bg: rgba(244, 246, 250, 0.86);
  --bar-bg: rgba(255, 255, 255, 0.92);
  --stroke: rgba(11, 19, 34, 0.32);
  --input-bg: #ffffff;
  --placeholder: #98a2b3;
  --summary-bg: #ffffff;
  --featured-bg: linear-gradient(180deg, #ffffff, #f2f7ff);
  --badge-bg: linear-gradient(180deg, #2b8cff, #1f6fe0);
  --badge-text: #ffffff;
  --error: #dc2626;
  --sheen: rgba(31, 120, 236, 0.2);
  --glint: #2b8cff;
  --grain: 0.025;
  --card-shadow: 0 1px 2px rgba(12, 24, 44, 0.04), 0 14px 36px -20px rgba(12, 24, 44, 0.22);
  color-scheme: light;
}
[data-theme="light"] :is(.hero, .reveal__frame, .feature, .area, .cta__inner, .nav:not(.is-solid)) {
  color: var(--text-2);
}
.theme-switching,
.theme-switching *,
.theme-switching *::before,
.theme-switching *::after {
  transition: background-color 0.4s, border-color 0.4s, color 0.4s, fill 0.4s !important;
}

:root {
  --radius: 22px;
  --radius-sm: 14px;
  --wrap: min(1200px, calc(100% - 40px));
  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color: var(--text);
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}

html.lenis,
html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

body {
  margin: 0;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-2);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: var(--grain);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

[hidden] {
  display: none !important;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

svg {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
svg.ico-fill {
  fill: currentColor;
  stroke: none;
}
svg .dot {
  fill: currentColor;
}

:focus-visible {
  outline: 2px solid var(--blue-2);
  outline-offset: 3px;
  border-radius: 8px;
}

::selection {
  background: var(--blue);
  color: #fff;
}

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  padding: 0.6rem 1rem;
  border-radius: 10px;
  background: var(--blue);
  color: #fff;
}
.skip:focus {
  top: 1rem;
}

/* ---------- Type ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1rem;
  color: var(--blue-2);
  font: 600 0.74rem/1 var(--body);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
}

.h2 {
  margin: 0;
  color: var(--text);
  font-family: var(--display);
  font-stretch: 112%;
  font-weight: 800;
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.025em;
}

.lead {
  margin: 1rem 0 0;
  max-width: 52ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.12rem);
}
.lead a {
  color: var(--ice);
  border-bottom: 1px solid color-mix(in srgb, currentColor 40%, transparent);
}

/* ---------- Buttons ---------- */

.btn {
  --h: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  height: var(--h);
  padding: 0 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: 600 0.95rem/1 var(--body);
  letter-spacing: 0.005em;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.35s var(--ease), background 0.3s, border-color 0.3s, box-shadow 0.35s var(--ease), color 0.3s;
}
.btn svg {
  font-size: 1.15em;
  transition: transform 0.35s var(--ease);
}
.btn:hover svg:last-child:not(.ico-fill) {
  transform: translateX(3px);
}
.btn--sm {
  --h: 40px;
  padding: 0 1.05rem;
  font-size: 0.88rem;
}
.btn--lg {
  --h: 56px;
  padding: 0 1.7rem;
  font-size: 1rem;
}
.btn--primary {
  color: #fff;
  background: linear-gradient(180deg, #3d97ff, #1f7cf0);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 10px 30px -10px var(--glow);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.3) inset, 0 16px 40px -10px rgba(43, 140, 255, 0.65);
}
.btn--glass {
  color: var(--text);
  background: var(--glass-bg);
  border-color: var(--glass-line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.btn--glass:hover {
  background: var(--glass-bg-h);
  border-color: var(--glass-line-h);
}
.btn--outline {
  color: var(--text);
  border-color: var(--line-2);
  background: transparent;
}
.btn--outline:hover {
  border-color: var(--blue);
  background: var(--blue-soft);
}
.btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1.6rem;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(8, 12, 20, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--text-2);
  font-size: 0.82rem;
  font-weight: 500;
}
.chip__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.18);
}

/* ---------- Nav ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  height: var(--nav-h);
  transition: transform 0.5s var(--ease), background 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.is-solid {
  background: var(--nav-bg);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border-bottom-color: var(--line);
}
.nav.is-hidden {
  transform: translateY(-100%);
}
.nav__inner {
  width: var(--wrap);
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
}
.logo__img {
  display: block;
  height: 54px;
  width: auto;
}
.logo__img--light {
  display: none;
}
[data-theme="light"] .logo__img--dark {
  display: none;
}
[data-theme="light"] .logo__img--light {
  display: block;
}
[data-theme="light"] .nav:not(.is-solid) .logo__img--dark {
  display: block;
}
[data-theme="light"] .nav:not(.is-solid) .logo__img--light {
  display: none;
}
.footer .logo__img {
  height: 64px;
}
@media (max-width: 560px) {
  .nav .logo__img {
    height: 38px;
  }
}

.nav__links {
  display: flex;
  gap: 0.25rem;
}
.nav__links a {
  position: relative;
  padding: 0.5rem 0.8rem;
  color: var(--text-2);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 999px;
  transition: color 0.25s, background 0.25s;
}
.nav__links a:hover {
  color: var(--text);
  background: var(--hover);
}
.nav__actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.nav__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--text);
  font-size: 1.15rem;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}
.nav__icon:hover {
  background: var(--hover);
  border-color: var(--glass-line-h);
}
.nav__wa:hover {
  color: #25d366;
  border-color: rgba(37, 211, 102, 0.5);
  background: rgba(37, 211, 102, 0.08);
}
.theme-toggle .ico-sun {
  display: none;
}
[data-theme="light"] .theme-toggle .ico-sun {
  display: block;
}
[data-theme="light"] .theme-toggle .ico-moon {
  display: none;
}
.sheet__theme.theme-toggle .ico-sun {
  display: block;
}
.sheet__theme.theme-toggle .ico-moon,
[data-theme="light"] .sheet__theme.theme-toggle .ico-sun {
  display: none;
}
[data-theme="light"] .sheet__theme.theme-toggle .ico-moon {
  display: block;
}
.theme-toggle svg {
  transition: transform 0.6s var(--ease);
}
.theme-toggle:hover svg {
  transform: rotate(-25deg);
}

.nav__menu {
  display: none;
}
.burger {
  position: relative;
  width: 18px;
  height: 12px;
}
.burger i {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.4s var(--ease), top 0.4s var(--ease);
}
.burger i:first-child {
  top: 1px;
}
.burger i:last-child {
  top: 9px;
}
.nav__menu[aria-expanded="true"] .burger i:first-child {
  top: 5px;
  transform: rotate(45deg);
}
.nav__menu[aria-expanded="true"] .burger i:last-child {
  top: 5px;
  transform: rotate(-45deg);
}

.sheet {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  padding: calc(var(--nav-h) + 1.5rem) 20px calc(1.5rem + env(safe-area-inset-bottom));
  background: var(--bg);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.sheet:not([hidden]) {
  animation: sheet-in 0.45s var(--ease) both;
}
@keyframes sheet-in {
  from {
    opacity: 0;
    clip-path: inset(0 0 100% 0);
  }
  to {
    opacity: 1;
    clip-path: inset(0 0 0 0);
  }
}
.sheet__links {
  display: grid;
}
.sheet__links a {
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-family: var(--display);
  font-stretch: 115%;
  font-weight: 800;
  font-size: 1.9rem;
  letter-spacing: -0.02em;
}
.sheet:not([hidden]) .sheet__links a {
  animation: sheet-link 0.6s var(--ease) both;
}
.sheet__links a:nth-child(2) {
  animation-delay: 0.04s !important;
}
.sheet__links a:nth-child(3) {
  animation-delay: 0.08s !important;
}
.sheet__links a:nth-child(4) {
  animation-delay: 0.12s !important;
}
.sheet__links a:nth-child(5) {
  animation-delay: 0.16s !important;
}
@keyframes sheet-link {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}
.sheet__foot {
  display: grid;
  gap: 0.6rem;
}
.sheet__theme {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  height: 52px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--text-2);
  font: 600 0.95rem/1 var(--body);
  cursor: pointer;
}
.sheet__theme svg {
  font-size: 1.15rem;
}
body.sheet-open {
  overflow: hidden;
}

@media (max-width: 960px) {
  .nav__links {
    display: none;
  }
  .nav__menu {
    display: grid;
  }
}
@media (max-width: 560px) {
  .nav__actions {
    gap: 0.45rem;
  }
  .nav__actions:has(.nav__menu) .nav__wa,
  .nav__actions:has(.nav__menu) > .theme-toggle {
    display: none;
  }
  .nav__book {
    --h: 42px;
  }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: max(680px, 100svh);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--nav-h) + 40px) 0 0;
  overflow: hidden;
  isolation: isolate;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 60%;
  transform: scale(1.06);
  will-change: transform;
}
.hero__sweep {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    transparent 30%,
    rgba(185, 220, 255, 0) 40%,
    rgba(185, 220, 255, 0.16) 47%,
    rgba(255, 255, 255, 0.22) 50%,
    rgba(185, 220, 255, 0.16) 53%,
    transparent 62%
  );
  mix-blend-mode: overlay;
  transform: translateX(-100%);
  animation: sweep 7s var(--ease) 1.6s infinite;
}
@keyframes sweep {
  0% {
    transform: translateX(-100%);
  }
  45%,
  100% {
    transform: translateX(100%);
  }
}
.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 8, 13, 0.92) 0%, rgba(6, 8, 13, 0.6) 34%, rgba(6, 8, 13, 0.05) 70%),
    linear-gradient(0deg, var(--bg) 0%, rgba(6, 8, 13, 0.55) 22%, transparent 48%),
    linear-gradient(180deg, rgba(6, 8, 13, 0.7) 0%, transparent 18%);
}

.hero__content {
  position: relative;
}
.hero__title {
  margin: 0;
  color: var(--text);
  font-family: var(--display);
  font-stretch: 118%;
  font-weight: 850;
  font-size: clamp(2.6rem, 7.4vw, 6.6rem);
  line-height: 0.94;
  letter-spacing: -0.035em;
}
.hero__title .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;
}
.hero__title .line > span {
  display: block;
}
.hero__title .line--accent > span {
  background: linear-gradient(92deg, #ffffff 0%, var(--ice) 30%, var(--blue-2) 65%, var(--blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__sub {
  max-width: 46ch;
  margin: 1.6rem 0 0;
  color: var(--text-2);
  font-size: clamp(1.02rem, 1.4vw, 1.15rem);
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.2rem;
}

.hero__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-top: clamp(3rem, 8vh, 6rem);
  padding-bottom: 2rem;
}
.hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, auto));
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-2);
}
.hero-fact {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1.1rem 2.4rem 0 0;
  margin-right: 2.4rem;
  border-right: 1px solid var(--line);
}
.hero-fact:last-child {
  border-right: 0;
  margin-right: 0;
}
.hero-fact strong {
  color: var(--text);
  font-family: var(--display);
  font-stretch: 112%;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}
.hero-fact span {
  color: var(--muted);
  font-size: 0.85rem;
}
.hero__scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.hero__scroll i {
  position: relative;
  width: 1px;
  height: 52px;
  overflow: hidden;
  background: var(--line-2);
}
.hero__scroll i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--blue-2);
  animation: drip 2.2s var(--ease) infinite;
}
@keyframes drip {
  0% {
    transform: translateY(-100%);
  }
  60%,
  100% {
    transform: translateY(100%);
  }
}

@media (max-width: 760px) {
  .hero__img {
    object-position: 70% 50%;
  }
  .hero__shade {
    background:
      linear-gradient(0deg, var(--bg) 0%, rgba(6, 8, 13, 0.85) 40%, rgba(6, 8, 13, 0.25) 75%),
      linear-gradient(180deg, rgba(6, 8, 13, 0.7) 0%, transparent 20%);
  }
  .hero__facts {
    grid-template-columns: 1fr;
    width: 100%;
  }
  .hero-fact {
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
    padding: 0.8rem 0;
    margin: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .hero__scroll {
    display: none;
  }
  .hero__ctas .btn {
    flex: 1 1 auto;
  }
}

/* Intro motion (only when JS motion is active) */
.motion:not(.motion-ready) [data-intro],
.motion:not(.motion-ready) .hero__title .line > span {
  opacity: 0;
}

/* ---------- Marquee ---------- */

.marquee {
  position: relative;
  overflow: hidden;
  padding: 1.4rem 0;
  border-block: 1px solid var(--line);
  background: var(--bg-2);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 2rem;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee__item {
  color: transparent;
  -webkit-text-stroke: 1px var(--stroke);
  font-family: var(--display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  letter-spacing: -0.01em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.3s;
}
.marquee__item:nth-child(4n + 1) {
  color: var(--text);
  -webkit-text-stroke: 0;
}
.marquee__dot {
  color: var(--blue);
  font-size: 1.2rem;
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Before / After reveal ---------- */

.reveal {
  position: relative;
  background: var(--bg-2);
}
.reveal__pin {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
  padding: calc(var(--nav-h) + 24px) 0 48px;
}
.reveal__head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  column-gap: 3rem;
}
.reveal__head .eyebrow {
  grid-column: 1 / -1;
}
.reveal__head .lead {
  margin: 0;
  max-width: 34ch;
}
.reveal__frame {
  position: relative;
  aspect-ratio: 2 / 1;
  max-height: calc(100svh - var(--nav-h) - 220px);
  min-height: 320px;
  width: 100%;
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  border: 1px solid var(--line-2);
  box-shadow: 0 40px 120px -40px rgba(43, 140, 255, 0.28);
  background: #05070b;
}
/* Photo stage — single left→right scrub via --p */
.reveal__stage {
  --p: 0;
  --front: 0%;
  --edge-a: 1;
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  aspect-ratio: 16 / 9;
  translate: 0 -50%;
}
.reveal__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: mask-image, -webkit-mask-image, filter;
}
/* Staggered soft wipes, all the same direction */
.reveal__foam {
  -webkit-mask-image: linear-gradient(
    90deg,
    #000 0%,
    #000 calc(var(--p) * 118% - 42%),
    transparent calc(var(--p) * 118% - 14%)
  );
  mask-image: linear-gradient(
    90deg,
    #000 0%,
    #000 calc(var(--p) * 118% - 42%),
    transparent calc(var(--p) * 118% - 14%)
  );
}
.reveal__washed {
  filter: brightness(calc(0.86 + var(--p) * 0.12)) saturate(calc(0.72 + var(--p) * 0.28));
  -webkit-mask-image: linear-gradient(
    90deg,
    #000 0%,
    #000 calc(var(--p) * 118% - 22%),
    transparent calc(var(--p) * 118% + 2%)
  );
  mask-image: linear-gradient(
    90deg,
    #000 0%,
    #000 calc(var(--p) * 118% - 22%),
    transparent calc(var(--p) * 118% + 2%)
  );
}
.reveal__gloss {
  filter: brightness(calc(1 + var(--p) * 0.05)) saturate(1.1) contrast(1.04);
  -webkit-mask-image: linear-gradient(
    90deg,
    #000 0%,
    #000 calc(var(--p) * 118% - 4%),
    transparent calc(var(--p) * 118% + 16%)
  );
  mask-image: linear-gradient(
    90deg,
    #000 0%,
    #000 calc(var(--p) * 118% - 4%),
    transparent calc(var(--p) * 118% + 16%)
  );
}
.reveal__edge {
  position: absolute;
  inset: 0;
  pointer-events: none;
  mix-blend-mode: soft-light;
  opacity: var(--edge-a);
  background: linear-gradient(
    90deg,
    transparent calc(var(--front) - 8%),
    rgba(220, 235, 255, 0.22) calc(var(--front) - 1.5%),
    rgba(255, 255, 255, 0.55) var(--front),
    rgba(180, 210, 255, 0.18) calc(var(--front) + 2%),
    transparent calc(var(--front) + 10%)
  );
}
.reveal__sheen {
  position: absolute;
  inset: 0;
  pointer-events: none;
  mix-blend-mode: soft-light;
  opacity: 0;
  background: linear-gradient(
    100deg,
    transparent 40%,
    rgba(200, 225, 255, 0.06) 46%,
    rgba(255, 255, 255, 0.2) 50%,
    rgba(200, 225, 255, 0.06) 54%,
    transparent 60%
  );
  background-size: 220% 100%;
  background-position: 120% 0;
}
.reveal__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(0deg, rgba(5, 7, 11, 0.78), transparent 28%),
    linear-gradient(90deg, rgba(5, 7, 11, 0.28), transparent 28%);
}
.reveal__hud {
  position: absolute;
  z-index: 2;
  left: clamp(1rem, 2.5vw, 1.75rem);
  right: clamp(1rem, 2.5vw, 1.75rem);
  bottom: clamp(1rem, 2.5vw, 1.5rem);
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 1rem 1.25rem;
}
.reveal__caption {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
}
.reveal__track {
  height: 1px;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 1px;
  overflow: hidden;
}
.reveal__fill {
  display: block;
  height: 100%;
  width: calc(var(--p, 0) * 100%);
  background: linear-gradient(90deg, rgba(180, 210, 255, 0.35), rgba(255, 255, 255, 0.85));
  transform-origin: left center;
}
@media (max-width: 760px) {
  .reveal__head {
    grid-template-columns: 1fr;
  }
  .reveal__head .lead {
    margin-top: 0.8rem;
  }
  .reveal__frame {
    aspect-ratio: 6 / 5;
    max-height: calc(100svh - var(--nav-h) - 240px);
  }
  .reveal__frame::after {
    background: linear-gradient(180deg, rgba(5, 7, 11, 0.75), transparent 30%);
  }
  .reveal__stage {
    top: 0;
    left: -6%;
    width: auto;
    height: 100%;
    translate: none;
  }
  .reveal__hud {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }
}

/* ---------- Sections ---------- */

.section {
  position: relative;
  padding: clamp(4.5rem, 9vw, 7.5rem) 0;
}
.section--tight {
  padding-top: 0;
}
.section__head {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section__head--center {
  text-align: center;
}
.section__head--center .eyebrow::before {
  display: none;
}
.section__head--center .lead {
  margin-inline: auto;
}

/* ---------- Packages ---------- */

.pkgs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}
.pkg {
  --mx: 50%;
  --my: 0%;
  position: relative;
  border-radius: var(--radius);
  padding: 1px;
  background: var(--line);
  box-shadow: var(--card-shadow);
  transition: transform 0.5s var(--ease);
}
.pkg::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(90, 168, 255, 0.55), transparent 45%);
  opacity: 0;
  transition: opacity 0.4s;
}
.pkg:hover::before {
  opacity: 1;
}
.pkg:hover {
  transform: translateY(-4px);
}
.pkg__inner {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.8rem 1.8rem;
  border-radius: calc(var(--radius) - 1px);
  background:
    radial-gradient(500px circle at var(--mx) var(--my), rgba(43, 140, 255, 0.07), transparent 40%),
    linear-gradient(180deg, var(--surface-2), var(--surface));
}
.pkg--featured {
  background: linear-gradient(160deg, var(--blue-2), rgba(43, 140, 255, 0.25) 40%, rgba(43, 140, 255, 0.5));
  box-shadow: 0 30px 80px -30px rgba(43, 140, 255, 0.5);
}
.pkg--featured .pkg__inner {
  background:
    radial-gradient(500px circle at var(--mx) var(--my), rgba(43, 140, 255, 0.12), transparent 40%),
    radial-gradient(120% 60% at 50% 0%, rgba(43, 140, 255, 0.16), transparent 60%),
    var(--featured-bg);
}
.pkg__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}
.pkg__name {
  margin: 0;
  color: var(--text);
  font-family: var(--display);
  font-stretch: 112%;
  font-weight: 750;
  font-size: 1.3rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.pkg__blurb {
  min-height: 3em;
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}
.pkg__badge {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  padding: 0.4rem 0.85rem;
  box-shadow: 0 8px 24px -8px rgba(43, 140, 255, 0.6);
  border-radius: 999px;
  background: var(--badge-bg);
  border: 1px solid rgba(90, 168, 255, 0.4);
  color: var(--badge-text);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.pkg__price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin: 1.6rem 0 1.4rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--line);
}
.pkg__from {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 500;
}
.pkg__amount {
  color: var(--text);
  font-family: var(--display);
  font-stretch: 112%;
  font-weight: 800;
  font-size: clamp(2.4rem, 4vw, 3.1rem);
  line-height: 1;
  letter-spacing: -0.035em;
}
.pkg--featured .pkg__amount {
  background: linear-gradient(180deg, var(--text), var(--ice));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.pkg__list {
  flex: 1 0 auto;
  display: grid;
  align-content: start;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pkg__list li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  color: var(--text-2);
  font-size: 0.94rem;
  line-height: 1.4;
}
.pkg__list svg {
  margin-top: 0.12rem;
  width: 18px;
  height: 18px;
  padding: 3px;
  border-radius: 50%;
  color: var(--blue-2);
  background: var(--blue-soft);
  stroke-width: 2.6;
}
.pkg__note {
  margin: 1.2rem 0 0;
  padding: 0.8rem 0.9rem;
  border-radius: 12px;
  background: var(--tint);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.5;
}
.pkg__cta {
  width: 100%;
  margin-top: auto;
}
.pkg__list + .pkg__cta,
.pkg__note + .pkg__cta {
  margin-top: 1.8rem;
}
@media (max-width: 960px) {
  .pkgs {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin-inline: auto;
  }
  .pkg--featured {
    order: -1;
  }
}

/* ---------- Features (bento) ---------- */

.features {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  grid-template-rows: repeat(2, minmax(260px, 1fr));
  gap: 1.25rem;
}
.feature {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  clip-path: inset(0 round var(--radius));
  border: 1px solid var(--line);
  background: var(--surface);
  min-height: 260px;
}
.feature--1 {
  grid-row: span 2;
}
.feature__media {
  position: absolute;
  inset: 0;
}
.feature__media img {
  width: 100%;
  height: 112%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 1.2s var(--ease);
  will-change: transform;
}
.feature:hover .feature__media img {
  transform: scale(1.07);
}
.feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(6, 8, 13, 0.95) 0%, rgba(6, 8, 13, 0.55) 35%, transparent 65%);
}
.feature__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: clamp(1.4rem, 2.5vw, 2rem);
}
.feature__num {
  display: inline-block;
  margin-bottom: 0.7rem;
  color: var(--blue-2);
  font: 600 0.75rem/1 var(--body);
  letter-spacing: 0.2em;
}
.feature__cap h3 {
  margin: 0;
  color: var(--text);
  font-family: var(--display);
  font-stretch: 112%;
  font-weight: 750;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  letter-spacing: -0.015em;
}
.feature__cap p {
  margin: 0.45rem 0 0;
  max-width: 40ch;
  color: var(--text-2);
  font-size: 0.95rem;
}
@media (max-width: 860px) {
  .features {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }
  .feature--1 {
    grid-row: auto;
    min-height: 380px;
  }
}

/* ---------- Steps ---------- */

.steps-wrap {
  position: relative;
}
.steps__line {
  position: absolute;
  top: 31px;
  left: calc(100% / 6);
  right: calc(100% / 6);
  height: 1px;
  background: var(--line-2);
}
.steps__line i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--ice));
  box-shadow: 0 0 12px var(--glow);
  transform-origin: left;
  transform: scaleX(1);
}
.motion .steps__line i {
  transform: scaleX(0);
}
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
}
.step__marker {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin: 0 auto 1.6rem;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--line-2);
  box-shadow: 0 0 0 8px var(--bg);
}
.step__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(180deg, #3d97ff, #1f7cf0);
  color: #fff;
  font-size: 1.2rem;
  box-shadow: 0 8px 24px -6px var(--glow);
}
.step__num {
  color: var(--blue-2);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.step h3 {
  margin: 0.5rem 0 0;
  color: var(--text);
  font-family: var(--display);
  font-stretch: 112%;
  font-weight: 750;
  font-size: 1.4rem;
  letter-spacing: -0.015em;
}
.step p {
  max-width: 30ch;
  margin: 0.6rem auto 0;
  color: var(--muted);
}
@media (max-width: 760px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 2.6rem;
    text-align: left;
  }
  .steps__line {
    top: 31px;
    bottom: 31px;
    left: 31px;
    right: auto;
    width: 1px;
    height: auto;
  }
  .steps__line i {
    width: 100%;
    height: 100%;
    transform-origin: top;
  }
  .step {
    display: grid;
    grid-template-columns: 62px 1fr;
    column-gap: 1.25rem;
  }
  .step__marker {
    grid-row: span 3;
    margin: 0;
  }
  .step p {
    margin-left: 0;
  }
}

/* ---------- Plans ---------- */

.section--plans {
  background:
    radial-gradient(800px 400px at 15% 30%, rgba(43, 140, 255, 0.1), transparent 60%),
    var(--bg-2);
  border-block: 1px solid var(--line);
}
.plans-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.plans-note {
  display: flex;
  gap: 0.8rem;
  margin: 2rem 0 0;
  padding: 1rem 1.1rem;
  max-width: 48ch;
  border-radius: var(--radius-sm);
  background: var(--tint);
  border: 1px solid var(--line);
  color: var(--text-2);
  font-size: 0.9rem;
  line-height: 1.55;
}
.plans-note svg {
  margin-top: 0.15rem;
  color: var(--blue-2);
  font-size: 1.2rem;
}
.plans {
  display: grid;
  gap: 0.9rem;
}
.plan {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas:
    "pips title link"
    "pips body link";
  column-gap: 1.4rem;
  align-items: center;
  padding: 1.4rem 1.6rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  box-shadow: var(--card-shadow);
  transition: border-color 0.3s, transform 0.5s var(--ease), background 0.3s;
}
.plan:hover {
  border-color: rgba(90, 168, 255, 0.5);
  transform: translateX(6px);
}
.plan__pips {
  grid-area: pips;
  display: grid;
  grid-template-columns: repeat(2, 10px);
  gap: 5px;
}
.plan__pips i {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--tint-2);
}
.plan__pips i.on {
  background: var(--blue);
  box-shadow: 0 0 10px var(--glow);
}
.plan h3 {
  grid-area: title;
  margin: 0;
  color: var(--text);
  font-family: var(--display);
  font-stretch: 112%;
  font-weight: 750;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}
.plan p {
  grid-area: body;
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}
.plan__link {
  grid-area: link;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--blue-2);
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
}
@media (max-width: 900px) {
  .plans-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .plan {
    grid-template-areas:
      "pips title"
      "pips body"
      "pips link";
    grid-template-columns: auto 1fr;
  }
  .plan__link {
    margin-top: 0.6rem;
  }
}

/* ---------- Area ---------- */

.area {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.area__media {
  position: absolute;
  inset: -10% 0;
  z-index: -1;
}
.area__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
}
.area__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 8, 13, 0.95) 0%, rgba(6, 8, 13, 0.75) 38%, rgba(6, 8, 13, 0.1) 75%),
    linear-gradient(0deg, var(--bg) 0%, transparent 20%),
    linear-gradient(180deg, var(--bg) 0%, transparent 20%);
}
.area__card {
  max-width: 560px;
}
.suburbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.8rem 0 0;
  padding: 0;
  list-style: none;
}
.suburbs li {
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(6, 8, 13, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--text-2);
  font-size: 0.85rem;
}
.area__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.2rem;
}
@media (max-width: 760px) {
  .area {
    min-height: 0;
    padding: 18rem 0 5rem;
    align-items: flex-end;
  }
  .area__media {
    inset: 0;
  }
  .area__media img {
    object-position: 70% 30%;
    height: 60%;
  }
  .area__media::after {
    background: linear-gradient(0deg, var(--bg) 42%, rgba(6, 8, 13, 0.5) 62%, rgba(6, 8, 13, 0.1) 100%);
  }
}

/* ---------- FAQ ---------- */

.faq {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.faq__intro {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}
.faq__list {
  border-top: 1px solid var(--line);
}
.faq__item {
  border-bottom: 1px solid var(--line);
}
.faq__item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 0;
  list-style: none;
  cursor: pointer;
  color: var(--text);
  font-family: var(--display);
  font-stretch: 108%;
  font-weight: 650;
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  letter-spacing: -0.01em;
}
.faq__item summary::-webkit-details-marker {
  display: none;
}
.faq__item summary i {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  color: var(--blue-2);
  transition: transform 0.4s var(--ease), background 0.3s, border-color 0.3s;
}
.faq__item[open] summary i {
  transform: rotate(45deg);
  background: var(--blue-soft);
  border-color: rgba(90, 168, 255, 0.45);
}
.faq__a p {
  margin: 0;
  padding: 0 3.5rem 1.6rem 0;
  color: var(--muted);
}
@media (max-width: 860px) {
  .faq {
    grid-template-columns: 1fr;
  }
  .faq__intro {
    position: static;
  }
  .faq__a p {
    padding-right: 0;
  }
}

/* ---------- CTA ---------- */

.cta {
  padding: 0 0 clamp(5rem, 10vw, 8rem);
}
.cta__inner {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 8vw, 6rem) clamp(1.5rem, 5vw, 4rem);
  border-radius: calc(var(--radius) + 10px);
  border: 1px solid rgba(90, 168, 255, 0.25);
  text-align: center;
  background:
    radial-gradient(700px 300px at 50% 120%, rgba(43, 140, 255, 0.45), transparent 60%),
    radial-gradient(500px 200px at 50% -20%, rgba(185, 220, 255, 0.08), transparent 60%),
    linear-gradient(180deg, rgba(6, 9, 15, 0.92), rgba(6, 9, 15, 0.7) 55%, rgba(6, 9, 15, 0.92)),
    url("/images/hero.jpg") center 62% / cover no-repeat,
    #080c13;
}
.cta__inner::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 70%;
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--ice), transparent);
}
.cta__title {
  margin: 0;
  color: var(--text);
  font-family: var(--display);
  font-stretch: 118%;
  font-weight: 850;
  font-size: clamp(2.3rem, 6vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
}
.cta .lead {
  margin-inline: auto;
}
.cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2.2rem;
}

/* ---------- Footer (Alcantara cabin panel) ---------- */

.footer {
  --footer-stitch: rgba(226, 232, 245, 0.72);
  --footer-stitch-dim: rgba(190, 200, 220, 0.38);
  position: relative;
  isolation: isolate;
  padding: 3.6rem 0 1.85rem;
  border-top: none;
  background: #101218;
  color: rgba(240, 244, 252, 0.92);
  font-size: 0.92rem;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.footer__skin {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: #14161c;
  background-image:
    radial-gradient(ellipse 95% 50% at 50% -8%, rgba(120, 140, 175, 0.2), transparent 58%),
    radial-gradient(ellipse 42% 68% at 12% 38%, rgba(255, 255, 255, 0.055), transparent 72%),
    radial-gradient(ellipse 48% 62% at 88% 62%, rgba(0, 0, 0, 0.22), transparent 70%),
    radial-gradient(ellipse 55% 40% at 50% 108%, rgba(0, 0, 0, 0.35), transparent 65%),
    linear-gradient(180deg, rgba(12, 14, 18, 0.28), transparent 16%, transparent 82%, rgba(8, 10, 14, 0.42)),
    url("/images/alcantara-tile.jpg");
  background-size: auto, auto, auto, auto, auto, 460px 460px;
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, repeat;
  background-position: center, 0 0, 100% 40%, center bottom, center, 0 0;
}
.footer__skin::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.42;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.75 0 0 0 0 0.78 0 0 0 0 0.85 0 0 0 0.55 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 160px 160px;
}
.footer__skin::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow:
    inset 0 28px 56px rgba(0, 0, 0, 0.38),
    inset 0 -24px 44px rgba(0, 0, 0, 0.32),
    inset 40px 0 64px rgba(0, 0, 0, 0.18),
    inset -40px 0 64px rgba(0, 0, 0, 0.18);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.22), transparent 14%, transparent 86%, rgba(0, 0, 0, 0.22)),
    radial-gradient(120% 70% at 50% -12%, rgba(90, 130, 200, 0.08), transparent 52%);
}
.footer__stitch {
  position: relative;
  z-index: 1;
  height: 18px;
  margin: 0 auto;
  max-width: min(1120px, calc(100% - 2.5rem));
  pointer-events: none;
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='11' height='18' viewBox='0 0 11 18'><ellipse cx='5.5' cy='4.2' rx='1.15' ry='1.35' fill='%23e8eef8' opacity='0.7'/><ellipse cx='5.5' cy='13.6' rx='1.1' ry='1.3' fill='%23c8d2e4' opacity='0.42'/><path d='M5.5 5.6v7' stroke='%23d8e2f0' stroke-width='0.55' opacity='0.28'/></svg>")
      center / 11px 18px repeat-x,
    linear-gradient(
      180deg,
      transparent 0 38%,
      rgba(0, 0, 0, 0.45) 46%,
      rgba(255, 255, 255, 0.07) 51%,
      rgba(0, 0, 0, 0.28) 56%,
      transparent 64% 100%
    );
  filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.45));
}
.footer__stitch--top {
  margin-bottom: 2.15rem;
}
.footer__stitch--mid {
  margin-top: 2.35rem;
  margin-bottom: 1.2rem;
  opacity: 0.82;
}
.footer > .wrap {
  position: relative;
  z-index: 1;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 2rem;
}
.footer__brand p {
  margin: 1rem 0 0;
  color: rgba(205, 214, 228, 0.82);
  max-width: 28ch;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}
.footer__h {
  margin: 0 0 1rem;
  color: rgba(248, 250, 255, 0.96);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}
.footer__list {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
  color: rgba(205, 214, 228, 0.86);
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4);
}
.footer__list--icons li {
  display: grid;
  grid-template-columns: 1.15rem 1fr;
  align-items: start;
  gap: 0.7rem;
  line-height: 1.45;
}
.footer__ico {
  display: grid;
  place-items: center;
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.12rem;
  color: rgba(176, 204, 255, 0.88);
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.45));
}
.footer__ico svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.footer__ico svg.ico-fill,
.footer__ico svg.ico-fill path {
  fill: currentColor;
  stroke: none;
}
.footer__list a {
  color: inherit;
  transition: color 0.25s;
}
.footer__list a:hover,
.footer__base a:hover {
  color: #fff;
}
.footer__social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}
.footer__social-more {
  margin-left: 0.15rem;
  color: rgba(205, 214, 228, 0.86);
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-color: rgba(205, 214, 228, 0.35);
}
.footer__social-more:hover {
  color: #fff;
}
.footer__social a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(220, 228, 245, 0.14);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.07), transparent 45%),
    rgba(6, 8, 12, 0.42);
  color: rgba(236, 240, 250, 0.92);
  font-size: 1.1rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -2px 6px rgba(0, 0, 0, 0.35),
    0 1px 2px rgba(0, 0, 0, 0.25);
  transition: color 0.25s, border-color 0.25s, background 0.25s, box-shadow 0.25s;
}
.footer__social a:hover {
  color: #fff;
  border-color: rgba(140, 180, 255, 0.5);
  background:
    linear-gradient(160deg, rgba(120, 170, 255, 0.22), transparent 50%),
    rgba(20, 40, 80, 0.45);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 0 0 1px rgba(120, 170, 255, 0.12),
    0 4px 14px rgba(40, 90, 180, 0.2);
}
.footer__base {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0;
  padding-top: 0;
  border-top: none;
  color: rgba(180, 192, 210, 0.76);
  font-size: 0.82rem;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4);
}
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.1rem;
  align-items: center;
}
.footer__legal a {
  color: rgba(180, 192, 210, 0.78);
}
.footer__admin {
  opacity: 0.55;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.footer__admin:hover {
  opacity: 1;
  color: var(--ice);
}
/* Keep cabin dark in light mode — intentional premium interior */
[data-theme="light"] .footer {
  color: rgba(240, 244, 252, 0.92);
}
[data-theme="light"] .footer .logo__img--dark {
  display: block;
}
[data-theme="light"] .footer .logo__img--light {
  display: none;
}
/* ---------- Socials page ---------- */

.socials__inner {
  max-width: 720px;
  padding-block: clamp(2.5rem, 6vw, 4.5rem) 4rem;
}
.socials__grid {
  display: grid;
  gap: 0.75rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}
.social-card {
  display: grid;
  grid-template-columns: 3rem 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1.05rem 1.15rem;
  border-radius: calc(var(--radius-sm) + 2px);
  border: 1px solid var(--line-2);
  background: var(--tint);
  color: var(--text);
  transition: border-color 0.25s, background 0.25s, transform 0.25s;
}
.social-card:hover {
  border-color: rgba(90, 168, 255, 0.45);
  background: var(--blue-soft);
  transform: translateY(-1px);
}
.social-card__ico {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 14px;
  border: 1px solid var(--line-2);
  background: var(--bg);
  color: var(--blue-2);
  font-size: 1.25rem;
}
.social-card__ico svg {
  width: 1.25rem;
  height: 1.25rem;
}
.social-card__body {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}
.social-card__body strong {
  font-family: var(--display);
  font-stretch: 110%;
  font-weight: 750;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}
.social-card__body span {
  color: var(--muted);
  font-size: 0.88rem;
}
.social-card__go {
  color: var(--muted);
  font-size: 1.05rem;
  transition: color 0.25s, transform 0.25s;
}
.social-card:hover .social-card__go {
  color: var(--ice);
  transform: translateX(2px);
}
.socials__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.2rem;
}

.legal__inner {
  max-width: 720px;
  padding-block: 2rem 4rem;
}
.legal__prose {
  color: var(--text-2);
  font-size: 1.02rem;
  line-height: 1.65;
}
.legal__prose h2 {
  margin: 2rem 0 0.7rem;
  color: var(--text);
  font-family: var(--display);
  font-stretch: 112%;
  font-size: 1.35rem;
}
.legal__prose ul {
  padding-left: 1.2rem;
}
.legal__prose li + li {
  margin-top: 0.45rem;
}
.legal__prose a {
  color: var(--ice);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.legal__prose code {
  font-size: 0.9em;
  padding: 0.1em 0.35em;
  border-radius: 6px;
  background: var(--tint);
}
@media (max-width: 760px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer__brand {
    grid-column: 1 / -1;
  }
  .footer {
    padding-bottom: 6.5rem;
  }
}

/* ---------- Mobile booking bar ---------- */

.mbar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 70;
  display: none;
  gap: 0.5rem;
  padding: 0.5rem;
  border-radius: 999px;
  background: var(--bar-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--line-2);
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.35);
  transform: translateY(140%);
  transition: transform 0.5s var(--ease);
}
.mbar.is-on {
  transform: none;
}
.mbar .btn:first-child {
  width: 48px;
  padding: 0;
  flex: none;
  font-size: 1.25rem;
}
.mbar .btn:last-child {
  flex: 1;
}
@media (max-width: 760px) {
  .mbar {
    display: flex;
  }
}

/* ==========================================================================
   Booking page
   ========================================================================== */

.page {
  padding: calc(var(--nav-h) + clamp(2rem, 5vw, 3.5rem)) 0 clamp(4rem, 8vw, 6rem);
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(43, 140, 255, 0.14), transparent 60%),
    var(--bg);
  min-height: 100svh;
}
.page__head {
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.page__title {
  margin: 0;
  color: var(--text);
  font-family: var(--display);
  font-stretch: 118%;
  font-weight: 850;
  font-size: clamp(2.3rem, 5.4vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.book {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}
.book__main {
  min-width: 0;
}
.bstep {
  min-width: 0;
  padding: clamp(1.4rem, 3vw, 2rem);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  box-shadow: var(--card-shadow);
}
.bstep + .bstep {
  margin-top: 1rem;
}
.bstep__head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.3rem;
}
.bstep__n {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  color: var(--text-2);
  font-size: 0.82rem;
  font-weight: 600;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.bstep.is-done .bstep__n {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
.bstep__title {
  margin: 0;
  color: var(--text);
  font-family: var(--display);
  font-stretch: 110%;
  font-weight: 750;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}
.bstep__hint {
  margin: -0.6rem 0 1.2rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.opts {
  display: grid;
  gap: 0.7rem;
}
.opts--3 {
  grid-template-columns: repeat(3, 1fr);
}
.opts--4 {
  grid-template-columns: repeat(4, 1fr);
}
.opt {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-2);
  background: var(--tint);
  color: var(--text-2);
  text-align: left;
  font: inherit;
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.3s;
}
.opt:hover {
  border-color: rgba(90, 168, 255, 0.45);
}
.opt[aria-pressed="true"] {
  border-color: var(--blue);
  background: rgba(43, 140, 255, 0.09);
  box-shadow: 0 0 0 1px var(--blue) inset, 0 12px 30px -16px var(--glow);
}
.opt[aria-pressed="true"]::after {
  content: "";
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--blue)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E")
    center / 12px no-repeat;
}
.opt__title {
  color: var(--text);
  font-weight: 600;
  font-size: 0.98rem;
  padding-right: 1.4rem;
}
.opt__meta {
  color: var(--muted);
  font-size: 0.84rem;
}
.opt__price {
  color: var(--ice);
  font-weight: 600;
  font-size: 0.9rem;
}
.opt--svc {
  padding: 0;
  overflow: hidden;
}
.opt--svc .opt__img {
  aspect-ratio: 16 / 9;
  width: 100%;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
  filter: saturate(0.9);
  transition: filter 0.3s;
}
.opt--svc[aria-pressed="true"] .opt__img {
  filter: none;
}
.opt--svc .opt__body {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.9rem 1rem 1rem;
}
.opt--svc[aria-pressed="true"]::after {
  top: 0.7rem;
  right: 0.7rem;
}

.seg {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  padding: 0.3rem;
  margin-top: 1rem;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--tint);
}
.seg button {
  padding: 0.55rem 1rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text-2);
  font: 500 0.88rem/1 var(--body);
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
}
.seg button[aria-pressed="true"] {
  background: var(--blue);
  color: #fff;
}
.callout {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: rgba(43, 140, 255, 0.07);
  border: 1px solid rgba(90, 168, 255, 0.22);
  color: var(--text-2);
  font-size: 0.86rem;
  line-height: 1.5;
}
.callout svg {
  margin-top: 0.15rem;
  color: var(--blue-2);
  font-size: 1.1rem;
}

/* ---------- Booking calendar ---------- */

.cal {
  margin-top: 0.25rem;
  padding: 1rem;
  border-radius: calc(var(--radius-sm) + 4px);
  border: 1px solid var(--line-2);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 40%),
    var(--tint);
}
.cal__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1rem;
  margin-bottom: 1rem;
}
.cal__nav {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}
.cal__heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  min-width: 0;
}
.cal__label {
  margin: 0;
  color: var(--text);
  font-family: var(--display);
  font-stretch: 112%;
  font-weight: 750;
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  white-space: nowrap;
}
.cal__today {
  border: 0;
  padding: 0;
  background: none;
  color: var(--blue-2);
  font: 600 0.72rem/1 var(--body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}
.cal__today:hover {
  color: var(--ice);
}
.cal__btn {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: var(--bg);
  color: var(--text-2);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.cal__btn:hover {
  border-color: rgba(90, 168, 255, 0.45);
  color: var(--text);
}
.cal__btn svg {
  width: 1.05rem;
  height: 1.05rem;
}
.cal__views {
  margin-top: 0;
}
.cal__body {
  min-height: 12rem;
}
.cal__heads,
.cal__grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.35rem;
}
.cal__heads {
  margin-bottom: 0.35rem;
}
.cal__head {
  text-align: center;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.2rem 0;
}
.cal__cell {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.12rem;
  min-height: 3.35rem;
  padding: 0.45rem 0.2rem 0.4rem;
  border-radius: 12px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-2);
  font: inherit;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s, transform 0.2s;
}
.cal__cell:hover:not([disabled]):not(.is-out) {
  border-color: rgba(90, 168, 255, 0.35);
  background: var(--blue-soft);
}
.cal__dow {
  display: none;
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.cal__num {
  color: var(--text);
  font-family: var(--display);
  font-stretch: 110%;
  font-weight: 750;
  font-size: 1.05rem;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.cal__marks {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  min-height: 0.7rem;
}
.cal__pip {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ice);
  box-shadow: 0 0 0 2px rgba(185, 220, 255, 0.15);
}
.cal__pip--open {
  background: rgba(90, 168, 255, 0.45);
  box-shadow: none;
}
.cal__marks em {
  color: var(--ice);
  font-style: normal;
  font-size: 0.62rem;
  font-weight: 700;
}
.cal__cell.is-out {
  opacity: 0.28;
  cursor: default;
}
.cal__cell.is-closed:not(.is-out) {
  opacity: 0.4;
  cursor: not-allowed;
}
.cal__cell.is-closed .cal__num {
  text-decoration: line-through;
  text-decoration-color: rgba(138, 148, 165, 0.55);
}
.cal__cell.is-active {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 24px -14px rgba(43, 140, 255, 0.85);
}
.cal__cell.is-active .cal__num,
.cal__cell.is-active .cal__dow {
  color: #fff;
}
.cal__cell.is-active .cal__pip,
.cal__cell.is-active .cal__pip--open {
  background: #fff;
  box-shadow: none;
}
.cal__cell.is-active .cal__marks em {
  color: #fff;
}
.cal__cell.has-pick:not(.is-active) {
  border-color: rgba(90, 168, 255, 0.4);
  background: rgba(43, 140, 255, 0.08);
}

.cal__week {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.45rem;
}
.cal__cell--week {
  min-height: 5.2rem;
  padding: 0.7rem 0.35rem;
  border-color: var(--line);
  background: var(--bg);
}
.cal__cell--week .cal__dow {
  display: block;
}
.cal__cell--week .cal__num {
  font-size: 1.35rem;
  margin-top: 0.15rem;
}

.cal__dayfocus {
  display: grid;
  gap: 0.85rem;
  justify-items: start;
}
.cal__daycard {
  width: min(100%, 280px);
  display: grid;
  gap: 0.2rem;
  padding: 1.15rem 1.25rem 1.2rem;
  border-radius: 16px;
  border: 1px solid var(--line-2);
  background:
    linear-gradient(145deg, rgba(43, 140, 255, 0.12), transparent 55%),
    var(--bg);
}
.cal__daycard.is-active {
  border-color: var(--blue);
  box-shadow: 0 16px 36px -22px rgba(43, 140, 255, 0.7);
}
.cal__daycard.is-closed {
  opacity: 0.72;
}
.cal__daycard-dow {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.cal__daycard-num {
  color: var(--text);
  font-family: var(--display);
  font-stretch: 115%;
  font-weight: 800;
  font-size: 3rem;
  line-height: 1;
  letter-spacing: -0.03em;
}
.cal__daycard-mon {
  color: var(--text-2);
  font-size: 0.95rem;
}
.cal__daycard-status {
  margin-top: 0.45rem;
  color: var(--blue-2);
  font-size: 0.82rem;
  font-weight: 600;
}
.cal__daycard.is-closed .cal__daycard-status {
  color: var(--muted);
}
.cal__use-day {
  margin-top: 0.1rem;
}

.cal__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.1rem;
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.cal__legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.cal__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}
.cal__dot--open {
  background: rgba(90, 168, 255, 0.55);
}
.cal__dot--pick {
  background: var(--ice);
  box-shadow: 0 0 0 2px rgba(185, 220, 255, 0.18);
}
.cal__dot--closed {
  background: transparent;
  border: 1px solid rgba(138, 148, 165, 0.55);
}

.times-panel {
  margin-top: 1.15rem;
  padding: 1rem;
  border-radius: calc(var(--radius-sm) + 4px);
  border: 1px solid var(--line-2);
  background: var(--tint);
}
.times-panel__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem 1rem;
  margin-bottom: 0.85rem;
}
.times-panel__title {
  margin: 0;
  color: var(--text);
  font-family: var(--display);
  font-stretch: 110%;
  font-weight: 750;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}
.times-panel__meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}
.times {
  display: grid;
  gap: 0.85rem;
  min-height: 48px;
}
.times__group-label {
  margin: 0 0 0.4rem;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.times__row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
  gap: 0.45rem;
}
.time {
  height: 46px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: var(--bg);
  color: var(--text);
  font: 600 0.95rem/1 var(--body);
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.time:hover {
  border-color: rgba(90, 168, 255, 0.5);
}
.time[aria-pressed="true"] {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 22px -14px rgba(43, 140, 255, 0.9);
}
.times__empty {
  margin: 0;
  padding: 1.1rem 1rem;
  border-radius: 12px;
  border: 1px dashed var(--line-2);
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}
.skeleton {
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(90deg, var(--tint), var(--tint-2), var(--tint));
  background-size: 200% 100%;
  animation: shimmer 1.2s linear infinite;
}
@keyframes shimmer {
  to {
    background-position: -200% 0;
  }
}
@media (max-width: 640px) {
  .cal {
    padding: 0.85rem;
  }
  .cal__toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .cal__nav {
    justify-content: space-between;
  }
  .cal__views {
    width: 100%;
    justify-content: stretch;
  }
  .cal__views button {
    flex: 1;
  }
  .cal__week {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cal__cell--week:nth-child(7) {
    grid-column: 1 / -1;
  }
  .cal__cell {
    min-height: 2.85rem;
  }
  .cal__num {
    font-size: 0.95rem;
  }
}

.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.field {
  display: grid;
  gap: 0.4rem;
}
.field--full {
  grid-column: 1 / -1;
}
.field label {
  color: var(--text-2);
  font-size: 0.85rem;
  font-weight: 500;
}
.field label small {
  color: var(--muted);
  font-weight: 400;
}
.field input {
  height: 50px;
  padding: 0 1rem;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: var(--input-bg);
  color: var(--text);
  font: 400 1rem/1 var(--body);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input::placeholder {
  color: var(--placeholder);
}
.field input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(43, 140, 255, 0.18);
}
.field input:user-invalid {
  border-color: #f87171;
}

.summary {
  position: sticky;
  top: calc(var(--nav-h) + 20px);
  border-radius: var(--radius);
  padding: 1px;
  background: linear-gradient(160deg, rgba(90, 168, 255, 0.6), rgba(43, 140, 255, 0.12) 40%, rgba(43, 140, 255, 0.35));
  box-shadow: 0 30px 80px -30px rgba(43, 140, 255, 0.45);
}
.summary__inner {
  padding: 1.6rem;
  border-radius: calc(var(--radius) - 1px);
  background: radial-gradient(120% 50% at 50% 0%, rgba(43, 140, 255, 0.14), transparent 60%), var(--summary-bg);
}
.summary__title {
  margin: 0 0 1.2rem;
  color: var(--text);
  font-family: var(--display);
  font-stretch: 110%;
  font-weight: 750;
  font-size: 1.15rem;
}
.summary__rows {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0 0 1.2rem;
  border-bottom: 1px solid var(--line);
}
.summary__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
}
.summary__row dt {
  color: var(--muted);
}
.summary__row dd {
  margin: 0;
  color: var(--text);
  text-align: right;
  font-weight: 500;
}
.visits {
  display: grid;
  gap: 0.4rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}
.visit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  background: var(--tint);
  color: var(--text-2);
  font-size: 0.86rem;
  font-variant-numeric: tabular-nums;
}
.visit button {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.visit button:hover {
  color: var(--text);
  background: var(--tint-2);
}
.visit button svg {
  transform: rotate(45deg);
}
.summary__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 1.2rem 0;
}
.summary__total span {
  color: var(--text-2);
  font-size: 0.9rem;
}
.summary__total strong {
  color: var(--text);
  font-family: var(--display);
  font-stretch: 112%;
  font-weight: 800;
  font-size: 2.2rem;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.summary__sub {
  margin: -0.8rem 0 1.2rem;
  color: var(--muted);
  font-size: 0.82rem;
  text-align: right;
}
.summary .btn {
  width: 100%;
}
.summary__status {
  min-height: 1.3em;
  margin: 0.8rem 0 0;
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
}
.summary__status.is-error {
  color: var(--error);
}
.summary__legal {
  margin: 0.65rem 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.4;
}
.summary__legal a {
  color: var(--ice);
  text-decoration: underline;
  text-underline-offset: 0.12em;
}
.summary__secure {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.1rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.5;
}
.summary__secure svg {
  margin-top: 0.1rem;
  color: #34d399;
  font-size: 1.1rem;
}
.summary__alt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  margin-top: 0.9rem;
  color: var(--text-2);
  font-size: 0.86rem;
}
.summary__alt:hover {
  color: #25d366;
}
.fallback {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 14px;
  background: rgba(37, 211, 102, 0.07);
  border: 1px solid rgba(37, 211, 102, 0.3);
  color: var(--text-2);
  font-size: 0.88rem;
}
.fallback .btn {
  margin-top: 0.8rem;
  background: #25d366;
  color: #04140a;
  box-shadow: none;
}

@media (max-width: 1000px) {
  .book {
    grid-template-columns: minmax(0, 1fr);
  }
  .summary {
    position: static;
  }
}
@media (max-width: 640px) {
  .opts--3,
  .opts--4 {
    grid-template-columns: 1fr 1fr;
  }
  .opts--svc {
    grid-template-columns: 1fr;
  }
  .opt--svc {
    flex-direction: row;
  }
  .opt--svc .opt__img {
    width: 110px;
    aspect-ratio: auto;
    border-bottom: 0;
    border-right: 1px solid var(--line);
  }
  .fields {
    grid-template-columns: 1fr;
  }
}

/* Result pages */
.result {
  max-width: 620px;
  margin-inline: auto;
  text-align: center;
}
.result__icon {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  margin: 0 auto 2rem;
  border-radius: 50%;
  font-size: 2.2rem;
  color: #fff;
  background: linear-gradient(180deg, #3d97ff, #1f7cf0);
  box-shadow: 0 0 0 10px rgba(43, 140, 255, 0.12), 0 20px 60px -10px var(--glow);
}
.result__icon--muted {
  background: var(--surface-2);
  color: var(--text-2);
  box-shadow: 0 0 0 10px var(--tint);
}
.result .lead {
  margin-inline: auto;
}
.result__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

/* ---------- Mobile pay bar (booking) ---------- */

.paybar {
  display: none;
}
@media (max-width: 1000px) {
  .paybar:not([hidden]) {
    position: fixed;
    z-index: 50;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 10px 10px 10px 18px;
    border-radius: 999px;
    border: 1px solid var(--line-2);
    background: var(--nav-bg);
    -webkit-backdrop-filter: blur(16px) saturate(1.4);
    backdrop-filter: blur(16px) saturate(1.4);
    box-shadow: 0 18px 40px -14px rgba(0, 0, 0, 0.45);
    transition: transform 0.45s var(--ease), opacity 0.3s;
  }
  .paybar.is-away {
    transform: translateY(140%);
    opacity: 0;
    pointer-events: none;
  }
  .paybar__info {
    display: grid;
    line-height: 1.15;
    min-width: 0;
  }
  .paybar__info span {
    color: var(--muted);
    font-size: 0.78rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .paybar__info strong {
    color: var(--text);
    font-family: var(--display);
    font-stretch: 110%;
    font-size: 1.25rem;
  }
  .paybar .btn {
    --h: 46px;
    flex: none;
  }
  .page:has(~ .paybar) {
    padding-bottom: 6rem;
  }
}
@media (max-width: 420px) {
  .nav__back {
    display: none;
  }
}

/* ---------- Scroll entry: squeegee wipe + polish glint ---------- */

.fx-wipe {
  --w: 0;
  position: relative;
  clip-path: inset(-40px calc((1 - var(--w)) * (100% + 40px) - 40px) -40px -40px);
}
.fx-sheen {
  position: absolute;
  z-index: 4;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  pointer-events: none;
  mix-blend-mode: var(--sheen-blend, screen);
}
.fx-sheen::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--w) * 100% - 34%);
  width: 34%;
  background:
    linear-gradient(90deg, transparent 0%, var(--sheen) 88%, transparent 100%),
    linear-gradient(90deg, transparent calc(100% - 3px), var(--glint) calc(100% - 2px), transparent 100%);
}
[data-theme="light"] {
  --sheen-blend: normal;
}
[data-theme="light"] :is(.feature, .area, .cta__inner) {
  --sheen-blend: screen;
}

.fx-gloss {
  background: linear-gradient(100deg, var(--text) 0 40%, var(--glint) 50%, var(--text) 60% 100%);
  background-size: 300% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
}

.motion .eyebrow::before {
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.9s var(--ease) 0.15s;
}
.motion .eyebrow.is-in::before {
  transform: none;
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero__sweep {
    display: none;
  }
  .marquee__track {
    animation: none;
  }
}
