/* ==========================================================================
   DetaiLuxe — Mobile Detailing, Adelaide
   Token system
   ========================================================================== */

:root{
  --black:        #201d20;
  --charcoal:     #2a262a;
  --charcoal-2:   #332e32;
  --gold:         #c9a227;
  --gold-light:   #e9cf7a;
  --gold-deep:    #8a6d1a;
  --ivory:        #f5efe3;
  --muted:        #aea294;
  --line:         rgba(201,162,39,0.24);
  --line-strong:  rgba(201,162,39,0.48);

  --display: 'Cormorant Garamond', 'Times New Roman', serif;
  --body: 'Jost', -apple-system, 'Segoe UI', sans-serif;

  --max: 1180px;
  --gutter: clamp(20px, 5vw, 64px);
}

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

html{ scroll-behavior: smooth; }

body{
  background: var(--black);
  color: var(--ivory);
  font-family: var(--body);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul{ list-style: none; }

h1,h2,h3,h4{
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ivory);
}

.eyebrow{
  font-family: var(--body);
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-block;
  margin-bottom: 14px;
}

.wrap{
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible{
  outline: 1px solid var(--gold-light);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

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

.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(32,29,32,0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav{
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.brand{
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--display);
  font-size: 1.5rem;
  letter-spacing: 0.03em;
  color: var(--ivory);
}

.brand .mark{ width: 30px; height: 30px; flex-shrink: 0; }
.brand .mark path, .brand .mark circle{ stroke: var(--gold); }
.brand strong{ color: var(--gold); font-weight: 600; }

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

.nav-links a{
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  position: relative;
  padding: 6px 0;
  transition: color .25s ease;
}
.nav-links a::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:0;
  height:1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.nav-links a:hover, .nav-links a[aria-current="page"]{ color: var(--ivory); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after{ transform: scaleX(1); }

.nav-cta{
  border: 1px solid var(--line-strong);
  padding: 10px 22px;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-light);
  transition: background .25s ease, color .25s ease;
}
.nav-cta:hover{ background: var(--gold); color: var(--black); }

.nav-toggle{
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span{ width: 24px; height: 1px; background: var(--gold); display:block; }

@media (max-width: 860px){
  .nav-links{
    position: fixed;
    inset: 84px 0 0 0;
    background: var(--black);
    flex-direction: column;
    justify-content: flex-start;
    padding: 48px var(--gutter);
    gap: 28px;
    transform: translateY(-110%);
    transition: transform .35s ease;
    border-top: 1px solid var(--line);
  }
  .nav-links.open{ transform: translateY(0); }
  .nav-links a{ font-size: 0.95rem; }
  .nav-toggle{ display: flex; }
  .nav-cta{ margin-top: 6px; }
}

/* ==========================================================================
   Shine sweep — signature element
   A specular highlight that travels across gold-bordered surfaces,
   echoing the light a detailer chases across a freshly polished panel.
   ========================================================================== */

.shine{
  position: relative;
  overflow: hidden;
}
.shine::after{
  content:"";
  position: absolute;
  top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(115deg, transparent 0%, rgba(233,207,122,0.16) 45%, rgba(233,207,122,0.5) 50%, rgba(233,207,122,0.16) 55%, transparent 100%);
  transform: skewX(-18deg);
  pointer-events: none;
}
.shine.run::after{ animation: sweep 1.6s ease forwards; }
.shine-hover:hover::after{ animation: sweep 1.1s ease forwards; }

@keyframes sweep{
  to{ left: 130%; }
}

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

.btn{
  display: inline-block;
  padding: 15px 34px;
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  color: var(--gold-light);
  background: transparent;
  cursor: pointer;
  transition: background .3s ease, color .3s ease, transform .3s ease;
  position: relative;
}
.btn:hover{ background: var(--gold); color: var(--black); transform: translateY(-1px); }

.btn-solid{
  background: var(--gold);
  color: var(--black);
}
.btn-solid:hover{ background: var(--gold-light); }

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

.hero{
  position: relative;
  padding: 110px 0 120px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse at 80% -10%, rgba(201,162,39,0.10), transparent 55%),
    var(--black);
}

.hero-grid{
  display: grid;
  grid-template-columns: 1.05fr 0.85fr;
  gap: 60px;
  align-items: center;
}

.hero h1{
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  line-height: 1.06;
  margin-bottom: 26px;
}
.hero h1 em{
  font-style: normal;
  color: var(--gold);
}

.hero p.lede{
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 46ch;
  margin-bottom: 38px;
}

.hero-actions{ display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 44px; }

.hero-stats{
  display: flex;
  gap: 42px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 26px;
}
.hero-stats .stat b{
  display:block;
  font-family: var(--display);
  font-size: 1.9rem;
  color: var(--gold-light);
  font-weight: 600;
}
.hero-stats .stat span{
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-visual{
  position: relative;
  border: 1px solid var(--line);
  padding: 50px 30px;
  background: linear-gradient(160deg, var(--charcoal), var(--black));
}
.hero-visual svg{ width: 100%; height: auto; }
.hero-visual .car-line{
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.1;
}
.hero-visual .car-fill{
  fill: rgba(201,162,39,0.05);
}
.hero-visual figcaption{
  text-align: center;
  margin-top: 22px;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (max-width: 900px){
  .hero-grid{ grid-template-columns: 1fr; }
  .hero-visual{ order: -1; }
}

/* ==========================================================================
   Section scaffolding
   ========================================================================== */

section{ padding: 100px 0; }
section.tight{ padding: 70px 0; }
section + section{ border-top: 1px solid var(--line); }

.section-head{
  max-width: 640px;
  margin-bottom: 56px;
}
.section-head h2{
  font-size: clamp(2rem, 3.4vw, 2.7rem);
  line-height: 1.15;
}
.section-head p{
  color: var(--muted);
  margin-top: 16px;
  font-size: 1rem;
}
.section-head.center{ margin-left: auto; margin-right: auto; text-align: center; }

/* ==========================================================================
   Value props / feature grid
   ========================================================================== */

.value-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.value-card{
  background: var(--black);
  padding: 42px 34px;
  transition: background .3s ease;
}
.value-card:hover{ background: var(--charcoal); }
.value-card .icon{ width: 34px; height: 34px; margin-bottom: 22px; }
.value-card .icon path, .value-card .icon circle, .value-card .icon rect{ stroke: var(--gold); }
.value-card h3{ font-size: 1.25rem; margin-bottom: 10px; }
.value-card p{ color: var(--muted); font-size: 0.92rem; }

@media (max-width: 780px){
  .value-grid{ grid-template-columns: 1fr; }
}

/* ==========================================================================
   Package / pricing cards
   ========================================================================== */

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

.tier{
  border: 1px solid var(--line);
  padding: 44px 36px;
  display: flex;
  flex-direction: column;
  position: relative;
  background: var(--charcoal-2);
  background: linear-gradient(180deg, rgba(201,162,39,0.03), transparent 40%), var(--black);
}
.tier.featured{
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(201,162,39,0.08), transparent 45%), var(--black);
  transform: translateY(-10px);
}
.tier .badge{
  position: absolute;
  top: -13px;
  left: 36px;
  background: var(--gold);
  color: var(--black);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 5px 14px;
  font-weight: 600;
}
.tier .tier-name{
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.tier h3{ font-size: 1.9rem; margin-bottom: 6px; }
.tier .tier-desc{ color: var(--muted); font-size: 0.9rem; margin-bottom: 22px; }
.tier .price{
  font-family: var(--display);
  font-size: 2.4rem;
  color: var(--ivory);
  margin-bottom: 4px;
}
.tier .price span{ font-size: 0.95rem; color: var(--muted); font-family: var(--body); }
.tier .price-note{ font-size: 0.76rem; color: var(--muted); margin-bottom: 30px; }

.tier .cat-label{
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin: 18px 0 10px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.tier ul{ display: flex; flex-direction: column; gap: 10px; margin-bottom: 8px; }
.tier li{
  font-size: 0.88rem;
  color: var(--ivory);
  padding-left: 20px;
  position: relative;
}
.tier li::before{
  content:"";
  position: absolute;
  left: 0; top: 8px;
  width: 8px; height: 1px;
  background: var(--gold);
}
.tier .btn{ margin-top: auto; padding-top: 20px; text-align: center; margin-top: 28px; }

@media (max-width: 980px){
  .tier-grid{ grid-template-columns: 1fr; }
  .tier.featured{ transform: none; }
}

/* ==========================================================================
   Process steps
   ========================================================================== */

.process{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.step{ border-top: 1px solid var(--line); padding-top: 22px; }
.step .num{
  font-family: var(--display);
  color: var(--gold);
  font-size: 1.1rem;
  display: block;
  margin-bottom: 14px;
}
.step h4{ font-size: 1.1rem; margin-bottom: 8px; }
.step p{ color: var(--muted); font-size: 0.88rem; }

@media (max-width: 900px){
  .process{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px){
  .process{ grid-template-columns: 1fr; }
}

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

.testi-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.testi{
  border: 1px solid var(--line);
  padding: 34px;
}
.testi .stars{ color: var(--gold); letter-spacing: 3px; margin-bottom: 18px; font-size: 0.9rem; }
.testi p{ font-size: 0.95rem; color: var(--ivory); margin-bottom: 20px; }
.testi .who{ font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

@media (max-width: 900px){ .testi-grid{ grid-template-columns: 1fr; } }

/* ==========================================================================
   CTA band
   ========================================================================== */

.cta-band{
  text-align: center;
  padding: 90px 0;
  background: linear-gradient(180deg, rgba(201,162,39,0.06), transparent);
}
.cta-band h2{ font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin-bottom: 18px; }
.cta-band p{ color: var(--muted); margin-bottom: 34px; }

/* ==========================================================================
   Gallery
   ========================================================================== */

.filter-row{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}
.filter-btn{
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--muted);
  padding: 9px 20px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .25s ease;
}
.filter-btn:hover{ color: var(--ivory); }
.filter-btn.active{ background: var(--gold); color: var(--black); border-color: var(--gold); }

.gallery-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.g-card{
  border: 1px solid var(--line);
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  transition: transform .35s ease, border-color .35s ease;
}
.g-card:hover{ transform: translateY(-4px); border-color: var(--line-strong); }
.g-swatch{
  position: absolute;
  inset: 0;
}
.g-card .g-icon{
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-58%);
  width: 46px; height: 46px;
  opacity: 0.85;
}
.g-card .g-icon path{ stroke: var(--black); }
.g-caption{
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 16px 18px;
  background: linear-gradient(0deg, rgba(10,10,11,0.92), transparent);
}
.g-caption b{ display: block; font-family: var(--display); font-size: 1.05rem; color: var(--ivory); }
.g-caption span{ font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-light); }

@media (max-width: 900px){ .gallery-grid{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px){ .gallery-grid{ grid-template-columns: 1fr; } }

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

.contact-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: start;
}

.info-block{ margin-bottom: 40px; }
.info-block h4{
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.info-block p, .info-block a{ color: var(--ivory); font-size: 0.95rem; }
.info-block .muted{ color: var(--muted); font-size: 0.88rem; margin-top: 4px; }

.suburb-list{ display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 10px; }
.suburb-list span{ font-size: 0.85rem; color: var(--muted); }
.suburb-list span::after{ content:"·"; margin-left: 14px; color: var(--line-strong); }
.suburb-list span:last-child::after{ content:""; }

form{ display: flex; flex-direction: column; gap: 22px; }
.field{ display: flex; flex-direction: column; gap: 8px; }
.field label{
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input, .field select, .field textarea{
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line-strong);
  color: var(--ivory);
  font-family: var(--body);
  font-size: 0.98rem;
  padding: 10px 2px;
  transition: border-color .25s ease;
}
.field input:focus, .field select:focus, .field textarea:focus{
  border-color: var(--gold);
}
.field select option{ background: var(--black); }
.two-col{ display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-note{ font-size: 0.78rem; color: var(--muted); }
.form-success{
  display: none;
  border: 1px solid var(--gold);
  padding: 18px 22px;
  color: var(--gold-light);
  font-size: 0.9rem;
}
.form-success.show{ display: block; }

@media (max-width: 900px){
  .contact-grid{ grid-template-columns: 1fr; gap: 50px; }
  .two-col{ grid-template-columns: 1fr; }
}

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

footer{
  border-top: 1px solid var(--line);
  padding: 60px 0 34px;
}
.footer-grid{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
}
.footer-grid h5{
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.footer-grid ul{ display: flex; flex-direction: column; gap: 10px; }
.footer-grid a{ color: var(--muted); font-size: 0.9rem; transition: color .25s ease; }
.footer-grid a:hover{ color: var(--gold-light); }
.footer-brand p{ color: var(--muted); font-size: 0.9rem; max-width: 34ch; margin-top: 14px; }
.footer-bottom{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 26px;
  font-size: 0.76rem;
  color: var(--muted);
}

@media (max-width: 780px){
  .footer-grid{ grid-template-columns: 1fr 1fr; }
  .footer-brand{ grid-column: 1 / -1; }
}

/* ==========================================================================
   Scroll reveal — sections slide/fade up into place
   ========================================================================== */

.reveal{
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1);
}
.reveal.in{ opacity: 1; transform: none; }

/* ==========================================================================
   Before / after compare slider — signature interaction
   ========================================================================== */

.compare-wrap{ position: relative; }
.compare{
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  --pos: 50%;
  touch-action: pan-y;
}
.compare-media{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
}
.compare-before{ z-index: 1; }
.compare-after{
  z-index: 2;
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}
.compare-after .shine-plate::after{
  content:"";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.14) 48%, rgba(255,255,255,0.28) 50%, rgba(255,255,255,0.14) 52%, transparent 70%);
  animation: sheen 4.5s ease-in-out infinite;
}
@keyframes sheen{
  0%, 20%{ transform: translateX(-40%); }
  60%, 100%{ transform: translateX(40%); }
}
.shine-plate{ position: absolute; inset: 0; }

.compare-tag{
  position: relative;
  z-index: 3;
  margin: 18px;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 6px 12px;
  border: 1px solid rgba(0,0,0,0.25);
}
.compare-before .compare-tag{ background: rgba(32,29,32,0.55); color: var(--muted); margin-right: auto; }
.compare-after .compare-tag{ background: var(--gold); color: var(--black); margin-left: auto; }

.compare-line{
  position: absolute;
  top: 0; bottom: 0;
  left: var(--pos);
  width: 1px;
  background: var(--gold);
  z-index: 4;
  transform: translateX(-0.5px);
  pointer-events: none;
}
.compare-handle{
  position: absolute;
  top: 50%; left: var(--pos);
  width: 42px; height: 42px;
  transform: translate(-50%,-50%);
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
  pointer-events: none;
  box-shadow: 0 4px 14px rgba(0,0,0,0.35);
}
.compare-handle svg{ width: 18px; height: 18px; }
.compare-handle path{ stroke: var(--black); stroke-width: 1.6; }

.compare-range{
  position: absolute; /* This keeps it stretched over the images */
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  z-index: 5;
  pointer-events: auto; /* THIS IS THE FIX: Forces the browser to detect your drag */
  -webkit-appearance: none;
  appearance: none;
}
.compare-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 42px; /* Matches your golden handle's width */
  height: 100%;
  cursor: ew-resize;
}
.compare-range::-moz-range-thumb {
  width: 42px; /* Matches for Firefox */
  height: 100%;
  cursor: ew-resize;
  background: transparent;
  border: none;
}
.compare-range::-moz-range-track{ width: 100%; height: 100%; background: transparent; border: none; }

.compare-caption{
  text-align: center;
  margin-top: 20px;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Placeholder tone gradients standing in for real project photography */
.tone-ext-a{ background: linear-gradient(150deg,#26221f,#4a3a17); }
.tone-ext-b{ background: linear-gradient(150deg,#332d2a,#5a4a1c); }
.tone-int-a{ background: linear-gradient(150deg,#221f22,#3c342a); }
.tone-int-b{ background: linear-gradient(150deg,#2b2628,#4b3f1f); }
.tone-dull{ background: linear-gradient(150deg,#2c2926,#3a352d); filter: saturate(0.55) brightness(0.85); }
.tone-glossy{ background: linear-gradient(150deg,#2a2620,#6b551e); }

/* ==========================================================================
   Add-on cards
   ========================================================================== */

.addon-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.addon-card{
  border: 1px solid var(--line);
  padding: 30px 26px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: border-color .3s ease, transform .3s ease;
}
.addon-card:hover{ border-color: var(--line-strong); transform: translateY(-3px); }
.addon-card .icon{ width: 30px; height: 30px; flex-shrink: 0; margin-top: 2px; }
.addon-card .icon path, .addon-card .icon circle{ stroke: var(--gold); }
.addon-card h4{ font-size: 1.08rem; margin-bottom: 6px; }
.addon-card p{ color: var(--muted); font-size: 0.86rem; }
.addon-note{
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 34px;
}

@media (max-width: 900px){ .addon-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .addon-grid{ grid-template-columns: 1fr; } }

/* ==========================================================================
   Gallery lightbox
   ========================================================================== */

.g-card{ cursor: pointer; }
.g-card .g-hint{
  position: absolute;
  top: 16px; right: 16px;
  z-index: 3;
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--gold-light);
  padding: 4px 10px;
}

.lightbox{
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  background: rgba(15,13,15,0.86);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.lightbox.open{ opacity: 1; pointer-events: auto; }
.lightbox-inner{
  width: 100%;
  max-width: 720px;
  background: var(--black);
  border: 1px solid var(--line-strong);
  padding: 28px;
  transform: translateY(16px) scale(0.98);
  transition: transform .35s ease;
}
.lightbox.open .lightbox-inner{ transform: none; }
.lightbox-top{ display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.lightbox-close{
  background: none;
  border: 1px solid var(--line-strong);
  color: var(--ivory);
  width: 34px; height: 34px;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
}
.lightbox-close:hover{ border-color: var(--gold); color: var(--gold); }
.lightbox-caption{ margin-top: 18px; }
.lightbox-caption b{ font-family: var(--display); font-size: 1.3rem; display: block; }
.lightbox-caption span{ font-size: 0.78rem; color: var(--gold-light); letter-spacing: 0.1em; text-transform: uppercase; }

/* ==========================================================================
   Interactive contact quiz
   ========================================================================== */

.quiz{
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(201,162,39,0.04), transparent 40%), var(--charcoal);
  padding: clamp(30px, 5vw, 56px);
}
.quiz-progress{
  height: 3px;
  background: var(--line);
  margin-bottom: 8px;
  overflow: hidden;
}
.quiz-progress-bar{
  height: 100%;
  width: 12.5%;
  background: var(--gold);
  transition: width .45s cubic-bezier(.2,.7,.3,1);
}
.quiz-step-label{
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 30px;
  display: block;
}
.quiz-slides{ overflow: hidden; }
.q-track{
  display: flex;
  transition: transform .5s cubic-bezier(.65,0,.35,1);
}
.q-slide{
  flex: 0 0 100%;
  min-width: 100%;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.q-slide h2{ font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 22px; max-width: 22ch; }
.q-options{ display: flex; flex-wrap: wrap; gap: 14px; }
.q-opt{
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ivory);
  padding: 16px 24px;
  font-family: var(--body);
  font-size: 0.92rem;
  cursor: pointer;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
  text-align: left;
}
.q-opt:hover{ border-color: var(--gold); }
.q-opt.selected{ background: var(--gold); color: var(--black); border-color: var(--gold); }
.q-sub{ color: var(--muted); font-size: 0.9rem; margin: -10px 0 20px; }
.q-note{
  margin-top: 18px;
  padding: 14px 18px;
  border-left: 2px solid var(--gold);
  background: rgba(201,162,39,0.06);
  color: var(--muted);
  font-size: 0.86rem;
  display: none;
}
.q-note.show{ display: block; }
.q-fields{ display: flex; flex-direction: column; gap: 22px; margin-top: 6px; }
.q-nav{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 36px;
}
.q-back{
  background: none;
  border: none;
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 8px 0;
}
.q-back:hover{ color: var(--gold-light); }
.q-summary{ display: grid; grid-template-columns: auto 1fr; gap: 8px 24px; margin-bottom: 10px; }
.q-summary dt{ font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); align-self: start; padding-top: 3px; }
.q-summary dd{ color: var(--ivory); font-size: 0.94rem; margin-bottom: 6px; }
.q-success{
  display: none;
  text-align: center;
  padding: 40px 10px;
}
.q-success.show{ display: block; }
.q-success h2{ margin-bottom: 14px; }
.q-success p{ color: var(--muted); }

@media (max-width: 560px){
  .q-opt{ width: 100%; }
}
