/**
 * GREATO — โครงสร้างหลัก แบบต้น (variables, layout, utility)
 */
:root {
  --greato-blue: #2563eb;
  --greato-blue-dark: #1d4ed8;
  --greato-line: #06c755;
  --greato-line-dark: #05a347;
  --greato-purple: #7c3aed;
  --greato-gradient-start: #7c3aed;
  --greato-gradient-end: #2563eb;
  --greato-section-gray: #f3f4f6;
  --greato-footer: #0f172a;
  --greato-hero-min-h: 92vh;
  --greato-hero-brightness: 1.14;
  --greato-hero-contrast: 1.05;
  --greato-hero-saturate: 1.06;
  --greato-nav-shadow-scrolled:
    0 14px 44px rgba(0, 0, 0, 0.52),
    0 6px 16px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  --greato-nav-text-float:
    0 1px 2px rgba(0, 0, 0, 0.9),
    0 3px 12px rgba(0, 0, 0, 0.65),
    0 6px 22px rgba(0, 0, 0, 0.45);
  --greato-cream: #faf8f5;
  --greato-champagne: #f5f0e8;
  --greato-navy: #0f172a;
  --greato-navy-mid: #1e3a5f;
  --greato-gold: #c9a962;
  --greato-gold-light: #e8d5a3;
  --greato-gold-line: linear-gradient(
    90deg,
    transparent 0%,
    rgba(201, 169, 98, 0.2) 14%,
    rgba(232, 213, 163, 0.92) 50%,
    rgba(201, 169, 98, 0.2) 86%,
    transparent 100%
  );
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Kanit", system-ui, -apple-system, sans-serif;
  color: #1f2937;
  background-color: #fff;
}

@media (max-width: 991.98px) {
  body {
    padding-bottom: calc(4.85rem + env(safe-area-inset-bottom, 0px));
  }
}

#mainNav {
  transition:
    background-color 0.4s ease,
    box-shadow 0.4s ease,
    border-color 0.4s ease,
    backdrop-filter 0.4s ease;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}

/* เส้นทอง + ประกายวิ่ง — ไม่ใส่ position:relative (จะทับ fixed-top) */
.navbar-greato-gold,
.navbar-greato-solid {
  border-bottom: none !important;
  overflow: hidden;
}

.navbar-greato-gold::before,
.navbar-greato-solid::before,
.article-list-page #mainNav.navbar-greato-gold::before,
.article-detail-page #mainNav.navbar-greato-gold::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  pointer-events: none;
  z-index: 2;
}

.navbar-greato-gold::after,
.navbar-greato-solid::after,
.article-list-page #mainNav.navbar-greato-gold::after,
.article-detail-page #mainNav.navbar-greato-gold::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 0;
  height: 2px;
  background: var(--greato-gold-line);
  box-shadow: 0 0 14px rgba(201, 169, 98, 0.4);
  pointer-events: none;
  z-index: 3;
}

/* ประกายทองวิ่งตามแถบเมนูตอนเปิดหน้า */
.navbar-gold-shimmer {
  position: absolute;
  bottom: 0;
  left: -35%;
  width: min(22rem, 32vw);
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.35) 18%,
    var(--greato-gold-light) 42%,
    #fff 50%,
    var(--greato-gold-light) 58%,
    rgba(255, 255, 255, 0.35) 82%,
    transparent 100%
  );
  filter: drop-shadow(0 0 8px rgba(232, 213, 163, 0.95))
    drop-shadow(0 0 18px rgba(201, 169, 98, 0.75));
  pointer-events: none;
  z-index: 5;
  opacity: 0;
  animation: greato-navbar-gold-sweep 2.35s cubic-bezier(0.33, 0.12, 0.2, 1) 0.45s 1 forwards;
}

