/* ==========================================================================
   Yubiomic — About page
   ========================================================================== */

:root {
  --ink: #0b292c;
  --ink-soft: #183d40;
  --muted: #5c6c6f;
  --muted-light: #7a898b;
  --accent: #10b59f;
  --accent-deep: #0a9a87;
  --accent-soft: #e8f5f2;
  --accent-pale: #f0faf8;
  --dark: #082a2a;
  --dark-deep: #062526;
  --dark-line: rgba(255, 255, 255, 0.1);
  --paper: #ffffff;
  --paper-warm: #f4f4f3;
  --paper-cool: #f6f9f8;
  --line: #e3ebe9;
  --line-strong: #d8e3e1;
  --gutter: 44px;
  --container: 1480px;
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-latin: "Helvetica Neue", Helvetica, Arial, var(--font-sans);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-card: 0 18px 50px rgba(16, 55, 55, 0.06);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

@media (prefers-reduced-motion: no-preference) {
  body {
    scroll-behavior: smooth;
  }
}

::selection {
  background: rgba(16, 181, 159, 0.24);
  color: var(--ink);
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

h1,
h2,
h3,
p,
figure,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 3px solid rgba(16, 181, 159, 0.65);
  outline-offset: 4px;
}

.container {
  width: min(calc(100% - var(--gutter) * 2), var(--container));
  margin-inline: auto;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon .fill-current {
  fill: currentColor;
  stroke: none;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: 8px;
  color: #fff;
  background: var(--dark);
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* Buttons ------------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s var(--ease);
}

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

.btn:active {
  transform: translateY(0);
}

.btn .icon {
  width: 16px;
  height: 16px;
  transition: transform 0.25s var(--ease);
}

.btn:hover .icon {
  transform: translateX(3px);
}

.btn-accent {
  color: #052d2c;
  background: var(--accent);
}

.btn-accent:hover {
  background: #24c7b1;
}

.btn-dark {
  color: #fff;
  background: #0d3c3d;
}

.btn-dark:hover {
  background: #0a3132;
}

.btn-outline-light {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.38);
}

.btn-outline-light:hover {
  border-color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.06);
}

.btn-ghost {
  color: var(--ink);
  background: transparent;
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent-deep);
}

.btn-block {
  width: 100%;
}

