/* ============================================================
   DBAuto Spa & Detailing — stylesheet
   ============================================================ */

:root {
  --black: #11151d;
  --black-soft: #171c27;
  --panel: #212735;
  --panel-light: #2c3344;
  --line: rgba(255,255,255,0.12);

  --gold: #f6c969;
  --gold-deep: #d79a35;
  --gold-dim: rgba(246,201,105,0.2);

  --teal: #5fd4e0;
  --teal-deep: #2fa3b8;
  --teal-dim: rgba(95,212,224,0.2);

  --white: #faf8f3;
  --grey: #b3b9c7;
  --grey-dim: #868da0;

  --radius: 14px;
  --radius-sm: 8px;

  --font-display: 'Exo 2', 'Rajdhani', sans-serif;
  --font-head: 'Rajdhani', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --ease: cubic-bezier(.22,1,.36,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-head); margin: 0; font-weight: 700; }
p { margin: 0; }
section { position: relative; }

::selection { background: var(--gold); color: var(--black); }

/* ---------- Layout helpers ---------- */
.section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
  padding: 0 24px;
}
.section-kicker {
  color: var(--gold);
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: 0.01em;
  margin-bottom: 14px;
}
.section-sub {
  color: var(--grey);
  font-size: 1.02rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
}
.btn .icon { width: 18px; height: 18px; fill: currentColor; }
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: #1a1304;
  box-shadow: 0 8px 24px rgba(240,194,94,0.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(240,194,94,0.4); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.25);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.btn-ghost {
  background: rgba(255,255,255,0.04);
  color: var(--white);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-lg { padding: 16px 32px; font-size: 1rem; }

/* ---------- Light section variant (warm white, breaks up the dark run) ---------- */
.section-light {
  background: linear-gradient(180deg, #ffffff 0%, #f5f6f8 55%, #ffffff 100%);
}
.section-light .section-kicker { color: var(--gold-deep); }
.section-light .section-title,
.section-light .service-card h3,
.section-light .why-card h3 { color: #1b1d24; }
.section-light .section-sub,
.section-light .service-card p,
.section-light .why-card p { color: #5c6170; }
.section-light .service-card,
.section-light .why-card {
  background: #ffffff;
  border-color: rgba(20,22,30,0.1);
  box-shadow: 0 2px 10px rgba(20,22,30,0.04);
}
.section-light .service-card:hover {
  background: #ffffff;
  border-color: rgba(215,154,53,0.5);
  box-shadow: 0 10px 26px rgba(20,22,30,0.08);
}
.section-light .service-card-featured {
  background: linear-gradient(160deg, #ffffff, #fbfbfb);
  border-color: rgba(215,154,53,0.4);
}
/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 16px 0;
  transition: background .3s var(--ease), padding .3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(23,28,39,0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 10px 0;
  border-color: var(--line);
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand-logo { height: 44px; width: auto; }
.main-nav { display: flex; gap: 32px; }
.nav-link {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: var(--grey);
  position: relative;
  padding: 4px 0;
  transition: color .2s;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  height: 2px; width: 0;
  background: var(--gold);
  transition: width .25s var(--ease);
}
.nav-link:hover { color: var(--white); }
.nav-link:hover::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone .icon { width: 16px; height: 16px; }
.header-phone { padding: 11px 18px; font-size: 0.88rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px; height: 2px;
  background: var(--white);
  margin: 0 auto;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   STUDIO — full-bleed showcase with cursor parallax
   ============================================================ */
.studio {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--black);
  display: flex;
  flex-direction: column;
  padding-top: 96px;
}

/* ---------- Image layers + parallax ---------- */
.studio-frame {
  position: relative;
  order: 2;
  margin-top: 8px;
  width: 100%;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  transform: translate3d(calc(var(--px, 0) * -18px), calc(var(--py, 0) * -10px), 0) scale(1.04);
  transition: transform 0.6s cubic-bezier(.2,.7,.2,1);
}
.studio-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 62%;
  user-select: none;
}
.studio-layer.is-sweep   { animation: studioRevealSweep 1.6s cubic-bezier(.7,0,.2,1) forwards; }
.studio-layer.is-radial  { animation: studioRevealRadial 1.5s cubic-bezier(.7,0,.2,1) forwards; }
@keyframes studioRevealSweep  { 0% { clip-path: inset(0 100% 0 0); } 100% { clip-path: inset(0); } }
@keyframes studioRevealRadial { 0% { clip-path: circle(0% at 50% 58%); } 100% { clip-path: circle(80% at 50% 58%); } }

.studio-beam-track { position: absolute; inset: 0; pointer-events: none; animation: studioBeamTrack 1.6s cubic-bezier(.7,0,.2,1) forwards; }
.studio-beam-mist {
  position: absolute; inset-block: 0; left: -22%; width: 22%;
  background: linear-gradient(to left, rgba(246,201,105,0.3), rgba(246,201,105,0.08) 40%, transparent);
}
.studio-beam-line {
  position: absolute; inset-block: 8%; left: 0; width: 2px; border-radius: 2px;
  background: #fff6df;
  box-shadow: 0 0 18px 4px rgba(255,246,223,0.85), 0 0 80px 20px rgba(246,201,105,0.45);
}
@keyframes studioBeamTrack {
  0% { opacity: 0; transform: translateX(0); }
  6% { opacity: 1; }
  92% { opacity: 1; }
  100% { opacity: 0; transform: translateX(100%); }
}

.studio-ring-burst {
  position: absolute; left: 50%; top: 58%;
  width: 136%; aspect-ratio: 1; border-radius: 50%;
  pointer-events: none;
  border: 2px solid #fff6df;
  box-shadow: 0 0 18px 4px rgba(255,246,223,0.85), 0 0 80px 20px rgba(246,201,105,0.45);
  animation: studioRingBurst 1.5s cubic-bezier(.7,0,.2,1) forwards;
}
@keyframes studioRingBurst {
  0% { opacity: 1; transform: translate(-50%, -50%) scale(0); }
  85% { opacity: .9; }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(1); }
}

.studio-flash {
  position: absolute; inset: 0; pointer-events: none;
  background: rgba(246,201,105,0.55);
  animation: studioFlash 1.6s ease-out forwards;
}
@keyframes studioFlash {
  0%, 60% { opacity: 0; }
  75% { opacity: .18; }
  100% { opacity: 0; }
}

/* ---------- Fades & grain ---------- */
.studio-fade-top {
  position: absolute; inset-inline: 0; top: 0; height: 160px;
  background: linear-gradient(to bottom, var(--black), transparent);
  pointer-events: none; z-index: 1;
}
.studio-fade-bottom {
  position: absolute; inset-inline: 0; bottom: 0; height: 224px;
  background: linear-gradient(to top, var(--black), transparent);
  pointer-events: none; z-index: 1;
}
.studio-fade-bottom-mobile {
  position: absolute; inset-inline: 0; bottom: 0; height: 25%;
  background: linear-gradient(to top, var(--black), transparent);
  pointer-events: none;
}
.studio-grain {
  position: absolute; inset: 0; pointer-events: none; z-index: 1;
  opacity: .05; mix-blend-mode: overlay;
  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='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Headline ---------- */
.studio-headline {
  position: relative;
  order: 1;
  z-index: 10;
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}
.studio-eyebrow {
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--grey-dim);
  font-size: .68rem;
}
.studio-title {
  margin-top: 16px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.1rem, 7vw, 3.2rem);
  line-height: .98;
  letter-spacing: 0.01em;
  color: var(--white);
}
.studio-accent { color: var(--gold); }
.studio-cta { margin-top: 24px; }
.studio-rise { animation: studioRise 1s cubic-bezier(.7,0,.2,1) both; }
.studio-headline .studio-rise:nth-of-type(2) { animation-delay: .12s; }
@keyframes studioRise {
  0% { opacity: 0; filter: blur(6px); transform: translateY(24px); }
  100% { opacity: 1; filter: blur(0); transform: translateY(0); }
}

/* ---------- Bay status card ---------- */
.studio-status {
  position: relative;
  order: 4;
  z-index: 10;
  margin: 24px;
  margin-bottom: 40px;
  padding: 20px;
  border-radius: var(--radius);
  background: rgba(33,39,53,0.62);
  border: 1px solid var(--line);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
}
.studio-status-head { display: flex; align-items: center; justify-content: space-between; }
.studio-status-badge {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: .7rem; text-transform: uppercase; letter-spacing: .18em;
  color: var(--gold);
}
.studio-status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.studio-status-dot.is-busy { animation: studioPulseDot 1.2s ease-in-out infinite; }
@keyframes studioPulseDot { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
.studio-status-track { margin-top: 12px; height: 1px; width: 100%; background: var(--line); }
.studio-status-bar { height: 1px; background: linear-gradient(90deg, var(--gold), var(--gold-deep)); transition: width .2s linear; }
.studio-status-title { margin-top: 16px; font-family: var(--font-display); font-size: 1.08rem; font-weight: 600; color: var(--white); line-height: 1.2; }
.studio-status-detail { margin-top: 8px; font-size: .86rem; line-height: 1.55; color: var(--grey); }
.studio-specs {
  margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.studio-specs dt { font-family: var(--font-mono); font-size: .58rem; text-transform: uppercase; letter-spacing: .16em; color: var(--grey-dim); }
.studio-specs dd { margin-top: 4px; font-family: var(--font-mono); font-size: .84rem; color: var(--white); }

/* ---------- Bottom controls: colors + treatments ---------- */
.studio-controls {
  position: relative;
  order: 3;
  z-index: 10;
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 24px;
}
.studio-swatches {
  display: none;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.studio-swatches.is-visible { display: flex; }
.studio-swatches-label { margin-right: 4px; }
.studio-swatches-row { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch-btn {
  width: 32px; height: 32px; border-radius: 50%;
  border: 2px solid var(--line);
  cursor: pointer;
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.swatch-btn:hover { transform: scale(1.1); }
.swatch-btn.is-active { transform: scale(1.1); border-color: var(--gold); box-shadow: 0 0 20px -2px rgba(246,201,105,0.7); }

.studio-treatments { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.treatment-btn {
  position: relative;
  overflow: hidden;
  text-align: left;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: rgba(33,39,53,0.55);
  border: 1px solid var(--line);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  cursor: pointer;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.treatment-btn:hover { border-color: rgba(246,201,105,0.5); }
.treatment-btn.is-active { border-color: rgba(246,201,105,0.8); box-shadow: 0 0 40px -8px rgba(246,201,105,0.6); }
.treatment-btn .t-bar {
  position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-deep));
  transform-origin: left; transform: scaleX(0);
  transition: transform .5s var(--ease);
}
.treatment-btn:hover .t-bar { transform: scaleX(.5); }
.treatment-btn.is-active .t-bar { transform: scaleX(1); }
.treatment-btn .t-index { display: block; font-family: var(--font-mono); font-size: .72rem; color: var(--grey-dim); }
.treatment-btn.is-active .t-index { color: var(--gold); }
.treatment-btn .t-name { display: block; margin-top: 4px; font-family: var(--font-display); font-weight: 600; font-size: .92rem; color: var(--white); }

.studio-hint {
  display: none;
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: .62rem;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--grey-dim);
}

/* ---------- Desktop layout: full-bleed with absolute overlays ---------- */
@media (min-width: 1101px) {
  .studio { display: block; height: 100svh; min-height: 680px; padding-top: 0; }

  .studio-frame { position: absolute; inset: 0; margin-top: 0; aspect-ratio: auto; }
  .studio-fade-bottom-mobile { display: none; }

  .studio-headline {
    position: absolute; inset-inline: 0; top: 112px;
    max-width: 1500px; margin: 0 auto; padding-inline: 40px;
    text-align: left;
  }
  .studio-title { font-size: clamp(3rem, 5vw, 4.6rem); }

  .studio-status { position: absolute; right: 40px; top: 112px; width: 320px; margin: 0; }

  .studio-controls { position: absolute; inset-inline: 0; bottom: 32px; padding-inline: 40px; padding-block: 0; }
  .studio-treatments { grid-template-columns: repeat(4, 1fr); }
  .studio-hint { display: block; }
}

@media (min-width: 560px) and (max-width: 1100px) {
  .studio-frame { aspect-ratio: 3 / 2; }
}

@media (prefers-reduced-motion: reduce) {
  .studio-layer.is-sweep, .studio-layer.is-radial { animation-duration: 10ms; }
  .studio-beam-track, .studio-ring-burst, .studio-flash { display: none; }
  .studio-rise { animation: none; }
}

/* ============================================================
   SERVICES GRID
   ============================================================ */
.services { padding: 120px 24px; }
.services-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform .35s var(--ease), border-color .35s var(--ease), background .35s var(--ease);
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(240,194,94,0.4);
  background: var(--panel-light);
}
.service-card-featured { border-color: rgba(246,201,105,0.3); background: linear-gradient(160deg, var(--panel-light), var(--panel)); }
.service-icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: var(--gold-dim);
  margin-bottom: 18px;
}
.service-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--gold); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.service-card:nth-child(3n+2) .service-icon { background: var(--teal-dim); }
.service-card:nth-child(3n+2) .service-icon svg { stroke: var(--teal); }
.service-card:nth-child(3n+2):hover { border-color: rgba(95,212,224,0.4); }
.service-card h3 { font-size: 1.12rem; margin-bottom: 10px; color: var(--white); }
.service-card p { color: var(--grey); font-size: 0.92rem; }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery {
  padding: 120px 24px;
  background:
    radial-gradient(ellipse 70% 50% at 15% 0%, rgba(246,201,105,0.1), transparent 60%),
    radial-gradient(ellipse 60% 60% at 100% 100%, rgba(95,212,224,0.08), transparent 65%),
    linear-gradient(180deg, var(--black-soft) 0%, var(--black) 100%);
}
.gallery-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.gallery-item {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/5;
  border: 1px solid var(--line);
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease), filter .6s var(--ease);
}
.gallery-item::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,12,18,0.82) 0%, rgba(10,12,18,0.1) 45%, transparent 70%);
}
.gallery-item figcaption {
  position: absolute;
  left: 16px; right: 16px; bottom: 14px;
  z-index: 2;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--white);
}
.gallery-item:hover img { transform: scale(1.08); filter: brightness(1.05) saturate(1.1); }