.navbar-gold-shimmer::before {
  content: "";
  position: absolute;
  top: -3px;
  left: 50%;
  width: 6px;
  height: 6px;
  margin-left: -3px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0%, var(--greato-gold-light) 45%, transparent 70%);
  box-shadow: 0 0 12px 2px rgba(255, 255, 255, 0.85);
  animation: greato-navbar-gold-spark 2.35s cubic-bezier(0.33, 0.12, 0.2, 1) 0.45s 1 forwards;
}

@keyframes greato-navbar-gold-sweep {
  0% {
    left: -35%;
    opacity: 0;
  }
  6% {
    opacity: 1;
  }
  94% {
    opacity: 1;
  }
  100% {
    left: 108%;
    opacity: 0;
  }
}

@keyframes greato-navbar-gold-spark {
  0%,
  100% {
    opacity: 0;
    transform: scale(0.4);
  }
  48% {
    opacity: 1;
    transform: scale(1.15);
  }
  52% {
    opacity: 0.85;
    transform: scale(0.95);
  }
}

@media (prefers-reduced-motion: reduce) {
  .navbar-gold-shimmer,
  .navbar-gold-shimmer::before {
    animation: none;
    opacity: 0;
  }
}

/* หน้าแรก — สีเดิม: โปร่งบน Hero, เข้มเมื่อ scroll */
#mainNav.bg-transparent:not(.navbar-scrolled) {
  background-color: transparent !important;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: none;
}

/* เงาที่ตัวหนังสือเมนู (บน Hero) — ไม่ใส่เงาที่แถบ bar */
#mainNav.bg-transparent:not(.navbar-scrolled).navbar-greato-gold .navbar-brand,
#mainNav.bg-transparent:not(.navbar-scrolled).navbar-greato-gold .nav-link {
  text-shadow: var(--greato-nav-text-float);
}

#mainNav.bg-transparent.navbar-scrolled {
  background-color: rgba(15, 23, 42, 0.94) !important;
  box-shadow: var(--greato-nav-shadow-scrolled);
}

#mainNav.bg-transparent.navbar-scrolled::after,
.navbar-greato-solid.navbar-scrolled::after {
  box-shadow: 0 0 18px rgba(201, 169, 98, 0.48);
}

.navbar-greato-gold .navbar-brand {
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #fff !important;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

.navbar-greato-gold .nav-link {
  position: relative;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.38);
  transition: color 0.25s ease, text-shadow 0.25s ease;
}

#mainNav.bg-transparent:not(.navbar-scrolled).navbar-greato-gold .navbar-brand {
  text-shadow:
    var(--greato-nav-text-float),
    0 0 18px rgba(201, 169, 98, 0.2);
}

#mainNav.bg-transparent:not(.navbar-scrolled).navbar-greato-gold .nav-link:hover,
#mainNav.bg-transparent:not(.navbar-scrolled).navbar-greato-gold .nav-link:focus {
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.85),
    0 3px 14px rgba(0, 0, 0, 0.55),
    0 0 16px rgba(232, 213, 163, 0.35);
}

.navbar-greato-gold .nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0.15rem;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--greato-gold-light), transparent);
  transform: translateX(-50%);
  transition: width 0.28s ease;
}

.navbar-greato-gold .nav-link:hover,
.navbar-greato-gold .nav-link:focus {
  color: var(--greato-gold-light) !important;
}

.navbar-greato-gold .nav-link:hover::after,
.navbar-greato-gold .nav-link:focus::after {
  width: 72%;
}

.navbar-greato-gold .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.45);
}

#mainNav .navbar-brand {
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

@media (min-width: 992px) {
  #mainNav .navbar-brand {
    font-size: 1rem;
  }
}

.hero-section {
  position: relative;
  min-height: var(--greato-hero-min-h);
  background-color: #0f172a;
  overflow: hidden;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
  filter: brightness(var(--greato-hero-brightness)) contrast(var(--greato-hero-contrast))
    saturate(var(--greato-hero-saturate));
  transform: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(15, 23, 42, 0.18) 0%,
    rgba(15, 23, 42, 0.28) 45%,
    rgba(15, 23, 42, 0.38) 100%
  );
}

