/* ============================================================
   FONTS
   Положите файлы шрифтов в папку fonts/:
     fonts/CabinetGrotesk-Bold.woff2    (или .ttf)
     fonts/CabinetGrotesk-Medium.woff2
     fonts/Aileron-Regular.woff2        (или .ttf)
   ============================================================ */

@font-face {
  font-family: 'Cabinet Grotesk';
  src: url('fonts/CabinetGrotesk-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Cabinet Grotesk';
  src: url('fonts/CabinetGrotesk-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Aileron';
  src: url('fonts/Aileron-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ============================================================
   TOKENS
   ============================================================ */
:root {
  /* Палитра взята из логотипа: тёмно-синий щит, лазурный меч,
     золотая окантовка, красно-оранжевый штрих. */
  --bg:         #0A1A2E;   /* глубокий тёмно-синий — база */
  --bg-rgb:     10, 26, 46;
  --bg-subtle:  #10263D;   /* карточки, панели */
  --bg-elev:    #16334F;   /* выпадающие меню, поповеры */

  --text:       #EDF3F9;   /* холодный белый */
  --text-rgb:   237, 243, 249;

  /* затемнение поверх видео и мобильного меню — всегда тёмно-синее,
     не зависит от того, светлая тема или тёмная */
  --scrim-rgb:  6, 18, 32;

  /* шапка и подвал живут своей жизнью (тёмные даже в светлой теме) */
  --nav-bg:     6, 18, 32;
  --footer-bg:  #071426;

  --accent:     #3FA3DC;   /* лазурный из логотипа — основной акцент */
  --accent-rgb: 63, 163, 220;
  --accent-hi:  #74C2EE;   /* светлее, для ховера */

  --gold:       #D8B478;   /* золото логотипа — точечно, не доминирует */
  --gold-rgb:   216, 180, 120;

  --border:     rgba(var(--text-rgb),0.09);
  --nav-h:      72px;

  --f-display: 'Cabinet Grotesk', 'Inter', system-ui, sans-serif;
  --f-body:    'Aileron', 'Inter', system-ui, sans-serif;
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

/* переход по якорю не должен прятать заголовок секции под шапкой */
section[id] { scroll-margin-top: calc(var(--nav-h) + 16px); }

.nb { white-space: nowrap; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; }

.accent { color: var(--accent); }

/* ============================================================
   NAV
   ============================================================ */
#navbar {
  /* шапка всегда тёмная — поэтому внутри неё текст остаётся светлым */
  --text:     #FFFFFF;
  --text-rgb: 255, 255, 255;
  color: var(--text);
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 56px;
  /* subtle top gradient so nav text stays readable */
  background: linear-gradient(to bottom, rgba(var(--nav-bg),0.85) 0%, transparent 100%);
  backdrop-filter: blur(0px);
  transition: background 0.3s, backdrop-filter 0.3s;
}

#navbar.scrolled {
  background: rgba(var(--nav-bg),0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

/* Logo */
.nav-logo img {
  height: 48px;
  width: auto;
  display: block;
}

/* Links — centered absolutely so it's always in the middle */
.nav-links {
  display: flex;
  gap: 40px;
  align-items: center;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-link {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.04em;
  opacity: 0.6;
  transition: opacity 0.2s;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -3px;
  width: 100%; height: 1px;
  background: var(--text);
  opacity: 0;
  transition: opacity 0.2s;
}

.nav-link:hover          { opacity: 0.9; }
.nav-link.active         { opacity: 1; }
.nav-link.active::after  { opacity: 1; }

/* Nav right group */
.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Social icons */
.nav-socials {
  display: flex;
  align-items: center;
  gap: 16px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  opacity: 0.45;
  transition: opacity 0.2s;
}

.social-link:hover { opacity: 1; }

/* Language dropdown */
.lang-dropdown {
  position: relative;
}

.lang-selected {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(var(--text-rgb),0.06);
  border: 1px solid rgba(var(--text-rgb),0.12);
  border-radius: 8px;
  padding: 0 12px;
  height: 38px;
  color: var(--text);
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.lang-selected:hover {
  background: rgba(var(--text-rgb),0.1);
  border-color: rgba(var(--text-rgb),0.25);
}

.lang-flag { font-size: 16px; line-height: 1; display: flex; align-items: center; }
.lang-name { letter-spacing: 0.02em; }

.lang-chevron {
  transition: transform 0.22s ease;
  opacity: 0.7;
}

.lang-dropdown.open .lang-chevron {
  transform: rotate(180deg);
}

.lang-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 150px;
  background: var(--bg-elev);
  border: 1px solid rgba(var(--text-rgb),0.12);
  border-radius: 8px;
  overflow: hidden;
  list-style: none;
  z-index: 200;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}

.lang-dropdown.open .lang-menu {
  display: block;
}

.lang-option {
  padding: 10px 16px;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 14px;
  color: rgba(var(--text-rgb),0.65);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  letter-spacing: 0.02em;
}

.lang-option:hover {
  background: rgba(var(--text-rgb),0.07);
  color: var(--text);
}

.lang-option.active {
  color: var(--text);
  background: rgba(var(--text-rgb),0.05);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 6px;
  transition: background 0.2s, border-color 0.2s, opacity 0.2s;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  border: 1px solid var(--accent);
  color: #06192B;
  font-weight: 700;
}
.btn-primary:hover {
  background: var(--accent-hi);
  border-color: var(--accent-hi);
}

.btn-ghost {
  background: transparent;
  border: 1px solid rgba(var(--text-rgb),0.15);
  color: var(--text);
  opacity: 0.65;
}
.btn-ghost:hover {
  opacity: 1;
  border-color: rgba(var(--accent-rgb),0.55);
  color: var(--accent-hi);
}

/* ============================================================
   HERO
   ============================================================ */
.section-hero {
  /* поверх видео — всегда светлый текст, в любой теме */
  --text:     #FFFFFF;
  --text-rgb: 255, 255, 255;
  color: var(--text);
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: var(--nav-h) 56px 80px;
  overflow: hidden;
}

/* Background video */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  /* приглушаем зелень видео, чтобы она не спорила с синей палитрой */
  filter: saturate(0.4) brightness(0.92);
}

/* Dark overlay so text stays readable */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(var(--scrim-rgb),0.88) 0%,
    rgba(var(--scrim-rgb),0.62) 55%,
    rgba(var(--scrim-rgb),0.42) 100%
  );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1400px;
}

.hero-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 65px;
  line-height: 0.9;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 0.04em;
}

.hero-line { display: block; }

/* Hero stats — right column */
.hero-stats {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 48px;
  flex-shrink: 0;
  text-align: right;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hero-stat-number {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(48px, 5vw, 80px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--text);
}

.hero-stat-label {
  font-family: var(--f-body);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: rgba(var(--text-rgb),0.45);
  text-transform: uppercase;
}

.hero-desc {
  font-family: var(--f-body);
  font-weight: 400;
  font-size: clamp(14px, 1.1vw, 17px);
  line-height: 1.65;
  color: rgba(var(--text-rgb),0.6);
  max-width: 500px;
  margin-bottom: 44px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 56px;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0.28;
}

.scroll-dot {
  animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollDot {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(7px); }
}

/* ============================================================
   ABOUT
   ============================================================ */
.section-about {
  padding: 120px 56px;
  border-top: 1px solid var(--border);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px 80px;
  max-width: 1200px;
}

.section-label {
  display: block;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: rgba(var(--text-rgb),0.35);
  margin-bottom: 20px;
}

.about-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(32px, 3.5vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.about-desc {
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.75;
  color: rgba(var(--text-rgb),0.6);
  margin-bottom: 52px;
}

.about-stats {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat-number {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(36px, 3.5vw, 52px);
  line-height: 1;
  letter-spacing: -0.03em;
}

.stat-label {
  font-family: var(--f-body);
  font-size: 13px;
  color: rgba(var(--text-rgb),0.4);
  letter-spacing: 0.04em;
}

/* ============================================================
   SERVICES ACCORDION
   ============================================================ */
.section-services {
  padding: 120px 56px;
  border-top: 1px solid var(--border);
  /* лёгкая тональная полоса, чтобы секции не сливались в одно пятно */
  background: var(--bg-subtle);
}

.services-inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 60px 80px;
  max-width: 1200px;
  align-items: start;
}

.services-header {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}

.services-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(32px, 3.5vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.services-title em {
  font-style: italic;
  color: var(--accent);
  font-weight: 700;
}

.services-subtitle {
  font-family: var(--f-body);
  font-size: 15px;
  color: rgba(var(--text-rgb),0.45);
  line-height: 1.6;
  max-width: 520px;
}

/* Accordion */
.accordion {
  display: flex;
  flex-direction: column;
}

.acc-item {
  border-bottom: 1px solid var(--border);
}

.acc-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  transition: color 0.2s;
}

.acc-trigger:hover .acc-name { color: var(--accent); }

.acc-num {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0.1em;
  flex-shrink: 0;
  width: 28px;
}

.acc-name {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(16px, 1.6vw, 20px);
  letter-spacing: 0.01em;
  flex: 1;
  transition: color 0.2s;
}

.acc-icon {
  flex-shrink: 0;
  opacity: 0.45;
  transition: transform 0.3s ease, opacity 0.2s;
}

.acc-item.open .acc-icon {
  transform: rotate(180deg);
  opacity: 1;
}

.acc-item.open .acc-name { color: var(--accent); }

.acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.acc-item.open .acc-body {
  max-height: 300px;
}

.acc-body > p {
  font-family: var(--f-body);
  font-size: 15px;
  line-height: 1.7;
  color: rgba(var(--text-rgb),0.55);
  padding: 0 0 12px 48px;
}

.acc-more-btn {
  display: inline-block;
  margin: 0 0 20px 48px;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--accent);
  border: 1px solid rgba(var(--accent-rgb),0.3);
  border-radius: 5px;
  padding: 6px 14px;
  transition: background 0.2s, border-color 0.2s;
}

.acc-more-btn:hover {
  background: rgba(var(--accent-rgb),0.08);
  border-color: rgba(var(--accent-rgb),0.6);
}

/* ============================================================
   CONTACT
   ============================================================ */
.section-contact {
  padding: 120px 56px;
  border-top: 1px solid var(--border);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px 80px;
  max-width: 1200px;
  align-items: start;
}

.contact-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(28px, 3vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-input {
  background: rgba(var(--text-rgb),0.04);
  border: 1px solid rgba(var(--text-rgb),0.12);
  border-radius: 6px;
  padding: 14px 18px;
  color: var(--text);
  font-family: var(--f-body);
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  resize: none;
  width: 100%;
}

.form-input::placeholder {
  color: rgba(var(--text-rgb),0.28);
}

.form-input:focus {
  border-color: rgba(var(--accent-rgb),0.6);
  background: rgba(var(--accent-rgb),0.06);
}

.form-input.is-invalid {
  border-color: rgba(216,86,58,0.75);
  background: rgba(216,86,58,0.07);
}

.form-textarea {
  min-height: 120px;
}

/* ответ формы: подтверждение или ошибка */
.form-status {
  font-family: var(--f-body);
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
  min-height: 1.55em;
}
.form-status:empty { display: none; }
.form-status.is-ok    { color: var(--accent-hi); }
.form-status.is-info  { color: rgba(var(--text-rgb),0.6); }
.form-status.is-error { color: #E8836A; }

.contact-form .btn {
  align-self: flex-start;
}

/* Контакты: вместо формы — кнопки мессенджеров */
.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-lead {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(var(--text-rgb),0.7);
  max-width: 460px;
}
.contact-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
.contact-btn {
  gap: 10px;
  min-width: 280px;
  white-space: normal;
  text-align: center;
}
.contact-btn-wa {
  background: #25D366;
  border-color: #25D366;
  color: #fff;
}
.contact-btn-wa:hover { background: #1fb858; }

/* ============================================================
   FOOTER
   ============================================================ */
/* ============================================================
   FOOTER
   ============================================================ */
footer {
  /* подвал всегда тёмный — светлый текст внутри него */
  --text:     #FFFFFF;
  --text-rgb: 255, 255, 255;
  background: var(--footer-bg);
  color: var(--text);
  border-top: 1px solid var(--border);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1fr;
  gap: 48px;
  padding: 72px 56px 56px;
}

.footer-logo {
  height: 64px;
  width: auto;
  margin-bottom: 20px;
  display: block;
}

.footer-tagline {
  font-family: var(--f-body);
  font-size: 14px;
  line-height: 1.7;
  color: rgba(var(--text-rgb),0.4);
  max-width: 240px;
}

.footer-heading {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-family: var(--f-body);
  font-size: 14px;
  color: rgba(var(--text-rgb),0.5);
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--text); }

.footer-contacts {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contacts li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(var(--text-rgb),0.45);
}

.footer-contacts svg { flex-shrink: 0; opacity: 0.6; }

.footer-contacts a,
.footer-contacts span {
  font-family: var(--f-body);
  font-size: 14px;
  color: rgba(var(--text-rgb),0.5);
  transition: color 0.2s;
}

.footer-contacts a:hover { color: var(--text); }

.footer-socials {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-social-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-body);
  font-size: 14px;
  color: rgba(var(--text-rgb),0.5);
  transition: color 0.2s;
}

.footer-social-btn:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 56px;
  border-top: 1px solid var(--border);
}

.footer-copy {
  font-family: var(--f-body);
  font-size: 13px;
  color: rgba(var(--text-rgb),0.22);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
/* Mobile stats strip — hidden on desktop */
.mobile-stats { display: none; }

/* ============================================================
   RESPONSIVE — TABLET (≤960px)
   ============================================================ */
@media (max-width: 960px) {
  .about-inner,
  .contact-inner,
  .services-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .services-header { position: static; }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .hero-stats {
    gap: 32px;
  }
}

/* ============================================================
   NAV → БУРГЕР (≤1024px)
   Горизонтальное меню перестаёт помещаться раньше, чем начинается
   мобильная вёрстка: на 800-1000px пункты наезжали на иконки соцсетей.
   Поэтому бургер включается уже на планшетах.
   ============================================================ */
@media (max-width: 1024px) {
  .nav-links { display: none; }

  .nav-socials { display: none; }

  /* Hamburger button */
  .burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 300;
  }

  .burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.25s, opacity 0.25s;
  }

  .burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger.open span:nth-child(2) { opacity: 0; }
  .burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* Mobile menu overlay */
  .mobile-menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    position: fixed;
    inset: 0;
    background: rgba(var(--scrim-rgb),0.97);
    --text:     #FFFFFF;
    --text-rgb: 255, 255, 255;
    backdrop-filter: blur(12px);
    z-index: 200;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s;
  }

  .mobile-menu.open {
    opacity: 1;
    pointer-events: all;
  }

  .mobile-menu a {
    font-family: var(--f-display);
    font-weight: 700;
    font-size: 32px;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: var(--text);
    opacity: 0.7;
    transition: opacity 0.2s, color 0.2s;
  }

  .mobile-menu a:hover,
  .mobile-menu a.active {
    opacity: 1;
    color: var(--accent);
  }

  .mobile-menu-socials {
    display: flex;
    gap: 24px;
    margin-top: 8px;
  }

  .mobile-menu-socials a {
    font-size: 0;
    opacity: 0.5;
  }

  .mobile-menu-socials a:hover { opacity: 1; }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤768px)
   ============================================================ */
@media (max-width: 768px) {

  /* --- NAV --- */
  #navbar {
    padding-left: 20px;
    padding-right: 20px;
  }

  .nav-right { gap: 12px; }

  /* --- HERO --- */
  .section-hero {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    padding: var(--nav-h) 20px 40px;
    gap: 0;
    min-height: 100vh;
  }

  .hero-video {
    object-position: center top;
    transform: translateY(-15%);
    height: 130%;
    top: 0;
  }

  /* Overlay только снизу — верх прозрачный, queen видна */
  .hero-overlay {
    background: linear-gradient(
      to bottom,
      rgba(var(--scrim-rgb),0.0)  0%,
      rgba(var(--scrim-rgb),0.15) 35%,
      rgba(var(--scrim-rgb),0.60) 60%,
      rgba(var(--scrim-rgb),0.92) 100%
    );
  }

  .hero-title {
    font-size: clamp(36px, 9.5vw, 58px);
    margin-bottom: 16px;
  }
  /* «ПРОФЕССИОНАЛЬНАЯ» — самое длинное слово из трёх языков: при обычном
     размере оно шире экрана и распирает страницу. Русскому заголовку
     даём размер от ширины экрана. */
  html[lang="ru"] .hero-title { font-size: clamp(24px, 7.8vw, 58px); }

  .hero-desc {
    font-size: 14px;
    margin-bottom: 28px;
  }

  /* запас снизу, чтобы плавающая кнопка Telegram
     не наезжала на кнопки героя */
  .hero-buttons { margin-bottom: 0; padding-bottom: 44px; }

  .hero-stats {
    display: none;
  }

  .scroll-indicator { display: none; }

  /* Mobile stats strip */
  .mobile-stats {
    display: flex;
    justify-content: space-between;
    padding: 28px 20px;
    background: rgba(var(--accent-rgb),0.05);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }

  .mobile-stats .hero-stat { text-align: center; }
  .mobile-stats .hero-stat-number { font-size: 28px; }

  /* --- SECTIONS --- */
  .section-about,
  .section-contact {
    padding: 64px 20px;
  }

  .about-inner,
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* --- FOOTER --- */
  .footer-top {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 48px 20px 40px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
    /* тот же запас: копирайт не должен уходить под кнопку */
    padding: 20px 20px 84px;
  }

  .footer-tagline { max-width: 100%; }
}

