@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat/Montserrat-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat/Montserrat-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat/Montserrat-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat/Montserrat-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat/Montserrat-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat/Montserrat-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat/Montserrat-Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #000000;
  --ink-2: #000000;
  --muted: #000000;
  --line: #e4e8ef;
  --soft: #f5f7fa;
  --white: #ffffff;
  --gold: #c7922d;
  --gold-2: #a56d17;
  --navy: #132a54;
  --navy-2: #0d1d33;
  --cyan: #62c9cc;
  --danger: #b94338;
  --success: #267046;
  --shadow-sm: 0 8px 24px rgba(15, 34, 55, 0.08);
  --shadow-md: 0 18px 48px rgba(15, 34, 55, 0.13);
  --shadow-lg: 0 28px 76px rgba(15, 34, 55, 0.18);
  --radius-md: 18px;
  --radius-lg: 28px;
  --container: 1180px;
  --header-height: 78px;
  --ease: 180ms ease;
  --font-main: "Montserrat", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 22px); }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: var(--white); font-family: var(--font-main); font-size: 17px; line-height: 1.58; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
body.nav-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img {
  pointer-events: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-user-drag: none;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--gold-2); }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
code { padding: 0.16em 0.35em; border: 1px solid rgba(19, 42, 84, 0.1); border-radius: 6px; background: rgba(19, 42, 84, 0.05); color: var(--navy); font-family: var(--font-main); font-size: 0.92em; }
::selection { background: rgba(199, 146, 45, 0.22); }
.container { width: min(calc(100% - 40px), var(--container)); margin: 0 auto; }
.skip-link { position: fixed; z-index: 200; top: 12px; left: 12px; transform: translateY(-140%); padding: 10px 14px; border-radius: 999px; color: #fff; background: var(--navy-2); transition: transform var(--ease); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; z-index: 100; top: 0; background: rgba(255, 255, 255, 0.93); border-bottom: 1px solid rgba(228, 232, 239, 0.9); box-shadow: 0 10px 32px rgba(15, 34, 55, 0.05); backdrop-filter: blur(18px); }
.site-header.is-scrolled { box-shadow: 0 14px 42px rgba(15, 34, 55, 0.1); }
.navbar__inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; flex: 0 1 auto; align-items: center; gap: 10px; min-width: 0; }
.brand__mark-frame { display: block; width: 70px; height: 51px; overflow: hidden; transform: translateY(4px); }
.brand__mark { width: 70px; height: auto; max-width: none; object-fit: contain; object-position: top center; }
.brand--full-logo .brand__mark { width: 70px; height: auto; object-position: top center; }
.brand__name { display: block; max-width: min(52vw, 560px); overflow: hidden; color: #000; font-size: clamp(0.76rem, 1vw, 0.98rem); font-weight: 400; line-height: 1.15; letter-spacing: 0; text-overflow: ellipsis; white-space: nowrap; }
.brand__text { display: none; line-height: 1.14; }
.brand__text strong { color: #151a22; font-size: 1.32rem; font-weight: 800; letter-spacing: 0; }
.brand__text span { max-width: 210px; color: var(--muted); font-size: 0.76rem; font-weight: 700; }

.navbar__actions { display: flex; align-items: center; justify-content: flex-end; gap: 12px; min-width: 0; }
.nav-menu { display: flex; align-items: center; justify-content: flex-end; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav-link { position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 10px; border-radius: 999px; color: var(--ink-2); font-size: 0.91rem; font-weight: 800; white-space: nowrap; transition: color var(--ease), background var(--ease); }
.nav-link::after { content: none; }
.nav-link:hover { color: var(--gold-2); background: rgba(199, 146, 45, 0.09); }
.nav-link.is-active { color: var(--ink-2); background: transparent; }
.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 14px; background: white; padding: 10px; }
.nav-toggle__line { display: block; width: 100%; height: 2px; margin: 5px 0; border-radius: 999px; background: var(--ink); transition: transform var(--ease), opacity var(--ease); }
.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.section { position: relative; padding: 96px 0; overflow: hidden; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--font-main); line-height: 1.05; letter-spacing: 0; }
h1 { margin-bottom: 16px; color: #000; font-size: clamp(4.8rem, 12vw, 9.2rem); font-weight: 500; }
h2 { margin-bottom: 18px; color: #000; font-size: clamp(2.25rem, 4.2vw, 3.85rem); font-weight: 500; }
h3 { margin-bottom: 10px; color: var(--ink); line-height: 1.24; }
p { margin-bottom: 16px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 13px; color: var(--gold-2); font-size: 0.8rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.eyebrow::before { content: ""; display: inline-block; width: 28px; height: 2px; border-radius: 999px; background: var(--gold); }
.section-subtitle { margin-bottom: 20px; color: var(--gold-2); font-size: 1.05rem; font-weight: 800; }
.section-copy { max-width: 665px; }
.section-copy p:not(.eyebrow):not(.section-subtitle) { color: var(--muted); }
.section-heading--center { max-width: 790px; margin: 0 auto 48px; text-align: center; }
.section-heading--center .eyebrow { justify-content: center; }
.section-line { display: block; width: 42px; height: 2px; margin: 0 auto 16px; border-radius: 999px; background: var(--gold); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border: 1px solid transparent; border-radius: 13px; font-weight: 800; transition: transform var(--ease), box-shadow var(--ease), background var(--ease), color var(--ease), border-color var(--ease); }
.btn::after { content: "→"; font-size: 1.16rem; line-height: 1; }
.btn:hover { transform: translateY(-2px); }
.btn--gold { color: white; background: linear-gradient(135deg, #dbad52, #a46915); box-shadow: 0 14px 30px rgba(164, 105, 21, 0.26); }
.btn--gold:hover { color: white; background: linear-gradient(135deg, #e6b75b, #955d0d); }
.btn--navy { color: white; background: linear-gradient(135deg, #173167, #0f2238); box-shadow: 0 14px 30px rgba(19, 42, 84, 0.26); }
.btn--navy:hover { color: white; }
.btn--outline { color: var(--navy); border-color: rgba(19, 42, 84, 0.22); background: white; }
.btn--outline:hover { color: var(--navy); border-color: var(--navy); background: rgba(19, 42, 84, 0.06); }
.btn:disabled { cursor: wait; opacity: 0.62; transform: none; }

.hero { position: relative; min-height: calc(100vh - var(--header-height)); display: flex; align-items: center; padding: 112px 0 105px; background: #eef3f8; }
.hero__background { position: absolute; inset: 0; overflow: hidden; background: #eef3f8; }
.hero__background::before { content: ""; position: absolute; inset: 0; background: url("../img/kazakhstan-flag-bg.jpg") center / cover no-repeat; opacity: 0.34; mix-blend-mode: multiply; }
.hero__background::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.74) 42%, rgba(255,255,255,0.34) 100%), linear-gradient(180deg, rgba(238,243,248,0.42) 0%, rgba(255,255,255,0.14) 62%, rgba(255,255,255,0.55) 100%); }
.hero::after { content: ""; position: absolute; right: 0; bottom: 0; left: 0; height: 140px; background: linear-gradient(180deg, rgba(255,255,255,0), white); pointer-events: none; }
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 690px) minmax(280px, 380px); align-items: end; justify-content: space-between; gap: 58px; }
.hero h1 { max-width: 900px; font-size: clamp(3.1rem, 6.2vw, 5.8rem); line-height: 1.04; }
.hero__lead { max-width: 560px; margin-bottom: 34px; color: #000; font-size: clamp(1.1rem, 1.8vw, 1.36rem); line-height: 1.45; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hero__quote { position: relative; max-width: 380px; padding: 28px; border: 1px solid rgba(255,255,255,0.72); border-radius: var(--radius-lg); background: rgba(255,255,255,0.76); box-shadow: var(--shadow-lg); backdrop-filter: blur(18px); }
.hero__quote p { margin: 0; color: #000; font-weight: 700; }
.quote-mark { display: block; height: 30px; margin-bottom: 5px; color: var(--gold); font-family: var(--font-main); font-size: 4.2rem; line-height: 0.7; }

.two-column { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(440px, 1.08fr); gap: 66px; align-items: start; }
.two-column--wide { grid-template-columns: minmax(0, 1fr) minmax(480px, 1fr); }
.fact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 34px; }
.fact-card, .info-panel, .value-card, .person-card, .member-mini, .application-form, .supporter-card, .footer-card { border: 1px solid rgba(228, 232, 239, 0.9); background: rgba(255, 255, 255, 0.94); box-shadow: var(--shadow-sm); }
.fact-card { min-height: 166px; padding: 22px; border-radius: var(--radius-md); }
.fact-card--wide { grid-column: 1 / -1; }
.info-panel__icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-bottom: 14px; border: 1px solid rgba(199, 146, 45, 0.38); border-radius: 14px; color: var(--gold-2); background: rgba(199, 146, 45, 0.09); font-size: 0.86rem; font-weight: 900; letter-spacing: 0.04em; }
.fact-card h3, .value-card h3 { margin-bottom: 8px; font-size: 1.14rem; }
.fact-card p, .value-card p, .info-panel p, .info-panel li { color: var(--muted); }
.fact-card p, .value-card p { margin-bottom: 0; }
.stacked-panels { display: grid; gap: 18px; }
.info-panel { position: relative; padding: 28px; border-radius: var(--radius-lg); }
.info-panel h3 { color: var(--navy); font-size: 1.28rem; }
.info-panel--compact { background: linear-gradient(135deg, rgba(19, 42, 84, 0.96), rgba(15, 34, 55, 0.96)); border-color: rgba(255,255,255,0.1); }
.info-panel--compact h3, .info-panel--compact p, .info-panel--compact a { color: white; }
.info-panel--compact p { opacity: 0.8; }
.check-list { margin: 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 28px; }
.check-list li + li { margin-top: 10px; }
.check-list li::before { content: ""; position: absolute; top: 0.56em; left: 0; width: 11px; height: 11px; border: 2px solid var(--gold); border-radius: 50%; background: rgba(199, 146, 45, 0.12); }
.text-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; color: var(--navy); font-weight: 800; }
.text-link::after { content: "→"; }
.about-isrm { background: #fff; }
.about-kazsrm { background: radial-gradient(circle at 12% 12%, rgba(98, 201, 204, 0.12), transparent 28%), linear-gradient(180deg, #f6f8fb 0%, #fff 100%); }
.value-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.value-card { min-height: 252px; padding: 28px; border-radius: var(--radius-md); }

.governance { background: #fff; }
.governance::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(19, 42, 84, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(19, 42, 84, 0.045) 1px, transparent 1px); background-size: 78px 78px; mask-image: linear-gradient(to bottom, transparent 0%, black 24%, black 78%, transparent 100%); pointer-events: none; }
.org-chart { position: relative; z-index: 1; max-width: 1040px; margin: 0 auto; }
.person-card { display: grid; grid-template-columns: 116px 1fr; align-items: start; gap: 18px; min-height: 146px; padding: 18px; border-radius: var(--radius-md); }
.person-card img { width: 116px; height: 116px; border-radius: 16px; object-fit: cover; background: var(--soft); }
.person-card h3 { display: grid; gap: 2px; max-width: 100%; margin: 0; font-size: 1.08rem; line-height: 1.12; overflow-wrap: anywhere; }
.person-card h3 span { display: block; }
.person-card__role { margin-bottom: 5px; color: var(--gold-2); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; }
.person-card__roles { display: grid; gap: 6px; margin: 10px 0 0; padding-left: 18px; font-size: 0.86rem; line-height: 1.36; }
.person-card--lead { width: min(450px, 100%); margin: 0 auto; }
.org-chart__connector { position: relative; width: calc(100% - 22px); height: 78px; margin: 0 auto; color: var(--gold); }
.org-chart__stem,
.org-chart__branch,
.org-chart__drop { position: absolute; display: block; background: currentColor; opacity: 0.72; }
.org-chart__stem { top: 0; left: 50%; width: 2px; height: 38px; transform: translateX(-50%); }
.org-chart__branch { top: 38px; right: calc(100% / 6); left: calc(100% / 6); height: 2px; }
.org-chart__drop { top: 38px; width: 2px; height: 40px; transform: translateX(-50%); }
.org-chart__drop--left { left: calc(100% / 6); }
.org-chart__drop--center { left: 50%; }
.org-chart__drop--right { left: calc(100% - (100% / 6)); }
.org-chart__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }

.members { background: radial-gradient(circle at 84% 10%, rgba(19, 42, 84, 0.08), transparent 30%), linear-gradient(180deg, #f6f8fb, #fff 88%); }
.members__top { display: grid; grid-template-columns: 1fr; align-items: end; gap: 34px; margin-bottom: 26px; }
.members__top p { max-width: 720px; margin-bottom: 0; color: var(--muted); }
.filter-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.filter-tab { min-height: 42px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: white; font-weight: 800; transition: border-color var(--ease), background var(--ease), color var(--ease); }
.filter-tab:hover, .filter-tab.is-active { border-color: rgba(199, 146, 45, 0.52); color: var(--gold-2); background: rgba(199, 146, 45, 0.09); }
.member-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.member-mini { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 10px; align-items: center; min-height: 78px; padding: 12px; border-radius: 16px; }
.member-mini[hidden] { display: none; }
.member-mini img { width: 54px; height: 54px; border-radius: 13px; object-fit: cover; }
.member-mini h3 { margin: 0; font-size: 0.88rem; line-height: 1.18; overflow-wrap: anywhere; }

.join { background: #fff; }
.join-note { margin-top: 26px; padding: 18px; border: 1px solid rgba(199, 146, 45, 0.34); border-radius: 16px; color: #536176; background: rgba(199, 146, 45, 0.07); }
.join-note strong { color: var(--ink); }
.application-form { padding: 30px; border-radius: var(--radius-lg); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: grid; gap: 8px; }
.field--full, .consent { grid-column: 1 / -1; }
.field--honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.field label, .field > label, .consent { color: #000; font-size: 0.88rem; font-weight: 800; }
.field label span { color: inherit; }
.field input, .field textarea { width: 100%; border: 1px solid var(--line); border-radius: 12px; outline: none; color: var(--ink); background: #fff; transition: border-color var(--ease), box-shadow var(--ease); }
.field input { min-height: 52px; padding: 0 15px; }
.field textarea { min-height: 138px; padding: 14px 15px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: rgba(199, 146, 45, 0.75); box-shadow: 0 0 0 4px rgba(199, 146, 45, 0.14); }
.field input.is-invalid, .field textarea.is-invalid, .consent.is-invalid { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(185, 67, 56, 0.12); }
.consent { display: grid; grid-template-columns: 18px 1fr; align-items: start; gap: 10px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; color: var(--muted); background: #fff; }
.consent input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--gold); }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.form-status { min-height: 26px; margin: 18px 0 0; color: var(--muted); font-weight: 800; }
.form-status.is-success { color: var(--success); }
.form-status.is-error { color: var(--danger); }

.supporters { background: radial-gradient(circle at 50% 10%, rgba(199, 146, 45, 0.14), transparent 26%), linear-gradient(180deg, #f7f8fb, #ffffff); }
.supporter-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.supporter-card { display: flex; align-items: center; justify-content: center; min-height: 148px; padding: 18px; border-radius: var(--radius-md); }
.supporter-card img { width: 100%; max-height: 112px; object-fit: contain; }

.site-footer { padding: 78px 0 26px; color: rgba(255,255,255,0.84); background: radial-gradient(circle at 78% 12%, rgba(199, 146, 45, 0.15), transparent 34%), linear-gradient(135deg, #0a1727, #102840); }
.site-footer__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr); gap: 60px; align-items: center; }
.footer-card { padding: 30px; border-color: rgba(255,255,255,0.12); background: rgba(255,255,255,0.06); border-radius: var(--radius-lg); box-shadow: none; backdrop-filter: blur(14px); }
.footer-card h2 { margin-bottom: 20px; color: white; font-family: var(--font-main); font-size: clamp(1.5rem, 2.7vw, 2.25rem); letter-spacing: 0; }
.footer-card .eyebrow { color: #f1c774; }
.footer-card address { margin-bottom: 20px; color: rgba(255,255,255,0.74); font-style: normal; }
.footer-card strong { color: white; }
.contact-list { display: grid; gap: 8px; margin: 0; }
.contact-list div { display: grid; grid-template-columns: 96px 1fr; gap: 14px; }
.contact-list dt { color: rgba(255,255,255,0.58); font-weight: 800; }
.contact-list dd { margin: 0; color: white; font-weight: 700; }
.contact-list a { color: white; text-decoration: underline; text-decoration-color: rgba(199, 146, 45, 0.65); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.footer-graphic { display: grid; justify-items: end; gap: 24px; }
.footer-graphic__logo { width: min(280px, 100%); height: auto; opacity: 0.75; transform: translateX(-100px); }

@media (max-width: 980px) {
  .footer-graphic__logo { transform: none; }
}
.site-footer__bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.12); color: rgba(255,255,255,0.66); font-size: 0.92rem; }
.site-footer__bottom a:hover { color: #f1c774; }
.toast { position: fixed; right: 18px; bottom: 18px; z-index: 160; max-width: min(420px, calc(100% - 36px)); padding: 14px 16px; border: 1px solid rgba(255,255,255,0.16); border-radius: 16px; color: white; background: rgba(15, 34, 55, 0.94); box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(18px); pointer-events: none; transition: opacity var(--ease), transform var(--ease); }
.toast.is-visible { opacity: 1; transform: translateY(0); }
.reveal,
.reveal.is-visible { opacity: 1; transform: none; transition: none; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 1ms !important; animation-duration: 1ms !important; } .reveal { opacity: 1; transform: none; } }
@media (max-width: 1180px) { .supporter-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 980px) { .hero__inner, .two-column, .two-column--wide, .site-footer__inner { grid-template-columns: 1fr; } .hero { min-height: auto; padding-top: 84px; } .hero__quote { max-width: 560px; } .org-chart__grid { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; } .org-chart__connector { width: 2px; height: 44px; } .org-chart__stem { height: 44px; } .org-chart__branch, .org-chart__drop { display: none; } .members__top { grid-template-columns: 1fr; align-items: start; } .footer-graphic { justify-items: start; } }
@media (max-width: 720px) { .container { width: min(calc(100% - 28px), var(--container)); } .section { padding: 72px 0; } h1 { font-size: clamp(3.7rem, 18vw, 5.7rem); } h2 { font-size: clamp(2rem, 10vw, 3rem); } .hero { padding: 70px 0 78px; } .hero__background::before { background-position: center; opacity: 0.28; } .hero__background::after { background: linear-gradient(180deg, rgba(255,255,255,0.88) 0%, rgba(255,255,255,0.68) 58%, rgba(255,255,255,0.46) 100%); } .hero__actions, .form-actions { display: grid; } .btn { width: 100%; } .fact-grid, .value-grid, .form-grid, .member-list, .supporter-grid { grid-template-columns: 1fr; } .info-panel, .application-form, .footer-card { padding: 22px; } .person-card { grid-template-columns: 92px 1fr; min-height: 118px; } .person-card img { width: 92px; height: 92px; } .contact-list div { grid-template-columns: 1fr; gap: 2px; } .site-footer__bottom { display: grid; } }
@media (max-width: 440px) { .hero__quote { padding: 22px; } .person-card { grid-template-columns: 1fr; text-align: center; } .person-card img { margin: 0 auto; } }

/* Update v1.1: header badge removed, compact language switcher added. */
:root { --header-height: 78px; }

.navbar__inner { min-height: var(--header-height); }

.navbar__actions {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
}

.language-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  min-width: 58px;
  height: 46px;
  border: 1px solid rgba(199, 146, 45, 0.34);
  border-radius: 999px;
  color: var(--gold-2);
  background: rgba(199, 146, 45, 0.08);
  transition: transform var(--ease), border-color var(--ease), background var(--ease), color var(--ease), box-shadow var(--ease);
}

.language-toggle:hover,
.language-toggle:focus-visible {
  color: var(--navy);
  border-color: rgba(199, 146, 45, 0.72);
  background: rgba(199, 146, 45, 0.16);
  box-shadow: 0 8px 22px rgba(164, 105, 21, 0.16);
  transform: translateY(-1px);
  outline: none;
}

.language-toggle__icon {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.language-toggle__code { margin-left: 4px; color: currentColor; font-size: 0.68rem; font-weight: 700; line-height: 1; }

@media (max-width: 1380px) {
  .brand__text { display: none; }
}

@media (max-width: 1320px) {
  .navbar__actions { flex: 0 0 auto; }
  .navbar__actions nav { flex: 0 0 0; width: 0; }
  .language-toggle,
  .nav-toggle { flex: 0 0 auto; }
  .nav-toggle { display: block; }
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
    justify-content: stretch;
    width: 100vw;
    box-sizing: border-box;
    gap: 10px;
    padding: 14px;
    border-bottom: 1px solid var(--line);
    background: rgba(255,255,255,0.96);
    box-shadow: 0 18px 42px rgba(15, 34, 55, 0.16);
    backdrop-filter: blur(18px);
    z-index: 140;
    max-height: calc(100dvh - var(--header-height));
    overflow-y: auto;
    transform: translateY(-125%);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: transform var(--ease), opacity var(--ease), visibility var(--ease);
  }
  .nav-menu.is-open {
    transform: translateY(0);
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }
  .nav-menu > li {
    width: 100%;
  }
  .nav-link {
    width: 100%;
    box-sizing: border-box;
    min-height: 54px;
    padding: 0 16px;
    border: 1px solid rgba(228, 232, 239, 0.95);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.94);
    justify-content: center;
    color: #000;
    font-size: 0.98rem;
    box-shadow: 0 8px 22px rgba(15, 34, 55, 0.06);
  }
  .nav-link:hover,
  .nav-link.is-active {
    border-color: rgba(199, 146, 45, 0.45);
    color: var(--gold-2);
    background: rgba(199, 146, 45, 0.10);
  }
  .nav-link::after {
    right: 18px;
    left: 18px;
  }
}

@media (max-width: 980px) {
  :root { --header-height: 76px; }
  .brand__name { max-width: calc(100vw - 210px); font-size: 0.76rem; }
  .navbar__actions { flex: 0 0 auto; }
  .nav-menu { top: var(--header-height); right: 0; left: 0; }
}

@media (max-width: 720px) {
  :root { --header-height: 74px; }
  .navbar__inner { gap: 14px; }
  .brand__name { display: none; }
  .language-toggle { width: 50px; min-width: 50px; height: 44px; }
}

@media (max-width: 440px) {
  :root { --header-height: 70px; }
  .navbar__inner { position: relative; gap: 8px; }
  .brand__mark-frame { width: 50px; height: 36px; }
  .brand--full-logo .brand__mark,
  .brand__mark { width: 50px; height: auto; }
  .brand__name { max-width: calc(100vw - 166px); font-size: 0.62rem; }
  .navbar__actions { position: absolute; top: 14px; right: 0; gap: 8px; transform: none; }
  .language-toggle { width: 46px; min-width: 46px; height: 40px; }
  .language-toggle__icon { width: 21px; height: 21px; }
  .nav-toggle { display: block; width: 42px; height: 42px; padding: 9px; border-radius: 13px; }
}

@media (max-width: 980px) {
  .brand__mark-frame { width: 58px; height: 42px; }
  .brand--full-logo .brand__mark,
  .brand__mark { width: 58px; height: auto; }
}

@media (max-width: 440px) {
  .brand__mark-frame { width: 50px; height: 36px; }
  .brand--full-logo .brand__mark,
  .brand__mark { width: 50px; height: auto; }
  .brand__name { max-width: calc(100vw - 166px); font-size: 0.62rem; }
}

@media (max-width: 720px) {
  .brand__name {
    display: none;
    max-width: calc(100vw - 190px);
    overflow: hidden;
    font-size: 0.66rem;
    line-height: 1.12;
    text-overflow: clip;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
}

@media (max-width: 440px) {
  .brand__name {
    max-width: calc(100vw - 158px);
    font-size: 0.56rem;
    line-height: 1.1;
  }
}