.hero-section .z-2 {
  z-index: 2;
}

/* Hero typography — ขนาดเล็กลงจากเดิม (display-4 / lead ของ Bootstrap ใหญ่เกินไป) */
.hero-section .hero-title {
  font-size: clamp(1.35rem, 4.2vw, 2.35rem);
  line-height: 1.25;
  letter-spacing: 0.03em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.hero-section .hero-lead {
  font-size: clamp(1rem, 2.6vw, 1.25rem);
  font-weight: 400;
  line-height: 1.5;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
}

.hero-section .hero-tagline {
  font-size: clamp(0.92rem, 2.2vw, 1.05rem);
  font-weight: 400;
  line-height: 1.45;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.38);
}

.opacity-90 {
  opacity: 0.95;
}

/* —— เปิดหน้า: Hero stagger —— */
.hero-reveal__item {
  opacity: 0;
  transform: translateY(1.35rem);
  animation: greato-hero-reveal 0.72s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
  animation-delay: calc(0.14s + (var(--reveal-i, 0) * 0.11s));
}

@keyframes greato-hero-reveal {
  to {
    opacity: var(--reveal-end-opacity, 1);
    transform: translateY(0);
  }
}

.hero-tagline.hero-reveal__item {
  --reveal-end-opacity: 0.95;
}

/* —— Scroll: section fade-in (ซ่อนเฉพาะเมื่อ JS พร้อม — กันเนื้อหาหายถ้า script ไม่รัน) —— */
.greato-scroll-reveal {
  opacity: 1;
  transform: none;
}

html.greato-scroll-ready .greato-scroll-reveal:not(.is-visible) {
  opacity: 0;
  transform: translateY(1.75rem);
}

html.greato-scroll-ready .greato-scroll-reveal {
  transition:
    opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}

html.greato-scroll-ready .greato-scroll-reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .hero-reveal__item {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .hero-tagline.hero-reveal__item {
    opacity: 0.95;
  }

  html.greato-scroll-ready .greato-scroll-reveal:not(.is-visible) {
    opacity: 1;
    transform: none;
  }
}

.section-booking {
  background-color: var(--greato-section-gray);
}

.section-reviews {
  background-color: var(--greato-section-gray);
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.25rem;
}

.calendar-dates {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.45rem;
  text-align: center;
  font-size: 0.9rem;
  min-height: 16rem;
  color: #1f2937;
}

.calendar-legend-note {
  line-height: 1.5;
}

.calendar-legend-pill {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  vertical-align: middle;
}

.calendar-legend-pill--vacant {
  background-color: rgba(5, 150, 105, 0.15);
  color: #047857;
}

.calendar-legend-pill--full {
  background-color: rgba(220, 38, 38, 0.12);
  color: #b91c1c;
}

.calendar-dates .calendar-pad {
  padding: 0.45rem 0.15rem;
  border-radius: 0.5rem;
  opacity: 0;
  pointer-events: none;
  user-select: none;
  min-height: 3.25rem;
}

.calendar-dates button.calendar-day {
  padding: 0.35rem 0.2rem 0.45rem;
  border: 0;
  border-radius: 0.65rem;
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
  width: 100%;
  min-height: 3.35rem;
  font-family: inherit;
  line-height: 1.15;
  cursor: pointer;
  color: #1f2937;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  -webkit-appearance: none;
  appearance: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.calendar-dates button.calendar-day:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1);
}

.calendar-day-num {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
}

.calendar-day-status {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.12rem 0.4rem;
  border-radius: 999px;
  line-height: 1.2;
}

.calendar-day-status--vacant {
  background-color: rgba(16, 185, 129, 0.18);
  color: #047857;
}

.calendar-day-status--full {
  background-color: rgba(239, 68, 68, 0.18);
  color: #b91c1c;
}