/* Burger hidden on desktop */
@media (min-width: 1025px) {
  .burger       { display: none; }
  .mobile-menu  { display: none !important; }
}

/* ============================================================
   SERVICE DETAIL PAGES  (servicios/*.html)
   ============================================================ */

.service-hero {
  background: linear-gradient(160deg, #14304C 0%, var(--bg) 68%);
  padding: calc(var(--nav-h) + 80px) 48px 72px;
  border-bottom: 1px solid var(--border);
}

.service-hero-inner { max-width: 900px; margin: 0 auto; }

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-family: var(--f-body);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-decoration: none;
  margin-bottom: 32px;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.back-btn:hover { opacity: 1; }

.service-hero-num {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--gold);
  opacity: 0.6;
  display: block;
  margin-bottom: 14px;
}

.service-hero-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 50px;
  line-height: 1.05;
  color: var(--text);
  margin: 0 0 20px;
}

.service-hero-sub {
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.7;
  color: rgba(var(--text-rgb),0.6);
  max-width: 680px;
  margin: 0;
}

.service-page { background: var(--bg); padding: 80px 48px; }
.service-page-inner { max-width: 900px; margin: 0 auto; }

.service-intro { margin-bottom: 64px; }
.service-intro p {
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.8;
  color: rgba(var(--text-rgb),0.75);
  margin-bottom: 18px;
}
.service-intro p:last-child { margin-bottom: 0; }

