/* =========================================================
   Albrecht Auto Spa — Redesign
   Black + gold theme, modern dark UI
   ========================================================= */

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

:root {
  --bg: #000000;
  --bg-elev: #0a0a0a;
  --bg-card: #111111;
  --bg-card-hi: #161616;
  --border: #1d1d1d;
  --border-strong: #2a2a2a;

  --text: #f4f4f4;
  --text-soft: #d6d6d6;
  --muted: #8f8f8f;

  --accent: #d4af37;          /* gold */
  --accent-hi: #f5d35a;        /* highlight gold */
  --accent-deep: #8c6f23;      /* deep gold border */
  --accent-glow: rgba(212,175,55,.35);

  --shadow: 0 30px 80px rgba(0,0,0,.55);
  --shadow-glow: 0 18px 40px rgba(212,175,55,.18);

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

  --container: 1200px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.01em;
  color: var(--text);
}
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.4rem; }

section { padding: clamp(4rem, 8vw, 7rem) 1.5rem; position: relative; }

/* ============== Common ============== */

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  font-size: .78rem;
  letter-spacing: .28em;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 1rem;
}

.section-head {
  max-width: var(--container);
  margin: 0 auto 3.5rem;
  text-align: center;
}
.section-sub {
  color: var(--muted);
  max-width: 720px;
  margin: 1rem auto 0;
  font-size: 1.05rem;
}

/* ============== Header / Nav ============== */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(0,0,0,.55);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: background .3s, border-color .3s;
}
.site-header.scrolled {
  background: rgba(0,0,0,.85);
  border-bottom-color: rgba(212,175,55,.18);
}

.nav {
  max-width: var(--container);
  margin: 0 auto;
  padding: .9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
}
.nav-links a {
  font-size: .92rem;
  font-weight: 500;
  color: var(--muted);
  transition: color .2s;
  position: relative;
  padding: .25rem 0;
}
.nav-links a:hover, .nav-links a:focus-visible { color: var(--text); outline: none; }
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  height: 1px;
  width: 0;
  background: var(--accent);
  transition: width .3s ease;
}
.nav-links a:hover::after, .nav-links a:focus-visible::after { width: 100%; }

.logo-wrap {
  display: block;
  height: 52px;
  flex-shrink: 0;
  margin-left: auto;
  transition: transform .2s;
}
.logo-wrap:hover { transform: scale(1.04); }
.logo { height: 100%; width: auto; object-fit: contain; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .5rem;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: transform .2s, opacity .2s;
}

/* ============== Hero ============== */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 1.5rem 5rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 35%, rgba(212,175,55,.16), transparent 55%),
    radial-gradient(ellipse at 80% 80%, rgba(140,111,35,.12), transparent 55%),
    linear-gradient(95deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.6) 45%, rgba(0,0,0,.35) 100%),
    linear-gradient(180deg, rgba(0,0,0,.4) 0%, rgba(0,0,0,.55) 60%, var(--bg) 100%),
    url('https://lirp.cdn-website.com/a5edf3c8/dms3rep/multi/opt/DSC_3620-1920w.jpg');
  background-size: cover;
  background-position: center 35%;
  filter: saturate(1.05) brightness(.65) contrast(1.05);
  z-index: 0;
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 50% 100%, rgba(0,0,0,1), transparent 70%),
    linear-gradient(180deg, transparent 55%, var(--bg) 100%);
}
.hero-grain {
  position: absolute; inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .06;
  mix-blend-mode: overlay;
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.hero-grid {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--container);
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content {
  text-align: left;
  max-width: 640px;
}
.hero-title {
  font-size: clamp(2.6rem, 6.2vw, 5.4rem);
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 30px rgba(0,0,0,.6);
  letter-spacing: -.02em;
}
.hero-title .accent {
  background: linear-gradient(110deg,
    var(--accent) 0%,
    var(--accent-hi) 30%,
    #fff8d6 50%,
    var(--accent-hi) 70%,
    var(--accent) 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
  display: inline-block;
  animation: shimmer 6s ease-in-out infinite;
}
@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.hero-sub {
  color: rgba(255,255,255,.88);
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  max-width: 540px;
  margin: 0 0 2rem;
}

/* Eyebrow with status dot */
.eyebrow-pulse .dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-hi);
  margin-right: .55rem;
  vertical-align: middle;
  position: relative;
  box-shadow: 0 0 12px rgba(212,175,55,.7);
  animation: dotPulse 2.4s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212,175,55,.55); }
  50%      { box-shadow: 0 0 0 8px rgba(212,175,55,0); }
}

/* Inline rating row in hero */
.hero-rating {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  margin-bottom: 2rem;
  padding: .55rem .95rem .55rem .85rem;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(212,175,55,.22);
  border-radius: 999px;
  backdrop-filter: blur(10px);
}
.hero-rating .stars {
  color: var(--accent-hi);
  letter-spacing: .12em;
  font-size: .95rem;
  text-shadow: 0 0 12px rgba(212,175,55,.5);
}
.hero-rating strong {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
}
.hero-rating .rating-meta {
  font-size: .78rem;
  color: var(--muted);
  letter-spacing: .04em;
}
.hero-rating .rating-meta a {
  color: var(--text-soft);
  border-bottom: 1px dashed rgba(212,175,55,.4);
}
.hero-rating .rating-meta a:hover { color: var(--accent); }

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ----- Hero credentials card (right column) ----- */
.hero-card {
  position: relative;
  background:
    linear-gradient(180deg, rgba(212,175,55,.06), transparent 30%),
    rgba(10,10,10,.65);
  border: 1px solid rgba(212,175,55,.22);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.1rem 1.6rem;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    0 30px 80px rgba(0,0,0,.6),
    0 0 0 1px rgba(255,255,255,.02) inset;
  transform: perspective(1400px) rotateY(-2deg);
  transition: transform .6s cubic-bezier(0.16,1,0.3,1);
}
.hero-card:hover { transform: perspective(1400px) rotateY(0deg) translateY(-4px); }

