/* =============================================================
   Absolute Mobile Detailing — styles.css
   Palette
     --bg-0   : page background (deepest navy)
     --bg-1   : section background
     --bg-2   : card background
     --bg-3   : raised card / hovered
     --line   : subtle blue divider
     --blue   : primary accent (electric cyan-blue)
     --blue-2 : darker accent (button hover)
     --text   : primary text
     --muted  : secondary text
     --gold   : star rating
   ============================================================= */

:root {
  --bg-0: #060a14;
  --bg-1: #0a101e;
  --bg-2: #111a2e;
  --bg-3: #16223a;
  --line: rgba(0, 163, 255, 0.18);
  --line-soft: rgba(255, 255, 255, 0.06);
  --blue: #00a3ff;
  --blue-2: #007fcc;
  --blue-glow: 0 0 24px rgba(0, 163, 255, 0.35);
  --text: #ffffff;
  --muted: #9aa6b8;
  --gold: #ffb33a;
  --radius: 14px;
  --radius-lg: 18px;
  --container: 1240px;
}

/* ---------- reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg-0);
  color: var(--text);
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--blue); }
ul { list-style: none; padding: 0; margin: 0; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: .02em; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }

/* ---------- placeholder image boxes ---------- */
.img-placeholder {
  position: relative;
  background:
    repeating-linear-gradient(45deg,
      rgba(0, 163, 255, 0.06) 0 14px,
      rgba(0, 163, 255, 0.02) 14px 28px),
    linear-gradient(180deg, #0c1424, #060a14);
  border: 1px dashed rgba(0, 163, 255, 0.4);
  overflow: hidden;
}
.img-placeholder::after {
  content: attr(data-placeholder);
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  color: rgba(154, 166, 184, 0.85);
  font-size: 11px;
  letter-spacing: .04em;
  padding: 16px;
  pointer-events: none;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: .12em;
  padding: 12px 20px;
  border-radius: 10px;
  border: 1px solid transparent;
  text-transform: uppercase;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease, color .2s ease;
  white-space: nowrap;
  cursor: pointer;
}
.btn-primary {
  background: var(--blue);
  color: #021019;
  box-shadow: 0 8px 22px -8px rgba(0, 163, 255, .55);
}
.btn-primary:hover {
  background: #1ab4ff;
  color: #021019;
  transform: translateY(-1px);
  box-shadow: 0 10px 28px -6px rgba(0, 163, 255, .7);
}
.btn-outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn-outline:hover {
  background: rgba(0, 163, 255, .08);
  color: #1ab4ff;
}
.btn-lg { padding: 15px 28px; font-size: 13px; }
.btn-block { display: flex; width: 100%; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 10, 20, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 14px 24px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.logo-mark { width: 34px; height: 28px; flex: 0 0 34px; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-title {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: .12em;
  font-style: italic;
  color: #fff;
}
.logo-sub {
  font-size: 8.5px;
  letter-spacing: .35em;
  color: var(--blue);
  margin-top: 4px;
  font-weight: 500;
}

.primary-nav ul {
  display: flex;
  gap: 28px;
  justify-content: center;
}
.primary-nav a {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .15em;
  color: #d6dde9;
  position: relative;
  padding: 6px 0;
}
.primary-nav a.active,
.primary-nav a:hover { color: var(--blue); }
.primary-nav a.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--blue); border-radius: 2px;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  font-size: 14px;
  color: #fff;
}
.phone-icon { width: 16px; height: 16px; color: var(--blue); }

.mobile-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 36px; height: 36px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.mobile-toggle span {
  display: block; height: 2px; width: 24px; background: #fff; border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 720px;
  padding: 80px 0 96px;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background-color: #0a121f;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(6,10,20,.95) 0%, rgba(6,10,20,.65) 45%, rgba(6,10,20,0) 75%),
    linear-gradient(180deg, rgba(6,10,20,.4) 0%, rgba(6,10,20,.85) 100%);
}
.hero-inner { max-width: 720px; }
.eyebrow {
  color: var(--blue);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .25em;
  margin: 0 0 18px;
  text-transform: uppercase;
}
.hero-title {
  font-size: clamp(40px, 6.4vw, 84px);
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: .95;
  margin: 0 0 24px;
  font-style: italic;
}
.hero-title .line-white { display: block; color: #fff; }
.hero-title .line-blue  { display: block; color: var(--blue); text-shadow: var(--blue-glow); }
.hero-desc {
  color: #cfd6e2;
  max-width: 540px;
  font-size: 15.5px;
  margin: 0 0 28px;
}
.trust-row {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  align-items: center;
  margin: 0 0 32px;
}
.trust-row li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: .12em;
  color: #cfd6e2;
}
.trust-row svg {
  width: 28px; height: 28px;
  color: var(--blue);
  background: rgba(0, 163, 255, .1);
  padding: 5px;
  border-radius: 8px;
  border: 1px solid var(--line);
}
.trust-row strong { color: #fff; }

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-brand-tag {
  position: absolute;
  right: 32px;
  bottom: 32px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(6, 10, 20, .6);
  border: 1px solid var(--line);
  border-radius: 10px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero-brand-tag svg { width: 24px; height: 20px; }
.hero-brand-tag span {
  font-style: italic;
  font-weight: 800;
  letter-spacing: .15em;
  font-size: 13px;
}

/* ---------- section title ---------- */
.section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: center;
  font-size: 14px;
  letter-spacing: .35em;
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  margin: 0 0 28px;
}
.section-title .rule {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
  max-width: 220px;
}
.section-title.small { font-size: 12px; letter-spacing: .3em; }

/* ---------- services ---------- */
.services {
  background: var(--bg-1);
  padding: 64px 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.service-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 18px;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.service-card:hover {
  transform: translateY(-3px);
  border-color: var(--blue);
  box-shadow: 0 16px 40px -20px rgba(0, 163, 255, .55);
}
.service-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(0, 163, 255, .1);
  border: 1px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.service-icon svg { width: 22px; height: 22px; color: var(--blue); }
.service-card h3 {
  font-size: 13.5px;
  letter-spacing: .14em;
  margin: 0 0 8px;
  font-weight: 700;
}
.service-card p {
  margin: 0;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.55;
}

/* ---------- packages + before/after row ---------- */
.packages-and-ba {
  background: var(--bg-0);
  padding: 56px 0;
}
.two-col {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 32px;
  align-items: start;
}

/* packages */
.pkg-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.pkg-card {
  position: relative;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 16px 16px;
  display: flex;
  flex-direction: column;
}
.pkg-card.popular {
  border-color: var(--blue);
  box-shadow: 0 0 0 1px rgba(0, 163, 255, .15), 0 18px 40px -22px rgba(0, 163, 255, .65);
  background: linear-gradient(180deg, #142039 0%, #0e1729 100%);
}
.pop-badge {
  position: absolute;
  top: -10px;
  right: 14px;
  background: var(--blue);
  color: #021019;
  font-size: 9.5px;
  letter-spacing: .14em;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
}
.pkg-head {
  text-align: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 12px;
}
.pkg-head h3 {
  font-size: 12px;
  letter-spacing: .18em;
  color: var(--blue);
  margin: 0 0 8px;
}
.pkg-price { display: flex; flex-direction: column; align-items: center; gap: 2px; margin: 6px 0; }
.pkg-price .price {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -.01em;
  color: #fff;
  font-style: italic;
}
.pkg-price .from { font-size: 9.5px; letter-spacing: .2em; color: var(--muted); }
.pkg-tag { font-size: 10.5px; color: var(--muted); margin: 4px 0 0; }
.pkg-list { margin: 0 0 16px; flex: 1; }
.pkg-list li {
  font-size: 11.5px;
  color: #c8d0dd;
  padding: 5px 0;
  border-bottom: 1px solid var(--line-soft);
  text-align: center;
}
.pkg-list li:last-child { border: 0; }
.pkg-note {
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  margin: 18px 0 0;
}

/* before/after */
.before-after .ba-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-2);
  user-select: none;
}
.ba-img { position: absolute; inset: 0; }
.ba-after { width: 100%; height: 100%; }
.ba-before {
  width: 50%;
  height: 100%;
  border-right: 2px solid var(--blue);
  box-shadow: 2px 0 12px rgba(0, 163, 255, .25);
}
.ba-label {
  position: absolute;
  top: 14px;
  background: rgba(6, 10, 20, .75);
  color: #fff;
  font-size: 10.5px;
  letter-spacing: .25em;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 6px;
  border: 1px solid var(--line);
}
.ba-label-left { left: 14px; }
.ba-label-right { right: 14px; }
.ba-handle {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--blue);
  color: #021019;
  display: flex; align-items: center; justify-content: center;
  gap: 0;
  box-shadow: 0 0 0 4px rgba(0, 163, 255, .25);
  pointer-events: none;
}
.ba-handle .ba-arrow { font-size: 22px; line-height: 1; font-weight: 800; }
.ba-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}

