/**
 * Home — luxury full-viewport hero (reference-style rails, vertical nav, fraction, FABs).
 */

:root {
  --font-hero-display: "Playfair Display", var(--font-display), Georgia, serif;
  --font-hero-ui: "Poppins", var(--font-body), system-ui, sans-serif;
  --hero-champagne: #e6dcc8;
  --hero-champagne-soft: #d4c9b4;
}

.hero-swiper-wrap--lux {
  position: relative;
  width: 100%;
  isolation: isolate;
}

/* Left social rail */
.hero-social-rail {
  position: absolute;
  left: clamp(0.75rem, 2vw, 1.75rem);
  top: 50%;
  transform: translateY(-50%);
  z-index: 25;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  pointer-events: none;
}

.hero-social-rail__label {
  font-family: var(--font-hero-ui);
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(250, 249, 247, 0.75);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  white-space: nowrap;
}

.hero-social-rail__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  pointer-events: auto;
}

.hero-social-rail__list a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(250, 249, 247, 0.92);
  text-decoration: none;
  font-family: var(--font-hero-ui);
  font-size: 0.7rem;
  font-weight: 600;
  transition:
    background 0.25s,
    border-color 0.25s,
    color 0.25s,
    transform 0.25s;
}

.hero-social-rail__list a:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--leela-gold);
  color: var(--hero-champagne);
  transform: translateY(-2px);
}

@media (max-width: 767px) {
  .hero-social-rail {
    display: none;
  }
}

.hero-swiper {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 560px;
  overflow: hidden;
}

.hero-swiper .swiper-wrapper {
  height: 100%;
}

.hero-swiper .swiper-slide {
  height: 100%;
}

.hero-slide {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.hero-slide__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  transition: transform 10s ease-out;
}

.swiper-slide-active .hero-slide__bg {
  transform: scale(1);
}

.hero-slide__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      105deg,
      rgba(8, 12, 20, 0.88) 0%,
      rgba(12, 18, 32, 0.55) 42%,
      rgba(20, 24, 35, 0.35) 100%
    ),
    radial-gradient(
      ellipse 80% 60% at 70% 50%,
      transparent 0%,
      rgba(5, 8, 14, 0.5) 100%
    );
  pointer-events: none;
}

.hero-slide__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: clamp(7rem, 18vh, 10rem);
  padding-bottom: clamp(8rem, 18vh, 11rem);
  display: flex;
  align-items: center;
  min-height: 100%;
}

.hero-slide__copy {
  max-width: min(48rem, 92vw);
  margin-left: clamp(0rem, 2vw, 1rem);
}

.hero-slide__title {
  font-family: var(--font-hero-display);
  font-size: clamp(2.25rem, 5.8vw, 4.1rem);
  font-weight: 600;
  line-height: 1.12;
  color: var(--hero-champagne);
  margin: 0 0 1.35rem;
  letter-spacing: 0.01em;
  text-shadow: 0 4px 48px rgba(0, 0, 0, 0.35);
}

.hero-slide__subtitle {
  font-family: var(--font-hero-ui);
  font-size: clamp(1rem, 1.85vw, 1.2rem);
  font-weight: 600;
  line-height: 1.65;
  color: #ffffff;
  max-width: 36rem;
  margin: 0 0 2.25rem;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.4);
}

.hero-slide__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-slide__btn {
  font-family: var(--font-hero-ui);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.9rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid transparent;
  transition:
    background 0.35s var(--ease-out),
    color 0.35s,
    border-color 0.35s,
    transform 0.3s var(--ease-out),
    box-shadow 0.35s;
}

.hero-slide__btn--primary {
  background: var(--hero-champagne-soft);
  color: #1a1a1a;
  border-color: rgba(230, 220, 200, 0.95);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.25);
}

.hero-slide__btn--primary:hover {
  background: #f0e8d8;
  transform: translateY(-3px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.hero-slide__btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
}

.hero-slide__btn--ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.55);
  transform: translateY(-3px);
}

/* Vertical PREV / NEXT */
.hero-swiper-controls-v {
  position: absolute;
  right: clamp(0.75rem, 2vw, 2rem);
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.hero-swiper-vbtn {
  font-family: var(--font-hero-ui);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(250, 249, 247, 0.85);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.35rem;
  transition:
    color 0.25s,
    transform 0.25s;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
}

.hero-swiper-vbtn:hover {
  color: var(--hero-champagne);
  transform: scale(1.06);
}

.hero-swiper-vline {
  width: 1px;
  height: 48px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(255, 255, 255, 0.45),
    transparent
  );
}

