/* Full-screen section pages */
body.site-mode-page {
  overflow: hidden;
}

body.site-mode-page .footer {
  display: none;
}

body.site-mode-page main > .hero,
body.site-mode-page main > section:not(.section--active-page) {
  display: none !important;
}

body.site-mode-page .section--active-page {
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100vh - var(--header-height));
  max-height: calc(100vh - var(--header-height));
  padding: clamp(1rem, 2.5vh, 1.75rem) 0;
  margin: 0;
  animation: section-page-in 0.42s var(--ease-out, ease);
}

body.site-mode-page .section--active-page > .container {
  width: 100%;
  max-height: calc(100vh - var(--header-height) - 2rem);
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(232, 176, 74, 0.35) transparent;
}

body.site-mode-page .section--active-page .section__title {
  font-size: clamp(1.5rem, 2.8vw, 2.125rem);
  margin-bottom: 0.75rem;
}

body.site-mode-page .section--active-page .section__title::after {
  margin-top: 0.65rem;
}

body.site-mode-page .section--active-page .section__lead {
  margin-bottom: 1rem;
}

body.site-mode-page #services .services-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

body.site-mode-page #services .service-card {
  padding: 1.1rem 1.15rem 1rem;
}

body.site-mode-page #services .service-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

body.site-mode-page #services .service-card p {
  font-size: 0.8125rem;
  line-height: 1.45;
}

body.site-mode-page #about .about__inner {
  grid-template-columns: minmax(180px, 0.75fr) 1fr;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: center;
}

body.site-mode-page #about .about__frame {
  max-width: 260px;
}

body.site-mode-page #about .about__tagline {
  margin-bottom: 1rem;
}

body.site-mode-page #about .about__highlights {
  margin-bottom: 1rem;
  padding: 1rem 1.25rem;
  gap: 0.65rem;
}

body.site-mode-page #about .about__content p {
  font-size: 0.9375rem;
  line-height: 1.55;
  margin-bottom: 0.65rem;
}

body.site-mode-page #portfolio .portfolio-carousel {
  max-width: 46rem;
}

body.site-mode-page #portfolio .portfolio-carousel__viewport {
  height: clamp(10rem, 26vh, 15rem);
}

body.site-mode-page #portfolio .portfolio-carousel__info {
  min-height: auto;
  margin-top: 0.75rem;
}

body.site-mode-page #portfolio .portfolio__cta,
body.site-mode-page #portfolio .portfolio-carousel__catalog {
  margin-top: 0.75rem;
}

body.site-mode-page #portfolio .portfolio-carousel__footer {
  margin-top: 0.75rem;
}

body.site-mode-page #pricing .pricing-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 0.75rem;
}

body.site-mode-page #pricing .price-item {
  padding: 0.75rem 1rem;
}

body.site-mode-page #pricing .price-item__name,
body.site-mode-page #pricing .price-item__value {
  font-size: 0.875rem;
}

body.site-mode-page #faq .faq-list {
  gap: 0.5rem;
}

body.site-mode-page #faq .faq-item summary {
  padding: 0.85rem 1rem;
  font-size: 0.9375rem;
}

body.site-mode-page #faq .faq-item p {
  padding: 0 1rem 0.85rem;
  font-size: 0.875rem;
}

@keyframes section-page-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1024px) {
  body.site-mode-page #services .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  body.site-mode-page .section--active-page {
    padding: 0.75rem 0;
  }

  body.site-mode-page .section--active-page > .container {
    max-height: calc(100vh - var(--header-height) - 1rem);
  }

  body.site-mode-page #services .services-grid,
  body.site-mode-page #pricing .pricing-grid {
    grid-template-columns: 1fr;
  }

  body.site-mode-page #about .about__inner {
    grid-template-columns: 1fr;
  }

  body.site-mode-page #about .about__frame {
    max-width: 200px;
    margin: 0 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.site-mode-page .section--active-page {
    animation: none;
  }
}