/* ---------- reviews + recent work ---------- */
.reviews-and-recent {
  background: var(--bg-1);
  padding: 56px 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.review-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 18px;
}
.stars { color: var(--gold); font-size: 13px; letter-spacing: 2px; margin-bottom: 10px; }
.review-card p {
  font-size: 13px;
  color: #d4dbe6;
  font-style: italic;
  margin: 0 0 14px;
  line-height: 1.55;
}
.reviewer { display: flex; align-items: center; gap: 10px; }
.avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  flex: 0 0 36px;
}
.avatar.img-placeholder::after { font-size: 8px; padding: 0; }
.reviewer strong { display: block; font-size: 11.5px; letter-spacing: .14em; }
.reviewer span { font-size: 10.5px; color: var(--muted); letter-spacing: .08em; }

.recent-work .gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}
.gallery-tile {
  display: block;
  aspect-ratio: 16/10;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  transition: transform .2s ease, border-color .2s ease;
}
.gallery-tile:hover {
  transform: translateY(-2px);
  border-color: var(--blue);
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--bg-0);
  padding-top: 56px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line-soft);
}
.f-col h4 {
  font-size: 12px;
  letter-spacing: .25em;
  color: #fff;
  margin: 0 0 14px;
  font-weight: 600;
}
.f-brand p { color: var(--muted); font-size: 12.5px; margin: 14px 0 16px; max-width: 280px; }
.f-list { display: flex; flex-direction: column; gap: 8px; }
.f-list li { font-size: 12.5px; color: var(--muted); }
.f-list a, .f-list span { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); }
.f-list a:hover { color: var(--blue); }
.f-list svg { width: 14px; height: 14px; color: var(--blue); flex: 0 0 14px; }
.f-list strong { color: #fff; font-size: 12px; letter-spacing: .08em; }

.quick-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.social { display: flex; gap: 10px; margin-top: 4px; }
.social a {
  width: 32px; height: 32px;
  border-radius: 8px;
  border: 1px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff;
  background: rgba(0, 163, 255, .04);
}
.social a:hover { background: var(--blue); color: #021019; border-color: var(--blue); }
.social svg { width: 14px; height: 14px; }

.f-area .florida { width: 140px; height: auto; margin-top: 10px; }

.footer-bottom { padding: 18px 0; }
.fb-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 11.5px;
  color: var(--muted);
}
.fb-inner a { color: var(--blue); }

/* ===========================================================
   Responsive
   =========================================================== */
@media (max-width: 1180px) {
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .f-area, .f-hours { grid-column: span 1; }
}

@media (max-width: 1024px) {
  .header-inner { grid-template-columns: auto auto; }
  .primary-nav { display: none; }
  .header-cta .btn { display: none; }
  .mobile-toggle { display: flex; }

  .two-col { grid-template-columns: 1fr; }
  .pkg-grid { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: 1fr; }

  .hero { min-height: 600px; padding: 56px 0; }
  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(6,10,20,.55) 0%, rgba(6,10,20,.92) 70%);
  }
}

