
/* ============================================================
   ALL RULES SCOPED TO #dgf-widget
   Prefixed with dgf- to avoid any Bootstrap / parent CSS clash
   ============================================================ */

#dgf-widget {
  all: initial;
  display: block;
  font-family: 'Barlow', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #0d1b2a;
  background: #f8f9fb;
  box-sizing: border-box;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

#dgf-widget *, #dgf-widget *::before, #dgf-widget *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* CSS VARIABLES */
#dgf-widget {
  --dgf-navy:   #0d1b2a;
  --dgf-navy2:  #152638;
  --dgf-blue:   #1a4fa0;
  --dgf-flame:  #e85d04;
  --dgf-flame2: #f97316;
  --dgf-gold:   #fbbf24;
  --dgf-white:  #f8f9fb;
  --dgf-gray:   #6b7280;
  --dgf-light:  #e9edf2;
  --dgf-radius: 12px;
}

/* ── HERO ── */
#dgf-widget .dgf-hero {
  position: relative;
  background: #0d1b2a;
  overflow: hidden;
  padding: 80px 24px 100px;
  text-align: center;
  display: block;
}

#dgf-widget .dgf-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 110%, rgba(232,93,4,.35) 0%, transparent 65%),
    radial-gradient(ellipse 60% 40% at 20% 0%, rgba(26,79,160,.4) 0%, transparent 55%);
  pointer-events: none;
}

#dgf-widget .dgf-hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0; right: 0;
  height: 60px;
  background: #f8f9fb;
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

#dgf-widget .dgf-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 780px;
  margin: 0 auto;
  display: block;
}

#dgf-widget .dgf-hero-logo {
  display: block;
  max-width: 280px;
  width: 100%;
  height: auto;
  margin: 0 auto 32px;
  filter: drop-shadow(0 4px 24px rgba(0,0,0,.5));
  transition: transform .3s ease;
}

#dgf-widget .dgf-hero-logo:hover { transform: scale(1.03); }

#dgf-widget .dgf-h1 {
  font-family: 'Barlow Condensed', sans-serif !important;
  font-weight: 900 !important;
  font-size: clamp(2.2rem, 6vw, 3.8rem) !important;
  color: #f8f9fb !important;
  line-height: 1.05 !important;
  text-transform: uppercase !important;
  letter-spacing: .01em !important;
  margin: 0 0 20px !important;
  padding: 0 !important;
  border: none !important;
  background: none !important;
  display: block;
}

#dgf-widget .dgf-h1 span { color: #f97316; }

#dgf-widget .dgf-hero-p {
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  color: rgba(248,249,251,.75);
  max-width: 600px;
  margin: 0 auto 36px;
  font-weight: 300;
  font-family: 'Barlow', sans-serif;
  line-height: 1.6;
  display: block;
}

#dgf-widget .dgf-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #e85d04;
  color: #fff !important;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  text-decoration: none !important;
  padding: 16px 36px;
  border-radius: 4px;
  box-shadow: 0 8px 32px rgba(232,93,4,.45);
  transition: background .2s, transform .2s;
  border: none;
  cursor: pointer;
  line-height: 1;
}

#dgf-widget .dgf-hero-cta:hover {
  background: #f97316 !important;
  transform: translateY(-2px);
  color: #fff !important;
  text-decoration: none !important;
}

/* ── TRUST BAR ── */
#dgf-widget .dgf-trust-bar {
  background: #152638;
  padding: 22px 24px;
  display: block;
}

#dgf-widget .dgf-trust-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 24px;
  max-width: 960px;
  margin: 0 auto;
  list-style: none !important;
  padding: 0 !important;
}

#dgf-widget .dgf-trust-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #f8f9fb;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

#dgf-widget .dgf-trust-list li::before { display: none !important; }
#dgf-widget .dgf-trust-list li svg { color: #f97316; flex-shrink: 0; }

/* ── GENERIC SECTION ── */
#dgf-widget .dgf-section {
  padding: 72px 24px;
  display: block;
}

#dgf-widget .dgf-section-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: block;
}