.service-section-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 26px;
  color: var(--text);
  margin: 0 0 28px;
}

.service-areas { margin-bottom: 72px; }

.service-areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 18px;
}

.service-area-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 22px;
  transition: border-color 0.25s;
}
.service-area-card:hover { border-color: rgba(var(--accent-rgb),0.3); }

.service-area-card h3 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--accent);
  margin: 0 0 10px;
}

.service-area-card p {
  font-family: var(--f-body);
  font-size: 13.5px;
  line-height: 1.65;
  color: rgba(var(--text-rgb),0.6);
  margin: 0;
}

.service-why {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 48px;
  margin-bottom: 64px;
}

.service-why ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.service-why ul li {
  font-family: var(--f-body);
  font-size: 15px;
  color: rgba(var(--text-rgb),0.8);
  padding-left: 26px;
  position: relative;
  line-height: 1.6;
}

.service-why ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

.service-cta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.service-cta p {
  font-family: var(--f-body);
  font-size: 14px;
  color: rgba(var(--text-rgb),0.45);
  margin: 0;
}

/* ---- Nested accordion: larger max-height for the parent acc-body ---- */
.acc-item--nested.open .acc-body {
  max-height: 1400px;
}

/* ---- Service page inner accordion (svc-accordion) ---- */
.svc-accordion {
  border-top: 1px solid var(--border);
  margin-top: 16px;
  padding-left: 80px;
}

