:root {
  --bg: #eef2f7;
  --bg-elevated: #e6ecf4;
  --surface: #ffffff;
  --media-bg: #dfe7f1;
  --header-bg: rgba(255, 255, 255, 0.92);
  --border: rgba(46, 118, 185, 0.32);
  --border-ui: rgba(20, 50, 90, 0.1);
  --text: #152030;
  --muted: #475a6f;
  --accent: #0f4d7a;
  --accent-soft: rgba(30, 110, 185, 0.14);
  --sky: #2d87c8;
  --radius: 12px;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;
  --shadow: 0 14px 38px rgba(15, 35, 70, 0.1);
  --header-sticky-offset: 5.25rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-sticky-offset);
}

@media (max-width: 1060px) and (min-width: 721px) {
  :root {
    --header-sticky-offset: 9rem;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: min(1120px, 100% - 40px);
  margin-inline: auto;
}

.container.narrow {
  width: min(760px, 100% - 40px);
}

.site-header .container {
  width: min(1260px, 100% - 40px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-ui);
  overflow: visible;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.65rem 1rem;
  padding: 0.85rem 0;
  flex-wrap: nowrap;
  overflow: visible;
}

@media (max-width: 1060px) {
  .header-inner {
    flex-wrap: wrap;
    row-gap: 0.65rem;
  }

  .header-inner .nav {
    order: 3;
    flex: 1 1 100%;
    justify-content: flex-start;
  }
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.logo-img {
  display: block;
  width: 44px;
  height: 44px;
  max-width: 44px;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.05rem 0.2rem;
  flex-wrap: nowrap;
  justify-content: flex-start;
  flex: 0 1 auto;
  min-width: 0;
  overflow: visible;
}

.nav__link {
  color: var(--text);
  text-decoration: none;
  font-size: clamp(0.7rem, 0.18vw + 0.66rem, 0.775rem);
  font-weight: 500;
  padding: 0.3rem 0.34rem;
  border-radius: 8px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.15s ease, background 0.15s ease;
}

.nav__link:hover {
  color: var(--sky);
  background: rgba(45, 135, 200, 0.08);
}

.nav__link:focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: 2px;
}

.nav__link--primary {
  font-weight: 500;
  color: var(--text);
}

.nav__link--primary:hover {
  color: var(--sky);
  background: rgba(45, 135, 200, 0.08);
}

.nav-dropdown {
  position: relative;
  flex-shrink: 0;
}

.nav-dropdown__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: transparent;
  border: none;
  font: inherit;
  font-size: clamp(0.7rem, 0.18vw + 0.66rem, 0.775rem);
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  padding: 0.3rem 0.34rem;
  border-radius: 8px;
  white-space: nowrap;
  transition: color 0.15s ease, background 0.15s ease;
}

.nav-dropdown__toggle:hover,
.nav-dropdown.is-open .nav-dropdown__toggle {
  color: var(--sky);
  background: rgba(45, 135, 200, 0.1);
}

.nav-dropdown__toggle:focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: 2px;
}

.nav-dropdown__toggle::after {
  content: "";
  width: 0.35rem;
  height: 0.35rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  opacity: 0.65;
}

.nav-dropdown__panel {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: min(280px, calc(100vw - 2rem));
  max-width: 320px;
  padding: 0.4rem;
  background: var(--surface);
  border: 1px solid var(--border-ui);
  border-radius: calc(var(--radius) + 2px);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 200;
}

.nav-dropdown.is-open .nav-dropdown__panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown__item {
  display: block;
  padding: 0.5rem 0.65rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  line-height: 1.35;
}

.nav-dropdown__item:hover,
.nav-dropdown__item:focus-visible {
  background: var(--accent-soft);
  color: var(--sky);
  outline: none;
}

#team-staff {
  scroll-margin-top: 5.5rem;
}

#about,
#team,
#solutions,
#education,
#localization,
#ecosystem,
#projects {
  scroll-margin-top: 5.5rem;
}

.program-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.25rem 0 1.5rem;
}

.program-filter-btn {
  border: 1px solid var(--border-ui);
  background: var(--surface);
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  font-family: inherit;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  cursor: pointer;
  line-height: 1.3;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.program-filter-btn:hover {
  color: var(--text);
  border-color: rgba(45, 135, 200, 0.45);
}

.program-filter-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(45, 135, 200, 0.35);
}

.program-filter-btn.is-active {
  background: var(--accent-soft);
  border-color: rgba(45, 135, 200, 0.35);
  color: var(--accent);
}

