@import url("tokens.css");

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

html {
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  overflow-x: clip;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: var(--lh-body);
  color: var(--color-ink);
  background-color: var(--color-paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

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

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
}

/* === Utilities === */
.container {
  width: 100%;
  max-width: 76rem;
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 1.5rem);
}

/* === Focus === */
:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 2px;
}

:focus:not(:focus-visible) {
  outline: none;
}

/* === Nav (N9 Edge-aligned minimal) === */
.nav {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky-nav);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--space-md);
  padding-inline: clamp(1rem, 4vw, 1.5rem);
  background-color: var(--color-paper);
  line-height: 1;
}

.nav::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--rule-weight);
  background: var(--color-rule);
  opacity: 0;
  transition: opacity var(--dur-short) var(--ease-out);
}

.nav.is-scrolled::after {
  opacity: 1;
}

/* Logo */
.nav__logo {
  display: flex;
  align-items: center;
}

.nav__mark {
  width: 7rem;
  height: auto;
  flex-shrink: 0;
  display: block;
}

.nav__links {
  display: none;
}

.nav__cta {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: var(--space-xs) var(--space-md);
  border: var(--rule-weight) solid var(--color-ink);
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: background-color var(--dur-micro) var(--ease-out),
              color var(--dur-micro) var(--ease-out);
}

.nav__cta:hover {
  background-color: var(--color-ink);
  color: var(--color-paper);
}

.nav__cta:active {
  transform: translateY(1px);
}

/* Mobile menu */
.nav__hamburger {
  display: none;
  background: none;
  border: none;
  width: 2.75rem;
  height: 2.75rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: var(--space-xs);
}

.nav__hamburger span {
  display: block;
  width: 1.25rem;
  height: 2px;
  background: var(--color-ink);
  position: relative;
  transition: background-color var(--dur-micro) var(--ease-out);
}

.nav__hamburger span::before,
.nav__hamburger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-ink);
  transition: transform var(--dur-short) var(--ease-out);
}

.nav__hamburger span::before { top: -6px; }
.nav__hamburger span::after  { top: 6px; }

.nav__hamburger[aria-expanded="true"] span {
  background-color: transparent;
}

.nav__hamburger[aria-expanded="true"] span::before {
  transform: rotate(45deg) translate(4px, 4px);
}

.nav__hamburger[aria-expanded="true"] span::after {
  transform: rotate(-45deg) translate(4px, -4px);
}

/* Mobile nav overlay */
.nav__mobile {
  display: none;
  position: fixed;
  top: 3.5rem;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--color-paper);
  z-index: var(--z-modal);
  padding: var(--space-2xl) clamp(1rem, 4vw, 1.5rem);
  flex-direction: column;
  gap: var(--space-lg);
}

.nav__mobile.is-open {
  display: flex;
}

.nav__mobile a {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  padding-block: var(--space-sm);
  border-bottom: var(--rule-weight) solid var(--color-rule);
}

.nav__mobile a:last-child {
  border-bottom: none;
  margin-top: var(--space-md);
  text-align: center;
  padding: var(--space-md);
  border: var(--rule-weight) solid var(--color-accent);
  color: var(--color-accent);
  border-radius: var(--radius-sm);
}

/* === Hero (H2 Split Diptych 7/5) === */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: var(--space-2xl);
  align-items: start;
  padding-block-start: var(--space-3xl);
  padding-block-end: var(--space-4xl);
  padding-inline: clamp(1rem, 4vw, 1.5rem);
  max-width: 76rem;
  margin-inline: auto;
}

