/* Home page hero only (#home) — does not affect other sections */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700;800&family=Cormorant+Garamond:ital,wght@1,500;1,600;1,700&family=Poppins:wght@300;400;500;600&display=swap');

#home.hero-section {
  position: relative;
  width: 100%;
  /* Use 100dvh on iOS Safari so the hero adapts when the URL bar shows/hides;
     fall back to 100vh on older browsers that don't support dvh. */
  min-height: calc(100vh - var(--site-header-h, 114px));
  min-height: calc(100dvh - var(--site-header-h, 114px));
  background: #EEF3F5;
  padding: 28px 120px 80px;
  overflow: hidden;
  font-family: 'Poppins', sans-serif;
}

#home.hero-section::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 600px;
  height: 600px;
  background: #DCEBF1;
  border-radius: 50%;
  z-index: 0;
}

#home.hero-section::after {
  content: '';
  position: absolute;
  left: -150px;
  bottom: -150px;
  width: 350px;
  height: 350px;
  background: #E8E6DF;
  border-radius: 50%;
  z-index: 0;
}

#home.hero-section .circle-shape {
  position: absolute;
  width: 200px;
  height: 200px;
  background: #C9DCE5;
  border-radius: 50%;
  left: 40%;
  top: 45%;
  opacity: 0.8;
  z-index: 0;
}

#home.hero-section .hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

#home.hero-section .top-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #F6EED9;
  border: 1px solid #E6D5A7;
  color: #9B6C00;
  padding: 12px 22px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 40px;
}

#home.hero-section .hero-title {
  font-family: "Montserrat", "Poppins", "Arial", sans-serif;
  margin: 0 0 12px;
}

#home.hero-section .hero-title__line {
  display: block;
  font-family: "Montserrat", "Poppins", "Arial", sans-serif;
  font-size: clamp(42px, 4.8vw, 56px);
  line-height: 1.18;
  font-weight: 700;
}

#home.hero-section .hero-title__navy {
  color: var(--blue-900, #0a2d4a);
}


#home.hero-section .hero-title__orange {
  color: #e87820;
}

#home.hero-section .hero-title__accent {
  display: block;
  font-family: "Montserrat", "Poppins", "Arial", sans-serif;
  color: #1D6E92;
  font-weight: 600;
  font-size: clamp(32px, 5.2vw, 50px);
  line-height: 1.08;
  margin-top: 4px;
}

#home.hero-section .hero-description {
  font-size: 22px;
  line-height: 1.8;
  color: #3E4A5B;
  max-width: 620px;
  margin-bottom: 45px;
}

#home.hero-section .hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

#home.hero-section .hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 38px;
  border-radius: 60px;
  font-size: 20px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s ease;
  border: none;
  cursor: pointer;
}

#home.hero-section .btn-call {
  background: #156C8E;
  color: #fff;
  box-shadow: 0 10px 25px rgba(21, 108, 142, 0.25);
}

#home.hero-section .btn-call:hover {
  background: #115B75;
  color: #fff;
  transform: translateY(-3px);
}

#home.hero-section .btn-whatsapp {
  background: #25D366;
  color: #fff;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.25);
}

#home.hero-section .btn-whatsapp:hover {
  background: #1EBE5D;
  color: #fff;
  transform: translateY(-3px);
}

/* Smile + badges grouped (small gaps between all three) */
#home.hero-section .hero-visual-cluster {
  position: absolute;
  right: 120px;
  top: 120px;
  width: 486px;
  height: 455px;
  z-index: 3;
  overflow: visible;
}

#home.hero-section .floating-card {
  position: relative;
  z-index: 6;
  background: #fff;
  border-radius: 32px;
  padding: 0;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.07);
}

#home.hero-section .card-right {
  position: absolute;
  top: 170px;
  left: 138px;
  width: 288px;
  height: 288px;
  overflow: hidden;
  display: block;
  border-radius: 32px;
}

#home.hero-section .card-right__frame {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 32px;
}

#home.hero-section .card-right__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#home.hero-section .card-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #EAF4F8;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 28px;
}

#home.hero-section .card-title {
  font-size: 24px;
  font-weight: 600;
  color: #156C8E;
}

