﻿:root {
  --blue: #102a43;
  --green: #0f766e;
  --yellow: #f59e0b;
  --concrete: #e5e7eb;
  --bg: #f8fafc;
  --white: #ffffff;
  --text: #243b53;
  --muted: #627d98;
  --line: #d9e2ec;
  --soft-green: #e6fffa;
  --soft-yellow: #fffbeb;
  --danger: #b91c1c;
  --shadow: 0 16px 34px rgba(16, 42, 67, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}

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

a {
  color: var(--green);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  background: var(--blue);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 6px;
  z-index: 20;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
}

.header-inner,
.container,
.section-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.header-inner {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue);
  font-weight: 800;
  letter-spacing: 0;
  font-size: 1.12rem;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--green));
  font-size: 0.82rem;
}

.main-nav {
  display: none;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.main-nav a {
  color: var(--blue);
  font-size: 0.94rem;
  font-weight: 650;
  padding: 9px 10px;
  border-radius: 6px;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  background: var(--soft-green);
  text-decoration: none;
}

.header-cta {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 15px;
  border-radius: 7px;
  border: 1px solid transparent;
  background: var(--green);
  color: var(--white);
  font-weight: 750;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover {
  background: #0b625c;
  color: var(--white);
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(15, 118, 110, 0.18);
}

.btn:active {
  transform: translateY(1px);
}

.btn-secondary {
  background: var(--white);
  color: var(--blue);
  border-color: var(--line);
}

.btn-secondary:hover {
  background: #f1f5f9;
  color: var(--blue);
  box-shadow: none;
}

.btn-warning {
  background: var(--yellow);
  color: #3b2600;
}

.btn-warning:hover {
  background: #d97706;
  color: #231600;
}

.mobile-nav {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 0 12px;
}

.mobile-nav a {
  flex: 0 0 auto;
  color: var(--blue);
  background: #f1f5f9;
  border: 1px solid var(--line);
  padding: 8px 10px;
  border-radius: 7px;
  font-size: 0.9rem;
  font-weight: 650;
}

.hero {
  position: relative;
  color: var(--white);
  min-height: 540px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(16, 42, 67, 0.96), rgba(16, 42, 67, 0.72), rgba(15, 118, 110, 0.38)),
    url("https://images.unsplash.com/photo-1503387762-592deb58ef4e?auto=format&fit=crop&w=1600&q=80") center/cover;
}

.hero .container {
  padding: 80px 0 64px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: #d1fae5;
  font-weight: 750;
  font-size: 0.9rem;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 3px;
  background: var(--yellow);
  border-radius: 999px;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  color: inherit;
  font-size: clamp(2.18rem, 8vw, 4.9rem);
  line-height: 1.02;
  letter-spacing: 0;
  max-width: 880px;
}

.hero p {
  max-width: 760px;
  margin: 18px 0 0;
  color: #e2e8f0;
  font-size: clamp(1rem, 3.7vw, 1.25rem);
}

.hero-actions,
.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
  color: #e2e8f0;
  font-size: 0.92rem;
}

.trust-strip span {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(255, 255, 255, 0.08);
}

.section {
  padding: 58px 0;
}

.section-white {
  background: var(--white);
}

.section-muted {
  background: #eef2f7;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.section-head h2,
.content h2,
.calculator-shell h2,
.page-section h2 {
  color: var(--blue);
  font-size: clamp(1.55rem, 5vw, 2.3rem);
  line-height: 1.12;
  margin: 0;
}

.section-head p,
.page-hero p,
.lead {
  margin: 0;
  color: var(--muted);
  max-width: 760px;
}

.search-panel {
  margin-top: -42px;
  position: relative;
  z-index: 2;
}

.search-box {
  background: var(--white);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
}

.search-box label {
  display: block;
  color: var(--blue);
  font-weight: 750;
  margin-bottom: 8px;
}

.search-box input,
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  background: var(--white);
  border-radius: 7px;
  min-height: 44px;
  padding: 10px 12px;
  color: var(--blue);
  font: inherit;
}

.search-box input:focus,
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 3px solid rgba(15, 118, 110, 0.18);
  border-color: var(--green);
}

.search-results {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.search-results a {
  display: none;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--blue);
  background: #f8fafc;
  font-weight: 650;
}

.search-results a.is-visible {
  display: block;
}

.grid {
  display: grid;
  gap: 16px;
}

.grid-2,
.grid-3,
.grid-4 {
  grid-template-columns: 1fr;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  min-height: 100%;
}

.card:hover {
  box-shadow: 0 14px 28px rgba(16, 42, 67, 0.08);
}

