/* Two explicit language editions: English is the primary home page.
   No browser-language redirects, cookies, external fonts or dependencies. */
.language-switch {
  display:inline-flex;
  flex:0 0 auto;
  align-items:center;
  gap:3px;
  padding:4px;
  border:1px solid #b7cfb75c;
  border-radius:8px;
  background:#062f2840;
}
.language-switch > a,
.language-switch > span {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:29px;
  min-height:28px;
  padding:5px 6px;
  border-radius:5px;
  color:#d8e6d8;
  font-size:11px;
  font-weight:750;
  letter-spacing:.045em;
  line-height:1;
}
.language-switch > a:hover {background:#ffffff14;color:#fff;}
.language-switch > a:focus-visible {outline:2px solid #e8cf94;outline-offset:2px;}
.language-switch > .language-switch__current {background:#d8e6d8;color:#073c32;}
.site-header .desktop-nav {gap:clamp(13px,1.6vw,24px);}
.site-header {gap:clamp(12px,1.7vw,24px);}
.dialog--contact {max-height:90dvh;overflow:auto;}

/* Russian text is slightly denser, so keep type balanced rather than clipping it. */
html[lang="ru"] .hero h1 {font-size:clamp(43px,4.35vw,68px);line-height:1.04;letter-spacing:-.055em;}
html[lang="ru"] .hero h1 em {white-space:nowrap;}
html[lang="ru"] .hero .hero__lead {font-size:16px;}
html[lang="ru"] .section-heading h2 {font-size:clamp(38px,4.25vw,62px);letter-spacing:-.05em;}
html[lang="ru"] .services .service-card h3 {letter-spacing:-.025em;}
html[lang="ru"] .services .service-card--featured h3 {letter-spacing:-.035em;}
html[lang="ru"] .services .featured-chip {font-size:8px;letter-spacing:.025em;}
html[lang="ru"] .services .services-row--bottom .featured-chip {font-size:7px;letter-spacing:0;}
html[lang="ru"] .hero__baseline > span {letter-spacing:.07em;}
html[lang="ru"] .contact h2 {font-size:clamp(44px,4.7vw,66px);letter-spacing:-.04em;}
html[lang="ru"] .dialog h2 {font-size:38px;line-height:1.08;letter-spacing:-.035em;}
html[lang="ru"] .footer p {letter-spacing:.07em;}
@media (min-width:901px) and (max-width:1130px) {
  .site-header .desktop-nav {gap:12px;}
  .site-header .desktop-nav > a {font-size:11px;}
  .site-header .language-switch {padding:3px;}
  .site-header .language-switch > a,
  .site-header .language-switch > span {min-width:25px;padding:5px;}
  .site-header {gap:12px;}
  .site-header .brand__mark {width:45px;}
  .site-header .brand__wordmark {width:118px;}
  .site-header .nav-contact {gap:10px;padding:11px;}
  html[lang="ru"] .hero .hero__lead {font-size:14px;}
  html[lang="ru"] .services .services-row--bottom .featured-chip {font-size:6.5px;padding:6px;}
}
@media (max-width:1050px) {
  html[lang="ru"] .services .featured-chip,
  html[lang="ru"] .services .services-row--bottom .featured-chip {font-size:8px;}
}
@media (max-width:900px) {
  .mobile-menu .language-switch {align-self:flex-start;margin:16px 0 2px 16px;gap:4px;padding:4px;}
  .mobile-menu .language-switch > a,
  .mobile-menu .language-switch > span {min-width:44px;min-height:36px;font-size:12px;}
  html[lang="ru"] .hero h1 {font-size:clamp(52px,7.3vw,72px);}
  html[lang="ru"] .hero .hero__lead {font-size:16px;}
}
@media (max-width:580px) {
  html[lang="ru"] .hero h1 {font-size:clamp(35px,10.4vw,56px);line-height:1.05;}
  html[lang="ru"] .hero .hero__lead {font-size:14px;}
  html[lang="ru"] .services .section-heading h2 {font-size:clamp(33px,9.6vw,43px);}
  html[lang="ru"] .services .service-card--featured h3,
  html[lang="ru"] .services .services-row--bottom .service-card--featured h3 {font-size:28px;}
  html[lang="ru"] .hero__baseline > span {font-size:7.5px;letter-spacing:.025em;}
  html[lang="ru"] .dialog h2 {font-size:31px;}
  html[lang="ru"] .contact h2 {font-size:clamp(39px,10.7vw,54px);}
  html[lang="ru"] .contact__tags {gap:7px;}
}
