/* =========================================================
   Home (front-page.php) — Concept A · Clarity.
   ========================================================= */

/* ---------- Hero ---------- */
.tv-hero {
  padding: clamp(44px, 6vw, 84px) var(--tv-gutter) clamp(36px, 4vw, 56px);
}

.tv-hero__inner {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  max-width: var(--tv-container);
  margin: 0 auto;
}

.tv-hero__content {
  flex: 1 1 380px;
  min-width: 300px;
}

.tv-hero__eyebrow {
  margin-bottom: 18px;
}

.tv-hero__title {
  margin: 0 0 20px;
  font-family: var(--tv-font-display);
  font-size: clamp(36px, 5.2vw, 60px);
  font-weight: 700;
  line-height: 1.04;
  color: #fff;
  letter-spacing: -0.02em;
}

.tv-hero__lead {
  max-width: 540px;
  margin: 0 0 28px;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.6;
  color: var(--tv-on-navy-soft);
}

.tv-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tv-hero__media {
  position: relative;
  flex: 1 1 380px;
  min-width: 300px;
}

.tv-hero__frame {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgb(21 49 79 / 18%);
}

.tv-hero__img {
  display: block;
  width: 100%;
  height: clamp(440px, 54vw, 680px);
  object-fit: cover;
}

/* Show the whole portrait on mobile instead of cropping it. */
@media (max-width: 760px) {
  .tv-hero__img {
    height: auto;
  }
}

.tv-hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(21 49 79 / 0%) 55%, rgb(21 49 79 / 45%));
}

.tv-hero__badge {
  position: absolute;
  bottom: clamp(16px, 2vw, 26px);
  left: clamp(16px, 2vw, 28px);
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 13px 16px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 28px rgb(21 49 79 / 20%);
}

.tv-hero__pulse {
  flex: none;
  width: 10px;
  height: 10px;
  background: var(--tv-green);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgb(25 194 142 / 18%);
}

.tv-hero__badge-text {
  line-height: 1.2;
}

.tv-hero__badge-title {
  font-family: var(--tv-font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--tv-ink);
}

.tv-hero__badge-sub {
  font-size: 12px;
  color: var(--tv-ink-400);
}

/* ---------- Trust bar ---------- */
.tv-trust {
  background: var(--tv-navy);
  border-top: 1px solid rgb(255 255 255 / 8%);
  border-bottom: 1px solid rgb(255 255 255 / 8%);
}

.tv-trust__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
  max-width: var(--tv-container);
  padding: clamp(20px, 2.4vw, 30px) var(--tv-gutter);
  margin: 0 auto;
}

/* ---------- Why / value props ---------- */
.tv-why__head {
  max-width: 680px;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.tv-why__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(16px, 1.8vw, 24px);
}

.tv-why__card {
  padding: 26px;
  background: #fff;
  border: 1px solid var(--tv-border);
  border-radius: 16px;
  box-shadow: 0 18px 40px rgb(6 20 36 / 30%);
}

.tv-why__num {
  margin-bottom: 14px;
  font-family: var(--tv-font-mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--tv-cyan);
}

.tv-why__title {
  margin-bottom: 9px;
  font-family: var(--tv-font-display);
  font-size: 19px;
  font-weight: 600;
  color: var(--tv-ink);
}

.tv-why__desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--tv-ink-500);
}

/* Six value props read as a balanced 3 × 2 on desktop — without this the wider
   container fits four across and orphans the last two cards on their own row. */
@media (min-width: 980px) {
  .tv-why__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------- Product showcase ---------- */
.tv-unit__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(16px, 3vw, 40px);
  align-items: center;
  max-width: var(--tv-container);
  margin: 0 auto;
}

.tv-unit__media {
  padding-block: clamp(20px, 4vw, 56px);
  text-align: center;
  background: radial-gradient(ellipse 58% 68% at 50% 50%, rgb(255 255 255 / 18%) 0%, rgb(24 198 237 / 12%) 44%, transparent 72%);
}

.tv-unit__img {
  display: block;
  width: min(100%, 400px);
  margin: 0 auto;
}

.tv-unit__content {
  min-width: 0;
}

