:root {
  --ink: #082536;
  --ink-2: #153f54;
  --muted: #69808d;
  --soft: #f5f9fb;
  --soft-2: #edf7fa;
  --aqua: #cdeff6;
  --aqua-2: #a9dfeb;
  --deep: #073a4d;
  --green: #8ccf38;
  --white: #ffffff;
  --line: rgba(8, 37, 54, 0.12);
  --shadow: 0 24px 70px rgba(8, 37, 54, 0.12);
  --shadow-strong: 0 28px 90px rgba(8, 37, 54, 0.18);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--white);
  font-family:
    "Inter", "Manrope", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  text-rendering: geometricPrecision;
}

body.menu-open {
  overflow: hidden;
}

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

button {
  font: inherit;
}

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

svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.shell {
  width: min(calc(100% - 44px), 1160px);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 22px;
  min-height: 78px;
  padding: 0 clamp(18px, 3.8vw, 42px);
  border-bottom: 1px solid transparent;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(20px);
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease,
    background 220ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 48px rgba(8, 37, 54, 0.08);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 14px;
  color: var(--white);
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.2), transparent 44%),
    linear-gradient(135deg, var(--deep), #1687a2);
  box-shadow: 0 16px 34px rgba(7, 58, 77, 0.22);
}

.brand-mark svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
  stroke: none;
}

.brand-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  color: rgba(8, 37, 54, 0.68);
  font-size: 0.92rem;
  font-weight: 750;
}

.site-nav a {
  position: relative;
  padding: 29px 0 27px;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 22px;
  left: 0;
  height: 2px;
  content: "";
  border-radius: 999px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 220ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--ink);
}

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

.header-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  color: var(--white);
  background: var(--deep);
  box-shadow: 0 16px 32px rgba(7, 58, 77, 0.18);
  font-size: 0.9rem;
  font-weight: 800;
  transition:
    transform 220ms ease,
    background 220ms ease;
}

.header-cta:hover {
  background: var(--ink);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  background: var(--white);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition:
    transform 220ms ease,
    opacity 220ms ease;
}

.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  overflow: hidden;
  padding: clamp(36px, 5vw, 68px) 0 30px;
  background:
    linear-gradient(180deg, rgba(205, 239, 246, 0.52), rgba(255, 255, 255, 0) 72%),
    var(--white);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  align-items: start;
  gap: clamp(34px, 6vw, 82px);
}

.hero-copy h1,
.section-copy h2,
.section-heading h2,
.result-copy h2,
.education-copy h2,
.contact-copy h2 {
  margin: 0;
  color: var(--ink);
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.hero-copy h1 {
  max-width: 650px;
  font-size: clamp(3rem, 5vw, 4.75rem);
  line-height: 0.95;
}

.hero-lead {
  max-width: 610px;
  margin: 18px 0 0;
  color: var(--ink-2);
  font-size: clamp(1.08rem, 1.6vw, 1.32rem);
  font-weight: 520;
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 22px;
  font-size: 0.94rem;
  font-weight: 820;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease;
}

.button svg {
  width: 18px;
  height: 18px;
}

.button-primary {
  color: var(--white);
  background: var(--deep);
  box-shadow: 0 18px 38px rgba(7, 58, 77, 0.18);
}

.button-secondary {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.78);
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary:hover {
  background: var(--ink);
}

.button-secondary:hover {
  border-color: rgba(8, 37, 54, 0.24);
  box-shadow: 0 14px 34px rgba(8, 37, 54, 0.08);
}

.hero-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 610px;
  margin-top: 30px;
}

.hero-notes article {
  min-height: 98px;
  padding: 18px;
  border: 1px solid rgba(8, 37, 54, 0.08);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 18px 42px rgba(8, 37, 54, 0.06);
}

.hero-notes strong,
.hero-notes span {
  display: block;
}

.hero-notes strong {
  color: var(--ink);
  font-size: clamp(1.03rem, 1.2vw, 1.18rem);
  line-height: 1.2;
}