.calendar-dates button.calendar-day--booked:not(.active) {
  background: linear-gradient(180deg, #fef2f2 0%, #fff 100%);
}

.calendar-dates button.calendar-day:not(:disabled):not(.active):hover {
  background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%);
}

.calendar-dates button.calendar-day:focus-visible {
  outline: 2px solid var(--greato-blue);
  outline-offset: 2px;
}

.calendar-dates button.calendar-day.active {
  background: linear-gradient(135deg, var(--greato-blue) 0%, var(--greato-blue-dark) 100%);
  color: #fff;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
}

.calendar-dates button.calendar-day.active .calendar-day-num {
  color: #fff;
}

.calendar-dates button.calendar-day.active .calendar-day-status--vacant,
.calendar-dates button.calendar-day.active .calendar-day-status--full {
  background-color: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.calendar-dates button.calendar-day.calendar-today:not(.active):not(:disabled) {
  box-shadow: inset 0 0 0 2px var(--greato-blue);
}

.calendar-dates button.calendar-day:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.calendar-dates button.calendar-day--past .calendar-day-status {
  opacity: 0.75;
}

.review-avatar {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.contact-icon {
  width: 2rem;
  flex-shrink: 0;
  color: var(--greato-blue);
}

.contact-icon-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: rgba(37, 99, 235, 0.1);
  color: var(--greato-blue);
  font-size: 1.1rem;
}

.contact-phone-stack a:hover {
  color: var(--greato-blue) !important;
}

.line-banner {
  background-color: var(--greato-line);
}

.footer-dark {
  background-color: var(--greato-footer);
}

.gallery-img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gallery-img--zoomable {
  cursor: zoom-in;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-img--zoomable:hover {
  transform: scale(1.02);
  box-shadow: 0 0.5rem 1rem rgba(15, 23, 42, 0.12);
}

.gallery-img--zoomable:focus-visible {
  outline: 2px solid var(--greato-blue);
  outline-offset: 3px;
}

/* แถบด่วนมือถือ — dock ลอย กระจก + มุมโค้ง (ซ่อน ≥ lg) */
.mobile-quick-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1040;
  display: flex;
  justify-content: center;
  pointer-events: none;
  padding: 0 0.65rem max(0.5rem, env(safe-area-inset-bottom, 0px));
}

.mobile-quick-bar__dock {
  pointer-events: auto;
  display: flex;
  align-items: stretch;
  width: 100%;
  max-width: 28rem;
  gap: 0.3rem;
  padding: 0.4rem;
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow:
    0 -2px 20px rgba(15, 23, 42, 0.06),
    0 12px 40px rgba(15, 23, 42, 0.14);
  overflow: visible;
}

@keyframes mqb-wave-line {
  0%,
  100% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.28),
      0 0 0 0 rgba(255, 255, 255, 0.45);
  }
  55% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.28),
      0 0 0 10px rgba(255, 255, 255, 0);
  }
}

@keyframes mqb-wave-call {
  0%,
  100% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.75),
      0 0 0 0 rgba(37, 99, 235, 0.35);
  }
  55% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.75),
      0 0 0 9px rgba(37, 99, 235, 0);
  }
}

.mobile-quick-bar__btn {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  padding: 0.4rem 0.2rem 0.5rem;
  border-radius: 0.95rem;
  text-decoration: none;
  text-align: center;
  color: #475569;
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.01em;
  border: none;
  background: transparent;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.12s ease;
  overflow: visible;
}

.mobile-quick-bar__btn:active {
  transform: scale(0.97);
}

.mobile-quick-bar__btn:focus-visible {
  outline: 2px solid var(--greato-blue);
  outline-offset: 2px;
}

