/* ============================================================
   TSE HEADLIGHTS — Stylesheet
   Concept: THE BEAM — amber light cutting through darkness
   Fonts: Bebas Neue (display) + Jost (body)
   ============================================================ */

/* ---- Variables ---- */
:root {
  --bg:           #0a0a0f;
  --surface:      #101015;
  --surface-2:    #15151c;
  --border:       rgba(255, 255, 255, 0.07);
  --text:         #ffffff;
  --text-dim:     rgba(255, 255, 255, 0.58);
  --text-dimmer:  rgba(255, 255, 255, 0.45); /* ~4.84:1 contrast on --bg, passes WCAG AA */
  --amber:        #f5a623;
  --amber-light:  #ffc155;
  --amber-dim:    rgba(245, 166, 35, 0.14);
  --amber-glow:   rgba(245, 166, 35, 0.06);

  --font-display: 'Bebas Neue', sans-serif;
  --font-body:    'Jost', sans-serif;

  --radius-sm: 2px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

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

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

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

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* Focus-visible: keyboard navigation ring */
:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

/* Skip link — visually hidden until focused */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 9999;
  background: var(--amber);
  color: #000;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 18px;
  transition: top 0.15s;
}

.skip-link:focus {
  top: 16px;
}

/* ---- Layout ---- */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ---- Buttons ---- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--amber);
  color: #000;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 15px 30px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease-out), box-shadow 0.25s;
  white-space: nowrap;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(245, 166, 35, 0.38);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-primary.btn-full {
  width: 100%;
  justify-content: center;
}

.btn-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-ghost {
  display: inline-block;
  color: var(--text-dim);
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  transition: color 0.2s, border-color 0.2s;
}

.btn-ghost:hover {
  color: var(--amber);
  border-color: var(--amber);
}

/* ---- Section Patterns ---- */
.section-header {
  margin-bottom: 64px;
}

.section-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 14px;
}

.section-headline {
  font-family: var(--font-display);
  font-size: clamp(44px, 5.5vw, 72px);
  line-height: 0.95;
  color: var(--text);
  margin-bottom: 20px;
}

.section-sub {
  font-size: 16px;
  color: var(--text-dim);
  max-width: 500px;
  line-height: 1.75;
}

/* ---- Scroll Animation ---- */
/*
   Motion JS owns all scroll-triggered reveals.
   .fade-in just marks elements as initially hidden — Motion
   animates them in via inView(). .visible is a no-op kept for
   graceful degradation if the module fails to load.
*/
.fade-in {
  opacity: 0;
}

.fade-in.visible {
  opacity: 1;
}

/* Hero elements above the fold — must be hidden before JS runs
   to prevent a flash-of-visible-content on page load           */
.hero-eyebrow,
.hero-headline,
.hero-sub,
.hero-actions,
.hero-badge,
.hero-scroll {
  opacity: 0;
}

/* Footer elements */
.footer-logo,
.footer-tagline,
.footer-ig,
.footer-copy {
  opacity: 0;
}

/* Reduced-motion: show everything immediately, skip JS check   */
@media (prefers-reduced-motion: reduce) {
  .fade-in,
  .hero-eyebrow, .hero-headline, .hero-sub,
  .hero-actions, .hero-badge, .hero-scroll, .hero-visual,
  .footer-logo, .footer-tagline, .footer-ig {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
  }
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 32px;
  transition: background 0.35s, backdrop-filter 0.35s, border-color 0.35s;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(10, 10, 15, 0.93);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 14px 32px;
  border-bottom-color: var(--border);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.06em;
  color: var(--text);
  flex-shrink: 0;
}

.nav-logo span {
  color: var(--amber);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links .nav-cta {
  background: var(--amber);
  color: #000;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.12em;
  padding: 10px 20px;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s;
}

.nav-links .nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 22px rgba(245, 166, 35, 0.42);
  color: #000;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  padding: 0;
  width: 44px;
  height: 44px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.3s var(--ease-out), opacity 0.2s;
  transform-origin: center;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  overflow: hidden;
}

/* Atmospheric background */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-beam {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 60% at 75% 55%, rgba(245, 166, 35, 0.13) 0%, transparent 65%),
    radial-gradient(ellipse 30% 30% at 80% 40%, rgba(255, 193, 85, 0.07) 0%, transparent 50%),
    radial-gradient(ellipse 60% 80% at 20% 100%, rgba(245, 166, 35, 0.04) 0%, transparent 60%);
  /* Motion JS owns opacity animation on this element */
}