/* Two balanced columns from tablet up — the image and the copy get equal room
   and sit close together so the text isn't squeezed into a narrow rail. */
@media (min-width: 900px) {
  .tv-unit__inner {
    grid-template-columns: 1fr 1fr;
    gap: clamp(20px, 2vw, 40px);
    max-width: var(--tv-container);
  }

  .tv-unit__media {
    padding-block: clamp(16px, 2.5vw, 36px);
  }

  .tv-unit__img {
    width: min(100%, 620px);
  }
}

/* The unit is the product hero — set the headline large and confident. */
.tv-unit__title {
  margin-bottom: 20px;
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.03;
}

.tv-unit__lead {
  max-width: 540px;
  margin: 0 0 30px;
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.55;
  color: var(--tv-on-navy-soft);
}

.tv-unit__list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.tv-unit__item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.tv-unit__bullet {
  flex: none;
  width: 9px;
  height: 9px;
  margin-top: 10px;
  background: var(--tv-cyan);
  border-radius: 50%;
}

.tv-unit__text {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.45;
  color: var(--tv-on-navy-soft);
}

/* ---------- Coverage image band ---------- */
.tv-coverage {
  position: relative;
  min-height: clamp(360px, 48vw, 560px);
  background: url("../coverage.jpg") center / cover no-repeat fixed;
}

/* iOS/Android mishandle fixed backgrounds — fall back to scroll on mobile. */
@media (max-width: 760px) {
  .tv-coverage {
    background-attachment: scroll;
  }
}

.tv-coverage__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgb(14 39 64 / 82%), rgb(14 39 64 / 35%));
}

.tv-coverage__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
}

/* Gutter sits inside the cap (like the header) so the overlay text lines up
   with the .tv-container sections above and below it. */
.tv-coverage__inner {
  width: 100%;
  max-width: calc(var(--tv-container) + 2 * var(--tv-gutter));
  padding: 0 var(--tv-gutter);
  margin: 0 auto;
}

.tv-coverage__content {
  max-width: 560px;
  color: #fff;
}

.tv-coverage__eyebrow {
  margin-bottom: 14px;
}

.tv-coverage__title {
  margin: 0 0 16px;
  font-family: var(--tv-font-display);
  font-size: clamp(28px, 3.8vw, 46px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.015em;
}

.tv-coverage__lead {
  margin: 0;
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.6;
  color: var(--tv-on-navy-soft);
}

/* ---------- Stats ---------- */
.tv-stats {
  padding: clamp(44px, 5vw, 80px) var(--tv-gutter);
}

.tv-stats__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: clamp(20px, 3vw, 40px);
  max-width: var(--tv-container);
  margin: 0 auto;
  text-align: center;
}

.tv-stats__num {
  font-family: var(--tv-font-display);
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 700;
  line-height: 1;
  color: var(--tv-cyan);
  white-space: nowrap;
}

.tv-stats__label {
  margin-top: 8px;
  font-size: 14px;
  color: var(--tv-ink-400);
  letter-spacing: 0.02em;
}

/* ---------- Locations ---------- */
.tv-locations__title {
  margin-bottom: clamp(24px, 3vw, 40px);
  text-align: center;
}

.tv-locations__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(16px, 2vw, 24px);
}

.tv-loc-card {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--tv-border);
  border-radius: 16px;
  box-shadow: 0 18px 40px rgb(6 20 36 / 30%);
}

.tv-loc-card__region {
  margin-bottom: 10px;
  font-family: var(--tv-font-mono);
  font-size: 11px;
  color: var(--tv-cyan);
  letter-spacing: 0.2em;
}

.tv-loc-card__city {
  margin-bottom: 8px;
  font-family: var(--tv-font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--tv-ink);
}

.tv-loc-card__addr {
  font-size: 15px;
  line-height: 1.5;
  color: var(--tv-ink-500);
}

.tv-loc-card__hours {
  display: flex;
  gap: 18px;
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--tv-ink-400);
}

.tv-loc-card__emerg {
  font-weight: 600;
  color: var(--tv-green-dark);
}

/* ---------- CTA band ---------- */
.tv-cta {
  padding: clamp(48px, 6vw, 90px) var(--tv-gutter);
  text-align: center;
  background: var(--tv-navy);
}

