:root {
  --bg: #ffffff;
  --bg-soft: #f5f7f8;
  --bg-tint: #eef5f4;
  --text: #172129;
  --muted: #5f6f78;
  --line: #dce5e7;
  --line-strong: #b8cbce;
  --teal: #007a78;
  --teal-dark: #005f5d;
  --teal-soft: #dff2f0;
  --gold: #b98500;
  --gold-soft: #fff3cf;
  --danger-soft: #fff7df;
  --footer: #172329;
  --shadow: 0 18px 50px rgba(25, 42, 48, 0.12);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--bg);
}

img,
svg {
  display: block;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 16px clamp(18px, 4vw, 54px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.site-header.compact {
  position: static;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.28rem;
  font-weight: 760;
  text-decoration: none;
  white-space: nowrap;
}

.logo-brand {
  min-width: 164px;
}

.brand-logo {
  width: 172px;
  max-width: 34vw;
  height: auto;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--teal-dark);
  font-size: 0.78rem;
  letter-spacing: 0;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.92rem;
  font-weight: 650;
}

.main-nav a {
  text-decoration: none;
  color: #263842;
}

.main-nav a:hover,
.text-link:hover {
  color: var(--teal);
}

.nav-lock {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.nav-lock svg,
.contact-list svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
}

.menu-button svg,
.button svg,
.service-rail svg,
.process-line svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--teal-dark);
  border-radius: 8px;
  background: var(--teal);
  color: #fff;
  font-size: 0.94rem;
  font-weight: 760;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(0, 122, 120, 0.18);
  cursor: pointer;
}

.button:hover {
  background: var(--teal-dark);
}

.main-nav .button,
.main-nav .button:hover {
  color: #fff;
}

.button-small {
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.86rem;
}

.section {
  padding: clamp(54px, 7vw, 92px) clamp(18px, 5vw, 72px);
}

.section-band {
  padding: clamp(52px, 7vw, 92px) clamp(18px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(238, 245, 244, 0.4), rgba(255, 255, 255, 0) 62%),
    #fff;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.hero.section-band {
  padding-top: clamp(42px, 5vw, 74px);
  padding-bottom: clamp(38px, 4vw, 62px);
}

.hero-copy {
  max-width: 650px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(2.7rem, 5vw, 5rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1rem;
  line-height: 1.22;
  letter-spacing: 0;
}

p {
  color: var(--muted);
  line-height: 1.66;
}

.hero-lead {
  max-width: 520px;
  margin-bottom: 14px;
  font-size: clamp(1.28rem, 2vw, 1.7rem);
  line-height: 1.34;
  color: #30414b;
}

.hero-subcopy {
  max-width: 560px;
  margin-bottom: 30px;
  font-size: 1rem;
}

.hero-bullets {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.hero-bullets span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #31464f;
  font-size: 0.86rem;
  font-weight: 760;
}

.hero-actions,
.legal-actions,
.form-footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}

.text-link {
  color: var(--teal-dark);
  font-weight: 760;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.source-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 38px 0 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
}

.source-strip div {
  padding: 18px;
  background: #fff;
}

.source-strip dt {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 760;
  text-transform: uppercase;
}

.source-strip dd {
  margin: 0;
  color: var(--text);
  font-weight: 760;
}

.hero-media {
  position: relative;
}

.hero-media img {
  width: 100%;
  min-height: 360px;
  max-height: 620px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto clamp(32px, 5vw, 54px);
  text-align: center;
}

.problem-section {
  background: #fff;
}

.focus-grid,
.support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
}

.focus-grid article,
.support-grid article,
.document-panel {
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 30px rgba(18, 42, 48, 0.06);
}

