@font-face {
  font-family: "IGIA Spartan";
  src: url("assets/igia-spartan-thin.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #172221;
  --muted: #627472;
  --paper: #f6f8f7;
  --surface: #ffffff;
  --line: #d9e3e0;
  --teal: #31947f;
  --teal-dark: #176b60;
  --blue: #245a7b;
  --aqua: #dff3ef;
  --cyan: #6bd8c8;
  --shadow: 0 24px 70px rgba(18, 40, 38, 0.15);
  --soft-shadow: 0 16px 44px rgba(23, 34, 33, 0.09);
  --display-font: "IGIA Spartan", "Century Gothic", "Trebuchet MS", Inter, ui-sans-serif,
    system-ui, sans-serif;
  --body-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

html[lang="ru"] {
  --display-font: "Century Gothic", "Trebuchet MS", "Segoe UI", Arial, sans-serif;
}

html[lang="ru"] .nav-links,
html[lang="ru"] .header-action,
html[lang="ru"] h1,
html[lang="ru"] h2,
html[lang="ru"] h3,
html[lang="ru"] .button,
html[lang="ru"] .intro-stat strong,
html[lang="ru"] .intro-stat span,
html[lang="ru"] .item-number,
html[lang="ru"] .product-grid span,
html[lang="ru"] .check-list li,
html[lang="ru"] .contact-direct a,
html[lang="ru"] .site-footer a {
  font-weight: 400;
}

html[lang="ru"] .eyebrow,
html[lang="ru"] .section-kicker,
html[lang="ru"] .hero-panel p,
html[lang="ru"] .hero-bottom-strip span,
html[lang="ru"] .sector-card p,
html[lang="ru"] .contact-form span,
html[lang="ru"] .language-switcher button {
  font-weight: 500;
}

html[lang="ru"] .product-shell {
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1fr);
}

html[lang="ru"] .product-shell h2 {
  font-size: clamp(1.9rem, 3.15vw, 2.85rem);
  line-height: 1.08;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(223, 243, 239, 0.7), transparent 420px),
    var(--paper);
  color: var(--ink);
  font-family: var(--body-font);
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100vw;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition:
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(246, 248, 247, 0.96);
  color: var(--ink);
  box-shadow: 0 12px 35px rgba(18, 40, 38, 0.08);
  backdrop-filter: blur(16px);
}

.brand,
.nav-links,
.header-tools,
.language-switcher,
.hero-actions,
.site-footer,
.contact-shell,
.contact-direct,
.form-footer {
  display: flex;
  align-items: center;
}

.brand {
  position: relative;
  width: clamp(116px, 15vw, 180px);
  height: 42px;
}

.logo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
  transition: opacity 180ms ease;
}

.logo-color {
  opacity: 0;
}

.site-header.is-scrolled .logo-light {
  opacity: 0;
}

.site-header.is-scrolled .logo-color {
  opacity: 1;
}

.nav-links {
  gap: clamp(14px, 3vw, 34px);
  font-family: var(--display-font);
  font-size: 0.94rem;
  font-weight: 600;
}