.program-card-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.35rem;
}

.program-card {
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--border-ui);
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 100%;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

/* Author `display: flex` wins over the `hidden` attribute default; force hide when filtering. */
.program-card[hidden] {
  display: none !important;
}

.program-card:hover {
  border-color: rgba(45, 135, 200, 0.35);
  box-shadow: 0 10px 28px rgba(15, 40, 70, 0.09);
}

.program-card__media {
  width: 100%;
  margin: 0;
  aspect-ratio: 16 / 9.75;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--media-bg);
}

.program-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.35s ease;
}

.program-card:hover .program-card__media img {
  transform: scale(1.03);
}

@media (prefers-reduced-motion: reduce) {
  .program-card__media img,
  .program-card:hover .program-card__media img {
    transition: none;
    transform: none;
  }
}

.program-card__body {
  padding: 1.05rem 1.2rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex: 1;
  min-height: 0;
}

.program-card__badge {
  align-self: flex-start;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--sky);
  background: var(--accent-soft);
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
}

.program-card__title {
  font-family: var(--font-sans);
  font-size: 1.02rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.35;
  color: var(--text);
}

.projects-pillars {
  margin: 0.5rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.projects-pillar-block {
  margin: 0 0 1.75rem;
}

.projects-pillar-block:last-child {
  margin-bottom: 0;
}

.projects-pillar-h {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
  line-height: 1.35;
  color: var(--muted);
  scroll-margin-top: 5.5rem;
  padding: 0.35rem 0 0.35rem 0.85rem;
  border-left: 3px solid var(--sky);
  border-radius: 0 6px 6px 0;
  background: rgba(240, 248, 255, 0.55);
}

.projects-pillar-desc {
  margin: 0 0 0.85rem;
  padding-left: 0.15rem;
  font-size: 0.86rem;
  line-height: 1.52;
  color: var(--muted);
  max-width: 70ch;
  opacity: 0.92;
}

.projects-pillar-block .content-list--numbered {
  margin: 0;
}

.program-card__text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--muted);
  flex: 1;
}

.about-values > li {
  font-size: 0.95rem;
}

.tech-icon-grid {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.45rem;
  max-width: 1140px;
  justify-items: stretch;
}

@media (max-width: 900px) {
  .tech-icon-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 760px;
  }
}

@media (max-width: 520px) {
  .tech-icon-grid {
    grid-template-columns: 1fr;
    max-width: min(440px, 100%);
  }
}

.tech-icon-card {
  position: relative;
  min-height: 300px;
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid var(--border-ui);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
  cursor: default;
  outline: none;
  /* высота блока превью + отступы main → оверлей текста ниже картинок */
  --tech-thumb-h: 11.05rem;
  --tech-main-pad-t: 1.4rem;
  --tech-main-gap: 0.85rem;
}

.tech-icon-card:focus-visible {
  box-shadow: 0 0 0 3px rgba(45, 135, 200, 0.35);
}

.tech-icon-card__main {
  padding: 1.4rem 0.85rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.85rem;
  min-height: 300px;
  box-sizing: border-box;
  justify-content: flex-start;
}

.tech-icon-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
}

.tech-icon-card__icon img {
  width: 100%;
  height: 11.05rem;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
  display: block;
  box-shadow: 0 10px 28px rgba(15, 35, 70, 0.14);
}

.tech-icon-card__icon--carousel {
  width: 100%;
}

.tech-icon-card__slides {
  position: relative;
  width: 100%;
  height: 11.05rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(15, 35, 70, 0.14);
}

.tech-icon-card__icon--carousel .tech-icon-card__slides img.tech-icon-card__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  box-shadow: none;
  opacity: 0;
  transition: opacity 0.65s ease;
  pointer-events: none;
}

.tech-icon-card__icon--carousel .tech-icon-card__slides img.tech-icon-card__slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

.tech-icon-card__slide-hit {
  position: absolute;
  top: 0;
  height: 100%;
  margin: 0;
  padding: 0;
  border: none;
  cursor: pointer;
  z-index: 3;
  background: transparent;
  appearance: none;
  -webkit-appearance: none;
}

.tech-icon-card__slide-hit--prev {
  left: 0;
  width: 30%;
}

.tech-icon-card__slide-hit--next {
  right: 0;
  width: 30%;
}

.tech-icon-card__slide-hit--prev:hover {
  background: linear-gradient(to right, rgba(15, 35, 70, 0.11), transparent 65%);
}