.tv-cta__inner {
  max-width: var(--tv-container);
  margin: 0 auto;
  color: #fff;
}

.tv-cta__title {
  margin: 0 0 14px;
  font-family: var(--tv-font-display);
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.015em;
}

.tv-cta__lead {
  margin: 0 0 30px;
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.6;
  color: var(--tv-on-navy);
}

.tv-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: center;
}

.tv-cta__actions .tv-btn {
  padding-inline: 28px;
}

.tv-cta__phone {
  font-family: var(--tv-font-display);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}

/* ---------- Comparison — Watchtower vs. traditional ---------- */

/* Full-width hairline that reads as a section divider into "The Difference". */
.tv-compare {
  border-top: 1px solid rgb(255 255 255 / 10%);
}

.tv-compare__head {
  max-width: 680px;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.tv-compare__title {
  margin-bottom: 14px;
  color: #fff;
}

.tv-compare__lead {
  margin: 0;
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.6;
  color: var(--tv-on-navy);
}

.tv-compare__scroll {
  overflow-x: auto;
}

.tv-compare__table {
  width: 100%;
  min-width: 640px;
  text-align: left;
  border-collapse: collapse;
}

.tv-compare__table th,
.tv-compare__table td {
  padding: 15px 20px;
  vertical-align: top;
  border-bottom: 1px solid rgb(255 255 255 / 10%);
}

.tv-compare__table tbody td {
  font-size: 15px;
  line-height: 1.5;
}

.tv-compare__table thead th {
  font-family: var(--tv-font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--tv-on-navy);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.tv-compare__table tbody th {
  font-family: var(--tv-font-display);
  font-size: 16px;
  font-weight: 600;
  color: #fff;
}

.tv-compare__col-us {
  color: var(--tv-cyan-bright);
  background: rgb(255 255 255 / 4%);
}

.tv-compare__us {
  font-weight: 600;
  color: #fff;
  background: rgb(255 255 255 / 4%);
}

.tv-compare__us::before {
  display: inline-block;
  width: 15px;
  height: 15px;
  margin-right: 9px;
  vertical-align: -2px;
  content: "";
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2318c6ed' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='5 12 10 17 19 7'/%3E%3C/svg%3E")
    no-repeat center / contain;
}

.tv-compare__them {
  color: var(--tv-on-navy);
}

/* Mobile: collapse the table into stacked, labeled cards — no sideways scroll. */
@media (max-width: 760px) {
  .tv-compare__scroll {
    overflow-x: visible;
  }

  .tv-compare__table {
    min-width: 0;
  }

  .tv-compare__table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    white-space: nowrap;
    clip-path: inset(50%);
  }

  .tv-compare__table,
  .tv-compare__table tbody,
  .tv-compare__table tr,
  .tv-compare__table th,
  .tv-compare__table td {
    display: block;
  }

  .tv-compare__table tr {
    margin-bottom: 16px;
    overflow: hidden;
    border: 1px solid rgb(255 255 255 / 10%);
    border-radius: 14px;
  }

  .tv-compare__table th,
  .tv-compare__table td {
    padding: 13px 16px;
    border-bottom: 0;
  }

  .tv-compare__table tbody th {
    font-size: 15px;
    color: var(--tv-cyan-bright);
    background: rgb(255 255 255 / 4%);
    border-bottom: 1px solid rgb(255 255 255 / 10%);
  }

  .tv-compare__us::before,
  .tv-compare__them::before {
    display: block;
    width: auto;
    height: auto;
    margin: 0 0 4px;
    font-family: var(--tv-font-mono);
    font-size: 10.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    content: attr(data-label);
    background: none;
  }

  .tv-compare__us::before {
    color: var(--tv-cyan-bright);
  }

  .tv-compare__them::before {
    color: var(--tv-on-navy);
  }
}

/* ---------- Stats — dark variant (Concept B) ---------- */
.tv-stats--dark {
  background: var(--tv-navy-dark);
}

.tv-stats--dark .tv-stats__num {
  color: var(--tv-cyan-bright);
}

.tv-stats--dark .tv-stats__label {
  color: var(--tv-on-navy);
}
