/* ============================================================
   HOMEBETTERGUIDE — Home Warranty Page Styles (warranty.css)
   Inherits base variables from styles.css
   Max content width: 1240px
   ============================================================ */

/* ── Warranty-specific overrides ── */
:root {
  --hw-max:        1240px;
  --hw-blue:       #1a73e8;
  --hw-blue-dark:  #1558b0;
  --hw-green:      #22c55e;
  --hw-dark-bg:    #1e2535;
  --hw-dark-card:  #252d40;
  --hw-text:       #1a1a1a;
  --hw-text-light: #555;
  --hw-border:     #dde2ec;
  --hw-radius:     14px;
  --hw-shadow:     0 4px 24px rgba(0,0,0,0.08);
}

/* ── Shared container ── */
.hw-container {
  max-width: var(--hw-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Buttons ── */
.hw-btn {
  display: inline-block;
  font-family: var(--font);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.5px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  padding: 14px 32px;
  transition: background 0.18s ease, transform 0.15s ease;
  text-align: center;
}

.hw-btn--primary {
  background: var(--hw-blue);
  color: #fff;
}

.hw-btn--primary:hover {
  background: var(--hw-blue-dark);
  transform: translateY(-2px);
  color: #fff;
  opacity: 1;
}

/* ── Highlight text ── */
.hw-highlight {
  color: var(--hw-blue);
}

/* ══════════════════════════════════════
   HERO — centered title / full-width image / benefits bar
══════════════════════════════════════ */
.hw-hero {
  background: #fff;
  padding: 48px 0 0;
  border-bottom: 1px solid var(--hw-border);
}

/* Centered heading block */
.hw-hero__head {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 28px;
}

.hw-hero__title {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--hw-text);
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.hw-hero__sub {
  display: inline-block;
  font-size: 16px;
  color: var(--hw-text-light);
  line-height: 1.55;
  border: 1px solid var(--hw-border);
  border-radius: 40px;
  padding: 7px 20px;
  background: #f8faff;
}

/* Full-width image */
.hw-hero__image {
  margin: 0;
  border-radius: var(--hw-radius) var(--hw-radius) 0 0;
  overflow: hidden;
}

.hw-hero__image img,
.hw-hero__image picture img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: unset;
}

/* Bottom bar: badges + bullets */
.hw-hero__bottom {
  display: flex;
  align-items: center;
  gap: 32px;
  background: #f8faff;
  border: 1px solid var(--hw-border);
  border-top: none;
  border-radius: 0 0 var(--hw-radius) var(--hw-radius);
  padding: 24px 32px;
  margin-bottom: 40px;
}

.hw-hero__badges {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.hw-hero__badge-img {
  width: auto;
  height: 80px;
  max-width: 160px;
  object-fit: contain;
}

/* Divider between badges and bullets */
.hw-hero__badges::after {
  content: '';
  display: block;
  width: 1px;
  height: 60px;
  background: var(--hw-border);
  margin-left: 12px;
}

/* 6 benefits in 2 columns */
.hw-hero__bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 48px;
  flex: 1;
}

.hw-hero__bullets li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--hw-text);
}

.hw-hero__bullets li svg {
  width: 16px;
  height: 16px;
  color: var(--hw-green);
  flex-shrink: 0;
}

/* ── Mobile hero ── */
@media (max-width: 640px) {
  .hw-hero__bottom {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    gap: 20px;
  }

  .hw-hero__badges::after {
    display: none;
  }

  .hw-hero__bullets {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* ══════════════════════════════════════
   GENERIC SECTIONS
══════════════════════════════════════ */
.hw-section {
  padding: 64px 0;
}

.hw-section__title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  text-align: center;
  margin-bottom: 16px;
  color: var(--hw-text);
}

.hw-section__lead {
  max-width: 760px;
  margin: 0 auto 32px;
  text-align: center;
  font-size: 16px;
  line-height: 1.7;
  color: var(--hw-text-light);
}

/* ── Stats ── */
.hw-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.hw-stats__item {
  text-align: center;
}

.hw-stats__number {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--hw-blue);
}

.hw-stats__label {
  font-size: 13px;
  color: var(--hw-text-light);
}