.tech-icon-card__slide-hit--next:hover {
  background: linear-gradient(to left, rgba(15, 35, 70, 0.11), transparent 65%);
}

.tech-icon-card__slide-hit--prev:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: -3px;
  border-radius: 11px 0 0 11px;
}

.tech-icon-card__slide-hit--next:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: -3px;
  border-radius: 0 11px 11px 0;
}

@media (prefers-reduced-motion: reduce) {
  .tech-icon-card__icon--carousel .tech-icon-card__slides img.tech-icon-card__slide {
    transition: none;
  }
}

#solutions .tech-icon-card__icon img.js-lightbox-thumb {
  cursor: zoom-in;
}

#solutions .tech-icon-card__icon img.js-lightbox-thumb:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 3px;
  border-radius: 10px;
}

.tech-image-lightbox {
  margin: 0;
  padding: 4.5rem min(4vw, 1.5rem) 2rem;
  border: none;
  width: 100vw;
  max-width: 100vw;
  height: 100vh;
  max-height: 100vh;
  box-sizing: border-box;
  background: transparent;
  overflow: auto;
}

/* Closed <dialog> must stay hidden — a plain display:flex here overrides UA display:none */
.tech-image-lightbox[open] {
  display: flex;
  align-items: center;
  justify-content: center;
}

.tech-image-lightbox::backdrop {
  background: rgba(15, 35, 70, 0.82);
  backdrop-filter: blur(5px);
}

.tech-image-lightbox__panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  min-height: 0;
  box-sizing: border-box;
  flex: 0 1 auto;
}

.tech-image-lightbox__img {
  max-width: min(92vw, 1024px);
  max-height: min(78vh, 860px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 22px 64px rgba(0, 0, 0, 0.45);
}

.tech-image-lightbox__caption {
  margin: 0;
  max-width: 42rem;
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.35;
}

.tech-image-lightbox__caption:empty {
  display: none;
}

.tech-image-lightbox__close {
  position: fixed;
  top: max(1rem, env(safe-area-inset-top));
  right: max(1rem, env(safe-area-inset-right));
  z-index: 10001;
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(15, 35, 70, 0.55);
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease;
}

.tech-image-lightbox__close:hover {
  background: rgba(45, 135, 200, 0.65);
}

.tech-image-lightbox__close:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}

.tech-icon-card__title {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.38;
  color: var(--text);
  min-height: 4.15em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tech-icon-card__detail {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: calc(var(--tech-main-pad-t) + var(--tech-thumb-h) + var(--tech-main-gap));
  margin: 0;
  padding: 0.55rem 0.95rem 0.95rem;
  background: linear-gradient(165deg, rgba(250, 252, 255, 0.99), rgba(232, 240, 248, 0.98));
  border-top: 1px solid rgba(45, 135, 200, 0.12);
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
  z-index: 2;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.tech-icon-card__detail p {
  margin: 0;
}

.tech-icon-card:hover .tech-icon-card__detail,
.tech-icon-card:focus-within .tech-icon-card__detail,
.tech-icon-card.is-active .tech-icon-card__detail {
  opacity: 1;
  visibility: visible;
}

@media (hover: none) {
  .tech-icon-card__detail {
    position: relative;
    inset: auto;
    opacity: 1;
    visibility: visible;
    background: transparent;
    padding: 0 1rem 1rem;
    display: block;
  }

  .tech-icon-card__main {
    min-height: auto;
    padding-bottom: 0.5rem;
  }
}

#ecosystem > .container > h2:first-of-type {
  margin-bottom: 0.25rem;
}

.lang {
  display: flex;
  gap: 0.25rem;
  background: var(--surface);
  padding: 3px;
  border-radius: 999px;
  border: 1px solid var(--border-ui);
  margin-left: auto;
  flex-shrink: 0;
}

.lang-btn {
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
}

.lang-btn[aria-pressed="true"] {
  background: var(--accent-soft);
  color: var(--accent);
}

.lang-btn:hover {
  color: var(--text);
}

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100vh - var(--header-sticky-offset));
  min-height: calc(100dvh - var(--header-sticky-offset));
  min-height: calc(100svh - var(--header-sticky-offset));
  padding: clamp(1.75rem, 4vw, 4.5rem) 0 clamp(2rem, 5vw, 5rem);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 0%, rgba(61, 140, 200, 0.22), transparent 55%),
    radial-gradient(ellipse 50% 40% at 90% 20%, rgba(45, 135, 200, 0.1), transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, #e3e9f2 100%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(200px, 0.75fr);
  gap: 2rem 3rem;
  align-items: center;
}

