/* ========== CSS ПЕРЕМЕННЫЕ ========== */
:root {
  --primary-color: #dc2626;        /* Основной красный */
  --primary-dark: #b91c1c;         /* Темнее красный */
  --primary-light: #ef4444;        /* Светлее красный */
  --secondary-color: #f87171;      /* Акцентный розовый-красный */
  --accent-color: #fb7185;         /* Акцентный цвет */
  --text-dark: #1a1a1a;            /* Основной текст */
  --text-gray: #6b7280;            /* Второстепенный текст */
  --text-light: #9ca3af;           /* Светлый текст */
  --bg-light: #fef2f2;             /* Светлый красный фон */
  --bg-white: #ffffff;             /* Белый */
  --bg-dark: #111827;             /* Темный фон */
  --border-color: #fecaca;         /* Граница */
  --success: #059669;              /* Успех */
  --error: #dc2626;                /* Ошибка */
  --shadow: rgba(220, 38, 38, 0.1); /* Тени в красных тонах */
  --gradient-primary: linear-gradient(135deg, #dc2626 0%, #ef4444 50%, #f87171 100%);
  --gradient-secondary: linear-gradient(135deg, #b91c1c 0%, #dc2626 100%);
}

/* ========== ОБЩИЕ СТИЛИ ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-white);
  padding-top: 80px; /* Для фиксированной шапки */
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3rem;
  font-weight: 700;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 2rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-color);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-gray);
  font-size: 1.1rem;
  margin-top: 10px;
}

/* ========== КНОПКИ ========== */
.btn {
  display: inline-block;
  padding: 16px 36px;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 20px rgba(220, 38, 38, 0.3);
  border: 1px solid rgba(255,255,255,0.1);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 30px rgba(220, 38, 38, 0.4);
  color: white;
}

.btn-secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: var(--gradient-secondary);
  color: white;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.3);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: white;
  transform: translateY(-2px);
}

/* ========== ХЕДЕР ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--bg-white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  transition: all 0.3s ease;
}

.header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
}

.header__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 15px;
  max-width: 1200px;
  margin: 0 auto;
}

.header__logo {
  display: flex;
  flex-direction: column;
}

.header__logo-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1;
}

.header__logo-subtitle {
  font-size: 11px;
  color: var(--text-gray);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 2px;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.header__menu {
  display: flex;
  list-style: none;
  gap: 25px;
  margin: 0;
}

.header__menu-item {
  position: relative;
}

.header__menu-link {
  color: var(--text-dark);
  font-weight: 500;
  padding: 5px 0;
  position: relative;
}

.header__menu-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

.header__menu-link:hover::after,
.header__menu-link.active::after {
  width: 100%;
}

.header__social {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-right: 20px;
}

.header__social-link {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
}

.header__social-link:hover {
  background: var(--gradient-primary);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(220, 38, 38, 0.3);
}

.header__social-link i {
  font-size: 16px;
}

.header__phone {
  color: white;
  font-weight: 600;
  font-size: 16px;
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 16px;
  border-radius: 8px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  transition: all 0.3s ease;
}

.header__phone:hover {
  background: var(--gradient-primary);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(220, 38, 38, 0.3);
  color: white;
}

.header__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
}

.header__burger span {
  width: 25px;
  height: 3px;
  background: var(--text-dark);
  transition: all 0.3s ease;
}

/* ========== БЛОК HERO ========== */
.hero {
  background: var(--gradient-primary);
  color: white;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background-size: 400% 400%;
  animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.08)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(255,255,255,0.05) 0%, transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 3rem;
  margin-bottom: 20px;
  color: white;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0.95;
  line-height: 1.4;
}

.hero-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  font-weight: 500;
}

.hero-feature-icon {
  color: #fbbf24;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.hero-form-container {
  position: relative;
  z-index: 1;
}

.hero-form-wrapper {
  max-width: 400px;
  margin: 0 auto;
}

