/* A Promise of Comfort — lite golden, TSC layout, compact mobile */

.home-promise {
  position: relative;
  padding: 36px 0 48px;
  overflow: hidden;
}

.home-promise-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    180deg,
    #fffdf6 0%,
    #fff9e8 48%,
    #faf0d4 48%,
    #f3e6c4 100%
  );
}

.home-promise-wrap {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  padding-left: 16px;
  padding-right: 16px;
}

.home-promise-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 992px) {
  .home-promise {
    padding: 44px 0 56px;
  }

  .home-promise-grid {
    grid-template-columns: minmax(220px, 32%) minmax(0, 68%);
    gap: 12px 28px;
    align-items: start;
    min-height: 420px;
  }
}

.home-promise-heading {
  padding: 0;
  min-width: 0;
}

.home-promise-title {
  margin: 0;
  display: block;
}

.home-promise-title-line {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: clamp(1.65rem, 4.5vw, 2.25rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #111827;
  white-space: nowrap;
}

@media (min-width: 992px) {
  .home-promise-heading {
    padding-top: 20px;
    padding-right: 8px;
  }
}

.home-promise-visual {
  position: relative;
  min-width: 0;
}

.home-promise-main-swiper {
  width: 100%;
  overflow: hidden;
}

.home-promise-canvas {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 4px;
}

.home-promise-photo-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  max-width: 480px;
  height: clamp(180px, 34vw, 320px);
  margin: 0 auto;
  overflow: hidden;
}

.home-promise-photo-wrap img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center bottom;
}

.home-promise-quote {
  position: relative;
  z-index: 3;
  width: min(100%, 600px);
  margin: -52px auto 0;
  padding: 24px 18px 20px;
  background: linear-gradient(180deg, #fff 0%, #fffdf8 100%);
  border-radius: 18px;
  text-align: center;
  box-shadow: 0 14px 40px rgba(201, 162, 39, 0.18);
  border: 1px solid rgba(201, 162, 39, 0.22);
}

@media (min-width: 992px) {
  .home-promise-photo-wrap {
    max-width: 540px;
    height: clamp(240px, 30vw, 340px);
  }

  .home-promise-quote {
    margin-top: -76px;
    padding: 32px 32px 24px;
    border-radius: 20px;
  }
}

.home-promise-qmark {
  font-family: Georgia, serif;
  color: #c5dff5;
  line-height: 1;
  pointer-events: none;
}

.home-promise-qmark--open {
  position: absolute;
  top: 12px;
  left: 16px;
  font-size: 2.5rem;
}

.home-promise-qmark--close {
  position: absolute;
  bottom: 50px;
  right: 16px;
  font-size: 2.5rem;
}

.home-promise-quote p {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(0.82rem, 1.65vw, 1rem);
  font-weight: 500;
  line-height: 1.55;
  color: #42556f;
  margin: 0 0 10px;
  padding: 2px 24px 0;
}

.home-promise-quote-title {
  margin: 0 0 8px;
  padding: 0 24px;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.3rem, 2.9vw, 1.8rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #1d3557;
}

.home-promise-quote cite {
  font-family: 'Poppins', sans-serif;
  font-style: normal;
  font-size: 0.85rem;
  font-weight: 500;
  color: #8a9bb0;
}

/* Horizontal name scroll */
.home-promise-dots-wrap {
  margin-top: 10px;
  padding: 0;
}

.home-promise-dots-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 4px 0 2px;
}

.home-promise-dots-scroll::-webkit-scrollbar {
  display: none;
}

.home-promise-dots {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  width: max-content;
  min-width: 100%;
  justify-content: flex-start;
  padding: 0 2px;
}

.home-promise-dot {
  flex-shrink: 0;
  border: 1px solid rgba(201, 162, 39, 0.4);
  background: #fffdf8;
  border-radius: 999px;
  padding: 7px 16px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.home-promise-dot.is-active {
  border-color: #c9a227;
  background: linear-gradient(135deg, #fffdf6 0%, #faecd0 100%);
  box-shadow: 0 3px 12px rgba(201, 162, 39, 0.28);
}

.home-promise-dot-name {
  font-family: 'Poppins', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: #4a3f1a;
  white-space: nowrap;
}

@media (max-width: 991.98px) {
  .home-promise {
    padding: 20px 0 28px;
  }

  .home-promise-wrap {
    padding-left: 14px;
    padding-right: 14px;
  }

  .home-promise-grid {
    gap: 8px;
  }

  .home-promise-title-line {
    font-size: 1.45rem;
  }

  .home-promise-visual {
    min-height: 0;
  }

  .home-promise-canvas {
    padding: 0;
  }

  .home-promise-photo-wrap {
    height: 160px;
    max-width: 100%;
  }

  .home-promise-quote {
    margin-top: -40px;
    padding: 20px 14px 16px;
    border-radius: 14px;
  }

  .home-promise-quote p {
    padding: 0 16px;
    font-size: 0.8rem;
    margin-bottom: 8px;
  }

  .home-promise-quote-title {
    padding: 0 18px;
    margin-bottom: 8px;
    font-size: 1.08rem;
  }

  .home-promise-qmark--open,
  .home-promise-qmark--close {
    font-size: 1.85rem;
  }

  .home-promise-qmark--close {
    bottom: 42px;
  }

  .home-promise-dots-wrap {
    margin-top: 8px;
  }

  .home-promise-dot {
    padding: 6px 14px;
  }

  .home-promise-dot-name {
    font-size: 0.74rem;
  }
}