/* Subtle blue glow — atmospheric accent */
.hero::before {
  content: "";
  position: absolute;
  top: -20%;
  left: -10%;
  width: 50%;
  height: 60%;
  background: radial-gradient(ellipse, var(--color-accent-glow), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.hero__eyebrow {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-md);
}

.hero__display {
  font-family: var(--font-display);
  font-size: var(--text-display);
  font-weight: 700;
  line-height: var(--lh-tight);
  letter-spacing: -0.03em;
  overflow-wrap: anywhere;
  min-width: 0;
  max-width: 18ch;
}

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

.hero__lede {
  margin-top: var(--space-lg);
  font-size: var(--text-md);
  line-height: var(--lh-body);
  color: var(--color-ink-dim);
  max-width: 50ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-top: var(--space-xl);
  align-items: center;
}

.hero__proof {
  padding-top: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  border-left: var(--rule-weight) solid var(--color-rule);
  padding-left: var(--space-xl);
}

.proof-item {
  padding: var(--space-md);
  border-radius: var(--radius-sm);
  transition: transform var(--dur-short) var(--ease-out),
              background-color var(--dur-short) var(--ease-out),
              box-shadow var(--dur-short) var(--ease-out);
}

.proof-item:hover {
  transform: perspective(600px) translateZ(12px);
  background-color: var(--color-paper-2);
  box-shadow: 0 8px 32px -8px var(--color-accent-glow);
}

.proof-item__marker {
  display: block;
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
  margin-bottom: var(--space-xs);
  box-shadow: 0 0 8px 2px var(--color-accent-glow);
  animation: pulse-marker 2.4s var(--ease-in-out) infinite;
}

@keyframes pulse-marker {
  0%, 100% { box-shadow: 0 0 8px 2px var(--color-accent-glow); }
  50% { box-shadow: 0 0 16px 4px var(--color-accent-glow); }
}

.proof-item__label {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.proof-item__desc {
  margin-top: var(--space-2xs);
  font-size: var(--text-sm);
  color: var(--color-ink-dim);
  max-width: 35ch;
}

/* === Section title === */
.section__title {
  font-family: var(--font-display);
  font-size: var(--text-display-s);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: var(--lh-snug);
  overflow-wrap: anywhere;
  min-width: 0;
}

.section__title--sm {
  font-size: var(--text-xl);
}

.section__title--spaced {
  margin-top: var(--space-2xl);
}

/* === Services (F3 Tabular Spec Sheet, diptych) === */
.services {
  padding-block: var(--space-4xl) var(--space-3xl);
  padding-inline: clamp(1rem, 4vw, 1.5rem);
  max-width: 76rem;
  margin-inline: auto;
  border-top: var(--rule-weight) solid var(--color-rule);
}

.services__subtitle {
  font-family: var(--font-display);
  font-size: var(--text-md);
  font-weight: 500;
  color: var(--color-ink-dim);
  margin-top: var(--space-xs);
}

.services__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  margin-top: var(--space-2xl);
}

.spec-table {
  width: 100%;
  margin-top: var(--space-lg);
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.spec-table tr {
  border-bottom: var(--rule-weight) solid var(--color-rule);
}

.spec-table td {
  padding-block: var(--space-sm);
  vertical-align: baseline;
}

.spec-table__name {
  font-size: var(--text-base);
  padding-right: var(--space-md);
}

.spec-table__note {
  display: block;
  font-size: var(--text-sm);
  color: var(--color-muted);
  margin-top: var(--space-3xs);
}

.spec-table__price {
  text-align: right;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-base);
  white-space: nowrap;
  color: var(--color-ink);
}

/* === Packages === */
.packages {
  padding-block: var(--space-3xl) var(--space-4xl);
  padding-inline: clamp(1rem, 4vw, 1.5rem);
  max-width: 76rem;
  margin-inline: auto;
  border-top: var(--rule-weight) solid var(--color-rule);
}

.packages__subtitle {
  color: var(--color-muted);
  font-size: var(--text-sm);
  margin-top: var(--space-xs);
}

.packages__grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
  align-items: start;
}

.package {
  background: var(--color-paper-2);
  border: var(--rule-weight) solid var(--color-rule);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
}

.package--featured {
  border-color: var(--color-accent);
  border-top-width: 3px;
  background: var(--color-paper-3);
  box-shadow: 0 0 40px -10px var(--color-accent-glow),
              0 0 80px -20px var(--color-accent-glow);
}

.package__badge {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}

.package__name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.package__price {
  margin-top: var(--space-sm);
  font-size: var(--text-sm);
  color: var(--color-muted);
}

.package__price strong {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-ink);
  font-variant-numeric: tabular-nums;
}

.package__list {
  margin-top: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  flex-grow: 1;
}

.package__list li {
  font-size: var(--text-sm);
  color: var(--color-ink-dim);
  padding-left: var(--space-md);
  position: relative;
}

.package__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  background: var(--color-accent);
  border-radius: 1px;
}

.package__cta {
  margin-top: var(--space-xl);
}

/* === Booking (diptych) === */
.booking {
  padding-block: var(--space-4xl) var(--space-3xl);
  padding-inline: clamp(1rem, 4vw, 1.5rem);
  max-width: 76rem;
  margin-inline: auto;
  border-top: var(--rule-weight) solid var(--color-rule);
  position: relative;
}