.mobile-quick-bar__icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 50%;
  font-size: 1.2rem;
  background: linear-gradient(145deg, #eff6ff 0%, #e0e7ff 100%);
  color: var(--greato-blue);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.mobile-quick-bar__btn--call .mobile-quick-bar__icon-wrap {
  background: linear-gradient(145deg, #f8fafc 0%, #e2e8f0 100%);
  color: #334155;
  animation: mqb-wave-call 2.5s ease-out infinite;
  animation-delay: 0.4s;
}

.mobile-quick-bar__label {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 0 0.1rem;
}

.mobile-quick-bar__sub {
  display: block;
  font-size: 0.58rem;
  font-weight: 500;
  opacity: 0.9;
  margin-top: -0.05rem;
}

/* ปุ่ม LINE — เน้นกลางแต่ขนาดพอดีกับปุ่มข้าง */
.mobile-quick-bar__btn--line {
  flex: 1.02 1 0;
  color: #fff !important;
  background: linear-gradient(180deg, #12d26a 0%, var(--greato-line) 45%, var(--greato-line-dark) 100%) !important;
  box-shadow:
    0 2px 10px rgba(6, 199, 85, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  border-radius: 0.85rem;
  padding: 0.32rem 0.15rem 0.38rem;
  gap: 0.12rem;
}

.mobile-quick-bar__btn--line:active {
  filter: brightness(0.95);
}

.mobile-quick-bar__btn--line .mobile-quick-bar__icon-wrap--line {
  width: 2.1rem;
  height: 2.1rem;
  font-size: 0.98rem;
  background: rgba(255, 255, 255, 0.2) !important;
  color: #fff !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
  animation: mqb-wave-line 2.5s ease-out infinite;
}

.mobile-quick-bar__btn--line .mobile-quick-bar__label {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.mobile-quick-bar__btn--line .mobile-quick-bar__sub {
  font-size: 0.5rem;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 500;
  margin-top: -0.08rem;
}

.mobile-quick-bar__btn--book:active,
.mobile-quick-bar__btn--call:active {
  background-color: rgba(241, 245, 249, 0.95);
}

@media (prefers-reduced-motion: reduce) {
  .mobile-quick-bar__btn--line .mobile-quick-bar__icon-wrap--line,
  .mobile-quick-bar__btn--call .mobile-quick-bar__icon-wrap {
    animation: none !important;
  }
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .mobile-quick-bar__dock {
    background: #fff;
  }
}

/* แผนที่ติดต่อ — iframe เต็มกรอบ ratio ของ Bootstrap */
.map-embed-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* มือถือ: สูงขึ้นเล็กน้อย (4:3) เพื่อให้แผนที่อ่านง่ายขึ้น */
@media (max-width: 575.98px) {
  .map-embed-frame {
    --bs-aspect-ratio: 75%;
  }
}

/* เนื้อหาโปรโมชัน & ที่เที่ยว */
.nearby-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.nearby-list li:last-child {
  border-bottom: 0;
}

.nearby-list li span:last-child {
  flex-shrink: 0;
  font-weight: 500;
  color: var(--greato-blue);
}

.rules-ordered {
  padding-left: 1.25rem;
}

.rules-ordered li::marker {
  font-weight: 600;
  color: var(--greato-blue);
}

.villa-bullets li {
  position: relative;
  padding-left: 0.5rem;
}

#roomsAccordion .accordion-button {
  font-size: 0.875rem;
  box-shadow: none !important;
}

#roomsAccordion .accordion-button:not(.collapsed) {
  background-color: rgba(37, 99, 235, 0.08);
  color: var(--greato-blue-dark);
}

/* Rates — booking offer card */
.rate-section {
  background: linear-gradient(180deg, #f8fafc 0%, #fff 55%, var(--greato-section-gray) 100%);
}

.rate-section-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #92400e;
  background: linear-gradient(90deg, #fff8e8, var(--greato-gold-light), #fff8e8);
  border: 1px solid rgba(201, 169, 98, 0.45);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
}

.rate-section-lead {
  max-width: 36rem;
}

.rate-offer-card {
  border-radius: 1.25rem;
  overflow: hidden;
  background: #fff;
  box-shadow:
    0 4px 6px rgba(15, 23, 42, 0.04),
    0 20px 48px rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.12);
}

.rate-offer-hero {
  text-align: center;
  padding: 2rem 1.5rem 1.75rem;
  background: linear-gradient(
    135deg,
    #0f172a 0%,
    #1e3a5f 42%,
    var(--greato-blue-dark) 100%
  );
  color: #fff;
  position: relative;
}

.rate-offer-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(232, 213, 163, 0.18) 0%, transparent 65%);
  pointer-events: none;
}

.rate-offer-hero > * {
  position: relative;
  z-index: 1;
}

.rate-offer-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #422006;
  background: var(--greato-gold-line);
  border-radius: 999px;
  padding: 0.3rem 0.85rem;
  margin-bottom: 0.75rem;
}

