:root {
  --navy: #062653;
  --navy-deep: #031d45;
  --teal: #08a9a8;
  --ink: #082557;
  --muted: #64758e;
  --bg: #f4f9fc;
  --card: #ffffff;
  --line: #dbe8ef;
  --shadow: 0 20px 54px rgba(6, 38, 83, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.45;
}

body.dialog-open {
  overflow: hidden;
}

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

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

button,
input,
select {
  font: inherit;
}

.about-topbar {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  min-height: 30px;
  padding: 7px 8%;
  background: var(--navy-deep);
  color: #d4edf4;
  font-size: 13px;
  font-weight: 700;
}

.about-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 250px 1fr auto;
  align-items: center;
  min-height: 78px;
  padding: 0 8%;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.about-brand img {
  width: 86px;
  height: 64px;
  object-fit: contain;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 42px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
}

.nav a:hover,
.nav a:focus-visible,
.nav .active {
  color: var(--teal);
}

.nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.nav-dropdown-toggle {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  z-index: 30;
  min-width: 270px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px;
  max-height: min(420px, calc(100vh - 120px));
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  background: #ffffff;
  box-shadow: 0 18px 34px rgba(6, 38, 83, 0.14);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 150ms ease, transform 150ms ease;
}

.has-dropdown::after {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 29;
  width: 270px;
  height: 14px;
  content: "";
  transform: translateX(-50%);
}

.nav-dropdown-toggle:hover,
.nav-dropdown-toggle:focus-visible {
  background: #e9fbfb;
  color: var(--teal);
}

.has-dropdown:hover .nav-dropdown,
.has-dropdown:focus-within .nav-dropdown,
.has-dropdown.is-open .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav-dropdown a {
  display: flex;
  align-items: center;
  min-height: 38px;
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--ink);
  white-space: nowrap;
}

.nav-dropdown a:hover,
.nav-dropdown a:focus-visible,
.nav-dropdown .sub-active {
  background: #e9fbfb;
  color: var(--teal);
}

.menu-toggle {
  display: none;
  border: 1px solid rgba(6, 38, 83, 0.2);
  border-radius: 8px;
  background: #ffffff;
  color: var(--navy);
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
}

.about-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 28px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.about-btn:hover {
  transform: translateY(-1px);
}

.about-btn:focus-visible,
.menu-toggle:focus-visible,
.dialog-close:focus-visible,
input:focus,
select:focus {
  outline: 3px solid rgba(8, 169, 168, 0.33);
  outline-offset: 3px;
}

.about-btn-primary {
  background: var(--teal);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(8, 169, 168, 0.22);
}

.about-btn-secondary {
  background: #ffffff;
  border-color: var(--navy);
  color: var(--navy);
}

.about-btn-light {
  background: #ffffff;
  color: var(--navy);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
}

.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(340px, 0.84fr);
  gap: 70px;
  align-items: center;
  min-height: 470px;
  padding: 72px 8% 62px;
  background: #eaf6f9;
}

.eyebrow {
  margin: 0;
  color: var(--teal);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow.light {
  color: #c9ffff;
}

.hero-copy h1 {
  max-width: 740px;
  margin: 18px 0 18px;
  color: var(--navy);
  font-size: clamp(44px, 4.7vw, 66px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.08;
}

.hero-copy > p {
  max-width: 760px;
  margin: 0;
  color: #52657e;
  font-size: 20px;
  line-height: 1.5;
}

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

.hero-card {
  min-height: 320px;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.card-mark {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--teal);
  color: #ffffff;
  font-size: 38px;
  font-weight: 700;
}

.hero-card h2 {
  max-width: 320px;
  margin: 40px 0 14px;
  color: var(--navy);
  font-size: 36px;
  font-weight: 900;
  line-height: 1.08;
}

.hero-card p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
}

.mini-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 22px;
}

.mini-stats span {
  display: grid;
  place-items: center;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #f4f9fc;
  color: var(--teal);
  font-size: 26px;
}

.intro-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 68px;
  padding: 70px 8% 24px;
}

.intro-section h2,
.why-copy h2,
.specialties-section h2,
.about-cta h2 {
  margin: 18px 0 0;
  color: var(--navy);
  font-size: clamp(34px, 3.7vw, 48px);
  font-weight: 900;
  line-height: 1.1;
}

.intro-section > p {
  align-self: end;
  margin: 0;
  color: #52657e;
  font-size: 22px;
  line-height: 1.6;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding: 24px 8% 68px;
}

.value-card {
  min-height: 230px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 12px 34px rgba(6, 38, 83, 0.04);
}

.value-card.featured {
  background: var(--navy);
  color: #ffffff;
}

.value-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #eff7fb;
  color: var(--teal);
  font-weight: 900;
}

.value-card.featured .value-mark {
  background: #ffffff;
}

.value-card h3 {
  margin: 28px 0 12px;
  color: inherit;
  font-size: 28px;
  font-weight: 900;
}

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

.value-card.featured p {
  color: #d6e8f2;
}

.why-section {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(390px, 0.85fr);
  gap: 70px;
  align-items: center;
  margin: 0 8% 70px;
  padding: 36px 40px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 14px 40px rgba(6, 38, 83, 0.05);
}

.why-copy h2 {
  max-width: 560px;
}

.why-copy > p {
  max-width: 660px;
  margin: 16px 0 0;
  color: #52657e;
  font-size: 18px;
  line-height: 1.55;
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 20px;
  margin-top: 28px;
}

