/**
 * Den Den Financial - Custom Elementor Widgets Stylesheet
 *
 * @package DenDenFinancial
 */

/* 1. Insurance Hero Widget */
.den-widget-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  color: #FFFFFF;
  padding: clamp(4.5rem, 9vw, 8.5rem) 0;
  overflow: hidden;
}

/* Micro-dot subtle architectural grid */
.den-widget-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 1;
  opacity: 0.65;
}

.den-widget-hero .den-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle 800px at 85% 15%, rgba(255, 222, 89, 0.09) 0%, transparent 60%),
    radial-gradient(circle 600px at 15% 85%, rgba(180, 83, 9, 0.07) 0%, transparent 65%),
    linear-gradient(135deg, rgba(11, 15, 25, 0.96) 0%, rgba(0, 0, 0, 0.92) 55%, rgba(17, 24, 39, 0.90) 100%);
  z-index: 1;
}

.den-widget-hero .den-hero-container {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.den-widget-hero .den-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(255, 222, 89, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0.35rem 0.95rem;
  border-radius: var(--den-radius-pill);
  font-size: 0.825rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #FFDE59;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(255, 222, 89, 0.35);
  box-shadow: 0 2px 10px rgba(255, 222, 89, 0.12);
}

.den-widget-hero .den-hero-badge::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #FFDE59;
  box-shadow: 0 0 0 2px rgba(255, 222, 89, 0.3);
  animation: denBadgePulse 2s infinite ease-in-out;
}

@keyframes denBadgePulse {
  0% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(255, 222, 89, 0.6);
  }
  70% {
    transform: scale(1.1);
    box-shadow: 0 0 0 6px rgba(255, 222, 89, 0);
  }
  100% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(255, 222, 89, 0);
  }
}

