/* ========================================================================
   INTERNETTVDEAL — FINAL PRODUCTION ALIGNMENT LAYER
   Preserves the original purple template DNA while correcting spacing,
   header/logo scale, hero balance, card readability and mobile behavior.
   ======================================================================== */

:root {
  --final-container: 1180px;
  --final-hero-container: 1080px;
  --final-section-space: 80px;
  --final-section-space-mobile: 58px;
}

html {
  scroll-padding-top: 118px;
}

body {
  overflow-x: hidden;
}

.container,
.container-fluid {
  width: min(calc(100% - 40px), var(--final-container)) !important;
  max-width: var(--final-container) !important;
  margin-inline: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* HEADER AND SUPPLIED LOGO */
.site-header {
  min-height: 74px;
  background: rgba(255, 255, 255, 0.98) !important;
}

.header-inner {
  min-height: 74px !important;
  gap: 24px !important;
}

.brand {
  flex: 0 0 190px !important;
  min-width: 190px !important;
  max-width: 190px !important;
  overflow: visible !important;
}

.brand img {
  width: 178px !important;
  height: auto !important;
  max-height: 46px !important;
  object-fit: contain !important;
  object-position: left center !important;
}

.primary-nav {
  gap: 22px !important;
}

.primary-nav a {
  white-space: nowrap;
}

.header-call {
  flex: 0 0 auto;
  white-space: nowrap;
}

/* BALANCED HOME HERO */
.hero {
  min-height: 0 !important;
  padding: 72px 0 !important;
}

.hero .container.hero-grid {
  width: min(calc(100% - 48px), var(--final-hero-container)) !important;
  max-width: var(--final-hero-container) !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 380px) !important;
  align-items: center !important;
  gap: 62px !important;
  padding: 0 !important;
}

.hero h1 {
  max-width: 650px !important;
  margin-top: 18px !important;
  font-size: clamp(46px, 5vw, 64px) !important;
  line-height: 1.06 !important;
  letter-spacing: -0.045em !important;
}

.hero-lead {
  max-width: 650px !important;
  margin-top: 22px !important;
  font-size: 17px !important;
  line-height: 1.68 !important;
}

.hero-actions {
  margin-top: 28px !important;
}

/* INNER HERO: MATCHES THE HOME HERO'S VISUAL RHYTHM */
.inner-hero {
  min-height: 0 !important;
  padding: 70px 0 !important;
}

.inner-hero .container {
  width: min(calc(100% - 48px), var(--final-hero-container)) !important;
  max-width: var(--final-hero-container) !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 380px) !important;
  grid-template-rows: auto auto auto auto !important;
  column-gap: 62px !important;
  row-gap: 13px !important;
  align-items: center !important;
  padding: 0 !important;
}

.inner-hero .container > .eyebrow-pill,
.inner-hero .container > h1,
.inner-hero .container > p,
.inner-hero .container > .hero-actions {
  grid-column: 1 !important;
  width: auto !important;
}

.inner-hero .container > .eyebrow-pill {
  grid-row: 1 !important;
  justify-self: start !important;
  margin: 0 !important;
}

.inner-hero .container > h1 {
  grid-row: 2 !important;
  max-width: 650px !important;
  margin: 5px 0 0 !important;
  font-size: clamp(45px, 4.8vw, 62px) !important;
  line-height: 1.06 !important;
  letter-spacing: -0.045em !important;
}

.inner-hero .container > p {
  grid-row: 3 !important;
  max-width: 650px !important;
  margin: 6px 0 0 !important;
  font-size: 16.5px !important;
  line-height: 1.65 !important;
}

.inner-hero .container > .hero-actions {
  grid-row: 4 !important;
  margin: 11px 0 0 !important;
}

.inner-hero .container > .hero-lead-form,
.inner-hero .container > .exact-availability-form {
  grid-column: 2 !important;
  grid-row: 1 / 5 !important;
  align-self: center !important;
  justify-self: end !important;
}

/* HERO REVIEW CARDS */
.hero-card,
.hero-lead-form,
.exact-availability-form {
  width: 100% !important;
  max-width: 380px !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 28px !important;
  border-radius: 24px !important;
  background: #fff !important;
  color: #0b1e38 !important;
  box-shadow: 0 18px 46px rgba(8, 2, 12, 0.22) !important;
}

.hero-card h2,
.hero-lead-form h2,
.exact-availability-form h2 {
  margin: 6px 0 0 !important;
  color: #0b1e38 !important;
  font-size: 27px !important;
  line-height: 1.12 !important;
  letter-spacing: -0.035em !important;
}

.check-list,
.availability-points {
  margin: 18px 0 !important;
  gap: 11px !important;
}

.check-list li,
.availability-points li {
  color: #58687d !important;
  font-size: 13px !important;
  line-height: 1.48 !important;
}

.form-support {
  display: block !important;
  margin-top: 12px !important;
  padding: 12px 13px !important;
  border: 1px solid #eadcf0 !important;
  border-radius: 12px !important;
  background: #fbf8fc !important;
}

.form-support strong,
.form-support span {
  display: block !important;
}

.form-support strong {
  margin: 0 0 5px !important;
  color: #2b1238 !important;
  font-size: 12px !important;
  line-height: 1.3 !important;
}

.form-support span {
  color: #627086 !important;
  font-size: 11px !important;
  line-height: 1.5 !important;
}

.form-trust-row {
  margin-top: 10px !important;
}

.form-note,
.fine-print,
.zip-help {
  display: block !important;
  margin: 10px 0 0 !important;
  color: #667286 !important;
  font-size: 11px !important;
  line-height: 1.5 !important;
}