.hero-form {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.hero-form-title {
  text-align: center;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
  font-weight: 600;
}

/* Адаптивность для hero блока */
@media (max-width: 992px) {
  .hero-content {
    text-align: center;
    margin-bottom: 3rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-features {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 120px 0;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-features {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .hero-form {
    padding: 1.5rem;
  }

  .hero-form-title {
    font-size: 1.1rem;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .hero-form {
    padding: 1rem;
  }
}
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-dark);
  font-weight: 500;
}

.form-input,
.form-select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-size: 16px;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.3s ease;
}

.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: var(--primary-color);
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 15px;
}

.form-checkbox input {
  margin-top: 4px;
}

.form-checkbox label {
  font-size: 14px;
  color: var(--text-gray);
}

.form-error {
  color: var(--error);
  font-size: 14px;
  margin-top: 5px;
  display: none;
}

.form-error.active {
  display: block;
}

/* ========== БЛОК УСЛУГИ ========== */
.services {
  background: var(--bg-light);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.service-card {
  background: white;
  padding: 0;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(220, 38, 38, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(220, 38, 38, 0.1);
}

.service-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 60px rgba(220, 38, 38, 0.2);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card__image {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--primary-light), var(--secondary-color));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.service-card__image::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(255,255,255,0.1), transparent);
  animation: rotate 4s linear infinite;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.service-card__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: white;
  position: relative;
  z-index: 1;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.3);
}

.service-card__content {
  padding: 40px 30px 30px;
}

.service-card__title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--text-dark);
  font-weight: 700;
}

.service-card__description {
  color: var(--text-gray);
  margin-bottom: 25px;
  line-height: 1.6;
}

.service-card__price {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 25px;
  display: block;
}

.service-card__features {
  list-style: none;
  padding: 0;
  margin-bottom: 25px;
}

.service-card__features li {
  padding: 5px 0;
  color: var(--text-gray);
  font-size: 14px;
  position: relative;
  padding-left: 20px;
}

.service-card__features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

/* ========== БЛОК ПРЕИМУЩЕСТВА ========== */
.advantages {
  background: white;
}

.advantages__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.advantage-item {
  text-align: center;
}

.advantage-item__icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: white;
}

.advantage-item__title {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.advantage-item__text {
  color: var(--text-gray);
  line-height: 1.6;
}

/* ========== БЛОК ПОРТФОЛИО ========== */
.portfolio {
  background: var(--bg-light);
}

.portfolio__filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 10px 24px;
  background: white;
  border: 2px solid var(--border-color);
  border-radius: 25px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}

.portfolio-item {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px var(--shadow);
  transition: all 0.3s ease;
  cursor: pointer;
}

.portfolio-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.portfolio-item__image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  background: var(--bg-light);
}

.portfolio-item__content {
  padding: 20px;
}

.portfolio-item__category {
  display: inline-block;
  padding: 4px 12px;
  background: var(--primary-light);
  color: white;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 10px;
}

.portfolio-item__title {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.portfolio-item__link {
  color: var(--primary-color);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* ========== БЛОК ПРОЦЕСС РАБОТЫ ========== */
.process {
  background: white;
}

.process__timeline {
  max-width: 800px;
  margin: 50px auto 0;
  position: relative;
}

.process__timeline::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border-color);
}

.process-item {
  display: flex;
  gap: 30px;
  margin-bottom: 40px;
  position: relative;
}

.process-item__number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  font-weight: 700;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.process-item__content {
  flex: 1;
  padding-top: 10px;
}

.process-item__title {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.process-item__text {
  color: var(--text-gray);
  line-height: 1.6;
}

/* ========== БЛОК ЦЕНЫ ========== */
.prices {
  background: var(--bg-light);
}

.prices__table {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px var(--shadow);
  margin-top: 50px;
}

.prices-table {
  width: 100%;
  border-collapse: collapse;
}

.prices-table th {
  background: var(--primary-color);
  color: white;
  padding: 20px;
  text-align: left;
  font-weight: 600;
}

.prices-table td {
  padding: 20px;
  border-bottom: 1px solid var(--border-color);
}

.prices-table tr:last-child td {
  border-bottom: none;
}

.prices-table__price {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-color);
}

/* ========== БЛОК ОТЗЫВЫ ========== */
.reviews {
  background: white;
}

.reviews__slider {
  margin-top: 50px;
  position: relative;
}

.review-card {
  background: var(--bg-light);
  padding: 40px;
  border-radius: 12px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.review-card__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 20px;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: white;
}

.review-card__stars {
  color: #ffc107;
  font-size: 20px;
  margin-bottom: 20px;
}

.review-card__text {
  font-style: italic;
  color: var(--text-gray);
  margin-bottom: 20px;
  line-height: 1.8;
}

