:root {
  --ink: #10243f;
  --muted: #5f6f7d;
  --teal: #078b88;
  --teal-dark: #056a72;
  --aqua: #d9f2ef;
  --sky: #edf7fb;
  --line: #d8e5e9;
  --paper: #ffffff;
  --soft: #f7fbfc;
  --shadow: 0 22px 60px rgba(13, 45, 65, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.65;
}

a {
  color: var(--teal-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

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

.nav-wrap,
.section,
.footer-inner {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
  font-weight: 800;
}

.brand img {
  width: 104px;
  height: auto;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 6px;
  color: var(--ink);
  font-size: 22px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  font-weight: 700;
}

.nav-links a {
  color: var(--ink);
}

.nav-links a[aria-current="page"] {
  color: var(--teal-dark);
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 18%, rgba(7, 139, 136, 0.13), transparent 28%),
    linear-gradient(145deg, #ffffff 0%, #f0fbfb 100%);
}

.hero-grid {
  width: min(1160px, calc(100% - 40px));
  min-height: 650px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.9fr);
  align-items: center;
  gap: 52px;
  padding: 80px 0 92px;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(44px, 7vw, 86px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero h1 span {
  color: var(--teal-dark);
}

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

.lead {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(19px, 2.1vw, 25px);
  line-height: 1.45;
}

.action-row {
  margin-top: 34px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 6px;
  border: 1px solid var(--teal);
  background: var(--teal);
  color: white;
  font-size: 14px;
  font-weight: 800;
}

.button.secondary {
  background: transparent;
  color: var(--teal-dark);
}

.button:hover {
  text-decoration: none;
}

.hero-media {
  position: relative;
}

.hero-media img {
  border-radius: 8px;
  box-shadow: var(--shadow);
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.hero-card {
  position: absolute;
  left: -24px;
  bottom: -26px;
  max-width: 260px;
  padding: 22px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  font-weight: 800;
}

.section {
  padding: 88px 0;
}

.section.compact {
  padding: 54px 0;
}

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

.section-head {
  max-width: 760px;
  margin-bottom: 36px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
}

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

.feature-panel {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.feature-panel + .feature-panel {
  margin-top: 18px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.step-card,
.person-card,
.publication-card,
.service-card,
.report-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  overflow: hidden;
  box-shadow: 0 10px 32px rgba(16, 36, 63, 0.06);
}

.step-card img {
  width: 100%;
  height: 230px;
  object-fit: contain;
  background: #f5fbfc;
  padding: 22px;
}

.card-body {
  padding: 24px;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.partner-grid img {
  width: 100%;
  min-height: 108px;
  object-fit: contain;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.page-hero {
  background: linear-gradient(135deg, #f8fcfd, #e9f7f7);
  border-bottom: 1px solid var(--line);
}

.page-hero .section {
  padding-top: 76px;
  padding-bottom: 76px;
}

.page-hero p {
  max-width: 760px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.person-card img {
  width: 168px;
  height: 168px;
  object-fit: cover;
  border-radius: 999px;
  margin: 28px auto 0;
  border: 5px solid var(--sky);
  box-shadow: 0 12px 32px rgba(16, 36, 63, 0.12);
}

.person-card .card-body {
  text-align: center;
  padding-top: 20px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.portfolio-grid img {
  width: 100%;
  height: 330px;
  object-fit: cover;
}

.publication-list {
  display: grid;
  gap: 20px;
}

.publication-card {
  display: grid;
  grid-template-columns: 220px 1fr;
}

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

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

.service-card {
  padding: 24px;
  font-weight: 700;
}

.module-list,
.reference-list {
  display: grid;
  gap: 16px;
  padding-left: 0;
  list-style: none;
}

.module-list li,
.reference-list li {
  padding: 20px 22px;
  border-left: 4px solid var(--teal);
  background: white;
  border-radius: 0 8px 8px 0;
  box-shadow: 0 8px 26px rgba(16, 36, 63, 0.05);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1fr);
  gap: 42px;
  align-items: start;
}

.contact-form {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}

.honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

label {
  display: block;
  margin-bottom: 16px;
  color: var(--ink);
  font-weight: 800;
  font-size: 14px;
}

input,
textarea {
  width: 100%;
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 14px;
  font: inherit;
  color: var(--ink);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.site-footer {
  background: #10243f;
  color: white;
}

.footer-inner {
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 34px 0;
}

.footer-inner a {
  color: white;
}

.muted {
  color: var(--muted);
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    position: absolute;
    inset: 78px 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 20px 20px;
    background: white;
    border-bottom: 1px solid var(--line);
  }

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

  .nav-links a {
    padding: 14px 0;
  }

  .hero-grid,
  .split,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
    padding-top: 54px;
  }

  .steps,
  .team-grid,
  .service-grid,
  .partner-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .publication-card {
    grid-template-columns: 1fr;
  }

  .publication-card img {
    height: 230px;
  }

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

@media (max-width: 560px) {
  .nav-wrap,
  .section,
  .footer-inner,
  .hero-grid {
    width: min(100% - 28px, 1160px);
  }

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

  .hero-card {
    position: static;
    max-width: none;
    margin-top: 14px;
  }

  .section {
    padding: 62px 0;
  }
}