.hero-card::before,
.hero-card::after {
  content: '';
  position: absolute;
  width: 18px; height: 18px;
  border: 1px solid var(--accent);
  pointer-events: none;
}
.hero-card::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.hero-card::after  { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }

.hero-card-img {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  margin: 0 0 1.1rem;
  aspect-ratio: 4 / 5;
}
.hero-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center 42%;
  filter: saturate(1.05) brightness(.92);
  transition: transform 1.2s cubic-bezier(0.16,1,0.3,1);
}
.hero-card:hover .hero-card-img img { transform: scale(1.05); }
.hero-card-img figcaption {
  position: absolute;
  left: .85rem; bottom: .75rem;
  font-family: 'Cinzel', serif;
  font-size: .62rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: rgba(0,0,0,.55);
  padding: .35rem .7rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(6px);
}
.hero-card-img figcaption .dot {
  width: 6px; height: 6px;
  background: #4ade80;
  border-radius: 50%;
  animation: dotPulse 2s ease-in-out infinite;
  box-shadow: 0 0 8px rgba(74,222,128,.7);
}

.hero-card-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .5rem;
  padding: 1rem 0 1.1rem;
  margin: 0 0 1.1rem;
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.hero-card-meta div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .25rem;
  text-align: center;
}
.hero-card-meta strong {
  font-family: 'Playfair Display', serif;
  font-size: 1.55rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-hi));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
.hero-card-meta span {
  font-size: .62rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--muted);
}

.hero-card-quote {
  position: relative;
  padding: .25rem 0 0 1rem;
  border-left: 1px solid var(--accent);
}
.hero-card-quote p {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.02rem;
  color: var(--text-soft);
  line-height: 1.45;
  margin-bottom: .4rem;
}
.hero-card-quote cite {
  font-family: 'Cinzel', serif;
  font-style: normal;
  font-size: .65rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 999px;
  z-index: 2;
}
.hero-scroll span {
  display: block;
  width: 4px;
  height: 8px;
  background: var(--accent);
  border-radius: 4px;
  margin: 6px auto 0;
  animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(14px); opacity: .3; }
}

/* ============== Buttons ============== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .9rem 1.7rem;
  border-radius: 999px;
  font-size: .94rem;
  font-weight: 600;
  letter-spacing: .02em;
  transition: transform .15s ease, background .25s, color .25s, border-color .25s, box-shadow .25s;
  border: 1px solid transparent;
  text-align: center;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hi) 100%);
  color: #0a0a0a;
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 50px rgba(212,175,55,.32);
}
.btn-ghost {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.16);
  color: var(--text);
  backdrop-filter: blur(12px);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(212,175,55,.06);
}
.btn-block { width: 100%; }
.btn-text {
  display: block;
  width: 100%;
  text-align: center;
  background: none;
  padding: .6rem 0;
  color: var(--muted);
  font-size: .82rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.btn-text:hover { color: var(--accent); }

/* ============== Services ============== */

.service-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s ease, border-color .3s, box-shadow .3s;
  display: flex; flex-direction: column;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-deep);
  box-shadow: var(--shadow);
}
.service-img {
  height: 250px;
  background-size: cover;
  background-position: center;
  position: relative;
  transition: transform .5s ease;
}
.service-card:hover .service-img { transform: scale(1.04); }
.service-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.7) 100%);
}
.service-body {
  padding: 1.7rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.service-body h3 { margin-bottom: .6rem; }
.service-body p {
  color: var(--muted);
  margin-bottom: 1.1rem;
  flex: 1;
  font-size: .95rem;
}
.price { color: var(--text-soft); font-size: .9rem; }
.price strong {
  color: var(--accent);
  font-size: 1.5rem;
  font-family: 'Playfair Display', serif;
  margin-left: .35rem;
}
.link-arrow {
  margin-top: 1rem;
  color: var(--accent);
  font-weight: 600;
  font-size: .9rem;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  align-self: flex-start;
}
.link-arrow::after {
  content: '→';
  transition: transform .2s ease;
}
.link-arrow:hover::after { transform: translateX(5px); }

/* ============== Packages ============== */

.packages { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-elev) 100%); }
.package-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}
.package {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  position: relative;
  transition: transform .25s, border-color .25s, box-shadow .25s;
  display: flex; flex-direction: column;
}
.package:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}
.package h4 { font-size: 1.6rem; margin-bottom: .25rem; letter-spacing: .02em; }
.package-price {
  color: var(--accent);
  font-size: 1.9rem;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: .25rem;
}
.package-warranty {
  color: var(--muted);
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 1.5rem;
}
.package ul { list-style: none; padding: 0; margin-top: auto; }
.package li {
  padding: .65rem 0;
  border-top: 1px solid var(--border);
  color: var(--text-soft);
  font-size: .92rem;
  position: relative;
  padding-left: 1.4rem;
}
.package li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.package li:first-child { border-top: 0; }

.package.featured {
  border-color: var(--accent);
  box-shadow: 0 30px 60px rgba(212,175,55,.13);
  background: linear-gradient(180deg, rgba(212,175,55,.04) 0%, var(--bg-card) 100%);
}
.package.featured .package-price {
  background: linear-gradient(135deg, var(--accent), var(--accent-hi));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), var(--accent-hi));
  color: #0a0a0a;
  padding: .35rem .9rem;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  white-space: nowrap;
}
.package.premium { border-color: var(--accent-deep); }
.package.premium::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--accent-deep), transparent 30%, transparent 70%, var(--accent));
  z-index: -1;
}

/* ============== Before / After Slider ============== */

.results {
  position: relative;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(212,175,55,.05), transparent 60%),
    var(--bg);
  overflow: hidden;
}

.ba-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.ba-card {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.ba {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  aspect-ratio: 4 / 5;
  user-select: none;
  cursor: ew-resize;
  isolation: isolate;
  box-shadow: 0 30px 60px rgba(0,0,0,.45);
}
.ba::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  border-radius: var(--radius-lg);
  box-shadow: inset 0 0 60px rgba(0,0,0,.45);
}

