/* ==========================================================================
   GSAP 初始隱藏防護 (防止重整時元素提早曝光閃爍 FOUC)
   ========================================================================== */
.levelup-top,
.levelup-bottom,
.quote-text-wrapper,
.quote-text-item,
.quote-text-wrapper-3,
.kids-room-top,
.content10-text-wrapper,
.content11-text-wrapper,
.content12-title-wrapper,
.content12-logos-wrapper,
.content13-text-wrapper,
.content14-text-wrapper,
.content15-text-wrapper,
.content16-text-wrapper,
.content17-text-wrapper,
.amenities-top {
  visibility: hidden;
  opacity: 0;
}

.main-banner {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #fff;
}

.banner-bg {
  width: 100%;
  height: auto;
  display: block;
}

.banner-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.wanhsin-wrapper {
  position: absolute;
  top: 3vw;
  left: 3vw;
  width: 12vw;
  max-width: 220px;
  z-index: 4;
}

.banner-wanhsin {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.title-group-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 1vw;
  width: 80%;
  z-index: 3;
}

.title-wrapper {
  width: 60%;
  max-width: 700px;
  display: flex;
  justify-content: center;
}

.banner-title {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.logo-wrapper {
  width: 60%;
  max-width: 400px;
  display: flex;
  justify-content: flex-start;
}

.banner-logo {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.main-banner .banner-bg {
  opacity: 0;
}
.banner-content .wanhsin-wrapper {
  opacity: 0;
}
.banner-content .title-wrapper {
  opacity: 0;
}
.banner-content .logo-wrapper {
  opacity: 0;
}

@media (max-width: 1024px) {
  .wanhsin-wrapper {
    width: 16vw;
    max-width: 200px;
    top: 3.5vw;
    left: 3.5vw;
  }

  .title-group-wrapper {
    width: 65%;
    gap: 0;
  }

  .title-wrapper {
    width: 55%;
    max-width: none;
  }

  .logo-wrapper {
    width: 38%;
    max-width: none;
  }
}

@media (max-width: 768px) {
  .wanhsin-wrapper {
    width: 15vw;
    max-width: none;
    top: 4vw;
    left: 4vw;
  }

  .title-group-wrapper {
    width: 65%;
    gap: 0vw;
  }

  .title-wrapper {
    width: 60%;
    max-width: none;
  }

  .logo-wrapper {
    width: 40%;
    max-width: none;
  }
}

.content-section {
  width: 100%;
  position: relative;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.content-image {
  width: 100%;
  height: auto;
  display: block;
}

.quote-section {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.quote-bg {
  width: 100%;
  height: auto;
  display: block;
}

.quote-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.quote-text-wrapper {
  position: absolute;
  top: 20%;
  left: 12%;
  width: 45%;
  opacity: 0;
}

.quote-text {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

@media (max-width: 1024px) {
  .quote-text-wrapper {
    top: 18%;
    left: 10%;
    width: 55%;
  }
}

@media (max-width: 768px) {
  .quote-text-wrapper {
    top: 15%;
    left: 8%;
    width: 75%;
  }
}

.quote-section-2 {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.quote-text-wrapper-2 {
  position: absolute;
  top: 15%;
  left: 12%;
  width: 40%;
  display: flex;
  flex-direction: column;
  gap: 15vw;
}

.quote-text-item {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  opacity: 0;
}

@media (max-width: 1024px) {
  .quote-text-wrapper-2 {
    top: 15%;
    left: 10%;
    width: 55%;
  }
}

@media (max-width: 768px) {
  .quote-text-wrapper-2 {
    top: 12%;
    left: 8%;
    width: 45%;
    gap: 10vw;
  }
}

.levelup-section {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.levelup-bg {
  width: 100%;
  height: auto;
  display: block;
}

.levelup-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.levelup-top {
  position: absolute;
  top: 5%;
  left: 12%;
  width: 76%;
  opacity: 0;
}

.levelup-title-wrapper {
  width: 50%;
  margin-bottom: 25%;
}

.levelup-title {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.levelup-bottom {
  position: absolute;
  bottom: 12%;
  left: 12%;
  width: 76%;
  opacity: 0;
}

.levelup-item {
  width: 100%;
}

.levelup-item-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

@media (max-width: 1024px) {
  .levelup-top {
    top: 5%;
    left: 10%;
    width: 80%;
  }

  .levelup-title-wrapper {
    width: 55%;
    margin-bottom: 20%;
  }

  .levelup-bottom {
    bottom: 15%;
    left: 10%;
    width: 80%;
  }
}

@media (max-width: 768px) {
  .levelup-top {
    top: 8%;
    left: 8%;
    width: 84%;
  }

  .levelup-title-wrapper {
    width: 45%;
    margin-bottom: 15%;
  }

  .levelup-bottom {
    bottom: 15%;
    left: 8%;
    width: 84%;
  }
}

.quote-section-3 {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.quote-text-wrapper-3 {
  position: absolute;
  top: 12%;
  left: 12%;
  width: 55%;
  opacity: 0;
}

@media (max-width: 1024px) {
  .quote-text-wrapper-3 {
    top: 10%;
    left: 10%;
    width: 55%;
  }
}

@media (max-width: 768px) {
  .quote-text-wrapper-3 {
    top: 8%;
    left: 8%;
    width: 60%;
  }
}

.kids-room-section {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.kids-room-bg {
  width: 100%;
  height: auto;
  display: block;
}

.kids-room-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.kids-room-top {
  position: absolute;
  top: 8%;
  left: 12%;
  width: 76%;
  opacity: 0;
}

.kids-room-content-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.kids-room-bottom {
  position: absolute;
  bottom: 5%;
  right: 0;
  width: 85%;
}

.kids-room-photo {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

@media (max-width: 1024px) {
  .kids-room-top {
    top: 6%;
    left: 10%;
    width: 70%;
  }

  .kids-room-bottom {
    bottom: 5%;
    right: 0;
    width: 90%;
  }
}

@media (max-width: 768px) {
  .kids-room-top {
    top: 5%;
    left: 8%;
    width: 74%;
  }

  .kids-room-bottom {
    bottom: 5%;
    right: 0;
    width: 90%;
  }
}

.content10-section {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.content10-bg {
  width: 100%;
  height: auto;
  display: block;
}

.content10-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.content10-text-wrapper {
  position: absolute;
  top: 5%;
  left: 12%;
  width: 55%;
  opacity: 0;
}

.content10-text {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

@media (max-width: 1024px) {
  .content10-text-wrapper {
    top: 5%;
    left: 10%;
    width: 65%;
  }
}

@media (max-width: 768px) {
  .content10-text-wrapper {
    top: 5%;
    left: 8%;
    width: 70%;
  }
}

.content11-section {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.content11-bg {
  width: 100%;
  height: auto;
  display: block;
}

.content11-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.content11-text-wrapper {
  position: absolute;
  top: 6%;
  left: 15%;
  width: 65%;
  opacity: 0;
}

.content11-text {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

@media (max-width: 1024px) {
  .content11-text-wrapper {
    top: 5%;
    left: 12%;
    width: 75%;
  }
}

@media (max-width: 768px) {
  .content11-text-wrapper {
    top: 4%;
    left: 10%;
    width: 70%;
  }
}

.content12-section {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.content12-bg {
  width: 100%;
  height: auto;
  display: block;
}

.content12-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.content12-title-wrapper {
  position: absolute;
  top: 15%;
  left: 15%;
  width: 35%;
  opacity: 0;
}

.content12-title {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.content12-logos-wrapper {
  position: absolute;
  top: 50%;
  left: 15%;
  width: 60%;
  opacity: 0;
}

.content12-logos {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

@media (max-width: 1024px) {
  .content12-title-wrapper {
    top: 15%;
    left: 10%;
    width: 45%;
  }

  .content12-logos-wrapper {
    top: 50%;
    left: 10%;
    width: 80%;
  }
}

@media (max-width: 768px) {
  .content12-title-wrapper {
    top: 12%;
    left: 10%;
    width: 55%;
  }

  .content12-logos-wrapper {
    top: 55%;
    left: 10%;
    width: 80%;
  }
}

.content13-section {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.content13-bg {
  width: 100%;
  height: auto;
  display: block;
}

.content13-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.content13-text-wrapper {
  position: absolute;
  bottom: 15%;
  left: 15%;
  width: 65%;
  opacity: 0;
}

.content13-text {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

@media (max-width: 1024px) {
  .content13-text-wrapper {
    bottom: 13%;
    left: 10%;
    width: 70%;
  }
}

@media (max-width: 768px) {
  .content13-text-wrapper {
    bottom: 15%;
    left: 10%;
    width: 70%;
  }
}

.content14-section {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.content14-bg {
  width: 100%;
  height: auto;
  display: block;
}

.content14-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.content14-text-wrapper {
  position: absolute;
  bottom: 13%;
  left: 15%;
  width: 65%;
  opacity: 0;
}

.content14-text {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

@media (max-width: 1024px) {
  .content14-text-wrapper {
    bottom: 12%;
    left: 10%;
    width: 70%;
  }
}

@media (max-width: 768px) {
  .content14-text-wrapper {
    bottom: 11%;
    left: 10%;
    width: 70%;
  }
}

.content15-section {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.content15-bg {
  width: 100%;
  height: auto;
  display: block;
}

.content15-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.content15-text-wrapper {
  position: absolute;
  bottom: 18%;
  left: 15%;
  width: 70%;
  opacity: 0;
}

.content15-text {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

@media (max-width: 1024px) {
  .content15-text-wrapper {
    bottom: 18%;
    left: 10%;
    width: 70%;
  }
}

@media (max-width: 768px) {
  .content15-text-wrapper {
    bottom: 16%;
    left: 10%;
    width: 75%;
  }
}

.content16-section {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.content16-bg {
  width: 100%;
  height: auto;
  display: block;
}

.content16-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.content16-text-wrapper {
  position: absolute;
  bottom: 23%;
  left: 15%;
  width: 70%;
  opacity: 0;
}

.content16-text {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

@media (max-width: 1024px) {
  .content16-text-wrapper {
    bottom: 22%;
    left: 10%;
    width: 70%;
  }
}

@media (max-width: 768px) {
  .content16-text-wrapper {
    bottom: 22%;
    left: 10%;
    width: 70%;
  }
}

.content17-section {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.content17-bg {
  width: 100%;
  height: auto;
  display: block;
}

.content17-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.content17-text-wrapper {
  position: absolute;
  bottom: 15%;
  left: 15%;
  width: 60%;
  opacity: 0;
}

.content17-text {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

@media (max-width: 1024px) {
  .content17-text-wrapper {
    bottom: 8%;
    left: 10%;
    width: 70%;
  }
}

@media (max-width: 768px) {
  .content17-text-wrapper {
    bottom: 8%;
    left: 10%;
    width: 70%;
  }
}

.amenities-section {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.amenities-bg {
  width: 100%;
  height: auto;
  display: block;
}

.amenities-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.amenities-top {
  position: absolute;
  top: 5%;
  left: 12%;
  width: 76%;
  opacity: 0;
}

.amenities-content-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.amenities-bottom {
  position: absolute;
  bottom: 5%;
  left: 0;
  width: 76%;
}

.amenities-photo {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

@media (max-width: 1024px) {
  .amenities-top {
    top: 5%;
    left: 10%;
    width: 70%;
  }

  .amenities-bottom {
    bottom: 5%;
    left: 0%;
    width: 80%;
  }
}

@media (max-width: 768px) {
  .amenities-top {
    top: 5%;
    left: 8%;
    width: 74%;
  }

  .amenities-bottom {
    bottom: 5%;
    left: 0%;
    width: 84%;
  }
}

.floating-menu {
  position: fixed;
  bottom: 10%;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1000;
}

.float-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.float-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.float-btn svg {
  width: 30px;
  height: 30px;
}

.fb-btn {
  background-color: #1877f2;
}

.line-btn {
  background-color: #06c755;
}

.map-btn {
  background-color: #ea4335;
}

.phone-btn {
  background-color: #60573e;
}

@media (max-width: 768px) {
  .floating-menu {
    right: 15px;
    bottom: 5%;
    gap: 10px;
  }

  .float-btn {
    width: 48px;
    height: 48px;
  }

  .float-btn svg {
    width: 24px;
    height: 24px;
  }
}

.contact-section {
  width: 100%;
  background: linear-gradient(180deg, #f5f0e8 0%, #fff 100%);
  padding: 80px 5%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-container {
  width: 100%;
  max-width: 1400px;
}

.contact-title {
  text-align: center;
  color: #60573e;
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 6px;
  font-family: serif;
}

.contact-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #b2935b, #60573e);
  margin: 16px auto 40px;
  border-radius: 2px;
}

.contact-form {
  display: flex;
  flex-direction: column;
}

.form-row {
  display: flex;
  gap: 20px;
}

.hidden-honeypot {
  display: none !important;
}

.input-wrapper {
  position: relative;
  width: 100%;
  margin-bottom: 22px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid #c5baa3;
  border-radius: 8px;
  font-size: 16px;
  color: #3a3326;
  background-color: #fff;
  outline: none;
  font-family: inherit;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: #60573e;
  box-shadow: 0 0 0 3px rgba(96, 87, 62, 0.12);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #a09580;
  opacity: 1;
}

.form-select {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2360573e' d='M2 4l4 4 4-4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 14px;
  cursor: pointer;
}

.form-select:invalid,
.form-select option[value=""] {
  color: #a09580;
}

.form-select option {
  color: #333;
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.error-message {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  font-size: 13px;
  color: #d9534f;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.validation-icon {
  position: absolute;
  right: 14px;
  top: 16px;
  width: 18px;
  height: 18px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.3s ease;
}

.form-select + .validation-icon {
  right: 38px;
}

.input-wrapper.is-invalid .form-input,
.input-wrapper.is-invalid .form-select,
.input-wrapper.is-invalid .form-textarea {
  border-color: #d9534f;
  box-shadow: 0 0 0 3px rgba(217, 83, 79, 0.15);
}
.input-wrapper.is-invalid .error-message,
.input-wrapper.is-invalid .validation-icon {
  opacity: 1;
  visibility: visible;
}
.input-wrapper.is-invalid .validation-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d9534f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='8' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'%3E%3C/line%3E%3C/svg%3E");
}

.input-wrapper.is-valid .form-input,
.input-wrapper.is-valid .form-select,
.input-wrapper.is-valid .form-textarea {
  border-color: #5cb85c;
  box-shadow: 0 0 0 3px rgba(92, 184, 92, 0.15);
  color: #3a3326;
}
.input-wrapper.is-valid .validation-icon {
  opacity: 1;
  visibility: visible;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235cb85c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 11.08V12a10 10 0 1 1-5.93-9.14'%3E%3C/path%3E%3Cpolyline points='22 4 12 14.01 9 11.01'%3E%3C/polyline%3E%3C/svg%3E");
}

.form-agreement {
  display: flex;
  align-items: center;
  margin-top: 8px;
  margin-bottom: 0;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  cursor: pointer;
  position: relative;
  font-size: 14px;
  color: #555;
}

.form-checkbox {
  opacity: 0;
  position: absolute;
}

.checkmark {
  width: 20px;
  height: 20px;
  border: 1.5px solid #c5baa3;
  border-radius: 5px;
  margin-right: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.25s ease;
  flex-shrink: 0;
  margin-top: 1px;
  background: #fff;
}

.form-checkbox:checked ~ .checkmark {
  background-color: #60573e;
  border-color: #60573e;
}

.form-checkbox:checked ~ .checkmark::after {
  content: "";
  display: block;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin-bottom: 2px;
}

.input-wrapper.form-agreement.is-invalid .checkmark {
  border-color: #d9534f;
  box-shadow: 0 0 0 3px rgba(217, 83, 79, 0.15);
}
.input-wrapper.form-agreement.is-valid .checkmark {
  border-color: #5cb85c;
  box-shadow: 0 0 0 3px rgba(92, 184, 92, 0.15);
}
.input-wrapper.form-agreement.is-invalid .error-message {
  opacity: 1;
  visibility: visible;
}

.agreement-text {
  font-size: 15px;
  line-height: 1.6;
  color: #555;
}

.privacy-link {
  color: #b2935b;
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.2s;
}
.privacy-link:hover {
  color: #60573e;
}

.form-submit-btn {
  width: 100%;
  background: linear-gradient(135deg, #60573e 0%, #8a7d5a 100%);
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 16px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 28px;
  transition: all 0.3s ease;
  letter-spacing: 3px;
  box-shadow: 0 4px 15px rgba(96, 87, 62, 0.3);
}

.form-submit-btn:hover {
  background: linear-gradient(135deg, #4d4530 0%, #60573e 100%);
  box-shadow: 0 6px 20px rgba(96, 87, 62, 0.45);
  transform: translateY(-2px);
}

.form-submit-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(96, 87, 62, 0.3);
}

.form-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

@media (max-width: 768px) {
  .contact-section {
    padding: 50px 5%;
  }

  .contact-title {
    font-size: 30px;
    letter-spacing: 4px;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background-color: #fff;
  width: 90%;
  max-width: 700px;
  padding: 40px;
  border-radius: 16px;
  position: relative;
  transform: scale(0.9) translateY(20px);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.modal-overlay.active .modal-content {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  color: #999;
  transition: color 0.3s ease;
}

.modal-close:hover {
  color: #60573e;
}

.modal-title {
  color: #60573e;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
  text-align: center;
  letter-spacing: 2px;
}

.modal-body {
  max-height: 55vh;
  overflow-y: auto;
  padding-right: 10px;
  font-size: 16px;
  line-height: 1.9;
  color: #555;
  text-align: justify;
}

.modal-body::-webkit-scrollbar {
  width: 5px;
}
.modal-body::-webkit-scrollbar-thumb {
  background-color: #c5baa3;
  border-radius: 10px;
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 768px) {
  .modal-content {
    padding: 28px 20px;
  }
  .modal-title {
    font-size: 20px;
  }
  .modal-body {
    font-size: 14px;
  }
}

.site-footer {
  width: 100%;
  background-color: #271c00;
  color: #fff;
  text-align: center;
  padding: 24px 15px;
  font-size: 1rem;
  letter-spacing: 1px;
}

.site-footer p {
  margin: 0;
}
