:root {
  --bg: #050608;
  --bg-alt: #101218;
  --panel: #14151d;
  --gold: #d4af37;
  --gold-soft: #e5c86a;
  --text-main: #f9fafb;
  --text-muted: #cbd5f5;
  --border-subtle: rgba(255, 255, 255, 0.08);
}

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

html { scroll-behavior: smooth; }

/* Ensure the page background never “bleeds through” at the bottom (Safari overscroll / short pages) */
html, body { background-color: var(--bg); }
body { min-height: 100vh; }

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #1a1b2b, var(--bg));
  color: var(--text-main);
  line-height: 1.6;
}

/* Utilities */
.container { width: 90%; max-width: 1180px; margin: 0 auto; }
.section { padding: 4rem 0; }
.section-alt { background: var(--bg-alt); }

.section-header { text-align: center; margin-bottom: 2.5rem; }
.section-header h2 {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}
.section-header p { color: var(--text-muted); max-width: 520px; margin: 0 auto; }

.split { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1.2fr 0.8fr; }
  #contact .split { grid-template-columns: 1fr 1fr; }
}

/* Prevent anchor jumps behind sticky header */
section[id] { scroll-margin-top: 90px; }

/* HEADER */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(5, 6, 8, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-subtle);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 0; position: relative;
}

/* Brand */
.brand { display: flex; align-items: center; gap: 0.75rem; }
.brand-logo { width: auto; max-height: 60px; display: block; }
.brand-text { display: flex; flex-direction: column; }
.brand-name { font-weight: 600; font-size: 1.1rem; }
.brand-tagline { font-size: 0.85rem; color: var(--text-muted); }

/* Nav */
.nav { display: flex; align-items: center; gap: 1.5rem; }

.nav-links {
  display: flex; list-style: none;
  gap: 1.25rem; font-size: 0.95rem;
}
.nav-links a {
  text-decoration: none;
  color: var(--gold-soft);
  position: relative;
  padding-bottom: 0.1rem;
  transition: color 0.2s ease;
  font-size: 1.05rem;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  transition: width 0.2s ease;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { width: 100%; }

.nav-social { display: flex; gap: 0.75rem; }
.nav-social a {
  color: var(--text-muted);
  font-size: 1.1rem;
  transition: color 0.2s ease, transform 0.2s ease;
}
.nav-social a:hover { color: var(--gold); transform: translateY(-1px); }
.nav-social a:hover .fa-facebook-f { color: #2d88ff; }
.nav-social a:hover .fa-instagram { color: #ff4f9a; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px; height: 32px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: transparent;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px; width: 16px;
  background: var(--text-main);
  margin: 0 auto;
}

/* HERO */
.hero {
  position: relative;
  padding-top: 1.5rem;
  padding-bottom: 6rem;
  overflow: visible !important;
}
.section.hero { padding: 1.5rem 0 0.5rem !important; }

.hero::before {
  content: "";
  position: absolute; top: 0; left: 0;
  width: 48%; height: 100%;
  background: linear-gradient(90deg, #000 85%, rgba(0,0,0,0));
  z-index: 0;
}
@media (max-width: 900px) { .hero::before { width: 100%; } }

.hero::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 40px;
  background: linear-gradient(to bottom, rgba(5,6,8,0), rgba(5,6,8,1));
  pointer-events: none;
  z-index: 1;
}

.hero-inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.35fr);
  gap: 2.5rem; align-items: start;
  --hero-shift: -40px;
  transform: translateY(var(--hero-shift));
  margin-top: -60px;
}

/* Keep hero layers safe */
.hero, .hero-inner, .hero-gallery, .hero-photo { position: relative; z-index: 6; }

/* LEFT */
.hero-left {
  transform: scale(0.88);
  transform-origin: top left;
  position: relative;
  overflow: hidden;
  min-height: 420px;
  padding: 0.5rem 2.25rem;
  border-radius: 18px;
  margin-top: -1px;
  justify-self: start;
  display: flex;
  align-items: center;
}

.hero-bg-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-video-overlay {
  position: absolute; inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,0.55), rgba(0,0,0,0.65));
}

.hero-text {
  position: relative; z-index: 2;
  max-width: 520px;
  opacity: 0;
  transform: translateX(-40px);
  animation: heroFadeInLeft 1.6s ease-out forwards;
  animation-delay: 0.2s;
}
@keyframes heroFadeInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-text { animation: none; opacity: 1; transform: none; }
}

.hero-logo {
  display: block;
  width: min(340px, 85%);
  height: auto;
  margin: -10px auto 0.15rem;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 1.4rem;
  letter-spacing: 2px;
  color: var(--gold-soft);
  margin-bottom: 0.6rem;
  white-space: normal;
}

.hero h1 {
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  line-height: 1.1;
  margin-bottom: 1rem;
  font-weight: 800;
}
.gold { color: var(--gold); }

.hero-body {
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
  line-height: 1.7;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
  line-height: 1;
}
.btn.primary {
  color: #0b0c10;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  box-shadow: 0 10px 28px rgba(212, 175, 55, 0.25);
}
.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(212, 175, 55, 0.35);
}
.btn.ghost {
  color: var(--text-main);
  background: transparent;
  border-color: rgba(212, 175, 55, 0.45);
}
.btn.ghost:hover { transform: translateY(-2px); border-color: var(--gold); }
button.btn { width: fit-content; }

/* Hero buttons override */
.hero-left .btn {
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  color: #0b0c10;
  border: none;
  font-size: 1.15rem;
  padding: 1.2rem 2.4rem;
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.45);
}
.hero-left .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 45px rgba(212, 175, 55, 0.65);
}

/* HERO GALLERY */
.hero-gallery {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  grid-template-rows: repeat(4, 180px);
  grid-template-areas:
    "left-top    right-tall"
    "left-middle right-tall"
    "wide        wide"
    "bottom-left bottom-right";
  gap: 1.25rem;
}
@media (min-width: 901px) { .hero-gallery { transform: translateY(150px) !important; } }

.hero-photo {
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: #000;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.hero-photo.left-top { grid-area: left-top; }
.hero-photo.left-middle { grid-area: left-middle; }
.hero-photo.right-tall { grid-area: right-tall; }
.hero-photo.wide { grid-area: wide; }
.hero-photo.bottom-left { grid-area: bottom-left; }
.hero-photo.bottom-right { grid-area: bottom-right; }

.hero-photo.left-top img { object-position: center 50%; }
.hero-photo.bottom-left img { object-position: center 40%; }

/* Collage reveal skeleton */
.hero-reveal .hero-photo { position: relative; background: #000; }
.hero-reveal .hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.05), rgba(255,255,255,0.10), rgba(255,255,255,0.05));
  transform: translateX(-60%);
  animation: heroSkeleton 1.2s linear infinite;
  pointer-events: none;
}
.hero-reveal .hero-photo img {
  opacity: 0;
  transform: translateY(12px);
  transition: none;
}
.hero-reveal.is-ready .hero-photo::after { animation: none; opacity: 0; }
.hero-reveal.is-ready .hero-photo img {
  animation: heroImgReveal 650ms ease-out forwards;
  will-change: opacity, transform;
}
.hero-reveal.is-ready .hero-photo.right-tall img   { animation-delay: 0.10s; }
.hero-reveal.is-ready .hero-photo.left-top img     { animation-delay: 0.25s; }
.hero-reveal.is-ready .hero-photo.left-middle img  { animation-delay: 0.40s; }
.hero-reveal.is-ready .hero-photo.wide img         { animation-delay: 0.55s; }
.hero-reveal.is-ready .hero-photo.bottom-left img  { animation-delay: 0.70s; }
.hero-reveal.is-ready .hero-photo.bottom-right img { animation-delay: 0.85s; }
@keyframes heroImgReveal { to { opacity: 1; transform: translateY(0); } }
@keyframes heroSkeleton { to { transform: translateX(60%); } }

@media (prefers-reduced-motion: reduce) {
  .hero-reveal .hero-photo::after { animation: none !important; opacity: 0 !important; }
  .hero-reveal .hero-photo img { opacity: 1 !important; transform: none !important; animation: none !important; }
}


/* About */
.about-highlights { display: grid; gap: 1rem; }
.stat {
  padding: 1rem 1.2rem;
  border-radius: 0.9rem;
  background: var(--panel);
  border: 1px solid rgba(212, 175, 55, 0.6);
}
.stat-number { display: block; font-size: 1.6rem; font-weight: 600; color: var(--gold-soft); }
.stat-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}

#about .section-header p { text-align: center; margin-left: auto; margin-right: auto; }
#about .split > div:first-child { text-align: center; }
#about .split > div:first-child p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-top: 1rem;
}
#about .split > div:first-child p:first-of-type { margin-top: 0; }

.about-features {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: start;
}
@media (max-width: 1100px) { .about-features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .about-features { grid-template-columns: 1fr; } }

.about-feature {
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  border-radius: 1rem;
  padding: 1.5rem 1.25rem;
  text-align: center;
  color: #fff;
  height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.35);
}
.about-feature .feature-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #000;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0 auto 0.75rem;
}
.about-feature h4 {
  font-size: 1rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.about-feature p {
  font-size: 0.95rem;
  line-height: 1.5;
  max-width: 220px;
  margin: 0 auto;
}

/* About stats animation */
.about-highlights .stat {
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.about-highlights .stat.is-visible { opacity: 1; transform: translateX(0); }
.about-highlights .stat:nth-child(1) { transition-delay: 0.1s; }
.about-highlights .stat:nth-child(2) { transition-delay: 0.2s; }
.about-highlights .stat:nth-child(3) { transition-delay: 0.3s; }
@media (prefers-reduced-motion: reduce) {
  .about-highlights .stat { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* Cards */
.card-grid { display: grid; gap: 1.5rem; }
.card {
  background: var(--panel);
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--border-subtle);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card h3 { margin-bottom: 0.5rem; font-size: 1.1rem; }
.card p { color: var(--text-muted); font-size: 0.95rem; }

/* Services */
#services .card h3 { color: var(--gold); }
#services .card p { font-size: 1.15rem; line-height: 1.7; }
#services .card {
  border: 1px solid rgba(212, 175, 55, 0.6);
  box-shadow: none;
  transform: translateY(0);
}
#services .card:hover {
  border-color: var(--gold);
  box-shadow:
    0 0 0 1px rgba(212,175,55,0.55),
    0 18px 48px rgba(212,175,55,0.35);
  transform: translateY(-8px);
}

/* Partners */
.partner-grid { display: grid; gap: 1.5rem; align-items: stretch; }
.partner-card {
  padding: 1.5rem !important;
  border-radius: 1rem;
  background: var(--panel);
  border: 1px solid rgba(212, 175, 55, 0.6);
  min-height: 160px;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.partner-card .partner-name {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--gold);
  font-size: 1.1rem;
}
.partner-card p { font-size: 0.95rem; line-height: 1.6; color: var(--text-muted); }

@media (min-width: 768px) { .partner-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } }

.partner-card:hover{
  border-color: var(--gold) !important;
  box-shadow:
    0 0 0 1px rgba(212,175,55,0.55),
    0 18px 48px rgba(212,175,55,0.35) !important;
  transform: translateY(-8px) !important;
}

/* Partner marquee */
.partner-marquee {
  margin-top: 2rem;
  height: 70px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-top: 1px solid var(--border-subtle);
  position: relative;
}
.partner-marquee::before,
.partner-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  width: 70px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}
.partner-marquee::before { left: 0; background: linear-gradient(to right, var(--bg), transparent); }
.partner-marquee::after { right: 0; background: linear-gradient(to left, var(--bg), transparent); }