/* Header ------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 244, 243, 0.96);
  transition:
    background-color 0.25s ease,
    box-shadow 0.25s ease;
}

@supports (backdrop-filter: blur(16px)) {
  .site-header {
    background: rgba(244, 244, 243, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }
}

.site-header.is-scrolled {
  box-shadow: 0 1px 0 rgba(9, 47, 49, 0.07), 0 12px 32px rgba(7, 41, 43, 0.07);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 96px;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  border-radius: 8px;
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  overflow: hidden;
  border-radius: 7px;
  background: linear-gradient(145deg, #0b3d41 0%, #062f33 100%);
  color: #35d5bd;
  font-family: var(--font-latin);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.brand-mark::after {
  content: "";
  position: absolute;
  top: -12px;
  right: -13px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(52, 217, 194, 0.16);
}

.brand-mark span {
  position: relative;
  z-index: 1;
  transform: translateX(-0.5px);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  min-width: 86px;
  line-height: 1;
}

.brand-name {
  color: var(--ink);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-en {
  color: #6c7b7d;
  font-family: var(--font-latin);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.34em;
  line-height: 1.2;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 2.8vw, 35px);
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0;
  border: 0;
  background: none;
  color: #263f42;
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.5;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -9px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: translateX(-50%);
  transition: width 0.25s var(--ease);
}

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

.nav-link:hover::after {
  width: calc(100% + 10px);
}

.nav-link.is-active::after {
  width: calc(100% + 10px);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-self: end;
}

.lang-select {
  position: relative;
}

.lang-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  width: 108px;
  height: 44px;
  padding: 0 12px;
  border: 1px solid #d9dfde;
  border-radius: 8px;
  background: transparent;
  color: #1d3a3d;
  font-size: 13.5px;
  white-space: nowrap;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.lang-trigger:hover,
.lang-trigger[aria-expanded="true"] {
  border-color: #aec3bf;
  background: rgba(255, 255, 255, 0.5);
}

.lang-trigger .icon-chevron {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.lang-trigger[aria-expanded="true"] .icon-chevron {
  transform: rotate(180deg);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 120;
  width: 176px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(7, 41, 43, 0.13);
}

.lang-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 38px;
  padding: 0 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  cursor: pointer;
  text-align: left;
}

.lang-option:hover {
  background: var(--paper-cool);
}

.lang-option .icon {
  width: 15px;
  height: 15px;
  color: var(--accent-deep);
}

.lang-option.is-selected {
  color: var(--accent-deep);
}

.lang-note {
  color: #9ba7a8;
  font-size: 11px;
}

.header-cta {
  min-height: 42px;
  padding: 0 19px;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #d9dfde;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle .icon {
  width: 22px;
  height: 22px;
}

.menu-toggle .close-icon {
  display: none;
}

.menu-toggle[aria-expanded="true"] .menu-icon {
  display: none;
}

.menu-toggle[aria-expanded="true"] .close-icon {
  display: block;
}

.mobile-nav {
  position: fixed;
  top: 80px;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 95;
  overflow-y: auto;
  padding: 18px 20px 44px;
  background: var(--paper-cool);
  border-top: 1px solid var(--line);
  overscroll-behavior: contain;
}

@keyframes mobile-menu-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-nav:not([hidden]) {
  animation: mobile-menu-in 0.22s var(--ease);
}

.mobile-nav-inner {
  width: min(100%, 640px);
  margin-inline: auto;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 58px;
  padding: 0 4px;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  background: none;
  color: var(--ink);
  font-size: 18px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}

.mobile-nav-link.is-active {
  color: var(--accent-deep);
}

.mobile-nav-link::after {
  content: "→";
  color: #9dacaa;
  font-family: var(--font-latin);
  font-size: 16px;
  font-weight: 400;
}

.mobile-cta {
  width: 100%;
  min-height: 50px;
  margin-top: 26px;
}

.mobile-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 26px;
  color: var(--muted);
  font-size: 14px;
}

.mobile-meta a {
  color: var(--accent-deep);
}

/* Hero --------------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 461px;
  overflow: hidden;
  background-color: #072d31;
  background-image: url("../images/hero-lab.webp");
  background-position: 64% center;
  background-size: cover;
  background-repeat: no-repeat;
  color: #fff;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(4, 35, 40, 0.99) 0%, rgba(4, 36, 41, 0.97) 31%, rgba(4, 38, 43, 0.88) 61%, rgba(4, 34, 39, 0.69) 100%),
    linear-gradient(180deg, rgba(3, 28, 32, 0.42), rgba(3, 30, 34, 0.12) 38%, rgba(3, 30, 34, 0.38));
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 78% 72%, rgba(27, 142, 133, 0.16), transparent 44%),
    linear-gradient(180deg, rgba(4, 35, 39, 0.28) 0%, transparent 40%, rgba(3, 30, 34, 0.2) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  min-height: 461px;
  padding-top: 73px;
  padding-bottom: 94px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 20px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
  line-height: 20px;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: #fff;
}

.breadcrumb span[aria-current] {
  color: rgba(255, 255, 255, 0.86);
}

.hero-title {
  max-width: 1080px;
  margin-top: 26px;
  color: #fff;
  font-size: clamp(2.125rem, 4.5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.032em;
  line-height: 1.22;
  text-wrap: balance;
}

.hero-lead {
  max-width: 870px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.004em;
  line-height: 2;
}

.hero-button {
  min-height: 46px;
  margin-top: 32px;
  padding-inline: 24px;
}

/* Generic section pieces --------------------------------------------------- */
.section {
  position: relative;
}