.ba-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05);
  transition: filter .35s;
}

.ba-after  { z-index: 1; }
.ba-before {
  z-index: 2;
  filter: saturate(.85) brightness(.95);
  clip-path: inset(0 calc(100% - var(--reveal, 50%)) 0 0);
  transition: clip-path .25s cubic-bezier(0.16,1,0.3,1);
}
.ba.dragging .ba-before { transition: none; }

.ba-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--reveal, 50%);
  width: 2px;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(212,175,55,.55) 8%,
    var(--accent-hi) 50%,
    rgba(212,175,55,.55) 92%,
    transparent 100%);
  z-index: 3;
  transform: translateX(-50%);
  transition: left .25s cubic-bezier(0.16,1,0.3,1);
  outline: none;
}
.ba.dragging .ba-handle { transition: none; }
.ba-handle:focus-visible::before {
  content: '';
  position: absolute;
  inset: -6px -10px;
  border-radius: 8px;
  border: 2px solid var(--accent);
}

.ba-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-hi));
  color: #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 0 1px rgba(0,0,0,.3),
    0 4px 14px rgba(0,0,0,.5),
    0 0 30px rgba(212,175,55,.45);
  transition: transform .25s cubic-bezier(0.16,1,0.3,1), box-shadow .25s;
}
.ba:hover .ba-knob,
.ba.dragging .ba-knob {
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow:
    0 0 0 1px rgba(0,0,0,.3),
    0 6px 20px rgba(0,0,0,.6),
    0 0 50px rgba(212,175,55,.7);
}

.ba-tag {
  position: absolute;
  top: 1rem;
  z-index: 3;
  padding: .35rem .8rem;
  font-family: 'Cinzel', serif;
  font-size: .62rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  background: rgba(0,0,0,.6);
  color: var(--text);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.12);
  pointer-events: none;
  opacity: .9;
}
.ba-tag-before { left: 1rem; }
.ba-tag-after  { right: 1rem; background: linear-gradient(135deg, var(--accent), var(--accent-hi)); color: #0a0a0a; border-color: var(--accent-hi); }

/* Caption */
.ba-caption {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0 .25rem;
}
.ba-num {
  font-family: 'Cinzel', serif;
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .15em;
  color: var(--accent);
  width: 36px;
  height: 36px;
  border: 1px solid var(--accent-deep);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(212,175,55,.12), transparent);
  flex-shrink: 0;
}
.ba-caption h3 {
  font-size: 1.2rem;
  margin-bottom: .25rem;
}
.ba-caption p {
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.55;
  margin: 0;
}

.ba-foot {
  text-align: center;
  margin: 3rem auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-family: 'Cinzel', serif;
  font-size: .72rem;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--muted);
}
.ba-foot-line {
  flex: 0 0 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,.5));
}
.ba-foot-line:last-child {
  background: linear-gradient(-90deg, transparent, rgba(212,175,55,.5));
}

@media (max-width: 980px) {
  .ba-grid { grid-template-columns: 1fr; max-width: 540px; }
  .ba { aspect-ratio: 4 / 3; }
}
@media (max-width: 540px) {
  .ba { aspect-ratio: 4 / 3.5; }
  .ba-knob { width: 40px; height: 40px; }
  .ba-tag { font-size: .58rem; padding: .3rem .65rem; }
}

/* ============== Estimator ============== */

.estimator { background: var(--bg-elev); }
.estimator-wrap {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 2rem;
  align-items: start;
}
.estimator-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
}
.form-step + .form-step {
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
}
.step-label {
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--muted);
  margin-bottom: 1rem;
  font-weight: 500;
}
.opts {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}
.opt {
  padding: .7rem 1.15rem;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: rgba(255,255,255,.025);
  color: var(--text-soft);
  font-size: .9rem;
  font-weight: 500;
  transition: border-color .15s, background .15s, color .15s, transform .1s;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}
.opt em {
  font-style: normal;
  opacity: .7;
  font-size: .8rem;
}
.opt:hover {
  border-color: var(--accent-deep);
  color: var(--text);
  background: rgba(212,175,55,.04);
}
.opt.active {
  background: linear-gradient(135deg, var(--accent), var(--accent-hi));
  color: #0a0a0a;
  border-color: var(--accent);
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(212,175,55,.25);
}
.opt.active em { opacity: .9; }
.opt:active { transform: scale(.96); }

.estimate-summary {
  position: sticky;
  top: 100px;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 2rem 1.8rem;
  background-image:
    radial-gradient(ellipse at top right, rgba(212,175,55,.07), transparent 60%);
}
.summary-eyebrow {
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--muted);
  margin-bottom: .5rem;
}
.summary-total {
  display: flex;
  align-items: baseline;
  gap: .6rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.25rem;
}
.summary-total .from {
  color: var(--muted);
  font-size: .9rem;
}
.summary-total .amount {
  font-family: 'Playfair Display', serif;
  font-size: 3.2rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--accent-hi));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  transition: transform .2s ease;
}
.summary-total .amount.bump { transform: scale(1.06); }

.summary-lines {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  font-size: .88rem;
}
.summary-lines li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .4rem 0;
  color: var(--muted);
}
.summary-lines li span:last-child {
  color: var(--text);
  font-weight: 500;
  text-align: right;
}
.summary-fine {
  font-size: .78rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
  line-height: 1.55;
}
.estimate-summary .btn { margin-bottom: .55rem; }