.nav-links a {
  position: relative;
  padding: 8px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-action {
  justify-self: end;
  font-family: var(--display-font);
  padding: 11px 16px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  transition:
    background 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.header-tools {
  justify-self: end;
  gap: 14px;
  min-width: 0;
}

.language-switcher {
  gap: 4px;
  padding: 4px;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.language-switcher button {
  min-width: 34px;
  min-height: 30px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-family: var(--display-font);
  font-size: 0.76rem;
  font-weight: 700;
}

.language-switcher button.is-active {
  background: #ffffff;
  color: var(--teal-dark);
}

.site-header.is-scrolled .language-switcher button.is-active {
  background: var(--teal);
  color: #ffffff;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 50%;
  padding: 0;
  background: rgba(255, 255, 255, 0.08);
  color: inherit;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

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

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

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

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

.header-action:hover {
  background: #ffffff;
  color: var(--teal-dark);
  transform: translateY(-1px);
}

.site-header.is-scrolled .header-action:hover {
  background: var(--teal);
  color: #ffffff;
}

.hero {
  position: relative;
  width: 100%;
  max-width: 100vw;
  min-height: 92svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 132px clamp(20px, 6vw, 88px) 74px;
  color: #ffffff;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 32%;
  background: linear-gradient(0deg, rgba(246, 248, 247, 0.98), rgba(246, 248, 247, 0));
  pointer-events: none;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-overlay {
  background:
    radial-gradient(circle at 84% 24%, rgba(107, 216, 200, 0.22), transparent 28%),
    linear-gradient(90deg, rgba(8, 24, 25, 0.9), rgba(8, 24, 25, 0.64) 54%, rgba(8, 24, 25, 0.22)),
    linear-gradient(0deg, rgba(8, 24, 25, 0.72), transparent 46%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 360px);
  align-items: end;
  gap: clamp(34px, 6vw, 84px);
  width: min(1180px, 100%);
  min-width: 0;
}

.hero-text {
  max-width: 900px;
  min-width: 0;
}

.science-pattern {
  position: absolute;
  z-index: 1;
  right: clamp(20px, 8vw, 120px);
  top: 22%;
  width: min(34vw, 420px);
  aspect-ratio: 1;
  opacity: 0.42;
  pointer-events: none;
}

.science-pattern span {
  position: absolute;
  width: 116px;
  aspect-ratio: 1;
  border: 2px solid rgba(142, 226, 209, 0.46);
  clip-path: polygon(25% 4%, 75% 4%, 100% 50%, 75% 96%, 25% 96%, 0 50%);
}

.science-pattern span:nth-child(1) {
  top: 6%;
  left: 4%;
}

.science-pattern span:nth-child(2) {
  top: 32%;
  left: 38%;
  background: rgba(49, 148, 127, 0.22);
}

.science-pattern span:nth-child(3) {
  right: 3%;
  bottom: 14%;
}

.science-pattern span:nth-child(4) {
  left: 16%;
  bottom: 6%;
  width: 18px;
  border-radius: 50%;
  clip-path: none;
  background: var(--cyan);
}

.hero-panel {
  position: relative;
  overflow: hidden;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-top: 4px solid var(--cyan);
  pointer-events: none;
}

.hero-panel p {
  margin-bottom: 20px;
  color: #8ee2d1;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-panel ul {
  display: grid;
  gap: 16px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.hero-panel li {
  position: relative;
  padding-left: 24px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.45;
}

.hero-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.48em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cyan);
}

.hero-panel span {
  display: block;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
}

.hero-bottom-strip {
  position: absolute;
  z-index: 3;
  left: clamp(20px, 6vw, 88px);
  right: clamp(20px, 6vw, 88px);
  bottom: 18px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(10, 28, 28, 0.56);
  backdrop-filter: blur(12px);
}

.hero-bottom-strip span {
  min-height: 48px;
  display: grid;
  place-items: center;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-bottom-strip span:last-child {
  border-right: 0;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--teal);
  font-family: var(--display-font);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #8ee2d1;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--display-font);
  font-weight: 600;
  letter-spacing: 0;
}

h1 {
  max-width: 980px;
  margin-bottom: 24px;
  font-size: clamp(2.9rem, 7.2vw, 6.1rem);
  line-height: 0.96;
  overflow-wrap: break-word;
  hyphens: auto;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4.3vw, 3.9rem);
  line-height: 1;
}

h3 {
  font-family: var(--display-font);
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 1.22rem;
  line-height: 1.22;
}

.hero-copy {
  max-width: 730px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 1.7vw, 1.22rem);
  line-height: 1.7;
}

.button {
  display: inline-flex;
  max-width: 100%;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 13px 20px;
  font-family: var(--display-font);
  font-weight: 600;
  line-height: 1;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

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

.button-primary {
  background: var(--teal);
  color: #ffffff;
  box-shadow: 0 14px 32px rgba(49, 148, 127, 0.32);
}

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

.button-secondary {
  border-color: rgba(255, 255, 255, 0.72);
  color: #ffffff;
}

.button-quiet {
  border-color: rgba(23, 34, 33, 0.2);
  color: var(--ink);
  background: #ffffff;
}

.hero-actions,
.contact-direct {
  flex-wrap: wrap;
  gap: 14px;
  max-width: 100%;
}

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

.section-lead {
  position: relative;
}

.section-lead::before {
  content: "";
  display: block;
  width: 72px;
  height: 4px;
  margin-bottom: 28px;
  background: linear-gradient(90deg, var(--teal), var(--blue));
}

.intro {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: -36px;
  position: relative;
  z-index: 2;
  background: var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.intro-stat {
  min-height: 136px;
  padding: 26px;
  background: var(--surface);
  transition:
    transform 160ms ease,
    background 160ms ease;
}

.intro-stat:hover {
  transform: translateY(-4px);
  background: #fafffd;
}

.intro-stat strong {
  display: block;
  color: var(--teal);
  font-family: var(--display-font);
  font-weight: 600;
  font-size: 2rem;
}

.intro-stat span {
  color: var(--muted);
  font-family: var(--display-font);
  font-weight: 600;
}

.split-section,
.service-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1fr);
  gap: clamp(38px, 8vw, 96px);
  padding: 112px 0;
}

.section-lead p,
.solution-item p,
.service-section p,
.contact-section p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

.section-lead p {
  margin-top: 24px;
  max-width: 520px;
}

.solution-list {
  display: grid;
  gap: 24px;
}

.solution-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 22px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  transition:
    transform 160ms ease,
    border-color 160ms ease;
}

.solution-item:hover {
  transform: translateX(8px);
  border-color: rgba(49, 148, 127, 0.38);
}

.item-number {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: rgba(49, 148, 127, 0.13);
  color: var(--teal-dark);
  font-family: var(--display-font);
  font-weight: 600;
}

.product-band {
  position: relative;
  overflow: hidden;
  padding: 94px 0;
  background:
    linear-gradient(135deg, rgba(49, 148, 127, 0.12), rgba(36, 90, 123, 0.1)),
    #ffffff;
}

.product-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(23, 34, 33, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 34, 33, 0.045) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}