.card-kicker {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.card h3,
.card h2 {
  color: var(--blue);
  margin: 8px 0 8px;
  font-size: 1.18rem;
  line-height: 1.2;
}

.card p {
  color: var(--muted);
  margin: 0 0 14px;
}

.metric-card {
  border-left: 4px solid var(--green);
}

.cost-range {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 2px 0 12px;
  padding: 7px 10px;
  border-radius: 7px;
  background: var(--soft-yellow);
  color: #5f3900;
  border: 1px solid #f8d67a;
  font-weight: 850;
  font-size: 0.96rem;
}

.card .cost-range {
  color: #5f3900;
}

.cost-note {
  margin: 16px 0 0;
  padding: 13px 15px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #f8fafc;
  color: var(--muted);
  font-size: 0.94rem;
}

.methodology-link {
  margin-top: 10px;
}

.trust-comparison {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.trust-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  min-height: 100%;
}

.trust-card h3 {
  color: var(--blue);
  margin: 0 0 12px;
  font-size: 1.15rem;
}

.trust-card ul {
  margin: 0;
  padding-left: 20px;
  color: var(--text);
}

.trust-card li + li {
  margin-top: 8px;
}

.trust-card-positive {
  border-left: 4px solid var(--green);
}

.trust-card-limited {
  border-left: 4px solid var(--yellow);
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.price-table th,
.price-table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.price-table th {
  background: #edf2f7;
  color: var(--blue);
}

.notice,
.technical-warning,
.ad-slot {
  border-radius: 8px;
  padding: 16px;
}

.notice {
  border: 1px solid #f8d67a;
  background: var(--soft-yellow);
  color: #5f3900;
}

.technical-warning {
  border: 1px solid #99f6e4;
  background: var(--soft-green);
  color: #134e4a;
}

.ad-slot {
  border: 1px dashed #cbd5e1;
  color: var(--muted);
  background: #f8fafc;
  min-height: 88px;
  display: grid;
  place-items: center;
  font-size: 0.9rem;
  text-align: center;
}

.page-hero {
  background: var(--blue);
  color: var(--white);
  padding: 48px 0;
}

.page-hero h1 {
  max-width: 900px;
}

.page-hero p {
  margin-top: 14px;
  color: #d9e2ec;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 16px;
  font-size: 0.9rem;
  color: #b6c5d6;
}

.breadcrumbs a {
  color: #d1fae5;
}

.breadcrumbs span::before {
  content: "/";
  margin-right: 7px;
  color: #9fb3c8;
}

.page-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding: 42px 0 64px;
}

.content {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
}

.content h2 {
  margin-top: 28px;
}

.content h2:first-child {
  margin-top: 0;
}

.content h3 {
  color: var(--blue);
  margin: 22px 0 8px;
}

.content p,
.content li {
  color: var(--text);
}

.content ul,
.content ol {
  padding-left: 20px;
}

.side-panel {
  display: grid;
  gap: 14px;
  align-self: start;
}

.calculator-shell {
  display: grid;
  gap: 18px;
}

.calculator-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}

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

.field label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  color: var(--blue);
  font-weight: 750;
  margin-bottom: 6px;
}

.field small {
  color: var(--muted);
  font-weight: 500;
}

.result-panel {
  background: var(--blue);
  color: var(--white);
  border-radius: 8px;
  padding: 18px;
  min-height: 170px;
}

.result-panel h2,
.result-panel h3 {
  color: var(--white);
  margin: 0 0 12px;
  font-size: 1.25rem;
}

.result-grid {
  display: grid;
  gap: 10px;
}

.result-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  padding-bottom: 8px;
}

.result-item strong {
  font-size: 1.08rem;
  color: #d1fae5;
  text-align: right;
}

.assumptions {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
}

.assumptions h2,
.assumptions h3 {
  margin-top: 0;
  color: var(--blue);
  font-size: 1.1rem;
}

.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 16px;
}

.faq details + details {
  margin-top: 10px;
}

.faq summary {
  color: var(--blue);
  font-weight: 800;
  cursor: pointer;
}

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

.form-success {
  display: none;
  padding: 14px;
  border-radius: 8px;
  background: var(--soft-green);
  color: #134e4a;
  border: 1px solid #99f6e4;
}

.form-success.is-visible {
  display: block;
}

.footer {
  background: var(--blue);
  color: #d9e2ec;
  padding: 44px 0 22px;
}

.footer a {
  color: #d1fae5;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.footer h2,
.footer h3 {
  color: var(--white);
  margin: 0 0 10px;
  font-size: 1rem;
}

.footer p,
.footer li {
  color: #bcccdc;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 7px;
}

.footer-bottom {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.88rem;
  color: #bcccdc;
}

.legal-list {
  display: grid;
  gap: 14px;
}

@media (min-width: 720px) {
  .main-nav,
  .header-cta {
    display: flex;
  }

  .mobile-nav {
    display: none;
  }

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

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

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

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

  .search-box {
    padding: 22px;
  }

  .content,
  .calculator-card {
    padding: 26px;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}

@media (min-width: 960px) {
  .grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .page-layout {
    grid-template-columns: minmax(0, 1fr) 330px;
    align-items: start;
  }

  .calculator-shell {
    grid-template-columns: minmax(0, 1fr) 380px;
    align-items: start;
  }

  .result-panel,
  .side-panel {
    position: sticky;
    top: 88px;
  }
}

