:root {
  --font-family-regular: "Inter Regular";
  --font-family-light: "Inter Light";
  --font-family-involve: "Involve Bold";
  --font-family-magistral: "Magistral";
  --font-size-mobile: clamp(1.875rem, 0.5506rem + 5.6509vw, 5.375rem);
  --accent-color: #ff6b3a;
  --heading-color: #1a3254;
  --border-radius: 12px;
  --border-color: #c4c3c3;
  --border-size: 2px;

  --accent-hover: #ff8c5a;
  --accent-focus: rgba(255, 107, 58, 0.25);
  --bg: #f4f6f8;
  --card-bg: #ffffff;
  --text: #1f2937;
  --text-muted: #6b7280;
  --border: #e5e7eb;
  --radius: 10px;
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.06);

  --bg-table: #ffffff;
  --bg-header: #f8fafc;
  --bg-label: #f1f5f9;
  --border: #e2e8f0;
  --text-main: #0f172a;
  --text-label: #334155;
  --text-header: #1e293b;
  --link: #2563eb;
  --link-hover: #1d4ed8;
  --hover: #f8fafc;
  --radius: 10px;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);

  --slide-gap: 16px;
  --btn-size: 44px;
  --transition: 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 150px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-family-regular), sans-serif;
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

a {
  text-decoration: none;
  color: inherit;
  outline: none;
}

h1 {
  font-size: var(--font-size-mobile);
  font-family: var(--font-family-magistral), sans-serif;
  color: #fff;
}

h2 {
  font-size: 3vw;
  font-family: var(--font-family-magistral), sans-serif;
  color: var(--heading-color);
}

h3 {
  font-family: var(--font-family-magistral), sans-serif;
  color: var(--heading-color);
}

.container {
  max-width: 1366px;
  margin: 0 auto;
  padding: 0 15px;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
}

.header__logo-image {
  max-width: 170px;
}

.header__contacts-phone {
  display: flex;
  gap: 10px;
  align-items: center;
  font-family: var(--font-family-involve), sans-serif;
  font-size: 18px;
}

.header__contacts {
  display: flex;
  gap: 20px;
}

.header__contacts-address {
  display: flex;
  gap: 20px;
}

.contact-icon {
  vertical-align: middle;
  margin-right: 8px;
  transition: transform 0.2s;
}

.header__contacts-address a,
.header__contacts-phone a {
  display: inline-flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.header__contacts-address a:hover,
.header__contacts-phone a:hover {
  color: var(--accent-color);
}

.header__contacts-address a:hover .contact-icon,
.header__contacts-phone a:hover .contact-icon {
  transform: scale(1.1);
}

.address {
  font-family: var(--font-family-light), sans-serif;
}

.header__contacts-social {
  display: flex;
  gap: 10px;
  align-items: center;
}

.header__contacts-social .social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--card-bg);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--text);
  transition:
    transform 0.3s,
    box-shadow 0.3s,
    background 0.3s;
}

