/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.2;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e5e5e5;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.logo-title {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
}

.logo-subtitle {
    font-size: 12px;
    color: #6b7280;
}

.nav {
    display: flex;
    gap: 32px;
}

.nav-link {
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #d97706;
}

/* Header Phone */
.header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #374151;
    font-weight: 600;
    font-size: 16px;
}

.header-phone i {
    color: #d97706;
    font-size: 14px;
}

.header-phone a {
    color: #374151;
    text-decoration: none;
    transition: color 0.3s ease;
}

.header-phone a:hover {
    color: #d97706;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 20px;
    color: #374151;
    cursor: pointer;
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    text-align: center;
    justify-content: center;
}

.btn-primary {
    background: #d97706;
    color: white;
}

.btn-primary:hover {
    background: #b45309;
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid #d97706;
}

.btn-outline:hover {
    background: #d97706;
    color: white;
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-full {
    width: 100%;
}

/* Hero Section */
.hero {
  padding: 120px 0 80px;
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgb(0 0 0 / 85%) 0%, rgb(0 0 0 / 75%) 50%, rgb(0 0 0 / 90%) 100%), url(/images/The-royal-brick.jpg) center / cover no-repeat;
  background-attachment: fixed;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
     background: radial-gradient(circle at 30% 20%, rgb(0 0 0 / 30%) 0%, transparent 50%), radial-gradient(circle at 70% 80%, rgb(0 0 0 / 20%) 0%, transparent 50%), linear-gradient(135deg, rgb(90 90 90 / 40%) 0%, rgb(0 0 0 / 30%) 100%);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text {
  color: white;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #d97706;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  padding: 12px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.hero-title {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-accent {
  color: #fbbf24;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-description {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
  line-height: 1.7;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

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

.stat {
  text-align: center;
  padding: 16px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
  font-size: 32px;
  font-weight: 800;
  color: #fbbf24;
  line-height: 1;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 4px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-image-container {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.hero-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.hero-badge-overlay {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(217, 119, 6, 0.95);
  backdrop-filter: blur(10px);
  color: white;
  padding: 12px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(217, 119, 6, 0.4);
}

.hero-certificate {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.hero-certificate i {
  color: #10b981;
  font-size: 20px;
}

.certificate-title {
  font-weight: 600;
  color: #1f2937;
}

.certificate-subtitle {
  font-size: 14px;
  color: #6b7280;
}

.white {
color: #fff;
}

@media (max-width: 768px) {
  .hero {
    padding: 100px 0 60px;
    min-height: 100vh;
    background-attachment: scroll; /* Отключаем fixed на мобильных */
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-stats {
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
  }

  .stat {
    min-width: 120px;
  }
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-badge {
    display: inline-block;
    background: #fef3c7;
    color: #92400e;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-description {
    font-size: 20px;
    color: #6b7280;
    max-width: 800px;
    margin: 0 auto;
}

/* Advantages Section */
.advantages {
    padding: 80px 0;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.advantage-card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
}

.advantage-icon {
    width: 64px;
    height: 64px;
    background: #fef3c7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 24px;
    color: #d97706;
}

.advantage-title {
    font-size: 20px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 16px;
}

.advantage-description {
    color: #6b7280;
    line-height: 1.6;
}

/* Gallery Section */
.gallery {
    padding: 80px 0;
    background: #f9fafb;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    padding: 24px;
}

.gallery-overlay h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

.gallery-overlay p {
    font-size: 14px;
    opacity: 0.9;
}

/* About Section - улучшенные стили */
.about {
  padding: 80px 0;
  background: white;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  margin-bottom: 60px;
}

.about-text {
  padding-right: 20px;
}

.about-description {
  margin: 24px 0 32px 0;
}

.about-description p {
  color: #6b7280;
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.7;
}

.about-description p:last-child {
  margin-bottom: 0;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
}

.about-feature i {
  color: #10b981;
  font-size: 16px;
  flex-shrink: 0;
}

.about-feature span {
  font-weight: 500;
  color: #374151;
  font-size: 15px;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  height: 700px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
}

.about-badge {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: white;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
  text-align: center;
  border: 1px solid #f3f4f6;
}

.badge-number {
  font-size: 28px;
  font-weight: 700;
  color: #d97706;
  line-height: 1;
}

.badge-text {
  font-size: 12px;
  color: #6b7280;
  margin-top: 4px;
}

/* Дополнительный контент секции About */
.about .about-description:last-child {
  max-width: 1000px;
  margin: 60px auto 0;
  padding: 0 20px;
}

/* Стили для заголовков h3 */
.about .about-description h3 {
  font-size: 24px;
  font-weight: 700;
  color: #1f2937;
  margin: 48px 0 24px 0;
  line-height: 1.3;
  position: relative;
  padding-left: 20px;
}

.about .about-description h3:first-child {
  margin-top: 0;
}

.about .about-description h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 24px;
  background: linear-gradient(135deg, #d97706, #f59e0b);
  border-radius: 2px;
}

/* Стили для параграфов в дополнительном контенте */
.about .about-description:last-child p {
  color: #4b5563;
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.about .about-description:last-child p:last-child {
  margin-bottom: 0;
  font-weight: 500;
  color: #374151;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  padding: 20px 24px;
  border-radius: 12px;
  border-left: 4px solid #d97706;
  text-align: left;
}

/* Стили для lightbox - выносим из JS в CSS */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  animation: fadeIn 0.3s ease;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: white;
  font-size: 30px;
  cursor: pointer;
  z-index: 10001;
  transition: opacity 0.3s ease;
}

.lightbox-close:hover {
  opacity: 0.7;
}

.lightbox-caption {
  color: white;
  text-align: center;
  margin-top: 16px;
  font-size: 18px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Lazy loading для изображений */
.lazy {
  opacity: 0;
  transition: opacity 0.3s;
}

.lazy.loaded {
  opacity: 1;
}

@media (max-width: 768px) {
  .lightbox-content {
    max-width: 95%;
    max-height: 95%;
  }

  .lightbox-close {
    top: -30px;
    font-size: 24px;
  }

  .lightbox-caption {
    font-size: 16px;
  }
}

/* Стили для списков */
.about .about-description ul {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  background: #f9fafb;
  border-radius: 12px;
  padding: 24px;
  border: 1px solid #e5e7eb;
}

.about .about-description ul li {
  position: relative;
  padding: 12px 0 12px 32px;
  color: #374151;
  font-size: 15px;
  line-height: 1.6;
  border-bottom: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}

.about .about-description ul li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.about .about-description ul li:hover {
  background: rgba(217, 119, 6, 0.05);
  margin: 0 -12px;
  padding-left: 44px;
  padding-right: 12px;
  border-radius: 8px;
}

.about .about-description ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, #d97706, #f59e0b);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.2);
}

.about .about-description ul li:hover::before {
  transform: translateY(-50%) scale(1.2);
  box-shadow: 0 0 0 4px rgba(217, 119, 6, 0.3);
}

/* Специальные стили для текста перед списком */
.about .about-description p + ul {
  margin-top: 16px;
}

.about .about-description ul + h3 {
  margin-top: 40px;
}

/* Адаптивные стили */
@media (max-width: 1024px) {
  .about-content {
    gap: 40px;
  }

  .about-text {
    padding-right: 0;
  }

  .about .about-description h3 {
    font-size: 22px;
    margin: 40px 0 20px 0;
  }
}

@media (max-width: 768px) {
  .about {
    padding: 60px 0;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
  }

  .about-features {
    grid-template-columns: 1fr;
    gap: 1px;
  }

  .about-badge {
    bottom: -16px;
    right: -16px;
    padding: 16px;
  }

  .badge-number {
    font-size: 24px;
  }

  .about .about-description:last-child {
    margin-top: 40px;
    padding: 0 16px;
  }

  .about .about-description h3 {
    font-size: 20px;
    margin: 32px 0 16px 0;
    padding-left: 16px;
  }

  .about .about-description h3::before {
    height: 20px;
  }

  .about .about-description ul {
    padding: 20px 16px;
    margin: 20px 0;
  }

  .about .about-description ul li {
    padding: 10px 0 10px 28px;
    font-size: 14px;
  }

  .about .about-description ul li:hover {
    margin: 0 -8px;
    padding-left: 36px;
    padding-right: 8px;
  }
}

@media (max-width: 480px) {
  .about .about-description h3 {
    font-size: 18px;
    padding-left: 12px;
  }

  .about .about-description h3::before {
    width: 3px;
    height: 18px;
  }

  .about .about-description ul {
    padding: 16px 12px;
  }

  .about .about-description ul li {
    padding: 8px 0 8px 24px;
    font-size: 13px;
  }

  .about .about-description:last-child p:last-child {
    padding: 16px 20px;
    font-size: 15px;
  }
}

/* Анимации для появления элементов */
.about .about-description h3,
.about .about-description p,
.about .about-description ul {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.about.animate .about-description h3,
.about.animate .about-description p,
.about.animate .about-description ul {
  opacity: 1;
  transform: translateY(0);
}

.about.animate .about-description h3:nth-of-type(1) {
  transition-delay: 0.1s;
}
.about.animate .about-description p:nth-of-type(1) {
  transition-delay: 0.2s;
}
.about.animate .about-description ul:nth-of-type(1) {
  transition-delay: 0.3s;
}
.about.animate .about-description h3:nth-of-type(2) {
  transition-delay: 0.4s;
}
.about.animate .about-description ul:nth-of-type(2) {
  transition-delay: 0.5s;
}
.about.animate .about-description p:last-child {
  transition-delay: 0.6s;
}

.badge-number {
    font-size: 28px;
    font-weight: 700;
    color: #d97706;
}

.badge-text {
    font-size: 12px;
    color: #6b7280;
}

/* Contact Form Section */
.contact-form-section {
    padding: 80px 0;
    background: #f9fafb;
}

.contact-form-container {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #d97706;
}

.form-disclaimer {
    font-size: 12px;
    color: #6b7280;
    text-align: center;
    margin-top: 16px;
}

/* Delivery Section */
.delivery-section {
    padding: 80px 0;
}

.delivery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.delivery-card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.delivery-icon {
    width: 64px;
    height: 64px;
    background: #fef3c7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 24px;
    color: #d97706;
}

.delivery-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 16px;
}

.delivery-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* Contacts Section */
.contacts {
    padding: 80px 0;
    background: #f9fafb;
}

.contacts-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contacts-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-card {
    background: white;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: #fef3c7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #d97706;
}

.contact-details h3 {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 4px;
}

.contact-details p {
    color: #374151;
    margin-bottom: 4px;
}

.contact-details span {
    font-size: 12px;
    color: #6b7280;
}

.contacts-map {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
}

.contacts-map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-marker {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: white;
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
}

.map-marker i {
    color: #d97706;
    font-size: 20px;
}

.marker-title {
    font-weight: 600;
    color: #1f2937;
}

.marker-address {
    font-size: 12px;
    color: #6b7280;
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-description {
    color: #9ca3af;
    line-height: 1.6;
}

.footer-section h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

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

.footer-contact {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #9ca3af;
}

.footer-contact i {
    width: 16px;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 20px;
    text-align: center;
    color: #9ca3af;
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 80px; /* Увеличил высоту, чтобы не перекрывать header */
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    border-bottom: 3px solid #d97706;
  }

  .nav.mobile-nav-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-link {
    display: block;
    padding: 16px 0;
    border-bottom: 1px solid #e5e7eb;
    font-size: 16px;
    font-weight: 500;
    color: #374151;
    text-decoration: none;
    transition: all 0.3s ease;
  }

  .nav-link:hover {
    color: #d97706;
    background: rgba(217, 119, 6, 0.05);
    padding-left: 10px;
  }

  .nav-link:last-child {
    border-bottom: none;
  }

  .mobile-menu-btn {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative;
    z-index: 1000;
  }

  /* Анимированный гамбургер */
  .mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background: #374151;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
  }

  .mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }

  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  /* Скрываем телефон на мобильных */
  .header-phone {
    display: none;
  }
}

/* Overlay для закрытия меню */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-menu-overlay.show {
  display: block;
  opacity: 1;
}

@media (min-width: 769px) {
  .mobile-menu-btn {
    display: none !important;
  }

  .nav {
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    background: none !important;
    box-shadow: none !important;
    flex-direction: row !important;
    padding: 0 !important;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
 
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contacts-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 16px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .delivery-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav.mobile-nav-open {
        transform: translateY(0);
        opacity: 1;
    }
    
    .nav.mobile-nav-open::after {
        content: "+7 (981) 898-34-03";
        display: block;
        padding: 16px 0;
        text-align: center;
        font-weight: 600;
        color: #d97706;
        border-top: 1px solid #e5e7eb;
        margin-top: 12px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.advantage-card,
.gallery-item,
.delivery-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading states */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Focus states for accessibility */
.btn:focus,
input:focus,
textarea:focus {
    outline: 2px solid #d97706;
    outline-offset: 2px;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  animation: fadeIn 0.3s ease;
}

.modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: white;
  border-radius: 16px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  animation: slideIn 0.3s ease;
  position: relative;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 32px 0;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 24px;
}

.modal-header h2 {
  font-size: 24px;
  font-weight: 700;
  color: #1f2937;
  margin: 0;
}

.modal-close {
  font-size: 28px;
  font-weight: bold;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.3s ease;
  line-height: 1;
  padding: 4px;
  background: none;
  border: none;
  border-radius: 4px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  color: #374151;
  background: #f3f4f6;
}

.modal-body {
  padding: 0 32px 32px;
}

.modal-body p {
  color: #6b7280;
  margin-bottom: 24px;
  text-align: center;
  font-size: 16px;
}

.modal-form .form-group {
  margin-bottom: 20px;
}

.modal-form .form-group:last-of-type {
  margin-bottom: 24px;
}

.modal-form .btn {
  margin-bottom: 16px;
  font-size: 16px;
  padding: 14px 24px;
  transition: all 0.3s ease;
}

.modal-form .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 25px -5px rgba(217, 119, 6, 0.4);
}

.modal-form .btn i {
  margin-right: 8px;
}

/* Стили для полей формы в модальном окне */
.modal-form .form-group label {
  display: block;
  font-weight: 600;
  color: #374151;
  margin-bottom: 8px;
  font-size: 14px;
}

.modal-form .form-group input,
.modal-form .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 16px;
  transition: all 0.3s ease;
  font-family: inherit;
}

.modal-form .form-group input:focus,
.modal-form .form-group textarea:focus {
  outline: none;
  border-color: #d97706;
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.1);
}

.modal-form .form-group textarea {
  resize: vertical;
  min-height: 80px;
}

/* Стили для подсказок */
.modal-form .form-hint {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #6b7280;
  font-style: italic;
}

/* Стили для валидации */
.modal-form .form-group input.valid {
  border-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2310b981'%3e%3cpath d='M12.736 3.97a.733.733 0 0 1 1.047 0c.286.289.29.756.01 1.05L7.88 12.01a.733.733 0 0 1-1.065.02L3.217 8.384a.757.757 0 0 1 0-1.06.733.733 0 0 1 1.047 0l3.052 3.093 5.4-6.425a.247.247 0 0 1 .02-.022Z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
}

.modal-form .form-group input.invalid {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ef4444'%3e%3cpath d='M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z'/%3e%3cpath d='M7.002 11a1 1 0 1 1 2 0 1 1 0 0 1-2 0zM7.1 4.995a.905.905 0 1 1 1.8 0l-.35 3.507a.552.552 0 0 1-1.1 0L7.1 4.995z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
}

.modal-form .form-group input:focus {
  background-image: none !important;
  padding-right: 16px !important;
}

/* Стили для телефонного поля */
.modal-form input[type="tel"] {
  font-family: "Courier New", monospace;
  letter-spacing: 0.5px;
}

/* Disclaimer */
.form-disclaimer {
  font-size: 12px;
  color: #6b7280;
  text-align: center;
  line-height: 1.4;
  margin: 0;
}

.privacy-link {
  color: #d97706;
  text-decoration: none;
  transition: color 0.3s ease;
}

.privacy-link:hover {
  color: #b45309;
  text-decoration: underline;
}

/* Анимации */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-50px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Мобильная адаптация */
@media (max-width: 480px) {
  .modal-content {
    width: 95%;
    margin: 20px;
  }

  .modal-header,
  .modal-body {
    padding-left: 20px;
    padding-right: 20px;
  }

  .modal-header h2 {
    font-size: 20px;
  }

  .modal-body p {
    font-size: 14px;
  }

  .modal-form .form-group input,
  .modal-form .form-group textarea {
    font-size: 16px; /* Предотвращает зум на iOS */
  }
}

/* Состояние загрузки */
.modal-form .btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none !important;
}

.modal-form .btn:disabled:hover {
  box-shadow: none !important;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Mobile modal adjustments */
@media (max-width: 480px) {
    .modal-content {
        width: 95%;
        margin: 20px;
    }
    
    .modal-header,
    .modal-body {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .modal-header h2 {
        font-size: 20px;
    }
}
/* Yandex Map Styles */
.contacts-map {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
    height: 533px;
    background: #f3f4f6;
}

.map-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #6b7280;
}

.map-loading i {
    font-size: 24px;
    margin-bottom: 12px;
    color: #d97706;
}

.map-loading p {
    font-size: 16px;
    margin: 0;
}

/* Yandex Map custom styles */
.contacts-map [class*="ymaps"] {
    border-radius: 16px;
}

.custom-balloon {
    background: white;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    border: none;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.custom-balloon h3 {
    color: #1f2937;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.custom-balloon p {
    color: #6b7280;
    font-size: 14px;
    margin: 0 0 4px 0;
}

.custom-balloon .phone {
    color: #d97706;
    font-weight: 600;
    text-decoration: none;
}

.custom-balloon .phone:hover {
    text-decoration: underline;
}

/* Mobile map adjustments */
@media (max-width: 768px) {
    .contacts-map {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .contacts-map {
        height: 250px;
    }
}
/* FAQ Section */
.faq {
    padding: 80px 0;
    background: #f9fafb;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 16px;
    margin-bottom: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
}

.faq-question {
    padding: 24px 32px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    transition: all 0.3s ease;
    border: none;
    width: 100%;
    text-align: left;
}

.faq-question:hover {
    background: #f9fafb;
}

.faq-question h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
    line-height: 1.4;
    flex: 1;
    padding-right: 20px;
}

.faq-question i {
    color: #d97706;
    font-size: 16px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: white;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 32px 24px 32px;
}

.faq-answer p {
    color: #6b7280;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    padding-top: 8px;
}

/* Mobile FAQ styles */
@media (max-width: 768px) {
    .faq {
        padding: 60px 0;
    }
    
    .faq-question {
        padding: 20px 24px;
    }
    
    .faq-question h3 {
        font-size: 16px;
        padding-right: 16px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 24px 20px 24px;
    }
    
    .faq-answer p {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .faq-question {
        padding: 18px 20px;
    }
    
    .faq-question h3 {
        font-size: 15px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 20px 18px 20px;
    }
    
    .faq-answer p {
        font-size: 14px;
    }
}
/* Pricing Section */
/* Pricing Section */
.pricing {
    padding: 80px 0;
    background: #f9fafb;
}

.pricing-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    margin-top: 60px;
}

.pricing-image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
    background: #f8f9fa;
}

.pricing-image-container img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.pricing-image-container:hover img {
    transform: scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, #d97706, #f59e0b);
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.3);
}

.pricing-gallery {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    justify-content: center;
}

.pricing-thumb {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.pricing-thumb:hover {
    border-color: #d97706;
    transform: translateY(-2px);
}

.pricing-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pricing-info {
    padding: 20px 0;
}

.pricing-header {
    margin-bottom: 40px;
}

.pricing-title {
    font-size: 32px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 12px;
}

.price-from {
    font-size: 18px;
    color: #6b7280;
    font-weight: 500;
}

.price-value {
    font-size: 48px;
    font-weight: 800;
    color: #d97706;
    line-height: 1;
}

.price-currency {
    font-size: 32px;
    font-weight: 700;
    color: #d97706;
}

.price-unit {
    font-size: 16px;
    color: #6b7280;
    margin-left: 8px;
}

.pricing-specs {
    margin-bottom: 40px;
}

.pricing-specs h4 {
    font-size: 20px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 24px 0;
}

/* Двухколоночная сетка для технических характеристик */
.specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 20px;
}

.spec-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: #f9fafb;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.spec-item:hover {
    background: #f3f4f6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: #d97706;
}

.spec-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #d97706, #f59e0b);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    flex-shrink: 0;
}

.spec-label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 4px;
    font-size: 14px;
    line-height: 1.3;
}