.booking::before {
  content: "";
  position: absolute;
  bottom: -10%;
  right: -10%;
  width: 40%;
  height: 50%;
  background: radial-gradient(ellipse, var(--color-accent-glow), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.booking__grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: var(--space-3xl);
  align-items: start;
}

.booking__desc {
  margin-top: var(--space-md);
  color: var(--color-ink-dim);
  max-width: 40ch;
  font-size: var(--text-md);
}

.booking__contact {
  margin-top: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.booking__phone {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-accent);
  transition: color var(--dur-micro) var(--ease-out);
}

.booking__phone:hover {
  color: var(--color-accent-hover);
}

.booking__email {
  font-size: var(--text-sm);
  color: var(--color-muted);
  transition: color var(--dur-micro) var(--ease-out);
}

.booking__email:hover {
  color: var(--color-ink);
}

.booking__why {
  margin-top: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: var(--rule-weight) solid var(--color-rule);
}

.booking__why-title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.booking__why-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.booking__why-list li {
  font-size: var(--text-sm);
  color: var(--color-ink-dim);
  padding-left: var(--space-md);
  position: relative;
}

.booking__why-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  background: var(--color-accent);
  border-radius: 1px;
}

/* === Form === */
.booking__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.form__field {
  display: flex;
  flex-direction: column;
}

.form__label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-muted);
  margin-bottom: var(--space-2xs);
}

.form__input {
  width: 100%;
  height: var(--input-height);
  padding-inline: var(--space-sm);
  font-size: var(--text-base);
  color: var(--color-ink);
  background: var(--color-paper-2);
  border: var(--rule-weight) solid var(--color-rule);
  border-radius: var(--radius-sm);
  outline: 2px solid transparent;
  outline-offset: 1px;
  transition: border-color var(--dur-micro) var(--ease-out),
              background-color var(--dur-micro) var(--ease-out);
}

.form__input::placeholder {
  color: var(--color-neutral);
}

.form__input:hover {
  border-color: var(--color-neutral);
}

.form__input:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 1px;
  border-color: var(--color-accent);
  background-color: var(--color-paper-3);
}

.form__input:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.form__input.is-error {
  border-color: var(--color-error);
}

.form__select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%23888' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-sm) center;
  padding-right: var(--space-xl);
}

.form__textarea {
  height: auto;
  padding-block: var(--space-sm);
  resize: vertical;
  min-height: 5rem;
}

.form__helper {
  min-height: 1lh;
  font-size: var(--text-xs);
  color: var(--color-error);
  padding-top: var(--space-3xs);
}

/* === Radio group (service type) === */
.form__radio-group {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.form__radio {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  cursor: pointer;
  padding: var(--space-sm) var(--space-md);
  background: var(--color-paper-2);
  border: var(--rule-weight) solid var(--color-rule);
  border-radius: var(--radius-sm);
  flex: 1 1 0;
  min-width: 0;
  transition: border-color var(--dur-micro) var(--ease-out),
              background-color var(--dur-micro) var(--ease-out);
}

.form__radio:hover {
  border-color: var(--color-neutral);
}

.form__radio:has(input:checked) {
  border-color: var(--color-accent);
  background: var(--color-paper-3);
}

.form__radio input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.form__radio-mark {
  width: 1.125rem;
  height: 1.125rem;
  border-radius: 50%;
  border: 2px solid var(--color-neutral);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--dur-micro) var(--ease-out);
}

.form__radio-mark::after {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--color-accent);
  transform: scale(0);
  transition: transform var(--dur-micro) var(--ease-out);
}

.form__radio input:checked ~ .form__radio-mark {
  border-color: var(--color-accent);
}

.form__radio input:checked ~ .form__radio-mark::after {
  transform: scale(1);
}

.form__radio input:focus-visible ~ .form__radio-mark {
  outline: 2px solid var(--color-focus);
  outline-offset: 2px;
}

.form__radio-text {
  font-size: var(--text-sm);
  font-weight: 500;
  line-height: var(--lh-snug);
}