.header__contacts-social .social-link:hover {
  background: linear-gradient(135deg, #ff6b3a 0%, #ff8c5a 100%);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 58, 0.3);
}

.header__contacts-social .social-link svg,
.header__contacts-social .social-link img {
  width: 20px;
  height: 20px;
}

.header__nav-list {
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}

.header__nav {
  position: relative;
}

.header-wrapper {
  position: relative;
  z-index: 1000;
}

.header-wrapper.scrolled {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.header-wrapper.scrolled .header__nav {
  padding: 12px 0;
}

.nav-list-item {
  padding: 15px 10px;
  border-radius: var(--border-radius);
  border: solid var(--accent-color) var(--border-size);
  min-width: 160px;
  cursor: pointer;
  text-align: center;
}

.nav-list-item:hover {
  border: none;
  background: linear-gradient(135deg, #ff6b3a 0%, #ff8c5a 100%);
  color: #fff;
  transition: background 0.3s;
  box-shadow: 0 4px 12px rgba(255, 107, 58, 0.3);
}

.hero-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  padding: 60px 40px;
  border-radius: 20px;
  background:
    linear-gradient(
      135deg,
      rgba(26, 50, 84, 0.85) 0%,
      rgba(26, 50, 84, 0.7) 100%
    ),
    url("../images/image.jpeg") center/cover no-repeat;
  min-height: 600px;
}

.hero-section__content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  gap: 40px;
}

.hero-section__text {
  flex: 1;
  max-width: 50%;
}

.hero-section__title {
  margin-bottom: 40px;
}

.hero-section__title h1 {
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-slogan-one {
  color: #fff;
  font-size: 1.5rem;
  margin-top: 10px;
  font-family: var(--font-family-magistral);
}

.hero-slogan {
  color: #fff;
  font-size: 1.2rem;
  margin-top: 16px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-section__title {
  margin-bottom: 40px;
}

.hero-section__title h1 {
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-section__feedback {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.hero-section__title {
  font-family: var(--font-family-involve), sans-serif;
  font-size: var(--font-size-mobile);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-section__feedback {
  display: flex;
  justify-content: space-between;
}

.hero-section__image img {
  max-width: 100%;
  height: auto;
}

.feedback-form {
  width: 100%;
  max-width: 440px;
  max-height: fit-content;
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
}

.form-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--text);
  font-family: var(--font-family-involve), sans-serif;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  border: 2px solid var(--border);
  border-radius: 8px;
  background: #fafafa;
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    background 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 4px var(--accent-focus);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.submit-btn {
  width: 100%;
  padding: 0.85rem;
  margin-top: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #ff6b3a 0%, #ff8c5a 100%);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  box-shadow: 0 4px 12px rgba(255, 107, 58, 0.3);
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 107, 58, 0.4);
}

.submit-btn:active {
  transform: scale(0.98);
}

/* Адаптив для очень маленьких экранов */
@media (max-width: 480px) {
  .feedback-form {
    padding: 1.5rem;
  }
  .form-title {
    font-size: 1.35rem;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 40px 20px;
    min-height: auto;
  }

  .hero-section__content {
    flex-direction: column;
    gap: 30px;
  }

  .hero-section__text {
    max-width: 100%;
  }

  .hero-section__title {
    margin-bottom: 30px;
  }

  .hero-section__title h1 {
    font-size: 2rem;
  }

  .hero-slogan {
    font-size: 1rem;
  }

  .feedback-form {
    max-width: 100%;
  }
}

/* Секция "О нас" */
.section-about {
  margin-top: 50px;
  padding: 50px 0;
}

.section-about-title {
  text-align: center;
  margin-bottom: 40px;
  font-family: var(--font-family-magistral), sans-serif;
}

.section-about-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.about-text {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 30px;
}

.about-block {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 25px;
  border-left: 4px solid var(--accent-color);
  border-right: 1px solid rgba(255, 107, 58, 0.1);
}

.about-block h3 {
  font-size: 20px;
  color: var(--accent-color);
  margin-bottom: 15px;
  font-family: var(--font-family-magistral), sans-serif;
}

.about-block p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
}

/* Технические характеристики */
.tech-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 20px;
}

.tech-spec-group h4 {
  font-size: 16px;
  color: var(--heading-color);
  margin-bottom: 12px;
  font-weight: 600;
}

.spec-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.spec-list li {
  padding: 8px 0;
  padding-left: 24px;
  position: relative;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
}

.spec-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 8px;
  color: var(--accent-color);
  font-weight: bold;
  font-size: 16px;
}

/* Список преимуществ */
.benefits-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.benefits-list li {
  padding: 12px 0;
  padding-left: 30px;
  position: relative;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.benefits-list li:last-child {
  border-bottom: none;
}

.benefits-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 12px;
  font-size: 16px;
  color: var(--accent-color);
  font-weight: bold;
}

/* Список грузов */
.cargo-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.cargo-list li {
  padding: 10px 15px;
  background: rgba(255, 107, 58, 0.05);
  border-radius: 8px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
  position: relative;
  padding-left: 30px;
}

.cargo-list li::before {
  content: "✓";
  position: absolute;
  left: 10px;
  top: 10px;
  color: var(--accent-color);
  font-size: 16px;
  font-weight: bold;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  line-height: 1.5;
}

.company-table thead {
  background: var(--bg-header);
}

.company-table th,
.company-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  text-align: left;
}

.company-table th {
  font-weight: 600;
  color: var(--text-header);
}

.company-table tbody th {
  width: 35%;
  background: var(--bg-label);
  color: var(--text-label);
  font-weight: 500;
  white-space: nowrap;
}

.company-table tbody td {
  color: var(--text-main);
}

.company-table tr:last-child th,
.company-table tr:last-child td {
  border-bottom: none;
}

.company-table tbody tr:hover {
  background: var(--hover);
  transition: background 0.2s ease;
}

.company-table a {
  color: var(--link);
  text-decoration: none;
  transition: color 0.2s;
}

.company-table a:hover {
  color: var(--link-hover);
  text-decoration: underline;
}

.contacts {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

@media (max-width: 640px) {
  .company-table th,
  .company-table td {
    padding: 10px 12px;
    font-size: 0.875rem;
  }
  .company-table tbody th {
    white-space: normal;
  }
}

.about-cta {
  background: linear-gradient(135deg, #ff6b3a 0%, #ff8c5a 100%);
  padding: 30px;
  border-radius: var(--radius);
  color: #fff;
  text-align: center;
  box-shadow: 0 8px 24px rgba(255, 107, 58, 0.3);
}

.about-cta h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: #fff;
  font-family: var(--font-family-magistral), sans-serif;
}

.about-cta h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: #fff;
  font-family: var(--font-family-involve), sans-serif;
}

