*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family: 'Playfair Display', serif;
}

body{
  min-height:100vh;
  display:flex;
  flex-direction: column;
  align-items:center;
  color:#fff;
  background:
    linear-gradient(rgba(0,0,0,.55),rgba(0,0,0,.7)),
    url('../images/background/sups.webp')
    center/cover no-repeat fixed;
  background-attachment: fixed;
}

.container{
  max-width:1200px;
  margin:auto;
  padding:60px 24px;
}

.subtitle{
  margin-top:8px;
  font-weight:500;
  opacity:.9;
  color:#ffd369;
}

.logo {
  position: fixed;
  top: 24px;
  left: 24px;
  z-index: 9999;
  transition: transform 0.2s ease;
}
.logo:hover {
  transform: scale(1.02);
}
.logo img {
  width: 70px;
  height: auto;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

.hero{text-align:center;margin-bottom:40px;}
.hero h1{font-size:52px; letter-spacing: -0.5px; text-shadow: 0 2px 12px rgba(0,0,0,0.3);}
.hero p{opacity:.9;margin-top:12px; font-size: 1.2rem;}

/* Media Gallery */
.media-gallery {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  margin-bottom: 60px;
  background: rgba(0,0,0,0.2);
  backdrop-filter: blur(2px);
  box-shadow: 0 25px 40px -12px rgba(0,0,0,0.4);
}

.media-stage {
  position: relative;
  width: 100%;
  background: #000;
}

.media-slide {
  width: 100%;
  display: flex;
  transition: transform 0.5s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.media-item {
  flex: 0 0 100%;
  width: 100%;
  min-height: 480px;
  background: #1a1a2e;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.media-item img,
.media-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.media-item video {
  background: #000;
}

/* Fullscreen button */
.fullscreen-btn {
  position: absolute;
  bottom: 80px;
  right: 20px;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(8px);
  border: none;
  color: white;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  z-index: 25;
  font-weight: bold;
}
.fullscreen-btn:hover {
  background: #ffd369;
  color: #1e1e2a;
  transform: scale(1.05);
}

.media-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(8px);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  z-index: 20;
  pointer-events: none;
  border-left: 3px solid #ffd369;
}

.gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(6px);
  border: none;
  color: white;
  font-size: 28px;
  padding: 12px 18px;
  border-radius: 60px;
  cursor: pointer;
  transition: all 0.2s;
  z-index: 20;
  font-weight: bold;
}
.gallery-btn:hover {
  background: #ffd369;
  color: #1e1e2a;
}
.prev-btn { left: 16px; }
.next-btn { right: 16px; }

.gallery-dots {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 12px;
  z-index: 20;
  padding: 8px 20px;
  border-radius: 40px;
  width: fit-content;
  margin: 0 auto;
}

.gallery-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.2s;
}
.gallery-dot.active {
  background: #ffd369;
  width: 24px;
  border-radius: 12px;
}

/* Fullscreen Viewer */
.fullscreen-viewer {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  flex-direction: column;
  backdrop-filter: blur(12px);
}
.fullscreen-viewer.active { display: flex; }

.viewer-media {
  max-width: 90%;
  max-height: 85%;
  border-radius: 24px;
  box-shadow: 0 25px 50px rgba(0,0,0,0.5);
  object-fit: contain;
}
.viewer-close {
  position: absolute;
  top: 24px;
  right: 32px;
  font-size: 36px;
  color: #fff;
  cursor: pointer;
  background: rgba(0,0,0,0.5);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s;
}
.viewer-close:hover { background: #ff4d4f; }
.viewer-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 48px;
  color: white;
  background: rgba(0,0,0,0.5);
  width: 56px;
  height: 56px;
  border-radius: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.2s;
}
.viewer-nav:hover { background: #ffd369; color: #000; }
.viewer-prev { left: 24px; }
.viewer-next { right: 24px; }

/* Info */
.info {
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(16px);
  border-radius: 32px;
  padding: 40px 36px;
  border: 1px solid rgba(255,255,255,.2);
}

.accordion-item {
  border-bottom: 1px solid rgba(255,255,255,.2);
  margin: 12px 0;
}
.accordion-header {
  padding: 20px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  font-weight: 500;
  transition: 0.2s;
}
.accordion-header:hover { opacity: 0.85; }
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s;
  opacity: 0;
}
.accordion-item.active .accordion-content {
  max-height: 280px;
  opacity: 1;
  padding-bottom: 20px;
}

.buttons {
  display: flex;
  gap: 20px;
  margin-top: 36px;
  flex-wrap: wrap;
  justify-content: center;
}
.btn {
  padding: 14px 36px;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.2s;
  cursor: pointer;
  display: inline-block;
  text-align: center;
}
.btn-primary {
  background: #ffd369;
  color: #1e1e2a;
  box-shadow: 0 8px 18px rgba(0,0,0,0.2);
}
.btn-primary:hover {
  transform: translateY(-3px);
  background: #ffdf7e;
}

