:root {
  --mss-bg: #ffffff;
  --mss-soft: #f5f8fb;
  --mss-text: #17202a;
  --mss-muted: #5b6673;
  --mss-blue: #0b4f6c;
  --mss-blue-dark: #083d54;
  --mss-border: #dfe7ee;
  --mss-shadow: 0 18px 45px rgba(11, 79, 108, 0.12);
  --mss-radius: 8px;
  --mss-container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--mss-text);
  background: var(--mss-bg);
  line-height: 1.6;
  font-size: 16px;
}

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

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(11, 79, 108, 0.28);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 100;
  transform: translateY(-140%);
  padding: 10px 14px;
  border-radius: var(--mss-radius);
  background: var(--mss-blue);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--mss-border);
}

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

.logo-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--mss-text);
  text-decoration: none;
  font-weight: 800;
  font-size: 16px;
  flex: 0 0 auto;
}

.logo-link img {
  width: 44px;
  max-width: 44px;
  height: auto;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 42px;
  border: 1px solid var(--mss-border);
  border-radius: var(--mss-radius);
  background: #fff;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--mss-text);
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.25vw, 18px);
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: clamp(14px, 1.18vw, 17px);
  font-weight: 700;
}

.nav-item {
  position: relative;
}

.nav-link,
.dropdown-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--mss-text);
  text-decoration: none;
  font: inherit;
  cursor: pointer;
  white-space: nowrap;
}

.nav-link:hover,
.dropdown-button:hover,
.nav-link.is-active,
.dropdown-button.is-active,
.nav-link[aria-current="page"] {
  color: var(--mss-blue);
}

.dropdown-button::after {
  content: "+";
  font-size: 18px;
  line-height: 1;
  transform: translateY(-1px);
}

.nav-item.is-open > .dropdown-button::after {
  content: "-";
}

