:root {
  --blue-900: #08345d;
  --blue-800: #0b4e86;
  --blue-700: #0d5d9f;
  --blue-100: #e7f1f8;
  --blue-50: #f4f9fd;
  --green-700: #617c35;
  --green-600: #6c873e;
  --green-100: #eef4e7;
  --basicare-navy: #010158;
  --basicare-orange: #e94601;
  --basicare-plum: #5b1c36;
  --ink: #101820;
  --muted: #536373;
  --line: #d8e3ec;
  --surface: #ffffff;
  --soft: #f7fafc;
  --shadow: 0 16px 40px rgba(8, 52, 93, 0.12);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
  letter-spacing: 0;
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 30;
  padding: 10px 14px;
  color: #ffffff;
  background: var(--blue-900);
  border-radius: var(--radius);
  transition: top 160ms ease;
}

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

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

.nav-shell {
  width: min(var(--max), calc(100% - 32px));
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 220px;
}

.brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.brand-text {
  display: grid;
  gap: 1px;
}

.brand-name {
  color: var(--blue-900);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.1;
}

.brand-subtitle {
  color: var(--green-700);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--blue-900);
  align-items: center;
  justify-content: center;
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex: 1;
  flex-wrap: nowrap;
}

.main-nav a {
  color: var(--blue-900);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  line-height: 1;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a[aria-current="page"] {
  color: var(--green-700);
}

.main-nav .button-primary,
.main-nav .button-green,
.main-nav .button-primary:hover,
.main-nav .button-primary:focus-visible,
.main-nav .button-green:hover,
.main-nav .button-green:focus-visible {
  color: #ffffff;
}

.nav-cta.button-primary,
.nav-cta.button-green {
  margin-left: 0;
  color: #ffffff !important;
}

.nav-cta.button-primary svg,
.nav-cta.button-green svg {
  color: #ffffff;
}

.nav-cta.button-secondary {
  margin-left: 0;
  color: var(--blue-900);
}

.nav-more {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-more-toggle {
  min-height: 38px;
  padding: 10px 13px;
  color: var(--blue-900);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.nav-more-toggle::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.nav-more-toggle:hover,
.nav-more-toggle:focus-visible,
.nav-more.is-open .nav-more-toggle {
  color: var(--green-700);
  border-color: #c8d8b8;
}

.nav-more-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 30;
  display: none;
  min-width: 238px;
  padding: 10px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.nav-more.is-open .nav-more-menu {
  display: grid;
  gap: 2px;
}

.nav-more-menu a {
  padding: 11px 12px;
  border-radius: var(--radius);
  line-height: 1.2;
}

.nav-more-menu a:hover,
.nav-more-menu a:focus-visible,
.nav-more-menu a[aria-current="page"] {
  color: var(--green-700);
  background: var(--green-100);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.main-nav .button {
  min-height: 44px;
  padding: 12px 16px;
  font-size: 14px;
}

.button svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

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

.button-basicare {
  color: #ffffff;
  background: var(--basicare-orange);
  box-shadow: 0 10px 24px rgba(233, 70, 1, 0.2);
}

.button-basicare:hover,
.button-basicare:focus-visible {
  color: #ffffff;
  box-shadow: 0 16px 30px rgba(233, 70, 1, 0.24);
}

.button-primary {
  color: #ffffff;
  background: var(--blue-700);
  box-shadow: 0 12px 22px rgba(13, 93, 159, 0.24);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--blue-800);
}

.button-secondary {
  color: var(--blue-900);
  background: #ffffff;
  border-color: var(--line);
  box-shadow: 0 10px 20px rgba(8, 52, 93, 0.08);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: #a8c4d8;
}

.button-green {
  color: #ffffff;
  background: var(--green-700);
  box-shadow: 0 12px 22px rgba(97, 124, 53, 0.2);
}

.page-section {
  padding: 64px 0;
}

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

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

.hero {
  padding: 42px 0 26px;
  background:
    linear-gradient(90deg, #ffffff 0%, rgba(255,255,255,0.96) 38%, rgba(244,249,253,0.78) 72%, #f4f9fd 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.9fr);
  gap: 48px;
  align-items: center;
}

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

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

h1 {
  margin-bottom: 20px;
  color: var(--blue-900);
  font-size: clamp(40px, 4.4vw, 58px);
  line-height: 1.02;
  letter-spacing: 0;
}

.page-hero h1 {
  font-size: clamp(38px, 4.4vw, 60px);
}

h2 {
  margin-bottom: 16px;
  color: var(--blue-900);
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  color: var(--blue-900);
  font-size: 20px;
  line-height: 1.24;
  letter-spacing: 0;
}

.lead {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: clamp(18px, 1.8vw, 21px);
  line-height: 1.55;
}

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

.section-intro p {
  color: var(--muted);
  font-size: 18px;
}

.hero-actions,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.cta-row-spaced {
  margin-top: 28px;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.proof-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  min-height: 66px;
  padding: 14px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.proof-icon,
.card-icon {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: var(--blue-700);
  background: var(--blue-100);
  border-radius: var(--radius);
}

.proof-icon svg,
.card-icon svg {
  width: 18px;
  height: 18px;
}

.proof-item strong {
  display: block;
  color: var(--blue-900);
  font-size: 14px;
  line-height: 1.22;
}

.proof-item > span:last-child {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.proof-item .proof-icon {
  color: var(--blue-700);
  font-size: initial;
  line-height: 1;
}

.media-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media {
  aspect-ratio: 1.18 / 1;
}

.hero-media img {
  object-position: 54% 50%;
}

.services-grid,
.location-grid,
.contact-grid,
.steps-grid,
.split-grid,
.value-grid {
  display: grid;
  gap: 18px;
}

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

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

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

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

.split-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 54px;
}

.card,
.location-card,
.step-card,
.contact-card {
  padding: 24px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.card p,
.location-card p,
.step-card p,
.contact-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.card .card-icon {
  margin-bottom: 18px;
}

.location-card {
  min-height: 174px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.location-card:hover,
.location-card:focus-visible {
  border-color: #a8c4d8;
  box-shadow: 0 14px 26px rgba(8, 52, 93, 0.1);
  transform: translateY(-2px);
}

.location-card span {
  color: var(--green-700);
  font-size: 14px;
  font-weight: 800;
}

.step-number {
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: var(--green-700);
  border-radius: 50%;
  font-weight: 850;
}

.callout {
  padding: 42px;
  color: #ffffff;
  background: var(--blue-900);
  border-radius: var(--radius);
}

.callout h2,
.callout p {
  color: #ffffff;
}

.callout p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.82);
}

.callout .button-secondary {
  color: var(--blue-900);
  border-color: transparent;
}

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

.detail-list li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  color: var(--muted);
}

.detail-list li > span {
  min-width: 0;
}

.detail-list li::before {
  content: "";
  width: 9px;
  height: 9px;
  margin-top: 8px;
  background: var(--green-700);
  border-radius: 50%;
  box-shadow: 0 0 0 6px var(--green-100);
}

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

.pricing-card {
  display: flex;
  min-height: 100%;
  padding: 28px;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(8, 52, 93, 0.08);
}

.pricing-card.featured {
  border-color: rgba(97, 124, 53, 0.45);
  box-shadow: 0 20px 46px rgba(8, 52, 93, 0.14);
}

.plan-label {
  color: var(--green-700);
  font-size: 14px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plan-price {
  margin: 14px 0 8px;
  color: var(--blue-900);
  font-size: clamp(34px, 5vw, 48px);
  font-weight: 900;
  line-height: 1;
}

.plan-price span {
  color: var(--muted);
  font-size: 15px;
  font-weight: 800;
}

.plan-summary {
  margin-bottom: 0;
  color: var(--muted);
}

.pricing-card .detail-list {
  margin-bottom: 26px;
}

.pricing-card .button {
  margin-top: auto;
}

.partner-strip {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 34px;
  align-items: center;
}

.partner-logo-panel {
  padding: 30px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 32px rgba(8, 52, 93, 0.08);
}

.partner-logo-panel img {
  width: min(420px, 100%);
  height: auto;
  margin-bottom: 22px;
}

.benefit-band {
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue-900), var(--basicare-navy));
}

.benefit-band h2,
.benefit-band h3,
.benefit-band p,
.benefit-band li {
  color: #ffffff;
}

.benefit-band .wide-panel h3 {
  color: var(--blue-900);
}

.benefit-band .wide-panel p,
.benefit-band .wide-panel li {
  color: var(--muted);
}

.benefit-hero .hero-grid {
  align-items: center;
}

.benefit-hero .hero-copy {
  max-width: 780px;
}

.benefit-hero .lead {
  color: var(--muted);
}

.benefit-hero .partner-logo-panel {
  align-self: center;
}

.benefit-hero .partner-logo-panel img {
  display: block;
  width: min(360px, 100%);
  margin: 0 auto 18px;
}

.promo-code {
  display: inline-flex;
  margin: 16px 0 6px;
  padding: 12px 18px;
  color: var(--basicare-navy);
  background: #ffffff;
  border: 2px dashed rgba(233, 70, 1, 0.55);
  border-radius: var(--radius);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.price-compare {
  display: flex;
  gap: 14px;
  align-items: baseline;
  flex-wrap: wrap;
}

.price-compare del {
  color: rgba(255, 255, 255, 0.68);
  font-size: 30px;
  font-weight: 800;
}

.price-compare strong {
  color: #ffffff;
  font-size: clamp(42px, 6vw, 64px);
  line-height: 1;
}

.benefit-hero .price-compare del {
  color: var(--muted);
}

.benefit-hero .price-compare strong {
  color: var(--green-700);
}

.disclaimer {
  padding: 18px;
  color: var(--muted);
  background: var(--blue-50);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 14px;
}

.basicare-link {
  color: var(--green-700);
  font-weight: 850;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.mini-panel {
  padding: 26px;
  background: var(--blue-50);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.mini-panel strong {
  color: var(--blue-900);
}

.panel-heading-spaced {
  margin-top: 24px;
}

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

.contact-card a {
  color: var(--blue-800);
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.site-footer {
  padding: 44px 0 28px;
  color: rgba(255,255,255,0.78);
  background: var(--blue-900);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr) minmax(0, 0.8fr);
  gap: 32px;
}

.footer-logo {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 14px;
}

.footer-logo img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  background: #ffffff;
  border-radius: 50%;
}

.footer-logo strong {
  display: block;
  color: #ffffff;
  font-size: 18px;
}

.footer-logo span {
  color: rgba(255,255,255,0.72);
  font-size: 13px;
}

.site-footer h3 {
  color: #ffffff;
  font-size: 16px;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links a {
  color: rgba(255,255,255,0.78);
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #ffffff;
}

.footer-bottom {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.62);
  font-size: 13px;
}

.page-hero {
  padding: 60px 0 46px;
  background: linear-gradient(135deg, #ffffff 0%, #f4f9fd 100%);
  border-bottom: 1px solid var(--line);
}

.page-hero .hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
}

.page-hero .hero-media {
  aspect-ratio: 1.35 / 1;
}

.breadcrumb {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumb a {
  color: var(--blue-800);
  font-weight: 750;
  text-decoration: none;
}

.wide-panel {
  padding: 34px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.legal-content {
  max-width: 820px;
}

.legal-content h2 {
  margin-top: 34px;
  font-size: 28px;
}

.legal-content h3 {
  margin-top: 24px;
}

.legal-content ul {
  margin: 0 0 22px;
  padding-left: 22px;
  color: var(--muted);
}

.legal-content li {
  margin-bottom: 8px;
}

@media (max-width: 980px) {
  .nav-shell {
    min-height: 74px;
  }

  .nav-toggle {
    display: inline-flex;
  }

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

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

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

  .nav-more {
    display: block;
  }

  .nav-more-toggle {
    display: none;
  }

  .nav-more-menu,
  .nav-more.is-open .nav-more-menu {
    position: static;
    display: grid;
    min-width: 0;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .nav-more-menu a {
    padding: 12px 10px;
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 8px;
    width: 100%;
  }

  .hero-grid,
  .page-hero .hero-grid,
  .split-grid,
  .partner-strip {
    grid-template-columns: 1fr;
  }

  .pricing-benefits {
    gap: 18px;
  }

  .pricing-benefits .lead {
    margin-bottom: 0;
  }

  .hero {
    padding-top: 42px;
  }

  .hero-media,
  .page-hero .hero-media {
    aspect-ratio: 16 / 9;
  }

  .services-grid,
  .location-grid,
  .steps-grid,
  .contact-grid,
  .pricing-grid,
  .value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .brand {
    min-width: 0;
  }

  .brand img {
    width: 48px;
    height: 48px;
  }

  .brand-name {
    font-size: 15px;
  }

  .brand-subtitle {
    font-size: 10px;
  }

  .page-section {
    padding: 46px 0;
  }

  .hero-proof,
  .services-grid,
  .location-grid,
  .steps-grid,
  .contact-grid,
  .pricing-grid,
  .value-grid {
    grid-template-columns: 1fr;
  }

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

  .button {
    width: 100%;
    white-space: normal;
    line-height: 1.2;
  }

  .callout,
  .wide-panel {
    padding: 28px;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
