/* ============================================================
   LUMIÈRE — Luxury Hair Salon
   style.css — organized top-down in page order.
   Palette:
     --gold-deep : #B8860B   (primary)
     --gold      : #D4AF37   (secondary)
     --ink       : #0E0E0E   (background)
     --white     : #FFFFFF
     --champagne : #F5E6C4   (accent)
   ============================================================ */

/* ---------- 1. Tokens & reset ---------- */
:root {
  --gold-deep: #B8860B;
  --gold: #D4AF37;
  --ink: #0E0E0E;
  --ink-soft: #161513;
  --white: #FFFFFF;
  --champagne: #F5E6C4;
  --text: rgba(245, 240, 230, 0.86);
  --text-dim: rgba(245, 240, 230, 0.6);
  --line: rgba(212, 175, 55, 0.22);

  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Poppins", "Segoe UI", sans-serif;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.45);
  --shadow-gold: 0 8px 30px rgba(184, 134, 11, 0.35);
  --grad-gold: linear-gradient(135deg, #B8860B 0%, #D4AF37 50%, #B8860B 100%);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --nav-h: 78px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; color: var(--white); line-height: 1.15; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.25rem; }

.container { width: min(1180px, 92%); margin-inline: auto; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 5vw, 5rem); align-items: center; }

.gold-text {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.9rem;
}

.section { padding: clamp(5rem, 9vw, 8rem) 0; position: relative; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto clamp(3rem, 5vw, 4.5rem); }
.section-sub { color: var(--text-dim); margin-top: 1rem; }

/* Glassmorphism helper */
.glass {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: var(--radius);
}

/* ---------- 2. Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.95rem 2.2rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  border: none;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s;
}
.btn-gold {
  background: var(--grad-gold);
  background-size: 200% 200%;
  color: var(--ink);
  font-weight: 600;
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(212, 175, 55, 0.5);
  background-position: 100% 50%;
}
.btn-outline {
  background: transparent;
  color: var(--champagne);
  border: 1px solid rgba(245, 230, 196, 0.55);
  backdrop-filter: blur(6px);
}
.btn-outline:hover { background: rgba(245, 230, 196, 0.12); transform: translateY(-3px); }
.btn-lg { padding: 1.15rem 3rem; font-size: 1rem; }
.btn-block { width: 100%; }

/* ---------- 3. Scroll progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px; width: 0;
  background: var(--grad-gold);
  z-index: 1002;
  transition: width 0.1s linear;
}

/* ---------- 4. Navbar ---------- */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  background: transparent;
  transition: background 0.4s, box-shadow 0.4s, height 0.4s;
}
.navbar.scrolled {
  background: rgba(14, 14, 14, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.5);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }

.logo { display: inline-flex; align-items: center; gap: 0.6rem; }
.logo-mark {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--grad-gold);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  box-shadow: var(--shadow-gold);
}
.logo-text {
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--white);
  letter-spacing: 0.04em;
}

.nav-links { display: flex; align-items: center; gap: 1.9rem; }
.nav-link {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--text);
  position: relative;
  padding: 0.3rem 0;
  transition: color 0.3s;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--grad-gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}
.nav-link:hover, .nav-link.active { color: var(--gold); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { padding: 0.7rem 1.6rem; font-size: 0.82rem; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  padding: 6px;
  z-index: 1001;
}
.hamburger span {
  width: 26px; height: 2px;
  background: var(--champagne);
  transition: transform 0.35s var(--ease), opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- 5. Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg, .hero-bg img, .hero-overlay {
  position: absolute; inset: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  animation: heroZoom 14s var(--ease) forwards;
}
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }

.hero-overlay {
  background:
    linear-gradient(180deg, rgba(14,14,14,0.55) 0%, rgba(14,14,14,0.35) 45%, var(--ink) 100%),
    radial-gradient(ellipse at 30% 40%, rgba(184,134,11,0.18), transparent 60%);
}

/* Floating decorative orbs */
.hero-float {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(245,230,196,0.5), rgba(184,134,11,0.12) 65%, transparent 75%);
  filter: blur(1px);
  opacity: 0.5;
  animation: floatY 9s ease-in-out infinite;
  pointer-events: none;
}
.f1 { width: 14px; height: 14px; top: 26%; left: 12%; }
.f2 { width: 9px;  height: 9px;  top: 60%; left: 22%; animation-delay: -2.5s; animation-duration: 11s; }
.f3 { width: 18px; height: 18px; top: 34%; right: 14%; animation-delay: -4s; }
.f4 { width: 8px;  height: 8px;  top: 68%; right: 24%; animation-delay: -6.5s; animation-duration: 12s; }
@keyframes floatY {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-32px) translateX(10px); }
}

