/* ========================================
   HOMEPAGE-SPECIFIC STYLES
   ======================================== */

/* ---- Hero (with carousel) ---- */
.hero--carousel {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-3xl) var(--space-xl) var(--space-2xl);
  overflow: hidden;
}

.hero--carousel .hero-content {
  position: relative;
  z-index: 3;
  max-width: 850px;
}

.hero--carousel .hero-headline {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 3.8rem;
  color: var(--color-reserve-white);
  line-height: 1.12;
  margin-bottom: var(--space-lg);
  letter-spacing: 0.12em;
}

.hero--carousel .hero-services {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.02em;
  margin-bottom: var(--space-lg);
  line-height: 1.7;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.hero--carousel .hero-price {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.3rem;
  color: var(--color-reserve-white);
  margin-bottom: var(--space-xl);
  letter-spacing: 0.02em;
}

.hero--carousel .hero-buttons {
  display: flex;
  gap: var(--space-lg);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-xl);
}

.hero--carousel .hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.hero--carousel .hero-trust-stars {
  display: flex;
  gap: 2px;
}

.hero--carousel .hero-trust-stars svg {
  width: 14px;
  height: 14px;
  fill: var(--color-reserve-white);
}

.hero--carousel .hero-trust-text {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.55);
}

/* ---- Service Block Grid ---- */
.services-grid {
  padding: var(--space-4xl) 0;
  background-color: var(--tint-white-warm);
  text-align: center;
}

.services-grid .section-heading {
  margin-bottom: var(--space-3xl);
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.service-cards--bottom {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-xl);
  max-width: 66.666%;
  margin-left: auto;
  margin-right: auto;
}

.service-card {
  position: relative;
  background: linear-gradient(135deg, var(--color-sky-navy) 0%, var(--tint-crimson-deep) 100%);
  border-radius: var(--radius-md);
  overflow: hidden;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-xl);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

.service-card-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  transition: opacity 0.3s ease;
}

.service-card:hover .service-card-image {
  opacity: 0.5;
}

.service-card-content {
  position: relative;
  z-index: 2;
}

.service-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.4rem;
  color: var(--color-reserve-white);
  margin-bottom: var(--space-xs);
}

.service-card p {
  font-weight: 400;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: var(--space-sm);
  line-height: 1.6;
}

.service-card .service-price {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.8rem;
  color: var(--color-cellar-crimson);
  letter-spacing: 0.04em;
}

.service-card .service-arrow {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
  z-index: 2;
}

.service-card:hover .service-arrow {
  background: rgba(255, 255, 255, 0.25);
}

.service-card .service-arrow svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--color-reserve-white);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---- Why Cellar & Sky ---- */
.why-section {
  padding: var(--space-4xl) 0;
  background-color: var(--tint-crimson-wash);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.why-content .section-tagline { text-align: left; }
.why-content .section-heading { text-align: left; font-size: 2.4rem; }

.why-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

.why-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.why-feature-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--color-cellar-crimson);
}

.why-feature-icon svg {
  width: 100%;
  height: 100%;
}

.why-feature span {
  font-weight: 400;
  font-size: 0.95rem;
  color: var(--tint-navy-ink);
  line-height: 1.5;
}

.why-guarantee {
  background: var(--color-reserve-white);
  border-radius: var(--radius-md);
  padding: var(--space-xl) var(--space-2xl);
  box-shadow: var(--shadow-card);
  border-left: 4px solid var(--color-cellar-crimson);
}

.why-guarantee h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.3rem;
  color: var(--color-sky-navy);
  margin-bottom: var(--space-xs);
}

.why-guarantee p {
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--color-concierge-gray);
  line-height: 1.6;
}

.why-image {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card-hover);
}

.why-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.why-image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--color-sky-navy), var(--tint-crimson-deep));
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-image-placeholder span {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

/* ---- Social Proof ---- */
.social-proof {
  padding: var(--space-4xl) 0;
  background-color: var(--tint-white-warm);
  text-align: center;
}

.social-proof .section-heading {
  margin-bottom: var(--space-3xl);
}

.proof-testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  text-align: left;
  align-items: stretch;
}

.proof-testimonials .testimonial-card {
  display: flex;
  flex-direction: column;
}

.proof-testimonials .testimonial-quote {
  flex: 1;
}


/* ---- Final CTA ---- */
.final-cta {
  padding: var(--space-4xl) 0;
  background: linear-gradient(135deg, var(--color-sky-navy) 0%, var(--color-sky-navy) 40%, var(--tint-crimson-deep) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at 50% 0%, rgba(139, 25, 41, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.final-cta .container {
  position: relative;
  z-index: 1;
}

.final-cta h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 2.75rem;
  letter-spacing: 0.12em;
  color: var(--color-reserve-white);
  margin-bottom: var(--space-lg);
  line-height: 1.2;
}

.final-cta p {
  font-weight: 400;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 540px;
  margin: 0 auto var(--space-xl);
  line-height: 1.7;
}

.final-cta .btn-primary {
  font-size: 0.9rem;
  padding: 1.1rem 2.8rem;
}

.final-cta-tagline {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--color-reserve-white);
  margin-bottom: var(--space-md);
}

.final-cta-subtext {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  margin-top: var(--space-lg) !important;
  margin-bottom: 0 !important;
  letter-spacing: 0.03em;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 767px) {
  .hero--carousel .hero-headline { font-size: 1.85rem; letter-spacing: 0.06em; }
  .hero--carousel .hero-services { font-size: 0.88rem; line-height: 1.6; padding: 0 var(--space-sm); }
  .hero--carousel .hero-price { font-size: 1rem; }

  .service-cards { grid-template-columns: 1fr; }
  .service-cards--bottom { grid-template-columns: 1fr; max-width: 100%; }

  .why-grid { grid-template-columns: 1fr; }
  .why-image { order: -1; }
  .why-content .section-heading { font-size: 1.8rem; }

  .proof-testimonials { grid-template-columns: 1fr; }

  .final-cta h2 { font-size: 1.75rem; letter-spacing: 0.06em; }

  .services-grid,
  .why-section,
  .social-proof,
  .final-cta {
    padding: var(--space-3xl) 0;
  }

  /* Reduce mobile testimonial padding for tighter feel */
  .social-proof .section-heading { margin-bottom: var(--space-xl); }
  .proof-testimonials { gap: var(--space-lg); margin-bottom: 0; }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .hero--carousel .hero-headline { font-size: 3rem; }

  .service-cards { grid-template-columns: repeat(2, 1fr); }
  .service-cards--bottom { grid-template-columns: repeat(2, 1fr); max-width: 100%; }

  .why-grid { grid-template-columns: 1fr; }

  .proof-testimonials { grid-template-columns: 1fr; }
}


/* ----------------------------------------------------------------
   Contrast: crimson (#8B1929) on the dark service card measured 1.28:1 against the
   real rendered backdrop - far below the 4.5:1 WCAG AA floor, and unreadable in
   practice. The card's h3 is white and its p is white-75, so the price label joins
   that scale instead of fighting it.
   ---------------------------------------------------------------- */
.service-card .service-price { color: rgba(255, 255, 255, 0.85); }
