/* ==========================================================================
   FixFusion — Styles
   Mobile-first. Minimal specificity. Zero !important (except reduced-motion).
   ========================================================================== */

/* ===================== CUSTOM PROPERTIES ===================== */
:root {
  --gold: #c1a47d;
  --gold-light: #d4bc9a;
  --gold-dark: #a68b64;

  --bg-primary: #0a0a0a;
  --bg-secondary: #111111;
  --bg-tertiary: #1a1a1a;
  --bg-card: #151515;

  --text-primary: #ffffff;
  --text-secondary: #b0b0b0;
  --text-muted: #666666;

  --border: #222222;
  --border-light: #2a2a2a;

  --radius: 16px;
  --radius-sm: 12px;
  --radius-xs: 8px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  --header-h: 70px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);

  --gold-rgb: 193, 164, 125;
  --touch-min: 44px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
  scroll-padding-top: var(--header-h);
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  overflow-x: clip;
  min-height: 100vh;
  min-height: 100dvh;
}

img { max-width: 100%; height: auto; }

/* ===================== ACCESSIBILITY ===================== */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100000;
  padding: 0.75rem 1.5rem;
  background: var(--gold);
  color: var(--bg-primary);
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 0 0 var(--radius-xs) var(--radius-xs);
  text-decoration: none;
  transition: top 0.3s ease;
}
.skip-link:focus {
  top: 0;
  outline: 3px solid var(--gold-light);
  outline-offset: 2px;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

::selection {
  background: rgba(var(--gold-rgb), 0.3);
  color: var(--text-primary);
}

/* ===================== SCROLLBAR ===================== */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 3px; }

@supports (scrollbar-width: thin) {
  html { scrollbar-width: thin; scrollbar-color: var(--gold-dark) var(--bg-primary); }
}

/* ===================== CONTAINER ===================== */
.container {
  width: 92%;
  max-width: 1200px;
  margin-inline: auto;
}

/* ===================== KEYFRAMES ===================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes floatSlow {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-15px); }
}
@keyframes blobMorph {
  0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
  25%      { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
  50%      { border-radius: 50% 60% 30% 60% / 40% 30% 70% 50%; }
  75%      { border-radius: 40% 60% 50% 40% / 60% 50% 30% 70%; }
}
@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.3; }
  50%      { opacity: 0.6; }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
@keyframes successPop {
  0%   { transform: scale(0); opacity: 0; }
  50%  { transform: scale(1.15); }
  100% { transform: scale(1); opacity: 1; }
}
@keyframes checkDraw {
  to { stroke-dashoffset: 0; }
}

/* ===================== SCROLL REVEAL ===================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-left {
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal-scale.visible { opacity: 1; transform: scale(1); }

.stagger-1 { transition-delay: 0.05s; }
.stagger-2 { transition-delay: 0.10s; }
.stagger-3 { transition-delay: 0.15s; }
.stagger-4 { transition-delay: 0.20s; }
.stagger-5 { transition-delay: 0.25s; }
.stagger-6 { transition-delay: 0.30s; }
.stagger-7 { transition-delay: 0.35s; }
.stagger-8 { transition-delay: 0.40s; }
.stagger-9 { transition-delay: 0.45s; }

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-scale {
    opacity: 1;
    transform: none;
  }
}

/* ===================== FLOATING ORBS ===================== */
.floating-orbs {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  will-change: border-radius, opacity;
  animation: blobMorph 20s ease-in-out infinite, glowPulse 6s ease-in-out infinite;
}
.orb-1 {
  width: 300px;
  height: 300px;
  top: -80px;
  left: -80px;
  background: radial-gradient(circle, rgba(var(--gold-rgb), 0.1) 0%, transparent 70%);
}
.orb-2 {
  width: 400px;
  height: 400px;
  top: 40%;
  right: -120px;
  background: radial-gradient(circle, rgba(var(--gold-rgb), 0.07) 0%, transparent 70%);
  animation-delay: -8s;
}
.orb-3 {
  width: 300px;
  height: 300px;
  bottom: -60px;
  left: 30%;
  background: radial-gradient(circle, rgba(var(--gold-rgb), 0.05) 0%, transparent 70%);
  animation-delay: -15s;
}