@media (max-width: 720px) {
  .container { padding: 0 18px; }
  .header-inner { padding: 12px 18px; gap: 12px; }
  .logo-title { font-size: 16px; }
  .logo-sub { font-size: 7.5px; letter-spacing: .3em; }

  .service-grid { grid-template-columns: 1fr 1fr; }
  .pkg-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .quick-grid { grid-template-columns: 1fr 1fr; }

  .trust-row { gap: 18px; }
  .trust-row li { font-size: 10px; }

  .hero-buttons { flex-direction: column; align-items: stretch; }
  .hero-buttons .btn { justify-content: center; }

  .hero-brand-tag { right: 16px; bottom: 16px; padding: 8px 10px; }
  .hero-brand-tag span { font-size: 11px; }

  .fb-inner { justify-content: center; text-align: center; }
}

/* mobile menu open state (toggled via JS) */
body.nav-open .primary-nav {
  display: block;
  position: fixed;
  inset: 64px 0 0 0;
  background: var(--bg-0);
  padding: 24px;
  z-index: 49;
}
body.nav-open .primary-nav ul {
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
body.nav-open .primary-nav a { font-size: 16px; }
body.nav-open .header-cta .btn { display: inline-flex; }
body.nav-open .mobile-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .mobile-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .mobile-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- real-image overrides (added after image swap) ---------- */

/* Before/After: <img> elements replace the placeholder divs.
   Both layers need object-fit:cover so they fill the absolutely-positioned slot. */
.ba-img { object-fit: cover; }
.ba-after { object-position: center; }
.ba-before { object-fit: cover; object-position: left center; }

/* Gallery tile: anchor wraps a real <img> that fills the tile. */
.gallery-tile { overflow: hidden; }
.gallery-tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  transition: transform .35s ease;
}
.gallery-tile:hover img { transform: scale(1.04); }