.partner-track {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  width: max-content;
  will-change: transform;
  animation: partner-scroll 18s linear infinite;
}
.partner-track img {
  height: 42px !important;
  max-height: 42px !important;
  width: auto !important;
  max-width: 160px !important;
  object-fit: contain;
  display: block;
  opacity: 0.9;
}
.partner-marquee:hover .partner-track { animation-play-state: paused; }
@keyframes partner-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .partner-track { animation: none !important; } }

#partners .partner-cta { margin: 3rem 0 3.5rem; text-align: center; }
#partners .partner-btn {
  display: inline-block;
  padding: 1.2rem 2.4rem;
  max-width: 720px;
  font-size: 1.1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #fff;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
#partners .partner-btn:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(212, 175, 55, 0.65); }

/* Reviews */
.review-card { position: relative; }
.review-card::before {
  content: "“";
  position: absolute;
  top: -15px; left: 15px;
  font-size: 3rem;
  color: rgba(212, 175, 55, 0.18);
}
.review-text { margin-bottom: 0.75rem; color: var(--text-muted); }
.review-author { font-size: 0.9rem; color: var(--gold-soft); }
#reviews .card.review-card {
  border: 1px solid rgba(212, 175, 55, 0.6) !important;
}
#reviews .card.review-card:hover{
  border-color: var(--gold) !important;
  box-shadow:
    0 0 0 1px rgba(212,175,55,0.55),
    0 18px 48px rgba(212,175,55,0.35) !important;
  transform: translateY(-8px) !important;
}

/* Reviews stars + hint row */
#reviews .review-rating{
  width: 100% !important;
  margin-top: 2.75rem !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}
#reviews .review-rating-row { display: flex; align-items: center; gap: 1.25rem; }
#reviews .review-hint{
  display: flex; align-items: center; gap: 0.5rem;
  font-weight: 700; font-size: 1.05rem;
  color: var(--gold-soft);
  white-space: nowrap;
}
#reviews .hint-arrow{
  color: var(--gold);
  font-size: 1.6rem;
  animation: hintArrowPulse 1.4s ease-in-out infinite;
}
@keyframes hintArrowPulse {
  0% { transform: translateX(0); opacity: 0.6; }
  50% { transform: translateX(6px); opacity: 1; }
  100% { transform: translateX(0); opacity: 0.6; }
}

#reviews #reviewStars{
  display: inline-flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 1rem !important;
}
#reviews #reviewStars .star{
  appearance: none !important;
  border: 0 !important;
  background: transparent !important;
  cursor: pointer !important;
  font-size: 4.25rem !important;
  line-height: 1 !important;
  padding: 0 !important;
  color: rgba(212, 175, 55, 0.25) !important;
  transition: color 0.12s ease, transform 0.12s ease, text-shadow 0.12s ease !important;
}
#reviews #reviewStars .star.is-on{
  color: var(--gold) !important;
  text-shadow: 0 0 18px rgba(212, 175, 55, 0.45) !important;
}
#reviews #reviewStars .star:hover{ transform: translateY(-2px) !important; }

@media (max-width: 640px) {
  #reviews .review-rating-row { flex-direction: column; gap: 0.75rem; }
  #reviews .hint-arrow { display: none; }
}

/* Gallery grid */
#gallery .gallery-grid{ display: grid; gap: 1.25rem; }
@media (min-width: 768px){ #gallery .gallery-grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); } }
#gallery .gallery-item{
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: #000;
  height: 300px;
}
#gallery .gallery-item img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* ==========================================================
   GALLERY UNLOCK (premium slider)
   ========================================================== */
#gallery .gallery-unlock{
  margin-top: 3rem;
  padding: 1.6rem 1.6rem 1.35rem;
  border-radius: 26px;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 0.75rem;
  position: relative;
  z-index: 1;
  isolation: isolate;
  background:
    radial-gradient(900px 260px at 50% -25%, rgba(212,175,55,0.22), rgba(0,0,0,0) 60%),
    linear-gradient(180deg, rgba(20,21,29,0.78), rgba(8,9,12,0.62));
  border: 1px solid rgba(212,175,55,0.26);
  box-shadow:
    0 26px 90px rgba(0,0,0,0.65),
    inset 0 1px 0 rgba(255,255,255,0.06);
  backdrop-filter: blur(10px);
  outline: 1px solid rgba(229,200,106,0.18);
  outline-offset: -1px;
}
#gallery .gallery-unlock-text{
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.95rem;
  color: rgba(229,200,106,0.98);
  text-shadow: 0 0 18px rgba(212,175,55,0.22);
}
#gallery .gallery-unlock-hint{ color: rgba(203,213,245,0.86); font-size: 0.95rem; }

#gallery .unlock-row{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.2rem;
}

/* hide lock but keep it for JS */
#gallery .gallery-unlock .lock{
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
}

/* Slider track */
#gallery .key-slider{
  position: relative;
  width: min(720px, 78vw);
  height: 72px;
  border-radius: 999px;
  overflow: hidden;
  background:
    radial-gradient(800px 120px at 50% 0%, rgba(255,255,255,0.08), rgba(0,0,0,0) 55%),
    linear-gradient(180deg, rgba(10,11,14,0.78), rgba(20,21,29,0.60));
  border: 1px solid rgba(229,200,106,0.30);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    inset 0 -18px 30px rgba(0,0,0,0.35),
    0 24px 80px rgba(0,0,0,0.62);
}

/* fill under thumb */
#gallery .key-slider::before{
  content:"";
  position:absolute;
  inset: 0;
  width: var(--unlock-fill, 0%);
  background: linear-gradient(90deg,
    rgba(255,242,200,0.75),
    rgba(229,200,106,0.98) 18%,
    rgba(212,175,55,0.92) 55%,
    rgba(138,106,22,0.92)
  );
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.18),
    0 0 34px rgba(212,175,55,0.22);
  transition: width 0.08s linear;
}

/* range input */
#gallery .key-range{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: grab;
  z-index: 6;
}
#gallery .key-range:active{ cursor: grabbing; }

/* BLACK logo button thumb */
#gallery .key{
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 68px;
  height: 68px;
  border-radius: 999px;
  z-index: 5;
  pointer-events: none;
  will-change: transform;

  background-image:
    url("../img/zb-logo-mark.png"),
    radial-gradient(60% 60% at 30% 30%, rgba(255,255,255,0.10), rgba(255,255,255,0) 60%),
    linear-gradient(180deg, #1a1b1e, #0f1013 45%, #000000);

  background-repeat: no-repeat;
  background-position: center;

  /* 🔥 LOGO SIZE CONTROL */
  background-size: 100% 100%, cover, cover;

  border: 1px solid rgba(255,255,255,0.10);
  outline: 1px solid rgba(212,175,55,0.18);
  box-shadow:
    0 0 0 1px rgba(212,175,55,0.35),
    0 0 22px rgba(212,175,55,0.45),
    0 18px 38px rgba(0,0,0,0.75),
    inset 0 1px 0 rgba(255,255,255,0.06),
    inset 0 -10px 18px rgba(0,0,0,0.65);
}

/* ==========================================================
   Contact
   ========================================================== */
.contact-details p { color: var(--text-muted); margin-bottom: 1rem; }

.contact-list {
  list-style: none;
  display: grid;
  gap: 0.3rem;
  font-size: 0.95rem;
}
.contact-list a { color: var(--gold-soft); text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }

.contact-form {
  background: var(--panel);
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--border-subtle);
}
#contact .contact-form {
  border: 1px solid var(--gold) !important;
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.35), 0 12px 30px rgba(212, 175, 55, 0.15) !important;
}

.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: 0.85rem; margin-bottom: 0.3rem; }
.form-group input,
.form-group textarea {
  width: 100%;
  border-radius: 0.6rem;
  border: 1px solid rgba(148, 163, 184, 0.7);
  padding: 0.5rem 0.6rem;
  background: #050608;
  color: var(--text-main);
  font-size: 0.95rem;
}
.form-group input:focus,
.form-group textarea:focus { outline: none; border-color: var(--gold); }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 1.5rem 0 2rem;
  background: #050608;
  position: relative;
  z-index: 1;
}
.footer-inner { text-align: center; font-size: 0.85rem; color: var(--text-muted); }
.footer-small { margin-top: 0.25rem; }

/* Responsive columns */
@media (min-width: 768px) { .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Mobile nav */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav {
    position: absolute;
    inset: 56px 0 auto 0;
    background: rgba(5, 6, 8, 0.98);
    padding: 0.75rem 5%;
    border-bottom: 1px solid var(--border-subtle);
    display: none;
    flex-direction: column;
    gap: 0.75rem;
  }
  .nav.open { display: flex; }

  .nav-links { flex-direction: column; gap: 0.5rem; }
  .nav-social { margin-top: 0.5rem; }
}
/* ==========================================================
   MOBILE: single clean set of overrides (no conflicting “patch stacks”)
   ========================================================== */
@media (max-width: 900px){
  .hero-inner{
    grid-template-columns: 1fr !important;
    margin-top: 0 !important;
    transform: none !important;
    --hero-shift: 0px !important;
    gap: 1.25rem !important;
  }

  .hero-left{
    transform: none !important;
    padding: 1.25rem 1.1rem !important;
    min-height: auto !important;
  }

  .hero-text{ max-width: 100% !important; }
  .eyebrow{ font-size: 1.05rem !important; letter-spacing: 1.2px !important; }
  .hero-body{ font-size: 1.05rem !important; line-height: 1.65 !important; }

  .hero-actions{
    display: grid !important;
    grid-template-columns: 1fr !important;
  }
  .hero-left .btn{
    font-size: 1rem !important;
    padding: 0.95rem 1.25rem !important;
    width: 100%;
  }

  .hero-gallery{
    grid-template-columns: 1.2fr 1fr !important;
    grid-template-rows: repeat(4, clamp(90px, 18vw, 180px)) !important;
    gap: clamp(0.55rem, 2.2vw, 1.25rem) !important;
    transform: none !important;
  }
  .hero-photo{ min-height: 0 !important; }

  .hero-emergency{
    grid-column: 1 / -1 !important;
    width: 100% !important;
    margin-top: 1rem !important;
  }
}