.review-card__author {
  font-weight: 600;
  color: var(--text-dark);
}

.review-card__company {
  color: var(--text-gray);
  font-size: 14px;
}

/* ========== БЛОК FAQ ========== */
.faq {
  background: var(--bg-light);
}

.faq__list {
  max-width: 800px;
  margin: 50px auto 0;
}

.faq-item {
  background: white;
  border-radius: 12px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px var(--shadow);
}

.faq-item__header {
  padding: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease;
}

.faq-item__header:hover {
  background: var(--bg-light);
}

.faq-item__question {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-dark);
}

.faq-item__icon {
  font-size: 24px;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-item__icon {
  transform: rotate(45deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item__answer-content {
  padding: 0 20px 20px;
  color: var(--text-gray);
  line-height: 1.6;
}

.faq-item.active .faq-item__answer {
  max-height: 500px;
}

/* ========== БЛОК КОНТАКТНАЯ ФОРМА ========== */
.contact-form {
  background: white;
}

.contact-form__wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-top: 50px;
}

.contact-form__form {
  background: var(--bg-light);
  padding: 40px;
  border-radius: 12px;
}

.contact-form__info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.contact-info-item__icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-info-item__content h4 {
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.contact-info-item__content p {
  color: var(--text-gray);
  margin: 0;
}

/* ========== ФУТЕР ========== */
.footer {
  background: var(--bg-dark);
  color: white;
  padding: 80px 0 30px;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

.footer__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 50px;
  margin-bottom: 50px;
}

.footer__column h4 {
  color: white;
  margin-bottom: 25px;
  font-size: 1.3rem;
  font-weight: 700;
  position: relative;
}

.footer__column h4::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.footer__column p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer__menu {
  list-style: none;
  padding: 0;
}

.footer__menu-item {
  margin-bottom: 12px;
}

.footer__menu-link {
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
}

.footer__menu-link:hover {
  color: var(--primary-light);
  transform: translateX(5px);
}

.footer__social {
  display: flex;
  gap: 20px;
  margin-top: 25px;
  flex-wrap: wrap;
}

.footer__social-link {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  position: relative;
  overflow: hidden;
}

.footer__social-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  transition: left 0.3s ease;
  z-index: -1;
}

.footer__social-link:hover::before {
  left: 0;
}

.footer__social-link:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 10px 30px rgba(220, 38, 38, 0.3);
}

.footer__social-link i {
  font-size: 20px;
  z-index: 1;
  position: relative;
}

.footer__contact-info {
  margin-top: 25px;
}

.footer__contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.8);
}

.footer__contact-item i {
  color: var(--primary-light);
  font-size: 18px;
  width: 20px;
}

.footer__contact-item a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer__contact-item a:hover {
  color: var(--primary-light);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  position: relative;
}

.footer__bottom::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 1px;
  background: var(--gradient-primary);
}

.footer__copyright {
  margin-bottom: 10px;
}