/* Grid texture overlay */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.012) 1px, transparent 1px);
  background-size: 56px 56px;
}

/* Vignette bottom */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(transparent, var(--bg));
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 130px 32px 80px;
  max-width: 720px;
}

/* Portfolio mosaic — right half of hero */
.hero-visual {
  position: relative;
  z-index: 2;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 0 80px 0;
  overflow: hidden;
  /* Thin fade at left edge — just enough to bleed into background */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%);
  mask-image: linear-gradient(to right, transparent 0%, black 5%);
  opacity: 0; /* Motion JS animates this in */
}

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

.hero-tile {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--surface);
}

.hero-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 46%;
  display: block;
  filter: brightness(0.82);
  transition: filter 0.4s, transform 0.5s var(--ease-out);
}

.hero-tile:hover img {
  filter: brightness(1.0);
  transform: scale(1.05);
}

/* "Recent Work" label below the mosaic */
.hero-mosaic-label {
  margin-top: 14px;
  padding-left: 24px;
}

.hero-mosaic-count {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dimmer);
}

/* ---- Hero eyebrow ---- */
.hero-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 20px;
  /* Motion JS owns entrance animation */
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(80px, 13vw, 148px);
  line-height: 0.9;
  color: var(--text);
  margin-bottom: 28px;
  /* Motion JS owns entrance animation */
}

.hero-beam-word {
  /* "BEAM" glows amber */
  color: var(--amber);
  display: inline-block;
  text-shadow: 0 0 80px rgba(245, 166, 35, 0.45);
}

.hero-sub {
  font-size: 17px;
  color: var(--text-dim);
  max-width: 460px;
  line-height: 1.75;
  margin-bottom: 40px;
  /* Motion JS owns entrance animation */
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 52px;
  /* Motion JS owns entrance animation */
}

/* Price badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 14px 22px;
  border: 1px solid rgba(245, 166, 35, 0.22);
  background: var(--amber-dim);
  /* Motion JS owns entrance animation */
}

.hero-price {
  font-family: var(--font-display);
  font-size: 48px;
  color: var(--amber);
  line-height: 1;
}

.hero-badge-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-badge-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
}

.hero-badge-sub {
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}

/* Scroll hint */
.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
  /* Motion JS owns entrance animation */
}

.hero-scroll span {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dimmer);
}

.hero-scroll-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.25), transparent);
  animation: scrollDrop 2s ease-in-out infinite;
}

@keyframes scrollDrop {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 1; }
  50%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0.3; }
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  display: flex;
  align-items: stretch;
  justify-content: center;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 30px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  white-space: nowrap;
  flex-shrink: 0;
  border-right: 1px solid var(--border);
}

.trust-item:last-child {
  border-right: none;
}

.trust-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--amber);
  flex-shrink: 0;
}

/* ============================================================
   BEFORE / AFTER SHOWCASE
   ============================================================ */
.showcase {
  padding: 104px 0;
}

.showcase .section-header {
  margin-bottom: 72px;
}

.ba-pair {
  display: grid;
  grid-template-columns: 1fr 56px 1fr;
  align-items: end; /* align bottoms so cards line up */
  gap: 0;
  margin-bottom: 56px;
}

.ba-pair:last-child {
  margin-bottom: 0;
}

/* Wrapper that holds tag + card in a column */
.ba-side {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* BEFORE / AFTER labels — now sit ABOVE the image */
.ba-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 5px 14px;
  align-self: flex-start;
}

.ba-tag--before {
  background: transparent;
  color: var(--text-dim);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.ba-tag--after {
  background: var(--amber);
  color: #000;
}

.ba-card {
  position: relative;
  background: var(--surface);
  overflow: hidden;
}

.ba-img-wrap {
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.ba-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 4:3 container on a portrait screenshot gives more vertical overflow,
     so 46% lands safely inside the photo — past the header/username above
     and the likes row below. */
  object-position: center 46%;
  transition: transform 0.55s var(--ease-out);
  display: block;
}

.ba-card:hover .ba-img-wrap img {
  transform: scale(1.04);
}

.ba-caption {
  font-size: 13px;
  color: var(--text-dimmer);
  line-height: 1.55;
  margin-top: 2px;
  letter-spacing: 0.01em;
}

.ba-vehicle {
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dimmer);
  margin-top: 32px;
}

