:root {
  --navy-950: #0b1f3a;
  --navy-900: #102a4f;
  --navy-800: #1a3c6a;
  --navy-700: #1f4c89;
  --blue-500: #2b67b2;
  --blue-300: #dbe7f6;
  --slate-100: #f2f5f9;
  --slate-200: #e4eaf2;
  --slate-300: #d4dde9;
  --slate-500: #62728a;
  --slate-700: #31425d;
  --white: #ffffff;
  --shadow-lg: 0 30px 70px rgba(8, 24, 48, 0.18);
  --shadow-md: 0 18px 40px rgba(16, 42, 79, 0.12);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  color: var(--slate-700);
  background:
    radial-gradient(circle at top, rgba(31, 76, 137, 0.08), transparent 36%),
    linear-gradient(180deg, #f8fbff 0%, #eef3f8 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a.button {
  font: inherit;
}

img,
svg {
  display: block;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(212, 221, 233, 0.85);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--navy-900);
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  color: var(--navy-900);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.brand-copy small {
  color: var(--slate-500);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.site-nav a:not(.button-nav) {
  position: relative;
  color: var(--slate-700);
  font-size: 0.97rem;
  font-weight: 600;
}

.site-nav a:not(.button-nav)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 100%;
  height: 2px;
  background: var(--blue-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 0;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: var(--navy-900);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 700;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

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

.button-primary,
.button-nav {
  background: var(--navy-900);
  color: var(--white);
  box-shadow: 0 14px 28px rgba(16, 42, 79, 0.18);
}

.button-primary:hover,
.button-nav:hover,
.button-primary:focus-visible,
.button-nav:focus-visible {
  background: #16355f;
}

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.12);
}

.button-light {
  background: var(--white);
  color: var(--navy-900);
  box-shadow: none;
}

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(8, 24, 48, 0.95), rgba(23, 53, 94, 0.88)),
    radial-gradient(circle at 85% 10%, rgba(72, 130, 205, 0.28), transparent 22%),
    linear-gradient(180deg, rgba(14, 36, 65, 1) 0%, rgba(12, 31, 58, 1) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(7, 20, 39, 0.58), rgba(7, 20, 39, 0.1)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1440' height='720' viewBox='0 0 1440 720'%3E%3Cpath fill='%23ffffff' fill-opacity='0.06' d='M0 590l50-28 50-176 50 134 50-58 50 17 50-126 50-5 50-50 50 92 50-138 50 34 50-84 50 143 50 0 50-168 50 101 50-51 50-34 50 34 50-17 50-126 50 34 50 33 50-67 50 84 50-151 50 101 50-17 50 118 50-67 50 0v283H0z'/%3E%3C/svg%3E")
      center bottom / cover no-repeat;
  opacity: 0.9;
  pointer-events: none;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.45) 35%, black 100%);
  opacity: 0.15;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  gap: 38px;
  align-items: center;
  padding: 72px 0 82px;
}

.section-kicker {
  margin: 0 0 10px;
  color: var(--blue-500);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-kicker.light {
  color: rgba(232, 240, 255, 0.8);
}

.hero-copy h1 {
  margin: 0;
  max-width: 11ch;
  font-size: clamp(2.6rem, 4vw, 4.35rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.hero-text {
  max-width: 640px;
  margin: 22px 0 0;
  color: rgba(232, 240, 255, 0.88);
  font-size: 1.08rem;
  line-height: 1.8;
}

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

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

.info-card {
  padding: 24px 22px;
  border: 1px solid rgba(175, 198, 229, 0.16);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
}

.card-label {
  margin: 16px 0 10px;
  color: rgba(214, 228, 249, 0.74);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.info-card h2 {
  margin: 0 0 10px;
  color: var(--white);
  font-size: 1.08rem;
  line-height: 1.35;
}

.info-card p:last-child {
  margin: 0;
  color: rgba(232, 240, 255, 0.78);
  line-height: 1.65;
}

.icon-badge,
.service-icon,
.mini-icon,
.step-icon {
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.icon-badge {
  width: 48px;
  height: 48px;
  background: rgba(72, 130, 205, 0.18);
  color: #d7e6fb;
}

.icon-badge svg,
.service-icon svg,
.mini-icon svg,
.step-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.section {
  padding: 88px 0;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: end;
}

.section-heading.centered {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
  align-items: center;
  flex-direction: column;
}

.section-heading h2 {
  margin: 0;
  color: var(--navy-900);
  font-size: clamp(2rem, 3vw, 2.85rem);
  line-height: 1.14;
  letter-spacing: -0.03em;
}

.section-heading p:last-child,
.side-note {
  margin: 0;
  color: var(--slate-500);
  line-height: 1.8;
}

.service-grid,
.credential-grid,
.process-grid,
.footer-grid {
  display: grid;
  gap: 22px;
}

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

.service-card,
.credential-card,
.process-step {
  padding: 30px 28px;
  border: 1px solid rgba(212, 221, 233, 0.92);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-md);
}

.service-icon,
.mini-icon,
.step-icon {
  width: 58px;
  height: 58px;
  margin-bottom: 18px;
  background: linear-gradient(180deg, #eef5ff 0%, #dce9fb 100%);
  color: var(--navy-800);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.service-card h3,
.credential-card h3,
.process-step h3 {
  margin: 0 0 10px;
  color: var(--navy-900);
  font-size: 1.2rem;
}

.service-card p,
.credential-card p,
.process-step p {
  margin: 0;
  color: var(--slate-500);
  line-height: 1.75;
}

.credentials {
  padding-top: 20px;
}

.credentials-heading {
  margin-bottom: 34px;
}

.credential-panel {
  padding: 38px;
  border: 1px solid rgba(212, 221, 233, 0.8);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(243, 247, 252, 0.98)),
    var(--white);
  box-shadow: var(--shadow-lg);
}

.credential-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 20px 10px;
}

.credential-band-item {
  padding: 18px 26px 20px;
  text-align: center;
  position: relative;
}

.credential-band-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 14px;
  right: 0;
  width: 1px;
  height: calc(100% - 28px);
  background: linear-gradient(
    180deg,
    rgba(212, 221, 233, 0),
    rgba(212, 221, 233, 0.95),
    rgba(212, 221, 233, 0)
  );
}

.credential-band-item .mini-icon {
  margin: 0 auto 16px;
}

.credential-band-item h3 {
  margin: 0 0 14px;
  color: var(--navy-900);
  font-size: 1rem;
}

.credential-band-item p {
  margin: 0;
  color: var(--slate-700);
  line-height: 1.7;
}

.credential-list {
  margin: 0;
  padding-left: 18px;
  color: var(--slate-700);
  text-align: left;
  line-height: 1.75;
}

.process {
  position: relative;
}

.process::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(43, 103, 178, 0.24), transparent);
  transform: translateY(30px);
}

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

.process-step {
  position: relative;
  text-align: center;
  padding-top: 34px;
}

.process-step span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--blue-500);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.step-icon {
  margin: 0 auto 18px;
}