.hero-notes span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.35;
}

.hero-visual {
  position: relative;
  min-width: 0;
}

.hero-card {
  position: relative;
  overflow: hidden;
  min-height: 500px;
  border: 10px solid rgba(255, 255, 255, 0.92);
  border-radius: var(--radius-xl);
  background: var(--soft-2);
  box-shadow: var(--shadow-strong);
}

.hero-card img {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
}

.floating-card {
  position: absolute;
  display: grid;
  gap: 6px;
  max-width: 232px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 22px;
  background: rgba(245, 251, 253, 0.88);
  box-shadow: 0 20px 52px rgba(8, 37, 54, 0.14);
  backdrop-filter: blur(18px);
}

.floating-card span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.floating-card strong {
  color: var(--ink);
  font-size: 1.1rem;
  line-height: 1.22;
}

.card-location {
  top: 24px;
  right: 24px;
}

.card-service {
  bottom: 24px;
  left: 24px;
}

.hero-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: clamp(36px, 6vw, 64px);
}

.hero-strip span {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  border: 1px solid rgba(8, 37, 54, 0.08);
  border-radius: 999px;
  padding: 0 17px;
  color: var(--ink-2);
  background: var(--soft);
  font-size: 0.9rem;
  font-weight: 760;
}

.section {
  padding: clamp(76px, 9vw, 128px) 0;
}

.section-number {
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border-radius: 999px;
  color: var(--deep);
  background: var(--aqua);
  font-size: 0.86rem;
  font-weight: 850;
}

.section-copy h2,
.section-heading h2,
.result-copy h2,
.education-copy h2,
.contact-copy h2 {
  max-width: 800px;
  font-size: clamp(2.2rem, 5vw, 5.2rem);
}

.section-copy p,
.section-heading p,
.result-copy p,
.education-copy p,
.contact-copy p {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--ink-2);
  font-size: clamp(1rem, 1.25vw, 1.17rem);
  font-weight: 500;
  line-height: 1.65;
}

.intro {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(245, 249, 251, 0.86) 46%),
    var(--white);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(330px, 0.72fr);
  align-items: center;
  gap: clamp(30px, 6vw, 88px);
}

.team-card {
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow);
}

.team-card img {
  width: 100%;
  aspect-ratio: 1 / 0.92;
  object-fit: cover;
}

.team-card div {
  display: grid;
  gap: 8px;
  padding: 22px;
}

.team-card strong {
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

.team-card span {
  color: var(--muted);
  line-height: 1.45;
}

.services {
  background: var(--soft);
}

.section-heading {
  display: grid;
  justify-items: center;
  text-align: center;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 46px;
}

.service-card {
  min-height: 292px;
  padding: 24px;
  border: 1px solid rgba(8, 37, 54, 0.08);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 18px 48px rgba(8, 37, 54, 0.05);
}

.service-card-featured {
  background:
    linear-gradient(135deg, rgba(205, 239, 246, 0.72), rgba(255, 255, 255, 0.92)),
    var(--white);
}

.service-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 18px;
  color: var(--deep);
  background: var(--aqua);
}

.service-card h3 {
  margin: 36px 0 0;
  color: var(--ink);
  font-size: clamp(1.22rem, 1.9vw, 1.72rem);
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.service-card p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.results-grid {
  display: grid;
  grid-template-columns: minmax(330px, 0.86fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(34px, 6vw, 84px);
}

.result-media {
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--deep);
  box-shadow: var(--shadow);
}

.result-media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.result-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 34px;
}

.result-points article {
  min-height: 142px;
  padding: 18px;
  border-radius: var(--radius-md);
  background: var(--soft-2);
}

.result-points strong,
.result-points span {
  display: block;
}

.result-points strong {
  color: var(--ink);
  font-size: 1.06rem;
  letter-spacing: -0.02em;
}

.result-points span {
  margin-top: 9px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.42;
}