.dropdown {
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  min-width: 248px;
  padding: 0;
  margin: 0;
  list-style: none;
  background: #fff;
  border: 1px solid var(--mss-border);
  box-shadow: var(--mss-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.dropdown--wide {
  min-width: 300px;
}

@media (hover: hover) and (pointer: fine) {
  .nav-item:hover > .dropdown,
  .nav-item:focus-within > .dropdown,
  .nav-item.is-open > .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

.dropdown a {
  display: block;
  padding: 13px 18px;
  color: var(--mss-text);
  text-decoration: none;
  border-bottom: 1px solid var(--mss-border);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  background: #fff;
}

.dropdown li:last-child a {
  border-bottom: 0;
}

.dropdown a:hover,
.dropdown a.is-active,
.dropdown a[aria-current="page"] {
  color: var(--mss-blue);
  background: var(--mss-soft);
}

.phone-pill {
  transition: transform 160ms ease, box-shadow 160ms ease;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  border: 1px solid var(--mss-border);
  border-radius: var(--mss-radius);
  background: #fff;
  color: var(--mss-blue);
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(11, 79, 108, 0.08);
  white-space: nowrap;
}

.phone-pill:hover,
.hover-button:hover {
  transform: scale(1.04);
  box-shadow: 0 14px 28px rgba(11, 79, 108, 0.16);
}

.breadcrumbs {
  padding: 16px 0;
  font-size: 14px;
  color: var(--mss-muted);
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.breadcrumbs li::after {
  content: "/";
  margin-left: 6px;
  color: #95a1ad;
}

.breadcrumbs li:last-child::after {
  content: "";
  margin: 0;
}

.breadcrumbs a {
  color: var(--mss-blue);
  text-decoration: none;
  font-weight: 700;
}

.hero {
  min-height: 540px;
  display: flex;
  align-items: center;
  padding: 64px 0;
  background:
    linear-gradient(120deg, rgba(245, 248, 251, 0.96), rgba(255, 255, 255, 0.9)),
    url("https://images.unsplash.com/photo-1503387762-592deb58ef4e?auto=format&fit=crop&w=1600&q=80") center / cover;
}

.hero--small {
  min-height: 380px;
}

.hero-grid,
.two-col,
.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: center;
}

.content-grid {
  align-items: start;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(42px, 4.5vw, 58px);
  line-height: 1.05;
}

.hero p {
  max-width: 660px;
  margin: 0 0 28px;
  color: var(--mss-muted);
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.45;
}

.hero-note {
  max-width: 430px;
  padding: 22px;
  border-left: 4px solid var(--mss-blue);
  background: rgba(255, 255, 255, 0.72);
}

.hero-note p {
  margin: 0;
  font-size: 15px;
}

.hero-note strong {
  display: block;
  margin-bottom: 6px;
  color: var(--mss-text);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  transition: transform 160ms ease, box-shadow 160ms ease;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: var(--mss-radius);
  background: var(--mss-blue);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid var(--mss-blue);
  cursor: pointer;
  text-align: center;
}

.btn--light {
  background: #fff;
  color: var(--mss-blue);
  border-color: var(--mss-border);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(11, 79, 108, 0.16);
}

.stats {
  padding: 34px 0;
  background: var(--mss-blue);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 18px;
}

.stat-item {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--mss-radius);
  background: rgba(255, 255, 255, 0.08);
  text-align: center;
  transition: opacity 650ms ease, transform 650ms ease;
}

.stat-label {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.stat-number {
  margin: 0;
  color: #fff;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1;
  font-weight: 800;
}

.section {
  scroll-margin-top: 88px;
  padding: 64px 0;
  background: #fff;
}

.section--soft {
  background: var(--mss-soft);
}

.section--compact {
  padding: 44px 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--mss-blue);
  font-weight: 800;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.section h2 {
  margin: 0 0 18px;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.18;
}

.section h3 {
  color: var(--mss-text);
}

.section-lead {
  max-width: 800px;
  color: var(--mss-muted);
  font-size: 16px;
}

.text-block {
  color: var(--mss-muted);
}

.text-block p {
  margin: 0 0 16px;
}

.text-block p:last-child {
  margin-bottom: 0;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 28px;
  align-items: stretch;
}

.card {
  height: 100%;
  min-height: 220px;
  padding: 22px;
  border: 1px solid var(--mss-border);
  border-radius: var(--mss-radius);
  background: #fff;
  display: flex;
  flex-direction: column;
}

.card--highlight {
  border-color: rgba(11, 79, 108, 0.26);
  box-shadow: 0 12px 30px rgba(11, 79, 108, 0.08);
}

.card h3 {
  margin: 0 0 12px;
  font-size: 18px;
  line-height: 1.3;
}

.card p {
  margin: 0;
  color: var(--mss-muted);
  font-size: 15px;
  line-height: 1.55;
}

.card-link {
  margin-top: auto;
  padding-top: 18px;
  color: var(--mss-blue);
  text-decoration: none;
  font-weight: 800;
}

.check-list,
.service-list,
.link-list,
.steps-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.service-list li,
.steps-list li {
  margin: 0;
  padding: 16px;
  border: 1px solid var(--mss-border);
  border-radius: var(--mss-radius);
  background: #fff;
  font-weight: 700;
}

.service-list li,
.steps-list li {
  color: var(--mss-muted);
  font-weight: 600;
}

.service-list strong,
.steps-list strong {
  display: block;
  margin-bottom: 4px;
  color: var(--mss-text);
}

.link-list a {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 16px;
  border: 1px solid var(--mss-border);
  border-radius: var(--mss-radius);
  background: #fff;
  color: var(--mss-text);
  text-decoration: none;
  font-weight: 800;
}

.link-list a::after {
  content: ">";
  color: var(--mss-blue);
}

.link-list a:hover {
  color: var(--mss-blue);
  background: var(--mss-soft);
}

.blue-box {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  padding: 34px;
  border-radius: var(--mss-radius);
  background: var(--mss-blue);
  color: #fff;
}

.blue-box .eyebrow,
.blue-box p,
.blue-box h2 {
  color: #fff;
}

.blue-box p {
  margin-top: 0;
}

.contact-grid {
  display: grid;
  gap: 12px;
}

.contact-card {
  display: grid;
  gap: 3px;
  padding: 16px;
  border: 1px solid var(--mss-border);
  border-radius: var(--mss-radius);
  background: #fff;
  color: var(--mss-text);
  text-decoration: none;
}

.contact-card span {
  color: var(--mss-muted);
  overflow-wrap: anywhere;
}

.form-card {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--mss-border);
  border-radius: var(--mss-radius);
  background: #fff;
  box-shadow: var(--mss-shadow);
}

.form-card label {
  font-weight: 700;
}

.form-card input,
.form-card textarea,
.form-card select {
  width: 100%;
  margin-top: 7px;
  padding: 13px 14px;
  border: 1px solid var(--mss-border);
  border-radius: var(--mss-radius);
  font: inherit;
  color: var(--mss-text);
  background: #fff;
}

.form-card textarea {
  resize: vertical;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--mss-border);
  border-radius: var(--mss-radius);
  background: #fff;
}

.price-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  background: #fff;
}

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

