#dt-home-hero {
  --ink: #202e43;
  --muted: #566174;
  --gold: #147b80;
  --line: #d5e5e2;
  box-sizing: border-box;
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  isolation: isolate;
  background: #f3f8f7;
  color: var(--ink);
  font: 400 16px/1.65 'Inter', Arial, sans-serif;
  text-align: left;
}

#dt-home-hero *,
#dt-home-hero *::before,
#dt-home-hero *::after {
  box-sizing: border-box;
}

#dt-home-hero {
  max-width: 100%;
  min-width: 0;
  container-type: inline-size;
  container-name: dthero;
}

#dt-home-hero .dth-inner {
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 64px 40px 0;
}

#dt-home-hero .dth-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
  padding-bottom: 48px;
}

#dt-home-hero .dth-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: #59634f;
  font: 800 11px/1.5 'Inter', Arial, sans-serif;
  letter-spacing: 2px;
  text-transform: uppercase;
}

#dt-home-hero .dth-eyebrow::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--gold);
  flex: none;
}

#dt-home-hero h1 {
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--ink);
  font: 800 clamp(38px, 4.3vw, 60px)/1.08 'Inter', Arial, sans-serif;
  letter-spacing: -2.5px;
  text-transform: none;
}

#dt-home-hero h1 span {
  color: #147b80;
}

#dt-home-hero .dth-intro {
  max-width: 480px;
  margin: 22px 0 0;
  padding: 0;
  color: var(--muted);
  font: 400 16px/1.8 'Inter', Arial, sans-serif;
}

#dt-home-hero .dth-rates {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 28px 0 0;
  min-height: 84px;
}

#dt-home-hero .dth-rate {
  display: flex;
  flex-direction: column;
}

#dt-home-hero .dth-from {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

#dt-home-hero .dth-price {
  color: var(--ink);
  font: 800 35px/1.4 'Inter', Arial, sans-serif;
  letter-spacing: -1.5px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

#dt-home-hero .dth-unit {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
}

#dt-home-hero .dth-or {
  padding: 9px 0;
  color: #69717b;
  font-size: 12px;
}

#dt-home-hero .dth-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 24px;
}

#dt-home-hero a.dth-primary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  min-height: 54px;
  padding: 15px 23px;
  border: 1px solid var(--ink);
  border-radius: 7px;
  background: var(--ink);
  color: #fff;
  font: 700 14px/1.5 'Inter', Arial, sans-serif;
  text-decoration: none;
  box-shadow: 0 6px 15px #202e4314;
  transition: background .18s, transform .18s;
}

#dt-home-hero a.dth-primary:hover {
  background: #344763;
  transform: translateY(-2px);
}

#dt-home-hero a.dth-secondary {
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: #b5b9b6;
  text-underline-offset: 5px;
}

#dt-home-hero a:focus-visible {
  outline: 3px solid #947018;
  outline-offset: 5px;
}

#dt-home-hero .dth-note {
  margin: 14px 0 0;
  padding: 0;
  max-width: 475px;
  font: 400 11px/1.7 'Inter', Arial, sans-serif;
  color: #626b76;
}

#dt-home-hero .dth-visual {
  min-width: 0;
  position: relative;
  padding: 18px 0 0 18px;
}

#dt-home-hero .dth-visual::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0 28px 54px 0;
  border: 1px solid #a4d1cd;
  border-radius: 120px 12px 12px 12px;
}

#dt-home-hero .dth-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.5;
  object-fit: contain;
  object-position: center;
  border-radius: 104px 12px 12px 12px;
  background: #1e9fab;
}

#dt-home-hero .dth-caption {
  position: relative;
  margin: -28px 20px 0;
  padding: 20px 23px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid #e8e8df;
  border-radius: 8px;
  box-shadow: 0 12px 28px #202e430a;
}

#dt-home-hero .dth-seal {
  display: grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #e1f1ef;
  color: #147b80;
}

#dt-home-hero .dth-caption strong {
  display: block;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

#dt-home-hero .dth-caption p {
  padding: 0;
  margin: 3px 0 0;
  color: var(--muted);
  font: 400 11px/1.6 'Inter', Arial, sans-serif;
}

#dt-home-hero .dth-offer-promo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px 28px;
  margin: 0 0 28px;
  padding: 13px 18px 11px;
  border: 1px solid #a4d1cd;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 8px 20px #202e4312;
  color: var(--ink);
}

#dt-home-hero .dth-grid {
  padding-bottom: 8px;
}

#dt-home-hero .dth-offer-heading {
  display: inline-block;
  margin: 0 9px 0 0;
  padding: 4px 6px;
  border-radius: 3px;
  background: linear-gradient(105deg, #e1f1ef 0%, #e1f1ef 42%, #f2fffd 50%, #e1f1ef 58%, #e1f1ef 100%);
  background-size: 220% 100%;
  color: #17696d;
  font: 700 10px/1 'Inter', Arial, sans-serif;
  letter-spacing: .1em;
  text-transform: uppercase;
  animation: dth-offer-badge-glint 4.8s ease-in-out infinite;
}

#dt-home-hero .dth-offer-copy {
  color: var(--muted);
  font: 400 12px/1.45 'Inter', Arial, sans-serif;
}

#dt-home-hero .dth-offer-copy>span:last-child {
  display: inline;
}