.about-cta p {
  font-size: 16px;
  line-height: 1.6;
  color: #fff;
}

/* Адаптив для секции "О нас" */
@media (max-width: 768px) {
  .tech-specs {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .cargo-list {
    grid-template-columns: 1fr;
  }
}

.section-services__tilte {
  margin-bottom: 20px;
  font-family: var(--font-family-magistral), sans-serif;
  color: var(--heading-color);
}

.section-uslugi-title {
  margin-top: 20px;
  margin-bottom: 20px;
  font-family: var(--font-family-magistral), sans-serif;
  color: var(--heading-color);
}

.section-how-it-works-title {
  text-align: center;
  margin-bottom: 50px;
  font-family: var(--font-family-magistral), sans-serif;
  color: var(--heading-color);
}

.section-about-title {
  text-align: center;
  margin-bottom: 40px;
  font-family: var(--font-family-magistral), sans-serif;
  color: var(--heading-color);
}

.form-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--heading-color);
  font-family: var(--font-family-magistral), sans-serif;
}

.about-cta h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: var(--heading-color);
  font-family: var(--font-family-magistral), sans-serif;
}

.about-block h3 {
  font-size: 20px;
  color: var(--heading-color);
  margin-bottom: 15px;
  font-family: var(--font-family-magistral), sans-serif;
}

.contact-item h3 {
  font-size: 16px;
  color: var(--heading-color);
  font-weight: 500;
  font-family: var(--font-family-magistral), sans-serif;
}

.section-services-item h3 {
  margin-bottom: 15px;
  font-family: var(--font-family-magistral), sans-serif;
  color: var(--heading-color);
}

.section-uslugi-item h3 {
  margin-bottom: 20px;
  font-family: var(--font-family-magistral), sans-serif;
  color: var(--heading-color);
}

.step-text {
  margin-top: 20px;
  font-size: 16px;
  color: var(--heading-color);
  font-family: var(--font-family-magistral), sans-serif;
}

.section-services-wrapper,
.section-uslugi-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.section-services-item {
  background-color: rgba(244, 246, 250, 1);
  padding: 32px;
  border-radius: var(--border-radius);
  align-items: center;
  border: 2px solid var(--accent-color);
}

.section-services-item h3 {
  margin-bottom: 15px;
  font-family: var(--font-family-involve), sans-serif;
}

.section-services-item svg {
  margin-bottom: 20px;
  fill: var(--accent-color);
  transition: transform 0.3s;
}

.section-services-item:hover svg {
  transform: scale(1.1);
}

.stats-container {
  display: flex;
  gap: 30px;
  border-radius: 15px;
}

.stat-card {
  position: relative;
  text-align: center;
  padding: 10px;
}

.content {
  padding: 7px 6px; /* Отступы внутри рамки */
}

.stat-value {
  font-size: 18px;
  font-weight: bold;
  color: #2c3e50;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 10px;
  color: #2c3e50;
}

/* Стили уголков */
.corner {
  position: absolute;
  width: 12px;
  height: 12px;
  border-color: #8b9dc3; /* Цвет уголков */
  border-style: dashed;
  border-width: 0;
}

.top-left {
  top: 0;
  left: 0;
  border-top-width: 2px;
  border-left-width: 2px;
}

.top-right {
  top: 0;
  right: 0;
  border-top-width: 2px;
  border-right-width: 2px;
}

.bottom-left {
  bottom: 0;
  left: 0;
  border-bottom-width: 2px;
  border-left-width: 2px;
}

.bottom-right {
  bottom: 0;
  right: 0;
  border-bottom-width: 2px;
  border-right-width: 2px;
}

.section-uslugi {
  padding: 20px 0;
  background-color: var(--accent-color);
}

.section-uslugi-item {
  justify-self: center;
  align-self: stretch;
  background-color: #fff;
  box-shadow: 8px 9px 12px -5px rgba(34, 60, 80, 0.6);
  padding: 20px;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.section-uslugi-title {
  margin-top: 20px;
  margin-bottom: 20px;
  font-family: var(--font-family-magistral), sans-serif;
  color: #fff;
}

.section-uslugi-item h3 {
  margin-bottom: 20px;
  font-family: var(--font-family-magistral), sans-serif;
}

.section-uslugi-item img {
  max-width: 336px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 10px;
  align-self: center;
  display: block;
}

/* Секция "Как мы работаем" */
.section-how-it-works {
  margin-top: 50px;
  padding: 50px 0;
}

.section-how-it-works-title {
  text-align: center;
  margin-bottom: 50px;
  font-family: var(--font-family-involve), sans-serif;
}

.section-how-it-works-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  padding: 0 20px;
}