.focus-grid svg {
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  color: var(--teal);
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.focus-grid p,
.support-grid p {
  margin-bottom: 0;
}

.service-rail {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  max-width: 1240px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}

.service-rail article {
  min-height: 210px;
  padding: 28px 22px;
  border-right: 1px solid var(--line);
  text-align: center;
}

.service-rail article:last-child {
  border-right: 0;
}

.service-rail svg {
  width: 34px;
  height: 34px;
  margin: 0 auto 18px;
  color: var(--teal);
}

.service-rail p {
  margin-bottom: 0;
  font-size: 0.92rem;
}

.pricing-section {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.price-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1100px;
  margin: 0 auto 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}

.price-feature {
  padding: clamp(28px, 4vw, 44px);
  text-align: center;
  border-right: 1px solid var(--line);
}

.price-feature:last-child {
  border-right: 0;
}

.price-value {
  display: block;
  margin-bottom: 10px;
  color: var(--teal);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1;
  font-weight: 700;
}

.catalog-panel {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 16px 38px rgba(18, 42, 48, 0.07);
}

.service-accordion {
  padding: 0;
  overflow: hidden;
}

.service-accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: clamp(18px, 3vw, 28px);
  cursor: pointer;
  list-style: none;
}

.service-accordion summary::-webkit-details-marker {
  display: none;
}

.service-accordion summary strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
  font-size: 1.08rem;
}

.service-accordion summary small {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.service-accordion summary svg {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  color: var(--teal);
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 160ms ease;
}

.service-accordion[open] summary {
  border-bottom: 1px solid var(--line);
}

.service-accordion[open] summary svg {
  transform: rotate(180deg);
}

.service-accordion .catalog-header,
.service-accordion .filter-tabs,
.service-accordion .table-wrap {
  margin-left: clamp(18px, 3vw, 28px);
  margin-right: clamp(18px, 3vw, 28px);
}

.service-accordion .catalog-header {
  margin-top: clamp(18px, 3vw, 28px);
}

.service-accordion .table-wrap {
  margin-bottom: clamp(18px, 3vw, 28px);
}

.catalog-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 18px;
}

.catalog-header p {
  margin-bottom: 0;
}

.search-box {
  display: grid;
  gap: 8px;
  min-width: min(320px, 100%);
  font-size: 0.82rem;
  font-weight: 760;
  color: #344851;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  padding: 12px 13px;
  color: var(--text);
  background: #fff;
  font: inherit;
  font-size: 0.94rem;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(0, 122, 120, 0.2);
  outline-offset: 2px;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.filter-tabs button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  background: #fff;
  color: #334952;
  font-size: 0.82rem;
  font-weight: 760;
  cursor: pointer;
}

.filter-tabs button.active {
  border-color: var(--teal);
  background: var(--teal-soft);
  color: var(--teal-dark);
}

.table-wrap {
  max-height: 520px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 0.92rem;
}

th,
td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #f7fafb;
  color: #334952;
  font-size: 0.76rem;
  text-transform: uppercase;
}

tbody tr:last-child td {
  border-bottom: 0;
}

.amount-cell {
  text-align: right;
  white-space: nowrap;
  font-weight: 780;
}

.process-line {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.process-line li {
  position: relative;
  padding: 0 18px;
  text-align: center;
}

.process-line li::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line-strong);
}

.process-line span {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin: 0 auto 22px;
  border-radius: 999px;
  background: var(--teal);
  color: #fff;
  font-weight: 820;
}

.process-line p {
  margin-bottom: 0;
  font-size: 0.92rem;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(26px, 5vw, 72px);
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
}

.household-split {
  align-items: start;
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 32px;
  color: #30454f;
  line-height: 1.55;
  font-weight: 650;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: inset 0 0 0 5px var(--teal-soft);
}

.document-panel h3 {
  margin-bottom: 18px;
  font-size: 1.2rem;
}

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

.document-grid span {
  min-height: 52px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--bg-soft);
  color: #30454f;
  font-weight: 720;
}

.support-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(420px, 1.2fr);
  gap: clamp(26px, 5vw, 72px);
  align-items: start;
  max-width: 1280px;
  margin: 0 auto;
}