.education {
  background:
    linear-gradient(90deg, rgba(205, 239, 246, 0.44), rgba(255, 255, 255, 0) 62%),
    var(--soft);
}

.education-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(330px, 0.62fr);
  align-items: center;
  gap: clamp(34px, 6vw, 86px);
}

.diagram-panel {
  padding: clamp(16px, 3vw, 26px);
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow);
}

.diagram-panel img {
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
}

.diagram-note {
  display: grid;
  gap: 7px;
  margin-top: 16px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: var(--aqua);
}

.diagram-note strong {
  font-size: 1.14rem;
}

.diagram-note span {
  color: var(--ink-2);
  font-size: 0.94rem;
  line-height: 1.4;
}

.contact {
  padding: clamp(80px, 10vw, 140px) 0;
  color: var(--white);
  background:
    radial-gradient(circle at 88% 22%, rgba(140, 207, 56, 0.3), transparent 30vw),
    linear-gradient(135deg, #052b3a, var(--deep));
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 0.72fr);
  align-items: start;
  gap: clamp(36px, 7vw, 96px);
}

.contact .section-number {
  color: var(--ink);
  background: var(--green);
}

.contact-copy h2,
.contact-copy p {
  color: var(--white);
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-card {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(20px);
}

.contact-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 84px;
  padding: 14px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  transition:
    transform 220ms ease,
    background 220ms ease;
}

.contact-row:hover {
  background: var(--white);
  transform: translateY(-2px);
}

.contact-row > span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 16px;
  color: var(--deep);
  background: var(--aqua);
}

.contact-row strong,
.contact-row em {
  display: block;
  min-width: 0;
}

.contact-row strong {
  overflow-wrap: anywhere;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
}

.contact-row em {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.9rem;
  font-style: normal;
}

.site-footer {
  padding: 30px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: var(--white);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-brand {
  color: var(--ink);
}

.site-footer p {
  margin: 0;
}

.site-footer a:not(.footer-brand) {
  font-weight: 800;
  color: var(--deep);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 620ms var(--ease),
    transform 620ms var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    position: fixed;
    top: 78px;
    right: 16px;
    left: 16px;
    display: grid;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--white);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition:
      opacity 220ms ease,
      transform 220ms ease;
  }

  .menu-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 16px;
    border-radius: 16px;
  }

  .site-nav a::after {
    display: none;
  }

  .site-nav a:hover,
  .site-nav a.is-active {
    background: var(--soft-2);
  }

  .header-cta {
    display: none;
  }

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

  .hero-grid,
  .intro-grid,
  .results-grid,
  .education-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-card,
  .hero-card img {
    min-height: 430px;
  }

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

  .result-points {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 680px) {
  .shell {
    width: min(calc(100% - 28px), 1160px);
  }

  .site-header {
    min-height: 70px;
    padding: 0 14px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 13px;
  }

  .brand-name {
    max-width: 190px;
  }

  .site-nav {
    top: 70px;
  }

  .hero {
    padding-top: 44px;
  }

  .hero-copy h1 {
    font-size: clamp(3rem, 15vw, 4.9rem);
  }

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

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

  .hero-card,
  .hero-card img {
    min-height: 360px;
  }

  .floating-card {
    position: static;
    max-width: none;
    margin: 10px;
  }

  .hero-card {
    display: grid;
    border-width: 7px;
  }

  .hero-card img {
    min-height: 300px;
    aspect-ratio: 1 / 0.82;
  }

  .section {
    padding: 68px 0;
  }

  .section-copy h2,
  .section-heading h2,
  .result-copy h2,
  .education-copy h2,
  .contact-copy h2 {
    font-size: clamp(2.2rem, 12vw, 3.6rem);
  }

  .service-card {
    min-height: auto;
  }

  .contact-row {
    grid-template-columns: 42px minmax(0, 1fr);
    padding: 12px;
  }

  .contact-row > span {
    width: 42px;
    height: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