.hero-content { position: relative; z-index: 2; max-width: 820px; }
.hero-eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--champagne);
  opacity: 0;
  animation: fadeUp 1s var(--ease) 0.3s forwards;
}
.hero-title {
  font-size: clamp(2.9rem, 7.5vw, 5.6rem);
  margin: 1.1rem 0 1.4rem;
  font-weight: 600;
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line span {
  display: block;
  transform: translateY(110%);
  animation: lineUp 1.1s var(--ease) forwards;
}
.hero-title .line:nth-child(1) span { animation-delay: 0.55s; }
.hero-title .line:nth-child(2) span { animation-delay: 0.8s; }
@keyframes lineUp { to { transform: translateY(0); } }

.hero-subtitle {
  max-width: 520px;
  color: var(--text-dim);
  font-size: 1.05rem;
  opacity: 0;
  animation: fadeUp 1s var(--ease) 1.25s forwards;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2.4rem;
  opacity: 0;
  animation: fadeUp 1s var(--ease) 1.5s forwards;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: translateY(0); }
}

.scroll-cue {
  position: absolute;
  left: 50%; bottom: 2.2rem;
  transform: translateX(-50%);
  z-index: 2;
  opacity: 0;
  animation: fadeUp 1s var(--ease) 2s forwards;
}
.mouse {
  display: block;
  width: 26px; height: 42px;
  border: 1.5px solid rgba(245,230,196,0.6);
  border-radius: 14px;
  position: relative;
}
.wheel {
  position: absolute;
  top: 8px; left: 50%;
  width: 3px; height: 8px;
  margin-left: -1.5px;
  border-radius: 3px;
  background: var(--gold);
  animation: wheel 1.8s ease-in-out infinite;
}
@keyframes wheel { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- 6. Reveal-on-scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }
.delay-3 { transition-delay: 0.36s; }

/* ---------- 7. About ---------- */
.about-media { position: relative; }
.about-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  width: 100%;
}
.about-badge {
  position: absolute;
  bottom: -1.4rem;
  right: -1.2rem;
  padding: 1.2rem 1.6rem;
  text-align: center;
  box-shadow: var(--shadow-gold);
  background: rgba(14,14,14,0.75);
}
.badge-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.1rem;
  color: var(--gold);
}
.badge-label { font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-dim); }

.about-copy h2 { margin-bottom: 1.4rem; }
.about-copy p { margin-bottom: 1.1rem; color: var(--text-dim); }

.about-highlights { list-style: none; margin: 1.6rem 0 2.4rem; }
.about-highlights li { display: flex; gap: 0.8rem; padding: 0.45rem 0; color: var(--text); }
.tick { color: var(--gold); }

.counters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding-top: 1.8rem;
}
.counter { text-align: left; }
.count, .count-suffix {
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--gold);
}
.counter p { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-dim); margin: 0; }

/* ---------- 8. Services ---------- */
.services {
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(184,134,11,0.07), transparent),
    var(--ink-soft);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.service-card {
  padding: 2.4rem 2rem;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s;
}
.service-card:hover {
  transform: translateY(-10px);
  border-color: rgba(212, 175, 55, 0.55);
  box-shadow: 0 22px 50px rgba(0,0,0,0.55), 0 0 0 1px rgba(212,175,55,0.15);
}
.service-icon {
  width: 58px; height: 58px;
  display: grid; place-items: center;
  font-size: 1.5rem;
  border-radius: 50%;
  margin-bottom: 1.4rem;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--line);
  transition: transform 0.45s var(--ease), background 0.45s;
}
.service-card:hover .service-icon { transform: scale(1.1) rotate(-6deg); background: rgba(212,175,55,0.2); }
.service-card h3 { margin-bottom: 0.7rem; }
.service-card p { color: var(--text-dim); font-size: 0.92rem; margin-bottom: 1.3rem; }
.price {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 1.05rem;
  letter-spacing: 0.03em;
}