.svc-acc-item {
  border-bottom: 1px solid var(--border);
}

.svc-acc-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  padding: 22px 0;
  cursor: pointer;
  color: var(--text);
  text-align: left;
  gap: 16px;
}

.svc-acc-name {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 16px;
  flex: 1;
}

.svc-acc-icon {
  flex-shrink: 0;
  color: var(--accent);
  transition: transform 0.35s ease;
}

.svc-acc-item.open .svc-acc-icon {
  transform: rotate(180deg);
}

.svc-acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.svc-acc-item.open .svc-acc-body {
  max-height: 400px;
}

.svc-acc-body p {
  font-family: var(--f-body);
  font-size: 15px;
  line-height: 1.7;
  color: rgba(var(--text-rgb),0.65);
  padding-bottom: 14px;
  margin: 0;
}

.svc-more-btn {
  display: inline-block;
  margin: 0 0 20px;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--accent);
  border: 1px solid rgba(var(--accent-rgb),0.3);
  border-radius: 5px;
  padding: 6px 14px;
  transition: background 0.2s, border-color 0.2s;
}

.svc-more-btn:hover {
  background: rgba(var(--accent-rgb),0.08);
  border-color: rgba(var(--accent-rgb),0.6);
}

/* ---- Sub-page detail sections ---- */
.service-detail-section {
  margin-bottom: 52px;
}