.form__radio-note {
  color: var(--color-muted);
  font-weight: 400;
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: var(--input-height);
  padding-inline: var(--space-lg);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: var(--radius-sm);
  cursor: pointer;
  white-space: nowrap;
  line-height: 1;
  outline: 2px solid transparent;
  outline-offset: 1px;
  transition: background-color var(--dur-micro) var(--ease-out),
              color var(--dur-micro) var(--ease-out),
              border-color var(--dur-micro) var(--ease-out),
              transform var(--dur-micro) var(--ease-out);
}

.btn:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 2px;
}

.btn:active {
  transform: translateY(1px);
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.btn--accent {
  background-color: var(--color-accent);
  color: var(--color-accent-ink);
  border: var(--rule-weight) solid var(--color-accent);
}

.btn--accent:hover {
  background-color: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
}

.btn--outlined {
  background: transparent;
  color: var(--color-ink);
  border: var(--rule-weight) solid var(--color-rule);
}

.btn--outlined:hover {
  border-color: var(--color-ink);
}

.btn--full {
  width: 100%;
}

/* === Footer (Ft5 Statement) === */
.footer {
  padding-block: var(--space-4xl) var(--space-2xl);
  padding-inline: clamp(1rem, 4vw, 1.5rem);
  max-width: 76rem;
  margin-inline: auto;
  text-align: left;
}

.footer__statement {
  font-family: var(--font-display);
  font-size: var(--text-display-s);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: var(--lh-tight);
  max-width: 20ch;
  overflow-wrap: anywhere;
  min-width: 0;
}

.footer__logo {
  width: 12rem;
  height: auto;
  margin-top: var(--space-xl);
}

.footer__rule {
  border: none;
  height: var(--rule-weight);
  background: var(--color-rule);
  margin-top: var(--space-lg);
}

.footer__meta {
  margin-top: var(--space-lg);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  font-size: var(--text-sm);
  color: var(--color-muted);
  align-items: center;
  line-height: 1;
}

.footer__meta a {
  color: var(--color-muted);
  transition: color var(--dur-micro) var(--ease-out);
}

.footer__meta a:hover {
  color: var(--color-ink);
}

.footer__sep {
  color: var(--color-neutral);
}

/* === Animations === */
.reveal {
  opacity: 0;
  transform: perspective(800px) rotateX(12deg) translateY(16px);
  transform-origin: center bottom;
}

.reveal.is-visible {
  animation: reveal3d var(--dur-long) var(--ease-out) forwards;
  animation-delay: calc(var(--i, 0) * 60ms);
}

@keyframes reveal3d {
  to {
    opacity: 1;
    transform: perspective(800px) rotateX(0deg) translateY(0px);
  }
}

/* === 3D Animations === */

/* --- Nav mark: floating car logo --- */
@keyframes carFloat {
  0%, 100% {
    transform: translateY(0px) rotateX(0deg);
  }
  33% {
    transform: translateY(-3px) rotateX(2deg);
  }
  66% {
    transform: translateY(-1.5px) rotateX(-1deg);
  }
}

.nav__mark {
  animation: carFloat 3.6s var(--ease-in-out) infinite;
  transform-style: preserve-3d;
}

/* --- Hero proof column: 3D tilt target --- */
.hero {
  perspective: 1200px;
}

.hero__proof {
  transform-style: preserve-3d;
  transition: transform var(--dur-long) var(--ease-out);
  will-change: transform;
}

/* Parallax depth layers */
[data-parallax] {
  will-change: transform;
}

/* --- Package cards: 3D hover lift --- */
.packages__grid {
  perspective: 1000px;
}

.package {
  transform-style: preserve-3d;
  transition: transform var(--dur-long) var(--ease-out),
              box-shadow var(--dur-long) var(--ease-out);
}

.package:hover {
  transform: perspective(800px) rotateX(-2deg) rotateY(2deg) translateZ(18px);
  box-shadow: 0 12px 40px -8px oklch(0% 0 0 / 0.45),
              0 0 30px -8px var(--color-accent-glow);
  will-change: transform;
}

.package--featured:hover {
  transform: perspective(800px) rotateX(-3deg) rotateY(2.5deg) translateZ(28px);
  box-shadow: 0 16px 56px -8px oklch(0% 0 0 / 0.55),
              0 0 48px -8px var(--color-accent-glow);
}

/* --- Spec table rows: 3D lift on hover --- */
.spec-table tr {
  border-bottom: var(--rule-weight) solid var(--color-rule);
  transition: transform var(--dur-short) var(--ease-out),
              box-shadow var(--dur-short) var(--ease-out),
              background-color var(--dur-short) var(--ease-out);
}

.spec-table tr:hover {
  transform: translateZ(6px);
  background-color: var(--color-paper-2);
  box-shadow: 0 4px 16px -4px oklch(0% 0 0 / 0.35),
              0 0 12px -4px var(--color-accent-glow);
  will-change: transform;
}

/* Wrap each table in preserve-3d context */
.spec-table {
  transform-style: preserve-3d;
}

/* --- Form inputs: 3D focus lift --- */
.form__input {
  transition: border-color var(--dur-micro) var(--ease-out),
              background-color var(--dur-micro) var(--ease-out),
              transform var(--dur-short) var(--ease-out),
              box-shadow var(--dur-short) var(--ease-out);
}

.form__input:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 1px;
  border-color: var(--color-accent);
  background-color: var(--color-paper-3);
  transform: perspective(600px) translateZ(8px);
  box-shadow: 0 6px 24px -4px oklch(0% 0 0 / 0.4),
              0 0 16px -4px var(--color-accent-glow);
  will-change: transform;
}

