/* ── Hero ── */
.hero {
  position: relative;
  min-height: 50vh;
  min-height: 50svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-image: url('../assets/images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: scroll; /* mobile default */
  overflow: hidden;
}

@media (min-width: 1024px) {
  .hero {
    background-attachment: fixed; /* parallax on desktop only */
  }
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: var(--color-overlay);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 945px;
  padding: var(--space-md);
}

.hero-content h1 {
  font-size: clamp(2.7rem, 6.75vw, 4.725rem);
}

.hero-content h1 {
  margin-bottom: 1.35rem;
}

.hero-content p {
  font-size: clamp(1.08rem, 2.7vw, 1.485rem);
  color: var(--color-silver);
  margin-bottom: 2.7rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1.35rem;
  justify-content: center;
}

.hero-content .btn-primary,
.hero-content .btn-secondary {
  font-size: clamp(0.9rem, 2.16vw, 1.215rem);
  padding: clamp(0.855rem, 1.8vw, 1.0125rem) clamp(1.8rem, 3.6vw, 2.3625rem);
}

/* ── Carousel Section ── */
.carousel-section {
  height: clamp(336px, 60vh, 700px);
  overflow: hidden;
}

@media (min-width: 1024px) {
  .carousel-section {
    height: clamp(336px, 72vh, 700px);
  }
}

.carousel-section .swiper {
  height: 100%;
  max-width: 100%;
  overflow: hidden;
}

.carousel-section .swiper-slide {
  height: 100%;
  overflow: hidden;
}

.carousel-slide-grid {
  height: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: var(--space-xs);
  padding: var(--space-xs);
  background-color: #050505;
}

.carousel-slide-cell {
  flex: 0 1 calc((100% - var(--space-xs)) / 2);
  height: calc((100% - var(--space-xs)) / 2);
  min-width: 0;
  display: grid;
  place-items: center;
  background-color: #111;
  border: 1px solid rgba(192, 192, 192, 0.1);
  overflow: hidden;
  cursor: pointer;
}

@media (min-width: 1024px) {
  .carousel-slide-cell {
    flex-basis: calc((100% - 1.5rem) / 4);
    height: 100%;
  }
}

.carousel-section .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

a.carousel-slide-cell {
  color: inherit;
  text-decoration: none;
}

.swiper-button-next,
.swiper-button-prev {
  color: var(--color-white);
}

.swiper-pagination-bullet {
  background: var(--color-silver);
  opacity: 0.6;
}

.swiper-pagination-bullet-active {
  background: var(--color-red);
  opacity: 1;
}

/* ── Stats Strip ── */
.stats-strip {
  background-color: var(--color-red);
  padding: var(--space-md);
}

.stats-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
  text-align: center;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-item .stat-value {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--color-white);
  display: block;
}

.stat-item .stat-label {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(245, 245, 245, 0.8);
}

/* ── Services Grid ── */
.services-section {
  padding: var(--space-lg) var(--space-md);
}

.services-section h2 {
  text-align: center;
  margin-bottom: var(--space-md);
}

.services-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-sm);
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.service-tile {
  background-color: #141414;
  border: 1px solid rgba(192, 192, 192, 0.12);
  border-radius: 4px;
  padding: var(--space-md) var(--space-sm);
  text-align: center;
  display: flex;
  flex-direction: column;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  overflow-wrap: anywhere;
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.service-tile:hover {
  border-color: var(--color-red);
  transform: translateY(-2px);
}

.service-tile h3 {
  font-size: 1rem;
  margin: var(--space-sm) 0 var(--space-xs);
  color: var(--color-white);
}

.service-tile p {
  font-size: 0.85rem;
  margin-bottom: var(--space-sm);
}

.service-tile h3,
.service-tile p,
.service-tile .btn-secondary {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
}

.service-tile .btn-secondary {
  margin-top: auto;
  align-self: center;
  line-height: 1.15;
  text-align: center;
  white-space: normal;
}

.service-icon {
  font-size: 2rem;
  display: block;
}

@media (max-width: 767px) {
  .services-section {
    padding: var(--space-md) 0.75rem;
  }

  .services-section h2 {
    margin-bottom: var(--space-sm);
  }

  .services-grid {
    gap: 0.625rem;
  }

  .service-tile {
    padding: 1rem 0.625rem;
  }

  .service-tile h3 {
    margin: 0.75rem 0 0.375rem;
  }

  .service-tile p {
    margin-bottom: 0.75rem;
  }

  .service-tile .btn-secondary {
    padding: 0.65rem 0.75rem;
  }
}

@media (max-width: 360px) {
  .services-section {
    padding-inline: 0.5rem;
  }

  .services-grid {
    gap: 0.5rem;
  }

  .service-tile {
    padding: 0.85rem 0.5rem;
  }

  .service-icon {
    font-size: 1.7rem;
  }

  .service-tile h3 {
    font-size: 0.875rem;
  }

  .service-tile p {
    font-size: 0.78rem;
    line-height: 1.45;
  }

  .service-tile .btn-secondary {
    font-size: 0.72rem;
    letter-spacing: 0.05em;
    padding: 0.55rem 0.45rem;
  }
}

/* ── Gallery Preview ── */
.gallery-preview-section {
  padding: var(--space-lg) var(--space-md);
  background-color: #0d0d0d;
}

.gallery-preview-section h2 {
  text-align: center;
  margin-bottom: var(--space-md);
}

.gallery-preview-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
}