.support-copy {
  max-width: 520px;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(420px, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  max-width: 1260px;
  margin: 0 auto;
}

.contact-list {
  display: grid;
  gap: 15px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
  color: #32464f;
  font-weight: 680;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lead-form {
  display: grid;
  gap: 18px;
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 16px 38px rgba(18, 42, 48, 0.07);
}

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

.lead-form label span {
  color: #344851;
  font-size: 0.84rem;
  font-weight: 760;
}

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

.form-footer p {
  max-width: 340px;
  margin: 0;
  font-size: 0.86rem;
}

.form-result {
  padding: 14px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--teal-soft);
  color: var(--teal-dark);
  font-weight: 720;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(180px, 0.7fr) minmax(240px, 0.8fr);
  gap: 40px;
  padding: 42px clamp(18px, 5vw, 72px);
  background: var(--footer);
  color: #fff;
}

.site-footer h2 {
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.footer-logo {
  width: 178px;
  max-width: 100%;
  height: auto;
  margin-bottom: 18px;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.12));
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.78);
}

.site-footer nav {
  display: grid;
  gap: 10px;
  align-content: start;
}

.footer-contact {
  color: var(--gold-soft);
}

.footer-contact p {
  color: var(--gold-soft);
}

.legal-page {
  min-height: calc(100vh - 76px);
  background: var(--bg-soft);
}

.narrow {
  max-width: 1060px;
  margin: 0 auto;
}

.notice-panel {
  margin: 28px 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.notice-panel.hold {
  border-color: #ead27f;
  background: var(--danger-soft);
}

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

.business-details {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin: 26px 0;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.business-details p {
  margin: 0;
}

.legal-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.legal-grid li {
  margin-bottom: 10px;
  color: #465a63;
  line-height: 1.55;
}

@media (max-width: 1080px) {
  .hero,
  .split-section,
  .contact-section,
  .support-section {
    grid-template-columns: 1fr;
  }

  .hero-media img {
    min-height: 300px;
  }

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

  .service-rail article:nth-child(3) {
    border-right: 0;
  }

  .service-rail article:nth-child(n + 4) {
    border-top: 1px solid var(--line);
  }

  .process-line,
  .focus-grid,
  .support-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .process-line li {
    padding: 0;
  }
}

@media (max-width: 860px) {
  .menu-button {
    display: inline-flex;
  }

  .main-nav {
    position: absolute;
    left: 18px;
    right: 18px;
    top: calc(100% + 10px);
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
  }

  .main-nav.open,
  .main-nav.always-open {
    display: flex;
  }

  .main-nav a {
    padding: 12px;
  }

  .main-nav .button {
    margin-top: 8px;
  }

  .site-header.compact .main-nav {
    position: static;
    box-shadow: none;
    border: 0;
    padding: 0;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .price-strip,
  .field-pair,
  .legal-grid,
  .focus-grid,
  .support-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .price-feature,
  .price-feature:last-child {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .price-feature:last-child {
    border-bottom: 0;
  }

  .catalog-header {
    align-items: stretch;
    flex-direction: column;
  }

  .source-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 66px;
    padding: 12px 14px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .brand-logo {
    width: 140px;
    max-width: 46vw;
  }

  h1 {
    font-size: clamp(2.12rem, 9vw, 2.85rem);
    line-height: 1.04;
  }

  h2 {
    font-size: 1.9rem;
  }

  .section,
  .section-band {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero {
    gap: 22px;
  }

  .hero.section-band {
    padding-top: 24px;
    padding-bottom: 28px;
  }

  .hero-lead {
    font-size: 1.12rem;
  }

  .hero-bullets {
    margin-top: 20px;
  }

  .hero-media img {
    min-height: 170px;
    max-height: 220px;
  }

  .service-rail,
  .process-line,
  .document-grid {
    grid-template-columns: 1fr;
  }

  .service-rail article {
    min-height: auto;
    border-right: 0;
    border-top: 1px solid var(--line);
  }

  .service-rail article:first-child {
    border-top: 0;
  }

  .process-line li {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 10px 16px;
    text-align: left;
  }

  .process-line li::before {
    display: none;
  }

  .process-line span {
    grid-row: span 2;
    margin: 0;
  }

  .process-line h3 {
    margin-top: 5px;
  }
}