@media (max-width: 767px) {
  .hero-swiper-controls-v {
    right: 0.5rem;
    gap: 0.65rem;
  }

  .hero-swiper-vline {
    height: 32px;
  }

  .hero-swiper-vbtn {
    font-size: 0.6rem;
    letter-spacing: 0.16em;
  }
}

/* Slide fraction 1 / 3 */
.hero-swiper-fraction {
  position: absolute;
  right: clamp(1rem, 3vw, 2.5rem);
  bottom: clamp(1.75rem, 5vh, 3rem);
  z-index: 20;
  font-family: var(--font-hero-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 500;
  color: rgba(250, 249, 247, 0.92);
  letter-spacing: 0.04em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: baseline;
  gap: 0.15em;
}

.hero-swiper-fraction__sep {
  opacity: 0.45;
  font-weight: 400;
}

@media (max-width: 767px) {
  .hero-swiper-fraction {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    bottom: clamp(1.5rem, 4vh, 2.25rem);
    font-size: 1.75rem;
  }
}

.home-about-preview .two-col-media img {
  width: 100%;
  border-radius: 2px;
  box-shadow: 0 24px 60px rgba(26, 26, 26, 0.12);
}

.home-service-grid {
  margin-top: 0;
}

.service-card {
  background: var(--leela-white);
  padding: 2rem 1.75rem;
  border: 1px solid var(--leela-border);
  transition:
    transform 0.35s var(--ease-out),
    box-shadow 0.35s var(--ease-out),
    border-color 0.35s;
}

.section-beige .service-card {
  background: rgba(255, 255, 255, 0.65);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(26, 26, 26, 0.08);
  border-color: transparent;
}

.service-card-icon {
  font-size: 1.5rem;
  color: var(--leela-gold);
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 0.9375rem;
  color: var(--leela-gray);
  margin: 0;
}

.project-mosaic {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 800px) {
  .project-mosaic {
    grid-template-columns: 1.2fr 1fr;
    grid-template-rows: repeat(2, 220px);
  }

  .mosaic-large {
    grid-row: span 2;
    grid-column: 1;
  }

  .mosaic-large img {
    height: 100%;
    object-fit: cover;
  }
}

.mosaic-item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 2px;
  text-decoration: none;
  color: var(--leela-white);
}

.mosaic-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}

.mosaic-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 26, 26, 0.7), transparent 55%);
  opacity: 0.85;
  transition: opacity 0.35s;
}

.mosaic-item:hover img {
  transform: scale(1.05);
}

.mosaic-caption {
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
}

/* Testimonials */
.testimonials-slider {
  position: relative;
  max-width: 720px;
  margin-inline: auto;
}

.testimonials-track {
  position: relative;
  min-height: 200px;
}

.testimonial-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0 3rem;
  text-align: center;
  opacity: 0;
  transform: translateX(20px);
  transition:
    opacity 0.5s var(--ease-out),
    transform 0.5s var(--ease-out);
  pointer-events: none;
}

.testimonial-slide.is-active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  position: relative;
}

.testimonial-slide p {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-style: italic;
  line-height: 1.45;
  color: var(--leela-dark);
  margin-bottom: 1.5rem;
}

.testimonial-slide cite {
  font-size: 0.875rem;
  font-style: normal;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--leela-gray);
}

.testimonials-nav {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.testimonial-prev,
.testimonial-next {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--leela-border);
  background: var(--leela-white);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: var(--leela-dark);
  transition:
    background 0.2s,
    border-color 0.2s,
    color 0.2s;
}

.testimonial-prev:hover,
.testimonial-next:hover {
  background: var(--leela-gold);
  border-color: var(--leela-gold);
  color: var(--leela-dark);
}

.testimonials-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.testimonials-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--leela-border);
  cursor: pointer;
  transition:
    transform 0.2s,
    background 0.2s;
}

.testimonials-dots button.is-active {
  background: var(--leela-gold);
  transform: scale(1.2);
}

.home-cta-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: flex-start;
  border: 1px solid var(--leela-border);
  padding: clamp(2rem, 5vw, 3.5rem);
  background: linear-gradient(135deg, rgba(201, 169, 98, 0.08), transparent);
}

@media (min-width: 800px) {
  .home-cta-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.contact-preview-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 2rem;
  border-radius: 2px;
}

.contact-preview-box h3 {
  color: var(--leela-white);
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.contact-preview-box p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
}

.home-contact-preview__addr {
  line-height: 1.6;
  max-width: 36rem;
}

a.light-muted-link {
  color: rgba(250, 249, 247, 0.82);
  text-decoration: none;
  border-bottom: 1px solid rgba(201, 169, 98, 0.45);
  transition:
    color 0.2s,
    border-color 0.2s;
}

a.light-muted-link:hover {
  color: var(--leela-gold);
  border-bottom-color: var(--leela-gold);
}