/* --- CTA buttons: 3D press effect --- */
.btn--accent {
  transition: background-color var(--dur-micro) var(--ease-out),
              color var(--dur-micro) var(--ease-out),
              border-color var(--dur-micro) var(--ease-out),
              transform var(--dur-short) var(--ease-out),
              box-shadow var(--dur-short) var(--ease-out);
  transform: perspective(400px) translateZ(0px);
}

.btn--accent:hover {
  background-color: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  transform: perspective(400px) translateZ(10px);
  box-shadow: 0 8px 28px -4px oklch(0% 0 0 / 0.4),
              0 0 20px -4px var(--color-accent-glow);
  will-change: transform;
}

.btn--accent:active {
  transform: perspective(400px) translateZ(-4px);
  box-shadow: 0 2px 8px -2px oklch(0% 0 0 / 0.3);
  transition-duration: var(--dur-micro);
}

/* === Responsive === */

/* Tablet */
@media (max-width: 60rem) {
  .hero {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    padding-block-start: var(--space-2xl);
    padding-block-end: var(--space-3xl);
  }

  .hero__proof {
    border-left: none;
    padding-left: 0;
    border-top: var(--rule-weight) solid var(--color-rule);
    padding-top: var(--space-xl);
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--space-xl);
  }

  .proof-item {
    flex: 1 1 200px;
  }

  .services__grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

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

  .packages__grid .package:last-child {
    grid-column: 1 / -1;
    max-width: 50%;
  }

  .booking__grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .nav__cta {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }
}

/* Mobile */
@media (max-width: 40rem) {
  .hero__display {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .hero__proof {
    flex-direction: column;
  }

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

  .packages__grid .package:last-child {
    max-width: 100%;
  }

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

  .footer__statement {
    font-size: var(--text-2xl);
  }

  .footer__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-xs);
  }

  .footer__sep {
    display: none;
  }

  .section__title {
    font-size: var(--text-2xl);
  }

  .booking__phone {
    font-size: var(--text-xl);
  }

  .nav__mobile a {
    font-size: var(--text-lg);
  }
}

/* === Reduced motion === */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 150ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 150ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  /* Collapse all 3D reveals to opacity-only */
  .reveal {
    opacity: 0;
    transform: none;
  }

  .reveal.is-visible {
    animation: reveal-opacity 150ms var(--ease-out) forwards !important;
  }

  @keyframes reveal-opacity {
    to { opacity: 1; }
  }

  /* Disable floating car logo */
  .nav__mark {
    animation: none !important;
  }

  /* Disable proof item animations */
  .proof-item:hover {
    transform: none;
  }

  .proof-item__marker {
    animation: none;
  }

  /* Disable 3D hover on packages */
  .package:hover,
  .package--featured:hover {
    transform: none;
  }

  /* Disable 3D on spec table rows */
  .spec-table tr:hover {
    transform: none;
  }

  /* Disable 3D lift on form inputs */
  .form__input:focus-visible {
    transform: none;
  }

  /* Disable 3D press on buttons */
  .btn--accent,
  .btn--accent:hover,
  .btn--accent:active {
    transform: none;
  }

  /* Disable JS-driven parallax and tilt */
  [data-parallax],
  .hero__proof {
    transform: none !important;
    transition: none !important;
  }
}