/* ============================================================
   WHY SECTION
   ============================================================ */
.why { padding: 120px 24px; }
.why-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.why-card {
  padding: 28px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
}
.why-number {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 1.5rem;
  opacity: 0.75;
  margin-bottom: 14px;
}
.why-card:nth-child(2n) .why-number { color: var(--teal); }
.why-card h3 { font-size: 1.02rem; margin-bottom: 8px; }
.why-card p { font-size: 0.88rem; color: var(--grey); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  padding: 120px 24px;
  background:
    radial-gradient(ellipse 60% 50% at 85% 0%, rgba(246,201,105,0.12), transparent 60%),
    linear-gradient(180deg, var(--black-soft) 0%, var(--black) 100%);
}
.contact-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}
.contact-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 44px;
}
.contact-card .section-head { text-align: left; margin: 0 0 26px; padding: 0; max-width: none; }
.contact-list { display: flex; flex-direction: column; gap: 18px; margin-bottom: 26px; }
.contact-list li { display: flex; align-items: flex-start; gap: 14px; }
.contact-list .icon { width: 22px; height: 22px; fill: var(--gold); flex-shrink: 0; margin-top: 2px; }
.contact-list strong { display: block; font-size: 0.78rem; color: var(--grey-dim); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 2px; }
.contact-list a, .contact-list span { font-size: 1rem; color: var(--white); }
.contact-list a:hover { color: var(--gold); }

