/* ==========================================================================
   RENEW CLEANING SOLUTIONS — Homepage Styles
   ========================================================================== */

/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
  padding: calc(var(--header-total-h) + var(--sp-12)) 0 var(--sp-16);
  background: linear-gradient(135deg, var(--clr-off-white) 0%, var(--clr-lavender-light) 100%);
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 120%;
  background: radial-gradient(ellipse, rgba(var(--clr-primary-rgb), 0.03) 0%, transparent 70%);
  pointer-events: none;
}

.hero--expansive {
  padding: 0;
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero__bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero__bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(23, 43, 58, 0.95) 0%, rgba(23, 43, 58, 0.7) 40%, transparent 100%);
}

.hero__content-wrapper {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-12);
  align-items: center;
  padding-top: var(--sp-10);
  padding-bottom: var(--sp-10);
}

.hero__content {
  position: relative;
  max-width: 650px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--clr-primary);
  margin-bottom: var(--sp-6);
  padding: var(--sp-2) var(--sp-4);
  background: rgba(var(--clr-primary-rgb), 0.06);
  border-radius: var(--radius-full);
}

.hero__eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--clr-gold);
  border-radius: var(--radius-full);
}

.hero__title {
  font-size: var(--fs-5xl);
  font-weight: var(--fw-extrabold);
  line-height: var(--lh-tight);
  letter-spacing: -0.03em;
  margin-bottom: var(--sp-6);
  color: var(--clr-white);
}

.hero__title span {
  background: linear-gradient(135deg, #FFF 0%, var(--clr-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.hero__description {
  font-size: var(--fs-lg);
  color: rgba(255, 255, 255, 0.9);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--sp-8);
  max-width: 520px;
}

.hero__ctas {
  display: flex;
  gap: var(--sp-4);
  margin-bottom: var(--sp-10);
  flex-wrap: wrap;
}

.hero__features {
  display: flex;
  gap: var(--sp-6);
  flex-wrap: wrap;
}

.hero__feature {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--clr-navy);
}

.hero__feature svg {
  width: 18px;
  height: 18px;
  color: var(--clr-gold);
}

/* Hero Image */
.hero__visual {
  position: relative;
}

.hero__image {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  position: relative;
  z-index: 1;
}

.hero__image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

/* Floating trust card */
.hero__floating-card {
  position: absolute;
  bottom: var(--sp-10);
  right: var(--sp-10);
  background: var(--clr-white);
  border-radius: var(--radius-xl);
  padding: var(--sp-6) var(--sp-8);
  box-shadow: var(--shadow-xl);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  border: var(--border-light);
}

.hero__float-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--clr-gold);
  border-radius: var(--radius-full);
  color: var(--clr-navy);
}

.hero__float-icon svg {
  width: 28px;
  height: 28px;
}

.hero__float-text {
  line-height: 1.3;
}

.hero__float-title {
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--clr-navy);
}

.hero__float-sub {
  font-size: var(--fs-xs);
  color: var(--clr-grey-500);
}

/* Decorative dot */
.hero__dot {
  position: absolute;
  top: -15px;
  right: -15px;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(var(--clr-gold-rgb), 0.15) 0%, transparent 70%);
  border-radius: var(--radius-full);
  z-index: 0;
}

@media (max-width: 991px) {
  .hero {
    padding: calc(var(--header-nav-h) + var(--sp-8)) 0 var(--sp-12);
  }
  .hero__grid {
    grid-template-columns: 1fr;
    gap: var(--sp-10);
  }
  .hero__title {
    font-size: var(--fs-4xl);
  }
  .hero__image img {
    height: 400px;
  }
  .hero__float-card {
    left: var(--sp-4);
    bottom: -15px;
  }
}

@media (max-width: 599px) {
  .hero__title {
    font-size: var(--fs-3xl);
  }
  .hero__description {
    font-size: var(--fs-base);
  }
  .hero__ctas {
    flex-direction: column;
  }
  .hero__ctas .btn {
    width: 100%;
    justify-content: center;
  }
  .hero__features {
    flex-direction: column;
    gap: var(--sp-3);
  }
  .hero__image img {
    height: 280px;
  }
}

/* ==========================================================================
   INTRO SECTION
   ========================================================================== */

.intro__image {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.intro__image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.intro__image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 30%;
  background: linear-gradient(to top, rgba(var(--clr-primary-rgb), 0.05), transparent);
  pointer-events: none;
}

.intro__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.intro__content p {
  font-size: var(--fs-md);
  color: var(--clr-grey-600);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--sp-6);
}

@media (max-width: 767px) {
  .intro__image img {
    height: 280px;
  }
}

/* ==========================================================================
   SERVICES GRID
   ========================================================================== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-6);
}

@media (max-width: 1199px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 899px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 599px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   WHY CHOOSE US
   ========================================================================== */

.why-us__image {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.why-us__image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.why-us__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.why-us__tagline {
  margin-top: var(--sp-8);
  padding: var(--sp-6);
  background: var(--clr-lavender-light);
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--clr-gold);
}

.why-us__tagline p {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: var(--fs-lg);
  color: var(--clr-primary);
  line-height: var(--lh-snug);
  margin: 0;
}

@media (max-width: 767px) {
  .why-us__image img {
    height: 300px;
  }
}

/* ==========================================================================
   BEFORE & AFTER PREVIEW
   ========================================================================== */

.ba-preview {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-8);
}

@media (max-width: 767px) {
  .ba-preview {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   SPECIAL OFFER
   ========================================================================== */

.special-offer {
  text-align: center;
}

.special-offer__benefits {
  display: flex;
  justify-content: center;
  gap: var(--sp-8);
  margin: var(--sp-8) 0;
  flex-wrap: wrap;
}

.special-offer__benefit {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  color: rgba(255, 255, 255, 0.95);
}

.special-offer__benefit svg {
  width: 22px;
  height: 22px;
  color: var(--clr-gold);
}

/* ==========================================================================
   SERVICE AREA
   ========================================================================== */

.service-area__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-12);
  align-items: start;
}