.section-head {
  max-width: 1080px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--accent-deep);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 20px;
}

.eyebrow-line {
  display: inline-block;
  width: 42px;
  height: 3px;
  border-radius: 999px;
  background: var(--accent);
}

.section-title {
  color: var(--ink);
  font-size: clamp(2.125rem, 3.7vw, 2.875rem);
  font-weight: 700;
  letter-spacing: -0.028em;
  line-height: 1.25;
}

.section-head .eyebrow + .section-title {
  margin-top: 22px;
}

.section-subtitle {
  margin-top: 20px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.95;
}

.body-copy {
  color: var(--muted);
  font-size: 17px;
  letter-spacing: 0.012em;
  line-height: 1.98;
}

.body-copy p + p {
  margin-top: 26px;
}

/* Intro -------------------------------------------------------------------- */
.intro {
  padding: 117px 0 158px;
  background: var(--paper-cool);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 122px;
}

.intro-title {
  max-width: 520px;
  margin-top: 22px;
}

.intro-body {
  max-width: 540px;
  margin-top: 29px;
}

.intro-figure {
  margin: 0;
  transform: translateY(18px);
}

.intro-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 544 / 422;
  border-radius: 9px;
  object-fit: cover;
  box-shadow: 0 12px 36px rgba(14, 48, 50, 0.06);
}

/* Scope -------------------------------------------------------------------- */
.scope {
  padding: 118px 0 177px;
  background: var(--paper);
}

.scope .section-head {
  margin-bottom: 58px;
}

.scope-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px 28px;
}

.scope-card {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 62px;
  padding: 12px 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: #1a3538;
  font-size: 15.5px;
  line-height: 1.5;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s var(--ease);
}

.scope-card:hover {
  border-color: #c8dad6;
  box-shadow: 0 12px 26px rgba(13, 60, 61, 0.055);
  transform: translateY(-2px);
}

.check-badge {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 6px;
  background: var(--accent-soft);
}

.check-dot {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
}

.check-dot .icon {
  width: 13px;
  height: 13px;
  stroke-width: 2.4;
}

/* Journey ------------------------------------------------------------------ */
.journey {
  padding: 124px 0 134px;
  background: var(--paper-cool);
}

.journey-layout {
  display: block;
}

.journey-head {
  max-width: 760px;
}

.journey .section-title {
  text-wrap: balance;
}

.nowrap {
  white-space: nowrap;
}

@media (max-width: 680px) {
  .mobile-nowrap {
    display: inline-block;
  }
}

.timeline {
  position: relative;
  max-width: 100%;
  margin-top: 55px;
  padding-left: 46px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 18px;
  left: 10px;
  width: 1px;
  background: #d4e0de;
}

.timeline-item {
  position: relative;
  padding-bottom: 61px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  top: 1px;
  left: -46px;
  width: 17px;
  height: 17px;
  border: 2px solid #16b39d;
  border-radius: 50%;
  background: var(--paper-cool);
}

.timeline-kicker {
  color: var(--accent-deep);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

.timeline-item h3 {
  margin-top: 10px;
  color: #0c292c;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.5;
}

.timeline-desc {
  max-width: 820px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.9;
}

/* Mission ------------------------------------------------------------------ */
.mission {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 140px 0 150px;
  background:
    radial-gradient(ellipse at 76% -5%, rgba(21, 100, 96, 0.24), transparent 48%),
    linear-gradient(180deg, #082a2a 0%, #072727 100%);
  color: #fff;
}

.mission::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 12% 30%, rgba(34, 217, 195, 0.055) 0, transparent 38%),
    radial-gradient(circle at 88% 76%, rgba(34, 217, 195, 0.04) 0, transparent 34%);
}

.section-head--dark .section-title {
  color: #fff;
  font-size: clamp(2.125rem, 4.1vw, 3.25rem);
  letter-spacing: -0.02em;
}

