:root {
  color-scheme: light;
  --ink: #17211f;
  --muted: #66736f;
  --line: #d9e1dc;
  --paper: #fbfcfa;
  --surface: #ffffff;
  --green: #136f51;
  --green-dark: #0d4f3c;
  --amber: #e3a21a;
  --steel: #25475c;
  --red: #b83a2f;
  --shadow: 0 18px 50px rgba(23, 33, 31, 0.13);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

img {
  display: block;
  max-width: 100%;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(217, 225, 220, 0.9);
  background: rgba(251, 252, 250, 0.92);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 260px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: var(--green);
  color: white;
  font-weight: 900;
}

.brand-logo {
  width: 220px;
  height: auto;
  object-fit: contain;
}

.brand-copy {
  display: none;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

nav {
  display: flex;
  gap: clamp(14px, 3vw, 34px);
  color: #40504c;
  font-size: 15px;
}

nav a:hover {
  color: var(--green);
}

.header-cta,
.primary-button,
.secondary-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 800;
  white-space: nowrap;
}

.header-cta {
  padding: 0 18px;
  background: #e9f4ef;
  color: var(--green-dark);
}

.primary-button {
  padding: 0 22px;
  background: var(--amber);
  color: #1b1608;
  box-shadow: 0 10px 24px rgba(227, 162, 26, 0.25);
}

.secondary-button {
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  color: white;
}

.secondary-button.dark {
  border-color: #a9b7b1;
  color: var(--ink);
}

.text-link {
  display: inline-flex;
  margin-top: 20px;
  color: var(--green);
  font-weight: 900;
}

.text-link:hover {
  color: var(--green-dark);
}

.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("https://images.unsplash.com/photo-1558494949-ef010cbdcc31?auto=format&fit=crop&w=2400&q=85");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(6, 22, 20, 0.88), rgba(6, 22, 20, 0.62) 48%, rgba(6, 22, 20, 0.2)),
    linear-gradient(0deg, rgba(6, 22, 20, 0.4), transparent 48%);
}

.hero-content {
  position: relative;
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 120px 0 52px;
  color: white;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--amber);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 760px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

.subpage-hero {
  position: relative;
  display: grid;
  min-height: 560px;
  align-items: end;
  overflow: hidden;
  color: white;
  background-position: center;
  background-size: cover;
}

.subpage-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(6, 22, 20, 0.9), rgba(6, 22, 20, 0.62) 55%, rgba(6, 22, 20, 0.24)),
    linear-gradient(0deg, rgba(6, 22, 20, 0.38), transparent 48%);
}

.subpage-content {
  position: relative;
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 110px 0 62px;
}

.subpage-content h1 {
  max-width: 940px;
}

.subpage-content p:not(.eyebrow) {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 20px;
  line-height: 1.6;
}

.lan-hero {
  background-image: url("https://images.unsplash.com/photo-1558494949-ef010cbdcc31?auto=format&fit=crop&w=2200&q=85");
}

.fiber-hero {
  background-image: url("https://images.unsplash.com/photo-1600267165477-6d4cc741b379?auto=format&fit=crop&w=2200&q=85");
}

.electric-hero {
  background-image: url("https://images.unsplash.com/photo-1621905252507-b35492cc74b4?auto=format&fit=crop&w=2200&q=85");
}

.wifi-hero {
  background:
    radial-gradient(circle at 28% 35%, rgba(227, 162, 26, 0.95) 0 8px, transparent 9px),
    radial-gradient(circle at 28% 35%, rgba(227, 162, 26, 0.28) 0 150px, transparent 152px),
    radial-gradient(circle at 67% 58%, rgba(19, 111, 81, 0.95) 0 8px, transparent 9px),
    radial-gradient(circle at 67% 58%, rgba(19, 111, 81, 0.3) 0 210px, transparent 212px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(135deg, #143f50, #0d4f3c 52%, #17211f);
  background-size: auto, auto, auto, auto, 58px 58px, 58px 58px, auto;
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 880px;
  gap: 12px;
  margin: 58px 0 0;
}

.hero-stats div {
  border-left: 3px solid var(--amber);
  padding-left: 18px;
}

.hero-stats dt {
  font-size: 32px;
  font-weight: 900;
}

.hero-stats dd {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.75);
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 18px;
  background: var(--green-dark);
  color: white;
}

.trust-strip span {
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 14px;
}

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 84px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading.compact {
  max-width: 680px;
}

h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
}

.section-heading p:not(.eyebrow),
.profit-copy > p,
.contact-section p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

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

.service-card,
.price-card,
.calculator,
.process-grid div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 8px 26px rgba(23, 33, 31, 0.06);
}

.service-card {
  overflow: hidden;
}

.service-card img,
.service-visual {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.service-visual {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 28% 35%, rgba(227, 162, 26, 0.95) 0 6px, transparent 7px),
    radial-gradient(circle at 28% 35%, rgba(227, 162, 26, 0.34) 0 70px, transparent 72px),
    radial-gradient(circle at 67% 58%, rgba(19, 111, 81, 0.95) 0 6px, transparent 7px),
    radial-gradient(circle at 67% 58%, rgba(19, 111, 81, 0.32) 0 96px, transparent 98px),
    radial-gradient(circle at 42% 76%, rgba(37, 71, 92, 0.95) 0 6px, transparent 7px),
    radial-gradient(circle at 42% 76%, rgba(37, 71, 92, 0.24) 0 58px, transparent 60px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px),
    linear-gradient(135deg, #143f50, #0d4f3c 52%, #17211f);
  background-size: auto, auto, auto, auto, auto, auto, 48px 48px, 48px 48px, auto;
}

.wifi-visual::before,
.wifi-visual::after {
  position: absolute;
  inset: auto;
  content: "";
}

.wifi-visual::before {
  right: 26px;
  bottom: 26px;
  width: 118px;
  height: 78px;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background:
    linear-gradient(90deg, transparent 46%, rgba(255, 255, 255, 0.72) 47% 53%, transparent 54%),
    linear-gradient(0deg, transparent 42%, rgba(255, 255, 255, 0.72) 43% 49%, transparent 50%);
}

.wifi-visual::after {
  left: 28px;
  top: 24px;
  width: 118px;
  height: 68px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.13);
  box-shadow:
    0 16px 0 rgba(255, 255, 255, 0.08),
    22px 34px 0 rgba(255, 255, 255, 0.1),
    180px 42px 0 rgba(255, 255, 255, 0.1);
}

