﻿:root {
  --bg: #fffdf8;
  --surface: #ffffff;
  --text: #152540;
  --muted: #5b6a84;
  --gold: #e4ad25;
  --gold-soft: #fff2c9;
  --blue: #0d4ca4;
  --blue-soft: #dbe9ff;
  --line: #eadfbe;
  --radius: 18px;
  --shadow: 0 14px 34px rgba(16, 36, 74, 0.12);
  --font-body-en: "Inter", "Segoe UI", Arial, sans-serif;
  --font-head-en: "Manrope", "Inter", "Segoe UI", Arial, sans-serif;
  --font-body-ru: "Noto Sans", "Segoe UI", Arial, sans-serif;
  --font-head-ru: "Noto Sans", "Segoe UI", Arial, sans-serif;
  --font-body-fa: "Vazirmatn", Tahoma, sans-serif;
  --font-head-fa: "Lalezar", "Vazirmatn", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body-en);
  color: var(--text);
  background:
    radial-gradient(circle at 12% 10%, #ffe8a8 0%, transparent 24%),
    radial-gradient(circle at 88% 16%, #cbe0ff 0%, transparent 26%),
    var(--bg);
}

a {
  color: inherit;
}

h1,
h2,
h3,
.brand-copy strong {
  font-family: var(--font-head-en);
  letter-spacing: 0.01em;
}

html[lang="fa"] body {
  font-family: var(--font-body-fa);
}

html[lang="fa"] h1,
html[lang="fa"] h2,
html[lang="fa"] h3,
html[lang="fa"] .brand-copy strong {
  font-family: var(--font-head-fa);
  letter-spacing: 0.02em;
}

html[lang="ru"] body {
  font-family: var(--font-body-ru);
}

html[lang="ru"] h1,
html[lang="ru"] h2,
html[lang="ru"] h3,
html[lang="ru"] .brand-copy strong {
  font-family: var(--font-head-ru);
  letter-spacing: 0;
}

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

.page-glow {
  position: fixed;
  inset: auto auto -180px -180px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13, 76, 164, 0.2), transparent 62%);
  pointer-events: none;
  z-index: -1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(7px);
  transition: transform 0.28s ease;
  will-change: transform;
}

.site-header.header-hidden {
  transform: translateY(calc(-100% - 2px));
}

