:root {
  --brand-gold: #e0a95b;
  --text-main: #343434;
  --text-muted: #7a7a7a;
  --line-soft: #e8e8e8;
  --card-bg: #ffffff;
  --top-offset: 53px;
  --bottom-offset: 128px;
}

body#home.home-index {
  color: var(--text-main);
  background: #f7f1e8;
  padding-top: calc(var(--top-offset) + 4px);
  padding-bottom: 0;
}

#sposp_fixed_top {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

#sposp_fixed_top #bottom.top-contact {
  max-width: 750px;
  margin: 0 auto;
  padding: 8px 10px;
  border-bottom: 1px solid var(--line-soft);
}

#sposp_fixed_top #bottom.top-contact p {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

#sposp_fixed_top #bottom.top-contact p a {
  color: var(--text-muted);
}

#sposp_fixed_top #bottom.top-contact .sep {
  color: #c8c8c8;
}

#sposp_fixed_top .mian {
  height: 15px;
  max-width: 750px;
  margin: 0 auto;
  padding: 0 5px;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  gap: 4px;
}

#sposp_fixed_top .mian > div {
  flex: 1;
  min-width: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

#sposp_fixed_top .mian a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 15px;
  white-space: nowrap;
  color: var(--brand-gold);
  font-size: 12px;
  line-height: 1;
}

#sposp_fixed_top .mian a .layui-icon {
  margin: 0;
  padding: 0;
  font-size: 12px;
  line-height: 1;
  color: var(--brand-gold);
}

.sposp_container.home-page {
  margin-top: 0 !important;
  background: transparent;
  box-sizing: border-box;
  padding-bottom: var(--bottom-offset);
}

.sposp_body.hero-gallery p {
  margin: 0;
}

.sposp_body.hero-gallery img {
  display: block;
}

#kefu {
  width: 100%;
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 45;
  text-align: center;
  box-shadow: none;
}

#kefu .kefu-action,
#kefu .kefu-agreement,
#kefu #scroll-text {
  max-width: 750px;
  width: 100%;
  margin: 0 auto;
  background: var(--card-bg);
}

#kefu .kefu-action img {
  display: block;
  width: 100%;
  height: auto;
}

#kefu .kefu-agreement {
  box-sizing: border-box;
  padding: 4px 8px;
  font-size: 12px;
  line-height: 1.4;
}

#kefu .kefu-agreement label {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 3px;
}

#kefu .kefu-agreement a {
  color: #292fc8;
}

#scroll-text {
  width: 100%;
  overflow: hidden;
  color: #909090;
  font-size: 12px;
  letter-spacing: 0.5px;
  line-height: 30px;
}

.scroll-wrapper {
  white-space: nowrap;
  will-change: transform;
  animation: marquee-scroll 18s linear infinite;
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

.form-pop {
  width: 100%;
  height: 100vh;
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.8);
}

.success_box {
  max-width: 640px;
  width: 92%;
  margin: 18% auto 0;
  padding: 22px 12px 14px;
  border-radius: 8px;
  box-sizing: border-box;
  background-image: linear-gradient(to right, #ead3d1, #ffffff, #ead3d1);
}

.success_box h3 {
  width: 100%;
  text-align: center;
  font-size: 24px;
  line-height: 1.8;
}

.success_box p {
  width: 100%;
  text-align: center;
  font-weight: 700;
  font-size: 20px;
  line-height: 2;
}

#jump_type .btn_open {
  width: 90%;
  margin: 16px auto 18px;
  padding: 0;
  background: transparent !important;
  border: 0;
}

#jump_type .btn_open a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 58px;
  color: #fff;
  text-align: center;
  line-height: 1.3;
  font-size: 20px;
  font-weight: 700;
  opacity: 1 !important;
  border-radius: 8px;
  border: 0;
  background-image: none !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.14);
  animation: pulse 1.1s infinite;
}

#jump_type .btn_open.line a {
  color: #fff !important;
  background-color: #06c755 !important;
}

#jump_type .btn_open.whatsapp a {
  color: #fff !important;
  background-color: #16b777 !important;
  animation-delay: 0.16s;
}

#jump_type .btn_open a img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  margin-right: 8px;
  vertical-align: middle;
  object-fit: cover;
}

.modal-close {
  display: block;
  margin: 0 auto 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  padding: 6px 18px;
  font-size: 14px;
  cursor: pointer;
}

.consult-thanks-pop {
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}

.consult-thanks-pop .success_box {
  max-width: 420px;
  width: 90%;
  margin: 0 auto;
  padding: 24px 18px 18px;
  border-radius: 10px;
}

.consult-thanks-pop .success_box h3 {
  font-size: 24px;
  line-height: 1.6;
}

.consult-thanks-pop .success_box p {
  font-size: 16px;
  line-height: 1.7;
  padding: 6px 4px 14px;
}

.consult-thanks-pop .modal-close {
  width: 70%;
  height: 42px;
  margin: 8px auto 0;
  background: var(--brand-gold);
  font-size: 16px;
  font-weight: 700;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(0.96);
  }
}

.box_text .close {
  width: 100%;
  height: 20%;
  border: 0;
  margin: 0;
  padding: 0;
  background: transparent;
}

.box_text_describe {
  width: 98%;
  height: 100vh;
  margin: 0 1%;
  box-sizing: border-box;
  padding: 18px 12px;
  background: #fff;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}

.box_text_describe h2 {
  margin-bottom: 22px;
  border-bottom: 1px solid #ddd;
  font-size: 20px;
  font-weight: 700;
  line-height: 2;
}

.box_text_describe p {
  font-size: 13px;
  line-height: 1.65;
  white-space: pre-line;
}

@media (max-width: 420px) {
  :root {
    --top-offset: 53px;
    --bottom-offset: 136px;
  }

  #sposp_fixed_top .mian a {
    font-size: 12px;
    gap: 3px;
  }

  #sposp_fixed_top .mian a .layui-icon {
    font-size: 12px;
  }

  .success_box h3 {
    font-size: 20px;
  }

  .success_box p {
    font-size: 17px;
  }
}
