/*
 * Ulwandle Tranquility Lodge & Events
 * assets/css/ulwandle.css  —  Brand Design System
 * =========================================================
 * Palette:
 *   --earth   : #2C1A0E  (deep bark)
 *   --gold    : #C49A3C  (warm gold)
 *   --sage    : #4A7C59  (forest green)
 *   --cream   : #F5F0E8  (warm cream)
 *   --slate   : #1C2B3A  (dark water)
 *   --wave    : #2D7D9A  (ocean teal)
 */

/* ── Google Fonts ──────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap');

/* ── CSS Custom Properties ──────────────────────────────────── */
:root {
  --earth:        #2C1A0E;
  --earth-light:  #4A2E1A;
  --gold:         #C49A3C;
  --gold-light:   #D4AF5C;
  --gold-pale:    #F0E0B0;
  --sage:         #4A7C59;
  --sage-light:   #5A9C6E;
  --cream:        #F5F0E8;
  --cream-dark:   #EAE0CC;
  --slate:        #1C2B3A;
  --slate-light:  #2C3E50;
  --wave:         #2D7D9A;
  --wave-light:   #3D9DBA;
  --white:        #FFFFFF;
  --text-dark:    #1A1A1A;
  --text-mid:     #555555;
  --text-light:   #888888;

  --shadow-sm:  0 2px 8px rgba(44,26,14,0.08);
  --shadow-md:  0 6px 24px rgba(44,26,14,0.14);
  --shadow-lg:  0 16px 48px rgba(44,26,14,0.18);
  --shadow-gold: 0 4px 20px rgba(196,154,60,0.30);

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;

  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
  --transition-fast: 0.15s ease;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;
}

/* ── Reset / Base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-dark);
  background: var(--white);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--gold); text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: var(--gold-light); }

/* ── Typography ─────────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  line-height: 1.25;
  color: var(--earth);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.2rem; }

p { margin-bottom: 1rem; color: var(--text-mid); }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  text-decoration: none;
  line-height: 1;
}
.btn-gold {
  background: var(--earth);
  color: #f7f2ea;
  border-color: var(--earth);
  box-shadow: none;
}
.btn-gold:hover {
  background: #3d291c;
  border-color: #3d291c;
  color: #f7f2ea;
  transform: none;
  box-shadow: none;
}
.btn-outline-gold {
  background: transparent;
  color: var(--earth);
  border-color: #d9cbb8;
}
.btn-outline-gold:hover {
  background: var(--earth);
  border-color: var(--earth);
  color: #f7f2ea;
  transform: none;
}
.btn-earth {
  background: var(--earth);
  color: var(--white);
  border-color: var(--earth);
}
.btn-earth:hover {
  background: var(--earth-light);
  border-color: var(--earth-light);
  color: var(--white);
}
.btn-sage {
  background: var(--sage);
  color: var(--white);
  border-color: var(--sage);
}
.btn-sage:hover {
  background: var(--sage-light);
  color: var(--white);
}
.home .btn-gold,
.cta-section .btn-gold {
  background: #f4efe6;
  border-color: #f4efe6;
  color: #2c1a0e;
}
.home .btn-gold:hover,
.cta-section .btn-gold:hover {
  background: #fff;
  border-color: #fff;
  color: #2c1a0e;
}
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.btn-lg { padding: 16px 40px; font-size: 1.05rem; }

/* ── Section helpers ─────────────────────────────────────────── */
.section { padding: 72px 0; }
.section-sm { padding: 40px 0; }
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 500;
  color: var(--earth);
  margin-bottom: 8px;
}
.section-subtitle {
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: #8d7d6c;
  margin-bottom: 6px;
}
.section-desc {
  color: #6e6256;
  max-width: 560px;
  margin: 0 auto 28px;
}
.section-divider {
  width: 32px;
  height: 1px;
  background: #cfc3b2;
  border-radius: 0;
  margin: 14px auto 22px;
}

/* ── Backgrounds ─────────────────────────────────────────────── */
.bg-cream  { background: var(--cream); }
.bg-earth  { background: var(--earth); }
.bg-slate  { background: var(--slate); }
.bg-white  { background: var(--white); }
.text-gold { color: var(--gold); }
.text-cream { color: var(--cream); }
.text-white { color: var(--white) !important; }
.text-center { text-align: center; }