/* ===================== HEADER ===================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease),
              border-color 0.4s var(--ease);
}
header.scrolled {
  background: rgba(10, 10, 10, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.3);
}

.header-container {
  position: relative;
  width: 100%;
  height: var(--header-h);
}
.header-container .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  max-width: 220px;
  max-height: 50px;
  width: auto;
  height: auto;
  transition: transform 0.3s ease;
}
.logo-link:hover .nav-logo { transform: scale(1.03); }

nav { display: flex; align-items: center; }

/* Burger — 44×44 touch target, 24×18 visual */
.burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: var(--touch-min);
  height: var(--touch-min);
  background: none;
  border: 0;
  cursor: pointer;
  z-index: 10001;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}
.burger-lines {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 22px;
  height: 16px;
  pointer-events: none;
}
.burger-lines span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--gold);
  border-radius: 2px;
  transition: all 0.35s var(--ease);
  transform-origin: center;
}
.burger[aria-expanded="true"] .burger-lines span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger[aria-expanded="true"] .burger-lines span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.burger[aria-expanded="true"] .burger-lines span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Nav list */
.nav-list {
  list-style: none;
  display: flex;
  gap: 1.75rem;
  align-items: center;
}
.nav-list a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.3s ease;
}
.nav-list a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transition: width 0.35s var(--ease);
}
.nav-list a:hover { color: var(--gold); }
.nav-list a:hover::after { width: 100%; }

/* ===================== HERO ===================== */
.hero {
  position: relative;
  height: 100vh;
  height: 100dvh;
  min-height: 550px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-banner {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 6s ease-out;
}
.hero.loaded .hero-banner { transform: scale(1); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 10, 0.5) 0%,
    rgba(10, 10, 10, 0.15) 35%,
    rgba(10, 10, 10, 0.5) 70%,
    rgba(10, 10, 10, 0.97) 100%
  );
  z-index: 1;
}
.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 2;
  text-align: center;
  padding: 0 1.25rem;
}
.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hero-logo {
  max-width: 600px;
  width: 80%;
  height: auto;
  animation: fadeInUp 1s var(--ease) 0.2s both;
  filter: drop-shadow(0 4px 20px rgba(var(--gold-rgb), 0.15));
}
.hero-tagline {
  font-size: clamp(0.75rem, 2.5vw, 1rem);
  color: var(--text-secondary);
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 1.25rem;
  animation: fadeInUp 0.8s var(--ease) 0.45s both;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 2rem;
  animation: fadeInUp 0.8s var(--ease) 0.65s both;
  flex-wrap: wrap;
  justify-content: center;
}
.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: var(--touch-min);
  padding: 0.85rem 1.75rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
              background 0.35s var(--ease), border-color 0.35s var(--ease);
  letter-spacing: 0.02em;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}
.hero-btn.primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #0a0a0a;
  position: relative;
  overflow: hidden;
}
.hero-btn.primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.15) 42%, transparent 58%);
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
}
.hero-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(var(--gold-rgb), 0.3);
}
.hero-btn.primary:active { transform: scale(0.97); }
.hero-btn.secondary {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
  backdrop-filter: blur(10px);
}
.hero-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(var(--gold-rgb), 0.3);
  transform: translateY(-2px);
}
.hero-btn.secondary:active { transform: scale(0.97); }