.hw-contractors {
  text-align: center;
}

/* ══════════════════════════════════════
   CTA SECTION WRAPPER
══════════════════════════════════════ */
.hw-cta-section {
  padding: 40px 0;
}

.hw-cta-section--dark {
  background: var(--hw-dark-bg);
}

.hw-cta-section__label {
  text-align: center;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
  line-height: 1.25;
}

.hw-cta-section__label strong {
  color: #60a5fa;
}

/* ══════════════════════════════════════
   CTA WIDGET (two-column card)
══════════════════════════════════════ */
.hw-cta-widget {
  position: relative;          /* needed for overlay */
  display: flex;
  align-items: stretch;
  background: #fff;
  border-radius: var(--hw-radius);
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.18);
  max-width: 780px;
  margin: 0 auto;
}

/* Left column */
.hw-cta-widget__left {
  flex: 0 0 240px;
  background: #f0f4ff;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  border-right: 1px solid var(--hw-border);
}

.hw-cta-widget__badge {
  background: var(--hw-blue);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.4px;
  padding: 5px 14px;
  border-radius: 20px;
}

.hw-cta-widget__icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid #c5d5f5;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hw-blue);
}

.hw-cta-widget__icon svg {
  width: 36px;
  height: 36px;
}

.hw-cta-widget__desc {
  font-size: 13px;
  color: var(--hw-text-light);
  line-height: 1.6;
}

/* Right column */
.hw-cta-widget__right {
  flex: 1;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

.hw-cta-widget__question {
  font-size: 20px;
  font-weight: 800;
  color: var(--hw-text);
  margin: 0;
}

.hw-cta-widget__buttons {
  display: flex;
  gap: 12px;
}

/* Age selection buttons — must look clearly clickable */
.hw-age-btn {
  flex: 1;
  padding: 15px 12px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  color: var(--hw-text);
  background: #f5f7fa;
  border: 2px solid #d0d7de;
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.hw-age-btn:hover {
  border-color: var(--hw-blue);
  background: #eef4ff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(26,115,232,0.15);
  color: var(--hw-blue);
}

.hw-cta-widget__secure {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: #999;
  margin: 0;
}

.hw-cta-widget__secure svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* ══════════════════════════════════════
   OVERLAY + MODAL (JS-toggled)
══════════════════════════════════════ */
.hw-cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--hw-radius);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 10;
}

.hw-cta-overlay.is-active {
  opacity: 1;
  pointer-events: all;
}

.hw-cta-modal {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 12px 48px rgba(0,0,0,0.16);
  padding: 36px 40px;
  min-width: 320px;
  max-width: 400px;
  text-align: center;
}

.hw-cta-modal__text {
  font-size: 16px;
  font-weight: 600;
  color: var(--hw-text);
  margin: 0 0 20px;
}

/* Progress bar */
.hw-cta-modal__bar-wrap {
  width: 100%;
  height: 8px;
  background: #e8eaed;
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 20px;
}

.hw-cta-modal__bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--hw-blue), #5b9eff);
  border-radius: 99px;
  transition: width 2s linear;
}

/* Success state */
.hw-cta-modal__success {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.hw-cta-modal__success svg {
  width: 52px;
  height: 52px;
}

.hw-cta-modal__success p:not(.hw-cta-modal__reassurance) {
  font-size: 18px;
  font-weight: 800;
  color: var(--hw-green);
  margin: 0;
}

/* ══════════════════════════════════════
   PLANS — two column with image
══════════════════════════════════════ */
.hw-plans__inner {
  display: flex;
  align-items: center;
  gap: 56px;
}

.hw-plans__image {
  flex: 0 0 460px;
  width: 460px;
  border-radius: var(--hw-radius);
  overflow: hidden;
  box-shadow: var(--hw-shadow);
}

.hw-plans__image img {
  width: 460px;
  height: 308px;
  object-fit: cover;
  object-position: center;
  display: block;
  flex-shrink: 0;
}

.hw-plans__text {
  flex: 1;
}

.hw-plans__text h2 {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 800;
  margin: 14px 0 16px;
  line-height: 1.3;
}

.hw-plans__text p {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--hw-text-light);
}