#dgf-widget .dgf-section-tag {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #e85d04;
  border: none;
  border-left: 3px solid #e85d04;
  padding: 0 0 0 10px;
  margin: 0 0 12px;
  background: none;
  line-height: 1.4;
}

#dgf-widget .dgf-h2 {
  font-family: 'Barlow Condensed', sans-serif !important;
  font-weight: 900 !important;
  font-size: clamp(1.8rem, 4vw, 2.8rem) !important;
  text-transform: uppercase !important;
  line-height: 1.05 !important;
  color: #0d1b2a !important;
  margin: 0 0 16px !important;
  padding: 0 !important;
  border: none !important;
  background: none !important;
  display: block;
}

#dgf-widget .dgf-h2 .dgf-accent { color: #e85d04; }

#dgf-widget .dgf-section-lead {
  font-size: 1.05rem;
  color: #4b5563;
  max-width: 660px;
  font-weight: 300;
  font-family: 'Barlow', sans-serif;
  line-height: 1.6;
  margin: 0;
  display: block;
}

/* ── ABOUT SECTION ── */
#dgf-widget .dgf-section--white { background: #f8f9fb; }

#dgf-widget .dgf-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-top: 40px;
}

#dgf-widget .dgf-about-text p {
  color: #374151 !important;
  margin: 0 0 16px !important;
  font-size: 1.05rem !important;
  font-family: 'Barlow', sans-serif !important;
  line-height: 1.6 !important;
  padding: 0 !important;
  border: none !important;
  background: none !important;
}

#dgf-widget .dgf-about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

#dgf-widget .dgf-feat-card {
  background: #e9edf2;
  border-radius: 12px;
  padding: 22px 20px;
  border-top: 3px solid transparent;
  border-right: none;
  border-bottom: none;
  border-left: none;
  transition: border-color .2s, transform .2s;
  display: block;
}

#dgf-widget .dgf-feat-card:hover {
  border-top-color: #e85d04;
  transform: translateY(-2px);
}

#dgf-widget .dgf-feat-card svg {
  color: #e85d04;
  margin-bottom: 8px;
  display: block;
}

#dgf-widget .dgf-feat-card h3,
#dgf-widget .dgf-feat-h3 {
  font-family: 'Barlow Condensed', sans-serif !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  text-transform: uppercase !important;
  letter-spacing: .04em !important;
  color: #0d1b2a !important;
  margin: 0 0 4px !important;
  padding: 0 !important;
  border: none !important;
  background: none !important;
  line-height: 1.2 !important;
}

#dgf-widget .dgf-feat-card p {
  font-size: .9rem !important;
  color: #6b7280 !important;
  margin: 0 !important;
  font-family: 'Barlow', sans-serif !important;
  line-height: 1.5 !important;
  padding: 0 !important;
  border: none !important;
  background: none !important;
}

/* ── AREAS SECTION ── */
#dgf-widget .dgf-section--dark { background: #0d1b2a; }

#dgf-widget .dgf-section--dark .dgf-h2 { color: #f8f9fb !important; }
#dgf-widget .dgf-section--dark .dgf-section-tag { color: #f97316; border-left-color: #f97316; }
#dgf-widget .dgf-section--dark .dgf-section-lead { color: rgba(248,249,251,.65); }

#dgf-widget .dgf-county-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

#dgf-widget .dgf-county-card {
  background: #152638;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.07);
  transition: transform .2s, box-shadow .2s;
  display: block;
}

#dgf-widget .dgf-county-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,.4);
}

#dgf-widget .dgf-county-header {
  width: 100%;
  height: 110px;
  display: flex;
  align-items: flex-end;
  padding: 16px 20px;
  position: relative;
  overflow: hidden;
}

#dgf-widget .dgf-county-header::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .18;
  background-image:
    linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 28px 28px;
}

#dgf-widget .dgf-county-header::after {
  content: '';
  position: absolute;
  top: 22px;
  right: 24px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #f97316;
  box-shadow:
    -22px 8px 0 4px rgba(249,115,22,.35),
    -48px -4px 0 2px rgba(249,115,22,.2),
    -10px 28px 0 3px rgba(249,115,22,.25),
    20px 14px 0 2px rgba(249,115,22,.15);
}