/* Reviewer avatar: clean initials circle (no stock-headshot impersonation). */
.avatar.avatar-initials {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0a3a6b 0%, #00a3ff 100%);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  border: 1px solid rgba(0, 163, 255, .35);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
}

/* keep header phone number on a single line */
.phone-link { white-space: nowrap; }

/* hero text — push to the left edge of the page */
.hero .container.hero-inner,
.hero .hero-inner {
  margin-left: 0 !important;
  margin-right: auto !important;
  max-width: 640px !important;
  padding-left: 48px !important;
}

/* hero text — align with the header container's left edge (logo position) */
.hero .container.hero-inner,
.hero .hero-inner {
  max-width: 1240px !important;        /* same as --container */
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 24px !important;       /* same as .container padding */
  padding-right: 24px !important;
}

/* constrain the inner text content so the headline doesn't stretch across the whole row */
.hero .hero-inner > * {
  max-width: 640px;
}

/* nudge hero text 100px right */
.hero .container.hero-inner,
.hero .hero-inner {
  transform: translateX(100px);
}

/* nudge hero background image 100px right */
.hero .hero-bg {
  background-position: calc(50% + 100px) center !important;
}

/* fix hero text wrapping — undo earlier 100px shift, widen text column */
.hero .container.hero-inner,
.hero .hero-inner {
  transform: none !important;
  max-width: 1240px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
}

/* Allow headline to take wider space; description stays narrower for readability */
.hero .hero-inner > .eyebrow,
.hero .hero-inner > .hero-title { max-width: 820px !important; }
.hero .hero-inner > .hero-desc { max-width: 560px !important; }
.hero .hero-inner > .trust-row,
.hero .hero-inner > .hero-buttons { max-width: 720px !important; }

/* Headline tightening — original mockup was 2 lines */
.hero-title { line-height: 1.05 !important; }
.hero-title .line-white,
.hero-title .line-blue { display: block; white-space: nowrap; }

/* cap hero at native mockup width so proportions match the original */
.hero {
  max-width: 1448px !important;
  margin: 0 auto !important;
}

.hero-bg {
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center top !important;
  background-color: #060a14 !important;
}

/* completely hide live HTML hero content — image has it baked in */
.hero-inner > .eyebrow,
.hero-inner > .hero-title,
.hero-inner > .hero-desc,
.hero-inner > .trust-row,
.hero-inner > .hero-buttons {
  display: none !important;
}

/* === HERO: show the mockup image at full brightness === */

.hero {
  max-width: 1448px !important;
  margin: 0 auto !important;
  aspect-ratio: 1448 / 400 !important;
  min-height: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  position: relative !important;
  overflow: hidden !important;
}