.den-widget-hero .den-hero-title {
  color: #FFFFFF;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

/* Gradient Headline Accent */
.den-widget-hero .den-hero-title span,
.den-fallback-hero .den-hero-title span,
.den-widget-cta .den-cta-title span,
.den-cta-box h2 span,
.den-services-cta .den-services-cta-title span,
.den-contact-cta-section h2 span,
.den-service-detail-cta h2 span,
.den-newsletter-cta h2 span,
.den-text-gradient-gold,
.den-gradient-gold {
  background: linear-gradient(135deg, #FFDE59 0%, #F59E0B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  filter: drop-shadow(0 2px 16px rgba(255, 222, 89, 0.28));
}

.den-section-title span,
.den-services-hero .den-hero-title span,
.den-service-detail-hero .den-hero-title span,
.den-contact-hero h1 span,
.den-text-gradient-dark,
.den-gradient-text {
  background: linear-gradient(135deg, #B45309 0%, #D97706 60%, #92400E 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.den-widget-hero .den-hero-desc {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: #E2E8F0;
  line-height: 1.6;
  margin-bottom: 2.25rem;
  max-width: 760px;
}

.den-widget-hero .den-hero-actions {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* Hero Trust Bullets & List Items */
.den-widget-hero .den-hero-bullets,
.den-hero-bullets {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.den-widget-hero .den-hero-bullet-item,
.den-hero-bullet-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #CBD5E1;
  font-weight: 500;
  transition: color 0.2s ease;
}

.den-widget-hero .den-hero-bullet-icon,
.den-hero-bullet-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1;
}

.den-widget-hero .den-hero-bullet-icon svg,
.den-hero-bullet-item svg {
  width: 15px;
  height: 15px;
  stroke: #FFDE59;
  stroke-width: 2.5;
  fill: none;
  flex-shrink: 0;
}

/* 2. Insurance Services Grid */
.den-widget-services-grid {
  padding: clamp(3rem, 6vw, 5.5rem) 0;
}

.den-services-filter {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.den-filter-btn {
  padding: 0.55rem 1.35rem;
  font-family: var(--den-font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  background-color: #FFFFFF;
  color: var(--den-color-text-body);
  border: 1px solid var(--den-color-border);
  border-radius: var(--den-radius-pill);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.den-filter-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 222, 89, 0.8);
  box-shadow: 0 4px 12px rgba(255, 222, 89, 0.25);
  color: #000000;
}

.den-filter-btn.active {
  background: linear-gradient(135deg, #0B0F19 0%, #1a2234 100%);
  color: #FFDE59;
  border-color: #0B0F19;
  box-shadow: 0 4px 14px rgba(11, 15, 25, 0.25);
  transform: translateY(-1px);
}

.den-services-grid-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.den-service-card {
  background-color: #FFFFFF;
  border: 1px solid var(--den-color-border);
  border-radius: var(--den-radius-lg);
  padding: 2.25rem 2rem;
  box-shadow: var(--den-shadow-card);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}

.den-service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.08), 0 4px 8px rgba(0, 0, 0, 0.02);
  border-color: rgba(255, 222, 89, 0.6);
}

.den-service-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: linear-gradient(135deg, #FEF9C3 0%, #FDE047 100%);
  color: #000000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 222, 89, 0.55);
  box-shadow: 0 6px 16px -2px rgba(255, 222, 89, 0.30), 0 2px 4px rgba(0, 0, 0, 0.04);
  margin-bottom: 1.5rem;
  position: relative;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, background 0.3s ease;
}

.den-service-icon svg {
  width: 26px;
  height: 26px;
  stroke: #000000;
  stroke-width: 2.2;
  transition: transform 0.3s ease;
}

.den-service-card:hover .den-service-icon {
  transform: scale(1.10) translateY(-3px);
  background: linear-gradient(135deg, #FFDE59 0%, #F59E0B 100%);
  box-shadow: 0 10px 24px -2px rgba(255, 222, 89, 0.50);
  border-color: #FFDE59;
}

.den-service-title {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.den-service-desc {
  color: var(--den-color-text-body);
  font-size: 0.95rem;
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

/* 3. Insurance Coverage Info Widget */
.den-widget-coverage-info {
  background-color: var(--den-color-bg-alt);
  padding: clamp(3rem, 6vw, 5.5rem) 0;
  border-top: 1px solid var(--den-color-border);
  border-bottom: 1px solid var(--den-color-border);
}

.den-coverage-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.den-coverage-column {
  background-color: #FFFFFF;
  border-radius: var(--den-radius-lg);
  padding: 2.25rem;
  box-shadow: var(--den-shadow-sm);
  border: 1px solid var(--den-color-border);
}

.den-coverage-col-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--den-color-border);
}

.den-coverage-col-header.included h3 { color: var(--den-color-primary); }
.den-coverage-col-header.excluded h3 { color: #64748B; }

.den-coverage-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.den-coverage-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.den-coverage-item svg.icon-check { color: var(--den-color-success); flex-shrink: 0; margin-top: 2px; }
.den-coverage-item svg.icon-cross { color: #94A3B8; flex-shrink: 0; margin-top: 2px; }

/* 4. Benefits Widget */
.den-widget-benefits {
  padding: clamp(3rem, 6vw, 5.5rem) 0;
}

.den-benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.den-benefit-card {
  padding: 2rem 1.75rem;
  background: #FFFFFF;
  border: 1px solid var(--den-color-border);
  border-radius: var(--den-radius-lg);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.den-benefit-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 222, 89, 0.6);
  box-shadow: 0 16px 30px -8px rgba(0, 0, 0, 0.07);
}

.den-benefit-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, #FEF9C3 0%, #FDE047 100%);
  color: #000000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 222, 89, 0.55);
  box-shadow: 0 6px 16px -2px rgba(255, 222, 89, 0.30), 0 2px 4px rgba(0, 0, 0, 0.04);
  margin-bottom: 1.25rem;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, background 0.3s ease;
}

.den-benefit-icon svg {
  width: 26px;
  height: 26px;
  stroke: #000000;
  stroke-width: 2.2;
  transition: transform 0.3s ease;
}

.den-benefit-card:hover .den-benefit-icon {
  transform: scale(1.10) translateY(-3px);
  background: linear-gradient(135deg, #FFDE59 0%, #F59E0B 100%);
  box-shadow: 0 10px 24px -2px rgba(255, 222, 89, 0.50);
  border-color: #FFDE59;
}

.den-benefit-title {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.den-benefit-desc {
  font-size: 0.92rem;
  color: var(--den-color-text-muted);
  line-height: 1.55;
  margin: 0;
}

/* 5. Process Widget */
.den-widget-process {
  padding: clamp(3rem, 6vw, 5.5rem) 0;
  background-color: var(--den-color-bg-alt);
}

.den-process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  position: relative;
}

.den-process-step {
  background: #FFFFFF;
  padding: 2.25rem 2rem;
  border-radius: var(--den-radius-lg);
  border: 1px solid var(--den-color-border);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.den-process-step:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 222, 89, 0.65);
  box-shadow: 0 18px 32px -8px rgba(0, 0, 0, 0.08);
}

.den-process-step .den-step-badge {
  position: absolute;
  top: -16px;
  left: 24px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FFDE59 0%, #F59E0B 100%);
  color: #0B0F19;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: 0 4px 12px rgba(255, 222, 89, 0.35);
  transition: transform 0.3s ease;
}

.den-process-step:hover .den-step-badge {
  transform: scale(1.12);
}

/* Service Detail Process Card & In-Flow Badge */
.den-service-process-section {
  position: relative;
  background-color: #FFFFFF;
}

.den-process-card {
  position: relative;
  background-color: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.den-process-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 222, 89, 0.65);
  box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(255, 222, 89, 0.15);
}

.den-process-card .den-step-badge {
  position: static !important;
  top: auto !important;
  left: auto !important;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
  background: linear-gradient(135deg, #FEF9C3 0%, #FDE047 100%);
  color: #0B0F19;
  border: 1px solid rgba(255, 222, 89, 0.6);
  box-shadow: 0 4px 12px rgba(255, 222, 89, 0.30);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease, box-shadow 0.3s ease;
}

.den-process-card:hover .den-step-badge {
  transform: scale(1.10);
  background: linear-gradient(135deg, #FFDE59 0%, #F59E0B 100%);
  box-shadow: 0 8px 20px rgba(255, 222, 89, 0.45);
}

.den-process-card .den-step-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0B0F19;
  margin: 0 0 0.75rem 0;
  line-height: 1.35;
}

.den-process-card .den-step-desc {
  font-size: 0.95rem;
  color: #64748B;
  line-height: 1.6;
  margin: 0;
}

.den-step-title {
  font-size: 1.15rem;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.den-step-desc {
  font-size: 0.9rem;
  color: var(--den-color-text-muted);
  line-height: 1.5;
  margin: 0;
}

/* 6. Quote Request Widget */
.den-widget-quote-request {
  padding: clamp(3rem, 6vw, 5.5rem) 0;
}

.den-quote-card-box {
  background: #FFFFFF;
  border: 1px solid var(--den-color-border);
  border-radius: var(--den-radius-xl);
  padding: clamp(2rem, 5vw, 3.5rem);
  box-shadow: var(--den-shadow-xl);
  max-width: 780px;
  margin: 0 auto;
}

.den-quote-card-header {
  text-align: center;
  margin-bottom: 2.25rem;
}

.den-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.den-form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.25rem;
}

.den-form-group.full-width {
  grid-column: 1 / -1;
}

.den-form-label {
  font-family: var(--den-font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--den-color-primary);
  margin-bottom: 0.45rem;
}

.den-form-input, .den-form-select, .den-form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--den-font-body);
  font-size: 0.95rem;
  color: var(--den-color-text-body);
  background-color: #FFFFFF;
  border: 1.5px solid var(--den-color-border);
  border-radius: var(--den-radius-md);
  transition: border-color var(--den-transition-fast), box-shadow var(--den-transition-fast);
}

.den-form-input:focus, .den-form-select:focus, .den-form-textarea:focus {
  outline: none;
  border-color: #FFDE59;
  box-shadow: 0 0 0 4px rgba(255, 222, 89, 0.28);
}

.den-form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.825rem;
  color: var(--den-color-text-muted);
  line-height: 1.45;
  cursor: pointer;
}

.den-form-checkbox-label input {
  margin-top: 2px;
}

.den-form-feedback {
  margin-top: 1.25rem;
}

.den-alert {
  padding: 0.85rem 1.25rem;
  border-radius: var(--den-radius-md);
  font-size: 0.9rem;
  line-height: 1.4;
}

.den-alert-success {
  background-color: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
}

.den-alert-error {
  background-color: #FEF2F2;
  color: #991B1B;
  border: 1px solid #FECACA;
}

.den-form-notice {
  font-size: 0.8rem;
  color: var(--den-color-text-light);
  text-align: center;
  margin-top: 1rem;
}

/* 7. FAQ Accordion & Spacing */
.den-widget-faq,
.den-services-faqs,
.den-service-detail-faqs {
  padding-top: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.den-faq-accordion,
.den-accordion-wrap {
  max-width: 840px;
  margin: 0 auto;
}

.den-faq-item,
.den-faq-block {
  border: 1px solid var(--den-color-border, #E2E8F0);
  border-radius: var(--den-radius-md, 8px);
  margin-bottom: 12px;
  background-color: #FFFFFF;
  overflow: hidden;
  transition: border-color var(--den-transition-fast, 0.2s ease), box-shadow var(--den-transition-fast, 0.2s ease);
}

.den-faq-item:last-child,
.den-faq-block:last-child {
  margin-bottom: 0 !important;
}

.den-faq-item.is-open,
.den-faq-item.active {
  border-color: var(--den-color-accent, #B45309);
}

.den-faq-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}

.den-faq-question {
  font-family: var(--den-font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--den-color-primary, #0B0F19);
  margin: 0;
}

.den-faq-icon,
.den-toggle-icon {
  font-size: 1.25rem;
  font-weight: 700;
  color: #000000;
  transition: transform 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Rotate the plus icon 45deg to create a perfect cross (×) when open */
.den-faq-item.is-open .den-faq-icon,
.den-faq-item.active .den-faq-icon,
.den-faq-item.is-open .den-toggle-icon,
.den-faq-item.active .den-toggle-icon {
  transform: rotate(45deg);
}

.den-faq-item.is-open .den-faq-icon svg,
.den-faq-item.active .den-faq-icon svg {
  transform: rotate(180deg);
}

.den-faq-body {
  display: none;
  padding: 0 1.5rem 1.25rem;
  font-size: 0.95rem;
  color: var(--den-color-text-body);
  line-height: 1.6;
}

/* 8. About Widget */
.den-widget-about {
  padding: clamp(3rem, 6vw, 5.5rem) 0;
}

.den-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: stretch !important;
}

.den-about-image-wrapper {
  position: relative;
  height: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.den-about-img-main {
  border-radius: var(--den-radius-xl);
  box-shadow: var(--den-shadow-xl);
  width: 100%;
  height: 100% !important;
  min-height: 100%;
  object-fit: cover !important;
  object-position: center;
  display: block;
  flex: 1 1 auto;
}

.den-about-img-placeholder {
  width: 100%;
  height: 100% !important;
  min-height: 420px;
  flex: 1 1 auto;
  background: linear-gradient(135deg, #0B0F19 0%, #000000 100%);
  border-radius: var(--den-radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFDE59;
}

.den-about-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.den-about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--den-color-primary);
  color: #FFFFFF;
  padding: 1.25rem 1.75rem;
  border-radius: var(--den-radius-lg);
  box-shadow: var(--den-shadow-lg);
  text-align: center;
}

.den-about-badge strong {
  display: block;
  font-size: 1.75rem;
  color: var(--den-color-accent);
}

.den-about-feature-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 2rem;
}

.den-about-feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-weight: 500;
  color: var(--den-color-text-body);
}

.den-about-feature-item svg {
  color: var(--den-color-accent);
}

/* 9. Testimonials Widget */
.den-widget-testimonials {
  padding: clamp(3rem, 6vw, 5.5rem) 0;
  background-color: var(--den-color-bg-alt);
}

.den-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.den-testimonial-card {
  background: #FFFFFF;
  padding: 2rem;
  border-radius: var(--den-radius-lg);
  border: 1px solid var(--den-color-border);
  box-shadow: var(--den-shadow-sm);
  display: flex;
  flex-direction: column;
}

.den-testimonial-stars {
  color: var(--den-color-gold);
  margin-bottom: 1rem;
}

.den-testimonial-text {
  font-size: 0.95rem;
  line-height: 1.6;
  font-style: italic;
  color: var(--den-color-text-body);
  flex-grow: 1;
  margin-bottom: 1.25rem;
}

.den-testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.den-author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--den-color-accent);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.den-author-info strong {
  display: block;
  font-size: 0.95rem;
  color: var(--den-color-primary);
}

.den-author-info span {
  font-size: 0.8rem;
  color: var(--den-color-text-muted);
}

/* 10. Insurance CTA Widget */
.den-widget-cta {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.den-cta-box {
  background: linear-gradient(135deg, var(--den-color-primary-dark) 0%, var(--den-color-primary) 65%, var(--den-color-accent-dark) 100%);
  border-radius: var(--den-radius-xl);
  padding: clamp(2.5rem, 6vw, 4.5rem);
  color: #FFFFFF;
  text-align: center;
  box-shadow: var(--den-shadow-xl);
}

.den-cta-box h2 {
  color: #FFFFFF;
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  margin-bottom: 1rem;
}

.den-cta-box p {
  color: #CBD5E1;
  max-width: 650px;
  margin: 0 auto 2rem;
  font-size: 1.15rem;
}

.den-cta-actions {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* 11. Trust and Credentials Widget */
.den-widget-trust {
  padding: 2.5rem 0;
  border-top: 1px solid var(--den-color-border);
  border-bottom: 1px solid var(--den-color-border);
  background-color: #FFFFFF;
}

.den-trust-inner {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2rem;
}

.den-trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #64748B;
  font-family: var(--den-font-heading);
  font-size: 0.95rem;
  font-weight: 600;
}

.den-trust-item svg {
  color: var(--den-color-accent);
}

/* 12. Insurance Insights Widget */
.den-widget-insights {
  padding: clamp(3rem, 6vw, 5.5rem) 0;
}

/* 13. Contact Info Widget */
.den-widget-contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.den-contact-card {
  background: #FFFFFF;
  padding: 1.75rem;
  border: 1px solid var(--den-color-border);
  border-radius: var(--den-radius-lg);
  box-shadow: var(--den-shadow-sm);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.den-contact-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, #FEF9C3 0%, #FDE047 100%);
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 222, 89, 0.55);
  box-shadow: 0 4px 12px rgba(255, 222, 89, 0.30);
  flex-shrink: 0;
  transition: transform 0.3s ease, background 0.3s ease;
}

.den-contact-card-icon svg {
  width: 24px;
  height: 24px;
  stroke: #000000;
  stroke-width: 2.2;
}

.den-contact-card:hover .den-contact-card-icon {
  transform: scale(1.08);
  background: linear-gradient(135deg, #FFDE59 0%, #F59E0B 100%);
}

.den-contact-card-body h4 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.den-contact-card-body p {
  font-size: 0.9rem;
  color: var(--den-color-text-muted);
  margin: 0;
}

/* 14. Insurance Legal Disclosure Widget */
.den-widget-disclosure {
  background-color: var(--den-color-bg-alt);
  border: 1px solid var(--den-color-border);
  border-left: 4px solid var(--den-color-primary);
  border-radius: 0 var(--den-radius-md) var(--den-radius-md) 0;
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
}

.den-disclosure-heading {
  font-size: 1rem;
  font-weight: 700;
  color: var(--den-color-primary);
  margin-bottom: 0.4rem;
}

.den-disclosure-text {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--den-color-text-body);
  margin: 0;
}

/* 15. Statistics Widget */
.den-widget-stats {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  background: var(--den-color-primary);
  color: #FFFFFF;
}

.den-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.den-stat-number {
  font-family: var(--den-font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--den-color-accent-light);
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.den-stat-label {
  font-size: 0.925rem;
  color: #E2E8F0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* Responsive Overrides */
@media (max-width: 768px) {
  .den-coverage-split { grid-template-columns: 1fr; }
  .den-about-grid { grid-template-columns: 1fr; }
  .den-about-badge { right: 0; bottom: 0; }
  .den-form-row { grid-template-columns: 1fr; }
}

/* ==========================================================================
   DEFAULT WIDGET SECTION BACKGROUNDS
   Baseline fallbacks that allow full customization via Elementor Style tab
   ========================================================================== */
.den-about-hero,
.den-services-hero,
.den-service-detail-hero,
.den-contact-hero,
.den-quote-hero,
.den-claims-hero,
.den-insights-hero,
.den-legal-hero {
  position: relative;
  background:
    radial-gradient(circle 700px at 88% 12%, rgba(255, 222, 89, 0.12) 0%, transparent 60%),
    radial-gradient(circle 500px at 8% 85%, rgba(254, 249, 195, 0.40) 0%, transparent 55%),
    linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  overflow: hidden;
}

.den-widget-faq,
.den-widget-services-grid,
.den-services-faqs,
.den-service-detail-faqs,
.den-claims-hotline-section,
.den-widget-trust,
.den-widget-benefits,
.den-service-benefits-section {
  background-color: var(--den-color-bg-alt, #f8fafc);
}

.den-widget-about,
.den-claims-advocacy-section,
.den-widget-process,
.den-widget-testimonials,
.den-insights-grid-section,
.den-quote-form-section,
.den-quote-notice-section,
.den-quote-selector,
.den-service-process-section,
.den-services-benefits,
.den-services-catalog,
.den-legal-disclosure-section,
.den-contact-cards-section,
.den-contact-details-section,
.den-contact-form-section,
.den-claims-process-section,
.den-services-details,
.den-service-coverage-info,
.den-quote-contact-info {
  background-color: #ffffff;
}

.den-carrier-marquee-section {
  background-color: #F8FAFC;
}

/* Universal Section Background Passthrough for Elementor Containers */
.elementor-widget[class*="elementor-widget-den-"] > .elementor-widget-container {
  background: transparent !important;
}

/* When custom background is set in Elementor without an image, clear conflicting default gradients */
.den-widget-section-root.has-custom-bg:not(.has-custom-image) {
  background-image: none;
}

/* Universal Section Background Overlay System */
.den-widget-section-root {
  position: relative;
}

.den-widget-section-root::before,
.den-section-overlay {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  transition: background-color 0.25s ease, opacity 0.25s ease;
}

/* Ensure all interactive and content elements sit on top of the background overlay */
.den-widget-section-root > *:not(::before):not(.den-section-overlay):not(.den-hero-overlay):not(.den-hero-bg-grid),
.den-widget-section-root .den-container,
.den-widget-section-root .container,
.den-widget-section-root .den-hero-container,
.den-widget-section-root .den-cta-box,
.den-widget-section-root .den-services-container,
.den-widget-section-root .den-about-grid,
.den-widget-section-root .den-faq-wrap,
.den-widget-section-root .den-testimonials-wrap {
  position: relative;
  z-index: 2;
}

/* Global CTA Dark Background Defaults with Ambient Glow */
.den-contact-cta-section,
.den-newsletter-cta,
.den-service-detail-cta,
.den-services-cta {
  position: relative;
  background-color: #0B0F19;
  background-image:
    radial-gradient(circle 650px at 85% 15%, rgba(255, 222, 89, 0.10) 0%, transparent 60%),
    linear-gradient(135deg, #0B0F19 0%, #000000 100%);
  color: #FFFFFF;
  overflow: hidden;
}

.den-widget-cta {
  background: transparent;
}

.den-cta-box {
  position: relative;
  background:
    radial-gradient(circle 550px at 90% 15%, rgba(255, 222, 89, 0.14) 0%, transparent 55%),
    linear-gradient(135deg, #0B0F19 0%, #1a2234 100%);
  border-radius: var(--den-radius-xl, 16px);
  padding: clamp(2.5rem, 6vw, 4.5rem);
  color: #FFFFFF;
  text-align: center;
  box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 222, 89, 0.25);
  border: 1px solid rgba(255, 222, 89, 0.25);
  overflow: hidden;
}

.den-services-cta .den-services-cta-title,
.den-services-cta h2,
.den-service-detail-cta h2,
.den-contact-cta-section h2,
.den-newsletter-cta h2,
.den-widget-cta .den-cta-title,
.den-cta-box h2 {
  color: #FFFFFF;
}

.den-services-cta .den-services-cta-desc,
.den-services-cta p,
.den-service-detail-cta p,
.den-contact-cta-section p,
.den-newsletter-cta p,
.den-widget-cta .den-cta-lead,
.den-cta-box p {
  color: #94A3B8;
}

.den-services-cta .den-btn-outline-light,
.den-widget-cta .den-btn-outline-light {
  color: #FFFFFF;
  border-color: #CBD5E1;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.den-services-cta .den-btn-outline-light:hover,
.den-widget-cta .den-btn-outline-light:hover {
  background: rgba(255, 222, 89, 0.14);
  border-color: #FFDE59;
  color: #FFDE59;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(255, 222, 89, 0.25);
}

/* ==========================================================================
   Responsive Grid Framework Defaults
   Ensures custom Elementor widgets collapse cleanly on mobile & tablet
   ========================================================================== */
.den-services-grid-wrapper,
.den-services-grid,
.den-testimonials-grid,
.den-posts-grid,
.den-contact-cards-grid,
.den-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.den-process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 1024px) {
  .den-services-grid-wrapper,
  .den-services-grid,
  .den-testimonials-grid,
  .den-posts-grid,
  .den-contact-cards-grid,
  .den-benefits-grid,
  .den-process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }
}

@media (max-width: 640px) {
  .den-services-grid-wrapper,
  .den-services-grid,
  .den-testimonials-grid,
  .den-posts-grid,
  .den-contact-cards-grid,
  .den-benefits-grid,
  .den-process-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* ==========================================================================
   DEN DEN FINANCIAL — UNIVERSAL FORM STYLING ENGINE
   Automatically applies Canary Gold branding (#FFDE59), accessible contrast,
   refined typography, elegant focus rings, and premium button styling
   to ALL forms across the website (Built-in AJAX, Shortcodes, WPForms,
   Contact Form 7, Fluent Forms, Gravity Forms, Ninja Forms, Elementor Forms).
   ========================================================================== */

.den-universal-form-container,
.den-shortcode-form-wrap,
.den-contact-form-section form,
.den-quote-form-section form,
.wpforms-container,
.wpcf7-form,
.fluentform,
.gform_wrapper,
.elementor-form,
.frm_forms {
  width: 100%;
  box-sizing: border-box;
  font-family: inherit;
}

/* Universal Form Labels */
.den-universal-form-container label,
.den-shortcode-form-wrap label,
.wpforms-field-label,
.wpcf7-form label,
.ff-el-input--label,
.gfield_label,
.elementor-field-label,
.frm_primary_label,
.nf-field-label label {
  display: block !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  color: #334155 !important;
  margin-bottom: 0.45rem !important;
  line-height: 1.4 !important;
  letter-spacing: -0.01em !important;
}

/* Universal Inputs, Selects & Textareas */
.den-universal-form-container input[type="text"],
.den-universal-form-container input[type="email"],
.den-universal-form-container input[type="tel"],
.den-universal-form-container input[type="number"],
.den-universal-form-container input[type="url"],
.den-universal-form-container input[type="date"],
.den-universal-form-container select,
.den-universal-form-container textarea,
.den-shortcode-form-wrap input[type="text"],
.den-shortcode-form-wrap input[type="email"],
.den-shortcode-form-wrap input[type="tel"],
.den-shortcode-form-wrap input[type="number"],
.den-shortcode-form-wrap input[type="url"],
.den-shortcode-form-wrap input[type="date"],
.den-shortcode-form-wrap select,
.den-shortcode-form-wrap textarea,
.wpforms-form input[type="text"],
.wpforms-form input[type="email"],
.wpforms-form input[type="tel"],
.wpforms-form input[type="number"],
.wpforms-form select,
.wpforms-form textarea,
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="number"],
.wpcf7-form input[type="url"],
.wpcf7-form select,
.wpcf7-form textarea,
.fluentform input[type="text"],
.fluentform input[type="email"],
.fluentform input[type="tel"],
.fluentform select,
.fluentform textarea,
.gform_wrapper input[type="text"],
.gform_wrapper input[type="email"],
.gform_wrapper input[type="tel"],
.gform_wrapper select,
.gform_wrapper textarea,
.elementor-field-textual {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  padding: 0.85rem 1.15rem !important;
  border: 1px solid #CBD5E1 !important;
  border-radius: 0.5rem !important;
  font-size: 0.95rem !important;
  line-height: 1.5 !important;
  background-color: #FFFFFF !important;
  color: #0F172A !important;
  transition: all 0.2s ease !important;
  outline: none !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04) !important;
}

/* Universal Input Focus Rings */
.den-universal-form-container input:focus,
.den-universal-form-container select:focus,
.den-universal-form-container textarea:focus,
.den-shortcode-form-wrap input:focus,
.den-shortcode-form-wrap select:focus,
.den-shortcode-form-wrap textarea:focus,
.wpforms-form input:focus,
.wpforms-form select:focus,
.wpforms-form textarea:focus,
.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus,
.fluentform input:focus,
.fluentform select:focus,
.fluentform textarea:focus,
.gform_wrapper input:focus,
.gform_wrapper select:focus,
.gform_wrapper textarea:focus,
.elementor-field-textual:focus {
  border-color: #FFDE59 !important;
  box-shadow: 0 0 0 3px rgba(255, 222, 89, 0.35) !important;
  background-color: #FFFFFF !important;
}

/* Universal Submit Buttons */
.den-universal-form-container button[type="submit"],
.den-universal-form-container input[type="submit"],
.den-shortcode-form-wrap button[type="submit"],
.den-shortcode-form-wrap input[type="submit"],
.wpforms-submit,
.wpcf7-submit,
.ff-btn-submit,
.gform_button,
.elementor-button[type="submit"],
.frm_button_submit {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 50px !important;
  padding: 0.95rem 2rem !important;
  background-color: #FFDE59 !important;
  color: #000000 !important;
  font-family: inherit !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em !important;
  border: none !important;
  border-radius: 0.5rem !important;
  cursor: pointer !important;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(255, 222, 89, 0.35) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  margin-top: 0.5rem !important;
}

.den-universal-form-container button[type="submit"]:hover,
.den-universal-form-container input[type="submit"]:hover,
.den-shortcode-form-wrap button[type="submit"]:hover,
.den-shortcode-form-wrap input[type="submit"]:hover,
.wpforms-submit:hover,
.wpcf7-submit:hover,
.ff-btn-submit:hover,
.gform_button:hover,
.elementor-button[type="submit"]:hover,
.frm_button_submit:hover {
  background-color: #FACC15 !important;
  color: #000000 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(255, 222, 89, 0.5) !important;
}

/* Universal Validation Messages & Alerts */
.den-form-feedback,
.wpforms-error-container,
.wpcf7-not-valid-tip,
.ff-errors-in-stack {
  font-size: 0.85rem !important;
  color: #DC2626 !important;
  margin-top: 0.35rem !important;
  font-weight: 500 !important;
}

.wpcf7-response-output,
.wpforms-confirmation-container-full,
.ff-message-success {
  padding: 1rem 1.25rem !important;
  border-radius: 0.5rem !important;
  font-size: 0.95rem !important;
  margin-top: 1.25rem !important;
  text-align: center !important;
  font-weight: 600 !important;
  background-color: #FEF9C3 !important;
  border: 1px solid #FFDE59 !important;
  color: #B45309 !important;
}

/* ==========================================================================
   Phase 3: Conversion, Trust & Authority Elements
   ========================================================================== */

/* 1. Continuous Carrier Partner Logo Marquee Engine */
.den-marquee-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 1rem 0;
  display: flex;
}

.den-marquee-fade-left,
.den-marquee-fade-right {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.den-marquee-fade-left {
  left: 0;
  background: linear-gradient(to right, rgba(248, 250, 252, 1) 0%, rgba(248, 250, 252, 0) 100%);
}

.den-marquee-fade-right {
  right: 0;
  background: linear-gradient(to left, rgba(248, 250, 252, 1) 0%, rgba(248, 250, 252, 0) 100%);
}

.den-marquee-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: denMarqueeScroll 30s linear infinite;
}

.den-marquee-group {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-right: 1.5rem;
  flex-shrink: 0;
}

@keyframes denMarqueeScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.den-marquee-pause-hover:hover .den-marquee-track {
  animation-play-state: paused;
}

/* Carrier Card Structure & Interactive Micro-Physics */
.den-carrier-card {
  display: inline-flex;
  align-items: center;
  gap: 0.95rem;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 0.75rem 1.25rem;
  min-width: 210px;
  text-decoration: none !important;
  color: inherit;
  box-shadow: 0 2px 8px rgba(11, 15, 25, 0.04);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
  flex-shrink: 0;
}

.den-carrier-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 222, 89, 0.85);
  box-shadow: 0 10px 24px -4px rgba(255, 222, 89, 0.35), 0 4px 12px rgba(11, 15, 25, 0.06);
}

.den-marquee-grayscale .den-carrier-card {
  filter: grayscale(100%);
  opacity: 0.82;
}

.den-marquee-grayscale .den-carrier-card:hover {
  filter: grayscale(0%);
  opacity: 1;
}

.den-carrier-logo-wrap {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.den-carrier-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.den-carrier-monogram {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0B0F19 0%, #1E293B 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFDE59;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, background 0.3s ease;
}

.den-carrier-card:hover .den-carrier-monogram {
  background: linear-gradient(135deg, #FFDE59 0%, #F59E0B 100%);
  color: #000000;
  transform: scale(1.08);
}

.den-carrier-meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.den-carrier-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: #0B0F19;
  line-height: 1.25;
}

.den-carrier-rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #B45309;
  background: #FEF9C3;
  border: 1px solid rgba(255, 222, 89, 0.6);
  padding: 0.15rem 0.5rem;
  border-radius: 9999px;
  width: fit-content;
  line-height: 1;
}

/* 2. Hero Social Proof & Verified Rating Badge */
.den-hero-rating-proof {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  background: rgba(11, 15, 25, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 222, 89, 0.35);
  border-radius: 9999px;
  padding: 0.5rem 1.25rem 0.5rem 0.65rem;
  margin-bottom: 2rem;
  width: fit-content;
  max-width: 100%;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  box-sizing: border-box;
}

.den-hero-rating-proof:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 222, 89, 0.7);
  box-shadow: 0 6px 22px rgba(255, 222, 89, 0.25);
}

