:root {
  --red: #a80000;
  --white: #ffffff;
  --graphite: #222222;
  --light: #f5f5f5;
  --silver: #c9c9c9;
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter,
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial;
  color: var(--graphite);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.45;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

header {
  position: sticky;
  top: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.95),
    rgba(255, 255, 255, 0.8)
  );
  backdrop-filter: blur(6px);
  z-index: 60;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  overflow: visible;
  isolation: isolate;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  position: relative;
  z-index: 10;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand h1 {
  color: #a10000;
}

.logo {
  width: 52px;
  height: 52px;
  border-radius: 6px;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 800;
  font-family: Montserrat;
  font-size: 18px;
  box-shadow: 0 6px 18px rgba(168, 0, 0, 0.12);
}

.brand h1 {
  margin: 0;
  font-size: 25px;
}

nav ul {
  display: flex;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.btn-ghost {
  padding: 10px 14px;
  border-radius: 6px;
  border: 1px solid var(--silver);
  font-weight: 600;
}

.btn-ghost:hover {
  color: var(--red);
  border-color: var(--red);
  transform: translateY(-1px);
}

.btn-primary {
  border: 0;
  background: var(--red);
  color: var(--white);
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 700;

  cursor: pointer;
}

.btn-primary:hover {
  background: #cc0000;
  box-shadow: 0 12px 36px rgba(168, 0, 0, 0.25);
  transform: translateY(-2px);
}

.btn-order {
  margin-top: 15px;
}

.hero-actions {
  margin-bottom: 10px;
}

.hero-actions a {
  color: #cfcdcd;
}

.hero {
  position: relative;
  height: 82vh;
  min-height: 560px;
  display: flex;
  align-items: center;
}

.hero .media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: contrast(0.95);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.45));
}

.hero .container {
  position: relative;
  z-index: 3;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 36px;
  align-items: center;
}

.hero h2 {
  font-family: Montserrat;
  font-size: 44px;
  color: var(--white);
  margin: 0 0 12px;
}

.hero p {
  color: rgba(255, 255, 255, 0.95);
  max-width: 640px;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.stat-pill {
  margin: 8px auto;
  background: rgba(255, 255, 255, 0.06);
  padding: 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-pill strong {
  color: var(--white);
  font-family: Montserrat;
  font-size: 20px;
}

.stat-pill span {
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
}

.hero-form-card {
  background: linear-gradient(180deg, #fff, #f9f9f9);
  border-left: 6px solid var(--red);
  padding: 20px;
  border-radius: 10px;
}

.hero-form-card h3 {
  margin-top: 0;
  font-family: Montserrat;
}

.hero-form-card p {
  color: #666;
}

.hero-form-card form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

.numbers-container {
  margin: 20px auto;
  padding-top: 30px;
  padding-bottom: 30px;
}

.numbers {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.number-card {
  background: var(--white);
  border-radius: 10px;
  padding: 18px;
  min-width: 160px;
  flex: 1 1 160px;
  border-left: 6px solid var(--red);
  box-shadow: 0 6px 18px rgba(34, 34, 34, 0.04);
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}

.number-card h4 {
  margin: 0;
  font-family: Montserrat;
  font-size: 24px;
}

.number-card p {
  margin: 6px 0 0;
  color: #666;
}

.number-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.15);
}

.office-img {
  width: 100%;
  /* фотка офиса */
  height: 220px;
  object-fit: cover;
  border-radius: 5px;
}

.about {
  margin: 20px auto;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 36px;
  align-items: center;
}

.about .card {
  background: linear-gradient(180deg, #fff, #fbfbfb);
  padding: 20px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 8px 30px rgba(34, 34, 34, 0.04);
}

.about img {
  border-radius: 10px;
  box-shadow: 0 12px 40px rgba(34, 34, 34, 0.08);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.service {
  background: var(--white);
  padding: 18px;
  border-radius: 12px;
  border-top: 6px solid var(--red);
  box-shadow: 0 8px 24px rgba(34, 34, 34, 0.04);
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}

.service:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.15);
}

.service h4 {
  margin: 8px 0 6px;
  font-family: Montserrat;
}

.service p {
  margin: 0;
  color: #666;
}

.projects {
  margin: 20px auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.project {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(34, 34, 34, 0.06);
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}

.project:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.15);
}

.project img {
  height: 220px;
  object-fit: cover;
  width: 100%;
}

.project .meta {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.45));
  padding: 10px;
  border-radius: 8px;
  color: var(--white);
}

.project .meta div {
  font-size: 13px;
}