.ba-arrow {
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--amber);
  padding: 0 16px;
  /* sit at the vertical midpoint of the image, above the caption */
  margin-bottom: 38px;
}

.ba-arrow svg {
  width: 44px;
  height: 18px;
  flex-shrink: 0;
}

/* ============================================================
   PROCESS
   ============================================================ */
.process {
  padding: 88px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.process-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0;
}

.process-step {
  padding: 0 24px;
}

.process-step:first-child {
  padding-left: 0;
}

.process-step:last-child {
  padding-right: 0;
}

.step-number {
  font-family: var(--font-display);
  font-size: 56px;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 16px;
  opacity: 0.85;
}

.step-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: 0.01em;
}

.step-desc {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.7;
}

.step-desc a {
  color: var(--amber);
  border-bottom: 1px solid rgba(245, 166, 35, 0.3);
  transition: border-color 0.2s;
}

.step-desc a:hover {
  border-color: var(--amber);
}

.process-connector {
  width: 1px;
  height: 100px;
  background: linear-gradient(to bottom, transparent, var(--border), transparent);
  align-self: stretch;
  margin-top: 24px;
}

/* ============================================================
   PRICING / SERVICES
   ============================================================ */
.services {
  padding: 104px 0;
}

.services .section-header {
  text-align: center;
  margin-bottom: 56px;
}

.services .section-sub {
  margin: 0 auto;
  text-align: center;
}

.service-card {
  max-width: 460px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

/* Amber top accent line */
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--amber);
}

/* Subtle corner glow */
.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle at top right, rgba(245,166,35,0.07) 0%, transparent 65%);
  pointer-events: none;
}

.service-card-top {
  padding: 48px 40px 36px;
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.service-price-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dimmer);
  margin-bottom: 16px;
}

.service-price {
  font-family: var(--font-display);
  font-size: 100px;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 10px;
}

.service-tagline {
  font-size: 13px;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}

.service-includes {
  padding: 32px 40px;
  border-bottom: 1px solid var(--border);
}

.service-includes li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text-dim);
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.service-includes li:last-child {
  border-bottom: none;
}

.service-includes li::before {
  content: '✓';
  color: var(--amber);
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
  width: 16px;
}

.service-card .btn-primary {
  margin: 0;
  padding: 18px 40px;
}

.service-note {
  padding: 16px 40px;
  font-size: 12px;
  color: var(--text-dimmer);
  text-align: center;
  letter-spacing: 0.04em;
  line-height: 1.6;
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery {
  padding: 104px 0;
}

.gallery .section-header {
  margin-bottom: 64px;
}

/* Each car / job group */
.gallery-group {
  margin-bottom: 52px;
}

.gallery-group:last-of-type {
  margin-bottom: 0;
}

/* "Toyota Camry ————————" rule label */
.gallery-group-label {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dimmer);
  margin-bottom: 8px;
}

.gallery-group-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* 3-column photo grid per group */
.gallery-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}

.gallery-item {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--surface);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 46%;
  transition: transform 0.5s var(--ease-out), filter 0.3s;
  filter: brightness(0.88);
}

.gallery-item:hover img {
  transform: scale(1.05);
  filter: brightness(1.0);
}

.gallery-cta {
  padding: 56px 0 0;
  text-align: center;
}

/* ============================================================
   BOOKING
   ============================================================ */
.book {
  padding: 104px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.book .section-header {
  margin-bottom: 56px;
}

.book-layout {
  max-width: 560px;
}

/* Instagram CTA */
.book-primary {
  margin-bottom: 0;
}

.book-ig-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: var(--amber);
  color: #000;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
  padding: 20px 28px;
  width: 100%;
  transition: transform 0.2s var(--ease-out), box-shadow 0.25s;
}

.book-ig-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(245, 166, 35, 0.42);
}

.book-ig-btn svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.book-ig-note {
  text-align: center;
  font-size: 12px;
  color: var(--text-dimmer);
  letter-spacing: 0.06em;
  margin-top: 10px;
}

/* Divider */
.book-divider {
  position: relative;
  text-align: center;
  padding: 28px 0;
}

.book-divider::before,
.book-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: calc(50% - 36px);
  height: 1px;
  background: var(--border);
}

.book-divider::before { left: 0; }
.book-divider::after  { right: 0; }

.book-divider span {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dimmer);
  position: relative;
  background: var(--surface);
  padding: 0 14px;
}