.check-list span {
  min-height: 40px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #f4f9fc;
  color: var(--navy);
  font-size: 16px;
  font-weight: 850;
}

.check-list span::before {
  margin-right: 8px;
  color: var(--navy);
  content: "\2713";
}

.snapshot-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #eaf6f9;
}

.snapshot-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
  color: var(--navy);
}

.snapshot-top strong {
  font-size: 24px;
  font-weight: 900;
}

.snapshot-top span {
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
}

.bar-row {
  margin-top: 22px;
}

.bar-row label {
  display: block;
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 17px;
  font-weight: 900;
}

.bar-row div {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #d7e8ef;
}

.bar-row i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--teal);
}

.insight-box {
  margin: 28px auto -46px;
  max-width: 390px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #ffffff;
  color: var(--navy);
  text-align: center;
  box-shadow: 0 10px 24px rgba(6, 38, 83, 0.08);
}

.specialties-section {
  padding: 18px 8% 70px;
  text-align: center;
}

.specialties-section h2 {
  margin-right: auto;
  margin-left: auto;
  max-width: 920px;
}

.specialty-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px 28px;
  margin-top: 38px;
  text-align: left;
}

.specialty-grid span {
  min-height: 42px;
  padding: 11px 22px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #ffffff;
  color: var(--navy);
  font-weight: 850;
}

.about-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  margin: 0 8% 70px;
  padding: 36px;
  border-radius: 24px;
  background: var(--teal);
  color: #ffffff;
}

.about-cta h2 {
  color: #ffffff;
}

.about-cta p {
  max-width: 840px;
  margin: 16px 0 0;
  color: #e9ffff;
  font-size: 18px;
}

.about-footer {
  display: grid;
  grid-template-columns: 1.1fr 0.7fr 1fr 1.1fr;
  gap: 48px;
  padding: 42px 8% 58px;
  background: var(--navy-deep);
  color: #ffffff;
}

.footer-logo img {
  width: 92px;
  height: 74px;
  object-fit: contain;
}

.footer-logo p {
  margin: 8px 0 0;
  color: var(--teal);
  font-size: 16px;
}

.about-footer h3 {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 15px;
}

.about-footer a,
.about-footer p {
  display: block;
  margin: 4px 0;
  color: #b9ccdd;
  font-size: 15px;
}

.consultation-dialog {
  width: min(520px, calc(100vw - 32px));
  border: 0;
  border-radius: 14px;
  padding: 0;
  box-shadow: 0 24px 80px rgba(1, 26, 61, 0.28);
}

.consultation-dialog::backdrop {
  background: rgba(1, 26, 61, 0.58);
  backdrop-filter: blur(4px);
}

.consultation-card {
  display: grid;
  gap: 16px;
  padding: 30px;
  background: #ffffff;
}

.consultation-card h2 {
  margin: 0 0 4px;
  color: var(--navy);
  font-size: 28px;
}

.consultation-card label {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
}

.consultation-card input,
.consultation-card select {
  width: 100%;
  min-height: 45px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--ink);
  background: #ffffff;
}

.dialog-close {
  justify-self: end;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
}

.form-status {
  min-height: 20px;
  margin: 0;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
}

@media (max-width: 980px) {
  .about-topbar,
  .header-action {
    display: none;
  }

  .about-header {
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 12px 24px;
  }

  .about-brand img {
    width: 78px;
    height: 58px;
  }

  .menu-toggle {
    display: inline-flex;
    padding: 11px 15px;
  }

  .nav {
    display: none;
    grid-column: 1 / -1;
    flex-direction: column;
    gap: 0;
  }

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

  .nav a {
    min-height: 44px;
    border-top: 1px solid var(--line);
    padding-top: 13px;
  }

  .nav-item {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }

  .nav-dropdown-toggle {
    width: 44px;
    height: 44px;
    border-top: 1px solid var(--line);
    border-radius: 0;
  }

  .nav-dropdown {
    position: static;
    display: none;
    grid-column: 1 / -1;
    min-width: 0;
    max-height: none;
    border: 0;
    border-radius: 0;
    width: 100%;
    overflow: hidden;
    overflow-y: visible;
    overscroll-behavior: auto;
    padding: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .has-dropdown::after {
    display: none;
  }

  .has-dropdown:hover .nav-dropdown,
  .has-dropdown:focus-within .nav-dropdown {
    display: none;
  }

  .has-dropdown.is-open .nav-dropdown {
    display: grid;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav-dropdown a {
    display: block;
    min-height: 40px;
    border-top: 1px solid var(--line);
    border-radius: 0;
    padding: 12px 0 0 18px;
    overflow-wrap: anywhere;
    white-space: normal;
  }

  .about-hero,
  .intro-section,
  .value-grid,
  .why-section,
  .about-cta,
  .about-footer {
    grid-template-columns: 1fr;
  }

  .about-hero,
  .intro-section,
  .value-grid,
  .specialties-section {
    padding-right: 24px;
    padding-left: 24px;
  }

  .about-hero {
    gap: 34px;
  }

  .why-section,
  .about-cta {
    margin-right: 24px;
    margin-left: 24px;
  }

  .specialty-grid,
  .check-list {
    grid-template-columns: 1fr;
  }

  .about-footer {
    gap: 28px;
    padding-right: 24px;
    padding-left: 24px;
  }
}

@media (max-width: 560px) {
  .hero-copy h1 {
    font-size: 38px;
  }

  .hero-copy > p,
  .intro-section > p {
    font-size: 17px;
  }

  .hero-actions,
  .about-btn {
    width: 100%;
  }
}
