/*
Theme Name: Broadband Navigators
Theme URI: https://broadbandnavigators.com/
Author: Cyclops
Description: Custom residential TV, internet, streaming, and home Wi-Fi theme for Broadband Navigators.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.3
Text Domain: broadband-navigators
*/

:root {
  color-scheme: light;
  --ink: #132126;
  --muted: #526166;
  --soft: #f4f0ea;
  --paper: #fffaf2;
  --line: #d9d0c4;
  --teal: #08786f;
  --teal-dark: #07524c;
  --clay: #b65f3b;
  --gold: #d69a2d;
  --white: #ffffff;
  --shadow: 0 22px 55px rgba(19, 33, 38, 0.15);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
.site-header {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 0;
  right: 0;
  padding: 22px clamp(18px, 4vw, 48px);
  color: var(--white);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, 100%);
  margin: 0 auto;
}
.brand {
  display: inline-flex;
  align-items: center;
  min-width: 184px;
}
.brand-logo {
  display: block;
  width: clamp(220px, 21vw, 300px);
  height: auto;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.94rem;
  font-weight: 700;
}
.nav-cta {
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
}
.hero {
  position: relative;
  min-height: 86vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #101c20;
  color: var(--white);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(13, 29, 33, 0.92) 0%, rgba(13, 29, 33, 0.72) 38%, rgba(13, 29, 33, 0.18) 74%),
    linear-gradient(0deg, rgba(13, 29, 33, 0.72) 0%, rgba(13, 29, 33, 0) 36%),
    var(--hero-image, none) center / cover no-repeat;
}
.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 140px clamp(18px, 4vw, 48px) 56px;
}
.hero-copy {
  max-width: 720px;
  padding-bottom: 28px;
}
.eyebrow {
  margin: 0 0 18px;
  color: #f4c66e;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
h1 {
  margin: 0;
  font-size: clamp(3.2rem, 8.5vw, 7.1rem);
  line-height: 0.9;
  letter-spacing: 0;
  text-wrap: balance;
}
.lead {
  max-width: 620px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.08rem, 2vw, 1.34rem);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 800;
  line-height: 1;
}
.button-primary {
  background: #f3bb4e;
  color: #1d272a;
}
.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
}
.hero-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 880px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.hero-stat {
  min-height: 112px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.13);
}
.hero-stat strong {
  display: block;
  color: var(--white);
  font-size: 1.02rem;
  line-height: 1.2;
}
.hero-stat span {
  display: block;
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
}
.section {
  padding: clamp(54px, 8vw, 92px) clamp(18px, 4vw, 48px);
}
.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}
.section-kicker {
  margin: 0 0 10px;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.section-title {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: 0;
  text-wrap: balance;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}
.service-card {
  min-height: 280px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 24px;
  box-shadow: 0 16px 38px rgba(19, 33, 38, 0.08);
}
.service-card:nth-child(1) { border-top: 6px solid var(--teal); }
.service-card:nth-child(2) { border-top: 6px solid var(--clay); }
.service-card:nth-child(3) { border-top: 6px solid var(--gold); }
.service-card h3 {
  margin: 18px 0 10px;
  font-size: 1.45rem;
  line-height: 1.1;
  letter-spacing: 0;
}
.service-card p {
  margin: 0;
  color: var(--muted);
}
.icon-mark {
  width: 54px;
  height: 54px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--soft);
  color: var(--teal-dark);
  font-weight: 900;
  font-size: 1.2rem;
}
.split { background: var(--soft); }
.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}
.check-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.check-list li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 12px;
  align-items: start;
  color: var(--muted);
  font-size: 1.02rem;
}
.check-list b { color: var(--ink); }
.dot {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--teal);
  color: var(--white);
  font-size: 0.86rem;
  font-weight: 900;
}
.fcc-map {
  background: #ffffff;
}
.fcc-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.72fr);
  gap: clamp(28px, 6vw, 70px);
  align-items: center;
}
.fcc-copy p:not(.section-kicker) {
  max-width: 660px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}
