/* Mây Homestay — homepage-only styles (Views/Home/Index.cshtml) */

:root {
  --hs-cream: #fbf7ef;
  --hs-cream-alt: #f4efe3;
  --hs-green: #3e5a3a;
  --hs-green-dark: #2e4530;
  --hs-amber: #c17f3a;
  --hs-amber-dark: #a8672c;
  --hs-text: #2f2b22;
  --hs-text-muted: #8a8272;
  --hs-border: #e7e0d0;
}

body.home-page {
  background-color: var(--hs-cream);
  color: var(--hs-text);
  font-family: "Inter", sans-serif;
}

.home-page h1,
.home-page h2,
.home-page h3 {
  font-family: "Playfair Display", serif;
}

.home-page .font-script {
  font-family: "Caveat", cursive;
}

.home-page a {
  text-decoration: none;
}

.home-page .text-amber {
  color: var(--hs-amber);
}

.home-page .text-green {
  color: var(--hs-green);
}

.home-page .bg-cream-alt {
  background-color: var(--hs-cream-alt);
}

.home-page .section-eyebrow {
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--hs-green);
  text-transform: uppercase;
}

.home-page .section-link {
  color: var(--hs-amber);
  font-weight: 600;
  white-space: nowrap;
}

.home-page .section-link:hover {
  color: var(--hs-amber-dark);
}

/* ---------- Header ---------- */
.home-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background-color: #fff;
  border-bottom: 1px solid var(--hs-border);
}

.home-header .home-brand {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  line-height: 0;
  padding: 0;
}

/* Uploaded logos come in any shape: bounded both ways (a 3:1 logo fills the width as before). */
.home-header .home-brand-logo {
  width: auto;
  height: auto;
  max-width: 180px;
  max-height: 60px;
  display: block;
}

/* No logo uploaded yet: the name in its place. */
.home-header .home-brand-name,
.home-footer .footer-brand-name {
  display: block;
  line-height: 1.2;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--hs-text);
}

.home-header .nav-link {
  color: var(--hs-text);
  font-weight: 500;
}

.home-header .nav-link.active {
  color: var(--hs-amber);
  font-weight: 700;
  border-bottom: 2px solid var(--hs-amber);
}

/* Menu icons: mobile menu only, the desktop bar stays text-only. */
.home-nav-icon {
  display: none;
}

@media (max-width: 991.98px) {
  .home-header .nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }

  .home-nav-icon {
    display: inline-block;
    width: 1.25rem;
    font-size: 1.1rem;
    text-align: center;
    color: var(--hs-green);
  }

  .home-header .nav-link.active .home-nav-icon {
    color: var(--hs-amber);
  }

  .home-header .btn-book {
    margin-top: 0.25rem;
  }
}

.home-header .btn-book {
  background-color: var(--hs-amber);
  border-color: var(--hs-amber);
  color: #fff;
  border-radius: 50rem;
  font-weight: 600;
  padding: 0.55rem 1.25rem;
}

.home-header .btn-book:hover {
  background-color: var(--hs-amber-dark);
  border-color: var(--hs-amber-dark);
  color: #fff;
}

.home-member-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  max-width: 11rem;
  margin: 0 1rem 0.75rem 0;
  color: var(--hs-green);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.home-member-link i {
  font-size: 1.25rem;
}

.home-member-link span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-member-link:hover,
.home-member-link.active {
  color: var(--hs-green-dark);
}

@media (min-width: 992px) {
  .home-member-link {
    margin-bottom: 0;
  }
}

/* ---------- Hero ---------- */
.hero-section {
  padding-top: 3rem;
  position: relative;
}

.hero-feature {
  text-align: center;
}

.hero-feature i {
  font-size: 1.4rem;
  color: var(--hs-green);
}

.hero-feature span {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  margin-top: 0.4rem;
}

.hero-image-wrap {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
}

.hero-image-wrap img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