/* "What's included" live preview */
.summary-includes {
  margin: .25rem 0 1.25rem;
  padding: 1.1rem 1.1rem 1rem;
  background:
    linear-gradient(180deg, rgba(212,175,55,.06), transparent 60%),
    rgba(255,255,255,.025);
  border: 1px solid rgba(212,175,55,.18);
  border-radius: var(--radius);
}
.summary-includes-label {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-family: 'Cinzel', serif;
  font-size: .68rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .85rem;
}
.summary-includes-label .check {
  color: var(--accent-hi);
  font-size: .85rem;
}
.summary-includes-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: .45rem;
}
.summary-includes-list li {
  position: relative;
  padding-left: 1.25rem;
  font-size: .85rem;
  color: var(--text-soft);
  line-height: 1.45;
}
.summary-includes-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: .85rem;
}
.summary-includes-list li.extra {
  color: var(--text);
  font-weight: 500;
}
.summary-includes-list li.extra::before {
  content: '+';
  color: var(--accent-hi);
  font-size: 1rem;
  top: -.05rem;
}

/* Turnaround badge below total */
.summary-turnaround {
  display: block;
  width: 100%;
  margin-top: .35rem;
  font-family: 'Cinzel', serif;
  font-size: .65rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}

/* "5 trees" pill at bottom of summary */
.summary-trees {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .85rem 1rem;
  margin-bottom: 1rem;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(74,222,128,.08), rgba(212,175,55,.04));
  border: 1px solid rgba(74,222,128,.18);
  color: var(--text-soft);
  font-size: .82rem;
  line-height: 1.4;
}
.summary-trees strong {
  color: var(--accent-hi);
  font-weight: 700;
}
.summary-trees .trees-leaf {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4ade80, #22c55e);
  color: #052e16;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .8rem;
  box-shadow: 0 0 14px rgba(74,222,128,.3);
}

/* ============== Gallery (magazine layout) ============== */

.gallery {
  background:
    radial-gradient(ellipse at top, rgba(212,175,55,.04), transparent 60%),
    var(--bg);
}

.gallery-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 230px;
  gap: 1rem;
}

.gallery-grid figure {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  grid-column: span 4;
  grid-row: span 1;
  isolation: isolate;
  transition: transform .6s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow .6s cubic-bezier(0.16, 1, 0.3, 1);
}
.gallery-grid figure.g-feature {
  grid-column: span 8;
  grid-row: span 2;
}
.gallery-grid figure.g-tall {
  grid-column: span 4;
  grid-row: span 1;
}
/* Portrait "in-the-driveway" car shots — tall cells, 4 across */
.gallery-grid figure.g-car {
  grid-column: span 3;
  grid-row: span 2;
}
.gallery-grid figure.g-car img { object-position: center 60%; }
.gallery-grid figure:hover {
  transform: translateY(-6px);
  box-shadow: 0 40px 80px rgba(0,0,0,.5), 0 0 60px rgba(212,175,55,.1);
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), filter .6s;
  filter: saturate(.95) brightness(.85);
}
.gallery-grid figure:hover img {
  transform: scale(1.08);
  filter: saturate(1.1) brightness(1);
}

/* Gold L-corner brackets */
.g-corner {
  position: absolute;
  width: 24px;
  height: 24px;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  transition: opacity .5s cubic-bezier(0.16, 1, 0.3, 1) .05s,
              width .5s cubic-bezier(0.16, 1, 0.3, 1) .05s,
              height .5s cubic-bezier(0.16, 1, 0.3, 1) .05s;
}
.g-corner::before, .g-corner::after {
  content: '';
  position: absolute;
  background: var(--accent);
}
.g-corner.tl { top: 14px; left: 14px; }
.g-corner.tr { top: 14px; right: 14px; }
.g-corner.bl { bottom: 14px; left: 14px; }
.g-corner.br { bottom: 14px; right: 14px; }
.g-corner.tl::before, .g-corner.tr::before, .g-corner.bl::before, .g-corner.br::before {
  height: 1px; width: 100%; left: 0;
}
.g-corner.tl::after, .g-corner.tr::after, .g-corner.bl::after, .g-corner.br::after {
  width: 1px; height: 100%; top: 0;
}
.g-corner.tl::before { top: 0; }
.g-corner.tl::after  { left: 0; }
.g-corner.tr::before { top: 0; }
.g-corner.tr::after  { right: 0; }
.g-corner.bl::before { bottom: 0; }
.g-corner.bl::after  { left: 0; }
.g-corner.br::before { bottom: 0; }
.g-corner.br::after  { right: 0; }

.gallery-grid figure:hover .g-corner {
  opacity: 1;
  width: 36px;
  height: 36px;
}

/* Vignette overlay */
.gallery-grid figure::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg,
    rgba(0,0,0,.15) 0%,
    rgba(0,0,0,0) 40%,
    rgba(0,0,0,.55) 80%,
    rgba(0,0,0,.85) 100%);
  pointer-events: none;
}

/* Caption */
.gallery-grid figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.5rem 1.6rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: .25rem;
  transform: translateY(8px);
  transition: transform .6s cubic-bezier(0.16, 1, 0.3, 1);
}
.gallery-grid figure:hover figcaption { transform: translateY(0); }

.g-tag {
  font-family: 'Cinzel', serif;
  font-size: .68rem;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .35rem;
}
.g-title {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  text-shadow: 0 2px 20px rgba(0,0,0,.6);
}
.g-feature .g-title { font-size: 2rem; }
.g-meta {
  font-size: .82rem;
  color: rgba(255,255,255,.78);
  letter-spacing: .04em;
  margin-top: .15rem;
  opacity: 0;
  max-height: 0;
  transition: opacity .5s ease, max-height .5s ease;
  overflow: hidden;
}
.gallery-grid figure:hover .g-meta {
  opacity: 1;
  max-height: 40px;
}

.gallery-cta {
  text-align: center;
  margin-top: 3rem;
}
.gallery-cta .link-arrow {
  font-family: 'Cinzel', serif;
  font-size: .82rem;
  letter-spacing: .25em;
  text-transform: uppercase;
}

/* serif italic helper used in headings */
.serif-italic {
  font-style: italic;
  font-family: 'Playfair Display', serif;
  background: linear-gradient(110deg, var(--accent), var(--accent-hi), var(--accent));
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 6s ease-in-out infinite;
  font-weight: 700;
}