/* ── Cards ───────────────────────────────────────────────────── */
.card-u {
  background: var(--white);
  border: 1px solid #efe6d8;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: none;
}
.card-u:hover { border-color: #e0d3c2; }
.card-u .card-img {
  position: relative;
  overflow: hidden;
  height: 240px;
}
.card-u .card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.card-u:hover .card-img img { transform: none; }
.card-u .card-body { padding: 24px; }
.card-u .card-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--earth);
  margin-bottom: 8px;
}
.card-u .card-text { color: var(--text-mid); font-size: 0.95rem; margin-bottom: 16px; }
.card-u .card-price {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
  font-family: var(--font-serif);
}
.water-order-error {
  margin: 0 auto 18px;
  max-width: 640px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #fdecea;
  color: #7a2e24;
  text-align: center;
}
.water-stock { margin: 0 0 8px; color: #8a7560; font-size: 0.85rem; font-weight: 600; }
.water-stock.is-out { color: #9b3a2f; }
.water-order { display: grid; gap: 8px; margin-top: 8px; text-align: left; }
.water-order label { margin: 0; font-size: 0.78rem; font-weight: 700; color: var(--earth); }
.water-order input,
.water-order select,
.water-order textarea {
  width: 100%;
  height: 40px;
  margin: 0;
  padding: 0 10px;
  border: 1px solid #e4d8c8;
  border-radius: 8px;
  background: #fff;
  color: var(--earth);
  font: inherit;
  font-size: 0.92rem;
}
.water-order textarea { height: 72px; padding: 8px 10px; resize: vertical; }
.water-order .btn { width: 100%; }

/* ── Badge ───────────────────────────────────────────────────── */
.badge-u {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.badge-gold  { background: var(--gold-pale);  color: var(--earth); }
.badge-u.room-rate { text-transform: none; letter-spacing: 0; font-size: 0.85rem; }
.badge-sage  { background: #d4ead9; color: var(--sage); }
.badge-slate { background: #c8d8e8; color: var(--slate); }
.badge-wave  { background: #c8e8f0; color: var(--wave); }

/* ── Hero banner (inner pages) ──────────────────────────────── */
.page-hero {
  position: relative;
  height: clamp(300px, 42vw, 440px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: #24160f;
  overflow: hidden;
  padding: 0 20px 54px;
}
.page-hero .hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 1;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom, rgba(18,10,6,0.46) 0%, rgba(18,10,6,0.08) 34%, rgba(18,10,6,0.55));
}
.page-hero .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
}
.page-hero .hero-content h1 {
  color: #fff;
  font-weight: 500;
  text-shadow: 0 2px 16px rgba(0,0,0,0.25);
}
.page-hero .hero-content .section-subtitle {
  color: rgba(255,255,255,0.82);
  font-weight: 400;
}

/* ── Breadcrumb ─────────────────────────────────────────────── */
.breadcrumb-u {
  background: transparent;
  padding: 18px 0 0;
  font-size: 0.82rem;
}
.breadcrumb-u a { color: #8d7d6c; }
.breadcrumb-u a:hover { color: var(--earth); }
.breadcrumb-u .sep { margin: 0 8px; color: var(--text-light); }
.breadcrumb-u .current { color: var(--text-mid); }

/* ── Form elements ──────────────────────────────────────────── */
.form-u label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--earth);
  margin-bottom: 6px;
}
.form-u input[type="text"],
.form-u input[type="email"],
.form-u input[type="password"],
.form-u input[type="number"],
.form-u input[type="date"],
.form-u input[type="time"],
.form-u input[type="tel"],
.form-u select,
.form-u textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--cream-dark);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
}
.flash-container {
  position: fixed;
  top: 80px;
  right: 20px;
  z-index: 9000;
  max-width: 380px;
}
.form-u input:focus,
.form-u select:focus,
.form-u textarea:focus {
  border-color: #c4b49a;
  box-shadow: none;
}
.form-u .form-group { margin-bottom: 20px; }
.reserve-wrap { max-width: 720px; margin: 0 auto; }
.reserve-card {
  background: #fff;
  border-radius: 16px;
  padding: 36px 32px;
  box-shadow: 0 10px 30px rgba(44, 26, 14, 0.06);
}
.reserve-card h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  margin: 0 0 12px;
}
.reserve-detail { color: #5c4d3f; margin: 0 0 18px; }
.reserve-dates {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}
.reserve-summary {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin: 4px 0 22px;
  padding-top: 16px;
  border-top: 1px solid var(--cream-dark);
}
.reserve-summary strong { display: block; color: var(--earth); }
.reserve-summary span { color: #8d7d6c; font-size: 0.92rem; }
.reserve-total {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--earth);
  white-space: nowrap;
}
.reserve-as { margin: 14px 0 0; color: #8d7d6c; font-size: 0.92rem; }
.reserve-card .btn { min-width: 220px; }
@media (max-width: 575px) {
  .reserve-card { padding: 24px 18px; }
  .reserve-dates { grid-template-columns: 1fr; }
}
.form-u .form-error { color: #c0392b; font-size: 0.82rem; margin-top: 4px; }

/* ── Flash messages ─────────────────────────────────────────── */
.flash { padding: 14px 20px; border-radius: var(--radius-sm); margin-bottom: 20px; font-weight: 500; font-size: 0.9rem; display: flex; align-items: center; gap: 10px; }
.flash-success { background: #e8f5e9; color: #2e7d32; border-left: 4px solid #4caf50; }
.flash-error   { background: #fce8e6; color: #c62828; border-left: 4px solid #e53935; }
.flash-info    { background: #e8f1fb; color: #1565c0; border-left: 4px solid #1976d2; }
.flash-warning { background: #fff8e1; color: #e65100; border-left: 4px solid #ffa000; }

/* ── Amenity tags ─────────────────────────────────────────────── */
.amenity-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--cream); border-radius: 99px;
  padding: 5px 12px; font-size: 0.8rem; color: var(--earth);
  border: 1px solid var(--cream-dark);
}
.amenity-tag i { color: var(--gold); }

/* ── Stats bar ─────────────────────────────────────────────────── */
.stats-bar {
  background: #f7f3ec;
  padding: 36px 0;
  border-top: 1px solid #efe6d8;
  border-bottom: 1px solid #efe6d8;
}
.stat-item { text-align: center; }
.stat-number {
  font-family: var(--font-serif);
  font-size: 2.1rem;
  font-weight: 500;
  color: var(--earth);
  line-height: 1;
}
.stat-label { color: #6e6256; font-size: 0.92rem; letter-spacing: 0; text-transform: none; margin-top: 6px; }

/* ── Testimonials ─────────────────────────────────────────────── */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-md);
  position: relative;
  margin: 10px;
}
.testimonial-card::before {
  content: '"';
  font-family: var(--font-serif);
  font-size: 5rem;
  color: var(--gold-pale);
  position: absolute;
  top: 8px; left: 20px;
  line-height: 1;
}
.testimonial-stars { color: var(--gold); font-size: 0.875rem; margin-bottom: 12px; }
.testimonial-text  { color: var(--text-mid); font-style: italic; margin-bottom: 20px; }
.testimonial-author { font-weight: 700; color: var(--earth); font-size: 0.9rem; }
.testimonial-origin { color: var(--text-light); font-size: 0.8rem; }

/* ── CTA section ─────────────────────────────────────────────── */
.cta-section {
  background: #2c1a0e;
  padding: 64px 0;
  text-align: center;
}
.cta-section h2 { color: var(--white); margin-bottom: 16px; }
.cta-section p  { color: rgba(255,255,255,0.8); max-width: 560px; margin: 0 auto 32px; }

/* ── Welcome overlay ─────────────────────────────────────────── */
#page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f6f1e8;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}
#page-loader.hidden,
html.skip-welcome #page-loader {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
html.skip-welcome #page-loader { display: none; }
.loader-card {
  text-align: center;
  padding: 0 24px;
  animation: loader-in 0.7s ease both;
}
.loader-mark {
  display: block;
  width: min(168px, 46vw);
  height: auto;
  margin: 0 auto 18px;
}
.loader-word,
.loader-place { margin: 0; }
.loader-word {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2rem, 5vw, 2.75rem);
  line-height: 1.1;
  color: var(--earth);
}
.loader-place {
  margin-top: 8px;
  font-size: 1rem;
  font-weight: 400;
  color: #8d7d6c;
}
@keyframes loader-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Scroll-reveal animation base ─────────────────────────────── */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity 0.45s ease, transform 0.45s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left  { opacity: 0; transform: translateX(-30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(30px);  transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ── Responsive utilities ─────────────────────────────────────── */
/* Bootstrap 4 has no gap utilities. These keep flex rows spaced. */
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 1rem; }

#back-to-top {
  display: none;
  align-items: center;
  justify-content: center;
}
#back-to-top.show { display: flex; }

@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .stats-bar .stat-item + .stat-item { margin-top: 24px; }
}

/* ── Header (overrides the hotel template bar) ───────────────── */
.header {
  background: transparent;
  box-shadow: none;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}
.header::before { display: none; }
.header.scrolled {
  background: #fffdf9;
  box-shadow: 0 1px 0 rgba(44, 26, 14, 0.08);
}
.header.scrolled .main_nav > ul > li > a {
  color: var(--earth) !important;
  text-shadow: none;
}
.header.scrolled .main_nav > ul > li > a:hover,
.header.scrolled .main_nav > ul > li.active > a {
  color: #8a6a45 !important;
}
.header.scrolled .hamburger i { color: var(--earth); }

.header .header_content {
  height: 86px;
  padding-left: 28px;
  padding-right: 20px;
}
.header.scrolled .header_content { height: 74px; }

.header .logo {
  width: auto;
  height: auto;
  flex-shrink: 0;
  border: 0;
  padding: 0;
}
.header .logo a {
  display: flex;
  align-items: center;
  line-height: 0;
}
.header .logo img {
  display: block;
  height: 68px;
  width: auto;
}
.header.scrolled .logo img { height: 56px; }

.header .main_nav { margin-left: 18px; }
.header .main_nav > ul { gap: 0; margin: 0; padding: 0; list-style: none; }
.header .main_nav ul li { position: relative; margin: 0 !important; }
.header .main_nav > ul > li > a {
  display: block;
  padding: 10px 11px;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  white-space: nowrap;
}
.header .main_nav > ul > li > a:hover,
.header .main_nav > ul > li.active > a { color: var(--gold-light); }
.header:not(.scrolled) .main_nav > ul > li > a {
  text-shadow: 0 1px 8px rgba(0,0,0,0.55);
}

.header .dropdown-menu-u {
  display: none;
  position: absolute;
  top: calc(100% - 2px);
  left: 0;
  min-width: 210px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  z-index: 300;
}
.header .dropdown-menu-u.dropdown-right { left: auto; right: 0; }
.header .nav-dropdown:hover > .dropdown-menu-u,
.header .nav-dropdown:focus-within > .dropdown-menu-u { display: block; }
.header .dropdown-menu-u a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  color: var(--earth) !important;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}
.header .dropdown-menu-u a:hover { background: var(--cream); color: var(--earth) !important; }
.header .dropdown-menu-u .divider {
  height: 1px;
  margin: 6px 0;
  background: var(--cream-dark);
}

.header .header-actions {
  gap: 10px;
  flex-shrink: 0;
  margin-left: 10px;
}
.header .book_button,
.header .login-btn,
.header .user-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: auto;
  height: 40px;
  margin: 0;
  padding: 0 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
  text-shadow: none !important;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.header .book_button {
  background: #c49a3c;
  border: 1px solid #c49a3c;
  color: #fffdf9 !important;
  box-shadow: 0 8px 18px rgba(44, 26, 14, 0.18);
}
.header .book_button:hover {
  background: #d4af5c;
  border-color: #d4af5c;
  color: #fffdf9 !important;
}
.header .login-btn,
.header .user-btn {
  background: rgba(255, 253, 249, 0.94);
  border: 1px solid rgba(255, 253, 249, 0.82);
  color: var(--earth) !important;
  box-shadow: 0 8px 18px rgba(44, 26, 14, 0.16);
}
.header .login-btn:hover,
.header .user-btn:hover {
  background: #fff;
  border-color: #fff;
  color: var(--earth) !important;
}
.header.scrolled .book_button { box-shadow: none; }
.header.scrolled .login-btn,
.header.scrolled .user-btn {
  background: #fff;
  border-color: #e4d8c8;
  box-shadow: none;
}
.header .user-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-right: 2px;
  border-radius: 50%;
  background: var(--earth);
  color: #fffdf9;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
}