.hero-content {
  min-width: 0;
}

.hero-brand {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
}

.hero-brand__img {
  display: block;
  width: 100%;
  max-width: min(360px, 100%);
  height: auto;
  object-fit: contain;
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-brand {
    order: -1;
    max-width: 280px;
    margin-inline: auto;
  }

  .hero-brand__img {
    max-width: 240px;
  }
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  color: var(--sky);
  margin: 0 0 1rem;
  font-weight: 600;
}

.hero h1 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  line-height: 1.12;
  margin: 0 0 1.25rem;
  letter-spacing: -0.03em;
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 40rem;
  margin: 0 0 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.btn-primary {
  background: linear-gradient(180deg, #1a6bab 0%, var(--accent) 100%);
  color: #f5f9fc;
  border-color: rgba(15, 77, 122, 0.35);
}

.btn-primary:hover {
  filter: brightness(1.06);
}

.btn-ghost {
  border-color: var(--border-ui);
  color: var(--text);
  background: rgba(255, 255, 255, 0.7);
}

.btn-ghost:hover {
  border-color: rgba(45, 135, 200, 0.45);
  color: var(--sky);
}

.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: var(--bg-elevated);
}

#solutions h2,
#solutions > .container > .section-intro {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 2.5vw, 2.25rem);
  font-weight: 700;
  margin: 0 0 0.75rem;
  letter-spacing: -0.03em;
}

.section-intro {
  color: var(--muted);
  margin: 0 0 2.5rem;
  max-width: 36rem;
}

.prose {
  color: var(--muted);
  margin: 0 0 1rem;
  font-size: 1.05rem;
}

.prose.tight {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

.prose.tight:last-child {
  margin-bottom: 0;
}

.h3,
h3.h3 {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 0.65rem;
  color: var(--text);
}

.content-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.content-list > li {
  position: relative;
  padding: 0.85rem 1rem 0.85rem 1.35rem;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border-ui);
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.5;
}

.content-list > li::before {
  content: "";
  position: absolute;
  left: 0.65rem;
  top: 1.05rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.85;
}

ol.content-list.content-list--numbered {
  list-style: decimal;
  list-style-position: outside;
  padding-left: 1.65rem;
}

.content-list--numbered > li {
  padding: 0.85rem 0.85rem 0.85rem 0.35rem;
  display: list-item;
}

.content-list--numbered > li::before {
  display: none;
}

.team-subtitle {
  margin-top: 2.75rem;
  margin-bottom: 1.25rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-ui);
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
}

.team-subtitle:first-of-type {
  margin-top: 0.5rem;
  padding-top: 0;
  border-top: none;
}

.team-grid:first-of-type {
  margin-top: 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  align-items: start;
}

.team-card {
  background: var(--surface);
  border: 1px solid var(--border-ui);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow);
  padding: 1.25rem 1.35rem 1.4rem;
}

.team-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
}

.team-role {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.45;
}