.service-detail-section h3 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--accent);
  margin: 28px 0 8px;
}

.service-detail-section p {
  font-family: var(--f-body);
  font-size: 15px;
  line-height: 1.75;
  color: rgba(var(--text-rgb),0.72);
  margin: 0 0 14px;
}

.service-detail-section ul {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
}

.service-detail-section ul li {
  font-family: var(--f-body);
  font-size: 15px;
  line-height: 1.7;
  color: rgba(var(--text-rgb),0.72);
  padding: 6px 0 6px 22px;
  position: relative;
  border-bottom: 1px solid var(--border);
}

.service-detail-section ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* ---- FAQ ---- */
.faq-list {
  margin: 0;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}

.faq-q {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
  margin: 0 0 8px;
}

.faq-a {
  font-family: var(--f-body);
  font-size: 15px;
  line-height: 1.7;
  color: rgba(var(--text-rgb),0.65);
  margin: 0;
}


@media (max-width: 768px) {
  .service-hero { padding: calc(var(--nav-h) + 48px) 20px 48px; }
  .service-hero-title { font-size: 30px; }
  .service-page { padding: 48px 20px; }
  .service-areas-grid { grid-template-columns: 1fr; }
  .service-why { padding: 28px 20px; }
}

/* ============================================================
   RESPONSIVE — TABLET additions (≤960px)
   ============================================================ */