.eyebrow--dark {
  color: #35d2bc;
}

.mission .section-head {
  margin-bottom: 64px;
}

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

.mission-card {
  min-height: 211px;
  padding: 41px 34px 29px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
}

.card-kicker {
  color: #34d2bb;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.5;
}

.mission-card > p:last-child {
  max-width: 590px;
  margin-top: 34px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  letter-spacing: 0.01em;
  line-height: 2.35;
}

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

.value-card {
  min-height: 292px;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
}

.value-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 7px;
  background: rgba(38, 211, 188, 0.13);
  color: #2cd2ba;
}

.value-icon .icon {
  width: 25px;
  height: 25px;
  stroke-width: 1.55;
}

.value-card h3 {
  margin-top: 24px;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.5;
}

.value-card p {
  max-width: 360px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 16px;
  letter-spacing: 0.01em;
  line-height: 1.95;
}

/* Advantages --------------------------------------------------------------- */
.advantages {
  padding: 128px 0 191px;
  background: #fff;
}

.advantages .section-head {
  margin-bottom: 69px;
}

.advantages .section-subtitle {
  margin-top: 31px;
}

.advantages .section-title {
  font-size: clamp(2.125rem, 4.1vw, 3.25rem);
  letter-spacing: -0.022em;
}

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

.advantage-card {
  display: flex;
  align-items: flex-start;
  gap: 50px;
  min-height: 187px;
  padding: 32px 34px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s var(--ease);
}

.advantage-card:first-child,
.advantage-card:nth-child(2) {
  min-height: 218px;
}

.advantage-card:hover {
  border-color: #cadcd8;
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.advantage-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 8px;
  background: var(--accent-soft);
  color: #0caa95;
}

.advantage-icon .icon {
  width: 25px;
  height: 25px;
  stroke-width: 1.6;
}

.advantage-card h3 {
  margin-top: 0;
  color: var(--ink);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.005em;
  line-height: 1.5;
}

.advantage-card p {
  max-width: 463px;
  margin-top: 15px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.78;
}

.advantages > .container > .btn {
  margin-top: 65px;
  min-width: 169px;
  min-height: 44px;
  padding-inline: 26px;
}

/* Footer ------------------------------------------------------------------- */
.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: 46px;
  background:
    radial-gradient(ellipse at 77% 2%, rgba(24, 103, 99, 0.22), transparent 43%),
    linear-gradient(180deg, #072b2c 0%, #062829 46%, #062526 100%);
  color: #fff;
}

.footer-pattern {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: url("../images/footer-pattern.svg");
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0.85;
  pointer-events: none;
}

.footer-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 56px;
  padding-bottom: 192px;
}

.footer-cta-copy {
  max-width: 760px;
}