#dgf-widget .dgf-county-header--nassau {
  background: linear-gradient(135deg, #0d2d5e 0%, #1a4fa0 50%, #0f3460 100%);
}
#dgf-widget .dgf-county-header--queens {
  background: linear-gradient(135deg, #1a3a1a 0%, #2d6a2d 50%, #1e4d1e 100%);
}
#dgf-widget .dgf-county-header--suffolk {
  background: linear-gradient(135deg, #3a1a0d 0%, #a03020 50%, #5e1f0d 100%);
}

#dgf-widget .dgf-county-header-label {
  position: relative;
  z-index: 2;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin: 0;
  padding: 0;
  display: block;
}

#dgf-widget .dgf-county-body { padding: 20px; display: block; }

#dgf-widget .dgf-county-name {
  font-family: 'Barlow Condensed', sans-serif !important;
  font-weight: 800 !important;
  font-size: 1.25rem !important;
  text-transform: uppercase !important;
  color: #ffffff !important;
  background: transparent !important;
  margin: 0 0 12px !important;
  padding: 0 0 8px !important;
  letter-spacing: .05em !important;
  border: none !important;
  border-bottom: 2px solid #e85d04 !important;
  line-height: 1.2 !important;
  display: block !important;
}

#dgf-widget .dgf-zip-list {
  list-style: none !important;
  display: flex;
  flex-direction: column;
  gap: 3px;
  max-height: 240px;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: #e85d04 #0d1b2a;
  padding: 0 !important;
  margin: 0 !important;
}

#dgf-widget .dgf-zip-list li {
  font-size: .82rem;
  color: rgba(248,249,251,.65);
  font-family: 'Barlow', sans-serif;
  padding: 3px 0 !important;
  border-bottom: 1px solid rgba(255,255,255,.04) !important;
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
  list-style: none !important;
  line-height: 1.4;
  margin: 0 !important;
}

#dgf-widget .dgf-zip-list li::before { display: none !important; }

#dgf-widget .dgf-zip-list li strong {
  color: rgba(248,249,251,.9);
  font-weight: 600;
}

#dgf-widget .dgf-areas-note {
  color: rgba(248,249,251,.55);
  font-size: .9rem;
  text-align: center;
  margin-top: 24px !important;
  font-family: 'Barlow', sans-serif;
  display: block;
}

#dgf-widget .dgf-areas-note a {
  color: #f97316 !important;
  text-decoration: none !important;
}

#dgf-widget .dgf-areas-note a:hover { text-decoration: underline !important; }

/* ── TESTIMONIALS ── */
#dgf-widget .dgf-section--light { background: #e9edf2; }

#dgf-widget .dgf-review-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}

#dgf-widget .dgf-review-card {
  background: #f8f9fb;
  border-radius: 12px;
  padding: 28px;
  position: relative;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  border-left: 4px solid #e85d04 !important;
  border-right: none !important;
  border-top: none !important;
  border-bottom: none !important;
  display: block;
  quotes: none;
}

#dgf-widget .dgf-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 12px;
}

#dgf-widget .dgf-stars svg { color: #fbbf24; }

#dgf-widget .dgf-review-text {
  font-size: 1rem !important;
  color: #374151 !important;
  font-style: italic;
  margin: 0 0 16px !important;
  line-height: 1.7 !important;
  font-family: 'Barlow', sans-serif !important;
  padding: 0 !important;
  border: none !important;
  background: none !important;
  display: block;
}

#dgf-widget .dgf-reviewer {
  font-family: 'Barlow Condensed', sans-serif !important;
  font-weight: 700 !important;
  font-size: .95rem !important;
  text-transform: uppercase !important;
  letter-spacing: .05em !important;
  color: #0d1b2a !important;
  display: block;
  font-style: normal;
}

/* ── ORDER / CONTACT ── */
#dgf-widget .dgf-section--order {
  background: linear-gradient(135deg, #1a4fa0 0%, #0d1b2a 100%);
  position: relative;
  overflow: hidden;
}

