:root {
  color-scheme: light;
  --bg: #f7f4ed;
  --bg-alt: #e8f0ee;
  --panel: rgba(255, 255, 255, 0.84);
  --panel-strong: rgba(255, 255, 255, 0.94);
  --border: rgba(25, 40, 42, 0.14);
  --border-strong: rgba(25, 40, 42, 0.24);
  --text: #20272a;
  --muted: #5d6868;
  --accent: #087b7b;
  --accent-2: #0e5e63;
  --accent-soft: rgba(8, 123, 123, 0.11);
  --warm: #b46f42;
  --shadow: 0 16px 36px rgba(25, 40, 42, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: linear-gradient(180deg, #fbf9f4 0%, var(--bg) 52%, #edf3f1 100%);
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.page-shell {
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 22px 0 42px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0 26px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand-logo {
  display: block;
  width: min(350px, 44vw);
  height: auto;
  mix-blend-mode: multiply;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  flex-wrap: wrap;
}

.site-nav a {
  color: rgba(32, 39, 42, 0.78);
  font-size: 0.96rem;
  padding: 10px 2px;
}

.site-nav a[aria-current="page"] {
  color: var(--text);
  position: relative;
}

.site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
}

.eyebrow,
.card-label,
.service-kicker {
  margin: 0;
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.84rem;
  font-weight: 700;
}

.page-hero,
.cta-band,
.hero-card,
.panel,
.preview-card,
.service-card,
.future-card {
  border: 1px solid var(--border);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.95fr);
  gap: 26px;
  padding: 34px;
  border-radius: 20px;
}

.page-hero-copy {
  align-self: center;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 620;
}

h1 {
  font-size: clamp(3rem, 6vw, 5.45rem);
  max-width: 11.2ch;
  margin-top: 14px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
}

h3 {
  font-size: 1.45rem;
  font-weight: 650;
}

.lead,
.section p,
.site-footer p,
.service-summary,
.cta-primary,
.preview-card p,
.hero-card p,
.panel p,
.future-card p {
  color: var(--muted);
}

.lead {
  max-width: 62ch;
  margin: 18px 0 0;
  font-size: 1.1rem;
}

.hero-actions,
.cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 650;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

button.button {
  font: inherit;
  cursor: pointer;
}

.button:hover,
.preview-card:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #ffffff;
  background: var(--accent);
  box-shadow: 0 8px 16px rgba(8, 123, 123, 0.18);
}

.button-secondary {
  border-color: rgba(8, 94, 99, 0.24);
  background: rgba(255, 255, 255, 0.58);
  color: var(--accent-2);
}

.page-hero-side {
  display: grid;
  gap: 14px;
  align-content: start;
}

.hero-visual {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  border-radius: 16px;
  background: #20272a;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 24, 34, 0.04), rgba(12, 24, 34, 0.34));
  pointer-events: none;
}

.hero-visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
  object-position: center;
}