@media (max-width: 960px) {
  .section-about,
  .section-services,
  .section-contact {
    padding: 80px 40px;
  }

  .footer-top    { padding: 60px 40px 48px; }
  .footer-bottom { padding: 18px 40px; }

  /* accordion indents */
  .acc-body > p    { padding-left: 32px; }
  .acc-more-btn    { margin-left: 32px; }
  .svc-accordion   { padding-left: 32px; }

  /* service page hero */
  .service-hero      { padding: calc(var(--nav-h) + 60px) 40px 60px; }
  .service-page      { padding: 60px 40px; }
  .service-why       { padding: 36px 32px; }
  .service-hero-title { font-size: 38px; }
}

/* ============================================================
   RESPONSIVE — MOBILE additions (≤768px)
   ============================================================ */
@media (max-width: 768px) {

  /* --- SERVICE PAGE: hero + body --- */
  /* Перебивает планшетный блок выше: он идёт в файле позже мобильного и
     возвращал отступы 40px и заголовок 38px. Длинные слова в заголовке
     («Незарегистрированное», «Inconstitucionalidad») при таком размере не
     помещаются в строку и распирают страницу шире экрана. */
  .service-hero       { padding-left: 20px; padding-right: 20px; }
  .service-page       { padding-left: 20px; padding-right: 20px; }
  .service-hero-title {
    font-size: clamp(24px, 7.2vw, 30px);
    hyphens: auto;
    overflow-wrap: anywhere;
  }

  /* --- SERVICES SECTION on main page --- */
  .section-services { padding: 64px 20px; }

  /* accordion body indents — align with number column */
  .acc-body > p { padding-left: 18px; }
  .acc-more-btn { margin-left: 18px; }

  /* nested accordion (index.html sub-items) */
  .svc-accordion            { padding-left: 0; margin-top: 8px; }
  .svc-acc-name             { font-size: 14px; }
  .svc-acc-trigger          { padding: 16px 0; }
  .svc-acc-body p           { font-size: 14px; }

  /* allow more height: mobile text wraps more */
  .acc-item--nested.open .acc-body   { max-height: 3200px; }
  .svc-acc-item.open .svc-acc-body   { max-height: 700px; }

  /* service pages — section title */
  .service-section-title { font-size: 22px; margin-bottom: 20px; }

  /* service hero sub */
  .service-hero-sub { font-size: 15px; }

  /* service why box */
  .service-why ul li { font-size: 14px; }

  /* footer */
  .footer-top    { padding: 48px 20px 40px; }
  /* запас снизу — под плавающую кнопку Telegram */
  .footer-bottom { padding: 16px 20px 84px; }

  /* hero buttons full-width on very small screens */
  .hero-buttons { gap: 10px; }
  .btn { padding: 13px 22px; font-size: 11px; }

  /* language selector — hide label on mobile to save space */
  .lang-name { display: none; }

  /* contact form */
  .contact-form .btn { width: 100%; justify-content: center; }
  .contact-btn { width: 100%; min-width: 0; }

  /* FAQ on sub-pages */
  .faq-q { font-size: 15px; }
  .faq-a { font-size: 14px; }

  /* service detail sections */
  .service-detail-section h3 { font-size: 16px; }
  .service-detail-section p,
  .service-detail-section ul li { font-size: 14px; }

  /* service CTA */
  .service-cta { flex-direction: column; align-items: flex-start; gap: 12px; }
  /* Длинная подпись («Записаться на бесплатную консультацию») не влезает в
     одну строку и распирала страницу шире экрана — разрешаем перенос. */
  .service-cta .btn {
    white-space: normal;
    text-align: center;
    width: 100%;
  }
}

/* ============================================================
   RESPONSIVE — SMALL PHONE (≤400px)
   ============================================================ */
@media (max-width: 400px) {
  .hero-title   { font-size: 34px; }

  .acc-name     { font-size: 15px; }
  .acc-num      { font-size: 12px; width: 22px; }
  .acc-trigger  { gap: 14px; }
  .svc-acc-name { font-size: 13px; }
  .btn          { padding: 12px 18px; font-size: 11px; }
  .nav-logo img { height: 38px; }
}

/* ============================================================
   EQUIPO / TEAM
   ============================================================ */