.cta {
  padding-top: 22px;
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto;
  gap: 30px;
  align-items: center;
  padding: 42px 46px;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(12, 31, 58, 0.98), rgba(22, 53, 95, 0.95)),
    var(--navy-900);
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

.cta-panel h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 3vw, 2.7rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.cta-panel p:last-child {
  margin: 0;
  color: rgba(232, 240, 255, 0.8);
  line-height: 1.8;
}

.cta-actions {
  display: grid;
  gap: 14px;
  justify-items: start;
}

.contact-link {
  color: rgba(232, 240, 255, 0.82);
  font-weight: 600;
}

.site-footer {
  margin-top: 86px;
  padding: 34px 0 46px;
  color: var(--slate-500);
  background: #f6f8fb;
  border-top: 1px solid rgba(212, 221, 233, 0.9);
}

.footer-grid {
  grid-template-columns: 1.4fr 0.8fr 0.9fr;
  align-items: start;
}

.footer-brand {
  margin-bottom: 18px;
}

.footer-title {
  margin: 0 0 16px;
  color: var(--navy-900);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

.site-footer a,
.site-footer span,
.site-footer p {
  display: block;
  margin: 0 0 10px;
  line-height: 1.7;
}

body.menu-open {
  overflow: hidden;
}

@media (max-width: 1080px) {
  .hero-grid,
  .cta-panel,
  .footer-grid,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .hero-grid,
  .cta-panel {
    gap: 28px;
  }

  .section-heading {
    align-items: start;
  }

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

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

@media (max-width: 820px) {
  .header-inner {
    min-height: 78px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: calc(100% + 10px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    border: 1px solid rgba(212, 221, 233, 0.96);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
  }

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

  .site-nav a:not(.button-nav) {
    padding: 12px 8px;
  }

  .site-nav a:not(.button-nav)::after {
    display: none;
  }

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

  .hero-grid {
    padding: 54px 0 66px;
  }

  .hero-copy h1 {
    max-width: none;
    font-size: clamp(2.35rem, 11vw, 3.6rem);
  }

  .hero-panels,
  .service-grid,
  .credential-band,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .credential-band-item:not(:last-child)::after {
    display: none;
  }

  .credential-band-item {
    border-bottom: 1px solid rgba(212, 221, 233, 0.75);
  }

  .credential-band-item:last-child {
    border-bottom: 0;
  }

  .credential-panel,
  .cta-panel {
    padding: 32px 24px;
  }

  .section {
    padding: 72px 0;
  }

  .site-footer {
    margin-top: 72px;
  }
}

@media (max-width: 540px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .brand-mark {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    font-size: 1.3rem;
  }

  .brand-copy strong {
    font-size: 0.82rem;
  }

  .brand-copy small {
    font-size: 0.66rem;
  }

  .hero-text,
  .section-heading p:last-child,
  .service-card p,
  .process-step p,
  .cta-panel p:last-child {
    font-size: 0.98rem;
  }

  .service-card,
  .credential-card,
  .process-step {
    padding: 26px 22px;
  }

  .cta-actions {
    justify-items: stretch;
  }

  .cta-actions .button {
    width: 100%;
  }
}