/* Org chart (#team-staff): Global Korea Center hierarchy */
.org-chart {
  margin-top: 2rem;
  --org-line: var(--accent);
  --org-panel-bg: linear-gradient(180deg, #c4e9f5 0%, #a9dcef 100%);
  --org-panel-border: #e6c932;
  --org-panel-shadow: #0f3058;
  --org-detail-bg: #152d56;
  --org-detail-fg: #f4f9fc;
}

.org-chart__tier {
  display: flex;
  justify-content: center;
}

.org-chart__tier:first-of-type .org-node--panel {
  max-width: 26rem;
}

.org-chart__stem {
  width: 3px;
  height: 1.35rem;
  margin: 0 auto;
  background: var(--org-line);
  border-radius: 2px;
}

.org-chart__stem--mid {
  height: 1.1rem;
}

.org-chart__below-ceo {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.org-node--panel {
  text-align: center;
  background: var(--org-panel-bg);
  border: 2px solid var(--org-panel-border);
  border-radius: 12px;
  padding: 1rem 1.15rem;
  box-shadow: 5px 5px 0 var(--org-panel-shadow);
  color: var(--text);
}

.org-node__line {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
}

.org-node__line + .org-node__line {
  margin-top: 0.35rem;
}

.org-node--ceo {
  max-width: 11rem;
  padding: 0.75rem 1.5rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.org-chart__lines {
  width: 100%;
  max-width: 58rem;
  margin: 0 auto;
}

.org-chart__hline-row {
  padding: 0 4%;
}

.org-chart__hline-row > div {
  height: 3px;
  border-radius: 2px;
  background: var(--org-line);
}

.org-chart__drops-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 0;
}

.org-chart__drop-cell {
  display: flex;
  justify-content: center;
}

.org-chart__drop-i {
  display: block;
  width: 3px;
  height: 14px;
  border-radius: 2px;
  background: var(--org-line);
}

.org-chart__cells {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.65rem;
  width: 100%;
  max-width: 58rem;
  margin: 0.6rem auto 0;
  align-items: start;
}

.org-chart__cell {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  min-width: 0;
}

.org-node--dept {
  flex: 1 1 auto;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.35;
  padding: 0.75rem 0.5rem;
  min-height: 4.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.org-node--detail {
  background: var(--org-detail-bg);
  color: var(--org-detail-fg);
  border-radius: 8px;
  padding: 0.65rem 0.55rem;
  font-size: 0.76rem;
  line-height: 1.45;
  text-align: center;
  font-weight: 500;
}

.org-node--detail span {
  display: block;
}

@media (max-width: 960px) {
  .org-chart__drops-row,
  .org-chart__cells {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .org-chart__lines {
    display: none;
  }

  .org-chart__stem--mid {
    display: none;
  }

  .org-chart__cells {
    margin-top: 1rem;
  }

  .org-chart__cell + .org-chart__cell {
    margin-top: 1.15rem;
  }

  .org-node--dept {
    min-height: 0;
  }
}

.section-cta {
  background: linear-gradient(135deg, #e0ebf6, #d0dde8);
  border-top: 1px solid var(--border);
}

.cta-inner {
  text-align: center;
}

.cta-inner h2 {
  margin-bottom: 1rem;
}

.cta-inner .prose {
  margin-bottom: 1.25rem;
}

.contact-card {
  max-width: 36rem;
  margin: 1.5rem auto 0;
  padding: 1.35rem 1.5rem;
  background: var(--surface);
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid var(--border-ui);
  box-shadow: var(--shadow);
  text-align: left;
}

.contact-card__row {
  margin: 0 0 1rem;
}

.contact-card__row:last-child {
  margin-bottom: 0;
}

.contact-card__label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 0.35rem;
}

.contact-card__value {
  margin: 0;
  font-size: 0.98rem;
  color: var(--text);
  line-height: 1.55;
}

.contact-mail {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.contact-mail:hover {
  text-decoration: underline;
}

.site-footer {
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--border-ui);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-inner strong {
  color: var(--accent);
}

.footer-copy {
  margin: 0;
  opacity: 0.85;
}
/* Core C section: localization, manufacturing, trade, procurement and SI */.partner-ecosystem {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin-top: 1.5rem;
}

.partner-subregions,
.partner-tech-subs {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-top: 0.75rem;
}

.partner-subregion__title {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 0.45rem;
  color: var(--muted);
}

.partner-group__title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 0.65rem;
  color: var(--text);
  letter-spacing: -0.01em;
}

.partner-chip-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.5rem;
}

.partner-chip-list > li {
  margin: 0;
  padding: 0.4rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border-ui);
  border-radius: 8px;
  box-shadow: 0 1px 0 rgba(15, 35, 70, 0.04);
  max-width: 100%;
}

.ecosystem-model-callout {
  margin-top: 2.5rem;
  padding: 1.25rem 1.35rem;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid rgba(45, 135, 200, 0.22);
  background: linear-gradient(135deg, rgba(45, 135, 200, 0.08), rgba(250, 252, 255, 0.95));
  text-align: center;
}

.ecosystem-model-callout__kicker {
  margin: 0 0 0.65rem;
  font-size: clamp(1.1rem, 2.65vw, 1.42rem);
  font-weight: 700;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  color: var(--sky);
}

.ecosystem-model-callout__text {
  margin: 0 auto;
  max-width: min(52rem, 100%);
  font-size: clamp(1.28rem, 3vw, 1.65rem);
  line-height: 1.48;
  color: var(--text);
}

.es-category-title--spaced {
  margin-top: 3rem;
  padding-top: 2.75rem;
  border-top: 1px solid var(--border-ui);
}

.content-list--compact > li {
  padding: 0.65rem 0.85rem 0.65rem 1.25rem;
  font-size: 0.9rem;
}

.content-list--compact > li::before {
  top: 0.9rem;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: transparent;
  border: 1px solid var(--border-ui);
  border-radius: 8px;
  cursor: pointer;
  padding: 6px 7px;
  margin-left: auto;
  flex-shrink: 0;
}

.mobile-menu-btn span {
  display: block;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-menu-btn[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.mobile-menu-btn[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

@media (max-width: 720px) {
  .mobile-menu-btn {
    display: flex;
    order: 2;
  }

  .nav {
    display: none;
    order: 3;
    flex: 1 1 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    padding: 0.5rem 0;
    border-top: 1px solid var(--border-ui);
    margin-top: 0.35rem;
  }

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

  .nav__link,
  .nav-dropdown__toggle {
    width: 100%;
    text-align: left;
    padding: 0.5rem 0.5rem;
    font-size: 0.9rem;
  }

  .nav-dropdown__panel {
    position: static;
    box-shadow: none;
    border: none;
    background: var(--bg-elevated);
    opacity: 1;
    visibility: visible;
    transform: none;
    min-width: 0;
    max-width: 100%;
    border-radius: var(--radius);
    display: none;
  }

  .nav-dropdown.is-open .nav-dropdown__panel {
    display: block;
  }

  .lang {
    margin-left: 0;
    order: 1;
  }
}

@media (max-width: 720px) {
  .mobile-menu-btn {
    display: flex;
  }
}




/* Core C section: localization, manufacturing, trade, procurement and SI */
.section-core {
  position: relative;
  background: linear-gradient(180deg, #fafbfd 0%, #f1f5fa 55%, #e8eef5 100%);
}

.section-heading-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr);
  gap: 1.75rem 2.25rem;
  align-items: start;
  margin-bottom: 2.25rem;
}

.section-heading-row .section-intro {
  margin-bottom: 0;
  max-width: 42rem;
  color: var(--muted);
  line-height: 1.6;
}

.core-summary-card {
  position: relative;
  border: 1px solid rgba(45, 135, 200, 0.14);
  border-radius: calc(var(--radius) + 6px);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.97), rgba(245, 249, 253, 0.99));
  color: var(--text);
  padding: 1.2rem 1.35rem 1.2rem 1.5rem;
  box-shadow: 0 6px 32px rgba(15, 55, 90, 0.06);
}

.core-summary-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1rem;
  bottom: 1rem;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, var(--sky), rgba(15, 77, 122, 0.85));
  opacity: 0.85;
}

