/**
 * СТРАНИЦА БРЕНДИНГА
 */

/* Быстрые ссылки */
.branding-quick-links {
  padding: 40px 0 20px;
  background: var(--background-secondary, #f8f9fa);
}

/* О услуге брендирования */
.branding-about {
  padding: 60px 0;
  background: var(--background-secondary, #f8f9fa);
}

.about-content h2 {
  font-size: 2rem;
  margin-bottom: 24px;
  color: var(--text-primary, #212529);
}

.about-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-secondary, #495057);
  margin-bottom: 20px;
  max-width: 900px;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.feature-item svg {
  flex-shrink: 0;
  color: var(--primary-color, #007bff);
}

.feature-item span {
  font-size: 1rem;
  color: var(--text-primary, #212529);
  font-weight: 500;
}

/* Как заказать 3D модель */
.how-to-3d {
  padding: 60px 0;
}

.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-secondary, #6c757d);
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.inline-link {
  color: var(--primary-color, #007bff);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.inline-link:hover {
  border-bottom-color: var(--primary-color, #007bff);
}

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

.step-card {
  text-align: center;
  padding: 30px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color, #007bff) 0%, #0056b3 100%);
  color: white;
  font-size: 1.75rem;
  font-weight: bold;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.step-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--text-primary, #212529);
}

.step-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary, #6c757d);
}

/* Преимущества брендинга */
.advantages-section {
  padding: 60px 0;
  background: var(--background-secondary, #f8f9fa);
}

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

.advantage-card {
  text-align: center;
  padding: 40px 30px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.advantage-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.advantage-icon {
  color: var(--primary-color, #007bff);
  margin-bottom: 20px;
}

.advantage-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--text-primary, #212529);
}

.advantage-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary, #6c757d);
}

/* Галерея работ */
.gallery-section {
  padding: 60px 0 80px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.gallery-item {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item.hidden {
  display: none;
}

.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.gallery-show-more {
  text-align: center;
  margin-top: 40px;
}

.gallery-show-more .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 1rem;
}

.gallery-item__image {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.gallery-item__info {
  padding: 20px;
}

.gallery-item__title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary, #212529);
  margin-bottom: 8px;
  line-height: 1.4;
}

.gallery-item__company {
  font-size: 0.95rem;
  color: var(--primary-color, #007bff);
  font-weight: 500;
  margin-bottom: 12px;
}

.gallery-item__description {
  font-size: 0.9rem;
  color: var(--text-secondary, #6c757d);
  line-height: 1.5;
}

.gallery-loading {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--text-secondary, #6c757d);
  font-size: 1.1rem;
}

.gallery-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
}

.gallery-empty p {
  font-size: 1.1rem;
  color: var(--text-secondary, #6c757d);
  margin-bottom: 20px;
}

/* Адаптивность */
@media (max-width: 768px) {
  .branding-about,
  .how-to-3d,
  .advantages-section,
  .gallery-section {
    padding: 40px 0;
  }
  
  .about-content h2 {
    font-size: 1.5rem;
  }
  
  .about-content p {
    font-size: 1rem;
  }
  
  .about-features {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .advantages-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .gallery-item__image {
    height: 220px;
  }
}

@media (max-width: 480px) {
  /* Секции - меньше отступов */
  .branding-about,
  .how-to-3d,
  .gallery-section {
    padding: 30px 0;
  }
  
  .branding-quick-links {
    padding: 20px 0 10px;
  }
  
  /* Иконки преимуществ - светлый фон для страницы брендинга (переопределяем градиент) */
  .advantages-section .advantage-icon {
    background: var(--primary-light, #e7f3ff);
    color: var(--accent-blue);
  }
  
  /* О услуге - компактный текст */
  .about-content h2 {
    font-size: 1.3rem;
    margin-bottom: 16px;
  }
  
  .about-content p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 15px;
  }
  
  /* Фичи - горизонтальные компактные */
  .about-features {
    gap: 10px;
  }
  
  .feature-item {
    padding: 10px;
    gap: 10px;
  }
  
  .feature-item svg {
    width: 20px;
    height: 20px;
  }
  
  .feature-item span {
    font-size: 0.85rem;
  }
  
  /* Шаги - компактные */
  .section-subtitle {
    font-size: 0.9rem;
    margin-bottom: 25px;
  }
  
  .steps-grid {
    gap: 12px;
  }
  
  .step-card {
    padding: 16px;
    text-align: left;
  }
  
  .step-card:hover {
    transform: none;
  }
  
  .step-number {
    width: 40px;
    height: 40px;
    font-size: 1.3rem;
    margin: 0 0 10px 0;
  }
  
  .step-card h3 {
    font-size: 1rem;
    margin-bottom: 8px;
  }
  
  .step-card p {
    font-size: 0.85rem;
    line-height: 1.5;
  }
  
  /* Галерея - 2 в ряд */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 20px;
  }
  
  .gallery-item {
    border-radius: 8px;
  }
  
  .gallery-item__image {
    height: 180px;
  }
  
  .gallery-item__info {
    padding: 12px;
  }
  
  .gallery-item__title {
    font-size: 0.9rem;
    margin-bottom: 4px;
  }
  
  .gallery-item__company {
    font-size: 0.8rem;
    margin-bottom: 8px;
  }
  
  .gallery-item__description {
    font-size: 0.8rem;
    line-height: 1.4;
  }
  
  .gallery-item:hover {
    transform: translateY(-4px);
  }
}