/* No homepage photo uploaded yet: the logo or the name on the brand background, at the photos' height. */
.hero-image-wrap .hero-image-empty {
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background:
    radial-gradient(circle at 15% 20%, rgba(193, 127, 58, 0.16) 0, transparent 45%),
    radial-gradient(circle at 85% 85%, rgba(62, 90, 58, 0.14) 0, transparent 50%),
    var(--hs-cream);
  font-size: 2rem;
  font-weight: 700;
  color: var(--hs-text);
  text-align: center;
}

.hero-image-wrap .hero-image-empty img {
  width: auto;
  height: auto;
  max-width: 70%;
  max-height: 60%;
  object-fit: contain;
}

.hero-quote-card {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0.5rem;
  padding: 0.75rem 1.25rem;
  font-family: "Caveat", cursive;
  font-size: 1.15rem;
  line-height: 1.2;
  color: var(--hs-text);
}

.hero-carousel-controls {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  gap: 0.5rem;
}

.hero-carousel-controls button {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  color: var(--hs-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero-quote-italic {
  font-family: "Caveat", cursive;
  font-size: 1.25rem;
  color: var(--hs-text-muted);
}

.hero-title {
  font-size: 2.6rem;
}

/* The homestay's name inside the hero H1 (_HeroCopy), drawn like the eyebrow line it used to be. */
.home-page .hero-title .hero-eyebrow {
  display: block;
  margin-bottom: 0.5rem;
  font-family: "Inter", sans-serif;
  line-height: 1.5;
}

/* Booking buttons, in the hero styles without a photo beside the text (Centered, Cover). */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.home-page .hero-actions .btn-book {
  background-color: var(--hs-amber);
  border-color: var(--hs-amber);
  color: #fff;
  border-radius: 50rem;
  font-weight: 600;
  padding: 0.6rem 1.4rem;
}

.home-page .hero-actions .btn-book:hover {
  background-color: var(--hs-amber-dark);
  border-color: var(--hs-amber-dark);
  color: #fff;
}

.hero-actions .hero-btn-rooms {
  border: 1px solid var(--hs-border);
  background: #fff;
  color: var(--hs-text);
  border-radius: 50rem;
  font-weight: 600;
  padding: 0.6rem 1.4rem;
}

.hero-actions .hero-btn-rooms:hover {
  border-color: var(--hs-amber);
  color: var(--hs-amber-dark);
}

/* Hero "Chữ ở giữa, ảnh rộng bên dưới". */
.hero-centered-copy {
  max-width: 760px;
  margin-bottom: 2.5rem;
}

.hero-image-wide img,
.hero-image-wide .hero-image-empty {
  height: 500px;
}

/* Hero "Ảnh lớn, chữ trên ảnh": the carousel fills the section, a veil keeps the white text readable. */
.hero-cover {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(480px, 78vh, 720px);
  overflow: hidden;
  background: var(--hs-green-dark);
  color: #fff;
}

.hero-cover-slides {
  position: absolute;
  inset: 0;
}

.hero-cover-slides .carousel-inner,
.hero-cover-slides .carousel-item {
  height: 100%;
}

.hero-cover-slides img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-cover-veil {
  position: absolute;
  inset: 0;
  /* Darkest behind the words in the middle: homestay photos are busy (furniture, mirrors, toys). */
  background:
    radial-gradient(ellipse 65% 55% at 50% 48%, rgba(14, 17, 12, 0.35), transparent 80%),
    linear-gradient(180deg, rgba(14, 17, 12, 0.62) 0%, rgba(14, 17, 12, 0.56) 50%, rgba(14, 17, 12, 0.72) 100%);
}

.hero-cover .hero-feature span {
  font-size: 0.88rem;
  font-weight: 600;
}

.hero-cover-copy .section-eyebrow,
.hero-cover-copy .hero-text,
.hero-cover-copy .hero-feature,
.hero-cover-copy .hero-quote-italic {
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
}

.hero-cover-copy {
  position: relative;
  z-index: 1;
  max-width: 820px;
  padding-block: 4rem 5rem;
}

.home-page .hero-cover .section-eyebrow,
.home-page .hero-cover .hero-title,
.hero-cover .hero-feature i,
.hero-cover .hero-feature span {
  color: #fff;
}

.hero-cover .hero-title {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.hero-cover .hero-text {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.92);
}

.hero-cover .hero-quote-italic {
  color: rgba(255, 255, 255, 0.85);
}

.hero-cover .hero-actions .hero-btn-rooms {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.75);
  color: #fff;
}

.hero-cover .hero-actions .hero-btn-rooms:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
}