.rate-offer-title {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
  opacity: 0.95;
}

.rate-offer-start {
  line-height: 1.1;
}

.rate-offer-start-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0.85;
  margin-bottom: 0.2rem;
}

.rate-offer-start-price {
  font-size: clamp(2.5rem, 7vw, 3.25rem);
  font-weight: 800;
  color: var(--greato-gold-light);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.rate-offer-start-unit {
  margin-left: 0.2rem;
  font-size: 1.05rem;
  font-weight: 600;
  opacity: 0.9;
}

.rate-offer-chips li {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
}

.rate-offer-chips .bi {
  margin-right: 0.2rem;
  color: var(--greato-gold-light);
}

.rate-offer-tier {
  padding: 1rem 1.15rem;
  border-radius: 0.9rem;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.08);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.rate-offer-tier--featured {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.06) 0%, rgba(37, 99, 235, 0.02) 100%);
  border: 2px solid rgba(37, 99, 235, 0.35);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.12);
}

.rate-offer-tier--holiday {
  background: linear-gradient(135deg, #fff5f5 0%, #fef2f2 100%);
  border-color: rgba(220, 38, 38, 0.2);
}

.rate-offer-tier-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.rate-offer-tier-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
  background: var(--greato-blue);
  border-radius: 0.35rem;
  padding: 0.2rem 0.5rem;
  margin-bottom: 0.35rem;
}

.rate-offer-tier-day {
  font-size: 0.95rem;
  font-weight: 600;
  color: #334155;
}

.rate-offer-tier-price {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--greato-blue-dark);
  line-height: 1.1;
}

.rate-offer-tier-price span {
  font-size: 0.95rem;
  font-weight: 600;
  color: #64748b;
}

.rate-offer-tier--holiday .rate-offer-tier-price {
  color: #b91c1c;
}

.rate-offer-tier-note {
  font-size: 0.8rem;
  color: #64748b;
  line-height: 1.45;
  max-width: 22rem;
}

.rate-offer-tier-per {
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 500;
}

/* Deposit policy — all packages */
.rate-deposit-policy {
  padding: 1rem 1.15rem;
  border-radius: 0.85rem;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(37, 99, 235, 0.04) 100%);
  border: 2px solid rgba(37, 99, 235, 0.28);
}

.rate-deposit-policy--compact {
  padding: 0.9rem 1rem;
}

.rate-deposit-policy--inline {
  padding: 0.75rem 1rem;
  background: rgba(37, 99, 235, 0.06);
  border: 1px solid rgba(37, 99, 235, 0.2);
}

.rate-deposit-policy-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--greato-blue-dark);
  margin-bottom: 0.5rem;
}

.rate-deposit-policy-title .bi {
  color: var(--greato-blue);
  margin-right: 0.25rem;
}

.rate-deposit-policy-list {
  padding-left: 1.15rem;
  margin-bottom: 0;
  color: #334155;
  font-size: 0.88rem;
  line-height: 1.55;
}

.rate-deposit-policy-list li + li {
  margin-top: 0.35rem;
}