/* ---------- 9. Gallery ---------- */
.masonry {
  columns: 3;
  column-gap: 1.2rem;
}
.masonry-item {
  position: relative;
  margin-bottom: 1.2rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: zoom-in;
  break-inside: avoid;
  box-shadow: var(--shadow-soft);
}
.masonry-item img {
  width: 100%;
  transition: transform 0.7s var(--ease);
}
.masonry-item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(14,14,14,0.85));
  opacity: 0;
  transition: opacity 0.5s;
}
.masonry-item figcaption {
  position: absolute;
  left: 1.1rem; bottom: 0.95rem;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 1.02rem;
  color: var(--champagne);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.masonry-item:hover img, .masonry-item:focus-within img { transform: scale(1.08); }
.masonry-item:hover::after, .masonry-item:hover figcaption { opacity: 1; transform: translateY(0); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 8, 8, 0.94);
  backdrop-filter: blur(8px);
  animation: lbFade 0.35s var(--ease);
}
.lightbox[hidden] { display: none; }
@keyframes lbFade { from { opacity: 0; } to { opacity: 1; } }
.lightbox-figure { max-width: min(1000px, 88vw); text-align: center; }
.lightbox-figure img {
  max-width: 100%;
  max-height: 80vh;
  margin-inline: auto;
  border-radius: var(--radius-sm);
  box-shadow: 0 30px 80px rgba(0,0,0,0.8), 0 0 0 1px var(--line);
  animation: lbZoom 0.4s var(--ease);
}
@keyframes lbZoom { from { transform: scale(0.94); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.lightbox-figure figcaption {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--champagne);
}
.lightbox-close, .lightbox-nav {
  position: absolute;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line);
  color: var(--champagne);
  border-radius: 50%;
  display: grid; place-items: center;
  transition: background 0.3s, transform 0.3s;
}
.lightbox-close { top: 1.4rem; right: 1.6rem; width: 46px; height: 46px; font-size: 1.6rem; }
.lightbox-nav { top: 50%; transform: translateY(-50%); width: 50px; height: 50px; font-size: 1.15rem; }
.lightbox-nav.prev { left: 1.4rem; }
.lightbox-nav.next { right: 1.4rem; }
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(212,175,55,0.25); }

/* ---------- 10. Why choose us ---------- */
.why { background: var(--ink-soft); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}
.why-card {
  padding: 2.2rem 1.7rem;
  text-align: center;
  transition: transform 0.45s var(--ease), border-color 0.45s;
}
.why-card:hover { transform: translateY(-8px); border-color: rgba(212,175,55,0.5); }
.why-icon {
  font-size: 1.4rem;
  color: var(--gold);
  margin-bottom: 1rem;
  animation: pulseGlow 3.5s ease-in-out infinite;
}
@keyframes pulseGlow {
  0%, 100% { text-shadow: 0 0 8px rgba(212,175,55,0.25); }
  50% { text-shadow: 0 0 22px rgba(212,175,55,0.75); }
}
.why-card h3 { font-size: 1.1rem; margin-bottom: 0.6rem; }
.why-card p { font-size: 0.88rem; color: var(--text-dim); }

/* ---------- 11. Testimonials ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.testimonial {
  padding: 2.3rem 2rem;
  position: relative;
  transition: transform 0.45s var(--ease), border-color 0.45s;
}
.testimonial:hover { transform: translateY(-8px); border-color: rgba(212,175,55,0.5); }
.stars { color: var(--gold); letter-spacing: 0.25em; margin-bottom: 1.1rem; font-size: 0.95rem; }
.testimonial p { font-style: italic; color: var(--text); font-size: 0.95rem; }
.testimonial footer { margin-top: 1.5rem; display: flex; flex-direction: column; }
.testimonial cite { font-family: var(--font-display); font-style: normal; color: var(--champagne); font-size: 1.05rem; }
.testimonial footer span { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim); }

/* ---------- 12. CTA banner ---------- */
.cta-banner {
  position: relative;
  padding: clamp(6rem, 12vw, 10rem) 0;
  overflow: hidden;
  text-align: center;
}
.cta-bg, .cta-bg img, .cta-overlay { position: absolute; inset: 0; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-overlay {
  background:
    linear-gradient(180deg, var(--ink) 0%, rgba(14,14,14,0.6) 30%, rgba(14,14,14,0.6) 70%, var(--ink) 100%),
    radial-gradient(ellipse at center, rgba(184,134,11,0.15), transparent 70%);
}
.cta-content { position: relative; z-index: 2; }
.cta-content h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 2.2rem; }