.fcc-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(8, 120, 111, 0.08), rgba(214, 154, 45, 0.1)),
    var(--paper);
  padding: clamp(22px, 4vw, 34px);
  box-shadow: 0 18px 44px rgba(19, 33, 38, 0.1);
}
.fcc-search label {
  display: block;
  margin: 0 0 8px;
  color: var(--ink);
  font-weight: 900;
}
.fcc-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}
.fcc-search input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  padding: 12px 14px;
}
.fcc-search input:focus {
  border-color: var(--teal);
  outline: 3px solid rgba(8, 120, 111, 0.18);
}
.fcc-search .button {
  border: 0;
  background: var(--teal);
  color: var(--white);
  cursor: pointer;
  white-space: nowrap;
}
.fcc-notes {
  display: grid;
  gap: 11px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}
.fcc-notes li {
  border-top: 1px solid rgba(19, 33, 38, 0.12);
  padding-top: 11px;
}
.fcc-notes b {
  color: var(--ink);
}
.fcc-results {
  margin-top: 14px;
}
.fcc-message {
  border: 1px solid rgba(19, 33, 38, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--muted);
  padding: 13px 14px;
  font-size: 0.94rem;
}
.fcc-message > strong,
.fcc-message > span {
  display: block;
}
.fcc-message > strong {
  color: var(--ink);
}
.fcc-message > span {
  margin-top: 3px;
}
.fcc-message a {
  color: var(--teal-dark);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.fcc-message-error {
  border-color: rgba(182, 95, 59, 0.36);
  background: rgba(182, 95, 59, 0.08);
}
.fcc-message-success {
  border-color: rgba(8, 120, 111, 0.32);
  background: rgba(8, 120, 111, 0.08);
}
.fcc-message ul {
  display: grid;
  gap: 9px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.fcc-message li {
  border-top: 1px solid rgba(19, 33, 38, 0.12);
  padding-top: 9px;
}
.fcc-message li strong,
.fcc-message li span {
  display: block;
}
.fcc-message li strong {
  color: var(--ink);
}
.dealer-band {
  background: #132126;
  color: var(--white);
}
.dealer-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}
.dealer-head .section-kicker { color: #f4c66e; }
.dealer-head .section-title { max-width: 700px; }
.dealer-head p {
  max-width: 360px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}
.dealer-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.dealer-logo {
  min-height: 128px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  padding: 18px;
  text-align: center;
}
.dealer-logo strong {
  display: block;
  font-size: clamp(1.42rem, 3vw, 2.1rem);
  line-height: 1;
  color: var(--white);
}
.dealer-logo span {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.cta { background: var(--paper); }
.cta-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: clamp(26px, 5vw, 48px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  box-shadow: 0 18px 45px rgba(19, 33, 38, 0.08);
}
.cta-panel h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: 0;
}
.cta-panel p {
  max-width: 700px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
}
.cta .button {
  background: var(--teal);
  color: var(--white);
  white-space: nowrap;
}
.site-footer {
  padding: 28px clamp(18px, 4vw, 48px);
  background: #101b1f;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}
.footer-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-logo {
  display: block;
  width: 220px;
  height: auto;
  opacity: 0.88;
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero-panel,
  .service-grid,
  .split-layout,
  .fcc-layout,
  .dealer-strip,
  .cta-panel {
    grid-template-columns: 1fr;
  }
  .dealer-head {
    align-items: start;
    flex-direction: column;
  }
  .hero-inner { padding-bottom: 34px; }
  .hero-stat { min-height: auto; }
}
@media (max-width: 540px) {
  .hero { min-height: 92vh; }
  .hero::before {
    background:
      linear-gradient(90deg, rgba(13, 29, 33, 0.94) 0%, rgba(13, 29, 33, 0.8) 58%, rgba(13, 29, 33, 0.48) 100%),
      var(--hero-image, none) center / cover no-repeat;
  }
  h1 { font-size: clamp(2.8rem, 15vw, 4.6rem); }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .fcc-search-row { grid-template-columns: 1fr; }
  .fcc-search .button { white-space: normal; }
  .cta .button { white-space: normal; }
  .brand-logo { width: 190px; }
}