.section-team {
  padding: 120px 56px;
  border-top: 1px solid var(--border);
}

.team-inner {
  max-width: 1200px;
}

.team-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(30px, 3.2vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  max-width: 16ch;
}

.team-sub {
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.75;
  color: rgba(var(--text-rgb),0.55);
  max-width: 58ch;
  margin-top: 22px;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 96px;
  margin-top: 72px;
}

/* zig-zag: photo and text swap sides on every other member */
.team-card {
  display: grid;
  grid-template-columns: minmax(0, 400px) 1fr;
  gap: 56px;
  align-items: center;
}

.team-card:nth-child(even) { grid-template-columns: 1fr minmax(0, 400px); }
.team-card:nth-child(even) .team-photo { order: 2; }
.team-card:nth-child(even) .team-info  { order: 1; justify-self: end; }

.team-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: visible;
  background: none;
  border: 0;
}

/* fallback shown while / if there is no photo yet */
.team-photo::before {
  content: attr(data-initials);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 52px;
  letter-spacing: 0.04em;
  color: rgba(var(--gold-rgb),0.20);
}

.team-photo img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s ease, filter 0.6s ease;

  /* студийный серый фон уводим ближе к тёмно-синему фону сайта */
  filter: brightness(0.82) contrast(1.12) saturate(0.9);

  /* края растворяются в фоне страницы — работает в любой теме,
     потому что маска уводит пиксели в прозрачность, а не в цвет */
  -webkit-mask-image:
    linear-gradient(to right,  transparent 0%, #000 14%, #000 86%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 10%, #000 78%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image:
    linear-gradient(to right,  transparent 0%, #000 14%, #000 86%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 10%, #000 78%, transparent 100%);
          mask-composite: intersect;
}

/* при наведении фото немного «оживает» */
.team-card:hover .team-photo img {
  filter: brightness(0.92) contrast(1.06) saturate(1);
}

/* заглушка с инициалами нужна только пока фото нет */
.team-photo:has(img) { --ph-hidden: 1; }
.team-photo:has(img)::before { content: none; }

.team-card:hover .team-photo img {
  transform: scale(1.03);
}

.team-info {
  max-width: 62ch;
}

.team-name {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--text);
}

.team-role {
  display: block;
  font-family: var(--f-body);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 8px;
}

.team-bio {
  font-family: var(--f-body);
  font-size: 14px;
  line-height: 1.7;
  color: rgba(var(--text-rgb),0.5);
  margin-top: 14px;
}

.team-links {
  display: flex;
  gap: 14px;
  margin-top: 18px;
}

.team-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  color: rgba(var(--text-rgb),0.55);
  transition: color 0.25s ease, border-color 0.25s ease;
}

.team-links a:hover {
  color: var(--accent);
  border-color: rgba(var(--accent-rgb),0.45);
}

@media (max-width: 960px) {
  .section-team { padding: 90px 40px; }
  .team-grid    { gap: 64px; margin-top: 52px; }
  .team-card    { grid-template-columns: minmax(0, 300px) 1fr; gap: 36px; }
  .team-card:nth-child(even) { grid-template-columns: 1fr minmax(0, 300px); }
}

@media (max-width: 768px) {
  .section-team { padding: 64px 20px; }
  .team-grid    { gap: 56px; margin-top: 36px; }
  .team-card    { grid-template-columns: 1fr; gap: 22px; }
  .team-card:nth-child(even) { grid-template-columns: 1fr; }
  .team-card:nth-child(even) .team-photo { order: 0; }
  .team-card:nth-child(even) .team-info  { order: 0; justify-self: start; }
  .team-photo   { aspect-ratio: 3 / 4; max-width: 320px; }
  .team-sub     { font-size: 15px; }
  .team-bio     { font-size: 14px; }
}

.team-list {
  list-style: none;
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.team-list li {
  position: relative;
  padding-left: 16px;
  font-family: var(--f-body);
  font-size: 14px;
  line-height: 1.6;
  color: rgba(var(--text-rgb),0.62);
}

.team-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 1px;
  background: var(--accent);
}

.team-note {
  font-family: var(--f-body);
  font-size: 14px;
  line-height: 1.65;
  color: rgba(var(--text-rgb),0.78);
  border-left: 2px solid var(--accent);
  padding-left: 14px;
  margin-top: 18px;
}

/* grid stays a grid when the language switcher restores display */
.lang-content.team-grid { display: grid; }

/* --- team: members shown without a photo --- */
.team-extra {
  margin-top: 96px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}

.team-extra-label {
  display: block;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(var(--text-rgb),0.35);
  margin-bottom: 40px;
}