.header .header_phone {
  width: auto;
  height: auto;
  margin-left: 12px;
  padding: 0;
  background: transparent;
  color: #fff;
  flex-shrink: 0;
  white-space: nowrap;
}
.header .header_phone span {
  margin: 0;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
}

@media (max-width: 1280px) {
  .header .main_nav > ul > li > a { padding: 10px 7px; font-size: 13px; }
  .header .header_phone { display: none !important; }
}
@media (max-width: 991px) {
  .header .main_nav { display: none !important; }
  .header .book_button,
  .header .login-btn,
  .header .user-btn { display: none !important; }
  .header .hamburger { display: flex; }
  .header .header_content { padding-left: 16px; padding-right: 16px; }
}

/* ── Footer ──────────────────────────────────────────────────── */
.footer {
  background: #24160f;
  color: rgba(255,255,255,0.72);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px 28px;
  padding-bottom: 48px;
}
.footer-name {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 500;
  color: #f4efe6;
  line-height: 1;
}
.footer-name:hover { color: #fff; }
.footer-brand p {
  max-width: 280px;
  margin: 12px 0 0;
  color: rgba(255,255,255,0.62);
  font-size: 0.95rem;
}
.footer h2 {
  margin: 0 0 12px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0;
  color: rgba(255,255,255,0.45);
}
.footer-links,
.footer-visit {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
}
.footer-links a,
.footer-visit a,
.footer-bottom a {
  color: rgba(255,255,255,0.82);
}
.footer-links a:hover,
.footer-visit a:hover,
.footer-bottom a:hover { color: #fff; }
.footer-visit p,
.footer-note p {
  margin: 0;
  color: rgba(255,255,255,0.72);
  font-size: 0.95rem;
}
.footer-mail {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.footer-mail input {
  flex: 1;
  min-width: 0;
  height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 8px;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 0.92rem;
}
.footer-mail input::placeholder { color: rgba(255,255,255,0.4); }
.footer-mail button {
  height: 42px;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  background: #f4efe6;
  color: #2c1a0e;
  font: inherit;
  font-size: 0.92rem;
  cursor: pointer;
  white-space: nowrap;
}
.footer-mail button:hover { background: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 0 22px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.85rem;
}
.footer-bottom p { margin: 0; color: rgba(255,255,255,0.5); }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.footer-bottom a { color: rgba(255,255,255,0.62); }

.home-notes { background: #fff; border-bottom: 1px solid #efe6d8; }
.home-notes ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 28px 0;
}
.home-notes strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--earth);
}
.home-notes span { display: block; color: #6e6256; font-size: 0.92rem; line-height: 1.45; }

.place-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #efe6d8;
}
.place-list a {
  display: block;
  padding: 22px 18px 22px 0;
  border-bottom: 1px solid #efe6d8;
  color: inherit;
  text-decoration: none;
}
.place-list strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--earth);
}
.place-list span { display: block; margin-top: 4px; color: #6e6256; font-size: 0.95rem; }
.place-list em {
  display: inline-block;
  margin-top: 10px;
  font-style: normal;
  font-size: 0.88rem;
  color: var(--earth);
  border-bottom: 1px solid #cfc3b2;
}
.place-list a:hover em { border-bottom-color: var(--earth); }

.home-photos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 22px;
}
.home-photos a {
  display: block;
  height: 260px;
  overflow: hidden;
}
.home-photos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-story-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.home-story-grid h2 { font-weight: 500; margin-bottom: 14px; }
.home-story-grid img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 12px;
}
.home-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  list-style: none;
  margin: 8px 0 22px;
  padding: 0;
}
.home-facts li { color: #6e6256; font-size: 0.92rem; }
.home-facts strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--earth);
}