#dgf-widget .dgf-section--order::before {
  content: '';
  position: absolute;
  right: -120px;
  top: -80px;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(232,93,4,.2) 0%, transparent 65%);
  pointer-events: none;
}

#dgf-widget .dgf-order-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
  position: relative;
  z-index: 2;
}

#dgf-widget .dgf-section--order .dgf-h2 { color: #f8f9fb !important; }
#dgf-widget .dgf-section--order .dgf-section-tag { color: #f97316; border-left-color: #f97316; }

#dgf-widget .dgf-order-left p {
  color: rgba(248,249,251,.75) !important;
  margin: 0 0 24px !important;
  font-size: 1.05rem !important;
  font-family: 'Barlow', sans-serif !important;
  line-height: 1.6 !important;
  padding: 0 !important;
  border: none !important;
  background: none !important;
  display: block;
}

#dgf-widget .dgf-order-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #e85d04;
  color: #fff !important;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 1.3rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none !important;
  padding: 18px 40px;
  border-radius: 4px;
  box-shadow: 0 8px 32px rgba(0,0,0,.3);
  transition: background .2s, transform .2s;
  border: none;
  cursor: pointer;
  line-height: 1;
}

#dgf-widget .dgf-order-btn:hover {
  background: #f97316 !important;
  transform: translateY(-2px);
  color: #fff !important;
  text-decoration: none !important;
}

#dgf-widget .dgf-contact-box {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  padding: 32px;
  display: block;
}

#dgf-widget .dgf-contact-box h3,
#dgf-widget .dgf-contact-h3 {
  font-family: 'Barlow Condensed', sans-serif !important;
  font-weight: 800 !important;
  font-size: 1.35rem !important;
  text-transform: uppercase !important;
  color: #f8f9fb !important;
  letter-spacing: .05em !important;
  margin: 0 0 20px !important;
  padding: 0 !important;
  border: none !important;
  background: none !important;
  line-height: 1.2 !important;
  display: block;
}

#dgf-widget .dgf-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0 !important;
  border: none !important;
  border-bottom: 1px solid rgba(255,255,255,.08) !important;
  margin: 0 !important;
}

#dgf-widget .dgf-contact-item:last-child { border-bottom: none !important; }
#dgf-widget .dgf-contact-item svg { color: #f97316; flex-shrink: 0; }

#dgf-widget .dgf-contact-item a {
  color: rgba(248,249,251,.85) !important;
  text-decoration: none !important;
  font-size: 1rem;
  font-family: 'Barlow', sans-serif;
  transition: color .2s;
}

#dgf-widget .dgf-contact-item a:hover { color: #f97316 !important; }

#dgf-widget .dgf-contact-item span {
  color: rgba(248,249,251,.85) !important;
  font-size: 1rem;
  font-family: 'Barlow', sans-serif;
}

/* ── ANIMATIONS ── */
@keyframes dgfFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

#dgf-widget .dgf-hero-inner > * {
  animation: dgfFadeUp .7s ease both;
}
#dgf-widget .dgf-hero-inner > *:nth-child(1) { animation-delay: .05s; }
#dgf-widget .dgf-hero-inner > *:nth-child(2) { animation-delay: .2s; }
#dgf-widget .dgf-hero-inner > *:nth-child(3) { animation-delay: .35s; }
#dgf-widget .dgf-hero-inner > *:nth-child(4) { animation-delay: .5s; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  #dgf-widget .dgf-about-grid,
  #dgf-widget .dgf-order-grid { grid-template-columns: 1fr; gap: 36px; }
  #dgf-widget .dgf-county-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  #dgf-widget .dgf-county-grid,
  #dgf-widget .dgf-review-grid,
  #dgf-widget .dgf-about-features { grid-template-columns: 1fr; }
  #dgf-widget .dgf-section { padding: 52px 20px; }
  #dgf-widget .dgf-hero { padding: 60px 20px 80px; }
  #dgf-widget .dgf-trust-list { gap: 10px 16px; }
  #dgf-widget .dgf-order-btn { font-size: 1.05rem; padding: 15px 24px; }
}