.title-steps {
  margin-top: 50px;
}

.title-steps h3 {
  font-size: 30px;
}

.steps {
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: linear-gradient(180deg, #fff, #fbfbfb);
  padding: 14px;
  border-radius: 10px;
  border-left: 6px solid #a10000;
}

.step .num {
  background: var(--red);
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.step-text {
  color: #666;
  margin-top: 2px;
}

.section-sub {
  margin: 10px auto;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.why {
  background: var(--white);
  padding: 18px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.why-text {
  color: #666;
  margin-top: 6px;
}

.testimonials {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 30px;
}

.testimonial {
  background: linear-gradient(180deg, #fff, #fbfbfb);
  padding: 16px;
  border-radius: 10px;
  border-left: 6px solid var(--red);
}

.testimonial-text {
  color: #666;
  margin-top: 8px;
}

.contact {
  margin: 20px auto;
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 24px;
  align-items: start;
  padding-bottom: 30px;
}

.contact .card {
  background: var(--red);
  color: var(--white);
  padding: 20px;
  border-radius: 12px;
}

.contact-form {
  background: var(--red);
  color: #fff;
  padding: 22px;
  border-radius: 12px;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

input,
textarea,
select {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #e6e6e6;
  font-size: 14px;
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid rgba(168, 0, 0, 0.12);
}

.cta {
  margin-top: 7px;
  display: flex;
  gap: 10px;
  align-items: center;
}

.cta a {
  font-size: 13.3px;
  color: #ffffff;
  font-family: Arial, sans-serif;
}

.cta .btn-primary {
  background: #2f0808;
}

footer {
  padding: 28px 0;
  background: var(--light);
  border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-logo {
  display: flex;
  gap: 12px;
  align-items: center;
}

.footer-logo .logo {
  width: 44px;
  height: 44px;
}

.footer-logo-text {
  font-size: 13px;
  color: #666;
}

.img {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  cursor: pointer;
}

.img:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.2);
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  z-index: 999;
}

.lightbox.show {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  position: relative;
  max-width: 80%;
  max-height: 80%;
}

.lightbox-img {
  max-width: 70%;
  max-height: 70%;
  border-radius: 10px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  transform: scale(0.9);
  transition: transform 0.3s;
}

.lightbox-img.show {
  transform: scale(1);
}

.close {
  position: absolute;
  top: -12px;
  right: -12px;
  font-size: 28px;
  color: #fff;
  cursor: pointer;
}

.zoomable {
  cursor: pointer;
}

.contact-fab {
  position: fixed;
  right: 35px;
  bottom: 30px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  border: 0;
  box-shadow: 0 10px 30px rgba(168, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1100;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
  outline: none;
}

.contact-fab:active {
  transform: scale(0.98);
}

.contact-fab:hover {
  box-shadow: 0 14px 36px rgba(168, 0, 0, 0.3);
  transform: translateY(-3px);
}

.contact-fab .ping {
  position: absolute;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgb(168 0 0 / 33%);
  animation: ping 1.8s infinite;
  z-index: -1;
  top: 0;
  left: 0;
}

@keyframes ping {
  0% {
    transform: scale(0.9);
    opacity: 0.9;
  }

  70% {
    transform: scale(1.6);
    opacity: 0;
  }

  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

.contact-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 1200;
  align-items: center;
  justify-content: center;
  font-family: inherit;
}

.contact-modal.show {
  display: flex;
}

.contact-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(3px);
}

.contact-modal__panel {
  position: relative;
  width: min(1100px, 94%);
  max-height: 86vh;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  z-index: 10;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.contact-modal__close {
  position: absolute;
  right: 12px;
  top: 8px;
  border: 0;
  background: transparent;
  font-size: 30px;
  color: #333;
  cursor: pointer;
}

.contact-modal__content {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 0;
  height: 100%;
  min-height: 420px;
}

.contact-modal__map {
  min-height: 420px;
  height: 100%;
}

.contact-modal__info {
  padding: 22px;
  background: linear-gradient(180deg, #fff, #fbfbfb);
  border-left: 1px solid rgba(0, 0, 0, 0.04);
}

.contact-modal__info h3 {
  color: var(--red);
  margin-top: 6px;
  font-size: 20px;
}

.contact-modal__info p {
  margin: 10px 0;
  color: #333;
  font-size: 15px;
}

.contact-modal__actions {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.contact-modal__actions .btn-ghost {
  color: --var(red);
}

.contact-modal__actions .btn-primary {
  color: #f9f9f9;
}

.contact-modal__info a {
  color: #333;
  text-decoration: none;
  font-weight: 600;
}

@media (max-width: 880px) {
  .contact-modal__content {
    grid-template-columns: 1fr;
  }

  .contact-modal__info {
    border-left: none;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
  }

  .contact-modal__map {
    min-height: 300px;
  }

  .contact-modal__panel {
    width: min(980px, 96%);
  }
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .about {
    grid-template-columns: 1fr;
  }

  .contact {
    grid-template-columns: 1fr;
  }

  header .nav {
    padding: 12px 0;
  }

  .hero h2 {
    font-size: 34px;
  }
}

@media (max-width: 560px) {
  .logo {
    width: 44px;
    height: 44px;
    font-size: 16px;
  }

  .hero {
    min-height: 520px;
  }

  .hero h2 {
    font-size: 28px;
  }
}

/* ===========================
   BIG POPUP GREEN HILL
   =========================== */
.gh-popup {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 3000;
}

.gh-popup.show {
  display: flex;
}

.gh-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(3px);
}

/* PANEL */
.gh-popup__panel {
  position: relative;
  width: 80%;
  height: 80%;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  animation: ghZoom 0.35s ease-out;
  display: flex;
  flex-direction: column;
}

@keyframes ghZoom {
  0% {
    transform: scale(0.85);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* CLOSE BUTTON */
.gh-popup__close {
  position: absolute;
  right: 18px;
  top: 10px;
  font-size: 38px;
  background: transparent;
  color: #333;
  border: none;
  cursor: pointer;
  z-index: 10;
}

/* CONTENT GRID */
.gh-popup__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 100%;
}

/* IMAGE */
.gh-popup__image {
  position: relative;
  height: 100%;
  width: 100%;
  background-image: url("img/9.jpg"); /* путь к твоему рендеру */
  background-size: auto 100%; /* ВАЖНО: высота 100%, ширина авто */
  background-repeat: no-repeat;
  background-position: left center;
  animation: pan 18s linear infinite alternate;
}

.gh-popup__image img {
  height: 100%; /* <– важно */
  width: auto; /* <– важно */
  max-height: 100%; /* <– ограничиваем по высоте контейнера */
  object-fit: contain; /* <– НЕ обрезает, сохраняет пропорции */
  display: block;

  /* анимация */
  animation: pan 40s linear infinite alternate;
  will-change: transform;
}
@keyframes pan {
  0% {
    background-position: left center;
  }
  100% {
    background-position: right center;
  }
}

/* INFO BLOCK */
.gh-popup__info {
  padding: 30px;
  display: flex;
  flex-direction: column;
}

.gh-popup__info h2 {
  font-size: 32px;
  margin-bottom: 12px;
}

.gh-popup__info h2 span {
  color: var(--red);
}

.gh-popup__info p {
  font-size: 17px;
  margin-bottom: 22px;
  line-height: 1.4;
  color: #222;
}

/* MINI MAP */
.gh-popup__map {
  width: 100%;
  height: 200px;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 20px;
}

/* BUTTON */
.gh-popup__btn {
  display: inline-block;
  text-decoration: none;
  background: var(--red);
  color: white;
  font-size: 18px;
  padding: 14px 20px;
  border-radius: 8px;
  text-align: center;
  transition: 0.25s;
  margin-top: auto;
}

.gh-popup__btn:hover {
  background: #b10000;
}

/* MOBILE */
@media (max-width: 900px) {
  .gh-popup {
    padding: 20px; /* 🔥 создаёт воздух вокруг */
    align-items: center;
  }

  .gh-popup__panel {
    width: 100%;
    max-width: 500px;
    height: auto;
    max-height: 90vh;

    border-radius: 18px; /* полноценные углы */
    overflow-y: auto;
  }

  .gh-popup__content {
    display: flex;
    flex-direction: column;
  }

  .gh-popup__image {
    height: 200px;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
  }

  .gh-popup__info {
    padding: 20px;
  }

  .gh-popup__info h2 {
    font-size: 22px;
  }

  .gh-popup__info p {
    font-size: 15px;
  }

  .gh-popup__map {
    height: 180px;
  }

  .gh-popup__btn {
    width: 100%;
    padding: 16px;
    font-size: 16px;
  }
}
@media (max-width: 480px) {
  .gh-popup {
    padding: 16px;
  }

  .gh-popup__image {
    height: 160px;
  }

  .gh-popup__map {
    height: 140px;
  }

  .gh-popup__info h2 {
    font-size: 20px;
  }

  .gh-popup__info p {
    font-size: 14px;
  }
}
.form-wrapper {
  position: relative; /* 🔴 ОБЯЗАТЕЛЬНО */
}

.thanks-message {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  background: #fff;
  padding: 40px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

/* ===== Language Floating Button ===== */

.lang-fab {
  position: fixed;
  right: 40px;
  top: 20px;
  z-index: 200;
}

.lang-main {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  background: #a10000;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}
.lang-btn {
  display: flex;
  align-items: center;
  justify-content: center;
}
.lang-main:hover {
  transform: scale(1.1);
}

.lang-options {
  position: absolute;
  top: 60px; /* открывается вниз */
  right: 0; /* выравнивание по правому краю */
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: 0.3s ease;
}

.lang-options a {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  background: #a10000;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
  transition: 0.3s ease;
}

.lang-options a:hover {
  transform: scale(1.1);
}

.lang-fab.open .lang-options {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* ===== MOBILE FIX BASE ===== */

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ===== BURGER BUTTON ===== */

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
  margin-left: auto;
}

.burger span {
  width: 25px;
  height: 3px;
  background: #000;
  transition: 0.3s;
}

@media (max-width: 768px) {
  .burger {
    display: flex;
  }

  @keyframes fadeScale {
    from {
      transform: scale(0.9);
      opacity: 0;
    }
    to {
      transform: scale(1);
      opacity: 1;
    }
  }

  .contact {
    margin: 40px 0;
  }
}

@media (max-width: 1030px) {
  .hero {
    height: auto;
    padding: 80px 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero h2 {
    font-size: 32px;
    text-align: center;
  }

  .hero p {
    text-align: center;
    margin: 0 auto;
  }

  .hero-actions {
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media (max-width: 460px) {
  .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .contact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .contact {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-form,
  .contact .card {
    padding: 18px;
  }
}

@media (max-width: 420px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
}

.seo-block {
  padding: 80px 0;
  background: #f9f9f9;
}

.seo-block h2 {
  margin-bottom: 20px;
  color: var(--red);
}

.seo-block p {
  margin-bottom: 16px;
  line-height: 1.6;
  color: #444;
}

@media (max-width: 768px) {
  .lang-fab {
    display: none;
  }
}

.nav-lang {
  position: relative;
  display: inline-block;
}

.lang-options-burger {
  position: absolute;
  top: 65px; /* под кнопкой */

  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: 0.3s ease;
}

.lang-options-burger button {
  width: 100%;
  padding: 10px;
  border: none;
  background: #a10000;
  color: #fff;
  cursor: pointer;
  border-radius: 5px;
  font-weight: 600;
}

.nav-lang.open .lang-options-burger {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}
.lang-options-burger button {
  padding-top: 20px;
}

@media (max-width: 768px) {
  .nav-lang {
    display: inline-block; /* важный момент */
    position: relative;
    max-width: 50px;
  }

  .lang-options-burger button {
    padding: 8px 12px;
    border-radius: 5px;
    border: none;
    background: #a10000;
    color: #fff;
    cursor: pointer;
    font-weight: 600;
  }

  .lang-options-burger button:hover {
    transform: scale(1.1);
  }
}

@media (min-width: 769px) {
  .nav-lang {
    display: none;
  }
}

body.menu-open {
  overflow: hidden;
}

@media (max-width: 768px) {
  /* Убираем desktop flex */
  nav ul {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;

    background: rgba(0, 0, 0, 0.75);

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    gap: 25px;

    opacity: 0;
    pointer-events: none;
    transition: 0.3s ease;

    z-index: 9999;
  }

  .nav-menu.active {
    opacity: 1;
    pointer-events: auto;
  }

  .nav-menu li {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .nav-menu li a,
  .nav-menu li button {
    width: 100%;
    max-width: 320px;
    padding: 16px;
    border-radius: 14px;
    background: white;
    text-align: center;
    font-size: 18px;
  }

  .nav-menu .btn-primary {
    background: var(--red);
    color: white;
  }

  .lang-main-burger {
    width: 60px !important;
    max-width: 320px;
    padding: 16px;
    font-size: 18px;
    background: var(--red) !important;
    color: white;
    border-radius: 14px;
    border: none;
    padding-right: 10px;
  }
  .nav-menu .lang-main-burger,
  .nav-menu .lang-options-burger button {
    background: var(--red) !important;
    color: white;
  }
}

@media (max-width: 768px) {
  header {
    padding-left: 16px;
    padding-right: 16px;
  }
}
@media (max-width: 900px) {
  .num {
    opacity: 0;
    height: 0;
    overflow: hidden;
  }
}