.scroll-arrow {
  position: absolute;
  bottom: 30px;
  left: 0;
  right: 0;
  margin-inline: auto;
  width: fit-content;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  animation: fadeInUp 0.8s var(--ease) 0.9s both;
  cursor: pointer;
  transition: opacity 0.4s ease;
}
.scroll-arrow-text {
  font-size: 0.6rem;
  color: var(--gold);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 500;
}
.scroll-arrow-line {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: floatSlow 2.5s ease-in-out infinite;
}

/* ===================== SECTIONS ===================== */
.content-section {
  position: relative;
  padding: clamp(60px, 10vw, 100px) 1rem;
  text-align: center;
  z-index: 1;
}
.content-section:nth-of-type(odd) { background: var(--bg-primary); }
.content-section:nth-of-type(even) { background: var(--bg-secondary); }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  border: 1px solid rgba(var(--gold-rgb), 0.2);
  border-radius: 100px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
  background: rgba(var(--gold-rgb), 0.05);
}
.content-section h2 {
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.content-section h2 .accent {
  background: linear-gradient(135deg, var(--gold), var(--gold-light), #e8d5b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-divider {
  width: 50px;
  height: 2px;
  margin: 1.25rem auto;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.content-section p.section-desc {
  max-width: 600px;
  margin: 0 auto 1.5rem;
  font-size: clamp(0.9rem, 2.5vw, 1rem);
  line-height: 1.7;
  color: var(--text-secondary);
  font-weight: 300;
}

/* ===================== ABOUT ===================== */
#about { background: var(--bg-secondary); }

.about-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 700px;
  margin: 1.5rem auto 0;
}
.about-text {
  font-size: clamp(0.95rem, 2.5vw, 1.05rem);
  line-height: 1.85;
  color: var(--text-secondary);
  font-weight: 300;
  text-align: left;
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1rem;
}
.stat-item {
  text-align: center;
  padding: 1.25rem 0.75rem;
  border-radius: var(--radius);
  background: rgba(var(--gold-rgb), 0.03);
  border: 1px solid rgba(var(--gold-rgb), 0.08);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease),
              transform 0.4s var(--ease);
}
.stat-item:hover {
  background: rgba(var(--gold-rgb), 0.06);
  border-color: rgba(var(--gold-rgb), 0.15);
  transform: translateY(-3px);
}
.stat-number {
  font-size: clamp(1.5rem, 5vw, 2.25rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}
.stat-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.2rem;
  font-weight: 500;
}

/* ===================== TRUST / WHY CHOOSE US ===================== */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: 1000px;
  margin: 2rem auto 0;
}
.trust-item {
  padding: 1.75rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.trust-item:hover {
  border-color: rgba(var(--gold-rgb), 0.15);
  transform: translateY(-3px);
}
.trust-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--gold-rgb), 0.08);
  border: 1px solid rgba(var(--gold-rgb), 0.1);
  border-radius: var(--radius-xs);
  padding: 10px;
}
.trust-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--gold);
}
.trust-item h3 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}
.trust-item p {
  font-size: 0.82rem;
  line-height: 1.65;
  color: var(--text-secondary);
  font-weight: 300;
}