@media (max-width: 760px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 240px; }
  .gallery-grid figure,
  .gallery-grid figure.g-tall { grid-column: span 1; }
  .gallery-grid figure.g-car { grid-column: span 1; grid-row: span 2; }
  .gallery-grid figure.g-feature { grid-column: span 2; grid-row: span 2; }
  .g-feature .g-title { font-size: 1.4rem; }
  .g-corner { opacity: 1 !important; width: 24px !important; height: 24px !important; }
  .g-meta { opacity: 1; max-height: 40px; }
}

/* ============== Testimonials ============== */

.testimonials {
  position: relative;
  background:
    radial-gradient(ellipse at top, rgba(212,175,55,.06), transparent 65%),
    var(--bg);
  overflow: hidden;
}
.testimonials-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .035;
  background-image:
    radial-gradient(circle at 20% 30%, var(--accent) 0, transparent 1px),
    radial-gradient(circle at 80% 70%, var(--accent) 0, transparent 1px),
    radial-gradient(circle at 50% 90%, var(--accent) 0, transparent 1px);
  background-size: 50px 50px, 80px 80px, 60px 60px;
}
.testimonials > * { position: relative; z-index: 1; }

.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 1.75rem;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, rgba(212,175,55,.08), rgba(212,175,55,.02));
  border: 1px solid rgba(212,175,55,.3);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  text-align: left;
}
.rating-badge-stars {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .25rem;
  border-right: 1px solid rgba(212,175,55,.25);
  padding-right: 1.25rem;
}
.rating-badge-stars .stars {
  font-size: 1.05rem;
  color: var(--accent-hi);
  letter-spacing: .12em;
  text-shadow: 0 0 16px rgba(212,175,55,.5);
}
.rating-badge-stars .rating-num {
  font-family: 'Cinzel', serif;
  font-size: .82rem;
  letter-spacing: .15em;
  color: var(--muted);
}
.rating-badge-stars .rating-num strong {
  font-family: 'Playfair Display', serif;
  font-size: 1.45rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-hi));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-right: .15rem;
}
.rating-badge-meta {
  display: flex;
  flex-direction: column;
  gap: .15rem;
}
.rating-badge-meta > span:first-child {
  font-family: 'Cinzel', serif;
  font-size: .72rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--text);
}
.rating-badge-count {
  font-size: .76rem;
  color: var(--muted);
  letter-spacing: .04em;
}

.testimonials-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.quote {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.85rem 1.6rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: .9rem;
  transition: transform .35s cubic-bezier(0.16,1,0.3,1),
              border-color .35s,
              box-shadow .35s;
  overflow: hidden;
  isolation: isolate;
}
.quote::before {
  content: '"';
  position: absolute;
  top: -1.4rem;
  left: 1rem;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 7rem;
  line-height: 1;
  color: var(--accent);
  opacity: .14;
  z-index: 0;
  pointer-events: none;
}
.quote > * { position: relative; z-index: 1; }
.quote:hover {
  transform: translateY(-5px);
  border-color: var(--accent-deep);
  box-shadow: 0 30px 60px rgba(0,0,0,.5);
}

.quote .stars {
  color: var(--accent-hi);
  letter-spacing: .15em;
  font-size: .92rem;
  text-shadow: 0 0 14px rgba(212,175,55,.45);
}

.quote p {
  font-family: 'Inter', sans-serif;
  font-size: .96rem;
  line-height: 1.65;
  color: var(--text-soft);
  flex: 1;
}

.quote footer {
  border-top: 1px solid var(--border);
  padding-top: .9rem;
  display: flex;
  flex-direction: column;
  gap: .15rem;
}
.quote footer strong {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--text);
  font-weight: 700;
}
.quote footer span {
  font-family: 'Cinzel', serif;
  font-size: .65rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
}

.quote.featured {
  background:
    linear-gradient(180deg, rgba(212,175,55,.05), transparent 50%),
    var(--bg-card);
  border-color: var(--accent-deep);
  box-shadow: 0 30px 60px rgba(212,175,55,.08);
}
.quote.featured::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent) 30%, var(--accent-hi) 50%, var(--accent) 70%, transparent);
}

@media (max-width: 980px) {
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .testimonials-grid { grid-template-columns: 1fr; }
  .rating-badge { flex-direction: column; gap: .85rem; align-items: flex-start; }
  .rating-badge-stars { border-right: 0; padding-right: 0; padding-bottom: .85rem; border-bottom: 1px solid rgba(212,175,55,.25); width: 100%; }
}

/* ============== About ============== */

.about-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-grid h2 { margin-bottom: 1.25rem; }
.about-grid > div > p {
  color: var(--muted);
  margin-bottom: 1rem;
  font-size: 1.04rem;
}
.about-grid .trees {
  background: linear-gradient(135deg, rgba(212,175,55,.08) 0%, rgba(212,175,55,.02) 100%);
  border: 1px solid rgba(212,175,55,.25);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  color: var(--text-soft);
  margin-top: 1.75rem;
  display: flex;
  align-items: flex-start;
  gap: .85rem;
}
.about-grid .trees strong { color: var(--accent); }
.about-grid .trees .leaf {
  display: inline-flex;
  width: 28px; height: 28px;
  flex-shrink: 0;
  background: var(--accent);
  color: #0a0a0a;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .9rem;
}
.about-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  position: relative;
}
.about-img img {
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform .6s;
}
.about-img:hover img { transform: scale(1.03); }
.about-img::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: var(--radius-lg);
  box-shadow: inset 0 0 60px rgba(0,0,0,.4);
}

/* ============== Contact ============== */

.contact { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-elev) 100%); }
.contact-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: stretch;
}
.contact-info {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
}
.contact-list {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
  flex: 1;
}
.contact-list li {
  display: grid;
  grid-template-columns: 90px 1fr;
  padding: 1.1rem 0;
  border-top: 1px solid var(--border);
  font-size: 1rem;
  align-items: baseline;
  gap: 1rem;
}
.contact-list li:first-child { border-top: 0; padding-top: 0; }
.contact-list li:last-child { border-bottom: 1px solid var(--border); }
.contact-list li > span {
  color: var(--muted);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-weight: 500;
}
.contact-list li a { color: var(--text); transition: color .2s; }
.contact-list li a:hover { color: var(--accent); }
.contact-list li em { color: var(--muted); font-style: italic; font-size: .85rem; }

