/* ================== FONTS ================== */

@font-face {
  font-family: 'Onest';
  src: url('/assets/fonts/Onest/Onest-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Manrope';
  src: url('/assets/fonts/Manrope/Manrope-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ================== COMMON ================== */

*,
*::before,
*::after{
  box-sizing: border-box;
}

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

body{
  margin: 0;
  font-family: 'Onest', sans-serif;
}

.container{
  margin: 0 auto;
  position: relative;
}

/* ===== Hero Social Pill ===== */

.hero__social {
    position: absolute;
    top: 70px;
    right: 150px;
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 12px 28px;
    border-radius: 26px;
    background: rgba(58,117,221,0.3);
    z-index: 20;
}

.hero__social-text {
    font-family: "Manrope", system-ui, sans-serif;
    font-weight: 800;
    font-size: 8px;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #fff;
    text-align: right;
}

.hero__social-icon {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.9;
    transition: opacity 0.15s;
}

.hero__social-icon:hover { opacity: 1; }

.header{
  position: relative;
  z-index: 10;
}

.header__row{
  display: flex;
  align-items: center;
}

.hero{
  position: relative;
  overflow: hidden;
}

.hero__grid{
  display: grid;
}

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

/* Переключатель языка — плашка как у пунктов меню */
.header__lang-wrap {
  position: relative;
  flex-shrink: 0;
}

.header__lang {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 20px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.header__lang:hover,
.header__lang--open {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.85);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.header__lang-icon {
  font-size: 18px;
  line-height: 1;
}

.header__lang-chevron {
  flex-shrink: 0;
  opacity: 0.9;
  transition: transform 0.2s ease;
}

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

.header__lang-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 50;
  min-width: 160px;
  padding: 8px;
  background: #ffffff;
  border: 1px solid rgba(26, 43, 74, 0.08);
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

.header__lang-option {
  display: block;
  padding: 11px 14px;
  font-size: 14px;
  font-weight: 600;
  color: #1a2b4a;
  border-radius: 10px;
  transition: background 0.15s ease;
}

.header__lang-option:hover {
  background: rgba(58, 117, 221, 0.08);
}

.header__lang-option--active {
  color: #3a75dd;
  background: rgba(58, 117, 221, 0.1);
}
