:root {
  --ink: #182230;
  --muted: #667085;
  --line: #d9e3e7;
  --paper: #ffffff;
  --soft: #f4faf8;
  --primary: #176b87;
  --primary-dark: #0f3443;
  --accent: #24a58f;
  --gold: #f3bc5e;
  --rose: #e86f83;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 5%, rgba(36, 165, 143, .18), transparent 25rem),
    radial-gradient(circle at 90% 0%, rgba(23, 107, 135, .14), transparent 25rem),
    linear-gradient(180deg, #fbfefd 0%, #f4f8fb 48%, #eef6f5 100%);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: #fbfefd;
  transition: opacity .4s ease, visibility .4s ease;
}

.site-loader span {
  width: 42px;
  height: 42px;
  border: 4px solid #dcebea;
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}

body.is-loaded .site-loader {
  opacity: 0;
  visibility: hidden;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.site-header {
  width: min(1180px, calc(100% - 32px));
  position: sticky;
  top: 16px;
  z-index: 50;
  margin: 16px auto 0;
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 12px 14px 12px 18px;
  border: 1px solid rgba(217, 227, 231, .9);
  border-radius: 8px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 18px 50px rgba(24, 34, 48, .09);
  backdrop-filter: blur(16px);
}

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

.brand__mark {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand strong {
  font-weight: 800;
}

.brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.main-nav a {
  padding: 10px 12px;
  color: #344054;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
}

.main-nav a:hover {
  background: #eff7f5;
  color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-login {
  color: var(--primary);
  font-weight: 800;
  text-decoration: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--primary);
}

.lp-btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.lp-btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.lp-btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 14px 26px rgba(23, 107, 135, .18);
}

.lp-btn-ghost {
  color: var(--primary);
  background: #fff;
  border-color: var(--line);
}

.hero-section,
.section,
.cta-section,
.stats-strip,
.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.hero-section {
  min-height: calc(100vh - 104px);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, .98fr);
  align-items: center;
  gap: 48px;
  padding: 56px 0 44px;
}

.eyebrow,
.section-heading span {
  display: inline-flex;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 14px 0 18px;
  color: var(--ink);
  font-size: clamp(42px, 6vw, 76px);
  line-height: .98;
  letter-spacing: 0;
  font-weight: 800;
}

.hero-copy p {
  max-width: 660px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #344054;
  background: rgba(255, 255, 255, .7);
  font-weight: 700;
}

.hero-visual {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(217, 227, 231, .92);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(23, 107, 135, .08), rgba(36, 165, 143, .16)),
    #ffffff;
  box-shadow: 0 24px 80px rgba(24, 34, 48, .11);
  overflow: hidden;
}

.hero-visual::before {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: rgba(36, 165, 143, .16);
  right: -90px;
  top: -70px;
}

.hero-illustration {
  width: min(86%, 520px);
  position: relative;
  z-index: 1;
}

.floating-card {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 15px;
  border: 1px solid rgba(217, 227, 231, .9);
  border-radius: 8px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 16px 38px rgba(24, 34, 48, .12);
  font-weight: 800;
}

.floating-card--top {
  top: 34px;
  left: 32px;
}

.floating-card--bottom {
  right: 34px;
  bottom: 34px;
}

.floating-card i,
.floating-card strong {
  color: var(--accent);
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--line);
  box-shadow: 0 16px 40px rgba(24, 34, 48, .07);
}

.stats-strip div {
  padding: 24px;
  background: #fff;
}

.stats-strip strong {
  display: block;
  color: var(--primary);
  font-size: 28px;
  font-weight: 800;
}

.stats-strip span {
  color: var(--muted);
  font-weight: 700;
}

.section {
  padding: 96px 0 0;
}

.section-heading {
  max-width: 760px;
}

.section-heading.center {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2,
.cta-section h2 {
  margin: 12px 0 14px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
  font-weight: 800;
}

.section-heading p,
.cta-section p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.service-card {
  min-height: 280px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(24, 34, 48, .07);
}

.service-card__icon {
  width: 56px;
  height: 56px;
  margin-bottom: 22px;
}

.service-card h3 {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 800;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(340px, .8fr);
  gap: 40px;
  align-items: center;
}

.feature-list {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.feature-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .72);
  color: #344054;
  font-weight: 700;
}

.feature-list i {
  color: var(--accent);
  margin-top: 3px;
}

.profile-panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff, #f5fbfa);
  box-shadow: 0 18px 54px rgba(24, 34, 48, .09);
}

.profile-panel img {
  display: block;
  width: min(100%, 360px);
  margin: 0 auto 22px;
}

.profile-panel span {
  color: var(--accent);
  font-weight: 800;
}

.profile-panel h3 {
  margin: 8px 0 12px;
  font-size: 24px;
  font-weight: 800;
}

.profile-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.facility-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 34px;
}

.facility-item {
  display: grid;
  gap: 10px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  text-align: center;
}

.facility-item i {
  color: var(--primary);
  font-size: 28px;
}

.facility-item strong {
  font-size: 18px;
}

.facility-item span {
  color: var(--muted);
  line-height: 1.55;
}

.cta-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .68fr);
  gap: 32px;
  align-items: center;
  margin-top: 96px;
  padding: 42px;
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(15, 52, 67, .96), rgba(23, 107, 135, .92)),
    url("../img/pattern-calm.svg") center / cover;
  box-shadow: 0 24px 70px rgba(24, 34, 48, .16);
}

.cta-section .eyebrow {
  color: #9df0df;
}

.cta-section p {
  color: rgba(255, 255, 255, .78);
}

.contact-card {
  display: grid;
  gap: 14px;
  padding: 22px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .2);
}

.contact-card div {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: rgba(255, 255, 255, .9);
  font-weight: 700;
}

.contact-card i {
  color: #9df0df;
  margin-top: 3px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 34px 0;
  color: var(--muted);
  font-weight: 700;
}

.site-footer a {
  color: var(--primary);
  text-decoration: none;
}

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

  .hero-visual {
    min-height: 460px;
  }

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

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .main-nav,
  .header-actions {
    width: 100%;
    display: none;
  }

  .main-nav {
    flex-direction: column;
    align-items: stretch;
    order: 3;
  }

  .header-actions {
    order: 4;
    flex-direction: column;
    align-items: stretch;
  }

  .site-header.is-open .main-nav,
  .site-header.is-open .header-actions {
    display: flex;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
    margin-left: auto;
  }

  .hero-section {
    padding-top: 44px;
  }

  .stats-strip,
  .facility-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .hero-section,
  .section,
  .cta-section,
  .stats-strip,
  .site-footer,
  .site-header {
    width: min(100% - 24px, 1180px);
  }

  .hero-copy h1 {
    font-size: 42px;
  }

  .hero-copy p,
  .section-heading p,
  .cta-section p {
    font-size: 16px;
  }

  .hero-visual {
    min-height: 360px;
  }

  .floating-card {
    position: relative;
    inset: auto;
    margin: 6px;
  }

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

  .cta-section {
    padding: 28px;
  }

  .site-footer {
    flex-direction: column;
  }
}