.team-extra-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
}

.team-card--plain,
.team-extra .team-card--plain:nth-child(even) {
  display: block;
  grid-template-columns: none;
}

.team-card--plain .team-info {
  max-width: none;
  justify-self: auto;
}

@media (max-width: 960px) {
  .team-extra      { margin-top: 64px; padding-top: 40px; }
  .team-extra-grid { gap: 36px; }
}

@media (max-width: 768px) {
  .team-extra      { margin-top: 56px; padding-top: 36px; }
  .team-extra-grid { grid-template-columns: 1fr; gap: 36px; }
}

/* ============================================================
   BIG SCREENS — centre the content instead of hugging the left
   ============================================================ */
.about-inner,
.services-inner,
.contact-inner,
.team-inner {
  margin-inline: auto;
}

@media (min-width: 1500px) {
  :root { --shell: 1360px; }

  #navbar {
    padding-inline: max(56px, calc((100vw - var(--shell)) / 2));
  }

  .section-hero {
    padding-inline: max(56px, calc((100vw - var(--shell)) / 2));
  }

  .hero-stats {
    max-width: none;
  }

  .about-inner,
  .services-inner,
  .contact-inner,
  .team-inner {
    max-width: var(--shell);
  }

  .footer-top,
  .footer-bottom {
    max-width: var(--shell);
    margin-inline: auto;
    padding-inline: 0;
  }
}

@media (min-width: 1900px) {
  :root { --shell: 1520px; }
}

/* ============================================================
   FLOATING TELEGRAM BUTTON
   ============================================================ */
.tg-float {
  position: fixed;
  right: 26px;
  bottom: 26px;
  /* выше шапки (100), но ниже мобильного меню (200) — чтобы не всплывать поверх него */
  z-index: 150;
  display: flex;
  align-items: center;
  height: 56px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--accent);
  color: #06192B;
  box-shadow: 0 10px 30px rgba(var(--scrim-rgb),0.45);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  animation: tgFloatIn 0.5s ease 0.6s both;
}

.tg-float:hover {
  background: var(--accent-hi);
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(var(--scrim-rgb),0.55);
}

.tg-float:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 3px;
}

.tg-float-icon {
  flex-shrink: 0;
  /* иконка «бумажного самолётика» оптически смещена — компенсируем */
  transform: translateX(-1px);
}

/* подпись раскрывается при наведении */
.tg-float-label {
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  white-space: nowrap;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.03em;
  transition: max-width 0.35s ease, opacity 0.25s ease, margin-left 0.35s ease;
}

.tg-float:hover .tg-float-label,
.tg-float:focus-visible .tg-float-label {
  max-width: 260px;
  opacity: 1;
  margin-left: 10px;
}

@keyframes tgFloatIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .tg-float {
    right: 18px;
    bottom: 18px;
    height: 52px;
    padding: 0 14px;
  }
  /* на телефоне наведения нет — оставляем только круглую иконку */
  .tg-float-label { display: none; }
}

/* уважаем системную настройку «меньше движения» */
@media (prefers-reduced-motion: reduce) {
  .tg-float { animation: none; }
  .tg-float:hover { transform: none; }
}


/* Переключатель языка: соседние языки — ссылки на свои домены, текущий —
   просто текст. Отступы задаём внутреннему элементу, одинаково обоим,
   иначе активный пункт встаёт вплотную к краю и список выглядит кривым. */
.lang-option { padding: 0; }
.lang-option > a,
.lang-option > span {
  display: block;
  padding: 10px 16px;
  color: inherit;
  text-decoration: none;
}

/* Пока показана полоса с предложением сменить язык, поднимаем плавающую
   кнопку Telegram над ней — иначе круг наезжает на текст полосы. */
body.has-lang-suggest .tg-float { bottom: calc(26px + var(--lang-suggest-h, 56px)); }
@media (max-width: 768px) {
  body.has-lang-suggest .tg-float { bottom: calc(18px + var(--lang-suggest-h, 56px)); }
}

/* мягкая подсказка о смене языка */
.lang-suggest {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 12px 48px 12px 16px;
  background: var(--bg-elev, #16181d);
  border-top: 1px solid rgba(var(--text-rgb, 255,255,255), 0.12);
  box-shadow: 0 -8px 32px rgba(0,0,0,0.35);
  font-family: var(--f-body, system-ui, sans-serif);
  font-size: 14px;
  color: var(--text, #fff);
}
.lang-suggest a {
  color: var(--accent, #c8a45c);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}
.lang-suggest button {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: 0;
  color: inherit;
  opacity: 0.55;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
}
.lang-suggest button:hover { opacity: 1; }