.header-row {
  min-height: 176px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.brand-logo {
  width: 170px;
  height: 170px;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  line-height: 1.2;
}

.brand-copy strong {
  font-size: 1.7rem;
  color: var(--blue);
}

.brand-copy small {
  font-size: 0.78rem;
  color: var(--muted);
}

.menu {
  display: flex;
  gap: 0.35rem;
  align-items: center;
}

.menu a {
  text-decoration: none;
  padding: 0.48rem 0.72rem;
  border-radius: 10px;
  color: #1f2f4b;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.menu a:hover {
  background: var(--gold-soft);
  color: #745100;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-inline-start: 0.5rem;
}

.lang-switch.notranslate {
  unicode-bidi: isolate;
}

.lang-btn {
  border: 1px solid var(--line);
  background: #fff;
  color: #23406b;
  border-radius: 8px;
  width: 44px;
  min-width: 44px;
  height: 32px;
  font-weight: 700;
  cursor: pointer;
  text-transform: none;
  font-size: 0;
  line-height: 1;
  unicode-bidi: isolate;
  position: relative;
  flex: 0 0 auto;
}

.lang-btn::after {
  content: attr(data-label);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
}

.lang-btn > * {
  display: none !important;
}

.lang-btn:hover {
  background: #fff3d3;
}

.lang-btn.active {
  background: linear-gradient(135deg, var(--blue), var(--gold));
  color: #fff;
  border-color: transparent;
}

.menu-btn {
  display: none;
  width: 42px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 6px;
}

.menu-btn span {
  display: block;
  height: 2px;
  background: #31455f;
  margin: 5px 0;
}

.hero {
  padding: 1.4rem 0 0.7rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: 1rem;
}

.hero-grid > *,
.leaders > *,
.partners-grid > *,
.project-grid > *,
.profile-grid > *,
.contact-layout > *,
.contracts-layout > * {
  min-width: 0;
}

.hero-main {
  background: linear-gradient(145deg, #ffffff, #fff8dd);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.3rem;
}

.eyebrow {
  margin: 0 0 0.35rem;
  color: var(--blue);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.09em;
}

h1,
h2,
h3 {
  margin: 0 0 0.6rem;
}

h1 {
  font-size: clamp(1.7rem, 4.2vw, 2.7rem);
  line-height: 1.2;
  color: #0f2f68;
}

.hero-main p {
  margin: 0;
  line-height: 1.95;
  color: #364a67;
}

.hero-actions {
  margin-top: 1rem;
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.btn {
  text-decoration: none;
  font-weight: 700;
  border-radius: 12px;
  padding: 0.55rem 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--gold));
}

.btn-outline {
  border: 1px solid var(--line);
  background: #fff;
}

.btn-small {
  padding: 0.38rem 0.72rem;
  border-radius: 10px;
  font-size: 0.85rem;
}

.hero-side {
  display: grid;
  gap: 1rem;
}

.hero-card {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 1rem;
}

.hero-card img {
  width: 100%;
  max-height: 240px;
  object-fit: contain;
}

.emblem-note {
  margin: 0.55rem 0 0;
  font-size: 0.84rem;
  line-height: 1.85;
  color: #5a6f92;
}

.section {
  padding: 1.1rem 0 1.5rem;
}

.section-contrast {
  background: linear-gradient(180deg, #fffaec, #fff5d6);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  margin-bottom: 0.9rem;
}

.section-mini-action {
  margin: -0.25rem 0 0.85rem;
}

.section-intro {
  margin: 0 0 1rem;
  color: #3b4f71;
  line-height: 1.9;
}

h2 {
  font-size: clamp(1.3rem, 3.2vw, 2rem);
  color: #12366f;
}

.card-xl {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
  padding: 1.15rem;
  line-height: 1.95;
}

.achievement-teaser-card {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, #ffffff, #f5f9ff);
  box-shadow: var(--shadow);
  padding: 1rem;
}

.achievement-teaser-card h3 {
  color: #12366f;
}

.achievement-teaser-card p {
  margin: 0;
  line-height: 1.9;
  color: #40547a;
}

.achievement-teaser-points {
  margin: 0.7rem 0 0;
  padding-right: 1rem;
  line-height: 1.9;
  color: #33496c;
}

.achievements-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.achievement-card {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
  padding: 1rem;
}

.achievement-head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.achievement-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 32px;
  border-radius: 10px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(145deg, var(--blue), var(--gold));
}

.achievement-card > p {
  margin: 0.55rem 0 0;
  line-height: 1.9;
  color: #3e5375;
}

.media-proposal {
  margin-top: 0.8rem;
  border: 1px solid #e7ecf7;
  border-radius: 14px;
  background: #fbfdff;
  padding: 0.8rem;
}

.media-proposal h4 {
  margin: 0 0 0.45rem;
  color: #12366f;
}

.media-meta p {
  margin: 0;
  color: #4b6083;
  line-height: 1.8;
  font-size: 0.9rem;
}

.media-frame {
  margin-top: 0.55rem;
  border: 1px dashed #c8d7f2;
  border-radius: 10px;
  overflow: hidden;
}

.media-frame iframe {
  width: 100%;
  min-height: 220px;
  border: 0;
  background: #eef3ff;
}

.media-frame video {
  width: 100%;
  display: block;
  background: #000;
}

.video-lang-switch {
  margin-top: 0.55rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.video-lang-label {
  font-size: 0.84rem;
  color: #3f5476;
  font-weight: 700;
}

.video-lang-btn {
  border: 1px solid #d2dced;
  background: #fff;
  color: #26446f;
  border-radius: 8px;
  min-width: 40px;
  height: 30px;
  padding: 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}

.video-lang-btn:hover {
  background: #f3f8ff;
}

.video-lang-btn.active {
  background: linear-gradient(135deg, var(--blue), var(--gold));
  color: #fff;
  border-color: transparent;
}

.video-lang-btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
}

.is-hidden {
  display: none;
}

.media-placeholder {
  margin-top: 0.55rem;
  border: 1px dashed #d8dfef;
  border-radius: 10px;
  background: #f8fafe;
  color: #6c7f9f;
  font-weight: 600;
  text-align: center;
  padding: 1rem 0.8rem;
}

.media-actions-row {
  margin-top: 0.55rem;
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.media-actions-row .btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}

.ip-note {
  margin: 0.65rem 0 0;
  font-size: 0.84rem;
  color: #6a7ea1;
}

.copyright-panel {
  margin-top: 1rem;
  border-radius: var(--radius);
  border: 1px solid #d6dded;
  background: linear-gradient(160deg, #ffffff, #eef5ff);
  box-shadow: var(--shadow);
  padding: 1rem;
}

.copyright-panel h3 {
  color: #0d4ca4;
}

.copyright-panel p {
  margin: 0.45rem 0 0;
  color: #3c5174;
  line-height: 1.9;
}

.leaders {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.leader-card {
  display: block;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
  padding: 1rem;
}

.leader-link {
  text-decoration: none;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.leader-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(13, 76, 164, 0.18);
}

.leader-link-note {
  display: none;
  margin-top: 0.55rem;
  font-size: 0.84rem;
  color: #0d4ca4;
  font-weight: 700;
}

.leader-link:hover .leader-link-note {
  display: block;
}

.leader-badge {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  margin-bottom: 0.4rem;
  background: linear-gradient(145deg, var(--gold), var(--blue));
}

.leader-avatar {
  width: 84px;
  height: 84px;
  border-radius: 14px;
  object-fit: cover;
  border: 2px solid #d9e5fa;
  box-shadow: 0 8px 18px rgba(13, 76, 164, 0.12);
  margin-bottom: 0.45rem;
}

.role {
  margin: 0 0 0.5rem;
  color: #546a8a;
  font-weight: 700;
}

.profile-hero-card {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(155deg, #ffffff, #eef5ff);
  box-shadow: var(--shadow);
  padding: 1rem;
  margin-bottom: 1rem;
}

.profile-hero-card h3 {
  color: #0d4ca4;
}

.profile-hero-card p {
  margin: 0;
  line-height: 1.9;
  color: #3b4f71;
}

.profile-hero-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.45rem;
}

.profile-avatar {
  width: 94px;
  height: 94px;
  border-radius: 16px;
  object-fit: cover;
  border: 2px solid #d8e4f8;
  box-shadow: 0 10px 20px rgba(13, 76, 164, 0.12);
  flex: 0 0 auto;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.profile-block {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
  padding: 1rem;
}

.profile-block h3 {
  color: #12366f;
}

.profile-block h4 {
  margin: 0.85rem 0 0.45rem;
  color: #244271;
  font-size: 1rem;
}

.profile-block p {
  margin: 0 0 0.65rem;
  color: #3e5375;
  line-height: 1.9;
}

.profile-block ul {
  margin: 0;
  padding-right: 1.05rem;
  line-height: 1.95;
}

.skills-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.skills-cloud span {
  border-radius: 999px;
  border: 1px solid #d9e5fa;
  background: #f7fbff;
  color: #244271;
  font-size: 0.86rem;
  padding: 0.22rem 0.65rem;
}

.geo-block {
  margin-top: 1rem;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.partner-card {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
  padding: 1rem;
}

.partner-text-link {
  text-decoration: none;
  color: #12366f;
}

.partner-text-link:hover {
  color: #0d4ca4;
  text-decoration: underline;
}

.partner-logo {
  width: 150px;
  max-width: 100%;
  max-height: 70px;
  object-fit: contain;
  margin-bottom: 0.5rem;
}

.flags-wrap {
  margin-top: 0.7rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.flag-item {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  border-radius: 999px;
  padding: 0.2rem 0.52rem;
  border: 1px solid var(--line);
  background: #fffdf5;
  font-size: 0.85rem;
  text-decoration: none;
}

.flag-item img {
  width: 22px;
  height: 16px;
  object-fit: cover;
  border-radius: 2px;
}

.flag-link:hover {
  background: #fff2cc;
  border-color: #dfc98d;
}

.contracts-layout {
  display: grid;
  grid-template-columns: 1.45fr 0.9fr;
  gap: 1rem;
  align-items: start;
}

.contracts-list {
  display: grid;
  gap: 0.9rem;
}

.contract-group {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
  padding: 1rem;
}

.contract-group > h3 {
  margin-bottom: 0.6rem;
  color: #12366f;
}

.contract-item {
  border: 1px solid #efe6cd;
  background: #fffdfa;
  border-radius: 12px;
  padding: 0.7rem;
}

.contract-item + .contract-item {
  margin-top: 0.55rem;
}

.contract-item h4 {
  margin: 0;
  font-size: 1rem;
  color: #213b67;
}

.contract-item p {
  margin: 0.45rem 0 0;
  color: #3e5375;
  line-height: 1.85;
}

.contract-head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.contract-head img {
  width: 28px;
  height: 20px;
  border-radius: 3px;
  object-fit: cover;
  border: 1px solid #d7deec;
  flex: 0 0 auto;
}

.achievements-card {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, #ffffff, #f2f7ff);
  box-shadow: var(--shadow);
  padding: 1rem;
  position: sticky;
  top: 190px;
}

.achievements-card h3 {
  color: #0d4ca4;
}

.achievements-card p {
  margin: 0 0 0.65rem;
  color: #3f5477;
  line-height: 1.85;
}

.achievements-card ul {
  margin: 0;
  padding-right: 1rem;
  line-height: 2;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}

.strategy-item {
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
  padding: 0.95rem;
}

.strategy-item span {
  display: inline-block;
  margin-bottom: 0.45rem;
  border-radius: 8px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(145deg, var(--blue), var(--gold));
  padding: 0.08rem 0.5rem;
  font-size: 0.78rem;
}

.strategy-item p {
  margin: 0;
  color: #425876;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1rem;
}

.contact-card {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
  padding: 1rem;
}

.contact-main-logo {
  width: 150px;
  max-width: 100%;
  max-height: 70px;
  object-fit: contain;
  margin-bottom: 0.5rem;
}

.contact-card ul {
  margin: 0;
  padding-right: 1rem;
  line-height: 2;
}

.cooperation-form-wrap {
  margin-top: 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
  padding: 1rem;
}

.cooperation-form-wrap h3 {
  color: #12366f;
}

.cooperation-form-wrap > p {
  margin: 0;
  line-height: 1.9;
  color: #40547a;
}

.cooperation-form {
  margin-top: 0.8rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-field span {
  font-weight: 700;
  color: #244271;
  font-size: 0.9rem;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  border: 1px solid #d7dfef;
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  padding: 0.58rem 0.7rem;
  font: inherit;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: 2px solid rgba(13, 76, 164, 0.18);
  border-color: #89a9de;
}

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

.form-field-full {
  grid-column: 1 / -1;
}

.form-honey {
  display: none !important;
}

.form-actions {
  margin-top: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.form-alert {
  margin: 0.7rem 0 0;
  border-radius: 12px;
  border: 1px solid #badfc8;
  background: #ecf9f1;
  color: #1d6b3f;
  padding: 0.58rem 0.75rem;
  font-weight: 600;
}

.site-footer {
  margin-top: 0.8rem;
  border-top: 1px solid var(--line);
  background: #fff;
}

.google-translate-hidden {
  display: none !important;
}

/* Keep translated content visually consistent across pages */
.goog-te-banner-frame.skiptranslate {
  display: none !important;
}

#goog-gt-tt,
.goog-te-balloon-frame {
  display: none !important;
}

.goog-text-highlight {
  background-color: transparent !important;
  box-shadow: none !important;
}

body {
  top: 0 !important;
}

font {
  font-family: inherit !important;
  font-size: inherit !important;
  line-height: inherit !important;
  color: inherit !important;
}

h1,
h2,
h3,
h4,
p,
li,
a,
button,
span {
  overflow-wrap: anywhere;
}

.btn {
  text-align: center;
  white-space: normal;
  line-height: 1.5;
}

.achievement-head h3,
.contract-head h4 {
  min-width: 0;
}

.contract-head h4,
.partner-card h3,
.leader-card h3,
.section-head h2,
.profile-block h3,
.profile-block h4 {
  word-break: break-word;
}


.footer-row {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
}

.developer-credit {
  border-top: 1px dashed #d8dfef;
  padding: 0.7rem 0 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  color: #4a5f82;
}

.developer-credit p {
  margin: 0;
  font-size: 0.92rem;
}

.developer-logo {
  width: 92px;
  max-width: 100%;
  max-height: 42px;
  object-fit: contain;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

html[dir="ltr"] body {
  direction: ltr;
}

html[dir="ltr"] .menu {
  direction: ltr;
}

html[dir="ltr"] .eyebrow {
  text-transform: none;
  letter-spacing: 0.03em;
}

html[dir="ltr"] .brand-copy {
  text-align: left;
}

html[dir="ltr"] .developer-credit {
  direction: ltr;
}

html[dir="ltr"] .profile-block ul,
html[dir="ltr"] .contact-card ul,
html[dir="ltr"] .achievements-card ul,
html[dir="ltr"] .achievement-teaser-points {
  padding-left: 1.05rem;
  padding-right: 0;
}

html[dir="ltr"] .form-field input,
html[dir="ltr"] .form-field textarea,
html[dir="ltr"] .form-field select {
  text-align: left;
}

html[dir="ltr"] .lang-switch {
  direction: ltr;
}

.translated-ui .header-row {
  min-height: 146px;
  flex-wrap: wrap;
  row-gap: 0.45rem;
  padding: 0.45rem 0;
}

.translated-ui .brand-logo {
  width: 126px;
  height: 126px;
}

.translated-ui .brand {
  flex: 1 1 auto;
}

.translated-ui .menu {
  order: 3;
  flex: 1 1 100%;
  justify-content: center;
  flex-wrap: wrap;
  max-width: min(100%, 650px);
}

.translated-ui .menu a {
  padding: 0.42rem 0.62rem;
}

.translated-ui .hero-grid {
  grid-template-columns: 1fr;
}

.translated-ui .contracts-layout,
.translated-ui .profile-grid {
  grid-template-columns: 1fr;
}

.translated-ui .partners-grid,
.translated-ui .project-grid,
.translated-ui .leaders,
.translated-ui .contact-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 1020px) {
  .hero-grid,
  .profile-grid,
  .contracts-layout,
  .partners-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

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

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

  .achievements-card {
    position: static;
  }

  .translated-ui .partners-grid,
  .translated-ui .project-grid,
  .translated-ui .leaders,
  .translated-ui .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .header-row {
    min-height: 122px;
  }

  .brand-logo {
    width: 96px;
    height: 96px;
  }

  .brand-copy strong {
    font-size: 1.15rem;
  }

  .brand-copy small {
    font-size: 0.7rem;
  }

  .menu-btn {
    display: inline-block;
  }

  .lang-switch {
    margin-inline-start: auto;
  }

  .menu {
    display: none;
    position: absolute;
    top: 122px;
    right: 4%;
    min-width: 200px;
    flex-direction: column;
    align-items: stretch;
    gap: 0.1rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 0.45rem;
  }

  html[dir="ltr"] .menu {
    right: auto;
    left: 4%;
  }

  .menu.open {
    display: flex;
  }

  .hero-main,
  .hero-card,
  .achievement-card,
  .leader-card,
  .partner-card,
  .profile-block,
  .contract-group,
  .contact-card,
  .strategy-item {
    padding: 0.85rem;
  }

  .hero-main p,
  .profile-block p,
  .contract-item p {
    line-height: 1.8;
  }

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

  .contract-head {
    align-items: flex-start;
  }

  .footer-row {
    flex-direction: column;
    justify-content: center;
    padding: 0.8rem 0;
  }

  .profile-hero-head {
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(1140px, 94%);
  }

  .header-row {
    min-height: 108px;
  }

  .brand {
    gap: 0.45rem;
  }

  .brand-logo {
    width: 78px;
    height: 78px;
  }

  .brand-copy strong {
    font-size: 1.02rem;
  }

  .brand-copy small {
    display: none;
  }

  .menu {
    top: 108px;
    right: 3%;
    min-width: 175px;
  }

  html[dir="ltr"] .menu {
    right: auto;
    left: 3%;
  }

  .lang-btn {
    width: 36px;
    min-width: 36px;
    height: 30px;
  }

  .hero {
    padding: 0.9rem 0 0.5rem;
  }

  h1 {
    font-size: clamp(1.3rem, 8vw, 1.85rem);
  }

  h2 {
    font-size: clamp(1.15rem, 6vw, 1.5rem);
  }

  .hero-actions {
    gap: 0.45rem;
  }

  .hero-actions .btn {
    width: 100%;
    padding: 0.58rem 0.8rem;
  }

  .flags-wrap {
    gap: 0.35rem;
  }

  .flag-item {
    font-size: 0.8rem;
    padding: 0.15rem 0.45rem;
  }

  .flag-item img {
    width: 20px;
    height: 14px;
  }

  .contract-item {
    padding: 0.58rem;
  }

  .contract-item h4 {
    font-size: 0.92rem;
    line-height: 1.5;
  }

  .contact-card ul,
  .profile-block ul,
  .achievements-card ul,
  .media-meta p {
    line-height: 1.8;
  }

  .media-actions-row .btn {
    width: 100%;
  }

  .developer-credit {
    flex-direction: column;
    text-align: center;
    gap: 0.35rem;
  }

}