.hero-cover .hero-quote-card {
  top: auto;
  bottom: 1.5rem;
  z-index: 1;
}

.hero-cover .hero-carousel-controls {
  top: auto;
  bottom: 1.5rem;
  z-index: 1;
}

/* ---------- Rooms ---------- */
.room-card {
  background: #fff;
  border: 1px solid var(--hs-border);
  border-radius: 0.85rem;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.room-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.room-card .room-body {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.room-card .room-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.room-card .room-amenities span {
  padding: 0.2rem 0.6rem;
  border: 1px solid #dfe8dc;
  border-radius: 50rem;
  background: #f3f7f1;
  color: var(--hs-text);
  font-size: 0.75rem;
}

.room-card .room-price {
  color: var(--hs-amber);
  font-weight: 700;
  margin-top: auto;
}

.room-card .btn-room-book {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--hs-amber);
  border-radius: 50rem;
  background-color: var(--hs-amber);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.room-card .btn-room-book:hover {
  background-color: var(--hs-amber-dark);
  border-color: var(--hs-amber-dark);
  color: #fff;
}

.room-card-photo {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}

.room-card-photo-count {
  position: absolute;
  right: 0.6rem;
  bottom: 0.6rem;
  padding: 0.15rem 0.55rem;
  border-radius: 50rem;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
}

/* Several photos: a strip swiped sideways, one photo per snap (room-card-photos.js). */
.room-card-slider {
  cursor: default;
  overflow: hidden;
}

.room-card-track {
  display: flex;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  cursor: zoom-in;
  background: var(--hs-cream, #f7f1e8);
}

.room-card-track::-webkit-scrollbar {
  display: none;
}

.room-card-track:focus-visible {
  outline: 2px solid var(--hs-amber);
  outline-offset: -2px;
}

.room-card .room-card-track img {
  flex: 0 0 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.room-card-nav {
  position: absolute;
  top: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--hs-text);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
  transform: translateY(-50%);
  opacity: 0;
  transition: opacity 0.15s;
}

.room-card-nav.is-prev { left: 0.5rem; }
.room-card-nav.is-next { right: 0.5rem; }
.room-card-nav[hidden] { display: none; }

.room-card-slider:hover .room-card-nav,
.room-card-nav:focus-visible {
  opacity: 1;
}

.room-card-dots {
  position: absolute;
  left: 50%;
  bottom: 0.65rem;
  display: flex;
  gap: 0.3rem;
  padding: 0.25rem 0.45rem;
  border-radius: 50rem;
  background: rgba(0, 0, 0, 0.3);
  transform: translateX(-50%);
  pointer-events: none;
}

.room-card-dots span {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  transition: background-color 0.2s, transform 0.2s;
}

.room-card-dots span.is-active {
  background: #fff;
  transform: scale(1.25);
}

/* Phones swipe; the arrows would only cover the photo. */
@media (hover: none) {
  .room-card-nav { display: none; }
}

/* Side by side when the card is wide enough, stacked on narrow cards instead of overflowing. */
.room-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.room-card-actions .btn-room-view,
.room-card-actions .btn-room-book {
  flex: 1 1 7.5rem;
}

.room-card .btn-room-view {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--hs-border);
  border-radius: 50rem;
  background: #fff;
  color: var(--hs-text);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.room-card .btn-room-view:hover {
  border-color: var(--hs-amber);
  color: var(--hs-amber-dark);
}

/* ---------- Check-in steps ---------- */
.checkin-steps {
  position: relative;
  display: flex;
  justify-content: space-between;
  margin: 2.5rem auto 0;
  max-width: 960px;
}

.checkin-steps::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 22px;
  right: 22px;
  height: 1px;
  border-top: 2px dashed var(--hs-border);
  z-index: 0;
}

.checkin-step {
  position: relative;
  z-index: 1;
  text-align: center;
  flex: 1;
  padding: 0 0.5rem;
}

.checkin-step .step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--hs-cream-alt);
  color: var(--hs-green);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  border: 1px solid var(--hs-border);
}