/* Form */
.book-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-group label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.book-form input,
.book-form textarea {
  background: var(--bg);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  padding: 13px 16px;
  width: 100%;
  transition: border-color 0.2s;
  outline: none; /* replaced by focus-visible below */
  -webkit-appearance: none;
  border-radius: 0;
}

.book-form input::placeholder,
.book-form textarea::placeholder {
  color: var(--text-dimmer);
}

.book-form input:focus,
.book-form textarea:focus {
  border-color: rgba(245, 166, 35, 0.55);
}

.book-form input:focus-visible,
.book-form textarea:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: -1px;
  border-color: var(--amber);
}

.book-form textarea {
  resize: vertical;
  min-height: 90px;
  line-height: 1.6;
}

.form-note {
  font-size: 12px;
  color: var(--text-dimmer);
  text-align: center;
  letter-spacing: 0.04em;
  margin-top: 4px;
}

/* Form success state */
.form-success {
  text-align: center;
  padding: 48px 24px;
  border: 1px solid rgba(245, 166, 35, 0.2);
  background: var(--amber-dim);
}

.form-success-icon {
  font-size: 36px;
  color: var(--amber);
  margin-bottom: 12px;
  font-weight: 700;
}

.form-success-title {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--text);
  margin-bottom: 10px;
}

.form-success-msg {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.65;
  max-width: 360px;
  margin: 0 auto;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: 64px 0 48px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: start;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 0.05em;
  color: var(--text);
  display: block;
  margin-bottom: 12px;
}

.footer-logo span {
  color: var(--amber);
}

.footer-tagline {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.6;
  letter-spacing: 0.02em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}

.footer-links a {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-social {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.footer-ig {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--amber);
  letter-spacing: 0.04em;
  transition: opacity 0.2s;
}

.footer-ig:hover {
  opacity: 0.72;
}

.footer-ig svg {
  width: 20px;
  height: 20px;
}

.footer-bottom {
  font-size: 12px;
  color: var(--text-dimmer);
  letter-spacing: 0.06em;
}

/* ============================================================
   RESPONSIVE — 900px (large tablet)
   ============================================================ */
@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .process-steps {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .process-connector {
    display: none;
  }

  .process-step {
    padding: 0;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-links {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-start;
  }

  .footer-social {
    align-items: flex-start;
  }
}

/* ============================================================
   RESPONSIVE — 768px (tablet / large phone)
   ============================================================ */
@media (max-width: 768px) {

  /* Nav */
  .nav { padding: 16px 20px; }
  .nav.scrolled { padding: 12px 20px; }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
  }

  .nav-links .nav-cta {
    margin: 16px 24px;
    text-align: center;
    padding: 14px;
  }

  /* Hero */
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    display: none;
  }

  .hero-content {
    padding: 100px 20px 72px;
  }

  .hero-actions {
    gap: 16px;
  }

  /* Trust bar */
  .trust-bar {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .trust-item {
    border-right: none;
    border-bottom: 1px solid var(--border);
    width: 50%;
    padding: 14px 20px;
  }

  .trust-item:nth-child(even) {
    border-left: 1px solid var(--border);
  }

  /* Before/After */
  .ba-pair {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    align-items: start;
    gap: 12px;
  }

  .ba-arrow {
    transform: rotate(90deg);
    justify-self: center;
    padding: 0;
    margin-bottom: 0;
  }

  /* Gallery groups */
  .gallery-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
  }

  .gallery-group {
    margin-bottom: 40px;
  }


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

  /* Sections */
  .showcase,
  .process,
  .services,
  .gallery,
  .book {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .section-header {
    margin-bottom: 44px;
  }
}

/* ============================================================
   RESPONSIVE — 480px (phone)
   ============================================================ */
@media (max-width: 480px) {

  .hero-headline {
    font-size: clamp(68px, 20vw, 96px);
  }

  .trust-item {
    width: 100%;
  }

  .trust-item:nth-child(even) {
    border-left: none;
  }

  .gallery-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .service-card-top {
    padding: 36px 24px 28px;
  }

  .service-includes {
    padding: 24px;
  }

  .service-note {
    padding: 14px 24px;
  }

  .service-card .btn-primary {
    padding: 18px 24px;
  }

  .hero-badge {
    gap: 12px;
    padding: 12px 16px;
  }

  .hero-price {
    font-size: 40px;
  }
}