/* ---------- 13. Contact ---------- */
.contact .grid-2 { align-items: start; }
.contact-info h2 { margin-bottom: 2rem; }
.info-list { list-style: none; }
.info-list li { display: flex; gap: 1.1rem; padding: 1.1rem 0; border-bottom: 1px solid rgba(212,175,55,0.12); }
.info-list li:last-child { border-bottom: none; }
.info-icon {
  flex: 0 0 48px;
  height: 48px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(212,175,55,0.1);
  border: 1px solid var(--line);
  font-size: 1.05rem;
}
.info-list h3 { font-size: 1rem; margin-bottom: 0.2rem; }
.info-list p { color: var(--text-dim); font-size: 0.92rem; }
.info-list a:hover { color: var(--gold); }

.contact-form-wrap { padding: 2.5rem 2.3rem; box-shadow: var(--shadow-soft); }
.form-title { margin-bottom: 1.6rem; font-size: 1.4rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-group { margin-bottom: 1.1rem; display: flex; flex-direction: column; }
.form-group label {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.45rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(212,175,55,0.2);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.92rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.form-group select { appearance: none; }
.form-group select option { background: var(--ink-soft); color: var(--white); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,175,55,0.16);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(245,240,230,0.35); }
.form-group.invalid input, .form-group.invalid select { border-color: #c0564f; }
.error-msg { color: #e08a84; font-size: 0.75rem; margin-top: 0.35rem; min-height: 1em; }
.form-success {
  margin-top: 1.1rem;
  text-align: center;
  color: var(--gold);
  font-size: 0.9rem;
  animation: fadeUp 0.6s var(--ease);
}

/* ---------- 14. Footer ---------- */
.footer {
  background: #0A0A0A;
  border-top: 1px solid var(--line);
  padding-top: 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
.footer-brand p { color: var(--text-dim); font-size: 0.9rem; margin-top: 1rem; max-width: 300px; }
.footer h3 { font-size: 0.85rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--champagne); margin-bottom: 1.1rem; font-family: var(--font-body); font-weight: 500; }
.footer-links { display: flex; flex-direction: column; }
.footer-links a { color: var(--text-dim); font-size: 0.9rem; padding: 0.3rem 0; transition: color 0.3s, transform 0.3s; }
.footer-links a:hover { color: var(--gold); transform: translateX(4px); }
.social-icons { display: flex; gap: 0.8rem; }
.social-icons a {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--champagne);
  transition: background 0.3s, transform 0.3s, color 0.3s;
}
.social-icons a:hover {
  background: var(--grad-gold);
  color: var(--ink);
  transform: translateY(-4px);
}
.footer-bottom {
  border-top: 1px solid rgba(212,175,55,0.12);
  padding: 1.4rem 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ---------- 15. Back to top ---------- */
.back-to-top {
  position: fixed;
  right: 1.6rem; bottom: 1.6rem;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--grad-gold);
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 600;
  box-shadow: var(--shadow-gold);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  z-index: 900;
}
.back-to-top.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover { transform: translateY(-4px); }

/* ---------- 16. Accessibility ---------- */
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .hero-title .line span { transform: none; }
  .hero-eyebrow, .hero-subtitle, .hero-actions, .scroll-cue { opacity: 1; }
}

/* ---------- 17. Responsive ---------- */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .masonry { columns: 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .grid-2 { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .counters { grid-template-columns: repeat(2, 1fr); row-gap: 1.4rem; }
  .about-badge { right: 0.8rem; bottom: 0.8rem; }
  .form-row { grid-template-columns: 1fr; }

  /* Mobile nav */
  .hamburger { display: flex; }
  .nav-links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    background: rgba(10, 10, 10, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transform: translateX(100%);
    transition: transform 0.5s var(--ease);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-link { font-size: 1.15rem; }
  .nav-cta { margin-top: 0.5rem; }
}

@media (max-width: 560px) {
  .services-grid, .why-grid { grid-template-columns: 1fr; }
  .masonry { columns: 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; text-align: center; }
  .contact-form-wrap { padding: 1.8rem 1.4rem; }
  .lightbox-nav { width: 42px; height: 42px; }
  .lightbox-nav.prev { left: 0.5rem; }
  .lightbox-nav.next { right: 0.5rem; }
}