.checkin-step h6 {
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.checkin-step p {
  font-size: 0.85rem;
  color: var(--hs-text-muted);
}

/* ---------- Branches ---------- */
.branch-card {
  background: #fff;
  border: 1px solid var(--hs-border);
  border-radius: 0.85rem;
  overflow: hidden;
  height: 100%;
}

.branch-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.branch-card .branch-body {
  padding: 1rem;
}

.branch-card .branch-address {
  font-size: 0.85rem;
  color: var(--hs-text-muted);
}

/* ---------- Directions video ---------- */
.route-video-btn {
  border: 1px solid var(--hs-amber);
  border-radius: 50rem;
  background: rgba(193, 127, 58, 0.1);
  color: var(--hs-amber-dark);
  font-size: 0.84rem;
  font-weight: 700;
}

.route-video-btn:hover,
.route-video-btn:focus {
  border-color: var(--hs-amber-dark);
  background: var(--hs-amber);
  color: #fff;
}

.route-video-modal {
  border: 0;
  border-radius: 1rem;
}

.route-video-modal .modal-header {
  border-bottom-color: var(--hs-border);
}

.route-video-modal .modal-body {
  padding: 1.5rem;
  background: var(--hs-cream);
}

.route-video-portrait {
  position: relative;
  width: min(100%, 340px);
  aspect-ratio: 9 / 16;
  margin: 0 auto;
  border: 1px solid var(--hs-border);
  border-radius: 1rem;
  box-shadow: 0 1rem 2.5rem rgba(43, 40, 30, 0.12);
}

/* Keep the <video> itself a plain rectangle: rounding/shadowing it directly can make Chrome stop repainting frames. */
.route-video-portrait video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #111;
}

.route-video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 1.5rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--hs-green-dark), var(--hs-green));
  color: #fff;
  text-align: center;
  pointer-events: none;
}

.route-video-placeholder[hidden] {
  display: none;
}

.route-video-placeholder i {
  font-size: 2.25rem;
  color: #f4c982;
}

.route-video-placeholder strong {
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
}

.route-video-placeholder span {
  max-width: 430px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.85rem;
}

.route-video-placeholder code {
  color: #fff;
}

.route-guide-list {
  display: grid;
  gap: 1rem;
}

.route-guide-list > div {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

.route-guide-list i {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--hs-cream-alt);
  color: var(--hs-amber-dark);
}

.route-guide-list span {
  color: var(--hs-text-muted);
  font-size: 0.9rem;
}

.route-guide-list strong {
  display: block;
  margin-bottom: 0.15rem;
  color: var(--hs-text);
}

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: #fff;
  border: 1px solid var(--hs-border);
  border-radius: 0.85rem;
  padding: 1.25rem;
  height: 100%;
}

/* Guest-written text: the system's emoji font first, then the Noto web font (_EmojiFont) for the
   newer emoji Windows 10 lacks. */
.testimonial-card h6,
.testimonial-card p.quote {
  font-family: "Inter", "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
}

.testimonial-card .review-verified {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: 0.35rem;
  font-family: "Inter", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--hs-green);
  white-space: nowrap;
}

.testimonial-card .stars {
  color: #f0ad4e;
  font-size: 0.85rem;
}

