/* ============================================================
   HandyKraken — страница Accent Walls
   Дополнение к styles.css (общие токены, шапка, футер, кнопки,
   отзывы и reveal-анимации приходят оттуда)
   ============================================================ */

/* ---------- Hero ---------- */

.accent-hero-section {
  background:
    linear-gradient(100deg, rgba(5, 13, 23, 0.96) 0%, rgba(7, 19, 34, 0.9) 45%, rgba(12, 32, 56, 0.6) 100%),
    url('../img/accent-wall-bg.png') center/cover no-repeat;
  color: #fff;
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Контейнер тянется на всю высоту секции,
   чтобы картинка человека была во весь блок и у низа */
.accent-hero-section .hero-container {
  min-height: 620px;
}

.accent-hero-section .hero-title {
  font-size: 3.4rem;
}

.accent-hero-section .hero-subtitle {
  margin-bottom: 36px;
}

/* ---------- What We Do ---------- */

.what-we-do-section {
  padding: 80px 20px;
  background-color: #fff;
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.section-description {
  max-width: 780px;
  margin: 0 auto 44px;
  color: var(--ink-600);
  font-size: 1.1rem;
  line-height: 1.75;
}

.popular-styles-title {
  font-size: 1.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 30px;
}

.styles-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
  max-width: 1100px;
  margin: 0 auto;
}

.style-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 30px 18px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.style-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255, 155, 0, 0.4);
}

.style-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 16px;
  background: linear-gradient(145deg, #FFB03B, var(--orange-500));
  color: #fff;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 6px 14px rgba(255, 155, 0, 0.3);
  transition: transform 0.3s ease;
}

.style-item:hover .style-icon {
  transform: scale(1.08) rotate(-4deg);
}

.style-item h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  text-transform: none;
  color: var(--navy-800);
  line-height: 1.4;
  margin: 0;
  text-align: center;
}

/* ---------- Why Choose (сетка на 5 карточек) ---------- */

.accent-why-choose {
  background-color: var(--bg-page);
  padding: 80px 20px;
}

.accent-why-choose .features-grid {
  grid-template-columns: repeat(5, 1fr);
  max-width: 1200px;
  margin-top: 44px;
}

/* Иконки здесь — Font Awesome, а не картинки */
.accent-why-choose .feature-icon {
  color: var(--orange-500);
  font-size: 1.7rem;
}

/* ---------- Цены ---------- */

.pricing-section {
  padding: 80px 20px;
  background-color: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.pricing-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 860px;
  margin: 44px auto 0;
}

.pricing-option {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.pricing-option:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255, 155, 0, 0.4);
}

.pricing-option h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.pricing-option p {
  color: var(--ink-600);
  margin: 0 0 24px;
  font-size: 1.05rem;
}

.pricing-option .cta-button,
.pricing-option .secondary-button {
  margin-top: auto;
}

.secondary-button {
  display: inline-block;
  background-color: transparent;
  color: var(--navy-800);
  border: 2px solid var(--navy-800);
  border-radius: var(--radius-sm);
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.secondary-button:hover {
  background-color: var(--navy-800);
  color: #fff;
  transform: translateY(-2px);
}

/* ---------- Recent Projects ---------- */

.projects-section {
  padding: 80px 20px;
  background-color: var(--bg-page);
  text-align: center;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1200px;
  margin: 44px auto 0;
}

.project-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.project-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

/* Фото мягко приближается при наведении */
.project-item:hover img {
  transform: scale(1.06);
}

.project-caption {
  padding: 18px 20px;
  font-weight: 700;
  color: var(--navy-800);
  border-top: 3px solid var(--orange-500);
  background: var(--bg-card);
  position: relative; /* поверх увеличенного фото */
}

/* ---------- FAQ ---------- */

.faq-section {
  padding: 80px 20px;
  background-color: #fff;
  border-top: 1px solid var(--border);
  text-align: center;
}

.faq-container {
  max-width: 800px;
  margin: 44px auto 0;
  text-align: left;
}

.faq-item {
  background: var(--bg-page);
  border: 1px solid var(--border);
  border-left: 4px solid var(--orange-500);
  border-radius: var(--radius-sm);
  padding: 22px 26px;
  margin-bottom: 18px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.faq-item:last-child {
  margin-bottom: 0;
}

.faq-question {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 8px;
}

.faq-answer {
  color: var(--ink-600);
  line-height: 1.65;
  margin: 0;
}

/* ---------- Финальный CTA ---------- */

.cta-section {
  padding: 90px 20px;
  background-color: var(--navy-800);
  background-image:
    radial-gradient(circle at 15% 20%, rgba(255, 155, 0, 0.12), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(255, 255, 255, 0.05), transparent 40%);
  color: #fff;
  text-align: center;
}

.cta-section h2 {
  color: #fff;
}

.cta-section .section-description {
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin: 0 auto 36px;
}

/* ============================================================
   Адаптивность
   ============================================================ */

@media (max-width: 992px) {
  .accent-hero-section .hero-title {
    font-size: 2.8rem;
  }

  .accent-hero-section .hero-container {
    min-height: 0;
  }

  .styles-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .accent-why-choose .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .accent-hero-section {
    min-height: auto;
  }

  .accent-hero-section .hero-title {
    font-size: 2.4rem;
  }

  .what-we-do-section,
  .accent-why-choose,
  .pricing-section,
  .projects-section,
  .faq-section {
    padding: 60px 20px;
  }

  .cta-section {
    padding: 64px 20px;
  }

  .styles-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .accent-why-choose .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .pricing-options {
    grid-template-columns: 1fr;
  }

  .popular-styles-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .styles-grid,
  .accent-why-choose .features-grid,
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .project-item img {
    height: 210px;
  }

  .secondary-button {
    width: 100%;
    text-align: center;
  }
}