.product-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, 0.76fr) 1fr;
  gap: clamp(34px, 6vw, 76px);
  align-items: start;
}

.product-shell h2 {
  font-size: clamp(2rem, 3.6vw, 3.35rem);
}

.product-shell > div:first-child p:not(.section-kicker) {
  max-width: 520px;
  margin-top: 24px;
  color: var(--muted);
  line-height: 1.75;
}

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

.product-grid article {
  min-height: 228px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border: 1px solid rgba(23, 34, 33, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(8px);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

.product-grid article:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 54px rgba(23, 34, 33, 0.13);
}

.product-grid article:nth-child(1),
.product-grid article:nth-child(4) {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(223, 243, 239, 0.86));
}

.product-grid article:nth-child(2),
.product-grid article:nth-child(5) {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(230, 239, 245, 0.86));
}

.product-grid span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: #ffffff;
  font-family: var(--display-font);
  font-size: 0.76rem;
  font-weight: 600;
}

.product-grid h3 {
  margin: 28px 0 10px;
}

.product-grid p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.sectors-band {
  padding: 102px 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(107, 216, 200, 0.16), transparent 30%),
    linear-gradient(135deg, #17312f, #102322);
  color: #ffffff;
}

.sectors-band .section-kicker {
  color: #8ee2d1;
}

.sectors-band h2 {
  max-width: 900px;
  margin-bottom: 48px;
}

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

.sector-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.sector-card:hover {
  transform: translateY(-8px);
  border-color: rgba(142, 226, 209, 0.42);
  background: rgba(255, 255, 255, 0.09);
}