.socials { display: flex; gap: .6rem; flex-wrap: wrap; }
.socials a {
  padding: .55rem 1.15rem;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: .85rem;
  color: var(--muted);
  transition: all .2s;
}
.socials a:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(212,175,55,.05);
}
.map {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  filter: invert(.92) hue-rotate(180deg) saturate(.7);
}

/* ============== Footer ============== */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 1.5rem;
  background: var(--bg);
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--muted);
  font-size: .85rem;
}
.footer-tag {
  font-style: italic;
  font-family: 'Playfair Display', serif;
  color: var(--accent);
}

/* ============== Responsive ============== */

@media (max-width: 980px) {
  .estimator-wrap { grid-template-columns: 1fr; }
  .estimate-summary { position: static; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .gallery-grid figure.wide { grid-column: span 1; aspect-ratio: 4/3; }
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; max-width: 600px; }
  .hero-card { transform: none; }
  .hero-card:hover { transform: translateY(-4px); }
}
@media (max-width: 480px) {
  .hero-card-meta strong { font-size: 1.3rem; }
  .hero-rating { flex-wrap: wrap; }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    position: fixed;
    top: 70px; left: 0; right: 0;
    flex-direction: column;
    background: rgba(0,0,0,.96);
    padding: 1rem 1.5rem 2rem;
    gap: 0;
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(20px);
  }
  .nav-links.open li {
    border-top: 1px solid var(--border);
    padding: 1rem 0;
  }
  .nav-links.open li:first-child { border-top: 0; }
  .estimator-form { padding: 1.5rem; }
  .estimate-summary { padding: 1.5rem; }
  .summary-total .amount { font-size: 2.6rem; }
}
@media (max-width: 480px) {
  .logo-wrap { height: 42px; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }
  section { padding: 4rem 1.25rem; }
  .hero-meta div { flex: 1 1 40%; }
}

/* ============== Reveal animations ============== */

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .8s ease, transform .8s ease;
  }
  .reveal.in {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Focus visibility for accessibility */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* =========================================================
   Luxury Layer — animations, intro, marquee, tilt, polish
   ========================================================= */

/* ----- Smooth global easing ----- */
.btn, .opt, .service-card, .package, .gallery-grid figure,
.gallery-grid img, .nav-links a, .socials a {
  transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ----- Intro Reveal ----- */
.intro {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: opacity .9s cubic-bezier(0.7, 0, 0.3, 1);
}
.intro.hidden { opacity: 0; }
.intro-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.intro-line {
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  animation: drawLine 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.intro-name {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5.5vw, 3.6rem);
  font-style: italic;
  font-weight: 700;
  background: linear-gradient(110deg, var(--accent), var(--accent-hi), var(--accent));
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 1.5rem 0 .65rem;
  opacity: 0;
  transform: translateY(14px);
  animation: introFadeUp .9s cubic-bezier(0.16, 1, 0.3, 1) .25s forwards, shimmer 4s ease-in-out 1s infinite;
}
.intro-tag {
  font-family: 'Cinzel', serif;
  font-size: .78rem;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0;
  transform: translateY(14px);
  animation: introFadeUp .9s cubic-bezier(0.16, 1, 0.3, 1) .55s forwards;
  margin-bottom: 1.5rem;
}
@keyframes introFadeUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes drawLine {
  to { width: 280px; }
}

/* ----- Hero staggered entrance (kicks in after intro) ----- */
.hero-content > .eyebrow,
.hero-content > .hero-title,
.hero-content > .hero-sub,
.hero-content > .hero-rating,
.hero-content > .hero-actions,
.hero-card {
  opacity: 0;
  transform: translateY(28px);
  animation: heroFadeUp 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-content > .eyebrow      { animation-delay: 1.2s; }
.hero-content > .hero-title   { animation-delay: 1.4s; }
.hero-content > .hero-sub     { animation-delay: 1.6s; }
.hero-content > .hero-rating  { animation-delay: 1.8s; }
.hero-content > .hero-actions { animation-delay: 2.0s; }
.hero-card                    { animation-delay: 1.5s; }

@keyframes heroFadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.hero-scroll {
  opacity: 0;
  animation: heroFadeUp 1s ease 2.4s forwards;
}

/* ----- Cursor spotlight on hero ----- */
.hero {
  --mx: 50%;
  --my: 50%;
}
.hero-spotlight {
  position: absolute;
  width: 700px;
  height: 700px;
  left: var(--mx);
  top: var(--my);
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(212,175,55,.13), transparent 65%);
  pointer-events: none;
  opacity: 0;
  transition: opacity .35s ease;
  z-index: 1;
  border-radius: 50%;
  filter: blur(20px);
  mix-blend-mode: screen;
}
.hero:hover .hero-spotlight { opacity: 1; }

/* ----- Marquee strip ----- */
.marquee {
  overflow: hidden;
  border-top: 1px solid rgba(212,175,55,.18);
  border-bottom: 1px solid rgba(212,175,55,.18);
  background:
    linear-gradient(90deg, rgba(0,0,0,.95) 0%, transparent 8%, transparent 92%, rgba(0,0,0,.95) 100%),
    linear-gradient(180deg, var(--bg-elev), var(--bg));
  padding: 1.4rem 0;
  position: relative;
}
.marquee::before, .marquee::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.marquee::after  { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }
.marquee-track {
  display: flex;
  align-items: center;
  gap: 2.75rem;
  animation: marquee 45s linear infinite;
  width: max-content;
  font-family: 'Cinzel', serif;
  font-size: .82rem;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.marquee-track .dot {
  color: var(--accent);
  font-size: .65rem;
  letter-spacing: 0;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}
.marquee:hover .marquee-track {
  animation-play-state: paused;
}

/* ----- Service number indicator ----- */
.service-num {
  font-family: 'Cinzel', serif;
  font-size: .7rem;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .85rem;
  font-weight: 500;
}

/* ----- 3D tilt prep ----- */
[data-tilt] {
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform .5s cubic-bezier(0.16, 1, 0.3, 1), border-color .3s, box-shadow .3s;
}
.service-card[data-tilt]:hover .service-img,
.service-card[data-tilt]:hover .service-body {
  transform: translateZ(20px);
}
.service-card[data-tilt] .service-img,
.service-card[data-tilt] .service-body {
  transition: transform .5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ----- Heading underline reveal ----- */
.section-head h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 1.25rem;
}
.section-head h2::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent) 30%, var(--accent-hi) 50%, var(--accent) 70%, transparent);
  transition: width 1.4s cubic-bezier(0.16, 1, 0.3, 1) .25s;
}
.reveal.in .section-head h2::after {
  width: 320px;
}