.footer-cta h2 {
  color: #fff;
  font-size: clamp(2rem, 3.7vw, 2.875rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.footer-cta p {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 17px;
  line-height: 1.9;
}

.footer-cta-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: none;
  margin-right: 38px;
}

.footer-cta-actions .btn {
  min-height: 56px;
  padding-inline: 34px;
  white-space: nowrap;
}

.footer-cta-actions .btn:first-child {
  padding-inline: 38px;
}

.footer-cta-actions .btn:last-child {
  padding-inline: 27px;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.03fr 1.03fr 0.98fr 1.06fr;
  gap: 50px;
  padding-bottom: 80px;
}

.brand--footer {
  gap: 14px;
}

.brand--footer .brand-mark {
  width: 52px;
  height: 52px;
  background: var(--accent);
  color: #063437;
  font-size: 18px;
  box-shadow: none;
}

.brand--footer .brand-mark::after {
  display: none;
}

.brand--footer .brand-name {
  color: #fff;
  font-size: 21px;
}

.brand--footer .brand-en {
  color: rgba(255, 255, 255, 0.56);
  font-size: 9px;
}

.footer-brand h3 {
  margin-top: 30px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.7;
}

.footer-brand p {
  max-width: 310px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 15px;
  line-height: 1.95;
}

.footer-col h3 {
  margin-top: 10px;
  margin-bottom: 27px;
  color: #fff;
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.5;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.footer-links a,
.footer-links button {
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.68);
  font-size: 15.5px;
  line-height: 1.7;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-links button:hover {
  color: #fff;
}

.footer-links--plain {
  gap: 16px;
}

.footer-links--plain li {
  color: rgba(255, 255, 255, 0.68);
  font-size: 15.5px;
  line-height: 1.7;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 17px;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15.5px;
  line-height: 1.7;
}

.contact-list .icon {
  width: 17px;
  height: 17px;
  margin-top: 4px;
  color: var(--accent);
  stroke-width: 1.7;
}

.contact-list a {
  transition: color 0.2s ease;
}

.contact-list a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 44px 0 77px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  line-height: 1.7;
}

/* Dialog ------------------------------------------------------------------- */
.dialog {
  width: min(560px, calc(100% - 40px));
  max-height: calc(100vh - 40px);
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 28px 90px rgba(2, 22, 24, 0.32);
}

.dialog::backdrop {
  background: rgba(3, 24, 26, 0.68);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.dialog-inner {
  position: relative;
  padding: 48px 48px 42px;
}

.dialog-inner--compact {
  padding-bottom: 40px;
}

.dialog-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: #627174;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.dialog-close:hover {
  border-color: #c9dad6;
  background: var(--paper-cool);
  color: var(--ink);
}

.dialog-close .icon {
  width: 17px;
  height: 17px;
}

.dialog h2 {
  margin-top: 18px;
  padding-right: 30px;
  color: var(--ink);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.35;
}

.dialog-lead,
.dialog-inner--compact > p:last-of-type {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.85;
}

.contact-form {
  margin-top: 30px;
}

.field + .field {
  margin-top: 18px;
}

.field label {
  display: block;
  margin-bottom: 8px;
  color: #263f42;
  font-size: 14px;
  font-weight: 500;
}

.field label span {
  color: var(--accent-deep);
}

.field input,
.field textarea {
  display: block;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #dce6e4;
  border-radius: 8px;
  background: #fbfdfc;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #a2aeaf;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(16, 181, 159, 0.12);
  outline: none;
}

.field.has-error input,
.field.has-error textarea {
  border-color: #d65d57;
  box-shadow: 0 0 0 3px rgba(214, 93, 87, 0.09);
}

.field-error {
  display: none;
  margin-top: 6px;
  color: #c94d47;
  font-size: 12.5px;
  line-height: 1.5;
}

.field.has-error .field-error {
  display: block;
}

.contact-form .btn {
  min-height: 50px;
  margin-top: 24px;
}

.form-note {
  margin-top: 13px;
  color: #9aa6a7;
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}

.dialog-success {
  padding: 22px 0 4px;
  text-align: center;
}

.success-mark {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-deep);
}

.success-mark .icon {
  width: 30px;
  height: 30px;
  stroke-width: 2;
}

.dialog-success h2 {
  margin-top: 0;
  padding: 0;
}

.dialog-success p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.8;
}

.dialog-success .btn {
  margin-top: 28px;
  min-width: 160px;
}

.dialog-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.dialog-actions .btn {
  min-width: 132px;
}

.news-dialog {
  width: min(500px, calc(100% - 40px));
}

@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.dialog[open] {
  animation: dialog-in 0.25s var(--ease);
}