/* CONSISTENT SECTION SPACING */
.section {
  padding: var(--final-section-space) 0 !important;
}

.section-heading {
  width: min(100%, 820px) !important;
  margin: 0 auto 42px !important;
  text-align: center !important;
}

.section-heading > p {
  max-width: 760px !important;
  margin: 14px auto 0 !important;
}

.section .split {
  gap: 52px !important;
  align-items: center !important;
}

.card-grid,
.card-grid.three,
.card-grid.two,
.process-grid,
.notice-grid {
  gap: 22px !important;
}

.card,
.process-card,
.notice-card {
  height: 100% !important;
}

.card p,
.process-card p,
.notice-card p {
  line-height: 1.65 !important;
}

.provider-marquee {
  padding: 30px 0 34px !important;
}

.trust-strip {
  padding: 0 !important;
}

.section-dark .comparison {
  margin-top: 30px !important;
}

.cta-panel {
  gap: 34px !important;
}

.notice {
  padding: 60px 0 !important;
}

.site-footer {
  padding-top: 60px !important;
}

.footer-brand img {
  width: 190px !important;
  height: auto !important;
  max-height: 52px !important;
  object-fit: contain !important;
  object-position: left center !important;
  filter: none !important;
}

.footer-fallback {
  text-align: center;
}

/* TABLET */
@media (max-width: 1000px) {
  .container,
  .container-fluid {
    width: min(calc(100% - 32px), var(--final-container)) !important;
  }

  .brand {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    max-width: none !important;
  }

  .brand img {
    width: 165px !important;
  }

  .hero .container.hero-grid,
  .inner-hero .container {
    width: min(calc(100% - 32px), 760px) !important;
    grid-template-columns: 1fr !important;
    gap: 34px !important;
  }

  .inner-hero .container {
    grid-template-rows: auto !important;
  }

  .inner-hero .container > .eyebrow-pill,
  .inner-hero .container > h1,
  .inner-hero .container > p,
  .inner-hero .container > .hero-actions,
  .inner-hero .container > .hero-lead-form,
  .inner-hero .container > .exact-availability-form {
    grid-column: 1 !important;
    grid-row: auto !important;
    justify-self: stretch !important;
  }

  .hero-card,
  .hero-lead-form,
  .exact-availability-form {
    max-width: 620px !important;
    justify-self: start !important;
  }
}

/* MOBILE */
@media (max-width: 680px) {
  :root {
    --final-section-space: var(--final-section-space-mobile);
  }

  html {
    scroll-padding-top: 96px;
  }

  body {
    padding-bottom: 82px !important;
  }

  .container,
  .container-fluid,
  .hero .container.hero-grid,
  .inner-hero .container {
    width: min(calc(100% - 28px), var(--final-container)) !important;
  }

  .top-disclosure__inner {
    min-height: 38px !important;
    padding: 6px 0 !important;
    font-size: 10px !important;
    line-height: 1.35 !important;
  }

  .top-disclosure__separator,
  .top-disclosure__inner > span:last-child {
    display: none !important;
  }

  .header-inner {
    min-height: 68px !important;
    gap: 9px !important;
  }

  .brand img {
    width: 138px !important;
    max-height: 39px !important;
  }

  .header-call {
    max-width: 126px !important;
    min-height: 40px !important;
    padding: 8px 9px !important;
    font-size: 9.5px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .header-call svg {
    width: 15px !important;
    flex: 0 0 15px !important;
  }

  .nav-toggle {
    flex: 0 0 42px !important;
    width: 42px !important;
    height: 42px !important;
    padding: 9px !important;
  }

  .primary-nav {
    inset: 106px 14px auto !important;
    padding: 18px !important;
  }

  .hero,
  .inner-hero {
    padding: 48px 0 !important;
  }

  .hero h1,
  .inner-hero .container > h1 {
    font-size: 38px !important;
    line-height: 1.08 !important;
    letter-spacing: -0.04em !important;
  }

  .hero-lead,
  .inner-hero .container > p {
    font-size: 15.5px !important;
    line-height: 1.62 !important;
  }

  .hero-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
    gap: 10px !important;
  }

  .hero-actions .btn {
    width: 100% !important;
  }

  .hero-card,
  .hero-lead-form,
  .exact-availability-form {
    max-width: 100% !important;
    padding: 23px !important;
    border-radius: 20px !important;
  }

  .hero-card h2,
  .hero-lead-form h2,
  .exact-availability-form h2 {
    font-size: 24px !important;
  }

  .section-heading {
    margin-bottom: 30px !important;
    text-align: left !important;
  }

  .section-heading > p {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .card-grid,
  .card-grid.three,
  .card-grid.two,
  .process-grid,
  .notice-grid,
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .comparison {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  .comparison-row {
    min-width: 720px !important;
  }

  .footer-brand img {
    width: 175px !important;
  }

  .mobile-sticky-cta {
    display: block !important;
    position: fixed !important;
    left: 12px !important;
    right: 12px !important;
    bottom: max(10px, env(safe-area-inset-bottom)) !important;
    z-index: 1200 !important;
  }
}

/* HERO CARD CALL LABEL: KEEP THE PHONE ACTION ON ONE LINE */
.availability-call-btn,
.direct-call-btn {
  padding: 10px 12px !important;
  font-size: 13px !important;
  line-height: 1.25 !important;
  text-align: center !important;
  white-space: nowrap !important;
}


/* EXACT PHONE CTA DISPLAY FIX */
.btn-card-call,
.availability-call-btn,
.direct-call-btn,
.cta-panel a[href^="tel:"],
.site-footer a[href^="tel:"] {
  white-space: nowrap;
}