.den-hero-avatars-cluster {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.den-hero-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.75rem;
  border: 2px solid #0B0F19;
  margin-left: -8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.den-hero-avatars-cluster:hover .den-hero-avatar {
  transform: scale(1.12);
}

.den-hero-avatar:first-child,
.den-hero-avatar.den-avatar-jd {
  margin-left: 0;
  background: #FFDE59;
  color: #000000;
}

.den-hero-avatar.den-avatar-mr {
  background: #FDE047;
  color: #000000;
}

.den-hero-avatar.den-avatar-sl {
  background: #FEF08A;
  color: #000000;
}

.den-hero-avatar.den-avatar-star {
  background: linear-gradient(135deg, #FFDE59 0%, #F59E0B 100%);
  color: #000000;
}

.den-hero-rating-details {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1 1 auto;
}

.den-hero-rating-stars-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  line-height: 1.25;
}

.den-stars-gold {
  display: flex;
  align-items: center;
  gap: 2px;
  color: #FFDE59;
  flex-shrink: 0;
}

.den-stars-gold svg {
  width: 13px;
  height: 13px;
  fill: #FFDE59;
  display: block;
}

.den-hero-rating-score {
  font-size: 0.9rem;
  font-weight: 800;
  color: #FFFFFF;
  flex-shrink: 0;
}

.den-hero-rating-sep {
  color: #64748B;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.den-hero-rating-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: #F8FAFC;
  white-space: nowrap;
}

.den-hero-rating-subtext {
  font-size: 0.78rem;
  color: #94A3B8;
  margin-top: 0.15rem;
  font-weight: 500;
  line-height: 1.3;
}

/* 3. Form Trust & Security Seals */
.den-form-trust-seals {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid #E2E8F0;
}

.den-trust-seal-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #475569;
  transition: color 0.2s ease, transform 0.2s ease;
}