#home.hero-section .rating-card {
  position: absolute;
  bottom: -48px;
  left: -2px;
  right: auto;
  max-width: 132px;
  background: #fff;
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  z-index: 8;
}

#home.hero-section .rating-stars {
  color: #D4A017;
  font-size: 14px;
  margin-bottom: 4px;
  letter-spacing: 1px;
  line-height: 1;
}

#home.hero-section .rating-text {
  font-size: 13px;
  font-weight: 600;
  color: #1B2438;
  line-height: 1.3;
  margin: 0;
}

#home.hero-section .small-badge {
  position: absolute;
  top: 0;
  right: 24px;
  left: auto;
  background: #fff;
  padding: 8px;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  z-index: 10;
  overflow: hidden;
  line-height: 0;
}

#home.hero-section .small-badge__img {
  display: block;
  width: 154px;
  height: auto;
  border-radius: 12px;
}

/* Slow up-down float for smile, gold badge, and review card */
@keyframes hero-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

#home.hero-section .hero-float {
  animation: hero-float 5s ease-in-out infinite;
}

#home.hero-section .hero-float--delay-1 {
  animation-delay: 0.6s;
}

#home.hero-section .hero-float--delay-2 {
  animation-delay: 1.2s;
}

@media (prefers-reduced-motion: reduce) {
  #home.hero-section .hero-float {
    animation: none;
  }
}

@media (max-width: 1200px) {
  #home.hero-section {
    padding: 24px 60px 70px;
  }

  #home.hero-section .hero-title__line {
    font-size: clamp(34px, 4.8vw, 48px);
  }

  #home.hero-section .hero-title__accent {
    font-size: clamp(30px, 5.2vw, 54px);
  }

  #home.hero-section .hero-visual-cluster {
    right: 85px;
    top: 110px;
    width: 380px;
    height: 390px;
  }

  #home.hero-section .card-right {
    top: 150px;
    left: 118px;
    width: 268px;
    height: 268px;
  }

  #home.hero-section .small-badge {
    top: 0;
    right: 8px;
    left: auto;
  }

  #home.hero-section .small-badge__img {
    width: 132px;
  }

  #home.hero-section .rating-card {
    bottom: -44px;
    left: -2px;
  }
}

@media (max-width: 992px) {
  #home.hero-section {
    padding: 24px 30px 120px;
    min-height: auto;
  }

  #home.hero-section .hero-title__line {
    font-size: clamp(30px, 5.8vw, 42px);
  }

  #home.hero-section .hero-title__accent {
    font-size: clamp(26px, 6.5vw, 46px);
  }

  #home.hero-section .hero-description {
    font-size: 18px;
  }

  #home.hero-section .hero-visual-cluster {
    position: relative;
    right: auto;
    top: auto;
    width: 100%;
    max-width: 340px;
    height: auto;
    min-height: 415px;
    max-width: 360px;
    margin: 12px 24px 0 auto;
    transform: translateX(-16px);
  }

  #home.hero-section .card-right {
    position: absolute;
    top: 136px;
    left: auto;
    right: 8px;
    transform: none;
    width: calc(100% - 24px);
    max-width: 280px;
    height: 280px;
    margin: 0;
  }

  #home.hero-section .card-right.hero-float {
    animation-name: hero-float-mobile;
  }

  @keyframes hero-float-mobile {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
  }

  #home.hero-section .small-badge {
    top: 0;
    right: 0;
    left: auto;
  }

  #home.hero-section .small-badge__img {
    width: 120px;
  }

  #home.hero-section .rating-card {
    bottom: -36px;
    left: 0;
    padding: 10px 14px;
  }

  #home.hero-section .rating-stars {
    font-size: 13px;
  }

  #home.hero-section .rating-text {
    font-size: 12px;
  }

  #home.hero-section .circle-shape {
    display: none;
  }
}

@media (max-width: 480px) {
  #home.hero-section .hero-title__line {
    font-size: 1.45rem;
  }

  #home.hero-section .hero-title__accent {
    font-size: 1.6rem;
  }

  #home.hero-section .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  #home.hero-section .hero-btn {
    width: 100%;
  }

  #home.hero-section .hero-description {
    line-height: 1.6;
    font-size: 17px;
  }
}