/* Decorative ornament above headings */
.section-head .eyebrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .9rem;
}
.section-head .eyebrow::before,
.section-head .eyebrow::after {
  content: '';
  display: block;
  width: 30px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent));
}
.section-head .eyebrow::after {
  background: linear-gradient(-90deg, transparent, var(--accent));
}

/* ----- Staggered reveal for grids ----- */
.service-grid > .service-card,
.package-grid > .package,
.gallery-grid > figure,
.testimonials-grid > .quote {
  opacity: 0;
  transform: translateY(40px) scale(0.97);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1s cubic-bezier(0.16, 1, 0.3, 1),
              border-color .3s ease,
              box-shadow .3s ease;
}
.reveal.in .service-grid > .service-card,
.reveal.in .package-grid > .package,
.reveal.in .gallery-grid > figure,
.reveal.in .testimonials-grid > .quote {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.reveal.in .service-grid > .service-card:nth-child(1),
.reveal.in .package-grid > .package:nth-child(1),
.reveal.in .gallery-grid > figure:nth-child(1),
.reveal.in .testimonials-grid > .quote:nth-child(1) { transition-delay: .05s; }
.reveal.in .service-grid > .service-card:nth-child(2),
.reveal.in .package-grid > .package:nth-child(2),
.reveal.in .gallery-grid > figure:nth-child(2),
.reveal.in .testimonials-grid > .quote:nth-child(2) { transition-delay: .15s; }
.reveal.in .service-grid > .service-card:nth-child(3),
.reveal.in .package-grid > .package:nth-child(3),
.reveal.in .gallery-grid > figure:nth-child(3),
.reveal.in .testimonials-grid > .quote:nth-child(3) { transition-delay: .25s; }
.reveal.in .package-grid > .package:nth-child(4),
.reveal.in .gallery-grid > figure:nth-child(4),
.reveal.in .testimonials-grid > .quote:nth-child(4) { transition-delay: .35s; }
.reveal.in .gallery-grid > figure:nth-child(5),
.reveal.in .testimonials-grid > .quote:nth-child(5) { transition-delay: .45s; }
.reveal.in .testimonials-grid > .quote:nth-child(6) { transition-delay: .55s; }

/* ----- Featured package golden border sweep ----- */
.package.featured {
  position: relative;
  overflow: hidden;
}
.package.featured::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius);
  padding: 1px;
  background: linear-gradient(135deg,
    var(--accent) 0%,
    var(--accent-hi) 25%,
    transparent 50%,
    var(--accent-hi) 75%,
    var(--accent) 100%);
  background-size: 200% 200%;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  animation: borderSweep 8s ease-in-out infinite;
}
@keyframes borderSweep {
  0%, 100% { background-position: 0% 0%; }
  50% { background-position: 100% 100%; }
}

/* ----- Cinzel for brand labels ----- */
.package h4,
.summary-eyebrow,
.step-label {
  font-family: 'Cinzel', serif;
  letter-spacing: .12em;
}
.package h4 {
  font-weight: 500;
  text-transform: uppercase;
  font-size: 1.15rem;
}

/* ----- Estimator option button refinement ----- */
.opt {
  transition: border-color .35s cubic-bezier(0.16, 1, 0.3, 1),
              background .35s cubic-bezier(0.16, 1, 0.3, 1),
              color .35s cubic-bezier(0.16, 1, 0.3, 1),
              transform .15s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow .35s cubic-bezier(0.16, 1, 0.3, 1);
}
.opt::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(212,175,55,.12), transparent 60%);
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
.opt { position: relative; overflow: hidden; }
.opt:hover::before { opacity: 1; }

/* ----- Buttons with subtle gold sheen ----- */
.btn-primary {
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: -75%;
  width: 50%;
  background: linear-gradient(110deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-20deg);
  transition: left .9s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-primary:hover::after {
  left: 130%;
}

/* ----- About image elegant frame ----- */
.about-img {
  position: relative;
}
.about-img::before {
  content: '';
  position: absolute;
  top: 18px; left: 18px; right: -18px; bottom: -18px;
  border: 1px solid var(--accent);
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: .5;
  transition: all .5s cubic-bezier(0.16, 1, 0.3, 1);
}
.about-img:hover::before {
  top: 14px; left: 14px; right: -14px; bottom: -14px;
  opacity: 1;
}

/* ----- Estimate amount glow ----- */
.summary-total .amount {
  text-shadow: 0 0 30px rgba(212,175,55,.25);
  transition: transform .35s cubic-bezier(0.16, 1, 0.3, 1), text-shadow .35s;
}
.summary-total .amount.bump {
  transform: scale(1.08);
  text-shadow: 0 0 50px rgba(212,175,55,.5);
}

/* ----- Section ornament dividers ----- */
.section-head::before {
  content: '✦';
  display: block;
  color: var(--accent);
  font-size: .8rem;
  margin-bottom: 1rem;
  opacity: 0;
  transform: scale(0.5);
  transition: opacity .8s ease .15s, transform .8s cubic-bezier(0.34, 1.56, 0.64, 1) .15s;
}
.reveal.in .section-head::before {
  opacity: .7;
  transform: scale(1);
}

/* ----- Service card image elegant overlay ----- */
.service-img {
  position: relative;
}
.service-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.0) 50%);
  z-index: 1;
}