/* ===================== SERVICES ===================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2rem auto 0;
  max-width: 1000px;
}
.service-box {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 2rem 1.25rem 1.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease),
              transform 0.4s var(--ease);
}
.service-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transition: transform 0.5s var(--ease);
}
.service-box:hover::before { transform: scaleX(1); }
.service-box:hover {
  background: rgba(var(--gold-rgb), 0.04);
  border-color: rgba(var(--gold-rgb), 0.12);
  transform: translateY(-4px);
}
.service-box::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(var(--gold-rgb), 0.05), transparent);
  transform: rotate(25deg);
  transition: left 0.6s ease;
  pointer-events: none;
}
.service-box:hover::after { left: 120%; }

.service-icon {
  display: block;
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  object-fit: contain;
  border-radius: var(--radius-xs);
  padding: 8px;
  background: rgba(var(--gold-rgb), 0.08);
  border: 1px solid rgba(var(--gold-rgb), 0.1);
  transition: transform 0.35s var(--ease), background 0.35s var(--ease);
}
.service-box:hover .service-icon {
  transform: scale(1.08);
  background: rgba(var(--gold-rgb), 0.12);
}
.service-box p {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

.services-toggle {
  display: none;
  margin: 0 auto 1rem;
  padding: 0.65rem 1.5rem;
  min-height: var(--touch-min);
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  background: rgba(var(--gold-rgb), 0.08);
  border: 1px solid rgba(var(--gold-rgb), 0.15);
  border-radius: 100px;
  cursor: pointer;
  transition: background 0.3s ease;
  letter-spacing: 0.05em;
  -webkit-tap-highlight-color: transparent;
}
.services-toggle:hover { background: rgba(var(--gold-rgb), 0.12); }
.services-toggle:active { transform: scale(0.97); }

/* ===================== MARQUEE ===================== */
.marquee {
  background: var(--bg-primary);
  padding: 0.75rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 25s linear infinite;
}
.marquee p {
  display: inline-block;
  white-space: nowrap;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 0 1.5rem;
}
.marquee::before,
.marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 60px;
  z-index: 2;
  pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(to right, var(--bg-primary), transparent); }
.marquee::after  { right: 0; background: linear-gradient(to left, var(--bg-primary), transparent); }



/* ===================== HOW IT WORKS ===================== */
.how-it-works {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  max-width: 640px;
  margin: 0 auto 1.5rem;
}
.how-step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.how-number {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(var(--gold-rgb), 0.1);
  border: 1px solid rgba(var(--gold-rgb), 0.2);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.how-step span {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 500;
  white-space: nowrap;
}
.how-arrow {
  color: var(--text-muted);
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* ===================== QUOTE FORM ===================== */
.quote-section { background: var(--bg-primary); }

.quote-card {
  max-width: 640px;
  margin: 2rem auto 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  position: relative;
  overflow: hidden;
}
.quote-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg, var(--gold-dark), var(--gold), var(--gold-light), var(--gold), var(--gold-dark)
  );
  background-size: 200% 100%;
  animation: shimmer 4s linear infinite;
}

.quote-form fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}

/* Step indicators */
.form-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 2rem;
}
.step-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--bg-tertiary);
  border: 2px solid var(--border);
  color: var(--text-muted);
  transition: all 0.4s var(--ease);
  flex-shrink: 0;
}
.step-dot.active {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-color: var(--gold);
  color: #0a0a0a;
  box-shadow: 0 0 20px rgba(var(--gold-rgb), 0.2);
}
.step-dot.done {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: #0a0a0a;
}
.step-line {
  width: 60px;
  height: 2px;
  background: var(--border);
  position: relative;
  flex-shrink: 0;
}
.step-line-fill {
  position: absolute;
  inset: 0;
  background: var(--gold-dark);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.step-line.filled .step-line-fill { transform: scaleX(1); }

/* Step content */
.form-step { display: none; }
.form-step.active { display: block; animation: fadeInUp 0.4s var(--ease); }

.step-title {
  font-size: clamp(1.1rem, 3vw, 1.3rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-align: center;
}

/* Service selection */
.service-select-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}
.service-option input { position: absolute; opacity: 0; width: 0; height: 0; }
.service-option-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.2rem 0.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-tertiary);
  cursor: pointer;
  transition: all 0.3s var(--ease);
  text-align: center;
  min-height: var(--touch-min);
  -webkit-tap-highlight-color: transparent;
}
.service-option-card svg {
  width: 28px;
  height: 28px;
  stroke: var(--text-muted);
  transition: stroke 0.3s ease;
}
.service-option-card span {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color 0.3s ease;
  line-height: 1.2;
}
.service-option-card:active { transform: scale(0.95); }