.testimonial-card p.quote {
  font-size: 0.9rem;
  color: var(--hs-text);
  margin: 0.6rem 0 0;
  overflow-wrap: anywhere;
}

.testimonial-card .stars-empty {
  color: var(--hs-border);
}

.testimonial-card .review-date {
  margin-top: 0.5rem;
  color: var(--hs-text-muted);
  font-size: 0.75rem;
}

.testimonial-empty {
  padding: 2rem 1.25rem;
  border: 1px dashed var(--hs-border);
  border-radius: 0.85rem;
  background: #fff;
  color: var(--hs-text-muted);
  text-align: center;
}

.btn-write-review {
  border-radius: 50rem;
  background-color: var(--hs-green);
  border-color: var(--hs-green);
  color: #fff;
  font-weight: 600;
}

.btn-write-review:hover,
.btn-write-review:focus {
  background-color: var(--hs-green-dark);
  border-color: var(--hs-green-dark);
  color: #fff;
}

.testimonial-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}

.testimonial-track::-webkit-scrollbar {
  display: none;
}

.testimonial-page {
  flex: 0 0 100%;
  scroll-snap-align: start;
  display: grid;
  grid-template-columns: 1fr;
  align-content: start;
  gap: 1rem;
}

@media (min-width: 768px) {
  .testimonial-page {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.testimonial-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 1.25rem;
}

.testimonial-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--hs-border);
  border-radius: 50%;
  background: #fff;
  color: var(--hs-text);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.testimonial-arrow:hover {
  border-color: var(--hs-amber);
  color: var(--hs-amber);
}

.testimonial-dots {
  display: flex;
  gap: 0.5rem;
}

.testimonial-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--hs-border);
  transition: width 0.25s ease, background-color 0.25s ease;
}

.testimonial-dot.active {
  width: 24px;
  background: var(--hs-amber);
}

/* ---------- Contact ---------- */
.zalo-card {
  background: #2a6fd6;
  color: #fff;
  border-radius: 1rem;
  padding: 1.5rem;
  height: 100%;
}

.zalo-card .zalo-icon {
  width: 48px;
  height: 48px;
  border-radius: 0.6rem;
  background: #fff;
  color: #2a6fd6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.zalo-card ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.zalo-card ul li {
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

.zalo-card .btn-zalo {
  background: #fff;
  color: #2a6fd6;
  font-weight: 600;
  border-radius: 0.5rem;
}

.zalo-card-wide ul {
  margin-bottom: 0;
}

.zalo-qr-panel {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 0.85rem;
}

@media (min-width: 992px) {
  .zalo-card-wide {
    padding: 2rem 2.5rem;
  }

  .zalo-card-wide ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    margin: 1.25rem 0 0;
  }

  .zalo-card-wide ul li {
    margin-bottom: 0;
  }
}

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative;
  background: linear-gradient(120deg, var(--hs-green-dark), var(--hs-green));
  color: #fff;
  border-radius: 1rem;
  overflow: hidden;
  padding: 3rem 2rem;
}

.cta-banner .btn-cta {
  background: var(--hs-amber);
  border-color: var(--hs-amber);
  color: #fff;
  font-weight: 600;
  border-radius: 50rem;
  padding: 0.6rem 1.5rem;
}

.cta-banner .btn-cta:hover {
  background: var(--hs-amber-dark);
  border-color: var(--hs-amber-dark);
  color: #fff;
}

.cta-banner .cta-script {
  font-family: "Caveat", cursive;
  font-size: 1.3rem;
  opacity: 0.9;
}

/* ---------- Footer ---------- */
.home-footer {
  background: #fff;
  border-top: 1px solid var(--hs-border);
}

.home-footer .footer-brand {
  line-height: 0;
}

.home-footer .footer-brand-logo {
  width: auto;
  height: auto;
  max-width: 260px;
  max-height: 87px;
  display: block;
}

.home-footer h6 {
  font-weight: 700;
  margin-bottom: 1rem;
}

