:root {
  --bg: #f4efe7;
  --paper: rgba(255, 252, 247, 0.86);
  --surface: #fffaf4;
  --surface-strong: #f1e7d8;
  --ink: #1e2430;
  --muted: #66707d;
  --line: rgba(21, 38, 57, 0.12);
  --line-strong: rgba(21, 38, 57, 0.22);
  --brand: #114f70;
  --brand-deep: #0c394e;
  --accent: #d9724b;
  --accent-soft: #f6d2bc;
  --gold: #d2a74e;
  --container: 1200px;
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow-lg: 0 28px 60px rgba(23, 32, 46, 0.12);
  --shadow-md: 0 16px 34px rgba(23, 32, 46, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
  line-height: 1.6;
  background:
    radial-gradient(circle at 12% 14%, rgba(217, 114, 75, 0.08), transparent 22%),
    radial-gradient(circle at 88% 18%, rgba(17, 79, 112, 0.09), transparent 22%),
    linear-gradient(90deg, rgba(17, 79, 112, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(17, 79, 112, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, #f9f4ec 0%, var(--bg) 48%, #efe6d9 100%);
  background-size: auto, auto, 42px 42px, 42px 42px, auto;
}

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

img {
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.site-frame {
  overflow: clip;
}

.utility-bar {
  color: rgba(255, 245, 236, 0.88);
  background: linear-gradient(90deg, var(--brand-deep), var(--brand));
  font-size: 0.9rem;
}

.utility-bar__row,
.header-main,
.brand,
.brand__copy,
.site-nav,
.header-tools,
.hero__actions,
.hero__chips,
.service-row,
.footer-main {
  display: flex;
  align-items: center;
}

.utility-bar__row {
  justify-content: space-between;
  gap: 20px;
  padding: 10px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(249, 244, 236, 0.88);
  border-bottom: 1px solid rgba(18, 42, 59, 0.08);
  backdrop-filter: blur(18px);
  transition: box-shadow 0.2s ease, background 0.2s ease;
}

.site-header.is-scrolled {
  background: rgba(252, 248, 242, 0.94);
  box-shadow: 0 16px 40px rgba(23, 32, 46, 0.08);
}

.header-main {
  justify-content: space-between;
  gap: 20px;
  min-height: 82px;
}

.brand {
  gap: 14px;
  min-width: 0;
}

.brand__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
}

.brand__copy {
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.brand__copy strong,
.hero h1,
.section-head h2,
.request-shell__copy h2,
.service-row h3,
.hero-note strong,
.quote-panel strong {
  font-family: "Space Grotesk", "Trebuchet MS", sans-serif;
}

.brand__copy strong {
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0;
}

.brand__copy span {
  color: var(--muted);
  font-size: 0.9rem;
}

.site-nav {
  gap: 8px;
  justify-content: center;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: #304050;
  font-weight: 700;
}

.site-nav__phone {
  display: none;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  color: var(--brand-deep);
  background: rgba(17, 79, 112, 0.08);
}

.header-tools {
  justify-content: flex-end;
  gap: 12px;
}

.header-phone,
.request-shell__phone,
.footer-contact a {
  color: var(--brand-deep);
  font-weight: 700;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

.button--solid {
  color: #fff9f4;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  box-shadow: 0 14px 28px rgba(17, 79, 112, 0.22);
}

.button--ghost {
  color: var(--brand-deep);
  border-color: var(--line-strong);
  background: rgba(255, 252, 247, 0.66);
}

.button--compact {
  min-height: 42px;
  padding: 0 16px;
}

.button--block {
  width: 100%;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
  border-radius: 999px;
}

.hero {
  padding: 64px 0 34px;
}

.hero--inner {
  padding-top: 56px;
}

.hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  gap: 34px;
  align-items: stretch;
}

.hero__main,
.hero__side,
.signal-band__grid article,
.service-row,
.route-step,
.request-form,
.faq-list details,
.quote-panel,
.check-grid li {
  animation: rise-in 0.7s ease both;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.section-head h2,
.request-shell__copy h2 {
  margin: 0;
  line-height: 1.04;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 12ch;
  font-size: 4rem;
}

.page-install .hero h1,
.page-replace .hero h1,
.page-about .hero h1 {
  max-width: 14ch;
  font-size: 3.3rem;
}

.hero__lead,
.section-head p,
.service-row p,
.hero-note p,
.rate-board__item p,
.editorial-layout__main p,
.request-shell__copy p,
.form-note,
.faq-list p,
.footer-contact span,
.check-grid li {
  color: var(--muted);
}

.hero__lead {
  max-width: 58ch;
  margin: 24px 0 0;
  font-size: 1.08rem;
}

.hero__actions {
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero__chips {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero__chips span,
.service-row__note {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #41505d;
  background: rgba(255, 252, 247, 0.72);
  font-size: 0.92rem;
}

.hero__side {
  position: relative;
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(17, 79, 112, 0.12);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 84% 14%, rgba(210, 167, 78, 0.26), transparent 18%),
    linear-gradient(160deg, rgba(255, 252, 247, 0.96), rgba(239, 229, 216, 0.88));
  box-shadow: var(--shadow-lg);
}

.hero__side::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px dashed rgba(17, 79, 112, 0.18);
  border-radius: calc(var(--radius-xl) - 10px);
}

.hero-meter,
.hero-note {
  position: relative;
  z-index: 1;
}

.hero-meter {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 290px;
}

.hero-meter img {
  width: auto;
  max-width: 100%;
  max-height: 300px;
  object-fit: contain;
}

.hero-meter__custom {
  width: auto;
  max-width: 100%;
  max-height: 280px;
  filter: drop-shadow(0 16px 28px rgba(17, 79, 112, 0.16));
}

.hero-note {
  padding: 22px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-md);
}

.hero-note__label,
.service-row__content span,
.rate-board__item span,
.signal-band article span {
  color: var(--brand);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-note strong {
  display: block;
  margin-top: 8px;
  font-size: 1.54rem;
  line-height: 1.16;
}

.signal-band {
  padding: 8px 0 26px;
}

.signal-band__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.signal-band__grid article {
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 252, 247, 0.74);
  box-shadow: var(--shadow-md);
}

.signal-band article strong {
  display: block;
  margin-top: 8px;
  font-size: 1.08rem;
}

.section {
  padding: 62px 0;
}

.section--soft {
  background: linear-gradient(180deg, rgba(255, 250, 244, 0.38), rgba(241, 231, 216, 0.74));
}

.section--dark {
  color: rgba(255, 247, 238, 0.92);
  background:
    radial-gradient(circle at 12% 18%, rgba(217, 114, 75, 0.18), transparent 18%),
    linear-gradient(135deg, var(--brand-deep), #173144);
}

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

.section-head {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-head h2,
.request-shell__copy h2 {
  font-size: 2.55rem;
}

.section-head p {
  margin: 16px 0 0;
}

.section-head--light h2,
.section-head--light p,
.section-head--light .eyebrow {
  color: rgba(255, 247, 238, 0.88);
}

.service-rows {
  display: grid;
  gap: 16px;
}

.service-row {
  gap: 20px;
  align-items: flex-start;
  padding: 22px 24px;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.service-row__index {
  flex: 0 0 60px;
  color: var(--accent);
  font-family: "Space Grotesk", "Trebuchet MS", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.service-row__content {
  width: min(100%, 460px);
}

.service-row h3 {
  margin: 8px 0 0;
  font-size: 1.42rem;
  line-height: 1.18;
}

.service-row p {
  flex: 1 1 280px;
  margin: 0;
  padding-top: 4px;
}

.service-row a {
  color: var(--brand-deep);
  font-weight: 700;
}

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

.rate-board__item {
  padding: 28px;
  border: 1px solid rgba(255, 247, 238, 0.16);
  border-radius: var(--radius-lg);
  background: rgba(255, 250, 244, 0.08);
  backdrop-filter: blur(8px);
}

.rate-board__item--accent {
  background: linear-gradient(180deg, rgba(217, 114, 75, 0.18), rgba(255, 250, 244, 0.08));
}

.rate-board__item strong {
  display: block;
  margin: 14px 0;
  color: #fff8f2;
  font-family: "Space Grotesk", "Trebuchet MS", sans-serif;
  font-size: 2.85rem;
  line-height: 1;
}

.section--dark .rate-board__item {
  border-color: rgba(255, 247, 238, 0.24);
  background: rgba(255, 250, 244, 0.12);
}

.section--dark .rate-board__item span {
  color: #f7d7c6;
}

.section--dark .rate-board__item p {
  color: rgba(255, 247, 238, 0.82);
}

.editorial-layout,
.request-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 28px;
  align-items: start;
}

.request-shell .request-form {
  order: -1;
}

.quote-panel,
.request-form,
.faq-list details {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow-md);
}

.quote-panel span {
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
}

.quote-panel strong {
  display: block;
  margin-top: 10px;
  font-size: 1.48rem;
  line-height: 1.18;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 14px 0 0;
  list-style: none;
}

.check-grid li {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 252, 247, 0.72);
}

.route-line {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.route-step {
  position: relative;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 252, 247, 0.72);
  box-shadow: var(--shadow-md);
}

.route-step::after {
  content: "";
  position: absolute;
  top: 38px;
  right: -10px;
  width: 20px;
  height: 2px;
  background: var(--accent);
}

.route-step:last-child::after {
  display: none;
}

.route-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border-radius: 14px;
  color: #fff7f0;
  background: linear-gradient(135deg, var(--accent), #b9522d);
  font-family: "Space Grotesk", "Trebuchet MS", sans-serif;
  font-weight: 700;
}

.route-step h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
}

.request-shell__phone {
  display: inline-flex;
  margin-top: 18px;
  font-size: 1.48rem;
}

.request-form {
  display: grid;
  gap: 14px;
}

.request-form label {
  display: grid;
  gap: 8px;
}

.request-form span {
  font-weight: 700;
}

.request-form input,
.request-form select,
.request-form textarea {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink);
  background: #fffdfa;
  resize: vertical;
}

.request-form input:focus,
.request-form select:focus,
.request-form textarea:focus {
  outline: 3px solid rgba(217, 114, 75, 0.16);
  border-color: var(--accent);
}

.form-note {
  margin: 0;
  font-size: 0.9rem;
}

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

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list p {
  margin: 10px 0 0;
}

.site-footer {
  color: rgba(255, 247, 238, 0.84);
  background: linear-gradient(180deg, #132633 0%, #0c1b25 100%);
}

.footer-main {
  justify-content: space-between;
  gap: 24px;
  padding: 34px 0 28px;
}

.brand--footer .brand__copy strong,
.brand--footer .brand__copy span,
.footer-contact a {
  color: #fff9f3;
}

.site-footer .footer-nav a,
.site-footer .footer-contact span,
.site-footer .footer-bottom {
  color: rgba(255, 247, 238, 0.8);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.footer-contact {
  display: grid;
  gap: 4px;
}

.footer-bottom {
  padding: 16px 20px 22px;
  border-top: 1px solid rgba(255, 247, 238, 0.08);
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.scroll-top {
  position: fixed;
  right: 18px;
  bottom: calc(18px + var(--footer-offset, 0px));
  z-index: 45;
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 16px;
  color: #fff8f1;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  box-shadow: 0 18px 30px rgba(17, 79, 112, 0.28);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.scroll-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1120px) {
  .hero__layout,
  .editorial-layout,
  .request-shell {
    grid-template-columns: 1fr;
  }

  .signal-band__grid,
  .rate-board,
  .route-line {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-row {
    display: grid;
    grid-template-columns: 60px 1fr;
  }

  .service-row p,
  .service-row a,
  .service-row__note {
    grid-column: 2;
  }
}

@media (max-width: 900px) {
  .utility-bar {
    display: none;
  }

  .header-phone {
    display: none;
  }

  .menu-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: 74px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: rgba(255, 252, 247, 0.97);
    box-shadow: var(--shadow-lg);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav__phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 6px;
    padding: 12px 14px;
    border: 1px solid var(--line-strong);
    border-radius: 16px;
    color: var(--brand-deep);
    background: rgba(17, 79, 112, 0.06);
    font-weight: 700;
  }

  .hero h1 {
    font-size: 3.15rem;
  }

  .page-install .hero h1,
  .page-replace .hero h1,
  .page-about .hero h1,
  .section-head h2,
  .request-shell__copy h2 {
    font-size: 2.35rem;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(var(--container), calc(100% - 28px));
  }

  .header-main {
    min-height: 72px;
  }

  .brand__copy span,
  .button--compact {
    display: none;
  }

  .hero,
  .hero--inner {
    padding-top: 40px;
  }

  .hero h1,
  .page-install .hero h1,
  .page-replace .hero h1,
  .page-about .hero h1 {
    max-width: 100%;
    font-size: 2.35rem;
  }

  .signal-band__grid,
  .rate-board,
  .check-grid,
  .route-line {
    grid-template-columns: 1fr;
  }

  .service-row {
    grid-template-columns: 1fr;
    padding: 20px 0;
  }

  .service-row__index,
  .service-row p,
  .service-row a,
  .service-row__note {
    grid-column: auto;
  }

  .route-step::after {
    display: none;
  }

  .hero__side,
  .quote-panel,
  .request-form,
  .faq-list details,
  .rate-board__item {
    padding: 20px;
  }

  .footer-main {
    display: grid;
    justify-content: stretch;
  }
}
