/* ============================================================
   DeleteGoogleReviews.com homepage upgrades
   Namespace: dgru- (no collisions with existing classes)
   Vars below are mapped to the site's existing design tokens:
   navy #0F2D52, sky #2E86C1, gray-600 #475569, gray-200 #E2E8F0.
   The accent is the sky tint already used for hero emphasis (#7DD3FC),
   which clears 4.5:1 on navy. Site token overrides are at the bottom.
   ============================================================ */
:root {
  --dgru-ink: #0F2D52;
  --dgru-paper: #FFFFFF;
  --dgru-muted: #475569;
  --dgru-line: #E2E8F0;
  --dgru-gold: #7DD3FC;
}

/* ---------- 1. Hero with background video ---------- */
.dgru-hero { position: relative; overflow: hidden; color: #fff; background: var(--dgru-ink); }
.dgru-hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 0%; z-index: 0;
}
.dgru-hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(11,18,32,.68) 0%, rgba(11,18,32,.64) 55%, rgba(11,18,32,.92) 100%);
}
.dgru-hero-inner {
  position: relative; z-index: 2;
  max-width: 1160px; margin: 0 auto;
  padding: clamp(84px, 12vw, 150px) 24px;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center;
}
.dgru-hero-eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  /* Lightened from the --dgru-gold token (#7DD3FC) to clear 4.5:1 over the
     hero video at 13px. Scoped here so the token itself is unchanged. */
  color: #A5E3FF; margin-bottom: 14px;
}
.dgru-hero h1 { font-size: clamp(38px, 5.4vw, 64px); line-height: 1.06; margin: 0 0 18px; font-weight: 800; }
.dgru-hero h1 span, .dgru-hero h1 em { color: var(--dgru-gold); font-style: normal; }
.dgru-hero-lede { font-size: clamp(17px, 2vw, 20px); line-height: 1.6; color: rgba(255,255,255,.92); margin: 0 0 14px; max-width: 56ch; }
.dgru-hero-sub { font-size: 15.5px; line-height: 1.65; color: rgba(255,255,255,.75); margin: 0 0 28px; max-width: 58ch; }
.dgru-hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.dgru-btn {
  display: inline-block; padding: 15px 28px; border-radius: 8px;
  font-weight: 700; font-size: 16px; text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.dgru-btn-primary { background: var(--dgru-gold); color: var(--dgru-ink); box-shadow: 0 6px 18px rgba(245,179,1,.35); }
.dgru-btn-primary:hover { transform: translateY(-2px); }
.dgru-btn-ghost { border: 1.5px solid rgba(255,255,255,.5); color: #fff; }
.dgru-btn-ghost:hover { border-color: #fff; }
.dgru-hero-badges { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 13.5px; color: rgba(255,255,255,.82); }
.dgru-hero-side { min-width: 0; }
@media (max-width: 960px) { .dgru-hero-inner { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .dgru-hero-video { display: none; } }

/* ---------- 1b. Transparent header over the hero (homepage only) ----------
   Scoped to body.dgru-home so every inner page keeps the solid header exactly
   as it is. The header is already position:fixed sitewide, so the hero already
   starts at the viewport top and no gap is introduced here.

   Top scrim: the nav sits over live video, and the logo sub-line (white .6 at
   11px) measured 3.78:1 against the brightest sampled frame without one. The
   scrim fades over 240px rather than the nav's 64px because that sub-line sits
   at the bottom of the nav band, where a nav-height gradient has already
   faded out. Measured worst case with it: 4.63:1. */
.dgru-hero::after {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 240px;
  background: linear-gradient(180deg, rgba(15,45,82,.55) 0%, rgba(15,45,82,0) 100%);
  z-index: 1; pointer-events: none;
}
.dgru-home .nav {
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
  backdrop-filter: none;
  transition: background .25s ease, border-color .25s ease,
              box-shadow .25s ease, backdrop-filter .25s ease;
}
/* Solid once scrolled, and whenever the mobile menu is open at any offset. */
.dgru-home .nav.is-scrolled,
.dgru-home .nav.menu-open {
  background: rgba(15,45,82,0.97);
  border-bottom-color: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
}
.dgru-home .nav.is-scrolled { box-shadow: 0 10px 60px rgba(3,17,44,0.22); }
/* Dropdowns stay solid in both states. */
.dgru-home .nav-dropdown-menu { background: rgba(15,45,82,0.98); }
@media (prefers-reduced-motion: reduce) {
  .dgru-home .nav { transition: none; }
}

/* ---------- 2. Stats bar ---------- */
.dgru-stats { background: var(--dgru-ink); color: #fff; border-top: 1px solid rgba(255,255,255,.08); }
.dgru-stats-inner {
  max-width: 1160px; margin: 0 auto; padding: 56px 24px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 24px; text-align: center;
}
.dgru-stat-num {
  display: block; font-size: clamp(38px, 4.6vw, 56px); font-weight: 800;
  color: var(--dgru-gold); line-height: 1; font-variant-numeric: tabular-nums;
}
.dgru-stat-label { display: block; margin-top: 12px; font-size: 14.5px; line-height: 1.45; letter-spacing: .02em; color: rgba(255,255,255,.78); }
@media (max-width: 860px) { .dgru-stats-inner { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .dgru-stats-inner { grid-template-columns: 1fr; } }

/* ---------- 2b. Trust strip (dark continuation of the stats bar) ---------- */
.dgru-trust {
  background: var(--dgru-ink); border-top: 1px solid rgba(255,255,255,.1); overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.dgru-trust-track { display: flex; width: max-content; animation: dgru-scroll 45s linear infinite; }
.dgru-trust:hover .dgru-trust-track { animation-play-state: paused; }
.dgru-trust-group {
  display: flex; align-items: center;
  gap: clamp(36px, 5vw, 72px); padding: 16px clamp(36px, 5vw, 72px) 16px 0;
}
.dgru-trust-item {
  display: flex; align-items: center; gap: 9px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: rgba(255,255,255,.72); white-space: nowrap;
}
.dgru-trust-item svg { width: 14px; height: 14px; color: #7DD3FC; flex: none; }
@media (prefers-reduced-motion: reduce) {
  .dgru-trust { mask-image: none; -webkit-mask-image: none; }
  .dgru-trust-track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; }
  .dgru-trust-group[aria-hidden="true"] { display: none; }
}

/* ---------- 3. Featured-in logo marquee ---------- */
.dgru-featured { background: var(--dgru-paper); padding: 64px 0; border-bottom: 1px solid var(--dgru-line); }
.dgru-featured-title {
  display: block; text-align: center; font-size: 13px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--dgru-muted); margin-bottom: 34px;
}
.dgru-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.dgru-marquee-track { display: flex; width: max-content; animation: dgru-scroll 36s linear infinite; }
.dgru-marquee:hover .dgru-marquee-track { animation-play-state: paused; }
.dgru-marquee-group {
  display: flex; align-items: center;
  gap: clamp(44px, 6vw, 84px); padding-right: clamp(44px, 6vw, 84px);
}
.dgru-marquee-group img {
  height: 30px; width: auto; display: block;
  filter: grayscale(1); opacity: .72;
  transition: filter .2s ease, opacity .2s ease;
}
.dgru-marquee-group img:hover { filter: none; opacity: 1; }
@keyframes dgru-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .dgru-marquee { -webkit-mask-image: none; mask-image: none; }
  .dgru-marquee-track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; }
  .dgru-marquee-group[aria-hidden="true"] { display: none; }
}

/* ---------- 4. AI search visibility section ---------- */
.dgru-ai { background: var(--dgru-ink); color: #fff; padding: clamp(72px, 10vw, 120px) 24px; position: relative; overflow: hidden; }
.dgru-ai::before {
  content: ""; position: absolute; right: -180px; bottom: -220px;
  width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(245,179,1,.16), transparent 65%);
}
.dgru-ai-inner { max-width: 880px; margin: 0 auto; text-align: center; position: relative; }
.dgru-ai-kicker { font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--dgru-gold); margin: 0 0 22px; }
.dgru-ai-quote { font-size: clamp(26px, 4vw, 42px); font-weight: 800; line-height: 1.25; margin: 0 0 26px; }
.dgru-ai-quote strong { color: var(--dgru-gold); }
.dgru-ai-copy { font-size: 17px; line-height: 1.7; color: rgba(255,255,255,.82); max-width: 64ch; margin: 0 auto 34px; }

/* ---------- 5. Site token mapping (DeleteGoogleReviews.com) ----------
   Keeps the new sections on the existing design system: navy to sky
   gradients, Fraunces headings, Plus Jakarta Sans body, orange CTAs.
   CTAs in these sections reuse the site's own .btn classes. */
.dgru-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1a4a7a 45%, var(--blue) 100%);
}
.dgru-hero-overlay {
  /* This rule wins over the base one above (same specificity, later in file),
     so the top stop is softened here too, by the same .16 delta. */
  background: linear-gradient(180deg, rgba(15,45,82,.66) 0%, rgba(15,45,82,.66) 55%, rgba(15,45,82,.90) 100%);
}
.dgru-hero-inner {
  padding-top: clamp(120px, 14vw, 170px);
}
.dgru-hero h1 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.18;
}
.dgru-hero h1 em {
  font-style: italic;
  color: var(--dgru-gold);
}
.dgru-hero-lede { font-weight: 600; }
.dgru-hero-sub a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.3);
}
.dgru-hero-badges { gap: 10px; }
.dgru-hero-side { display: flex; justify-content: center; align-items: center; }
.dgru-stat-num { font-family: var(--font-heading); }
.dgru-ai-quote { font-family: var(--font-heading); font-weight: 700; }
.dgru-ai::before {
  background: radial-gradient(circle, rgba(46,134,193,.28), transparent 65%);
}
.dgru-featured-title { font-weight: 700; }