.service-option input:focus-visible + .service-option-card {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.service-option input:checked + .service-option-card {
  border-color: var(--gold);
  background: rgba(var(--gold-rgb), 0.08);
  box-shadow: 0 0 20px rgba(var(--gold-rgb), 0.08);
}
.service-option input:checked + .service-option-card svg { stroke: var(--gold); }
.service-option input:checked + .service-option-card span { color: var(--gold); }

/* Form inputs — 16px on mobile prevents iOS zoom */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.form-group {
  margin-bottom: 1rem;
  text-align: left;
}
.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
  letter-spacing: 0.03em;
}
.form-group label .optional {
  color: var(--text-muted);
  font-weight: 400;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  appearance: none;
  -webkit-appearance: none;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.form-group textarea {
  resize: vertical;
  min-height: 80px;
}
.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(var(--gold-rgb), 0.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

/* Validation feedback */
.form-group input:user-invalid,
.form-group select:user-invalid {
  border-color: #e74c3c;
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}
.form-group .field-error {
  display: none;
  font-size: 0.7rem;
  color: #e74c3c;
  margin-top: 0.3rem;
}
.form-group.has-error .field-error { display: block; }
.form-group.has-error input,
.form-group.has-error select {
  border-color: #e74c3c;
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

/* Inline error banner (replaces window.alert) */
.form-error {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-top: 1.25rem;
  padding: 0.85rem 1rem;
  background: rgba(231, 76, 60, 0.08);
  border: 1px solid rgba(231, 76, 60, 0.3);
  border-radius: var(--radius-xs);
  color: #f1a99f;
  font-size: 0.85rem;
  line-height: 1.5;
  text-align: left;
  animation: fadeInUp 0.3s var(--ease) both;
}
.form-error[hidden] { display: none; }
.form-error-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 0.1rem;
  color: #e74c3c;
}
.form-error-text { flex: 1; }

/* Form navigation */
.form-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.form-next-btn,
.form-submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: var(--touch-min);
  padding: 0.8rem 1.75rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #0a0a0a;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.85rem;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), opacity 0.3s ease;
  margin-left: auto;
  position: relative;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}
.form-next-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.form-next-btn:not(:disabled):hover,
.form-submit-btn:not(:disabled):hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(var(--gold-rgb), 0.3);
}
.form-next-btn:not(:disabled):active,
.form-submit-btn:not(:disabled):active {
  transform: scale(0.97);
}
.form-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  min-height: var(--touch-min);
  padding: 0.8rem 1.25rem;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text-secondary);
  font-family: inherit;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: border-color 0.3s ease, color 0.3s ease;
  -webkit-tap-highlight-color: transparent;
}
.form-back-btn:hover {
  border-color: var(--text-muted);
  color: var(--text-primary);
}
.form-back-btn:active { transform: scale(0.97); }

/* Loading */
.spinner { animation: spin 0.8s linear infinite; }

/* Success */
.form-success {
  text-align: center;
  padding: 1rem 0;
}
.success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  background: linear-gradient(135deg, rgba(var(--gold-rgb), 0.15), rgba(var(--gold-rgb), 0.05));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: successPop 0.5s var(--ease);
}
.success-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--gold);
}
.form-success h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.form-success p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 400px;
  margin: 0 auto 1.5rem;
}
.success-call-btn {
  display: inline-flex;
  align-items: center;
  min-height: var(--touch-min);
  color: var(--gold);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(var(--gold-rgb), 0.3);
  transition: color 0.3s ease, border-color 0.3s ease;
}
.success-call-btn:hover {
  color: var(--gold-light);
  border-color: var(--gold);
}