.hw-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #e8f5e9;
  color: #2e7d32;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 4px;
}

.hw-trust-badge svg {
  width: 14px;
  height: 14px;
}

/* ── Buyers section ── */
.hw-buyers__inner {
  max-width: 860px;
  margin: 0 auto;
}

.hw-buyers__text {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  background: #f8faff;
  border: 1px solid var(--hw-border);
  border-radius: var(--hw-radius);
  padding: 28px 32px;
}

.hw-buyers__avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #e8f2ff;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hw-blue);
}

.hw-buyers__avatar svg {
  width: 28px;
  height: 28px;
}

.hw-buyers__text h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 10px;
}

.hw-buyers__text p {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--hw-text-light);
  margin: 0;
}

/* ── Commitment ── */
.hw-commitment {
  background: #f0f4ff;
  text-align: center;
  padding: 56px 0;
}

.hw-commitment__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--hw-shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--hw-blue);
}

.hw-commitment__icon svg {
  width: 32px;
  height: 32px;
}

.hw-commitment h2 {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  margin-bottom: 16px;
}

.hw-commitment p {
  max-width: 640px;
  margin: 0 auto;
  font-size: 15.5px;
  color: var(--hw-text-light);
  line-height: 1.7;
}

/* ── Safeguard ── */
.hw-safeguard {
  text-align: center;
  padding-bottom: 32px;
}

.hw-safeguard h2 {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.25;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.hw-safeguard p {
  max-width: 820px;
  margin: 0 auto;
  font-size: 15.5px;
  color: var(--hw-text-light);
  line-height: 1.75;
}

/* Image grid */
.hw-safeguard-images {
  padding-top: 0;
}

.hw-img-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  border-radius: var(--hw-radius);
  overflow: hidden;
}

.hw-img-grid__item {
  margin: 0;
  overflow: hidden;
  border-radius: var(--hw-radius);
}

.hw-img-grid__item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.hw-img-grid__item:hover img {
  transform: scale(1.03);
}

/* ── 3 Steps ── */
.hw-steps {
  background: #f8faff;
}

.hw-steps h2 {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  text-align: center;
  margin-bottom: 40px;
}

.hw-steps__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.hw-steps__item {
  background: #fff;
  border: 1px solid var(--hw-border);
  border-radius: var(--hw-radius);
  padding: 28px 24px;
  box-shadow: var(--hw-shadow);
}

.hw-steps__num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--hw-blue);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.hw-steps__item h3 {
  font-size: 15.5px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.35;
}

.hw-steps__item p {
  font-size: 14px;
  color: var(--hw-text-light);
  line-height: 1.7;
  margin: 0;
}

/* ── Skip the Stress ── */
.hw-stress {
  text-align: center;
}

.hw-stress h2 {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.25;
}

.hw-stress p {
  max-width: 820px;
  margin: 0 auto 32px;
  font-size: 15.5px;
  color: var(--hw-text-light);
  line-height: 1.75;
}

.hw-stress__image {
  margin: 0 auto;
  border-radius: var(--hw-radius);
  overflow: hidden;
  max-width: 900px;
  box-shadow: var(--hw-shadow);
}

.hw-stress__image img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ══════════════════════════════════════
   MOBILE STICKY BAR
══════════════════════════════════════ */
.hw-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--hw-dark-bg);
  padding: 10px 16px;
  z-index: 1000;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
}