.den-trust-seal-item:hover {
  color: #0B0F19;
  transform: translateY(-1px);
}

.den-trust-seal-item svg {
  color: #B45309;
  stroke: #B45309;
  flex-shrink: 0;
}

@media (prefers-reduced-motion: reduce) {
  .den-marquee-track {
    animation: none;
    transform: none;
  }
}


/* ==========================================================================
   HEADER NAVIGATION WIDGET (den-header-nav) — FULL RESPONSIVE ENGINE
   Supports Desktop, Tablet (<=1024px), and Mobile (<=768px) seamlessly.
   ========================================================================== */

.den-header-widget-nav-wrap {
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
}

/* 1. Desktop Navigation */
.den-header-widget-nav.den-widget-nav-desktop {
  display: flex;
  align-items: center;
  width: 100%;
}

.den-widget-nav-desktop .den-widget-nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* 2. Mobile Toggle Wrap (Hidden by default on Desktop) */
.den-widget-mobile-toggle-wrap {
  display: none;
  width: 100%;
  align-items: center;
  justify-content: flex-end;
}

/* Mobile Toggle Hamburger Button */
.den-widget-menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: transparent;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 9px 14px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  line-height: 1;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.den-widget-menu-toggle:hover,
.den-widget-menu-toggle.is-active {
  border-color: #FFDE59;
  background-color: rgba(255, 222, 89, 0.15);
  box-shadow: 0 4px 12px rgba(255, 222, 89, 0.25);
}