.home-footer .footer-link {
  color: var(--hs-text-muted);
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.home-footer .footer-link:hover {
  color: var(--hs-green);
}

.home-footer .social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--hs-cream-alt);
  color: var(--hs-green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.4rem;
}

.home-footer .social-icon-zalo {
  font-size: 0.68rem;
  font-weight: 700;
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid var(--hs-border);
  padding: 1rem 0;
  font-size: 0.85rem;
  color: var(--hs-text-muted);
}

@media (max-width: 767.98px) {
  body.home-page {
    padding-top: calc(57px + env(safe-area-inset-top, 0px));
  }

  .home-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
    width: 100%;
    padding-top: env(safe-area-inset-top, 0px);
  }

  .home-header .home-brand {
    gap: 0.4rem;
    margin-right: 0.5rem;
  }

  .home-header .home-brand-logo {
    max-width: 120px;
    max-height: 40px;
  }

  .home-header .home-brand-name {
    font-size: 1.15rem;
  }

  .home-footer .footer-brand-logo {
    max-width: 240px;
    max-height: 80px;
  }

  .hero-image-wrap img,
  .hero-image-wrap .hero-image-empty {
    height: 280px;
  }

  .hero-centered-copy {
    margin-bottom: 1.75rem;
  }

  .hero-cover {
    min-height: 560px;
  }

  .hero-cover-copy {
    padding-block: 3rem 5.5rem;
  }

  /* The photo card would sit on the buttons on a narrow screen. */
  .hero-cover .hero-quote-card {
    display: none;
  }

  .checkin-steps {
    flex-direction: column;
    gap: 1.5rem;
  }

  .checkin-steps::before {
    display: none;
  }
}

/* ---------- Policy / house rules page ---------- */
.policy-page {
  max-width: 780px;
}

.policy-section {
  margin-top: 2rem;
}

.policy-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.9rem;
}

.policy-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--hs-green);
  color: #fff;
  font-size: 0.95rem;
  font-family: "Inter", sans-serif;
}

.policy-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.policy-list li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--hs-text);
  line-height: 1.6;
}

.policy-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--hs-amber);
}

.policy-note {
  margin-top: 2.5rem;
  padding: 1.1rem 1.25rem;
  border: 1px dashed var(--hs-border);
  border-radius: 0.85rem;
  background: var(--hs-cream-alt);
  font-size: 0.92rem;
  color: var(--hs-text-muted);
}

.policy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.policy-link {
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--hs-border);
  border-radius: 999px;
  background: #fff;
  color: var(--hs-text);
  font-size: 0.88rem;
  text-decoration: none;
}

.policy-link:hover {
  border-color: var(--hs-green);
  color: var(--hs-green);
}

.policy-link.active {
  border-color: var(--hs-green);
  background: var(--hs-green);
  color: #fff;
}

.policy-list li p {
  margin: 0.35rem 0 0;
}

.policy-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.policy-table th,
.policy-table td {
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--hs-border);
  vertical-align: top;
}

.policy-table th {
  background: var(--hs-cream-alt);
  font-weight: 600;
}

.zalo-card.zalo-contact-card {
  height: auto;
}

.zalo-card .zalo-qr {
  background: #fff;
  border-radius: 0.6rem;
  padding: 0.4rem;
}

/* ---------- Price table ---------- */
/* Keep the section title clear of the sticky header when jumping to #pricing. */
#pricing {
  scroll-margin-top: 80px;
}

.price-table-wrap {
  background: #fff;
  border: 1px solid var(--hs-border);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(47, 43, 34, 0.06);
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
}

.price-table th,
.price-table td {
  padding: 1rem 0.75rem;
  border-right: 1px solid var(--hs-border);
  border-bottom: 1px solid var(--hs-border);
  vertical-align: middle;
}

.price-table tr > :last-child {
  border-right: 0;
}

.price-table tbody tr:last-child > * {
  border-bottom: 0;
}

.price-table thead th {
  background: var(--hs-cream);
}