.hw-sticky-bar__btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 14px;
  font-size: 15px;
  border-radius: 8px;
}

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 900px) {
  .hw-plans__inner {
    flex-direction: column;
  }

  /* Fixed width image becomes full-width but keeps consistent height */
  .hw-plans__image {
    flex: none;
    width: 100%;
  }

  .hw-plans__image img {
    width: 100%;
    height: 260px;
  }

  /* Buyers section: image was second in DOM (right column) — on mobile push it to top */
  .hw-buyers .hw-plans__image {
    order: -1;
  }

  .hw-steps__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hw-hero__bullets {
    grid-template-columns: 1fr;
  }

  .hw-cta-widget {
    flex-direction: column;
  }

  .hw-cta-widget__left {
    flex: none;
    border-right: none;
    border-bottom: 1px solid var(--hw-border);
  }

  .hw-cta-widget__buttons {
    flex-direction: column;
  }

  .hw-img-grid {
    grid-template-columns: 1fr;
  }

  /* Show sticky bar on mobile */
  .hw-sticky-bar {
    display: block;
  }

  /* Add padding so content isn't hidden behind sticky bar */
  body {
    padding-bottom: 64px;
  }

  /* ── Mobile spacing fixes ── */

  /* 1) Remove whitespace below REQUEST QUOTE button in contractors section */
  .hw-contractors {
    padding-bottom: 24px;
  }

  /* 2) Remove whitespace after "costs each year." — reduce section bottom padding */
  .hw-plans {
    padding-bottom: 24px;
  }

  /* 3) Remove whitespace between image and text in plans/buyers sections */
  .hw-plans__inner {
    gap: 8px;
  }

  .hw-buyers .hw-plans__inner {
    gap: 8px;
  }

  /* 4) Stress frame: smaller font, tighter line-height, less padding */
  .hw-stress__frame {
    padding: 18px 18px;
  }

  .hw-stress__frame p {
    font-size: 13.5px;
    line-height: 1.55;
  }
}

/* ══════════════════════════════════════
   CHANGES: 9-point update
══════════════════════════════════════ */

/* ── 1) CTA right column: center everything ── */
.hw-cta-widget__right {
  text-align: center;
  align-items: center;
}

.hw-cta-widget__secure {
  justify-content: center;
}

/* ── 2) Commitment: bluish background + badge image ── */
.hw-commitment--blue {
  background: #eef4ff;
}

.hw-commitment__badge {
  width: 96px;
  height: 96px;
  object-fit: contain;
}

/* Remove old circular icon box when using image */
.hw-commitment--blue .hw-commitment__icon {
  width: auto;
  height: auto;
  background: none;
  box-shadow: none;
  border-radius: 0;
}

/* ── 4) Safeguard single image ── */
.hw-safeguard-single {
  margin: 0;
  border-radius: var(--hw-radius);
  overflow: hidden;
  box-shadow: var(--hw-shadow);
}

.hw-safeguard-single img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ── 5) Steps: image above each card ── */
.hw-steps__image {
  margin: 0 0 16px;
  border-radius: 10px;
  overflow: hidden;
}

/* Show full image — no cropping */
.hw-steps__image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: unset;
}

/* ── 6) Stress frame: bluish box ── */
.hw-stress__frame {
  background: #eef4ff;
  border: 1px solid #c5d9f5;
  border-radius: 14px;
  padding: 28px 32px;
  margin: 0 auto 32px;
  max-width: 820px;
}

.hw-stress__frame p {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--hw-text-light);
  margin: 0;
}

/* ── 8) Animated arrows ── */
.hw-cta-arrows {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin: 6px 0 16px;
}

.hw-cta-arrow {
  width: 28px;
  height: 28px;
  color: #4ade80;
  animation: hw-arrow-pulse 1.4s ease-in-out infinite;
}

.hw-cta-arrow--2 {
  animation-delay: 0.2s;
}

.hw-cta-arrow--3 {
  animation-delay: 0.4s;
}

@keyframes hw-arrow-pulse {
  0%, 100% { opacity: 0.25; transform: translateY(0); }
  50%       { opacity: 1;    transform: translateY(4px); }
}

/* ── Buyers section: now uses hw-plans__inner layout ── */
.hw-buyers .hw-plans__image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

.hw-buyers .hw-plans__text h2 {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 800;
  margin: 0 0 16px;
  line-height: 1.3;
}

.hw-buyers .hw-plans__text p {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--hw-text-light);
}

/* ── 3) Prevent age buttons from wrapping to two lines ── */
.hw-age-btn {
  white-space: nowrap;
}

/* ── 4) Remove black background from PNG images (keep transparent) ── */
.hw-commitment__badge,
.hw-hero__badge-img {
  background: transparent;
  mix-blend-mode: normal;
}

/* Override any inherited background on img wrappers containing PNGs */
.hw-commitment__icon {
  background: transparent !important;
  box-shadow: none;
}

