/* ═══════════════════════════════════════════════════════════════
   PRIMA MOBILE DETAILING — Design System
   Aesthetic: Luxury Automotive Showroom
   Dark surfaces, gold light accents, dramatic shadows
   Like looking at a freshly coated car under gallery lights
   ═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,500&family=Outfit:wght@300;400;500;600;700;800&family=Space+Mono:wght@400;700&display=swap');

/* ── Tokens ─────────────────────────────────────────────────── */
:root {
  /* Surfaces */
  --bg:          #08080c;
  --bg-warm:     #0c0b10;
  --surface:     #111118;
  --surface-2:   #1a1a24;
  --surface-3:   #22222e;
  --glass:       rgba(255,255,255,0.03);
  --glass-border:rgba(255,255,255,0.06);

  /* Gold spectrum */
  --gold:        #c9a55c;
  --gold-light:  #dbb978;
  --gold-dim:    rgba(201,165,92,0.15);
  --gold-glow:   rgba(201,165,92,0.25);
  --gold-bright: #e8cc7a;

  /* Text */
  --text:        #e8e6e3;
  --text-dim:    #8a8694;
  --text-muted:  #5a5666;
  --white:       #ffffff;

  /* Functional */
  --success:     #4ade80;
  --error:       #ef4444;
  --info:        #60a5fa;

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Outfit', system-ui, sans-serif;
  --font-mono:    'Space Mono', monospace;

  /* Spacing scale */
  --s-xs:  4px;
  --s-sm:  8px;
  --s-md:  16px;
  --s-lg:  24px;
  --s-xl:  40px;
  --s-2xl: 64px;
  --s-3xl: 96px;
  --s-4xl: 128px;

  /* Radii */
  --r-sm:  6px;
  --r-md:  12px;
  --r-lg:  20px;
  --r-xl:  32px;
  --r-full:9999px;

  /* Shadows */
  --shadow-sm:   0 1px 3px rgba(0,0,0,0.4);
  --shadow-md:   0 4px 16px rgba(0,0,0,0.5);
  --shadow-lg:   0 8px 32px rgba(0,0,0,0.6);
  --shadow-xl:   0 16px 48px rgba(0,0,0,0.7);
  --shadow-gold: 0 4px 24px rgba(201,165,92,0.2);
  --shadow-glow: 0 0 40px rgba(201,165,92,0.15);

  /* Transitions */
  --ease:        cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:    cubic-bezier(0, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --t-fast:      0.2s;
  --t-base:      0.35s;
  --t-slow:      0.6s;
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--t-fast) var(--ease); }
a:hover { color: var(--gold); }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; }

/* ── Layout ─────────────────────────────────────────────────── */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--s-lg);
}
.container-narrow { max-width: 860px; margin: 0 auto; padding: 0 var(--s-lg); }
.container-wide   { max-width: 1440px; margin: 0 auto; padding: 0 var(--s-lg); }

/* ── Grain overlay (adds texture to the dark background) ───── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* ── Header ─────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(8,8,12,0.85);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--glass-border);
  transition: background var(--t-base) var(--ease);
}
.site-header.scrolled {
  background: rgba(8,8,12,0.95);
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--s-lg);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-mark {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--bg);
  letter-spacing: -1px;
}
.logo-text {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.5px;
}
.logo-text span { color: var(--gold); }

/* Nav */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-dim);
  border-radius: var(--r-sm);
  letter-spacing: 0.3px;
  transition: all var(--t-fast) var(--ease);
  position: relative;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(255,255,255,0.05);
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
}