.home-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.home-head h2 { margin: 0; font-weight: 500; }
.home-head a {
  color: var(--earth);
  font-size: 0.92rem;
  border-bottom: 1px solid #cfc3b2;
}
.home-head a:hover { border-bottom-color: var(--earth); }

.room-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.room-grid a { color: inherit; text-decoration: none; }
.room-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 10px;
}
.room-grid strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--earth);
}
.room-grid span { display: block; margin-top: 2px; color: #6e6256; font-size: 0.88rem; }
.room-grid .room-rate-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 7px;
  margin-top: 8px;
}
.room-grid .room-rate {
  display: inline;
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.28rem;
  font-weight: 500;
  line-height: 1;
  color: var(--earth);
}
.room-grid .room-rate-note {
  display: inline;
  margin: 0;
  color: #8a7560;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.event-grid article { color: inherit; }
.event-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 12px;
}
.event-grid time { color: #8d7d6c; font-size: 0.88rem; }
.event-grid h3 {
  margin: 4px 0 8px;
  font-size: 1.25rem;
  font-weight: 500;
}
.event-grid a {
  color: var(--earth);
  border-bottom: 1px solid #cfc3b2;
  font-size: 0.9rem;
}
.event-grid a:hover { border-bottom-color: var(--earth); }

.home-quotes { background: #f7f3ec; }
.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.quote-grid blockquote { margin: 0; }
.quote-grid p {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  line-height: 1.45;
  color: var(--earth);
}
.quote-grid footer { color: #6e6256; font-size: 0.9rem; }

.panel {
  background: #faf7f2;
  border: 1px solid #efe6d8;
  border-radius: 14px;
  padding: 32px;
}
.contact-lines { margin-top: 8px; }
.contact-lines div { padding: 14px 0; border-top: 1px solid #efe6d8; }
.contact-lines strong { display: block; color: var(--earth); font-weight: 500; }
.contact-lines p { margin: 2px 0 0; font-size: 0.95rem; }
.contact-lines a { color: var(--earth); }
.contact-lines a:hover { color: #6e6256; }

.auth-screen {
  min-height: 100vh;
  display: flex;
  padding: 112px 20px 64px;
  background:
    linear-gradient(to bottom, rgba(18,10,6,0.52) 0%, rgba(18,10,6,0.28) 32%, rgba(18,10,6,0.42) 100%),
    url('../../images/index_1.jpg') center / cover no-repeat;
}
.auth-card {
  width: min(440px, 100%);
  margin: auto;
  background: #fff;
  border-radius: 16px;
  padding: 36px 32px 28px;
  box-shadow: 0 22px 50px rgba(18, 10, 4, 0.28);
}
.auth-card.is-wide { width: min(560px, 100%); }
.auth-card h1 {
  margin: 0 0 6px;
  font-size: 2rem;
  font-weight: 500;
  color: var(--earth);
}
.auth-card .auth-lead {
  margin: 0 0 22px;
  color: #6e6256;
  font-size: 0.95rem;
}
.auth-screen .form-u label {
  font-weight: 500;
  font-size: 0.82rem;
  color: #6e6256;
}
.auth-screen .form-u input[type="text"],
.auth-screen .form-u input[type="email"],
.auth-screen .form-u input[type="password"],
.auth-screen .form-u input[type="tel"] {
  border: 1px solid #e6dccb;
  border-radius: 10px;
  background: #fbf8f3;
  padding: 12px 14px;
}
.auth-screen .form-u label.auth-label-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.auth-label-row a {
  font-size: 0.82rem;
  font-weight: 400;
  color: #6e6256;
  border-bottom: 1px solid #d9cbb8;
}
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 42px; }
.pw-toggle {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #8d7d6c;
  cursor: pointer;
}
.auth-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 2px 0 22px;
}
.auth-check input { width: auto; margin-top: 3px; }
.auth-check label {
  margin: 0;
  font-weight: 400;
  font-size: 0.9rem;
  color: #4a4036;
  cursor: pointer;
}
.auth-check a { color: var(--earth); border-bottom: 1px solid #d9cbb8; }
.auth-card .btn { width: 100%; justify-content: center; }
.auth-names {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 14px;
}
.auth-strength {
  height: 3px;
  margin-top: 8px;
  border-radius: 99px;
  background: #efe6d8;
  overflow: hidden;
}
.auth-strength span {
  display: block;
  height: 100%;
  width: 0;
  background: #8d7d6c;
}
.auth-strength-label {
  min-height: 1.1em;
  margin-top: 4px;
  font-size: 0.75rem;
  color: #8d7d6c;
}
.auth-switch {
  margin: 22px 0 0;
  padding-top: 16px;
  border-top: 1px solid #efe6d8;
  text-align: center;
  color: #6e6256;
  font-size: 0.92rem;
}
.auth-switch a {
  color: var(--earth);
  border-bottom: 1px solid #cfc3b2;
}
@media (max-width: 575px) {
  .auth-card,
  .auth-card.is-wide { padding: 28px 20px 22px; }
  .auth-names { grid-template-columns: 1fr; }
}

#back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: #2c1a0e;
  color: #f4efe6;
  cursor: pointer;
}

/* ── Every screen ────────────────────────────────────────────── */
html, body { max-width: 100%; overflow-x: hidden; }
.home { position: relative; }
.home_slider_container { position: relative; }
.home .home_container { top: 27%; }
.home_slider .slide { position: relative; }
.home_slider .background_image { opacity: 1; }
.home_slider .slide::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(16,10,6,0.42) 0%, rgba(16,10,6,0.05) 36%, rgba(16,10,6,0.38) 100%);
}
.home .home_container { z-index: 2; }
.home_title,
.home_content .section-subtitle,
.home_content p {
  text-shadow: 0 2px 16px rgba(0,0,0,0.35);
}
.home_lead {
  color: rgba(255,255,255,0.92);
  max-width: 560px;
  margin: 14px auto 0;
  font-size: 1.05rem;
}

.hero-book {
  position: absolute;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  width: min(880px, calc(100% - 48px));
  z-index: 5;
}
.stay-book {
  width: min(880px, calc(100% - 48px));
  margin: 28px auto 0;
}
.hero-book-form {
  position: relative;
  display: flex;
  align-items: stretch;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(18, 10, 4, 0.22);
  color-scheme: light;
}
.hero-field {
  position: relative;
  flex: 1.15 1 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  min-width: 0;
  margin: 0;
  padding: 14px 18px 15px;
  cursor: pointer;
}
.hero-field + .hero-field { box-shadow: inset 1px 0 0 #efe6d8; }
.hero-guests { flex: 0.9 1 0; }
.hero-field span {
  font-size: 12px;
  font-weight: 500;
  color: #8d7d6c;
}
.hero-value {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--earth);
}
.hero-value.is-empty {
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 400;
  color: #b3a394;
}
.hero-field input[type="date"] {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  pointer-events: none;
}
.hero-cal {
  position: absolute;
  z-index: 30;
  bottom: calc(100% + 10px);
  width: 292px;
  padding: 14px 14px 12px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(18, 10, 4, 0.22);
}
.hero-cal[hidden] { display: none; }
.hero-cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.hero-cal-head strong {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 500;
  color: var(--earth);
}
.hero-cal-head button {
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--earth);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}
.hero-cal-head button:hover:not(:disabled) { background: var(--cream); }
.hero-cal-head button:disabled { color: #d5cbbd; cursor: default; }
.hero-cal-week,
.hero-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
}
.hero-cal-week span {
  padding-bottom: 4px;
  font-size: 11px;
  color: #8d7d6c;
}
.hero-cal-grid button {
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--earth);
  font-size: 13px;
  cursor: pointer;
}
.hero-cal-grid button:hover:not(:disabled) { background: var(--cream); }
.hero-cal-grid button.is-selected { background: var(--earth); color: #f7f2ea; }
.hero-cal-grid button:disabled { color: #d9d0c4; cursor: default; }
.hero-cal-grid span { height: 34px; }
.hero-stepper {
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-stepper .hero-value { min-width: 1.4rem; text-align: center; }
.hero-stepper button {
  width: 26px;
  height: 26px;
  padding: 0;
  border: 1px solid #e6dccb;
  border-radius: 50%;
  background: #fff;
  color: var(--earth);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}
.hero-stepper button:hover:not(:disabled) { background: var(--cream); }
.hero-stepper button:disabled { color: #d5cbbd; border-color: #f0e8dc; cursor: default; }
.hero-book-go {
  flex: 0 0 auto;
  align-self: center;
  height: 48px;
  margin: 10px 10px 10px 6px;
  padding: 0 22px;
  border: 0;
  border-radius: 10px;
  background: var(--earth);
  color: #f7f2ea;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer;
  white-space: nowrap;
}
.hero-book-go:hover { background: #3d291c; }
.is-home .home_slider_dots_container { bottom: 128px; left: 28px; z-index: 5; }

.home_title {
  font-size: clamp(2.3rem, 8vw, 5.2rem);
  line-height: 1.05;
  padding: 0 12px;
}
.header .hamburger {
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
}
.page-hero { height: clamp(280px, 42vw, 440px); }

@media (max-width: 991px) {
  .booking_form_container { padding-left: 16px; padding-right: 16px; }
  .menu {
    width: 100%;
    height: 100%;
    overflow-y: auto;
    background: #f6f0e6;
    align-items: stretch !important;
  }
  .menu_content,
  .menu_extra { width: 100%; }
  .menu_content {
    padding: 84px 22px 12px;
  }
  .menu_nav { text-align: left !important; }
  .menu_nav ul li a { font-size: 1.2rem; line-height: 1.35; }
  .menu_nav ul li:not(:last-of-type) { margin-bottom: 2px; }
  .menu_extra {
    position: static;
    padding: 16px 22px 36px;
  }
  .menu_book { display: block; margin-top: 0; text-align: left !important; }
  .menu_book a { color: var(--earth); font-size: 1rem; font-weight: 700; }
  .menu_phone { justify-content: flex-start !important; color: var(--earth); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .home-notes ul,
  .place-list { grid-template-columns: 1fr 1fr; }
  .home-photos,
  .room-grid { grid-template-columns: 1fr 1fr; }
  .home-story-grid,
  .event-grid,
  .quote-grid { grid-template-columns: 1fr; }
  .home-story-grid img { height: 280px; }
}

@media (max-width: 760px) {
  .hero-book {
    width: calc(100% - 24px);
    bottom: 16px;
  }
  .hero-book-form { flex-wrap: wrap; }
  .hero-field {
    flex: 1 1 46%;
    padding: 10px 14px 11px;
    box-shadow: none;
    border-bottom: 1px solid #efe6d8;
  }
  .hero-field:nth-child(odd) { box-shadow: inset -1px 0 0 #efe6d8; }
  .hero-guests { flex: 1 1 46%; }
  .hero-book-go {
    flex: 1 1 100%;
    height: 46px;
    margin: 8px;
  }
  .hero-cal {
    left: 8px !important;
    width: calc(100% - 16px);
  }
  .is-home .home_container { top: 18%; }
  .is-home .home_slider_dots_container { display: none; }
  .home_content .btn { margin-top: 8px; }
  .home_title { font-size: clamp(1.8rem, 9vw, 2.6rem); }
}

@media (max-width: 991px) {
  .auth-page .header:not(.scrolled) { background: #fffdf9; }
  .auth-page .header .hamburger i { color: var(--earth); }
  .menu_nav ul li a { display: block; padding: 10px 0; }
  .menu_close {
    top: 18px;
    right: 16px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}
@media (max-width: 575px) {
  .flash-container { left: 12px; right: 12px; max-width: none; }
  .section { padding: 48px 0; }
  .is-home .home_container {
    top: 96px;
    transform: none;
  }
  .header .logo img,
  .header.scrolled .logo img { height: 52px; }
  .booking_input { padding-left: 14px; }
  .icon_box { margin-bottom: 18px; }
  .about_images img { width: 100%; margin-bottom: 12px; }
  .footer { padding-top: 40px; }
  .footer-grid,
  .home-notes ul,
  .place-list,
  .room-grid { grid-template-columns: 1fr; }
  .home-photos { grid-template-columns: 1fr 1fr; }
  .home-photos a { height: 160px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-mail { flex-direction: column; }
  .footer-mail button { width: 100%; }
}