.sector-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 220ms ease;
}

.sector-card:hover img {
  transform: scale(1.05);
}

.sector-card div {
  padding: 22px;
}

.sector-card p {
  margin-bottom: 12px;
  color: #8ee2d1;
  font-family: var(--display-font);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.sector-card h3 {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.05rem;
}

.service-section {
  align-items: center;
}

.service-image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.service-image-wrap::after {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 6px;
  pointer-events: none;
}

.service-image-wrap img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.service-section h2 {
  margin-bottom: 24px;
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--ink);
  font-family: var(--display-font);
  font-weight: 600;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: inset 0 0 0 5px #dff3ef;
}

.partners-section {
  padding: 82px 0;
  background:
    linear-gradient(90deg, rgba(23, 34, 33, 0.92), rgba(23, 49, 47, 0.94)),
    #172221;
  color: #ffffff;
}

.partners-section .section-kicker {
  color: #8ee2d1;
}

.partners-shell {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  align-items: start;
}

.partners-shell h2 {
  max-width: 760px;
}

.partners-content p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.04rem;
  line-height: 1.75;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin: 30px 0 12px;
}

.partner-grid article {
  min-height: 118px;
  display: grid;
  place-items: center;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: #ffffff;
  transition:
    border-color 160ms ease,
    background 160ms ease;
}

.partner-grid article:hover {
  border-color: rgba(142, 226, 209, 0.46);
  background: #ffffff;
}

.partner-grid img {
  width: 100%;
  height: 74px;
  object-fit: contain;
  border-radius: 4px;
}

.partners-note {
  margin: 0;
  color: rgba(142, 226, 209, 0.86) !important;
  font-size: 0.92rem !important;
}

.contact-section {
  position: relative;
  overflow: hidden;
  padding: 92px 0;
  background:
    linear-gradient(135deg, rgba(223, 243, 239, 0.98), rgba(255, 255, 255, 0.98)),
    var(--aqua);
}

.contact-mark {
  position: absolute;
  right: -90px;
  top: -90px;
  width: 300px;
  aspect-ratio: 1;
  border: 28px solid rgba(49, 148, 127, 0.12);
  border-radius: 50%;
}

.contact-mark::after {
  content: "";
  position: absolute;
  inset: 54px;
  border: 2px solid rgba(49, 148, 127, 0.18);
  border-radius: 50%;
}

.contact-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(360px, 1fr);
  align-items: start;
  gap: clamp(32px, 7vw, 86px);
}

.contact-copy {
  max-width: 720px;
}

.contact-direct {
  margin-top: 28px;
}