/* Kill any darkening overlays */
.hero-overlay,
.hero::before,
.hero::after,
.hero-inner::before,
.hero-inner::after {
  display: none !important;
  background: none !important;
  opacity: 0 !important;
}

/* Background image — fill the hero, full brightness */
.hero-bg {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background-image: url('../images/hero-bg.jpg') !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-color: transparent !important;
  opacity: 1 !important;
  filter: none !important;
  z-index: 0 !important;
}

/* hero-inner just hosts the click hotspots — must not dim the image */
.hero-inner {
  position: absolute !important;
  inset: 0 !important;
  background: none !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* dark band at bottom of hero — covers the baked-in buttons and any bleed-through */
.hero::after {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  height: 18% !important;            /* covers buttons + any bottom bleed */
  background: #060a14 !important;    /* matches the page dark background */
  z-index: 4 !important;
  opacity: 1 !important;
}

/* hotspots are no longer over visible buttons — hide them */
.hero-hotspot { display: none !important; }

/* === GALLERY GRID (homepage section) === */
.recent-work .gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}
@media (max-width: 768px) {
  .recent-work .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

/* === LIGHTBOX === */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(6, 10, 20, 0.96);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 20px;
}
.lightbox.open { display: flex; }

.lb-image {
  max-width: 95vw;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 163, 255, 0.15);
}

.lb-close, .lb-prev, .lb-next {
  position: absolute;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 28px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
  font-family: inherit;
  line-height: 1;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover {
  background: rgba(0, 163, 255, 0.3);
  border-color: var(--blue);
}
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }

.lb-counter {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  letter-spacing: 0.1em;
  margin-top: 14px;
}

.lb-thumbs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  max-width: 95vw;
  margin-top: 14px;
  padding-bottom: 6px;
}
.lb-thumbs img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.2s, transform 0.2s;
  flex-shrink: 0;
}
.lb-thumbs img:hover { opacity: 0.85; }
.lb-thumbs img.active { opacity: 1; transform: scale(1.06); }

@media (max-width: 600px) {
  .lb-close, .lb-prev, .lb-next { width: 40px; height: 40px; font-size: 22px; }
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
  .lb-thumbs img { width: 48px; height: 48px; }
}

/* === LOGO IMAGE (replaces inline SVG marks) === */
.logo-img {
  display: block;
  height: 40px;        /* header default */
  width: auto;
  max-width: 100%;
}
.site-footer .logo-img {
  height: 56px;         /* footer can be a bit larger */
}
@media (max-width: 768px) {
  .logo-img { height: 32px; }
  .site-footer .logo-img { height: 44px; }
}
.site-header .logo-img{height:64px!important}.site-footer .logo-img{height:80px!important}@media(max-width:768px){.site-header .logo-img{height:48px!important}.site-footer .logo-img{height:60px!important}}.site-header{padding:16px 0!important}
header.site-header .logo-img{height:90px!important}.site-footer .logo-img{height:100px!important}@media(max-width:768px){header.site-header .logo-img{height:64px!important}.site-footer .logo-img{height:72px!important}}.site-header{padding:20px 0!important}
header.site-header .logo-img{height:135px!important}.site-footer .logo-img{height:150px!important}@media(max-width:768px){header.site-header .logo-img{height:96px!important}.site-footer .logo-img{height:108px!important}}.site-header{padding:24px 0!important}
.site-header .logo-img,header.site-header .logo-img{height:135px!important;width:auto!important;max-width:none!important;object-fit:contain!important}.site-header .logo{flex-shrink:0!important;max-width:none!important}.primary-nav ul{gap:18px!important}.primary-nav a{font-size:13px!important}.header-cta{gap:8px!important}.header-cta .btn{padding:8px 14px!important;font-size:12px!important}
header.site-header .logo-img{height:80px!important}.site-footer .logo-img{height:100px!important}@media(max-width:768px){header.site-header .logo-img{height:60px!important}.site-footer .logo-img{height:72px!important}}.site-header{padding:14px 0!important}
header.site-header .logo-img{height:110px!important}@media(max-width:768px){header.site-header .logo-img{height:80px!important}}.site-header{padding:18px 0!important}