.rate-deposit-policy-warn {
  color: #b91c1c;
  font-weight: 600;
}

.rate-deposit-pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #fff;
  background: var(--greato-blue);
  border-radius: 999px;
  padding: 0.22rem 0.65rem;
}

.rate-deposit-pill--tier {
  display: inline-block;
}

.rate-offer-tier-top .text-md-end .rate-deposit-pill--tier {
  margin-left: auto;
}

.rate-offer-tier--featured .rate-offer-tier-per {
  color: var(--greato-blue);
  font-weight: 600;
}

.rate-offer-cta .btn-booking {
  min-width: 14rem;
}

@media (min-width: 768px) {
  .rate-offer-tier-top {
    align-items: center;
  }
}

/* Promo — luxury section */
.promo-section {
  background: linear-gradient(180deg, var(--greato-cream) 0%, #fff 45%, var(--greato-champagne) 100%);
  border-bottom: 1px solid rgba(201, 169, 98, 0.2);
}

.promo-section-header {
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

.promo-section-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--greato-gold);
}

.promo-section-title {
  font-family: "Noto Serif Thai", "Kanit", serif;
  font-size: clamp(1.65rem, 4vw, 2.25rem);
  font-weight: 600;
  color: var(--greato-navy);
  letter-spacing: 0.02em;
  line-height: 1.25;
}

.promo-section-subtitle {
  font-size: 1.05rem;
  font-weight: 300;
  color: #64748b;
  letter-spacing: 0.04em;
}

.promo-section-divider {
  display: block;
  width: min(5rem, 18vw);
  height: 2px;
  margin: 0 auto;
  background: var(--greato-gold-line);
  box-shadow: 0 0 12px rgba(201, 169, 98, 0.35);
}

.promo-luxury-card {
  border-radius: 1.25rem;
  overflow: hidden;
  background: #fff;
  box-shadow:
    0 4px 6px rgba(15, 23, 42, 0.04),
    0 24px 56px rgba(15, 23, 42, 0.1);
  border: 1px solid rgba(201, 169, 98, 0.22);
}

.promo-luxury-hero {
  text-align: center;
  padding: 2rem 1.5rem 1.85rem;
  background: linear-gradient(135deg, var(--greato-navy) 0%, var(--greato-navy-mid) 48%, #1d4ed8 100%);
  color: #fff;
  position: relative;
}

.promo-luxury-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 85% 65% at 50% 0%, rgba(232, 213, 163, 0.2) 0%, transparent 68%);
  pointer-events: none;
}

.promo-luxury-hero > * {
  position: relative;
  z-index: 1;
}

.promo-luxury-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #422006;
  background: var(--greato-gold-line);
  border-radius: 999px;
  padding: 0.35rem 1rem;
  margin-bottom: 1rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.promo-luxury-lead {
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.65;
  max-width: 34rem;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.95;
}

.promo-luxury-price {
  margin-top: 1.35rem;
  line-height: 1.15;
}

.promo-luxury-price-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.82;
  margin-bottom: 0.25rem;
}

.promo-luxury-price-amount {
  display: block;
  font-size: clamp(2.25rem, 6vw, 3rem);
  font-weight: 700;
  color: var(--greato-gold-light);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.28);
}

.promo-luxury-price-amount small {
  font-size: 0.42em;
  font-weight: 500;
  opacity: 0.9;
}

.promo-luxury-price-meta {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.92rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  opacity: 0.88;
}

.promo-luxury-body {
  padding: 1.75rem 1.5rem 2rem;
}

@media (min-width: 992px) {
  .promo-luxury-body {
    padding: 2rem 2.25rem 2.25rem;
  }
}

.promo-luxury-rates {
  border: 1px solid rgba(201, 169, 98, 0.28);
  border-radius: 0.85rem;
  overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, var(--greato-champagne) 100%);
}

.promo-luxury-rate {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.15rem;
}