.hero-visual-label {
  position: absolute;
  z-index: 1;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 8px;
  color: #ffffff;
  background: rgba(32, 39, 42, 0.78);
  box-shadow: 0 8px 18px rgba(32, 39, 42, 0.18);
  backdrop-filter: blur(8px);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.label-network {
  top: 18%;
  left: 8%;
}

.label-control {
  top: 48%;
  right: 8%;
}

.label-install {
  bottom: 9%;
  left: 12%;
}

.hero-card {
  border-radius: 16px;
  padding: 20px;
  background: var(--panel-strong);
}

.hero-card-large {
  padding: 24px;
}

.hero-card strong {
  display: block;
  margin-top: 8px;
  font-size: 1.06rem;
  font-weight: 650;
}

.what-we-provide {
  max-width: 900px;
}

.what-we-provide h2 {
  margin-top: 8px;
}

.what-we-provide p:last-child {
  max-width: 70ch;
  margin-bottom: 0;
}

.city-list-inline {
  max-width: 24ch;
}

.service-area-hero {
  align-items: center;
}

.service-area-cities {
  display: grid;
  gap: 8px;
  align-content: center;
  padding: 10px 8px;
}

.service-area-cities span {
  color: var(--text);
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(2rem, 4.5vw, 4.2rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.service-area-map-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1.7fr);
  gap: 20px;
  align-items: stretch;
}

.service-area-map-copy {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.service-area-map-copy h2 {
  margin-top: 8px;
}

.service-area-map-copy p:not(.eyebrow) {
  color: var(--muted);
}

.service-area-map {
  min-height: 360px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #e9efed;
  box-shadow: var(--shadow);
}

.service-area-map svg {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
}

.service-area-map img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.map-hill {
  fill: #d8e8e1;
}

.map-hill-two {
  fill: #cee0da;
}

.map-hill-three {
  fill: #e1ece6;
}

.map-road {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.road-major {
  stroke: var(--warm);
  stroke-width: 10;
  opacity: 0.82;
}

.road-minor {
  stroke: #f6f1e5;
  stroke-width: 6;
  opacity: 0.95;
}

.service-boundary {
  fill: rgba(8, 123, 123, 0.08);
  stroke: var(--accent);
  stroke-width: 2;
  stroke-dasharray: 7 8;
}

.city-marker circle {
  fill: var(--accent);
  stroke: #fbf9f4;
  stroke-width: 3;
}

.city-marker .marker-core {
  fill: #fbf9f4;
  stroke: none;
}

.city-marker text {
  fill: var(--text);
  font-family: Arial, sans-serif;
  font-size: 17px;
  font-weight: 700;
}

.map-route-labels text {
  fill: #6a7c78;
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.section {
  padding-top: 26px;
}

.section-heading {
  max-width: 74ch;
  margin-bottom: 16px;
}

.section-heading h2 {
  margin-top: 8px;
}

.panel,
.service-card,
.future-card,
.preview-card,
.cta-band {
  border-radius: 18px;
}

.panel {
  padding: 24px;
}

.three-up,
.two-up,
.four-up,
.service-preview-grid {
  display: grid;
  gap: 18px;
}

.three-up {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.three-up.compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.two-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.four-up {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-preview-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.preview-card {
  display: grid;
  gap: 14px;
  padding: 22px;
  min-height: 190px;
  transition: transform 160ms ease, border-color 160ms ease;
}

.photo-card {
  position: relative;
}

.photo-card > .service-icon {
  position: absolute;
  z-index: 2;
  top: 20px;
  left: 20px;
  color: #ffffff;
  background: rgba(32, 39, 42, 0.78);
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow: 0 8px 20px rgba(32, 39, 42, 0.18);
  backdrop-filter: blur(8px);
}

.preview-card-media {
  display: block;
  width: calc(100% + 44px);
  height: 150px;
  margin: -22px -22px 2px;
  object-fit: cover;
  border-radius: 17px 17px 0 0;
}

.service-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(8, 123, 123, 0.24);
  font-size: 1.45rem;
  line-height: 1;
}

.service-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.preview-index,
.step-num {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(8, 123, 123, 0.24);
  font-weight: 900;
}

.preview-card h3 {
  margin-bottom: 8px;
}

.preview-card p {
  margin: 0;
}

.preview-cta {
  color: var(--accent-2);
  font-weight: 650;
  text-decoration: underline;
  text-decoration-color: rgba(8, 94, 99, 0.35);
  text-underline-offset: 4px;
}

.service-card {
  padding: 26px;
  background: var(--panel-strong);
}

.service-card-wide {
  display: grid;
  gap: 18px;
}

.service-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.service-summary {
  margin: 0;
  max-width: 76ch;
}

.service-block,
.future-cta {
  border-radius: 12px;
  padding: 18px;
  background: rgba(32, 39, 42, 0.035);
  border: 1px solid rgba(32, 39, 42, 0.1);
}

.service-block p,
.future-card p,
.cta-card p {
  margin: 0;
}

.service-block strong,
.future-cta strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.04rem;
  font-weight: 650;
}

.inline-cta {
  display: inline-flex;
  margin-top: 2px;
  color: var(--accent-2);
  font-weight: 650;
  text-decoration: underline;
  text-decoration-color: rgba(8, 94, 99, 0.35);
  text-underline-offset: 4px;
}

.inline-cta:hover {
  text-decoration-color: rgba(8, 94, 99, 0.7);
}

.future-card {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 18px;
  padding: 26px;
  background: var(--panel-strong);
}

.list-stack,
.ordered-stack {
  margin: 16px 0 0;
  padding-left: 1.15rem;
  color: var(--muted);
}

.list-stack li,
.ordered-stack li {
  margin-top: 10px;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px;
  background: rgba(8, 123, 123, 0.075);
  border-color: rgba(8, 123, 123, 0.2);
}

.cta-band p {
  max-width: 58ch;
}

.cta-card {
  padding: 26px;
}

.cta-card-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0 32px;
  align-items: center;
}

.cta-card-body .cta-primary,
.cta-card-body > p:not(.cta-primary),
.cta-card-body .list-stack {
  grid-column: 1;
}

.cta-card-body .cta-primary {
  margin-top: 0;
}

.cta-card-body > p:not(.cta-primary) {
  margin: 0;
}

.cta-card-body .list-stack {
  margin-bottom: 0;
}

.cta-card-body .button {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: center;
  white-space: nowrap;
}

.cta-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.cta-primary {
  margin-top: 14px;
  color: var(--text);
  font-size: 1.18rem;
  font-weight: 650;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 30px 2px 18px;
  margin-top: 32px;
  border-top: 1px solid rgba(25, 40, 42, 0.14);
}

@media (max-width: 1080px) {
  .page-hero,
  .future-card,
  .cta-band,
  .site-header {
    grid-template-columns: 1fr;
  }

  .site-header,
  .cta-band {
    display: grid;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .four-up {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100vw - 20px, 1180px);
    padding-top: 12px;
  }

  .page-hero,
  .service-card,
  .future-card,
  .cta-band,
  .panel,
  .preview-card,
  .hero-card {
    border-radius: 16px;
    padding: 20px;
  }

  .preview-card-media {
    width: calc(100% + 40px);
    margin: -20px -20px 2px;
    border-radius: 15px 15px 0 0;
  }

  .three-up,
  .two-up,
  .four-up,
  .service-preview-grid,
  .service-area-map-layout,
  .hero-metrics,
  .cta-card-body {
    grid-template-columns: 1fr;
  }

  .cta-card-body .button {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
    margin-top: 20px;
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  h1 {
    max-width: 100%;
  }
}

/* Wi-Fi and connected homes share the primary service emphasis. */
.page-home h1 { max-width: 14ch; font-size: clamp(2.8rem, 5vw, 4.5rem); }
.everyday-home { display: grid; grid-template-rows: 1fr 1fr; gap: 14px; min-width: 0; }
.everyday-home figure { margin: 0; position: relative; overflow: hidden; border-radius: 14px; min-height: 200px; background: var(--bg-alt); }
.everyday-home img { display: block; width: 100%; height: 210px; object-fit: cover; }
.everyday-home figcaption { position: absolute; bottom: 0; left: 0; right: 0; padding: 25px 18px 14px; color: white; font-weight: 600; background: linear-gradient(transparent, rgba(20,35,35,.85)); }
.core-services .preview-card { padding: 28px; border-color: var(--border-strong); }
.core-services .photo-card { padding: 22px; }
.core-services h3 { font-size: clamp(1.65rem, 2.8vw, 2.1rem); line-height: 1.12; }
.core-services .preview-cta { align-self: end; }
.foundation-panel { background: var(--bg-alt); padding: 32px; }
.foundation-panel h2 { margin-top: 12px; }
.foundation-panel p { max-width: 80ch; }
.supporting-services h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.supporting-services .preview-card { min-height: 0; box-shadow: none; }
.services-title { max-width: 20ch; font-size: clamp(2.5rem, 5vw, 4rem); }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
@media (max-width: 1080px) { .everyday-home { grid-template-columns: 1fr 1fr; grid-template-rows: auto; } }
@media (max-width: 760px) { .everyday-home { grid-template-columns: 1fr; } .everyday-home img { height: 190px; } .everyday-home figure { min-height: 190px; } .core-services .photo-card { padding: 20px; } .foundation-panel { padding: 24px; } }

.contact-form-section { scroll-margin-top: 24px; }
.contact-form-panel { max-width: 820px; margin-inline: auto; }
.contact-form-panel iframe { display: block; width: 100%; border: 0; }
.form-fallback { font-size: 0.9rem; overflow-wrap: anywhere; }
.form-fallback a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; }