.service-area__text p {
  font-size: var(--fs-md);
  color: var(--clr-grey-600);
  margin-bottom: var(--sp-6);
}

.service-area__cities {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-3);
  margin-bottom: var(--sp-8);
}

.service-area__city {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-weight: var(--fw-medium);
  font-size: var(--fs-base);
  color: var(--clr-navy);
}

.service-area__city svg {
  width: 16px;
  height: 16px;
  color: var(--clr-primary);
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .service-area__content {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   BENTO SERVICES
   ========================================================================== */

.bento-service {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  padding: var(--sp-6);
  text-decoration: none;
  color: var(--clr-navy);
  position: relative;
  z-index: 1;
}

.bento-service--large {
  padding: var(--sp-10);
}

.bento-service__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform var(--duration-slow) var(--ease-out);
}

.bento-item:hover .bento-service__bg {
  transform: scale(1.05);
}

.bento-service__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(23, 43, 58, 0.9) 0%, rgba(23, 43, 58, 0.2) 60%, transparent 100%);
  z-index: -1;
}

.bento-service--large .bento-service__title {
  color: var(--clr-white);
  font-size: var(--fs-3xl);
  margin-bottom: var(--sp-2);
}

.bento-service--large .bento-service__desc {
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--fs-lg);
  max-width: 400px;
}

.bento-service--small .bento-service__icon {
  width: 48px;
  height: 48px;
  background: rgba(var(--clr-primary-rgb), 0.1);
  color: var(--clr-primary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-4);
}

.bento-service--small .bento-service__icon svg {
  width: 24px;
  height: 24px;
}

.bento-service--small .bento-service__title {
  font-size: var(--fs-xl);
  margin-bottom: var(--sp-2);
}

.bento-service--small .bento-service__desc {
  color: var(--clr-grey-600);
  font-size: var(--fs-sm);
}

.bento-service__arrow {
  position: absolute;
  bottom: var(--sp-6);
  right: var(--sp-6);
  width: 40px;
  height: 40px;
  background: var(--clr-white);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-primary);
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: translateX(-10px);
  transition: all var(--duration-base) var(--ease-out);
}

.bento-service__arrow svg {
  width: 20px;
  height: 20px;
}

.bento-item:hover .bento-service__arrow {
  opacity: 1;
  transform: translateX(0);
}

.bento-service--large .bento-service__arrow {
  bottom: var(--sp-10);
  right: var(--sp-10);
}

/* ==========================================================================
   STICKY SCROLL
   ========================================================================== */

.sticky-sidebar h2 {
  font-size: var(--fs-4xl);
  margin-bottom: var(--sp-6);
}

.sticky-sidebar p {
  font-size: var(--fs-lg);
  color: var(--clr-grey-600);
  margin-bottom: var(--sp-8);
}

.sticky-step {
  position: relative;
  padding: var(--sp-8);
  background: var(--clr-white);
  border-radius: var(--radius-2xl);
  border: var(--border-light);
  box-shadow: var(--shadow-lg);
}

.sticky-step__number {
  font-size: var(--fs-5xl);
  font-weight: var(--fw-extrabold);
  color: rgba(var(--clr-primary-rgb), 0.1);
  position: absolute;
  top: var(--sp-4);
  right: var(--sp-6);
}

.sticky-step__title {
  font-size: var(--fs-2xl);
  margin-bottom: var(--sp-4);
  color: var(--clr-navy);
}

.sticky-step__desc {
  color: var(--clr-grey-600);
  font-size: var(--fs-lg);
}

/* ==========================================================================
   BEFORE & AFTER
   ========================================================================== */

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}

@media (max-width: 991px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin-inline: auto;
  }
}

/* ==========================================================================
   FINAL CTA
   ========================================================================== */

.final-cta {
  text-align: center;
}

.final-cta h2 {
  color: var(--clr-white);
  margin-bottom: var(--sp-4);
}

.final-cta p {
  font-size: var(--fs-lg);
  color: rgba(255, 255, 255, 0.8);
  max-width: 580px;
  margin-inline: auto;
  margin-bottom: var(--sp-8);
}

.final-cta__buttons {
  display: flex;
  justify-content: center;
  gap: var(--sp-4);
  margin-bottom: var(--sp-10);
  flex-wrap: wrap;
}

.final-cta__features {
  display: flex;
  justify-content: center;
  gap: var(--sp-8);
  flex-wrap: wrap;
}

.final-cta__feature {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.75);
}

.final-cta__feature svg {
  width: 16px;
  height: 16px;
  color: var(--clr-gold);
}

@media (max-width: 599px) {
  .final-cta__buttons {
    flex-direction: column;
    align-items: center;
  }
  .final-cta__features {
    flex-direction: column;
    align-items: center;
  }
}

/* Keep the existing desktop composition; stack the current hero on mobile. */
@media (max-width: 991px) {
  .hero__content-wrapper { grid-template-columns: minmax(0, 1fr); gap: var(--sp-8); }
  .hero__floating-card { position: static; justify-self: start; max-width: 100%; }
  .hero__content { min-width: 0; }
  .hero__float-icon { flex-shrink: 0; }
}
@media (max-width: 767px) {
  .bento-grid .bento-item { display: flex; }
  .bento-grid .bento-service { flex: 0 0 auto; height: auto; min-height: 250px; }
  .bento-service--large { padding: var(--sp-6); }
  .sticky-content { width: 100%; min-width: 0; }
}