/* Popup - Ẩn scrollbar */
.popup {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.75);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10002;
  backdrop-filter: blur(6px);
}
.popup.active { display: flex; }
.popup-box {
  background: #fff;
  color: #1e1e2a;
  padding: 28px 30px 36px;
  border-radius: 36px;
  width: 90%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.popup-box::-webkit-scrollbar {
  display: none;
}
.popup-box h3 {
  font-size: 28px;
  margin-bottom: 20px;
}
.popup-box input, .popup-box select, .popup-box textarea {
  width: 100%;
  padding: 14px 16px;
  margin-bottom: 16px;
  border-radius: 24px;
  border: 1px solid #ddd;
  font-size: 15px;
  transition: 0.2s;
}
.popup-box input:focus, .popup-box select:focus, .popup-box textarea:focus {
  outline: none;
  border-color: #ffd369;
  box-shadow: 0 0 0 3px rgba(255,211,105,0.2);
}
.row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Country selector */
.phone-wrapper {
  margin-bottom: 8px;
}
.country-selector {
  position: relative;
  width: 100%;
  margin-bottom: 20px;  /* tăng từ 12px lên 20px hoặc 24px */
}
.country-selected {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  border-radius: 24px;
  border: 1px solid #ddd;
  background: #fff;
  cursor: pointer;
  font-size: 14px;
}
.country-selected #selectedName {
  color: #666;
  font-size: 13px;
  font-weight: normal;
}
.country-selected i {
  margin-left: auto;
  transition: transform 0.2s;
}
.country-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 16px;
  margin-top: 5px;
  z-index: 1000;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  max-height: 320px;
  overflow: hidden;
}
.country-dropdown input {
  width: 100%;
  padding: 12px;
  border: none;
  border-bottom: 1px solid #eee;
  border-radius: 16px 16px 0 0;
  font-size: 14px;
  outline: none;
}
.country-dropdown input:focus {
  border-bottom-color: #ffd369;
}
.country-list {
  max-height: 260px;
  overflow-y: auto;
}
.country-item {
  padding: 10px 12px;
  cursor: pointer;
  display: flex;
  gap: 10px;
  font-size: 14px;
  transition: background 0.2s;
}
.country-item:hover {
  background: #f5f5f5;
}
.country-list::-webkit-scrollbar {
  width: 4px;
}
.country-list::-webkit-scrollbar-track {
  background: #f1f1f1;
}
.country-list::-webkit-scrollbar-thumb {
  background: #ffd369;
  border-radius: 4px;
}
.phone-number {
  width: 100%;
  padding: 14px 16px;
  border-radius: 24px;
  border: 1px solid #ddd;
  font-size: 15px;
  margin-bottom: 0;
}
.row-2 { margin: 8px 0 12px; }
.field {
  position: relative;
  margin-top: 6px;
  flex:1;
}
/* SỬA LỖI DATE TRÊN IPHONE */
input[type="date"] {
  appearance: none;
  -webkit-appearance: none;
  min-height: 48px;
  display: block;
  padding: 12px 16px !important;
  line-height: normal;
}

.field label {
  position: absolute;
  left: 16px;
  top: -10px;
  background: white;
  font-size: 11px;
  padding: 0 8px;
  color: #666;
}
.price-box {
  background: #f8f9fa;
  border-radius: 24px;
  padding: 12px 16px;
  margin: 12px 0;
}
.price-value {
  font-size: 28px;
  font-weight: 800;
  color: #e67e22;
}
#submitBtn {
  background: #ffd369;
  border: none;
  width: 100%;
  padding: 16px;
  font-weight: bold;
  font-size: 18px;
  border-radius: 40px;
  cursor: pointer;
  transition: 0.2s;
}
#submitBtn:disabled { opacity: 0.6; cursor: not-allowed; }
.btn-loading {
  display: none;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(0,0,0,.2);
  border-top: 2px solid #000;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.loading .btn-text { display: none; }
.loading .btn-loading { display: inline-block; margin-left: 8px; }

/* Footer */
footer {
  margin-top: 50px;
  padding: 20px 20px 30px;
  width: 100%;
}
.footer-accordion {
  max-width: 1000px;
  margin: auto;
}
.acc-item {
  margin-bottom: 14px;
  border-radius: 28px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
}
.acc-header {
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 500;
}
.acc-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s;
  padding: 0 24px;
}
.acc-item.active .acc-content {
  padding: 8px 24px 24px;
  max-height: 280px;
}
.social a {
  display: inline-flex;
  margin-right: 12px;
  background: rgba(255,255,255,0.1);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  transition: 0.2s;
}
.social a:hover { background: #ffd369; color: #000; }
.footer-bottom { text-align: center; margin-top: 28px; font-size: 13px; opacity: 0.7; }

@keyframes spin { to { transform: rotate(360deg); } }

/* ========== RESPONSIVE ========== */
@media(min-width: 769px) {
  .media-item {
    height: 560px;
  }
  .media-item img, .media-item video {
    max-height: 560px;
  }
}

@media(max-width:768px) {
  .media-item {
    min-height: 420px;
    height: auto;
  }
  .hero {
    margin-top: 50px;
    margin-bottom: 30px;
  }
  .hero h1 {
    font-size: 38px;
  }
  .fullscreen-btn {
    width: 38px;
    height: 38px;
    font-size: 16px;
    bottom: 70px;
    right: 12px;
  }
  .media-item img, .media-item video {
    height: auto;
    min-height: 380px;
    max-height: 70vh;
  }
  .viewer-nav {
    display: none;
  }
  .viewer-close {
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    font-size: 28px;
  }
}

@media(max-width: 550px){
  .container {
    padding: 30px 16px;
  }
  .btn {
    padding: 10px 20px;
    font-size: 14px;
  }
  .logo img {
    width: 50px;
  }
  .info {
    padding: 28px 20px;
  }
}