.section-how-it-works-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  flex: 1;
}

.step-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff6b3a 0%, #ff8c5a 100%);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  font-weight: bold;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 12px rgba(255, 107, 58, 0.3);
}

.section-how-it-works-item::before {
  content: "";
  position: absolute;
  top: 30px;
  left: calc(50% + 30px);
  width: calc(100% - 60px);
  height: 3px;
  background: linear-gradient(90deg, #ff6b3a 0%, #ff8c5a 100%);
  z-index: 0;
  border-radius: 2px;
}

.section-how-it-works-item::before {
  content: "";
  position: absolute;
  top: 30px;
  left: calc(50% + 30px);
  width: calc(100% - 60px);
  height: 2px;
  background-color: var(--border-color);
  z-index: 0;
}

.section-how-it-works-item:last-child::before {
  display: none;
}

.step-text {
  margin-top: 20px;
  font-size: 16px;
  color: var(--text);
  font-family: var(--font-family-involve), sans-serif;
}

/* Адаптив для мобильных */
@media (max-width: 992px) {
  .section-how-it-works-wrapper {
    flex-direction: column;
    gap: 30px;
  }

  .section-how-it-works-item::before {
    display: none;
  }

  .step-circle {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
}

/* Секция "Контакты" */
.section-contacts {
  padding: 60px 0;
  background-color: var(--bg);
  width: 100%;
}

.section-contacts-title {
  margin-bottom: 40px;
  font-family: var(--font-family-magistral), sans-serif;
}

.section-contacts-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.section-contacts-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-item h3 {
  font-size: 16px;
  color: var(--text-muted);
  font-weight: 500;
  font-family: var(--font-family-magistral), sans-serif;
}

.contact-item p {
  font-size: 18px;
  color: var(--text);
}

.contact-item a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s;
}

.contact-item a:hover {
  color: var(--accent-color);
  font-weight: 600;
}

.contact-social {
  display: flex;
  gap: 16px;
  margin-top: 10px;
}

.social-link {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--card-bg);
  box-shadow: var(--shadow);
  color: var(--text);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.social-link:hover {
  background: linear-gradient(135deg, #ff6b3a 0%, #ff8c5a 100%);
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(255, 107, 58, 0.4);
}

.section-contacts-map {
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* Адаптив для мобильных */
@media (max-width: 768px) {
  .section-contacts-wrapper {
    grid-template-columns: 1fr;
  }

  .section-contacts-map {
    height: 300px;
  }
}

/* Кнопка Scroll Top */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff6b3a 0%, #ff8c5a 100%);
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  box-shadow: 0 4px 12px rgba(255, 107, 58, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease,
    transform 0.3s ease;
  z-index: 1001;
}

.scroll-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(255, 107, 58, 0.4);
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top svg {
  width: 24px;
  height: 24px;
}

/* Оправка писем */
.form-message {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  font-size: 0.95rem;
  display: none;
}
.form-message.success {
  display: block;
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  animation: fadeIn 0.3s ease;
}
.form-message.error {
  display: block;
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== Мобильное меню (гамбургер) ===== */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-left: 10px;
  z-index: 1003;
  pointer-events: auto;
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--accent-color);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: translateY(9.5px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: translateY(-9.5px) rotate(-45deg);
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 300px;
  height: 100vh;
  background: #fff;
  box-shadow: -5px 0 20px rgba(0, 0, 0, 0.15);
  z-index: 1002;
  transition: right 0.3s ease;
  overflow-y: auto;
  pointer-events: auto;
}

.mobile-menu-overlay.active {
  right: 0;
}

.mobile-menu {
  padding: 80px 20px 40px;
  height: 100%;
}

.mobile-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-menu-item {
  margin-bottom: 15px;
}

.mobile-menu-link {
  display: block;
  padding: 15px 20px;
  font-size: 16px;
  font-family: var(--font-family-involve), sans-serif;
  color: var(--text);
  text-decoration: none;
  border-radius: var(--border-radius);
  border: solid var(--accent-color) var(--border-size);
  text-align: center;
  transition: all 0.3s ease;
}

.mobile-menu-link:hover {
  background: linear-gradient(135deg, #ff6b3a 0%, #ff8c5a 100%);
  color: #fff;
  border-color: transparent;
}

/* Затемнение фона при открытом меню */
.menu-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
}

.menu-backdrop.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-menu-link {
  pointer-events: auto;
}