/* ===================== CONTACTS ===================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 1000px;
  margin: 2rem auto 0;
  text-align: left;
}
.contact-info {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.4s ease;
}
.contact-info:hover {
  border-color: rgba(var(--gold-rgb), 0.12);
}
.contact-info p {
  font-size: 0.95rem;
  line-height: 2;
  color: var(--text-secondary);
}
.contact-info strong {
  color: var(--text-primary);
  font-weight: 600;
}
.contact-grid a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.3s ease;
}
.contact-grid a:hover { color: var(--gold-light); }

.social-links {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.25rem;
}
.social-icon {
  width: var(--touch-min);
  height: var(--touch-min);
  background: rgba(var(--gold-rgb), 0.06);
  border: 1px solid rgba(var(--gold-rgb), 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease),
              transform 0.35s var(--ease);
  z-index: 10;
  -webkit-tap-highlight-color: transparent;
}
.social-icon img {
  width: 48%;
  height: 48%;
  object-fit: contain;
}
.social-icon:hover {
  background: rgba(var(--gold-rgb), 0.1);
  border-color: rgba(var(--gold-rgb), 0.2);
  transform: translateY(-2px);
}
.social-icon:active { transform: scale(0.93); }

.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.map-container {
  width: 100%;
  height: 100%;
  min-height: 280px;
}
.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: invert(90%) hue-rotate(180deg) brightness(0.95) contrast(0.9);
}

/* ===================== FAQ ===================== */
.faq-list {
  max-width: 700px;
  margin: 1.5rem auto 0;
  text-align: left;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 0.6rem;
  background: var(--bg-card);
  overflow: hidden;
  transition: border-color 0.3s ease;
}
.faq-item:hover,
.faq-item[open] {
  border-color: rgba(var(--gold-rgb), 0.15);
}
.faq-item summary {
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--touch-min);
  -webkit-tap-highlight-color: transparent;
  transition: color 0.3s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform 0.3s var(--ease);
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
}
.faq-item[open] summary {
  color: var(--gold);
}
.faq-item p {
  padding: 0 1.25rem 1.25rem;
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--text-secondary);
}
.faq-item p a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(var(--gold-rgb), 0.3);
  transition: border-color 0.3s ease;
}
.faq-item p a:hover { border-color: var(--gold); }
.faq-item p strong { color: var(--text-primary); font-weight: 600; }

/* ===================== CONTACT HELPERS ===================== */
.contact-email a {
  word-break: break-all;
}

/* ===================== FOOTER ===================== */
footer {
  position: relative;
  text-align: center;
  padding: 1.5rem 0;
  padding-bottom: calc(1.5rem + var(--safe-bottom));
  background: var(--bg-primary);
  font-size: 0.8rem;
  color: var(--text-muted);
  z-index: 1;
}
footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dark), transparent);
}

/* ==========================================================================
   RESPONSIVE — MOBILE FIRST
   ========================================================================== */

/* ---------- Phones (≤ 480px) ---------- */
@media (max-width: 480px) {
  .container { width: 94%; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
  .trust-item { padding: 1.25rem 0.75rem; }
  .trust-item h3 { font-size: 0.8rem; }
  .trust-item p { font-size: 0.75rem; }
  .how-it-works { flex-direction: column; gap: 0.6rem; }
  .how-arrow { transform: rotate(90deg); }
  .hero-logo { width: 68%; max-width: 280px; }
  .hero-tagline { font-size: 0.7rem; letter-spacing: 0.12em; }
  .hero-btn { padding: 0.75rem 1.25rem; font-size: 0.8rem; }
  .stat-number { font-size: 1.3rem; }
  .stat-label { font-size: 0.6rem; }
  .about-stats { gap: 0.4rem; }
  .stat-item { padding: 1rem 0.5rem; }
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }
  .service-box {
    padding: 1.25rem 0.5rem 1rem;
    border-radius: var(--radius-sm);
  }
  .service-icon {
    width: 36px;
    height: 36px;
    padding: 6px;
    margin-bottom: 0.6rem;
  }
  .service-box p { font-size: 0.72rem; }
  .form-row { grid-template-columns: 1fr; }
  .step-line { width: 28px; }
  .step-dot { width: 28px; height: 28px; font-size: 0.65rem; }
  .service-select-grid { grid-template-columns: repeat(2, 1fr); }
  .quote-card { padding: 1.1rem; }
  .form-next-btn,
  .form-submit-btn { padding: 0.7rem 1.25rem; font-size: 0.82rem; }
  .form-back-btn { padding: 0.7rem 1rem; font-size: 0.82rem; }
}