#dt-home-hero .dth-promo-timer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 10px;
  white-space: nowrap;
}

#dt-home-hero .dth-timer-label {
  color: #17696d;
  font: 600 10px/1.4 'Inter', Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: .07em;
}

#dt-home-hero .dth-promo-countdown {
  display: flex;
  gap: 6px;
}

#dt-home-hero .dth-promo-countdown span {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  padding: 2px 4px;
  border-radius: 3px;
  background: #e1f1ef;
  color: var(--muted);
  font-size: 10px;
  white-space: nowrap;
}

#dt-home-hero .dth-promo-countdown strong {
  color: var(--ink);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

#dt-home-hero .dth-offer-terms {
  grid-column: 1 / -1;
  margin: -2px 0 0;
  color: #667083;
  font: 400 10px/1.45 'Inter', Arial, sans-serif;
}

@keyframes dth-offer-badge-glint {

  0%,
  58%,
  100% {
    background-position: 100% 50%;
  }

  76% {
    background-position: 0% 50%;
  }
}

#dt-home-hero .dth-footer {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 28px;
  padding: 25px 0 28px;
  border-top: 1px solid var(--line);
}

#dt-home-hero .dth-benefit {
  display: flex;
  align-items: center;
  gap: 12px;
}

#dt-home-hero .dth-benefit svg {
  color: #147b80;
  flex: none;
  width: 21px;
  height: 21px;
}

#dt-home-hero .dth-benefit strong {
  display: block;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

#dt-home-hero .dth-benefit small {
  display: block;
  color: var(--muted);
  font-size: 11px;
}

@container dthero (max-width:1000px) {
  #dt-home-hero .dth-inner {
    padding: 44px 28px 0;
  }

  #dt-home-hero .dth-grid {
    gap: 32px;
  }

  #dt-home-hero h1 {
    font-size: 44px;
    letter-spacing: -1.8px;
  }

  #dt-home-hero .dth-price {
    font-size: 30px;
  }

  #dt-home-hero .dth-rates {
    gap: 18px;
  }
}

@container dthero (max-width:720px) {
  #dt-home-hero .dth-inner {
    padding: 36px 22px 0;
  }

  #dt-home-hero .dth-grid {
    grid-template-columns: 1fr;
    gap: 0;
    padding-bottom: 20px;
  }

  #dt-home-hero .dth-copy {
    display: contents;
  }

  #dt-home-hero .dth-eyebrow,
  #dt-home-hero h1,
  #dt-home-hero .dth-intro {
    order: 1;
  }

  #dt-home-hero .dth-visual {
    order: 2;
  }

  #dt-home-hero .dth-rates,
  #dt-home-hero .dth-note,
  #dt-home-hero .dth-actions {
    order: 3;
  }

  #dt-home-hero h1 {
    font-size: clamp(26px, 9cqi, 52px);
    letter-spacing: -1.6px;
  }

  #dt-home-hero .dth-intro {
    font-size: 14px;
    margin-top: 14px;
  }

  #dt-home-hero .dth-eyebrow {
    font-size: 10px;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
  }

  #dt-home-hero .dth-rates {
    min-height: 64px;
    margin-top: 14px;
    gap: 12px;
  }

  #dt-home-hero .dth-actions {
    margin-top: 16px;
    gap: 12px;
  }

  #dt-home-hero .dth-visual {
    width: 100%;
    max-width: 480px;
    margin: 18px auto;
  }

  #dt-home-hero .dth-photo {
    aspect-ratio: 1.5;
  }

  #dt-home-hero .dth-caption {
    margin: -22px 12px 0;
    padding: 16px;
  }

  #dt-home-hero .dth-offer-promo {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 20px;
    padding: 12px 14px 11px;
  }

  #dt-home-hero .dth-promo-timer-row {
    white-space: normal;
  }

  #dt-home-hero .dth-footer {
    grid-template-columns: 1fr;
    gap: 17px;
    padding: 23px 0;
  }
}

@media(prefers-reduced-motion:reduce) {
  #dt-home-hero a.dth-primary {
    transition: none;
    transform: none;
  }

  #dt-home-hero .dth-offer-heading {
    animation: none;
  }
}

@container dthero (max-width:380px) {
  #dt-home-hero .dth-rates {
    gap: 12px;
  }

  #dt-home-hero .dth-price {
    font-size: 26px;
  }

  #dt-home-hero .dth-unit {
    display: block;
    font-size: 11px;
  }

  #dt-home-hero .dth-eyebrow {
    letter-spacing: 1px;
    font-size: 9px;
  }

  #dt-home-hero .dth-actions {
    gap: 16px;
  }
}

/* Keep the existing estimator and its result/reset flow below the new hero. */
#home-estimator.hero-section {
  display: block;
  min-height: 0;
  padding: 48px 0;
  background: #eef5fa;
  scroll-margin-top: 100px;
}

#home-estimator .hero-container {
  display: block;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: left;
}

#home-estimator .hero-estimator-container {
  width: 100%;
  max-width: none;
  margin: 0;
  animation: none;
}

#home-estimator #approximator-container {
  max-width: 700px !important;
  margin: 0 auto;
}

#home-estimator .credibility-features-hero {
  width: 100%;
  max-width: 760px;
}

@media(max-width:480px) {
  #home-estimator.hero-section {
    padding: 30px 0;
  }
}