.hours-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  margin-bottom: 26px;
}
.hours-card strong { display: block; font-size: 0.78rem; color: var(--grey-dim); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 10px; }
.hours-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.hours-table td { padding: 5px 0; color: var(--grey); }
.hours-table td:last-child { text-align: right; color: var(--white); font-weight: 600; }
.hours-table .is-closed { color: var(--grey-dim); }

.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 320px;
}
.contact-map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; filter: contrast(1.05); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: radial-gradient(ellipse 60% 100% at 50% 0%, rgba(246,201,105,0.08), transparent 60%), var(--black);
  border-top: 1px solid var(--line);
  padding: 70px 24px 0;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
}
.footer-logo { height: 40px; margin-bottom: 14px; }
.footer-brand p { color: var(--grey); font-size: 0.9rem; max-width: 280px; }
.footer-col h4 {
  font-family: var(--font-head);
  color: var(--white);
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--grey); font-size: 0.9rem; transition: color .2s; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--grey-dim);
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed; inset: 0;
  z-index: 500;
  background: rgba(14,17,24,0.92);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease), visibility 0s linear .3s;
}
.lightbox.is-open { opacity: 1; visibility: visible; transition: opacity .3s var(--ease); }
.lightbox img {
  max-width: min(88vw, 900px);
  max-height: 82vh;
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}
.lightbox-close, .lightbox-nav {
  position: absolute;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--line);
  color: var(--white);
  border-radius: 50%;
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.lightbox-close:hover, .lightbox-nav:hover { background: var(--gold); color: #1a1304; }
.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }

/* ============================================================
   REVEAL ON SCROLL
   ============================================================ */
.service-card, .gallery-item, .why-card, .contact-card, .contact-map {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.service-card.in-view, .gallery-item.in-view, .why-card.in-view, .contact-card.in-view, .contact-map.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .services-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .main-nav, .header-phone { display: none; }
  .nav-toggle { display: flex; }
  .main-nav.is-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px; left: 16px; right: 16px;
    background: rgba(23,28,39,0.97);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px;
    gap: 16px;
    backdrop-filter: blur(14px);
  }
  .services-grid, .why-grid, .gallery-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .contact-card { padding: 28px; }
}

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