.spec-value {
    color: #6b7280;
    font-size: 13px;
    line-height: 1.4;
}

.pricing-features {
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 16px;
}

.feature-item i {
    color: #10b981;
    font-size: 18px;
}

.feature-item span {
    color: #374151;
}

.pricing-actions {
    margin-top: 40px;
}

.order-btn {
    margin-bottom: 16px;
    font-size: 18px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #d97706, #f59e0b);
    border: none;
    transition: all 0.3s ease;
}

.order-btn:hover {
    background: linear-gradient(135deg, #b45309, #d97706);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(217, 119, 6, 0.4);
}

.pricing-note {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6b7280;
    font-size: 14px;
    padding: 12px 16px;
    background: #f9fafb;
    border-radius: 8px;
    border-left: 4px solid #d97706;
}

.pricing-note i {
    color: #d97706;
    font-size: 16px;
}

/* Mobile Pricing Styles */
@media (max-width: 1024px) {
    .pricing-content {
        gap: 40px;
    }
    
    .pricing-title {
        font-size: 28px;
    }
    
    .price-value {
        font-size: 40px;
    }
    
    .price-currency {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .pricing {
        padding: 60px 0;
    }
    
    .pricing-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .pricing-image-container img {
        height: 400px;
    }
    
    .pricing-title {
        font-size: 24px;
    }
    
    .price-value {
        font-size: 36px;
    }
    
    .price-currency {
        font-size: 24px;
    }
    
    .specs-grid {
        gap: 16px;
    }
    
    .spec-item {
        padding: 16px;
    }
    
    .spec-icon {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    
    .spec-label {
        font-size: 15px;
    }
    
    .spec-value {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .pricing-gallery {
        gap: 8px;
    }
    
    .pricing-thumb {
        width: 60px;
        height: 60px;
    }
    
    .pricing-title {
        font-size: 22px;
    }
    
    .price-value {
        font-size: 32px;
    }
    
    .price-currency {
        font-size: 22px;
    }
    
    .order-btn {
        font-size: 16px;
        padding: 14px 24px;
    }
}

/* Animation for pricing section */
.pricing-content > * {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.pricing-content.animate > * {
    opacity: 1;
    transform: translateY(0);
}

.pricing-content.animate > *:nth-child(1) {
    transition-delay: 0.1s;
}

.pricing-content.animate > *:nth-child(2) {
    transition-delay: 0.2s;
}

/* Стили для полей телефона */
.form-hint {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #6b7280;
  font-style: italic;
}

.form-group input[type="tel"] {
  font-family: "Courier New", monospace;
  letter-spacing: 0.5px;
}

.form-group input.valid {
  border-color: #10b981 !important;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1) !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2310b981'%3e%3cpath d='M12.736 3.97a.733.733 0 0 1 1.047 0c.286.289.29.756.01 1.05L7.88 12.01a.733.733 0 0 1-1.065.02L3.217 8.384a.757.757 0 0 1 0-1.06.733.733 0 0 1 1.047 0l3.052 3.093 5.4-6.425a.247.247 0 0 1 .02-.022Z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
}

.form-group input.invalid {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ef4444'%3e%3cpath d='M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z'/%3e%3cpath d='M7.002 11a1 1 0 1 1 2 0 1 1 0 0 1-2 0zM7.1 4.995a.905.905 0 1 1 1.8 0l-.35 3.507a.552.552 0 0 1-1.1 0L7.1 4.995z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
}

.form-group input:focus {
  border-color: #d97706 !important;
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.1) !important;
  background-image: none !important;
  padding-right: 16px !important;
}

/* Анимация для подсказки */
.form-hint {
  transition: color 0.3s ease;
}

.form-group input.invalid + .form-hint {
  color: #ef4444;
}

.form-group input.valid + .form-hint {
  color: #10b981;
}

@media (max-width: 768px) {
  .form-hint {
    font-size: 11px;
  }
}
/* Стили для модального окна политики конфиденциальности */
.privacy-modal {
  display: none;
  position: fixed;
  z-index: 10002;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  animation: privacyFadeIn 0.3s ease;
}

.privacy-modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

.privacy-modal-content {
  background: white;
  border-radius: 16px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  overflow: hidden;
  animation: privacySlideIn 0.3s ease;
  position: relative;
}

.privacy-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 32px;
  border-bottom: 2px solid #f3f4f6;
  background: linear-gradient(135deg, #f9fafb, #ffffff);
}

.privacy-modal-header h2 {
  font-size: 24px;
  font-weight: 700;
  color: #1f2937;
  margin: 0;
}

.privacy-modal-close {
  font-size: 28px;
  font-weight: bold;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.3s ease;
  line-height: 1;
  padding: 4px;
  background: none;
  border: none;
  border-radius: 6px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.privacy-modal-close:hover {
  color: #374151;
  background: #f3f4f6;
  transform: rotate(90deg);
}

.privacy-modal-body {
  padding: 32px;
  max-height: 70vh;
  overflow-y: auto;
  line-height: 1.7;
}

/* Стили для загрузки */
.privacy-loading {
  text-align: center;
  padding: 40px;
  color: #6b7280;
}

.privacy-loading i {
  font-size: 24px;
  margin-bottom: 16px;
  color: #d97706;
}

/* Стили для контента политики */
.privacy-content h3 {
  font-size: 20px;
  font-weight: 600;
  color: #1f2937;
  margin: 32px 0 16px 0;
  padding-bottom: 8px;
  border-bottom: 2px solid #f3f4f6;
}

.privacy-content h3:first-child {
  margin-top: 0;
}

.privacy-content p {
  color: #4b5563;
  margin-bottom: 16px;
  text-align: justify;
}

.privacy-content ul {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}

.privacy-content ul li {
  position: relative;
  padding: 8px 0 8px 24px;
  color: #4b5563;
}

.privacy-content ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #d97706;
  font-weight: bold;
  font-size: 18px;
}

.privacy-content .highlight {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  padding: 16px 20px;
  border-radius: 8px;
  border-left: 4px solid #d97706;
  margin: 20px 0;
  font-weight: 500;
}

.privacy-content .contact-info {
  background: #f9fafb;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  margin: 24px 0;
}

.privacy-content .contact-info h4 {
  color: #1f2937;
  margin: 0 0 12px 0;
  font-size: 16px;
  font-weight: 600;
}

.privacy-content .contact-info p {
  margin: 4px 0;
  color: #374151;
}

.privacy-content .contact-info a {
  color: #d97706;
  text-decoration: none;
  font-weight: 500;
}

.privacy-content .contact-info a:hover {
  text-decoration: underline;
}

/* Анимации */
@keyframes privacyFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes privacySlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Кастомный скроллбар */
.privacy-modal-body::-webkit-scrollbar {
  width: 6px;
}

.privacy-modal-body::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 3px;
}

.privacy-modal-body::-webkit-scrollbar-thumb {
  background: #d97706;
  border-radius: 3px;
}

.privacy-modal-body::-webkit-scrollbar-thumb:hover {
  background: #b45309;
}

/* Мобильная адаптация */
@media (max-width: 768px) {
  .privacy-modal-content {
    width: 95%;
    margin: 20px;
    max-height: 95vh;
  }

  .privacy-modal-header,
  .privacy-modal-body {
    padding: 20px;
  }

  .privacy-modal-header h2 {
    font-size: 20px;
  }

  .privacy-content h3 {
    font-size: 18px;
  }

  .privacy-content p,
  .privacy-content ul li {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .privacy-modal-content {
    width: 98%;
    margin: 10px;
  }

  .privacy-modal-header,
  .privacy-modal-body {
    padding: 16px;
  }
}