/* Services dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > a::after {
  content: '';
  display: inline-block;
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  margin-left: 6px;
  vertical-align: middle;
  transition: transform var(--t-fast) var(--ease);
}
.nav-dropdown:hover > a::after { transform: rotate(180deg); }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  min-width: 240px;
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--t-fast) var(--ease);
  box-shadow: var(--shadow-xl);
}
.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown-menu a {
  display: block;
  padding: 10px 14px;
  font-size: 0.85rem;
  border-radius: var(--r-sm);
  color: var(--text-dim);
}
.dropdown-menu a:hover {
  background: var(--gold-dim);
  color: var(--gold-light);
}

/* Header CTA */
.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--bg);
  padding: 10px 22px;
  border-radius: var(--r-full);
  font-weight: 600;
  font-size: 0.85rem;
  transition: all var(--t-fast) var(--ease);
  white-space: nowrap;
  border: none;
}
.header-phone:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
  color: var(--bg);
}
.header-phone svg { width: 16px; height: 16px; flex-shrink: 0; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  z-index: 1002;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all var(--t-base) var(--ease);
  border-radius: 2px;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(8,8,12,0.97);
  backdrop-filter: blur(24px);
  z-index: 999;
  padding: 100px var(--s-xl) var(--s-xl);
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 400;
  padding: 12px 0;
  color: var(--text-dim);
  border-bottom: 1px solid var(--glass-border);
  transition: color var(--t-fast) var(--ease);
}
.mobile-nav a:hover { color: var(--gold); }
.mobile-nav .mobile-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--text-muted);
  padding: 20px 0 4px;
}
.mobile-nav .mobile-sub a {
  font-size: 1.3rem;
  padding-left: 20px;
}
.mobile-nav .mobile-phone {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--gold);
  color: var(--bg);
  padding: 16px;
  border-radius: var(--r-md);
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
}

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(8,8,12,0.92) 0%, rgba(8,8,12,0.7) 40%, rgba(8,8,12,0.5) 100%),
    radial-gradient(ellipse at 20% 80%, rgba(201,165,92,0.08) 0%, transparent 60%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 120px 0 80px;
  max-width: 700px;
}
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--gold);
  margin-bottom: var(--s-lg);
}
.hero-label::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--gold);
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  font-weight: 400;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: var(--s-lg);
  letter-spacing: -0.02em;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold);
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--text-dim);
  line-height: 1.75;
  margin-bottom: var(--s-xl);
  max-width: 540px;
  font-weight: 300;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}
.hero-proof {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: var(--s-xl);
  padding-top: var(--s-xl);
  border-top: 1px solid var(--glass-border);
}
.hero-stars { color: var(--gold); font-size: 1.1rem; letter-spacing: 2px; }
.hero-rating { color: var(--text-dim); font-size: 0.9rem; }

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--r-full);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.3px;
  transition: all var(--t-base) var(--ease);
  border: none;
  cursor: pointer;
  white-space: nowrap;
}
.btn-gold {
  background: var(--gold);
  color: var(--bg);
}
.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
  color: var(--bg);
}
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.15);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--bg);
  transform: translateY(-2px);
}
.btn-lg { padding: 18px 40px; font-size: 1rem; }

/* ── Section styles ─────────────────────────────────────────── */
.section { padding: var(--s-3xl) 0; }
.section-dark { background: var(--surface); }
.section-darker { background: var(--bg-warm); }

.section-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--gold);
  margin-bottom: var(--s-md);
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-label::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--gold);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: var(--s-md);
  letter-spacing: -0.01em;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--text-dim);
  line-height: 1.7;
  max-width: 600px;
  font-weight: 300;
}

/* ── Trust bar ──────────────────────────────────────────────── */
.trust-bar {
  background: var(--surface);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  padding: var(--s-lg) 0;
}
.trust-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--s-xl);
  align-items: center;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}
.trust-item .icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-dim);
  border-radius: var(--r-full);
  color: var(--gold);
  font-size: 0.7rem;
}

/* ── Stats bar ──────────────────────────────────────────────── */
.stats-bar {
  padding: var(--s-2xl) 0;
  background: var(--surface);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-xl);
  text-align: center;
}
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-top: 8px;
}