.core-summary-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.58;
  color: var(--muted);
}

.core-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.85rem;
  align-items: stretch;
}

.core-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 0;
  border: 1px solid rgba(20, 50, 90, 0.09);
  border-radius: 18px;
  background: #fff;
  color: var(--text);
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(15, 40, 70, 0.04), 0 12px 36px rgba(15, 40, 70, 0.06);
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.core-card:hover,
.core-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(45, 135, 200, 0.22);
  box-shadow: 0 8px 20px rgba(15, 40, 70, 0.06), 0 20px 48px rgba(15, 55, 90, 0.1);
  outline: none;
}

.core-card__hero {
  position: relative;
  flex-shrink: 0;
}

.core-card__number {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 1;
  margin: 0;
  padding: 0.38rem 0.72rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  box-shadow: 0 4px 16px rgba(15, 35, 55, 0.12);
}

.core-card__media {
  width: 100%;
  margin: 0;
  aspect-ratio: 16 / 12.5;
  min-height: 10.75rem;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: none;
  background: var(--media-bg);
}

.core-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.35s ease;
}

.core-card:hover .core-card__media img,
.core-card:focus-visible .core-card__media img {
  transform: scale(1.03);
}

@media (prefers-reduced-motion: reduce) {
  .core-card,
  .core-card__media img {
    transition: none;
  }

  .core-card:hover,
  .core-card:focus-visible {
    transform: none;
  }

  .core-card:hover .core-card__media img,
  .core-card:focus-visible .core-card__media img {
    transform: none;
  }
}

.core-card__body {
  padding: 1.4rem 1.35rem 1.45rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.core-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.15rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--text);
}

.core-card p {
  margin: 0 0 0.95rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.58;
}

.core-card__cta {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(20, 50, 90, 0.07);
  color: var(--sky);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

@media (max-width: 1040px) {
  .core-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .section-heading-row {
    grid-template-columns: 1fr;
    align-items: start;
  }

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