.den-toggle-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 22px;
  height: 16px;
  position: relative;
}

.den-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #000000;
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
  transform-origin: center;
}

/* Animated Hamburger to X */
.den-widget-menu-toggle.is-active .bar-1 {
  transform: translateY(7px) rotate(45deg);
}

.den-widget-menu-toggle.is-active .bar-2 {
  opacity: 0;
  transform: scaleX(0);
}

.den-widget-menu-toggle.is-active .bar-3 {
  transform: translateY(-7px) rotate(-45deg);
}

.den-toggle-text {
  font-family: var(--den-font-heading, inherit);
  font-size: 0.92rem;
  font-weight: 700;
  color: #000000;
  letter-spacing: 0.02em;
}

/* 3. Mobile Navigation Panel Common */
.den-widget-mobile-nav-panel {
  display: none;
}

/* 4. Off-Canvas Drawer Mode */
.den-widget-mobile-nav-panel.den-mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 999999;
  pointer-events: none;
  visibility: hidden;
  transition: visibility 0.3s ease;
}

.den-widget-mobile-nav-panel.den-mobile-drawer.is-open {
  pointer-events: auto;
  visibility: visible;
  display: block !important;
}

/* Dark Frosted Glass Backdrop Overlay */
.den-mobile-panel-backdrop {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.den-widget-mobile-nav-panel.den-mobile-drawer.is-open .den-mobile-panel-backdrop {
  opacity: 1;
}

/* Sliding Drawer Inner Container */
.den-widget-mobile-nav-panel.den-mobile-drawer .den-mobile-panel-inner {
  position: absolute;
  top: 0;
  right: -100%;
  width: 86%;
  max-width: 380px;
  height: 100%;
  background: #FFFFFF;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  z-index: 2;
}

.den-widget-mobile-nav-panel.den-mobile-drawer.is-open .den-mobile-panel-inner {
  right: 0;
}

/* Drawer Header */
.den-mobile-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #E2E8F0;
  background: #F8FAFC;
  flex-shrink: 0;
}