@media (max-width: 520px){
  .hero { padding-top: 2.25rem !important; padding-bottom: 2.25rem !important; }

  .section-header h2{ font-size: 2rem !important; }
  .card{ padding: 1.15rem !important; }

  #gallery .gallery-item{ height: 220px !important; }
}

/* iOS zoom fix in forms */
@media (max-width: 900px){
  .form-group input, .form-group textarea{
    font-size: 16px !important;
  }
}

/* ==========================================================
   HERO RIGHT COLLAGE CTA (FIXED)
   ========================================================== */
.hero-collage-cta{
  margin-top: 34px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

.hero-collage-cta a.pill-btn{
  display: block;
  width: 100%;
  text-align: center;
  text-decoration: none;
  cursor: pointer;

  padding: 14px 18px;
  line-height: 1;

  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.02em;

  border-radius: 999px;
  border: none;

  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  color: #0b0c10;
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.45);

  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.hero-collage-cta a.pill-btn.primary,
.hero-collage-cta a.pill-btn.emergency{
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  color: #0b0c10;
}

.hero-collage-cta a.pill-btn:hover{
  transform: translateY(-3px);
  box-shadow: 0 18px 45px rgba(212, 175, 55, 0.65);
}

.hero-collage-cta a.pill-btn:focus-visible{
  outline: 3px solid rgba(212,175,55,0.35);
  outline-offset: 3px;
}

/* ===== Services: pin Learn More bottom-right (uniform) ===== */
#services .card{
  position: relative;
  padding-bottom: 4.25rem;
}

#services .card .service-trigger{
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  margin: 0 !important;
}

@media (max-width: 640px){
  #services .card{
    padding-bottom: 4.75rem;
  }
  #services .card .service-trigger{
    right: 1rem;
    bottom: 1rem;
  }
}

/* ============================= */
/* PREFERRED PARTNER PAGE STYLES */
/* ============================= */

.partner-page{
  max-width:1100px;
  margin:0 auto;
  padding:70px 24px 90px;
}

.partner-hero{
  text-align:center;
  margin-bottom:50px;
}
.partner-hero h1{
  color:#D6B35A;
  font-size:clamp(36px,4.4vw,56px);
  margin-bottom:14px;
}
.partner-hero p{
  max-width:780px;
  margin:0 auto;
  color:#A8B2C6;
  line-height:1.65;
}

.partner-layout{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:32px;
  align-items:flex-start;
}

.partner-left h2,
.partner-right h2{
  color:#D6B35A;
  margin-bottom:16px;
}

.partner-stack{
  display:flex;
  flex-direction:column;
  gap:18px;
}

.partner-card{
  background:linear-gradient(180deg,#0E1424,#0B1120);
  border:1px solid rgba(214,179,90,.25);
  border-radius:20px;
  padding:26px;
}
.partner-card h3{
  color:#D6B35A;
  margin-bottom:8px;
}

.partner-right{
  background:linear-gradient(180deg,#0E1424,#0B1120);
  border:1px solid rgba(214,179,90,.25);
  border-radius:26px;
  padding:30px;
  position:sticky;
  top:24px;
}

.partner-steps{
  list-style:none;
  padding:0;
  margin:20px 0 0;
  display:flex;
  flex-direction:column;
  gap:12px;
}
.partner-steps li{
  background:rgba(7,10,16,.35);
  border:1px solid rgba(214,179,90,.18);
  border-radius:14px;
  padding:12px 14px;
  color:#A8B2C6;
}
.partner-steps strong{
  color:#E9EEF7;
}

.partner-cta{
  text-align:center;
  margin:60px 0;
  padding:28px;
  border-radius:26px;
  border:1px solid rgba(214,179,90,.25);
  background:linear-gradient(180deg, rgba(214,179,90,.10), transparent);
}
.partner-cta p{
  max-width:760px;
  margin:0 auto 18px;
}

.partner-btn{
  display:inline-block;
  padding:14px 26px;
  border-radius:999px;
  font-weight:600;
  border:1px solid #D6B35A;
  background:linear-gradient(180deg,#D6B35A,#B8922D);
  color:#111;
  transition:.25s;
}
.partner-btn:hover{
  transform:translateY(-2px);
}

.partner-form form{
  max-width:760px;
  margin:0 auto;
  background:linear-gradient(180deg,#0E1424,#0B1120);
  border:1px solid rgba(214,179,90,.25);
  border-radius:26px;
  padding:36px;
}
.partner-form input,
.partner-form textarea{
  width:100%;
  margin-bottom:14px;
  padding:14px 16px;
  background:#070B16;
  border:1px solid rgba(214,179,90,.22);
  border-radius:12px;
  color:#E9EEF7;
}
.partner-form textarea{
  min-height:120px;
}

@media(max-width:900px){
  .partner-layout{
    grid-template-columns:1fr;
  }
  .partner-right{
    position:relative;
    top:auto;
  }
}
.partner-slider{
  position: relative;
  padding: 28px 24px;
  border-radius: 22px;
  overflow: hidden;

  background: linear-gradient(
    180deg,
    #D6B35A,
    #B8922D
  );
}

.partner-slider::before{
  content: "";
  position: absolute;
  inset: 0;

  background: radial-gradient(
    ellipse at center,
    rgba(0,0,0,0.65) 0%,
    rgba(0,0,0,0.55) 35%,
    rgba(0,0,0,0.25) 55%,
    rgba(0,0,0,0.05) 75%,
    rgba(0,0,0,0) 100%
  );

  pointer-events: none;
  z-index: 1;
}

.partner-slider *{
  position: relative;
  z-index: 2;
}

.partner-slider img{
  filter: brightness(1.15) contrast(1.1);
  transition: .25s ease;
}

.partner-slider img:hover{
  filter: brightness(1.3) contrast(1.15);
}

/* =============================
   Contact – Partner Program CTA
============================= */

.contact-partner-cta{
  margin-top: 28px;
  padding: 22px;
  border-radius: 18px;
  background: linear-gradient(180deg,#0E1424,#0B1120);
  border: 1px solid rgba(214,179,90,.25);
}

.contact-partner-cta h4{
  color: #D6B35A;
  margin-bottom: 8px;
}

.contact-partner-cta p{
  color: #A8B2C6;
  line-height: 1.6;
  margin-bottom: 14px;
}

/* =========================================
   Contact Page – Partner CTA (Match Partner Page)
========================================= */

.partner-cta.partner-cta--compact{
  margin-top: 138px;
  text-align: left;
  padding: 22px;
  border-radius: 22px;
  border: 1px solid rgba(214,179,90,.25);
  background: linear-gradient(180deg, rgba(214,179,90,.10), transparent);
}

.partner-cta.partner-cta--compact h3{
  margin: 0 0 10px;
  color: #E9EEF7;
  font-size: 1.25rem;
}

.partner-cta.partner-cta--compact p{
  margin: 0 0 16px;
  color: #A8B2C6;
  line-height: 1.6;
  max-width: 42ch;
}

.partner-btn.partner-btn--xl{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  max-width: 520px;
  padding: 18px 22px;
  border-radius: 999px;

  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;

  border: 1px solid rgba(214,179,90,.95);
  background: linear-gradient(180deg,#D6B35A,#B8922D);
  color: #111;
  text-decoration: none;

  box-shadow:
    0 14px 40px rgba(214,179,90,.22),
    0 0 0 1px rgba(0,0,0,.15) inset;
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}

.partner-btn.partner-btn--xl:hover{
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow:
    0 18px 55px rgba(214,179,90,.28),
    0 0 0 1px rgba(0,0,0,.15) inset;
}

/* ===== GALLERY THUMB: FORCE ZB LOGO TO SHOW ===== */
#gallery .key{
  width: 68px;
  height: 68px;

  background-image:
    url("./img/zb-logo-mark.png"),
    radial-gradient(60% 60% at 30% 30%, rgba(255,255,255,0.10), rgba(255,255,255,0) 60%),
    linear-gradient(180deg, #1a1b1e, #0f1013 45%, #000000);

  background-repeat: no-repeat, no-repeat, no-repeat;
  background-position: center, center, center;
  background-size: 100% 100%, cover, cover;

  border: 1px solid rgba(255,255,255,0.12);
  outline: 1px solid rgba(212,175,55,0.22);
  box-shadow:
    0 0 0 1px rgba(212,175,55,0.35),
    0 0 22px rgba(212,175,55,0.35),
    0 18px 38px rgba(0,0,0,0.75),
    inset 0 1px 0 rgba(255,255,255,0.06),
    inset 0 -10px 18px rgba(0,0,0,0.65);
}

#gallery .key::after{ content: none !important; }

/* =========================================
   GALLERY UNLOCK – OUTER BOX (Service-card style hover)
========================================= */
#gallery .gallery-unlock{
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

#gallery .gallery-unlock:hover{
  border-color: var(--gold);
  box-shadow:
    0 0 0 1px rgba(212,175,55,0.55),
    0 26px 90px rgba(0,0,0,0.65),
    0 0 48px rgba(212,175,55,0.25);
  transform: translateY(-2px);
}

#gallery .gallery-unlock.is-ready{
  border-color: var(--gold);
  box-shadow:
    0 0 0 1px rgba(212,175,55,0.60),
    0 0 60px rgba(212,175,55,0.30),
    0 26px 90px rgba(0,0,0,0.65);
}

/* =========================================
   SLIDER – Gold fill while sliding
========================================= */
#gallery .key-slider::before{
  width: var(--unlock-fill, 0%);
}

/* =========================================
   THUMB – ZB logo on the circle
========================================= */
#gallery .key{
  width: 72px;
  height: 72px;
}

/* =========================================
   GLOBAL GOLD GLOW FOR BUTTONS
   ========================================= */
.btn {
  position: relative;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    filter 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(212, 175, 55, 0.6),
    0 10px 30px rgba(212, 175, 55, 0.35),
    0 0 22px rgba(212, 175, 55, 0.45);
  filter: brightness(1.05);
}

.btn.primary:hover {
  box-shadow:
    0 0 0 1px rgba(212, 175, 55, 0.8),
    0 14px 40px rgba(212, 175, 55, 0.45),
    0 0 30px rgba(212, 175, 55, 0.6);
}

/* =========================================
   HERO PARTNER BOX – MATCH SERVICE CARD HOVER
   ========================================= */
.hero-partner-box {
  position: relative;
  border: 1px solid rgba(212, 175, 55, 0.35);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.hero-partner-box:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.9);
  box-shadow:
    0 0 0 1px rgba(212, 175, 55, 0.6),
    0 18px 45px rgba(212, 175, 55, 0.35),
    0 0 35px rgba(212, 175, 55, 0.45);
}

/* HERO LEFT BUTTONS — force side-by-side layout */
.hero-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.hero-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
}