.price-table th {
  color: var(--mss-text);
  background: var(--mss-soft);
  font-weight: 800;
}

.price-table tr:last-child td {
  border-bottom: 0;
}

.faq {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.faq details {
  border: 1px solid var(--mss-border);
  border-radius: var(--mss-radius);
  background: #fff;
  padding: 16px;
}

.faq summary {
  cursor: pointer;
  font-weight: 800;
}

.faq p {
  color: var(--mss-muted);
}

.site-footer {
  padding: 30px 0;
  border-top: 1px solid var(--mss-border);
  background: #fff;
}

.footer-inner {
  display: grid;
  justify-items: center;
  gap: 6px;
  text-align: center;
  color: var(--mss-muted);
  font-weight: 600;
}

.footer-inner p {
  margin: 0;
}

.footer-inner p:first-child {
  color: var(--mss-text);
}

.footer-inner a {
  margin-top: 8px;
  color: var(--mss-blue);
  text-decoration: none;
}

@media (max-width: 1020px) {
  .navbar {
    gap: 12px;
  }

  .logo-link span {
    display: none;
  }
}

@media (max-width: 900px) {
  .navbar {
    flex-wrap: wrap;
    padding: 10px 0;
  }

  .logo-link span {
    display: inline;
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    flex: 1 0 100%;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 8px 0 12px;
    border-top: 1px solid var(--mss-border);
    font-size: 16px;
  }

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

  .nav-item {
    width: 100%;
  }

  .nav-link,
  .dropdown-button {
    width: 100%;
    justify-content: space-between;
    padding: 12px 0;
    min-height: auto;
  }

  .dropdown {
    position: static;
    min-width: 0;
    box-shadow: none;
    border: 1px solid var(--mss-border);
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-item.is-open > .dropdown {
    display: block;
  }

  .dropdown a {
    padding: 13px 16px;
    font-size: 13px;
  }

  .phone-pill {
    width: fit-content;
    margin-top: 10px;
  }

  .hero {
    padding: 50px 0;
    min-height: 460px;
  }

  .hero--small {
    min-height: 340px;
  }

  .section {
    padding: 48px 0;
  }

  .blue-box {
    padding: 24px;
  }
}

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

  .hero {
    min-height: auto;
    padding: 44px 0;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero p {
    font-size: 18px;
  }

  .hero-grid,
  .two-col,
  .content-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .button-row,
  .button-row .btn {
    width: 100%;
  }

  .blue-box {
    padding: 22px;
  }
}

.mss-hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.form-message {
  padding: 14px 16px;
  border-radius: 8px;
  font-weight: 700;
  margin-bottom: 14px;
  border: 1px solid #dfe7ee;
}
.form-message--success {
  background: #eef9f1;
  color: #14532d;
  border-color: #b7e4c7;
}
.form-message--error {
  background: #fff1f2;
  color: #9f1239;
  border-color: #fecdd3;
}