/* Toast -------------------------------------------------------------------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 300;
  max-width: min(520px, calc(100% - 40px));
  padding: 13px 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(7, 40, 42, 0.96);
  color: #fff;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
  box-shadow: 0 16px 40px rgba(3, 22, 24, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 12px);
  transition:
    opacity 0.25s ease,
    transform 0.25s var(--ease),
    visibility 0.25s ease;
}

.toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

/* Responsive --------------------------------------------------------------- */
@media (max-width: 1120px) {
  .main-nav {
    gap: 22px;
  }

  .nav-link {
    font-size: 15px;
  }

  .lang-trigger {
    width: 116px;
  }

  .intro-grid {
    gap: 56px;
  }

  .footer-cta {
    gap: 36px;
  }

  .footer-cta-actions .btn {
    padding-inline: 26px;
  }
}

@media (max-width: 1080px) {
  :root {
    --gutter: 32px;
  }

  html {
    scroll-padding-top: 92px;
  }

  .header-inner {
    min-height: 80px;
  }

  .main-nav,
  .lang-select,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .mobile-nav {
    top: 80px;
  }

  .hero {
    background-position: 67% center;
  }

  .hero-inner {
    padding-top: 66px;
    padding-bottom: 84px;
  }

  .intro {
    padding: 92px 0 110px;
  }

  .intro-grid {
    gap: 64px;
  }

  .scope {
    padding: 96px 0 120px;
  }

  .journey {
    padding: 100px 0 90px;
  }

  .journey-layout {
    display: block;
  }

  .mission {
    padding: 110px 0 120px;
  }

  .mission .section-head {
    margin-bottom: 56px;
  }

  .advantages {
    padding: 100px 0 120px;
  }

  .advantages .section-head {
    margin-bottom: 64px;
  }

  .advantages .section-subtitle {
    margin-top: 20px;
  }

  .advantage-card:first-child,
  .advantage-card:nth-child(2) {
    min-height: 0;
  }

  .footer-cta {
    align-items: flex-start;
    flex-direction: column;
    gap: 32px;
    padding-bottom: 96px;
  }

  .footer-cta-actions {
    margin-right: 0;
  }

  .footer-main {
    grid-template-columns: 1.2fr 0.9fr 1fr;
    gap: 48px 32px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-brand p {
    max-width: 640px;
  }

  .footer-col:last-child {
    grid-column: auto;
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: 500px;
  }

  .hero-inner {
    min-height: 500px;
    padding-top: 58px;
    padding-bottom: 72px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .hero-title {
    max-width: 760px;
    margin-top: 22px;
    font-size: clamp(2.25rem, 5.8vw, 3.25rem);
  }

  .hero-lead {
    max-width: 700px;
    font-size: 16px;
    line-height: 1.9;
    margin-top: 20px;
  }

  .hero-button {
    align-self: flex-start;
    margin-top: 32px;
  }

  .intro {
    padding: 80px 0 88px;
  }

  .intro-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 44px;
  }

  .intro-copy {
    max-width: 700px;
  }

  .intro-title,
  .intro-body {
    max-width: 700px;
  }

  .intro-figure {
    width: min(100%, 700px);
    transform: none;
  }

  .section-title {
    font-size: clamp(2rem, 5vw, 2.625rem);
  }

  .section-head--dark .section-title,
  .advantages .section-title {
    font-size: clamp(2rem, 5vw, 2.75rem);
  }

  .scope {
    padding: 82px 0 100px;
  }

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

  .journey {
    padding: 86px 0 70px;
  }

  .journey-head {
    max-width: 680px;
  }

  .timeline {
    max-width: 760px;
    margin-top: 42px;
  }

  .mission {
    padding: 92px 0 98px;
  }

  .mission-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .mission-card {
    min-height: 0;
    padding: 36px 30px;
  }

  .values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 20px;
  }

  .value-card {
    min-height: 0;
  }

  .value-card:last-child {
    grid-column: 1 / -1;
  }

  .advantages {
    padding: 86px 0 96px;
  }

  .advantages .section-head {
    margin-bottom: 48px;
  }

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

  .advantage-card {
    min-height: 0;
  }

  .advantage-card p {
    max-width: 640px;
    font-size: 16px;
  }

  .advantages > .container > .btn {
    margin-top: 36px;
  }

  .footer-cta {
    padding-bottom: 68px;
  }

  .footer-cta h2 {
    font-size: clamp(2rem, 5vw, 2.5rem);
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 44px 34px;
    padding-bottom: 58px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-col:last-child {
    grid-column: 1 / -1;
  }

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

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    padding-bottom: 30px;
  }
}