.den-mobile-panel-title {
  font-family: var(--den-font-heading, inherit);
  font-size: 1.15rem;
  font-weight: 700;
  color: #0F172A;
  letter-spacing: -0.01em;
}

.den-mobile-panel-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 50%;
  font-size: 1.6rem;
  line-height: 1;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.den-mobile-panel-close:hover {
  background: #0F172A;
  color: #FFDE59;
  border-color: #0F172A;
  transform: rotate(90deg);
}

/* Mobile Menu Navigation List */
.den-mobile-panel-menu {
  flex: 1 1 auto;
  padding: 1rem 1.5rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.den-mobile-panel-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.den-mobile-panel-menu > ul > li {
  border-bottom: 1px solid #F1F5F9;
  position: relative;
}

.den-mobile-panel-menu > ul > li:last-child {
  border-bottom: none;
}

.den-mobile-item-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.den-mobile-panel-menu li a {
  display: block;
  flex: 1;
  padding: 0.85rem 0;
  font-family: var(--den-font-heading, inherit);
  font-size: 1.02rem;
  font-weight: 600;
  color: #1E293B;
  text-decoration: none;
  transition: color 0.2s ease;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.den-mobile-panel-menu li a:hover,
.den-mobile-panel-menu li.current-menu-item > a,
.den-mobile-panel-menu li.current-menu-item > .den-mobile-item-wrap > a,
.den-mobile-panel-menu li.current_page_item > a {
  color: #B45309;
}

/* Hide desktop pseudo-arrows on mobile item links */
.den-mobile-panel-menu li.menu-item-has-children > a::after,
.den-mobile-panel-menu .den-mobile-item-wrap > a::after,
.den-mobile-panel-menu li > a::before {
  display: none !important;
}

/* Mobile Submenu Toggle Button */
.den-mobile-sub-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  color: #475569;
  cursor: pointer;
  margin-left: 8px;
  flex-shrink: 0;
  transition: all 0.25s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.den-mobile-sub-toggle svg {
  transition: transform 0.25s ease;
}

.den-mobile-sub-toggle:hover {
  background: #FFDE59;
  color: #000000;
  border-color: #FFDE59;
}

.den-mobile-sub-toggle.is-open {
  background: #FFDE59;
  color: #000000;
  border-color: #FFDE59;
}

.den-mobile-sub-toggle.is-open svg {
  transform: rotate(180deg);
}

/* Mobile Submenu Dropdown */
.den-mobile-panel-menu .sub-menu {
  display: none;
  background: #F8FAFC;
  border-radius: 8px;
  margin: 0.25rem 0 0.85rem 0;
  padding: 0.5rem 0.85rem;
  border-left: 3px solid #FFDE59;
}

.den-mobile-panel-menu .sub-menu li {
  border-bottom: 1px dashed #E2E8F0;
}

.den-mobile-panel-menu .sub-menu li:last-child {
  border-bottom: none;
}

.den-mobile-panel-menu .sub-menu li a {
  padding: 0.65rem 0.5rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: #475569;
  min-height: 40px;
}

.den-mobile-panel-menu .sub-menu li a:hover,
.den-mobile-panel-menu .sub-menu li.current-menu-item a {
  color: #B45309;
  padding-left: 0.75rem;
}

/* Mobile Drawer Footer */
.den-mobile-panel-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid #E2E8F0;
  background: #FFFFFF;
  flex-shrink: 0;
}

.den-mobile-panel-contact {
  margin-top: 0.85rem;
  font-size: 0.85rem;
  color: #64748B;
  display: flex;
  flex-direction: column;
  gap: 3px;
  line-height: 1.4;
}

.den-mobile-panel-contact a {
  font-weight: 700;
  color: #0F172A;
  font-size: 1.05rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.den-mobile-panel-contact a:hover {
  color: #B45309;
}

/* 5. Dropdown Mode (Slide Down under Header Bar) */
.den-widget-mobile-nav-panel.den-mobile-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  background: #FFFFFF;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.16);
  border-radius: 12px;
  border: 1px solid #E2E8F0;
  z-index: 99999;
  display: none;
  max-height: 75vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.den-widget-mobile-nav-panel.den-mobile-dropdown.is-open {
  display: block !important;
  animation: denNavDropdownSlide 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes denNavDropdownSlide {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   RESPONSIVE BREAKPOINT RULES
   ========================================================================== */

/* Breakpoint: Tablet (<= 1024px) - Default */
@media (max-width: 1024px) {
  .den-header-widget-nav-wrap[data-breakpoint="tablet"] .den-widget-nav-desktop,
  .den-header-widget-nav-wrap:not([data-breakpoint]) .den-widget-nav-desktop {
    display: none !important;
  }

  .den-header-widget-nav-wrap[data-breakpoint="tablet"] .den-widget-mobile-toggle-wrap,
  .den-header-widget-nav-wrap:not([data-breakpoint]) .den-widget-mobile-toggle-wrap {
    display: flex !important;
    width: auto !important;
    justify-content: flex-end !important;
  }

  .den-header-widget-nav-wrap {
    width: auto !important;
    max-width: 100% !important;
    flex: 0 0 auto !important;
    margin-left: auto !important;
  }

  .elementor-widget-den-header-nav {
    width: auto !important;
    flex: 0 0 auto !important;
    margin-left: auto !important;
  }

  .elementor-element-72fc81a {
    width: auto !important;
    flex: 0 0 auto !important;
    margin-left: auto !important;
  }

  .elementor-element-d4c0c81 {
    width: auto !important;
    flex: 0 0 auto !important;
  }

  /* Header row alignment across Elementor header templates */
  .elementor-156 .elementor-element.elementor-element-1172c38,
  .elementor-156 .elementor-element.elementor-element-1172c38 > .e-con-inner,
  header .e-con:has(.elementor-widget-den-header-nav),
  header .e-con > .e-con-inner:has(.elementor-widget-den-header-nav) {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .elementor-156 .elementor-element.elementor-element-d4c0c81,
  header .e-con:has(.elementor-widget-den-header-branding) {
    width: auto !important;
    max-width: 65% !important;
    flex: 0 0 auto !important;
  }

  .elementor-156 .elementor-element.elementor-element-72fc81a,
  header .e-con:has(.elementor-widget-den-header-nav) {
    width: auto !important;
    flex: 0 0 auto !important;
    margin-left: auto !important;
  }

  .elementor-element-9f146cd .den-header-widget-logo img {
    height: 42px !important;
    max-width: 180px !important;
    width: auto !important;
  }
}

/* Breakpoint: Mobile (<= 768px) */
@media (max-width: 768px) {
  .den-header-widget-nav-wrap[data-breakpoint="mobile"] .den-widget-nav-desktop {
    display: none !important;
  }

  .den-header-widget-nav-wrap[data-breakpoint="mobile"] .den-widget-mobile-toggle-wrap {
    display: flex !important;
    width: auto !important;
    justify-content: flex-end !important;
  }

  .den-header-widget-nav-wrap[data-breakpoint="mobile"] {
    width: auto !important;
    max-width: 100% !important;
    flex: 0 0 auto !important;
    margin-left: auto !important;
  }

  .elementor-element-9f146cd .den-header-widget-logo img {
    height: 38px !important;
    max-width: 170px !important;
    width: auto !important;
  }

  /* On mobile <= 768px, hide the duplicate desktop CTA button in header since it is in the mobile drawer */
  .elementor-156 .elementor-element.elementor-element-ab025cf {
    display: none !important;
  }

  /* Mobile-Responsive Hero Social Proof & Rating Badge */
  .den-hero-rating-proof {
    display: flex !important;
    align-items: center !important;
    gap: 0.85rem !important;
    width: 100% !important;
    max-width: 440px !important;
    border-radius: 14px !important;
    padding: 0.75rem 1rem !important;
    margin-bottom: 1.75rem !important;
    box-sizing: border-box !important;
  }

  .den-hero-rating-details {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    gap: 0.15rem !important;
  }

  .den-hero-rating-stars-row {
    flex-wrap: wrap !important;
    gap: 0.25rem 0.4rem !important;
  }

  .den-hero-rating-sep {
    display: none !important;
  }

  .den-hero-rating-text {
    width: 100% !important;
    font-size: 0.82rem !important;
    line-height: 1.3 !important;
    white-space: normal !important;
    margin-top: 0.1rem !important;
  }

  .den-hero-rating-subtext {
    font-size: 0.72rem !important;
    line-height: 1.3 !important;
    margin-top: 0.1rem !important;
    white-space: normal !important;
  }

  /* About Us Section Equal Height Mobile Adjustments */
  .den-about-grid {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }
  .den-about-image-wrapper {
    height: 380px !important;
    min-height: 340px !important;
    margin-bottom: 1.5rem !important;
  }
  .den-about-badge {
    bottom: -12px !important;
    right: 15px !important;
    padding: 1rem 1.4rem !important;
  }
}

/* Small Screens (<= 480px) */
@media (max-width: 480px) {
  /* Extra Small Screens (<= 480px down to 320px) */
  .den-about-image-wrapper {
    height: 300px !important;
    min-height: 260px !important;
  }
  .den-about-badge {
    padding: 0.75rem 1.15rem !important;
  }
  .den-about-badge strong {
    font-size: 1.5rem !important;
  }
  .den-about-badge span {
    font-size: 0.75rem !important;
  }
  .den-hero-rating-proof {
    padding: 0.7rem 0.85rem !important;
    gap: 0.75rem !important;
    border-radius: 12px !important;
    margin-bottom: 1.5rem !important;
  }

  .den-hero-avatar {
    width: 28px !important;
    height: 28px !important;
    font-size: 0.7rem !important;
    margin-left: -7px !important;
  }

  .den-hero-avatar:first-child,
  .den-hero-avatar.den-avatar-jd {
    margin-left: 0 !important;
  }

  .den-hero-rating-score {
    font-size: 0.85rem !important;
  }

  .den-stars-gold svg {
    width: 12px !important;
    height: 12px !important;
  }

  .den-hero-rating-text {
    font-size: 0.78rem !important;
  }

  .den-hero-rating-subtext {
    font-size: 0.7rem !important;
  }

  .den-widget-mobile-nav-panel.den-mobile-drawer .den-mobile-panel-inner {
    width: 90%;
    max-width: 330px;
  }
  .den-mobile-panel-header {
    padding: 1rem 1.25rem;
  }
  .den-mobile-panel-menu {
    padding: 0.75rem 1.25rem;
  }
  .den-mobile-panel-footer {
    padding: 1rem 1.25rem;
  }
}

/* ==========================================================================
   CTA Box Overlay & Content Stacking
   ========================================================================== */
.den-cta-box {
  position: relative !important;
  overflow: hidden !important;
}

.den-cta-box-overlay {
  position: absolute !important;
  inset: 0 !important;
  pointer-events: none !important;
  z-index: 1 !important;
}

.den-cta-box-inner,
.den-cta-box > *:not(.den-cta-box-overlay) {
  position: relative !important;
  z-index: 2 !important;
}