.footer__links {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.footer__links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer__links a:hover {
  color: var(--primary-light);
}

/* ========== ШАПКА ========== */
.header {
  background: var(--bg-dark);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: all 0.3s ease;
}

.header.scrolled {
  background: rgba(17, 24, 39, 0.95);
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.navbar-brand {
  padding: 0;
}

.logo {
  display: flex;
  flex-direction: column;
}

.logo-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: white;
  line-height: 1;
}

.logo-subtitle {
  font-size: 11px;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 2px;
}

.header-contacts {
  gap: 20px;
}

/* Стикер NEW в меню */
.nav-new-badge {
  background: var(--primary-color);
  color: white;
  font-size: 0.7rem;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 8px;
  margin-left: 4px;
  vertical-align: middle;
  letter-spacing: 0.5px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
  100% {
    opacity: 1;
  }
}

.phone-link {
  color: white !important;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none !important;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.phone-link:hover {
  color: var(--primary-light) !important;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-link {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
}

.social-link:hover {
  background: var(--gradient-primary);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(220, 38, 38, 0.3);
}

.social-link i {
  font-size: 16px;
}

/* ========== ПЛАВАЮЩАЯ КНОПКА СВЯЗИ ========== */
.floating-contact {
  position: fixed;
  bottom: 100px;
  right: 30px;
  z-index: 1050;
}

.floating-btn {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border: none;
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(220, 38, 38, 0.3);
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.floating-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(220, 38, 38, 0.4);
}

.floating-btn.active {
  transform: rotate(45deg);
}

.floating-menu {
  position: absolute;
  bottom: 80px;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.floating-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.floating-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: white;
  border-radius: 25px;
  color: var(--text-dark);
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  min-width: 160px;
}

.floating-item:hover {
  transform: translateX(-5px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.floating-item i {
  font-size: 18px;
  width: 20px;
  color: var(--primary-color);
}

.floating-item:nth-child(1) i { color: #0088cc; } /* Telegram */
.floating-item:nth-child(2) i { color: #25d366; } /* WhatsApp */
.floating-item:nth-child(3) i { color: var(--primary-color); } /* Phone */
.floating-item:nth-child(4) i { color: var(--primary-color); } /* Calendar */

/* ========== КНОПКА НАВЕРХ ========== */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
  transition: all 0.3s ease;
  z-index: 999;
}

.scroll-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
}

.scroll-top.active {
  display: flex;
}

/* ========== БЛОК ГОТОВЫЕ РЕШЕНИЯ ========== */
.ready-solutions__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.solution-card {
  background: white;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #f0f0f0;
}

.solution-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.solution-card__icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 32px;
  margin: 0 auto 20px;
}

.solution-card__title {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.solution-card__description {
  color: var(--text-gray);
  margin-bottom: 20px;
  line-height: 1.5;
}

.solution-card__list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
  text-align: left;
}

.solution-card__list li {
  padding: 5px 0;
  color: var(--text-gray);
  font-size: 0.9rem;
}

.solution-card__list li:before {
  content: "✓";
  color: var(--primary-color);
  margin-right: 10px;
  font-weight: bold;
}

.solution-card__price {
  font-size: 1.4rem;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.benefit-item {
  padding: 20px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  height: 100%;
}

.benefit-icon {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.benefit-item h5 {
  margin-bottom: 10px;
  color: var(--text-dark);
}

.benefit-item p {
  color: var(--text-gray);
  font-size: 0.9rem;
  margin: 0;
}

/* ========== СЛАЙДЕР ПОРТФОЛИО ========== */
.portfolio-slider-container {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
}

.portfolio-slider-container .swiper-wrapper {
  display: flex;
}

.portfolio-slide {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-slide:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.portfolio-slide-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.portfolio-slide-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  padding: 80px 20px 20px;
  color: white;
}

.portfolio-slide-category {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--primary-color);
  color: white;
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: bold;
}

.portfolio-slide-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.3;
}

.portfolio-slide-description {
  font-size: 0.9rem;
  opacity: 0.9;
  line-height: 1.4;
  margin-bottom: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.portfolio-slide-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-light);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.portfolio-slide-link:hover {
  color: white;
  text-decoration: underline;
}

.portfolio-slider-container .swiper-pagination {
  bottom: -40px !important;
}

.portfolio-slider-container .swiper-button-next,
.portfolio-slider-container .swiper-button-prev {
  width: 40px;
  height: 40px;
  margin-top: -20px;
  background: var(--primary-color);
  border-radius: 50%;
  color: white;
  box-shadow: 0 2px 10px rgba(220, 38, 38, 0.3);
  transition: all 0.3s ease;
}

.portfolio-slider-container .swiper-button-next:hover,
.portfolio-slider-container .swiper-button-prev:hover {
  background: var(--primary-dark);
  transform: scale(1.1);
}

.portfolio-slider-container .swiper-button-next::after,
.portfolio-slider-container .swiper-button-prev::after {
  font-size: 16px;
  font-weight: bold;
}

.portfolio-slider-container .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: var(--primary-color);
  opacity: 0.5;
}

.portfolio-slider-container .swiper-pagination-bullet-active {
  opacity: 1;
}

/* ========== МОДАЛЬНОЕ ОКНО ========== */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.active {
  display: flex;
}

.modal__content {
  background: white;
  border-radius: 12px;
  padding: 40px;
  max-width: 500px;
  width: 100%;
  position: relative;
  animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.modal__close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--text-gray);
  transition: color 0.3s ease;
}

.modal__close:hover {
  color: var(--text-dark);
}

.modal__title {
  margin-bottom: 20px;
  text-align: center;
}

.modal__text {
  text-align: center;
  color: var(--text-gray);
  line-height: 1.6;
}

/* ========== АНИМАЦИИ ========== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