/* ── Service cards ──────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--s-lg);
}
.service-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all var(--t-base) var(--ease);
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-dim);
  box-shadow: var(--shadow-glow);
}
.service-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease);
}
.service-card:hover .service-card-img { transform: scale(1.05); }
.service-card-img-wrap { overflow: hidden; }
.service-card-body { padding: var(--s-lg); }
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 8px;
}
.service-card p {
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.65;
}
.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold);
  font-weight: 600;
  font-size: 0.85rem;
  margin-top: var(--s-md);
  transition: gap var(--t-fast) var(--ease);
}
.service-card-link:hover { gap: 12px; color: var(--gold-light); }

/* ── Gallery grid ───────────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-sm);
  cursor: pointer;
  aspect-ratio: 4/3;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease);
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,8,12,0.6), transparent 50%);
  opacity: 0;
  transition: opacity var(--t-fast) var(--ease);
}
.gallery-item:hover::after { opacity: 1; }

/* Before/After gallery */
.ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ba-card { position: relative; overflow: hidden; border-radius: var(--r-md); }
.ba-card img { width: 100%; height: 240px; object-fit: cover; display: block; }
.ba-label {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 14px;
  border-radius: var(--r-full);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.ba-label.before { background: rgba(239,68,68,0.9); color: white; }
.ba-label.after  { background: rgba(74,222,128,0.9); color: var(--bg); }

/* ── About section ──────────────────────────────────────────── */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-2xl);
  align-items: center;
}
.about-img {
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
}
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-img::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  pointer-events: none;
}

/* ── Reviews ────────────────────────────────────────────────── */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--s-lg);
}
.review-card {
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  padding: var(--s-xl);
  position: relative;
}
.review-card::before {
  content: '\201C';
  position: absolute;
  top: 16px;
  left: 24px;
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--gold-dim);
  line-height: 1;
}
.review-stars { color: var(--gold); font-size: 1rem; margin-bottom: var(--s-md); letter-spacing: 2px; }
.review-text { font-size: 0.95rem; color: var(--text-dim); line-height: 1.7; font-style: italic; }
.review-author {
  margin-top: var(--s-lg);
  font-weight: 600;
  color: var(--white);
  font-size: 0.9rem;
}
.review-date { color: var(--text-muted); font-size: 0.8rem; margin-top: 2px; }

/* ── FAQ Accordion ──────────────────────────────────────────── */
.faq-item {
  border-bottom: 1px solid var(--glass-border);
  padding: var(--s-lg) 0;
  cursor: pointer;
  transition: background var(--t-fast) var(--ease);
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--white);
}
.faq-arrow {
  font-size: 1.2rem;
  color: var(--gold);
  transition: transform var(--t-fast) var(--ease);
  flex-shrink: 0;
}
.faq-item.active .faq-arrow { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-base) var(--ease);
  color: var(--text-dim);
  line-height: 1.75;
  font-size: 0.95rem;
}
.faq-item.active .faq-answer { max-height: 500px; padding-top: var(--s-md); }

/* ── Contact form ───────────────────────────────────────────── */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--s-md);
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
}
.form-input,
.form-textarea,
.form-select {
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
  color: var(--white);
  font-size: 0.95rem;
  transition: border-color var(--t-fast) var(--ease);
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-dim);
}
.form-textarea { resize: vertical; min-height: 140px; }

/* ── Award badge ────────────────────────────────────────────── */
.award-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--gold-dim);
  border: 1px solid rgba(201,165,92,0.2);
  border-radius: var(--r-full);
  padding: 8px 20px 8px 8px;
}
.award-badge img { height: 40px; width: auto; border-radius: var(--r-full); }
.award-badge span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold-light);
}