.service-card > div:not(.service-visual) {
  padding: 24px;
}

h3 {
  margin: 0 0 10px;
  font-size: 24px;
}

.service-card p,
.price-card p,
.process-grid p,
.calculator-note,
.keyword-grid p,
.faq-list p {
  color: var(--muted);
  line-height: 1.55;
}

ul {
  display: grid;
  gap: 9px;
  margin: 18px 0 0;
  padding-left: 18px;
}

li::marker {
  color: var(--green);
}

.section-contrast {
  width: 100%;
  padding-inline: max(18px, calc((100% - 1180px) / 2));
  background: #eef5f1;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.price-card {
  position: relative;
  min-height: 340px;
  padding: 28px;
}

.price-card.featured {
  border-color: rgba(19, 111, 81, 0.45);
  box-shadow: var(--shadow);
}

.badge {
  display: inline-flex;
  margin-bottom: 18px;
  border-radius: 999px;
  padding: 7px 12px;
  background: #e5f2ed;
  color: var(--green-dark);
  font-weight: 900;
  font-size: 13px;
}

.price {
  margin: 14px 0;
  color: var(--green);
  font-size: 34px;
  font-weight: 950;
}

.profit-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 410px;
  gap: 48px;
  align-items: center;
}

.profit-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.profit-list div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.profit-list span {
  color: var(--muted);
}

.calculator {
  padding: 28px;
}

.calculator h3 {
  margin-bottom: 20px;
}

label {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  color: #3a4b47;
  font-weight: 800;
}

input {
  width: 100%;
  min-height: 46px;
  border: 1px solid #bdcac4;
  border-radius: 8px;
  padding: 0 13px;
  background: white;
  color: var(--ink);
  font: inherit;
}

input[type="range"] {
  padding: 0;
  accent-color: var(--green);
}

#marginValue {
  color: var(--green);
  font-weight: 900;
}

.range-labels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
}

.range-labels span:nth-child(2) {
  text-align: center;
}

.range-labels span:nth-child(3) {
  text-align: right;
}

.estimate-box {
  margin-top: 22px;
  border-radius: 8px;
  padding: 18px;
  background: var(--green-dark);
  color: white;
  text-align: center;
}

.estimate-box > span {
  display: block;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.estimate {
  display: block;
  margin-top: 6px;
  font-size: 36px;
  font-weight: 950;
}

.lead-toggle,
.lead-submit {
  width: 100%;
  margin-top: 14px;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.lead-toggle {
  min-height: 48px;
  border-radius: 8px;
  background: var(--amber);
  color: #1b1608;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(227, 162, 26, 0.25);
}

.lead-form {
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 4px;
}

.lead-form[hidden] {
  display: none;
}

.lead-submit {
  border-radius: 8px;
}

.process-section {
  padding-top: 20px;
}

.seo-section {
  padding-top: 34px;
}

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

.keyword-grid article,
.faq-list details,
.subpage-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 8px 26px rgba(23, 33, 31, 0.05);
}

.keyword-grid article,
.subpage-grid article {
  padding: 24px;
}

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

.faq-section {
  padding-top: 34px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 0;
}

.faq-list summary {
  cursor: pointer;
  padding: 20px 24px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
  list-style-position: outside;
}

.faq-list p {
  margin: 0;
  padding: 0 24px 22px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.process-grid div {
  padding: 24px;
}

.process-grid span {
  color: var(--red);
  font-size: 13px;
  font-weight: 950;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto 84px;
  border-radius: 8px;
  padding: 42px;
  background: var(--steel);
  color: white;
}

.contact-section p {
  max-width: 740px;
  color: rgba(255, 255, 255, 0.78);
}

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

footer a {
  color: var(--green);
  font-weight: 900;
}

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
  }

  nav {
    display: none;
  }

  .hero {
    min-height: 760px;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(6, 22, 20, 0.9), rgba(6, 22, 20, 0.58));
  }

  .hero-stats,
  .service-grid,
  .keyword-grid,
  .subpage-grid,
  .pricing-grid,
  .profit-section,
  .process-grid,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .profit-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .contact-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding-inline: 14px;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: 178px;
  }

  .header-cta {
    min-height: 40px;
    padding-inline: 14px;
  }

  .hero {
    min-height: 780px;
  }

  .subpage-hero {
    min-height: 680px;
  }

  .hero-content {
    width: min(100% - 28px, 1120px);
    padding-bottom: 34px;
  }

  h1 {
    font-size: 39px;
  }

  .hero-stats {
    margin-top: 34px;
  }

  .section {
    width: min(100% - 28px, 1180px);
    padding-block: 58px;
  }

  .price-card,
  .calculator,
  .process-grid div {
    padding: 22px;
  }

  .contact-section {
    width: min(100% - 28px, 1180px);
    padding: 28px;
  }

  .contact-actions,
  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  footer {
    flex-direction: column;
  }
}