.price-table .price-table-corner,
.price-table .price-day {
  font-weight: 700;
  color: var(--hs-text);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
}

.price-table tbody th {
  background: var(--hs-cream);
}

.price-combo-name {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--hs-amber-dark);
}

.price-amount {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--hs-green);
  white-space: nowrap;
}

.price-original {
  display: block;
  font-size: 0.8rem;
  color: var(--hs-text-muted);
}

.price-extra {
  display: block;
  font-size: 0.78rem;
  color: var(--hs-text-muted);
  margin-top: 0.15rem;
}

/* Tuesday deal: a row on wide screens, a column on phones. */
.price-table tr.price-deal > *,
.price-table .price-deal {
  background: #fdf3e4;
}

.price-table .price-day.price-deal,
.price-table tr.price-deal > .price-day {
  color: var(--hs-amber-dark);
}

.price-discount {
  display: inline-block;
  margin-top: 0.2rem;
  padding: 0.05rem 0.45rem;
  border-radius: 50rem;
  background: #c0392b;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
}

.price-placeholder {
  visibility: hidden;
}

.price-amenities {
  margin-top: 2rem;
  text-align: center;
}

.price-amenities ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 0.75rem;
}

.price-amenities li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #fff;
  border: 1px solid var(--hs-border);
  border-radius: 50rem;
  padding: 0.45rem 0.95rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.price-amenities li i {
  color: var(--hs-amber);
}

.home-page #pricing .btn-book,
.policy-page .btn-book {
  background-color: var(--hs-amber);
  border-color: var(--hs-amber);
  color: #fff;
  border-radius: 50rem;
  font-weight: 600;
  padding: 0.6rem 1.4rem;
}

.home-page #pricing .btn-book:hover,
.policy-page .btn-book:hover {
  background-color: var(--hs-amber-dark);
  border-color: var(--hs-amber-dark);
  color: #fff;
}

@media (max-width: 767.98px) {
  .price-table th,
  .price-table td {
    padding: 0.75rem 0.4rem;
  }

  .price-combo-name {
    font-size: 1rem;
  }

  .price-amount {
    font-size: 1rem;
  }
}

/* Branch card without a photo: brand panel with the logo. */
.branch-card .branch-visual {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 15% 20%, rgba(193, 127, 58, 0.14) 0, transparent 45%),
    radial-gradient(circle at 85% 85%, rgba(62, 90, 58, 0.12) 0, transparent 50%),
    var(--hs-cream);
  border-bottom: 1px solid var(--hs-border);
}

.branch-card .branch-visual .bi {
  font-size: 3.5rem;
  color: var(--hs-amber);
}

.branch-card .branch-visual img {
  width: 62%;
  max-width: 260px;
  height: auto;
  object-fit: contain;
}

/* Rooms grouped by branch (homepage, several branches only). */
.room-branch-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.room-branch-chips a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--hs-border);
  border-radius: 50rem;
  background: #fff;
  color: var(--hs-text);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.room-branch-chips a:hover {
  border-color: var(--hs-amber);
  color: var(--hs-amber-dark);
}

.room-branch-chips span {
  min-width: 1.4rem;
  padding: 0 0.4rem;
  border-radius: 50rem;
  background: var(--hs-cream, #f7f1e8);
  font-size: 0.75rem;
  text-align: center;
}

.room-branch-group + .room-branch-group {
  margin-top: 2.5rem;
}

/* Lands below the sticky header when reached from a chip. */
.room-branch-group[id] {
  scroll-margin-top: 6rem;
}

.room-branch-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding-bottom: 0.75rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--hs-border);
}

.room-card img.room-card-photo-empty {
  object-fit: contain;
  padding: 1.5rem 2rem;
  background: var(--hs-cream, #f7f1e8);
}

/* No photo and no logo: a house icon on the same panel. */
.room-card span.room-card-photo-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 180px;
  background: var(--hs-cream, #f7f1e8);
  color: var(--hs-amber);
  font-size: 3.5rem;
}