/* ── Footer ─────────────────────────────────────────────────── */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--glass-border);
  padding: var(--s-2xl) 0 var(--s-xl);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--s-xl);
  margin-bottom: var(--s-2xl);
}
.footer-brand p {
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-top: var(--s-md);
  max-width: 320px;
}
.footer-heading {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--text-muted);
  margin-bottom: var(--s-md);
}
.footer-links a {
  display: block;
  padding: 6px 0;
  font-size: 0.9rem;
  color: var(--text-dim);
}
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--s-lg);
  border-top: 1px solid var(--glass-border);
  font-size: 0.8rem;
  color: var(--text-muted);
}
.footer-bottom a { color: var(--gold); }

/* ── Service page hero ──────────────────────────────────────── */
.service-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-bottom: var(--s-2xl);
}
.service-hero-bg {
  position: absolute;
  inset: 0;
}
.service-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.service-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg) 0%, rgba(8,8,12,0.6) 50%, rgba(8,8,12,0.3) 100%);
}
.service-hero-content { position: relative; z-index: 2; }

/* Process steps */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--s-lg);
  counter-reset: step;
}
.process-step {
  counter-increment: step;
  padding: var(--s-xl);
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  position: relative;
}
.process-step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--gold-dim);
  line-height: 1;
  margin-bottom: var(--s-md);
  display: block;
}
.process-step h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 8px;
}
.process-step p {
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.6;
}

/* ── Portal / Dashboard ─────────────────────────────────────── */
.portal-container { padding: var(--s-xl) 0; }
.dash-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--s-md) var(--s-lg);
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
  margin-bottom: var(--s-lg);
}
.dash-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--s-lg);
}
.dash-card {
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  padding: var(--s-xl);
}
.dash-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--gold);
  margin-bottom: var(--s-md);
}
.dash-stat {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 300;
  color: var(--white);
}

/* Login page */
.login-container {
  max-width: 420px;
  margin: var(--s-3xl) auto;
  padding: var(--s-xl);
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-xl);
}
.login-tabs {
  display: flex;
  gap: 4px;
  background: var(--bg);
  border-radius: var(--r-md);
  padding: 4px;
  margin-bottom: var(--s-xl);
}
.login-tab {
  flex: 1;
  padding: 10px;
  text-align: center;
  border-radius: var(--r-sm);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dim);
  background: none;
  border: none;
  cursor: pointer;
  transition: all var(--t-fast) var(--ease);
}
.login-tab.active {
  background: var(--gold);
  color: var(--bg);
}
.demo-creds {
  background: var(--gold-dim);
  border: 1px solid rgba(201,165,92,0.15);
  border-radius: var(--r-md);
  padding: var(--s-md);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--gold-light);
  margin-bottom: var(--s-lg);
}

/* ── Scroll animations ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Demo banner ────────────────────────────────────────────── */
.demo-banner {
  background: var(--gold);
  color: var(--bg);
  text-align: center;
  padding: 6px var(--s-xl) 6px var(--s-md);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  position: relative;
}
.demo-banner a { color: var(--bg); text-decoration: underline; }
.demo-banner button {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 1rem;
  color: var(--bg);
  cursor: pointer;
  padding: 4px;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--s-xl); }
  .about-split { gap: var(--s-xl); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: var(--s-lg); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .header-phone span { display: none; }
  .header-phone { padding: 10px; border-radius: var(--r-full); }

  .hero { min-height: 80vh; }
  .hero h1 { font-size: clamp(2.2rem, 8vw, 3rem); }
  .hero-content { padding: 80px 0 60px; }

  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .about-split { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .ba-grid { grid-template-columns: 1fr; }

  .section { padding: var(--s-2xl) 0; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .hero-sub { font-size: 1rem; }
  .section-title { font-size: 1.8rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 4px; }
  .header-inner { padding: 0 var(--s-md); }
  .container { padding: 0 var(--s-md); }
  .mobile-nav { padding: 80px var(--s-lg) var(--s-lg); }
  .mobile-nav a { font-size: 1.4rem; }
}