/* ============== Estimator — luxury redesign ============== */

.estimator {
  position: relative;
  overflow: hidden;
}
.estimator-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 700px 500px at 20% 30%, rgba(212,175,55,.08), transparent 60%),
    radial-gradient(ellipse 600px 400px at 85% 70%, rgba(212,175,55,.05), transparent 55%);
  animation: bgFloat 14s ease-in-out infinite;
}
@keyframes bgFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-20px, 12px) scale(1.06); }
}
.estimator > * { position: relative; z-index: 1; }

.estimator-form {
  background:
    linear-gradient(180deg, rgba(212,175,55,.025) 0%, transparent 50%),
    var(--bg-card);
  border: 1px solid var(--border-strong);
  position: relative;
}
.estimator-form::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent) 30%, var(--accent-hi) 50%, var(--accent) 70%, transparent);
  opacity: .6;
}

/* Step header (Roman numeral + label) */
.step-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.step-num {
  font-family: 'Cinzel', serif;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .15em;
  color: var(--accent);
  width: 38px;
  height: 38px;
  border: 1px solid var(--accent-deep);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(212,175,55,.12), transparent);
  flex-shrink: 0;
}
.step-head .step-label {
  margin-bottom: 0;
  font-family: 'Cinzel', serif;
  font-size: .82rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.step-head .optional {
  color: var(--muted);
  font-style: italic;
  letter-spacing: .04em;
  text-transform: none;
  font-family: 'Inter', sans-serif;
  font-size: .82rem;
}

/* Step 1 — Service visual cards */
.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .85rem;
}
.svc-card {
  position: relative;
  background: var(--bg-card-hi);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  transition: border-color .35s cubic-bezier(0.16, 1, 0.3, 1),
              transform .35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow .35s cubic-bezier(0.16, 1, 0.3, 1);
}
.svc-card:hover {
  border-color: var(--accent-deep);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,.5);
}
.svc-card.active {
  border-color: var(--accent);
  box-shadow: 0 22px 50px rgba(212,175,55,.18), inset 0 0 0 1px var(--accent-hi);
}
.svc-card-img {
  height: 110px;
  background-size: cover;
  background-position: center;
  position: relative;
  filter: saturate(.9);
  transition: filter .4s;
}
.svc-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.7));
}
.svc-card.active .svc-card-img { filter: saturate(1.1) brightness(1.05); }
.svc-card-body {
  padding: .9rem 1.1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: .15rem;
}
.svc-card-tag {
  font-family: 'Cinzel', serif;
  font-size: .62rem;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--accent);
}
.svc-card-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}
.svc-card-price {
  font-size: .78rem;
  color: var(--muted);
  margin-top: .15rem;
}
.svc-card-check {
  position: absolute;
  top: .85rem;
  right: .85rem;
  z-index: 2;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(0,0,0,.7);
  border: 1px solid rgba(255,255,255,.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  font-size: .75rem;
  font-weight: 700;
  transition: all .3s cubic-bezier(0.16, 1, 0.3, 1);
}
.svc-card.active .svc-card-check {
  background: linear-gradient(135deg, var(--accent), var(--accent-hi));
  border-color: var(--accent-hi);
  color: #0a0a0a;
  box-shadow: 0 0 24px rgba(212,175,55,.5);
}

/* Estimate summary refinements */
.estimate-summary {
  background:
    linear-gradient(180deg, rgba(212,175,55,.05) 0%, transparent 35%),
    radial-gradient(ellipse at top right, rgba(212,175,55,.08), transparent 60%),
    var(--bg-card);
  border-color: var(--accent-deep);
}
.summary-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  margin-bottom: 1.25rem;
}
.orn-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,.5));
  max-width: 80px;
}
.orn-line:last-child {
  background: linear-gradient(-90deg, transparent, rgba(212,175,55,.5));
}
.orn-mark {
  color: var(--accent);
  font-size: .85rem;
}
.summary-eyebrow {
  font-family: 'Cinzel', serif;
  text-align: center;
  font-size: .72rem;
  letter-spacing: .35em;
  margin-bottom: 1rem;
}
.summary-total {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .15rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(212,175,55,.18);
}
.summary-total .from {
  font-family: 'Cinzel', serif;
  text-transform: uppercase;
  letter-spacing: .25em;
  font-size: .68rem;
  color: var(--muted);
}
.summary-total .amount {
  font-size: 3.6rem;
}
.summary-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,.25), transparent);
  margin: 1rem 0 1.25rem;
}
.summary-lines {
  font-family: 'Inter', sans-serif;
  font-size: .85rem;
}
.summary-lines li {
  padding: .45rem 0;
  border-bottom: 1px dashed rgba(255,255,255,.06);
}
.summary-lines li:last-child { border-bottom: 0; }
.summary-lines li span:first-child {
  font-family: 'Cinzel', serif;
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
}

/* Refine .opt buttons within estimator (more luxury feel) */
.estimator .opts:not(.service-cards) .opt {
  padding: .8rem 1.3rem;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
}

/* Mobile: service cards stack vertically nicely */
@media (max-width: 760px) {
  .service-cards { grid-template-columns: 1fr; }
  .svc-card-img { height: 140px; }
  .summary-total .amount { font-size: 2.8rem; }
}

/* ----- Reduced motion safety ----- */
@media (prefers-reduced-motion: reduce) {
  .intro { display: none; }
  .hero-content > * { opacity: 1 !important; transform: none !important; animation: none !important; }
  .marquee-track { animation: none; }
  .hero-title .accent { animation: none; }
  .package.featured::before { animation: none; }
  .intro-name { animation: introFadeUp .3s ease forwards; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