.contact-direct a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(23, 34, 33, 0.14);
  border-radius: 999px;
  padding: 10px 15px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--teal-dark);
  font-family: var(--display-font);
  font-weight: 600;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(23, 34, 33, 0.11);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(12px);
}

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

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form span {
  color: var(--teal-dark);
  font-family: var(--display-font);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(23, 34, 33, 0.16);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  line-height: 1.4;
  outline: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.contact-form input,
.contact-form select {
  min-height: 48px;
  padding: 0 14px;
}

.contact-form textarea {
  min-height: 132px;
  resize: vertical;
  padding: 13px 14px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(49, 148, 127, 0.14);
}

.form-footer {
  justify-content: space-between;
  gap: 18px;
}

.form-footer p {
  min-height: 1.4em;
  margin: 0;
  color: var(--teal-dark);
  font-size: 0.94rem;
}

.form-footer p a {
  color: var(--teal-dark);
  font-family: var(--display-font);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-form.is-sending {
  opacity: 0.72;
  pointer-events: none;
}

.contact-form.is-success {
  border-color: rgba(49, 148, 127, 0.36);
}

.contact-form.is-error {
  border-color: rgba(160, 55, 55, 0.42);
}

.contact-form.is-error .form-footer p {
  color: #8d2f2f;
}

.site-footer {
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 4vw, 56px);
  color: var(--muted);
  font-size: 0.94rem;
}

.site-footer img {
  width: 96px;
}

.site-footer a {
  color: var(--teal-dark);
  font-family: var(--display-font);
  font-weight: 600;
}

@media (max-width: 980px) {
  .sector-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-content,
  .product-shell {
    grid-template-columns: 1fr;
  }

  html[lang="ru"] .product-shell {
    grid-template-columns: 1fr;
  }

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

  .partners-shell {
    grid-template-columns: 1fr;
  }

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

  .hero-panel {
    max-width: 520px;
  }

  .science-pattern {
    opacity: 0.24;
  }
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 12px;
    min-height: 70px;
    padding-inline: 18px;
  }

  .brand {
    width: clamp(112px, 28vw, 148px);
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    left: 14px;
    right: 14px;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 10px;
    border: 1px solid rgba(23, 34, 33, 0.1);
    border-radius: 8px;
    background: rgba(246, 248, 247, 0.98);
    color: var(--ink);
    box-shadow: 0 18px 44px rgba(18, 40, 38, 0.16);
    backdrop-filter: blur(16px);
  }

  .site-header.menu-open .nav-links {
    display: grid;
  }

  .nav-links a {
    padding: 14px 12px;
    border-bottom: 1px solid rgba(23, 34, 33, 0.08);
  }

  .nav-links a:last-child {
    border-bottom: 0;
  }

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

  .header-tools {
    gap: 8px;
    max-width: 56vw;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .hero {
    min-height: 88svh;
    padding-top: 122px;
  }

  .hero-actions .button {
    min-width: 0;
    white-space: normal;
    text-align: center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(8, 24, 25, 0.9), rgba(8, 24, 25, 0.58)),
      linear-gradient(0deg, rgba(8, 24, 25, 0.7), transparent 46%);
  }

  .hero-bottom-strip {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 34px;
  }

  .intro,
  .split-section,
  .service-section,
  .product-shell,
  .contact-shell {
    grid-template-columns: 1fr;
  }

  .intro {
    margin-top: 0;
    width: 100%;
  }

  .split-section,
  .service-section {
    padding: 78px 0;
  }

  .contact-shell {
    align-items: flex-start;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 64px;
    gap: 8px;
    padding: 10px 10px;
  }

  .brand {
    width: min(36vw, 112px);
    height: 30px;
  }

  .header-action {
    display: none;
  }

  .language-switcher button {
    min-width: 27px;
    min-height: 26px;
    font-size: 0.74rem;
  }

  .menu-toggle {
    width: 34px;
    height: 34px;
    gap: 4px;
  }

  .menu-toggle span {
    width: 15px;
  }

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

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

  .hero {
    padding-inline: 16px;
    padding-top: 112px;
    padding-bottom: 46px;
  }

  .hero-actions {
    width: 100%;
    gap: 12px;
  }

  .hero-actions .button {
    min-height: 52px;
    padding: 12px 14px;
    font-size: clamp(0.96rem, 4.7vw, 1.12rem);
    line-height: 1.18;
  }

  .hero-panel {
    padding: 20px;
  }

  .hero-bottom-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  h1 {
    font-size: clamp(2.05rem, 10.5vw, 2.7rem);
    line-height: 1.05;
  }

  h2 {
    font-size: clamp(2rem, 11vw, 3rem);
  }

  html[lang="ru"] .product-shell h2 {
    font-size: clamp(1.75rem, 8.8vw, 2.35rem);
  }

  .section-shell {
    width: min(100% - 32px, 1120px);
  }

  .solution-item {
    grid-template-columns: 1fr;
  }

  .sector-grid {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .partner-grid {
    grid-template-columns: 1fr;
  }

  .button,
  .contact-direct,
  .form-footer {
    width: 100%;
  }

  .form-footer {
    align-items: stretch;
    flex-direction: column;
  }

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