@media (max-width: 680px) {
  :root {
    --gutter: 20px;
  }

  html {
    scroll-padding-top: 80px;
  }

  .header-inner {
    min-height: 72px;
    gap: 12px;
  }

  .brand {
    gap: 10px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    font-size: 15px;
  }

  .brand-name {
    font-size: 18px;
  }

  .brand-en {
    font-size: 7.5px;
    letter-spacing: 0.18em;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
  }

  .mobile-nav {
    top: 72px;
  }

  .hero {
    min-height: 520px;
    background-position: 68% center;
  }

  .hero-inner {
    min-height: 520px;
    padding-top: 44px;
    padding-bottom: 54px;
  }

  .hero-title {
    max-width: 560px;
    margin-top: 20px;
    font-size: clamp(1.95rem, 8.2vw, 2.6rem);
    letter-spacing: -0.035em;
    line-height: 1.28;
    text-wrap: pretty;
  }

  .hero-lead {
    margin-top: 18px;
    font-size: 15px;
    line-height: 1.85;
  }

  .breadcrumb {
    font-size: 12.5px;
  }

  .hero-button {
    margin-top: 28px;
    min-height: 44px;
  }

  .intro {
    padding: 64px 0 70px;
  }

  .intro-grid {
    gap: 34px;
  }

  .intro-title {
    margin-top: 18px;
  }

  .intro-body {
    margin-top: 22px;
  }

  .body-copy,
  .section-subtitle {
    font-size: 15.5px;
    line-height: 1.95;
  }

  .body-copy p + p {
    margin-top: 20px;
  }

  .eyebrow {
    gap: 12px;
    font-size: 13px;
  }

  .eyebrow-line {
    width: 34px;
    height: 3px;
  }

  .section-title,
  .section-head--dark .section-title,
  .advantages .section-title {
    font-size: clamp(1.9rem, 8.4vw, 2.35rem);
    line-height: 1.3;
    letter-spacing: -0.03em;
  }

  .section-head .eyebrow + .section-title {
    margin-top: 16px;
  }

  .section-subtitle {
    margin-top: 14px;
  }

  .scope {
    padding: 64px 0 74px;
  }

  .scope .section-head {
    margin-bottom: 34px;
  }

  .scope-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .scope-card {
    min-height: 56px;
    padding: 10px 18px;
    gap: 14px;
    font-size: 15px;
  }

  .check-badge {
    width: 32px;
    height: 32px;
    border-radius: 5px;
  }

  .check-dot {
    width: 20px;
    height: 20px;
  }

  .journey {
    padding: 64px 0 56px;
  }

  .timeline {
    margin-top: 30px;
    padding-left: 34px;
  }

  .timeline::before {
    left: 7px;
  }

  .timeline-dot {
    left: -34px;
    width: 15px;
    height: 15px;
  }

  .timeline-item {
    padding-bottom: 38px;
  }

  .timeline-item h3 {
    margin-top: 7px;
    font-size: 18px;
  }

  .timeline-desc {
    margin-top: 8px;
    font-size: 14.5px;
    line-height: 1.85;
  }

  .mission {
    padding: 64px 0 68px;
  }

  .mission .section-head {
    margin-bottom: 36px;
  }

  .mission-grid {
    gap: 14px;
  }

  .mission-card {
    padding: 26px 22px;
  }

  .card-kicker {
    font-size: 13.5px;
  }

  .mission-card > p:last-child {
    margin-top: 14px;
    font-size: 16px;
    line-height: 1.9;
  }

  .values-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    margin-top: 14px;
  }

  .value-card {
    padding: 24px 22px;
  }

  .value-card:last-child {
    grid-column: auto;
  }

  .value-icon {
    width: 42px;
    height: 42px;
  }

  .value-card h3 {
    margin-top: 18px;
    font-size: 18px;
  }

  .value-card p {
    margin-top: 10px;
    font-size: 14.5px;
    line-height: 1.85;
  }

  .advantages {
    padding: 64px 0 72px;
  }

  .advantages .section-head {
    margin-bottom: 32px;
  }

  .advantages-grid {
    gap: 14px;
  }

  .advantage-card {
    gap: 16px;
    padding: 22px 20px;
  }

  .advantage-card p {
    max-width: none;
    font-size: 14.5px;
  }

  .advantage-icon {
    width: 40px;
    height: 40px;
  }

  .advantage-icon .icon {
    width: 22px;
    height: 22px;
  }

  .advantage-card h3 {
    font-size: 17px;
  }

  .advantage-card p {
    margin-top: 9px;
    font-size: 14.5px;
    line-height: 1.85;
  }

  .advantages > .container > .btn {
    width: 100%;
    margin-top: 26px;
    min-height: 46px;
  }

  .site-footer {
    padding-top: 44px;
  }

  .footer-cta {
    gap: 26px;
    padding-bottom: 50px;
  }

  .footer-cta h2 {
    font-size: clamp(1.9rem, 8vw, 2.25rem);
    line-height: 1.3;
  }

  .footer-cta p {
    margin-top: 12px;
    font-size: 15px;
    line-height: 1.85;
  }

  .footer-cta-actions {
    width: 100%;
    gap: 10px;
  }

  .footer-cta-actions .btn {
    min-height: 48px;
    flex: 1;
    padding-inline: 14px;
    font-size: 14px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-bottom: 38px;
  }

  .footer-brand,
  .footer-col:last-child {
    grid-column: auto;
  }

  .brand--footer .brand-mark {
    width: 44px;
    height: 44px;
    font-size: 16px;
  }

  .brand--footer .brand-name {
    font-size: 19px;
  }

  .footer-brand h3 {
    margin-top: 22px;
    font-size: 15px;
  }

  .footer-brand p {
    margin-top: 12px;
    font-size: 14.5px;
    line-height: 1.9;
  }

  .footer-col h3 {
    margin-top: 0;
    margin-bottom: 14px;
    font-size: 15.5px;
  }

  .footer-links {
    gap: 10px;
  }

  .footer-links a,
  .footer-links button,
  .footer-links--plain li,
  .contact-list li {
    font-size: 14.5px;
  }

  .footer-links--plain {
    gap: 10px;
  }

  .contact-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .footer-bottom {
    padding: 22px 0 28px;
    font-size: 12.5px;
    line-height: 1.7;
  }

  .dialog {
    width: calc(100% - 24px);
    max-height: calc(100dvh - 24px);
    border-radius: 14px;
  }

  .dialog-inner {
    padding: 36px 22px 28px;
  }

  .dialog-inner--compact {
    padding-bottom: 28px;
  }

  .dialog-close {
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
  }

  .dialog h2 {
    font-size: 24px;
    padding-right: 28px;
  }

  .dialog-lead,
  .dialog-inner--compact > p:last-of-type {
    font-size: 14.5px;
  }

  .dialog-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .dialog-actions .btn {
    width: 100%;
  }

  .toast {
    bottom: 18px;
    font-size: 13px;
  }
}

@media (max-width: 380px) {
  .hero-title {
    font-size: 1.82rem;
  }

  .brand-name {
    font-size: 17px;
  }

  .section-title,
  .section-head--dark .section-title,
  .advantages .section-title {
    font-size: 1.8rem;
  }

  .dialog h2 {
    font-size: 22px;
  }

  .footer-cta-actions {
    flex-direction: column;
  }

  .footer-cta-actions .btn {
    width: 100%;
    flex: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