.promo-luxury-rate + .promo-luxury-rate {
  border-top: 1px solid rgba(201, 169, 98, 0.22);
}

.promo-luxury-rate-label {
  font-size: 0.92rem;
  color: #475569;
}

.promo-luxury-rate-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--greato-navy-mid);
  white-space: nowrap;
}

.promo-luxury-rate-value small {
  font-size: 0.78em;
  font-weight: 500;
  color: #64748b;
}

.promo-luxury-rate--fest .promo-luxury-rate-value {
  color: #92400e;
}

.promo-luxury-note,
.promo-luxury-footnote {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.6;
}

.promo-luxury-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(201, 169, 98, 0.15);
  font-size: 0.92rem;
  color: #334155;
  line-height: 1.55;
}

.promo-luxury-features li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.promo-luxury-features .bi {
  flex-shrink: 0;
  margin-top: 0.15rem;
  font-size: 0.72rem;
  color: var(--greato-gold);
}

.rate-deposit-policy--luxury {
  background: linear-gradient(135deg, rgba(201, 169, 98, 0.12) 0%, rgba(245, 240, 232, 0.9) 100%);
  border: 1px solid rgba(201, 169, 98, 0.35);
}

.rate-deposit-policy--luxury .rate-deposit-policy-title {
  color: var(--greato-navy);
}

.rate-deposit-policy--luxury .rate-deposit-policy-title .bi {
  color: var(--greato-gold);
}

.promo-contact-card {
  display: flex;
  flex-direction: column;
  border-radius: 1.25rem;
  overflow: hidden;
  background: #fff;
  box-shadow:
    0 4px 6px rgba(15, 23, 42, 0.04),
    0 20px 48px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(201, 169, 98, 0.25);
}

.promo-contact-card-head {
  text-align: center;
  padding: 1.75rem 1.25rem 1.35rem;
  background: linear-gradient(180deg, var(--greato-navy) 0%, var(--greato-navy-mid) 100%);
  color: #fff;
}

.promo-contact-title {
  font-family: "Noto Serif Thai", "Kanit", serif;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.promo-contact-line {
  font-size: 0.85rem;
  opacity: 0.88;
}

.promo-contact-line a {
  color: var(--greato-gold-light);
  text-decoration: none;
  font-weight: 600;
}

.promo-contact-line a:hover {
  color: #fff;
}

.promo-contact-list {
  padding: 1.25rem 1.35rem 0;
}

.promo-contact-list li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(201, 169, 98, 0.18);
}

.promo-contact-list li:last-child {
  border-bottom: none;
}

.promo-contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: rgba(201, 169, 98, 0.12);
  color: var(--greato-gold);
  font-size: 0.95rem;
  flex-shrink: 0;
}

.promo-contact-list a {
  display: block;
  font-weight: 600;
  color: var(--greato-navy);
  text-decoration: none;
  font-size: 0.98rem;
}

.promo-contact-list a:hover {
  color: var(--greato-gold);
}

.promo-contact-name {
  display: block;
  font-size: 0.78rem;
  color: #94a3b8;
  margin-top: 0.1rem;
}

.promo-contact-card .btn-booking-luxury {
  margin: 0 1.35rem 1.35rem;
  width: calc(100% - 2.7rem) !important;
}

/* Legacy promo helpers (rates section) */
.promo-flash-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #422006;
  background: var(--greato-gold-line);
  border-radius: 999px;
  padding: 0.35rem 1rem;
  box-shadow: 0 4px 14px rgba(201, 169, 98, 0.25);
}

.promo-price-lines {
  background: linear-gradient(180deg, #fff 0%, var(--greato-champagne) 100%);
  border: 1px solid rgba(201, 169, 98, 0.28);
  border-radius: 0.85rem;
  padding: 0.15rem 1rem;
}

.promo-price-lines li span {
  color: #475569;
  font-size: 0.95rem;
}

.rate-offer-luxury {
  color: rgba(255, 255, 255, 0.92);
}