/* ---------- All phones & small tablets (≤ 768px) ---------- */
@media (max-width: 768px) {
  :root { --header-h: 60px; }

  .nav-logo { max-width: 150px; max-height: 38px; }

  .burger { display: flex; }

  .nav-list {
    position: fixed;
    inset: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease);
    z-index: 9999;
    padding: 0 2rem;
  }
  .nav-list.open {
    opacity: 1;
    visibility: visible;
  }
  .nav-list a {
    font-size: 1.2rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    min-height: var(--touch-min);
    display: flex;
    align-items: center;
  }

  .hero { min-height: 480px; }
  .hero-logo { max-width: 320px; width: 72%; }
  .hero-tagline { margin-top: 1rem; }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 300px;
    gap: 0.6rem;
    margin-top: 1.5rem;
  }
  .hero-btn { width: 100%; justify-content: center; }

  .services-toggle { display: block; }
  .services-grid {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s var(--ease);
  }
  .services-grid.open { max-height: 3000px; }

  .contact-grid { grid-template-columns: 1fr; }
  .contact-info { padding: 1.5rem; }
  .map-container { min-height: 250px; }

  .quote-card {
    border-radius: var(--radius);
    padding: 1.25rem;
    margin-top: 1.5rem;
  }
  .step-line { width: 36px; }
  .form-steps { margin-bottom: 1.5rem; }
  .service-select-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
  .service-option-card {
    padding: 0.9rem 0.4rem;
    gap: 0.4rem;
  }
  .service-option-card svg { width: 24px; height: 24px; }
  .service-option-card span { font-size: 0.68rem; }

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

  .scroll-arrow { bottom: 20px; }

  .content-section {
    padding: clamp(44px, 8vw, 70px) 1rem;
  }

  .about-text { font-size: 0.95rem; }
  .section-label { font-size: 0.6rem; padding: 0.3rem 0.75rem; }

  /* Kill horizontal reveals on mobile — just fade in */
  .reveal-left,
  .reveal-right {
    transform: translateY(20px);
  }
}

/* ---------- Landscape phones ---------- */
@media (max-height: 500px) and (orientation: landscape) {
  .hero { min-height: 100dvh; }
  .hero-logo { max-width: 200px; width: 30%; }
  .hero-tagline { margin-top: 0.5rem; font-size: 0.65rem; }
  .hero-actions { margin-top: 0.75rem; flex-direction: row; }
  .hero-btn { width: auto; padding: 0.6rem 1.25rem; font-size: 0.78rem; }
  .scroll-arrow { display: none; }
}

/* ---------- Tablets (769–992px) ---------- */
@media (min-width: 769px) and (max-width: 992px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .map-container { min-height: 300px; }
}

/* ---------- Large screens (≥ 993px) ---------- */
@media (min-width: 993px) {
  .service-box:hover { transform: translateY(-6px); }
  .orb-1 { width: 400px; height: 400px; }
  .orb-2 { width: 500px; height: 500px; }
}

/* ---------- Tall/notch devices ---------- */
@supports (padding: max(0px)) {
  footer {
    padding-bottom: max(1.5rem, calc(1.5rem + env(safe-area-inset-bottom)));
  }
}

/* ---------- High-contrast / forced colors ---------- */
@media (forced-colors: active) {
  .hero-btn.primary,
  .form-next-btn,
  .form-submit-btn {
    border: 2px solid ButtonText;
  }
  .step-dot.active {
    border: 2px solid Highlight;
  }
}