/* Hero bottom bar: badge images should sit on the #f8faff background */
.hw-hero__badges img {
  background: transparent;
}

/* ── 5) Title: allow natural wrap, no forced breaks beyond the one we set ── */
.hw-hero__title {
  word-break: normal;
  overflow-wrap: normal;
}

/* ══════════════════════════════════════
   CHECK MY SAVINGS button (modal success state)
══════════════════════════════════════ */
.hw-cta-modal__claim-btn {
  display: none; /* shown by JS after delay */
  margin-top: 20px;
  padding: 16px 32px;
  background: var(--hw-blue);
  color: #fff;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.3px;
  text-decoration: none;
  border-radius: 10px;
  box-shadow: 0 6px 24px rgba(26, 115, 232, 0.38);
  text-align: center;
  width: 100%;
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
  opacity: 0;
  transform: translateY(8px);
}

.hw-cta-modal__claim-btn--visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.3s ease, transform 0.3s ease,
              background 0.18s ease, box-shadow 0.18s ease;
}

.hw-cta-modal__claim-btn:hover {
  background: var(--hw-blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(26, 115, 232, 0.45);
  color: #fff;
  opacity: 1;
}

/* Pulse animation — subtle scale + glow rhythm to attract clicks */
@keyframes hw-btn-pulse {
  0%   { box-shadow: 0 6px 20px rgba(26, 115, 232, 0.35); transform: translateY(0) scale(1); }
  40%  { box-shadow: 0 10px 36px rgba(26, 115, 232, 0.60); transform: translateY(-2px) scale(1.015); }
  100% { box-shadow: 0 6px 20px rgba(26, 115, 232, 0.35); transform: translateY(0) scale(1); }
}

.hw-cta-modal__claim-btn--visible {
  animation: hw-btn-pulse 2.4s ease-in-out infinite;
}

.hw-cta-modal__claim-btn--visible:hover {
  animation: none;
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(26, 115, 232, 0.55);
}

/* ── Sticky bar: smooth hide/show transition ── */
.hw-sticky-bar {
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ── Responsive hero: show mobile image on small screens ── */
.hw-hero__image picture {
  display: block;
  width: 100%;
}

/* Full image always shown — no cropping on any screen size */
.hw-hero__image picture img {
  width: 100%;
  height: auto;
  display: block;
}

/* ── Arrow inside CHECK MY SAVINGS button ── */
.hw-cta-modal__claim-btn {
  display: none;
  position: relative;
  align-items: center;
  justify-content: center;
  gap: 10px;
  white-space: nowrap; /* keep text + arrow on one line */
}

/* Override display:none to flex when visible */
.hw-cta-modal__claim-btn--visible {
  display: flex !important;
}

.hw-cta-modal__claim-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  vertical-align: middle;
}

.hw-cta-modal__claim-arrow svg {
  width: 24px;
  height: 24px;
}

/* ── 1) "No obligations" reassurance: small, light, not bold ── */
.hw-cta-modal__reassurance {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 11px !important;
  font-weight: 400 !important;
  color: #9ca3af !important;
  margin: 6px 0 0;
  letter-spacing: 0.1px;
}

.hw-cta-modal__reassurance svg {
  width: 12px;
  height: 12px;
  color: #22c55e;
  flex-shrink: 0;
}

/* ── 1) Contractors section: light blue background ── */
.hw-contractors--blue {
  background: #eef4ff;
}

/* ── 3) Our Services icon in CTA left column ── */
.hw-cta-widget__icon-img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  background: transparent;
}

/* Override the circular border on the icon wrapper when using image */
.hw-cta-widget__icon:has(.hw-cta-widget__icon-img) {
  border: none;
  background: transparent;
  box-shadow: none;
  width: auto;
  height: auto;
}

/* ── 4) CTA badge → plain blue title, all caps, larger font ── */
.hw-cta-widget__title {
  font-family: var(--font);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--hw-blue);
  text-transform: uppercase;
  text-align: center;
  margin: 0;
  padding: 0;
  line-height: 1.2;
}

/* ── Header: align to warranty page max-width (1240px) ── */
.site-header__inner {
  max-width: var(--hw-max);
}