/* FORCE hero-left buttons side-by-side */
.hero-left .hero-actions{
  display: flex !important;
  flex-direction: row !important;
  gap: 18px !important;
  align-items: center !important;
  justify-content: flex-start !important;
  flex-wrap: nowrap !important;
}

.hero-left .hero-actions > a.btn{
  width: auto !important;
  display: inline-flex !important;
  flex: 1 1 0 !important;
  min-width: 0 !important;
  margin: 0 !important;
  white-space: nowrap;
}

/* =========================================
   HERO: Preferred Partner CTA box
   ========================================= */
.hero-partner-box{
  width: 100%;
  margin-top: 60px;
  padding: 16px 16px;
  border-radius: 18px;

  background: linear-gradient(180deg,#0E1424,#0B1120);
  border: 1px solid rgba(214,179,90,.25);

  display: grid;
  gap: 10px;
}

.hero-partner-box h4{
  margin: 0;
  color: #D6B35A;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: .02em;
}

.hero-partner-box p{
  margin: 0;
  color: #A8B2C6;
  line-height: 1.5;
  font-size: 0.98rem;
  max-width: 52ch;
}

.hero-partner-box .btn{
  width: fit-content;
}

@media (max-width: 640px){
  .hero-partner-box .btn{
    width: 100%;
    justify-content: center;
  }
}

/* =========================================
   HERO: Preferred Partner CTA box (kept OUTSIDE .hero-actions)
   ========================================= */
.hero-partner-box{
  margin-top: 45px;
  padding: 16px 16px;
  border-radius: 18px;

  background: linear-gradient(180deg,#0E1424,#0B1120);
  border: 1px solid rgba(214,179,90,.25);

  display: grid;
  gap: 10px;
  max-width: 520px;
}

.hero-partner-box h4{
  margin: 0;
  color: #D6B35A;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: .02em;
}

.hero-partner-box p{
  margin: 0;
  color: #A8B2C6;
  line-height: 1.5;
  font-size: 0.98rem;
}

.hero-partner-box .btn{
  width: fit-content;
}

@media (max-width: 640px){
  .hero-partner-box{
    max-width: 100%;
  }
  .hero-partner-box .btn{
    width: 100%;
    justify-content: center;
  }
}

/* Move hero logo down ~½ inch */
.hero-logo { margin-top: 48px; }

/* Keep welcome text on one line (desktop), allow wrap on mobile */
.hero-welcome { white-space: nowrap; }
@media (max-width: 768px) { .hero-welcome { white-space: normal; } }

/* Ensure the right side behaves like a column (collage + buttons stacked) */
.hero-right {
  display: flex;
  flex-direction: column;
  width: 100%;
}

/* Keep collage from overlapping CTA area */
.hero-gallery {
  position: relative;
  overflow: hidden;
  margin-bottom: 16px;
}

/* CTA under the collage */
.hero-collage-cta {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.pill-btn {
  width: 100%;
  text-align: center;
  padding: 14px 18px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.pill-btn.primary {
  background: var(--gold, #c9a24d);
  color: #000;
}

.pill-btn.emergency {
  background: transparent;
  border: 2px solid currentColor;
}

.pill-btn:hover { transform: translateY(-1px); }

/* =========================================
   HERO: remove "fake" space caused by transforms
========================================= */
.hero-inner{
  transform: none !important;
  margin-top: 0 !important;
}

.hero-left{
  transform: none !important;
}

@media (min-width: 901px){
  .hero-gallery{
    transform: none !important;
    margin-top: 95px !important;
  }
}

.hero{
  padding-bottom: 0.5rem !important;
}

/* =========================================
   HERO TOP SPACING FIX (ONLY TOP)
   ========================================= */
.section.hero{
  padding-top: 0.75rem !important;
}

.hero-inner{
  margin-top: 0 !important;
  transform: translateY(-80px) !important;
}

/* =========================================
   HERO COLLAGE POSITION CONTROL
   ========================================= */
@media (min-width: 901px){
  .hero-gallery{
    transform: translateY(var(--collage-offset)) !important;
  }
}

:root{
  --collage-offset: 10px;
}

/* =========================================
   HERO COLLAGE CTA POSITION CONTROL
   ========================================= */
@media (min-width: 901px){
  .hero-collage-cta{
    margin-top: var(--collage-cta-offset) !important;
  }
}

:root{
  --collage-cta-offset: 100px;
}

.hero-right {
  position: relative;
}

.hero-collage-cta-top {
  position: absolute;
  left: 5px;
  right: 5px;
  top: 900px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  z-index: 20;
}
/* ==========================================================
   BRAND ALL MODALS THE SAME — SHELL + CONTENT (PASTE LAST)
   ========================================================== */

/* ---------- 1) MODAL SHELL (overlay/backdrop/card/close) ---------- */

/* Modal roots */
:where(
  .review-modal,
  .gallery-modal,
  .quote-modal,
  .service-modal,
  .partner-modal,
  .unlock-modal,
  #quoteModal,
  #reviewModal,
  #galleryModal,
  #serviceModal,
  #partnerModal,
  #unlockModal
){
  position: fixed !important;
  inset: 0 !important;
  display: none !important;
  z-index: 9999 !important;
}

/* Open states */
:where(
  .review-modal,
  .gallery-modal,
  .quote-modal,
  .service-modal,
  .partner-modal,
  .unlock-modal,
  #quoteModal,
  #reviewModal,
  #galleryModal,
  #serviceModal,
  #partnerModal,
  #unlockModal
).is-open,
:where(
  .review-modal,
  .gallery-modal,
  .quote-modal,
  .service-modal,
  .partner-modal,
  .unlock-modal,
  #quoteModal,
  #reviewModal,
  #galleryModal,
  #serviceModal,
  #partnerModal,
  #unlockModal
)[aria-hidden="false"]{
  display: block !important;
}

/* Backdrops */
:where(
  .review-modal-backdrop,
  .gallery-modal-backdrop,
  .quote-modal-backdrop,
  .service-modal-backdrop,
  .partner-modal-backdrop,
  .unlock-modal-backdrop
){
  position: absolute !important;
  inset: 0 !important;
  background: rgba(0,0,0,0.70) !important;
  backdrop-filter: blur(10px) !important;
}

/* Cards */
:where(
  .review-modal-card,
  .gallery-modal-card,
  .quote-modal-card,
  .service-modal-card,
  .partner-modal-card,
  .unlock-modal-card
){
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%, -50%) !important;

  width: var(--modal-w, min(920px, 94vw)) !important;
  max-height: var(--modal-h, min(86vh, 860px)) !important;
  overflow: auto !important;

  border-radius: 22px !important;
  padding: 1.35rem 1.35rem 1.2rem !important;

  background:
    radial-gradient(900px 260px at 50% -20%, rgba(212,175,55,0.18), rgba(0,0,0,0) 60%),
    linear-gradient(180deg, rgba(20,21,29,0.92), rgba(8,9,12,0.88)) !important;

  border: 1px solid rgba(212,175,55,0.26) !important;
  box-shadow:
    0 28px 110px rgba(0,0,0,0.72),
    inset 0 1px 0 rgba(255,255,255,0.06) !important;

  color: var(--text-main, #f9fafb) !important;
}

/* Sizes per modal */
:where(.review-modal, #reviewModal){
  --modal-w: min(620px, 92vw);
  --modal-h: min(82vh, 720px);
}
:where(.gallery-modal, #galleryModal){
  --modal-w: min(720px, 92vw);
  --modal-h: min(86vh, 820px);
}
:where(.quote-modal, #quoteModal){
  --modal-w: min(980px, 95vw);
  --modal-h: min(88vh, 900px);
}
:where(.service-modal, #serviceModal){
  --modal-w: min(900px, 94vw);
  --modal-h: min(86vh, 820px);
}
:where(.partner-modal, #partnerModal){
  --modal-w: min(920px, 94vw);
  --modal-h: min(86vh, 860px);
}
:where(.unlock-modal, #unlockModal){
  --modal-w: min(680px, 92vw);
  --modal-h: min(82vh, 720px);
}

/* Close buttons */
:where(
  .review-modal-close,
  .gallery-modal-close,
  .quote-modal-close,
  .service-modal-close,
  .partner-modal-close,
  .unlock-modal-close
){
  position: absolute !important;
  right: 12px !important;
  top: 10px !important;
  width: 38px !important;
  height: 38px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(255,255,255,0.10) !important;
  background: rgba(0,0,0,0.35) !important;
  color: var(--text-main, #f9fafb) !important;
  cursor: pointer !important;
}

/* Badge */
:where(
  .review-modal-badge,
  .gallery-modal-badge,
  .quote-modal-badge,
  .service-modal-badge,
  .partner-modal-badge,
  .unlock-modal-badge
){
  display: inline-flex !important;
  align-items: center !important;
  padding: 0.35rem 0.6rem !important;
  border-radius: 999px !important;
  font-weight: 900 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  font-size: 0.75rem !important;
  color: #0b0c10 !important;
  background: linear-gradient(90deg, var(--gold, #d4af37), var(--gold-soft, #e5c86a)) !important;
  box-shadow: 0 10px 28px rgba(212,175,55,0.22) !important;
}

/* Headings/sub */
:where(
  .review-modal-head h3,
  .gallery-modal-head h3,
  .quote-modal-head h3,
  .service-modal-head h3,
  .partner-modal-headcopy h3,
  .unlock-modal-head h3
){
  margin-top: 0.65rem !important;
  font-size: 1.35rem !important;
  letter-spacing: 0.02em !important;
}
:where(
  .review-modal-sub,
  .gallery-modal-sub,
  .quote-modal-sub,
  .service-modal-sub,
  .partner-modal-sub,
  .unlock-modal-sub
){
  margin-top: 0.35rem !important;
  color: rgba(203,213,245,0.86) !important;
}

/* Scroll lock (script.js) */
html.modal-lock,
body.modal-lock{
  overflow: hidden !important;
  height: 100% !important;
}
body.modal-lock{
  position: relative;
  touch-action: none;
}

/* ---------- 2) MODAL CONTENT (the stuff you said is missing) ---------- */

/* ✅ Review 5-logo rating bar (your “stars” replacement) */
.review-logos{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.review-logo{
  width: 90px;
  height: 90px;
  border-radius: 16px;
  border: 1px solid rgba(212,175,55,0.18);
  background:
    radial-gradient(60% 60% at 30% 30%, rgba(255,255,255,0.08), rgba(255,255,255,0) 60%),
    linear-gradient(180deg, rgba(0,0,0,0.35), rgba(0,0,0,0.20));
  cursor: pointer;
  padding: 0;
  position: relative;
  transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease;
  overflow: hidden;
}

.review-logo::after{
  content: "";
  position: absolute;
  inset: 1px;
  background-image: url("img/review-button.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.95;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,0.65));
}

.review-logo::before{
  content:"";
  position:absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(229,200,106,0.98), rgba(212,175,55,0.88));
  opacity: 0;
  transition: opacity .16s ease;
}

.review-logo:hover{
  transform: translateY(-2px);
  border-color: rgba(212,175,55,0.55);
  box-shadow:
    0 0 0 1px rgba(212,175,55,0.35),
    0 18px 48px rgba(212,175,55,0.25);
}
.review-logo:hover::before{ opacity: 0.22; }

.review-logo.is-on{
  border-color: rgba(212,175,55,0.75);
  box-shadow:
    0 0 0 1px rgba(212,175,55,0.55),
    0 22px 60px rgba(212,175,55,0.28);
}
.review-logo.is-on::before{ opacity: 0.35; }

@media (max-width: 640px){
  .review-logo{
    width: 62px;
    height: 62px;
    border-radius: 14px;
  }
  .review-logo::after{ inset: 12px; }
}

/* Review modal brand row (logo + text) */
.review-modal-brand{
  display: flex;
  gap: 14px;
  align-items: center;
}

.review-modal-logo{
  width: 54px;
  height: 54px;
  object-fit: contain;
  filter: drop-shadow(0 10px 22px rgba(0,0,0,0.55));
}

.review-modal-hint{
  margin-top: 0.75rem;
  color: rgba(203,213,245,0.78);
  font-size: 0.92rem;
  line-height: 1.45;
}

/* Review modal textarea */
.review-modal-form textarea{
  width: 100%;
  margin-top: 0.35rem;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.30);
  color: var(--text-main, #f9fafb);
  padding: 0.75rem 0.85rem;
  font-size: 0.98rem;
}
.review-modal-form textarea:focus{
  outline: none;
  border-color: rgba(212,175,55,0.75);
  box-shadow: 0 0 0 3px rgba(212,175,55,0.12);
}

/* ✅ Quote intake styling (fieldset/grid/fields/checks/actions) */
.quote-modal-form{
  margin-top: 1rem;
  display: grid;
  gap: 1rem;
}

.quote-fieldset{
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.22);
  border-radius: 18px;
  padding: 1rem 1rem 1.1rem;
}
.quote-fieldset legend{
  padding: 0 0.5rem;
  color: rgba(229,200,106,0.95);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.quote-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 0.85rem;
  margin-top: 0.85rem;
}
.quote-span-2{ grid-column: 1 / -1; }

.quote-field label{
  display: block;
  margin-bottom: 0.35rem;
  color: rgba(203,213,245,0.88);
  font-weight: 800;
  font-size: 0.9rem;
}

.quote-field input,
.quote-field select,
.quote-field textarea{
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.30);
  color: var(--text-main, #f9fafb);
  padding: 0.8rem 0.9rem;
  font-size: 0.98rem;
}
.quote-field select{ appearance: none; }

.quote-field input:focus,
.quote-field select:focus,
.quote-field textarea:focus{
  outline: none;
  border-color: rgba(212,175,55,0.75);
  box-shadow: 0 0 0 3px rgba(212,175,55,0.12);
}

.quote-help{
  margin-top: 0.35rem;
  color: rgba(203,213,245,0.72);
  font-size: 0.9rem;
}

.quote-checks{
  display: grid;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.quote-check{
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  color: rgba(203,213,245,0.88);
  font-weight: 650;
  line-height: 1.35;
}
.quote-check input{
  transform: translateY(3px);
  accent-color: var(--gold, #d4af37);
}

.quote-modal-actions{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.quote-modal-btn{
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 1rem 1.05rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0.03em;
  border: 1px solid transparent;
  cursor: pointer;
}
.quote-modal-btn.primary{
  color: #0b0c10;
  background: linear-gradient(90deg, var(--gold, #d4af37), var(--gold-soft, #e5c86a));
  box-shadow: 0 14px 40px rgba(212,175,55,0.28);
}
.quote-modal-btn.ghost{
  color: var(--text-main, #f9fafb);
  background: transparent;
  border-color: rgba(212,175,55,0.45);
}
.quote-modal-btn:hover{ transform: translateY(-1px); }

/* ✅ Gallery modal circles (FB/IG choice) */
.gallery-modal-circles{
  margin-top: 1.15rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.gallery-circle{
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  display: grid;
  place-items: center;
  text-decoration: none;
  overflow: hidden;
  border: 1px solid rgba(212,175,55,0.22);
  box-shadow: 0 22px 70px rgba(0,0,0,0.55);
  transform: translateY(0);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.gallery-circle.facebook{
  background:
    radial-gradient(600px 260px at 40% 20%, rgba(255,255,255,0.12), rgba(255,255,255,0) 60%),
    linear-gradient(135deg, rgba(45,136,255,0.42), rgba(0,0,0,0.10));
}
.gallery-circle.instagram{
  background:
    radial-gradient(600px 260px at 40% 20%, rgba(255,255,255,0.12), rgba(255,255,255,0) 60%),
    linear-gradient(135deg, rgba(255,79,154,0.42), rgba(79,195,255,0.22), rgba(212,175,55,0.18));
}

.gallery-circle::after{
  content:"";
  position:absolute;
  inset:-30% -40%;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.14), rgba(255,255,255,0));
  transform: rotate(18deg);
  opacity: 0.55;
  animation: galleryCircleSheen 3.2s ease-in-out infinite;
  pointer-events: none;
  mix-blend-mode: screen;
}
@keyframes galleryCircleSheen{
  0%{ transform: translateX(-40%) rotate(18deg); opacity: 0.25; }
  45%{ opacity: 0.55; }
  100%{ transform: translateX(120%) rotate(18deg); opacity: 0.25; }
}

.gallery-circle:hover{
  transform: translateY(-6px);
  border-color: var(--gold, #d4af37);
  box-shadow:
    0 0 0 1px rgba(212,175,55,0.40),
    0 26px 90px rgba(0,0,0,0.62);
}

.circle-label{
  position: relative;
  z-index: 1;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(249,250,251,0.92);
  text-shadow: 0 10px 24px rgba(0,0,0,0.55);
}

/* ✅ Mobile modal content layout */
@media (max-width: 640px){
  .quote-grid{ grid-template-columns: 1fr; }
  .quote-modal-actions{ grid-template-columns: 1fr; }
  .gallery-modal-circles{ grid-template-columns: 1fr; }
}
/* ==========================================================
   MODAL HEADER SYSTEM — logo scales with badge, left-aligned
   + SERVICE "LEARN MORE" MODAL CONTENT STYLES
   Paste at VERY BOTTOM
   ========================================================== */

/* ---------- A) Header layout for all modals ---------- */

/* Shared header row (logo + copy) */
:where(
  .review-modal-head,
  .gallery-modal-head,
  .quote-modal-head,
  .service-modal-head,
  .partner-modal-head,
  .unlock-modal-head
){
  margin-top: 0.2rem !important;
}

/* Brand row container (you already use this in some modals) */
:where(
  .review-modal-brand,
  .gallery-modal-brand,
  .quote-modal-brand,
  .service-modal-brand,
  .partner-modal-brand,
  .unlock-modal-brand
){
  display: flex !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 0.85rem !important;
  width: 100% !important;
}

/* If a modal doesn’t have a *-brand wrapper, but has head content,
   this keeps left alignment sane */
:where(
  .review-modal-headcopy,
  .gallery-modal-headcopy,
  .quote-modal-headcopy,
  .service-modal-headcopy,
  .partner-modal-headcopy,
  .unlock-modal-headcopy
){
  min-width: 0 !important;
}

/* Badge scale (your gold pill) */
:where(
  .review-modal-badge,
  .gallery-modal-badge,
  .quote-modal-badge,
  .service-modal-badge,
  .partner-modal-badge,
  .unlock-modal-badge
){
  font-size: 0.72rem !important;
  padding: 0.34rem 0.58rem !important;
  line-height: 1 !important;
}

/* ✅ Logo sizing: proportional to badge.
   Default: small, premium, not dominating */
:root{
  --modal-badge-h: 28px;              /* controls badge+logo scale */
  --modal-logo-size: 44px;           /* default logo size */
  --modal-logo-padding: 7px;         /* inside the logo box */
  --modal-logo-radius: 12px;
}

/* If you want the logo even smaller, drop --modal-logo-size to 40px */
@media (max-width: 640px){
  :root{
    --modal-badge-h: 26px;
    --modal-logo-size: 40px;
    --modal-logo-padding: 6px;
    --modal-logo-radius: 12px;
  }
}

/* Logo box styling for any modal logo class you use */
:where(
  .review-modal-logo,
  .gallery-modal-logo,
  .quote-modal-logo,
  .service-modal-logo,
  .partner-modal-logo,
  .unlock-modal-logo,
  .quote-modal-mark img,
  .gallery-modal-mark img
){
  width: var(--modal-logo-size) !important;
  height: var(--modal-logo-size) !important;
  object-fit: contain !important;

  border-radius: var(--modal-logo-radius) !important;
  background: rgba(0,0,0,0.25) !important;
  border: 1px solid rgba(255,255,255,0.10) !important;
  padding: var(--modal-logo-padding) !important;

  box-shadow: 0 0 0 1px rgba(212,175,55,0.18) !important;
  filter: drop-shadow(0 10px 22px rgba(0,0,0,0.45)) !important;
}

/* Title/sub spacing stays tight next to badge */
:where(
  .review-modal-head h3,
  .gallery-modal-head h3,
  .quote-modal-head h3,
  .service-modal-head h3,
  .partner-modal-headcopy h3,
  .unlock-modal-head h3
){
  margin-top: 0.55rem !important;
}

/* ---------- B) Service "Learn More" modal content (restore) ---------- */

.service-modal-columns{
  margin-top: 1rem !important;
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 1rem !important;
}

.service-modal-columns h4{
  margin: 0 0 0.5rem !important;
  color: var(--gold-soft, #e5c86a) !important;
  font-weight: 900 !important;
  letter-spacing: 0.03em !important;
  text-transform: uppercase !important;
  font-size: 0.9rem !important;
}

.service-modal-columns ul{
  list-style: none !important;
  display: grid !important;
  gap: 0.5rem !important;
  padding-left: 0 !important;
  margin: 0 !important;
}

.service-modal-columns li{
  padding-left: 1.1rem !important;
  position: relative !important;
  color: rgba(203,213,245,0.90) !important;
  line-height: 1.5 !important;
}

.service-modal-columns li::before{
  content: "•" !important;
  position: absolute !important;
  left: 0 !important;
  color: var(--gold, #d4af37) !important;
}

.service-modal-cta{
  margin-top: 1.15rem !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0.75rem !important;
}

/* Mobile service modal layout */
@media (max-width: 640px){
  .service-modal-columns{ grid-template-columns: 1fr !important; }
  .service-modal-cta{ flex-direction: column !important; }
  .service-modal-cta .btn{ width: 100% !important; }
}

/* ---------- C) Keep checkbox + forms readable in service modal too ---------- */
.service-modal-card :where(input, select, textarea){
  font-size: 0.98rem !important;
}


/* ==========================================================
   2) FULL REVIEW MODAL STYLING (COMPLETE RESTORE)
   ========================================================== */

/* Rating container (where your 5 logos live) */
.review-modal-rating{
  margin-top: 1rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 0.75rem !important;
  padding: 0.9rem 1rem !important;
  border-radius: 16px !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  background: rgba(0,0,0,0.25) !important;
}

/* Logos container */
.review-logos{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 14px !important;
}

/* Individual logo buttons */
.review-logo{
  width: 70px !important;
  height: 70px !important;
  border-radius: 16px !important;
  border: 1px solid rgba(212,175,55,0.25) !important;
  background:
    radial-gradient(60% 60% at 30% 30%, rgba(255,255,255,0.08), rgba(255,255,255,0) 60%),
    linear-gradient(180deg, rgba(0,0,0,0.35), rgba(0,0,0,0.20)) !important;

  position: relative !important;
  overflow: hidden !important;
  cursor: pointer !important;

  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease !important;
}

/* Logo image inside */
.review-logo::after{
  content: "" !important;
  position: absolute !important;
  inset: 1px !important;
  background-image: url("img/review-button.png") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: contain !important;
  opacity: 0.95 !important;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,0.65)) !important;
}

/* Gold hover glow */
.review-logo:hover{
  transform: translateY(-3px) !important;
  border-color: var(--gold, #d4af37) !important;
  box-shadow:
    0 0 0 1px rgba(212,175,55,0.5),
    0 18px 48px rgba(212,175,55,0.35) !important;
}

/* Selected state */
.review-logo.is-on{
  border-color: var(--gold, #d4af37) !important;
  box-shadow:
    0 0 0 1px rgba(212,175,55,0.65),
    0 22px 60px rgba(212,175,55,0.45) !important;
}

/* Review form textarea */
.review-modal-form{
  margin-top: 1rem !important;
}

.review-modal-form textarea{
  width: 100% !important;
  border-radius: 14px !important;
  border: 1px solid rgba(255,255,255,0.10) !important;
  background: rgba(0,0,0,0.30) !important;
  color: #f9fafb !important;
  padding: 0.9rem !important;
  font-size: 1rem !important;
  resize: vertical !important;
}

.review-modal-form textarea:focus{
  outline: none !important;
  border-color: rgba(212,175,55,0.75) !important;
  box-shadow: 0 0 0 3px rgba(212,175,55,0.12) !important;
}

/* Review modal action buttons */
.review-modal-actions{
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 0.85rem !important;
  margin-top: 1rem !important;
}

.review-modal-btn{
  display: inline-flex !important;
  justify-content: center !important;
  align-items: center !important;
  padding: 1rem 1.05rem !important;
  border-radius: 999px !important;
  font-weight: 900 !important;
  letter-spacing: 0.03em !important;
  text-decoration: none !important;
  cursor: pointer !important;
  border: 1px solid transparent !important;
  transition: transform .2s ease, box-shadow .2s ease !important;
}

/* Primary gold button */
.review-modal-btn.primary{
  background: linear-gradient(90deg, var(--gold, #d4af37), var(--gold-soft, #e5c86a)) !important;
  color: #0b0c10 !important;
  box-shadow: 0 14px 40px rgba(212,175,55,0.28) !important;
}

/* Ghost */
.review-modal-btn.ghost{
  background: transparent !important;
  color: #f9fafb !important;
  border-color: rgba(212,175,55,0.45) !important;
}

.review-modal-btn:hover{
  transform: translateY(-2px) !important;
}

@media (max-width: 640px){
  .review-modal-actions{
    grid-template-columns: 1fr !important;
  }
}
/* ==========================================================
   PARTNER MODAL — FULL CONTENT STYLES (PASTE LAST)
   ========================================================== */

/* Form wrapper */
.partner-modal-form{
  margin-top: 1rem !important;
  display: grid !important;
  gap: 1rem !important;
}

/* Fieldsets */
.partner-fieldset{
  border: 1px solid rgba(255,255,255,0.10) !important;
  background: rgba(0,0,0,0.22) !important;
  border-radius: 18px !important;
  padding: 1rem 1rem 1.1rem !important;
}

.partner-fieldset legend{
  padding: 0 0.5rem !important;
  color: rgba(229,200,106,0.95) !important;
  font-weight: 900 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  font-size: 0.82rem !important;
}

/* Grid */
.partner-grid{
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 0.85rem 0.85rem !important;
  margin-top: 0.85rem !important;
}
.partner-span-2{ grid-column: 1 / -1 !important; }

/* Labels */
.partner-field label{
  display: block !important;
  margin-bottom: 0.35rem !important;
  color: rgba(203,213,245,0.88) !important;
  font-weight: 800 !important;
  font-size: 0.9rem !important;
}

/* Inputs */
.partner-field input,
.partner-field select,
.partner-field textarea{
  width: 100% !important;
  border-radius: 14px !important;
  border: 1px solid rgba(255,255,255,0.10) !important;
  background: rgba(0,0,0,0.30) !important;
  color: var(--text-main, #f9fafb) !important;
  padding: 0.8rem 0.9rem !important;
  font-size: 0.98rem !important;
}
.partner-field select{ appearance: none !important; }

.partner-field input:focus,
.partner-field select:focus,
.partner-field textarea:focus{
  outline: none !important;
  border-color: rgba(212,175,55,0.75) !important;
  box-shadow: 0 0 0 3px rgba(212,175,55,0.12) !important;
}

/* Checks */
.partner-checks{
  margin-top: 0.25rem !important;
  display: grid !important;
  gap: 0.5rem !important;
}
.partner-checks--grid{
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.partner-check{
  display: flex !important;
  gap: 0.55rem !important;
  align-items: flex-start !important;
  color: rgba(203,213,245,0.88) !important;
  font-weight: 650 !important;
  line-height: 1.35 !important;
}

.partner-check input{
  transform: translateY(3px) !important;
  accent-color: var(--gold, #d4af37) !important;
}

.partner-other{ margin-top: 0.85rem !important; }

/* Fit gate (the “are you a fit?” section) */
.partner-gate{
  border-radius: 18px !important;
  border: 1px solid rgba(255,255,255,0.10) !important;
  background: rgba(0,0,0,0.22) !important;
  padding: 0.95rem 1rem !important;
}

.partner-check--gate{ font-weight: 850 !important; }

.partner-gate-hint{
  margin-top: 0.35rem !important;
  color: rgba(203,213,245,0.75) !important;
  font-size: 0.9rem !important;
  line-height: 1.45 !important;
}

/* Buttons */
.partner-modal-actions{
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 0.75rem !important;
  margin-top: 0.25rem !important;
}

.partner-modal-btn{
  display: inline-flex !important;
  justify-content: center !important;
  align-items: center !important;
  padding: 1rem 1.05rem !important;
  border-radius: 999px !important;
  text-decoration: none !important;
  font-weight: 900 !important;
  letter-spacing: 0.03em !important;
  border: 1px solid transparent !important;
  cursor: pointer !important;
  transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease !important;
}

.partner-modal-btn.primary{
  color: #0b0c10 !important;
  background: linear-gradient(90deg, var(--gold, #d4af37), var(--gold-soft, #e5c86a)) !important;
  box-shadow: 0 14px 40px rgba(212,175,55,0.28) !important;
}

.partner-modal-btn.ghost{
  color: var(--text-main, #f9fafb) !important;
  background: transparent !important;
  border-color: rgba(212,175,55,0.45) !important;
}

.partner-modal-btn:hover{ transform: translateY(-1px) !important; }
.partner-modal-btn.ghost:hover{ border-color: var(--gold, #d4af37) !important; }

/* Mobile */
@media (max-width: 640px){
  .partner-grid{ grid-template-columns: 1fr !important; }
  .partner-checks--grid{ grid-template-columns: 1fr !important; }
  .partner-modal-actions{ grid-template-columns: 1fr !important; }
}
/* ==========================================================
   MODAL LOGO SIZE TUNING
   Adjust ONE number per modal
   Paste at VERY BOTTOM
   ========================================================== */

/* ---------- DEFAULT (fallback) ---------- */
:root{
  --modal-logo-size: 60px;      /* global default */
  --modal-logo-padding: 7px;
}

/* ---------- REVIEW MODAL ---------- */
.review-modal,
#reviewModal{
  --modal-logo-size: 60px;
  --modal-logo-padding: 7px;
}

/* ---------- GALLERY MODAL ---------- */
.gallery-modal,
#galleryModal{
  --modal-logo-size: 60px;
  --modal-logo-padding: 6px;
}

/* ---------- QUOTE MODAL ---------- */
.quote-modal,
#quoteModal{
  --modal-logo-size: 60px;
  --modal-logo-padding: 7px;
}

/* ---------- SERVICE “LEARN MORE” MODAL ---------- */
.service-modal,
#serviceModal{
  --modal-logo-size: 60px;
  --modal-logo-padding: 7px;
}

/* ---------- PARTNER MODAL ---------- */
.partner-modal,
#partnerModal{
  --modal-logo-size: 60px;
  --modal-logo-padding: 8px;
}

/* ---------- UNLOCK / SOCIAL MODAL ---------- */
.unlock-modal,
#unlockModal{
  --modal-logo-size: 60px;
  --modal-logo-padding: 6px;
}

/* ---------- MOBILE REFINEMENT ---------- */
@media (max-width: 640px){
  .review-modal,
  #reviewModal,
  .gallery-modal,
  #galleryModal,
  .quote-modal,
  #quoteModal,
  .service-modal,
  #serviceModal,
  .partner-modal,
  #partnerModal,
  .unlock-modal,
  #unlockModal{
    --modal-logo-size: 38px;
    --modal-logo-padding: 6px;
  }
}
/* ==========================================================
   GALLERY MODAL — FORCE ANY LINKS INSIDE THE CARD TO BE GOLD PILLS
   Paste at VERY BOTTOM
   ========================================================== */

/* Target the actual gallery modal card by ID + class (covers both patterns) */
#galleryModal .gallery-modal-card a,
.gallery-modal .gallery-modal-card a{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  padding: 0.95rem 1.15rem !important;
  border-radius: 999px !important;

  background: linear-gradient(90deg, var(--gold, #d4af37), var(--gold-soft, #e5c86a)) !important;
  color: #0b0c10 !important;
  -webkit-text-fill-color: #0b0c10 !important;

  font-weight: 900 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  line-height: 1 !important;

  border: 1px solid rgba(212,175,55,0.55) !important;
  box-shadow: 0 14px 40px rgba(212,175,55,0.28) !important;

  text-decoration: none !important;
  cursor: pointer !important;

  margin-top: 0.75rem !important;
  margin-right: 12px !important;
}

/* Hover glow like your other buttons */
#galleryModal .gallery-modal-card a:hover,
.gallery-modal .gallery-modal-card a:hover{
  transform: translateY(-2px) !important;
  filter: brightness(1.05) !important;
  box-shadow: 0 18px 55px rgba(212,175,55,0.38) !important;
}

/* Mobile: stack pills full width */
@media (max-width: 640px){
  #galleryModal .gallery-modal-card a,
  .gallery-modal .gallery-modal-card a{
    width: 100% !important;
    margin-right: 0 !important;
  }
}
/* ==========================================================
   GALLERY MODAL — CONVERT CIRCLES TO GOLD PILL BUTTONS
   (Overrides circle UI intentionally)
   ========================================================== */

/* Kill the circle look */
.gallery-modal-circles{
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 0.85rem !important;
  margin-top: 1.25rem !important;
}

.gallery-modal-circles .gallery-circle{
  all: unset !important;
}

/* Rebuild as gold pill buttons */
.gallery-modal-circles .gallery-circle{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  padding: 1rem 1.15rem !important;
  border-radius: 999px !important;

  font-weight: 900 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  line-height: 1 !important;

  background: linear-gradient(
    90deg,
    var(--gold, #d4af37),
    var(--gold-soft, #e5c86a)
  ) !important;

  color: #0b0c10 !important;
  -webkit-text-fill-color: #0b0c10 !important;

  border: 1px solid rgba(212,175,55,0.6) !important;
  box-shadow: 0 14px 40px rgba(212,175,55,0.28) !important;

  cursor: pointer !important;
  text-decoration: none !important;

  transition:
    transform .2s ease,
    box-shadow .2s ease,
    filter .2s ease !important;
}

/* Remove the inner circle label styling */
.gallery-modal-circles .circle-label{
  all: unset !important;
}

/* Hover glow (matches rest of site) */
.gallery-modal-circles .gallery-circle:hover{
  transform: translateY(-2px) !important;
  filter: brightness(1.05) !important;
  box-shadow: 0 18px 55px rgba(212,175,55,0.38) !important;
}

/* Mobile: stack buttons */
@media (max-width: 640px){
  .gallery-modal-circles{
    grid-template-columns: 1fr !important;
  }
}
/* ==========================================================
   UNLOCK MODAL — FORCE FB/IG INTO GOLD PILL BUTTONS
   Targets the exact markup you pasted (#unlockModal)
   Paste at VERY BOTTOM
   ========================================================== */

#unlockModal .unlock-modal-actions{
  margin-top: 1.15rem !important;
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 0.85rem !important;
}

/* Style BOTH anchors as gold pills (works even if classes get changed) */
#unlockModal .unlock-modal-actions a{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  padding: 1rem 1.15rem !important;
  border-radius: 999px !important;

  background: linear-gradient(90deg, var(--gold, #d4af37), var(--gold-soft, #e5c86a)) !important;
  color: #0b0c10 !important;
  -webkit-text-fill-color: #0b0c10 !important;

  font-weight: 900 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  line-height: 1 !important;

  border: 1px solid rgba(212,175,55,0.60) !important;
  box-shadow: 0 14px 40px rgba(212,175,55,0.28) !important;

  cursor: pointer !important;
  transition: transform .18s ease, box-shadow .2s ease, filter .2s ease !important;
}

#unlockModal .unlock-modal-actions a:hover{
  transform: translateY(-2px) !important;
  filter: brightness(1.05) !important;
  box-shadow: 0 18px 55px rgba(212,175,55,0.38) !important;
}

@media (max-width: 640px){
  #unlockModal .unlock-modal-actions{
    grid-template-columns: 1fr !important;
  }
}
/* ==========================================================
   REMOVE DARK OVERLAYS FROM IMAGE / PHOTO BOXES
   Paste at VERY BOTTOM of styles.css
   ========================================================== */

/* Kill common overlay elements */
.hero-video-overlay,
.hero-overlay,
.image-overlay,
.gallery-overlay,
.card-overlay,
.photo-overlay,
[class*="overlay"]{
  background: transparent !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Kill pseudo-element overlays (VERY common) */
.hero-photo::before,
.hero-photo::after,
.gallery-item::before,
.gallery-item::after,
.card::before,
.card::after,
figure::before,
figure::after{
  content: none !important;
  background: none !important;
  opacity: 0 !important;
}

/* Ensure images are fully visible */
.hero-photo img,
.gallery-item img,
.card img,
figure img,
.picture img{
  filter: none !important;
  opacity: 1 !important;
  mix-blend-mode: normal !important;
}

/* Remove gradient masks or blend tricks */
.hero-photo,
.gallery-item,
.card,
figure{
  background: transparent !important;
}
/* ==========================================================
   CONTACT PAGE — PARTNER CTA GOLD OUTLINE + HOVER GLOW
   Matches service card visual treatment
   ========================================================== */

#contact .partner-cta{
  position: relative;

  border: 1px solid rgba(212,175,55,0.45) !important;
  border-radius: 18px;

  box-shadow:
    0 0 0 1px rgba(212,175,55,0.15),
    0 18px 45px rgba(212,175,55,0.12);

  transition:
    box-shadow .25s ease,
    transform .25s ease,
    border-color .25s ease;
}

/* Gold glow on hover */
#contact .partner-cta:hover{
  border-color: rgba(212,175,55,0.85) !important;

  box-shadow:
    0 0 0 1px rgba(212,175,55,0.35),
    0 25px 65px rgba(212,175,55,0.30),
    0 0 45px rgba(212,175,55,0.25);

  transform: translateY(-4px);
}
/* ==========================================================
   GALLERY IMAGE POSITIONING & ZOOM
   Controls: up / down / left / right / zoom
   Targets Gallery Item 1 and 3 ONLY
   ========================================================== */

/* Ensure images use object-fit correctly */
#gallery .gallery-item img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center;
}

/* ---------- GALLERY IMAGE 1 ---------- */
#gallery .gallery-item:nth-child(1) img{
  object-position: center 40%;  /* up/down (lower % = up) */
  transform: scale(1);       /* zoom in (>1) / zoom out (<1) */
}

/* ---------- GALLERY IMAGE 3 ---------- */
#gallery .gallery-item:nth-child(3) img{
  object-position: 55% center;  /* left/right (lower % = left) */
  transform: scale(1.08);
}
/* ==========================================================
   GALLERY IMAGE 2 — POSITION & ZOOM CONTROL
   ========================================================== */

#gallery .gallery-item:nth-child(2) img{
  object-position: center 20%;  /* up/down (lower % = up, higher = down) */
  transform: scale(1.05);       /* zoom in (>1) / zoom out (<1) */
}
/* ==========================================================
   HERO IMAGE 2 — POSITION & ZOOM CONTROL
   (left-middle image)
   ========================================================== */

/* Ensure hero images behave consistently */
.hero-gallery .hero-photo img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center;
}
/* ==========================================================
   HERO IMAGE POSITIONING & ZOOM (FORCED)
   Paste at VERY BOTTOM of styles.css
   ========================================================== */

/* Make sure hero tiles can crop correctly */
.hero-gallery .hero-photo{ overflow: hidden !important; }

.hero-gallery .hero-photo img{
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transform-origin: center !important;
}

/* ----------------------------------------------------------
   OPTION A: "Hero 2" = the IMAGE FILE hero-2.jpg
   This is your tile: .hero-photo.left-top
---------------------------------------------------------- */
.hero-gallery .hero-photo.left-top img{
  object-position: center 35% !important; /* up/down */
  transform: scale(1.08) !important;      /* zoom */
}
/* =====================================================
   MOBILE HERO COLLAGE — 3 ROWS × 2 COLUMNS (6 IMAGES)
   HARD RESET — FINAL
===================================================== */

@media (max-width: 900px){

  /* Force hero layout to stack normally */
  .hero-inner{
    display: block !important;
    transform: none !important;
    margin-top: 0 !important;
  }

  .hero-right{
    width: 100% !important;
    margin-top: 16px !important;
    display: block !important;
  }

  /* HERO COLLAGE: true 2 × 3 grid */
  .hero-gallery{
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    grid-template-rows: repeat(3, auto) !important;
    grid-template-areas: none !important;
    gap: 12px !important;
    width: 100% !important;
    transform: none !important;
  }

  /* RESET EVERY TILE COMPLETELY */
  .hero-gallery .hero-photo{
    position: relative !important;
    inset: auto !important;
    transform: none !important;

    grid-area: auto !important;
    grid-column: auto !important;
    grid-row: auto !important;

    width: 100% !important;
    aspect-ratio: 1 / 1 !important; /* square tiles */
    overflow: hidden !important;

    border-radius: 16px !important;
    display: block !important;
  }

  /* Image fills each tile */
  .hero-gallery .hero-photo img{
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
  }
}
/* =========================================
   HERO IMAGE 5 — MOBILE ONLY CROP FIX
   ========================================= */

@media (max-width: 900px){

  /* Hero image #5 (bottom-left tile in mobile grid) */
  .hero-gallery .hero-photo:nth-child(5) img{
    object-position: center 65%;  /* adjust vertical focus */
  }

}
/* =========================================
   HERO IMAGE 5 — MOBILE ZOOM OUT
   ========================================= */
@media (max-width: 900px){
  .hero-gallery .hero-photo:nth-child(5) img{
    transform: scale(0.70);      /* 🔽 zoom OUT */
    object-position: center 60%; /* optional fine-tune */
  }
}
/* =========================================
   MOBILE GALLERY: 2 columns (like hero collage)
   + per-image zoom/position controls
   Paste at VERY BOTTOM
========================================= */

@media (max-width: 900px){

  /* 2-up grid on mobile */
  #gallery .gallery-grid{
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  /* Make each tile consistent */
  #gallery .gallery-item{
    height: auto !important;
    aspect-ratio: 1 / 1 !important;   /* square like your reference (change to 4/3 if preferred) */
    overflow: hidden !important;
    border-radius: 16px !important;
  }

  /* Image fills tile; you control crop with object-position + scale */
  #gallery .gallery-item img{
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: 50% 50% !important;
    transform: scale(1) !important;
    transform-origin: center !important;
    display: block !important;
  }

  /* ------- OPTIONAL: tweak specific images (examples) ------- */
  /* Image 1 */
  #gallery .gallery-item:nth-child(1) img{
    transform: scale(0.95) !important;      /* zoom OUT (<1) */
    object-position: 50% 55% !important;    /* move down a bit */
  }

  /* Image 2 */
  #gallery .gallery-item:nth-child(2) img{
    transform: scale(1.05) !important;      /* zoom IN (>1) */
    object-position: 50% 40% !important;    /* move up */
  }

  /* Image 3 */
  #gallery .gallery-item:nth-child(3) img{
    transform: scale(0.92) !important;      /* zoom OUT */
    object-position: 60% 50% !important;    /* move right */
  }
}
/* =========================================
   MOBILE ABOUT: stack like Loyal Leashes (2x2 cards)
   Paste at VERY BOTTOM
========================================= */

@media (max-width: 900px){

  /* If your About section uses the .split layout, force stacking */
  #about .split{
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  /* Force the feature cards into 2 columns on mobile */
  .about-features{
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  /* Make cards feel like the reference (clean, equal, centered) */
  .about-feature{
    height: auto !important;
    min-height: 190px !important;
    padding: 16px 14px !important;
    border-radius: 18px !important;
  }

  .about-feature h4{
    font-size: 0.95rem !important;
  }

  .about-feature p{
    font-size: 0.92rem !important;
    line-height: 1.45 !important;
  }
}
/* =========================================
   ABOUT CARDS: equal size on mobile
   - no clipping
   - desktop untouched
   - uniform layout
========================================= */

@media (max-width: 900px){

  /* keep a clean 2x2 */
  .about-features{
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    align-items: stretch !important; /* key: equal heights per row */
  }

  /* make every card the same height (within the row) and uniform */
  .about-feature{
    height: 100% !important;          /* stretch to match tallest in row */
    min-height: 205px !important;      /* adjust this number if you want taller/shorter */
    padding: 16px 14px !important;
    border-radius: 18px !important;

    display: grid !important;
    grid-template-rows: auto auto 1fr; /* icon, title, body (fills space) */
    justify-items: center !important;
    text-align: center !important;

    overflow: visible !important;      /* ensure nothing gets clipped */
  }

  /* keep icon consistent */
  .about-feature .feature-icon{
    width: 44px !important;
    height: 44px !important;
    margin: 0 auto 10px !important;
  }

  /* consistent title sizing */
  .about-feature h4{
    font-size: 0.95rem !important;
    line-height: 1.15 !important;
    margin: 0 0 8px !important;
    min-height: 2.3em !important;  /* forces titles to occupy same visual space */
  }

  /* body text: readable, wraps, no clipping */
  .about-feature p{
    font-size: 0.92rem !important;
    line-height: 1.35 !important;
    margin: 0 !important;
    max-width: 22ch !important;    /* makes paragraphs visually uniform */
  }
}

/* super small phones: 1 column to prevent cramped text */
@media (max-width: 380px){
  .about-features{
    grid-template-columns: 1fr !important;
  }
  .about-feature{
    min-height: 0 !important; /* let it grow naturally in 1-col */
  }
}
/* ==========================================================
   MOBILE — REVIEW SLIDER: shrink to fit screen
   ========================================================== */
@media (max-width: 640px){

  .review-logos{
    gap: 8px !important;                /* <-- tweak spacing */
    justify-content: center !important;
    flex-wrap: nowrap !important;
  }

  .review-logo{
    width: 52px !important;             /* <-- tweak size */
    height: 52px !important;            /* <-- tweak size */
    border-radius: 12px !important;
    flex: 0 0 auto !important;
  }

  .review-logo::after{
    inset: 10px !important;             /* <-- tweak logo inset inside the button */
  }

  /* If it STILL ever overflows on super small screens, allow smooth horizontal swipe */
  .review-modal-rating,
  .review-logos{
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }
}
/* FIX: keep extra bottom space on SERVICES cards on mobile */
@media (max-width: 520px){
  #services .card{
    padding: 1.15rem 1.15rem 4.75rem !important; /* left/right normal, bottom reserved */
  }
}
/* =========================================
   HEADER BRAND LINK — COLOR FIX
   ========================================= */

/* Remove default link styling */
.site-header .brand{
  text-decoration: none;
}

/* Title stays GOLD */
.site-header .brand-name{
  color: #d4af37 !important; /* your gold */
}

/* Tagline stays WHITE */
.site-header .brand-tagline{
  color: #ffffff !important;
}

/* Prevent hover/visited from changing colors */
.site-header .brand:hover .brand-name,
.site-header .brand:visited .brand-name{
  color: #d4af37 !important;
}

.site-header .brand:hover .brand-tagline,
.site-header .brand:visited .brand-tagline{
  color: #ffffff !important;
}
.site-header .brand *{
  text-decoration: none !important;
}
/* =========================================
   GALLERY 4 — MOBILE IMAGE TWEAK CONTROLS
   ========================================= */
@media (max-width: 900px){

  /* Target gallery item 4 */
  .gallery-grid .gallery-item:nth-child(4){
    overflow: hidden !important;
  }

  .gallery-grid .gallery-item:nth-child(4) img{
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;

    /* 🔧 MAIN CONTROLS */
    transform: scale(0.05);            /* zoom OUT (<1) | zoom IN (>1) */
    object-position: center 55%;        /* vertical + horizontal positioning */

    display: block !important;
  }
}
/* =========================================
   MOBILE — gallery-04.jpg: show FULL image (no crop)
   ========================================= */
@media (max-width: 900px){

  /* Target by filename (most reliable) */
  #gallery .gallery-grid .gallery-item img[src*="gallery-04.jpg"],
  #gallery .gallery-grid .gallery-item img[src*="gallery-04"]{
    object-fit: contain !important;          /* <-- no cropping */
    object-position: center center !important;
    transform: none !important;
    background: #000 !important;            /* letterbox fill */
  }
}
/* =========================================
   MOBILE — Gallery 4: shift image RIGHT
   ========================================= */
@media (max-width: 900px){

  #gallery .gallery-grid .gallery-item:nth-child(4) img{
    object-position: 25% center !important;
  }

}
/* =========================================
   MOBILE — Hero 5: show FULL Porsche (no crop)
   ========================================= */
@media (max-width: 900px){

  .hero-gallery .hero-photo:nth-child(5){
    overflow: hidden !important;
  }

  .hero-gallery .hero-photo:nth-child(5) img{
    object-fit: contain !important;   /* show entire image */
    height: 100% !important;
    width: 100% !important;

    transform: none !important;       /* remove any scaling */
    object-position: center center !important;

    background: #000 !important;      /* fills empty space if needed */
  }

}
/* Visually hidden but crawlable/accessibility-safe */
.sr-only{
  position:absolute !important;
  width:1px !important;
  height:1px !important;
  padding:0 !important;
  margin:-1px !important;
  overflow:hidden !important;
  clip:rect(0,0,0,0) !important;
  white-space:nowrap !important;
  border:0 !important;
}

/* === Override: eliminate hero reveal delays (all images reveal together) === */
.hero-reveal.is-ready .hero-photo img { animation-delay: 0s !important; }


/* =========================================
   ZB Branded Toast (form submission feedback)
   ========================================= */
.zb-toast {
  position: fixed;
  inset: auto 16px 16px 16px;
  z-index: 9999;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.zb-toast__card {
  width: min(560px, 100%);
  pointer-events: auto;
  background: rgba(10, 10, 10, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 14px 14px 12px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
}

.zb-toast--success .zb-toast__card { border-color: rgba(212, 175, 55, 0.45); }
.zb-toast--error .zb-toast__card { border-color: rgba(255, 77, 77, 0.45); }

.zb-toast__brand {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.85);
}

.zb-toast__msg {
  font-size: 14px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.92);
  padding-right: 34px;
}

.zb-toast__close {
  position: absolute;
  right: 18px;
  bottom: 22px;
  width: 28px;
  height: 28px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
}

.zb-toast__close:hover {
  border-color: rgba(255, 255, 255, 0.35);
}
/* =========================
   ZB BRANDED OVERLAY
   ========================= */
.zb-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.zb-overlay__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.65);
}

.zb-overlay__card {
  position: relative;
  max-width: 520px;
  width: calc(100% - 2rem);
  margin: 12vh auto 0;
  background: #111;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 18px 18px 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.45);
}

.zb-overlay__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.zb-overlay__logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.zb-overlay__brandtext {
  font-weight: 700;
  letter-spacing: 0.2px;
}

.zb-overlay__title {
  margin: 8px 0 6px;
  font-size: 1.25rem;
}

.zb-overlay__msg {
  margin: 0 0 14px;
  color: rgba(255,255,255,0.86);
  line-height: 1.5;
}

.zb-overlay__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

/* Optional visual cue */
.zb-overlay--success .zb-overlay__card {
  border-color: rgba(201, 170, 92, 0.35);
}

.zb-overlay--error .zb-overlay__card {
  border-color: rgba(255, 85, 85, 0.35);
}
/* =========================================
   ZB SUCCESS / ERROR OVERLAY
   ========================================= */

#zbOverlay {
  position: fixed;
  inset: 0;
  z-index: 999999; /* higher than all modals */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

#zbOverlay .zb-overlay__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(2px);
}

#zbOverlay .zb-overlay__card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 460px;
  background: #111;
  color: #fff;
  border-radius: 12px;
  padding: 28px 24px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  text-align: center;
  animation: zbFadeUp 0.25s ease-out;
}

/* Brand section */
#zbOverlay .zb-overlay__brand {
  margin-bottom: 14px;
}

#zbOverlay .zb-overlay__logo {
  width: 48px;
  height: auto;
  margin-bottom: 6px;
}

#zbOverlay .zb-overlay__brandtext {
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.75;
}

/* Title */
#zbOverlay .zb-overlay__title {
  font-size: 22px;
  margin: 8px 0 12px;
  font-weight: 600;
}

/* Message */
#zbOverlay .zb-overlay__msg {
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 20px;
  opacity: 0.9;
}

/* Button area */
#zbOverlay .zb-overlay__actions {
  margin-top: 10px;
}

#zbOverlay .btn.primary {
  background: #e10600;
  border: none;
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

#zbOverlay .btn.primary:hover {
  background: #c80500;
}

/* Success state accent */
.zb-overlay--success .zb-overlay__card {
  border-top: 4px solid #22c55e;
}

/* Error state accent */
.zb-overlay--error .zb-overlay__card {
  border-top: 4px solid #ef4444;
}

/* Prevent scroll when modal is open */
.modal-lock {
  overflow: hidden !important;
}

/* Animation */
@keyframes zbFadeUp {
  from {
    transform: translateY(15px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}