@media (min-width: 480px) {
  .gallery-preview-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .gallery-preview-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gallery-preview-grid a {
  display: block;
  overflow: hidden;
  border-radius: 2px;
}

.gallery-preview-grid img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 2px;
  display: block;
  transition: transform var(--transition-base);
}

.gallery-preview-grid a:hover img {
  transform: scale(1.04);
}

.gallery-preview-cta {
  text-align: center;
}

/* ── Promo Tile ── */
.promo-tile-section {
  padding: var(--space-lg) var(--space-md);
}

.promo-tile-section h2 {
  text-align: center;
  margin-bottom: var(--space-md);
}

.promo-tile-container {
  max-width: 600px;
  margin: 0 auto;
}

.promo-tile {
  background-color: #141414;
  border: 1px solid var(--color-red);
  border-radius: 4px;
  padding: var(--space-md);
  display: grid;
  place-items: center;
  gap: var(--space-sm);
  text-align: center;
}

.promo-tile h3 {
  color: var(--color-red);
  margin: 0;
}

.promo-tile p {
  margin: 0;
}

.promo-empty-msg {
  color: var(--color-silver);
  text-align: center;
  padding: var(--space-lg);
}

.countdown-display {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin: var(--space-sm) 0;
}

.countdown-unit {
  text-align: center;
}

.countdown-value {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 700;
  color: var(--color-red);
  line-height: 1;
}

.countdown-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-silver);
  margin-top: 4px;
}

/* ── Testimonials ── */
.testimonials-section {
  padding: var(--space-lg) var(--space-md);
  background-color: #0d0d0d;
}

.testimonials-section h2 {
  text-align: center;
  margin-bottom: var(--space-md);
}

.testimonials-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 850px;
  }
}

.testimonial-card {
  background-color: #141414;
  border: 1px solid rgba(192, 192, 192, 0.12);
  border-radius: 4px;
  padding: var(--space-md);
}

.testimonial-stars {
  color: var(--color-red);
  font-size: 1.1rem;
  margin-bottom: var(--space-xs);
}

.testimonial-quote {
  font-style: italic;
  margin-bottom: var(--space-sm);
  font-size: 0.95rem;
}

.testimonial-name {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-silver);
}

/* ── Final CTA ── */
.final-cta-section {
  padding: var(--space-lg) var(--space-md);
  text-align: center;
  background: linear-gradient(to bottom, #141414, var(--color-black));
}

.final-cta-section h2 {
  margin-bottom: var(--space-sm);
}

.final-cta-section p {
  max-width: 500px;
  margin: 0 auto var(--space-md);
}

.final-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
}

/* â”€â”€ Homepage Lightbox â”€â”€ */
.glightbox-container .gslide-description {
  display: none !important;
}

.glightbox-container .gslide-media,
.glightbox-container .gslide-image {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  box-shadow: none !important;
}

.glightbox-container .ginner-container {
  align-items: center;
}

.glightbox-container .gslide-image img {
  background-color: var(--color-black);
}

.glightbox-button svg path {
  fill: var(--color-white);
}

.homepage-lightbox-cta {
  width: min(90vw, 28rem);
  min-height: 18rem;
  display: grid;
  place-items: center;
  background-color: var(--color-black);
}

.homepage-lightbox-cta .btn-secondary {
  text-align: center;
}
