/* =====================================================
   The Breeze — mobile-first redesign
   Inspired by Komulin.com.ua: compact, touch-native, 480px column
   Palette: warm sand + sea teal accent
===================================================== */

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
html.modal-open { overflow: hidden; }
details summary::-webkit-details-marker { display: none; }

/* ===== Variables ===== */
:root {
  --bg:           #FFFFFF;
  --bg-sand:      #EDF5F4;
  --text:         #0D2338;
  --text-muted:   #5C7070;
  --text-light:   #9BB4B4;
  --border:       #DDE9E8;
  --border-strong:#B8D0CE;
  --accent:       #1B7A78;
  --accent-hover: #156665;
  --accent-light: #E8F4F3;
  --accent-warm:  #0D2338;
  --white:        #FFFFFF;
  --radius:       20px;
  --radius-sm:    12px;
  --radius-pill:  999px;
  --px:           20px;
  --shadow-sm:    0 2px 10px rgba(28,25,22,0.07);
  --shadow-md:    0 8px 32px rgba(28,25,22,0.13);
  --shadow-lg:    0 20px 60px rgba(28,25,22,0.20);
}

/* ===== Base ===== */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  max-width: 480px;
  margin: 0 auto;
  padding-bottom: 80px;
}
img, picture, svg { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font: inherit; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
em {
  font-style: normal;
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
}

/* ===== Typography ===== */
h1, h2, h3 { line-height: 1.08; letter-spacing: -0.03em; }
h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 40px;
  font-weight: 500;
  letter-spacing: -0.04em;
}
h2 { font-size: 28px; font-weight: 700; }
h3 { font-size: 18px; font-weight: 600; }
p { color: var(--text); }

.eyebrow {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 8px;
}
.section-header { margin-bottom: 24px; }
.section-sub { font-size: 15px; color: var(--text-muted); margin-top: 8px; line-height: 1.55; }

/* ===== Sections ===== */
section { padding: 40px var(--px); }
.section-sand { background: var(--bg-sand); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: var(--radius-pill);
  font-weight: 600; font-size: 16px;
  border: 1.5px solid transparent;
  transition: opacity .15s ease, transform .15s ease, background .18s ease;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.97); }
.btn-sm  { padding: 10px 18px; font-size: 14px; }
.btn-lg  { padding: 17px 28px; font-size: 17px; }
.btn-full { width: 100%; }

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(46,170,163,0.28);
}
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover { border-color: var(--text); }

/* ===== NAV ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(253,252,248,0.93);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.nav.scrolled { border-bottom-color: var(--border); box-shadow: 0 2px 16px rgba(28,25,22,0.06); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px var(--px);
  height: 56px;
}
.logo { display: block; overflow: hidden; height: 36px; text-decoration: none; }
.logo-img {
  height: 90px;
  width: auto;
  display: block;
  margin-top: -27px;
  object-fit: contain;
}
.footer-logo { display: flex; justify-content: center; margin-bottom: 12px; }
.nav-right { display: flex; align-items: center; justify-content: flex-end; }
.nav-links { display: none; align-items: center; gap: 28px; } /* shown at 1024px+ */
.nav-link { font-size: 14px; font-weight: 500; color: var(--text-muted); transition: color 0.15s; }
.nav-link:hover { color: var(--text); }

/* ===== HERO ===== */
.hero { padding-top: 28px; padding-bottom: 40px; }

.hero-tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  font-size: 13px; font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.hero-tag svg { color: var(--accent-warm); flex-shrink: 0; }

.hero h1 { margin-bottom: 14px; }
.hero-sub {
  font-size: 15px; color: var(--text-muted);
  line-height: 1.6; margin-bottom: 22px;
}
.hero-cta { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }

.hero-stats {
  display: flex; align-items: center;
  padding: 18px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}
.hero-stat {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; gap: 2px; text-align: center;
}
.hero-stat strong {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 20px; font-weight: 500;
  letter-spacing: -0.02em; line-height: 1.1;
}
.hero-stat span { font-size: 11px; color: var(--text-muted); letter-spacing: 0.04em; }
.hero-stat-divider { width: 1px; height: 36px; background: var(--border); flex-shrink: 0; }

.hero-img {
  width: 100%; height: 260px;
  background: linear-gradient(135deg, #EDE4D4 0%, #DDD0BC 100%);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; position: relative;
}
.hero-img::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(212,149,106,0.15) 0%, transparent 55%),
    radial-gradient(circle at 72% 68%, rgba(46,170,163,0.10) 0%, transparent 55%);
}
.hero-img-label {
  position: relative; z-index: 1;
  font-size: 13px; color: var(--text-light); font-weight: 500;
}
.hero-photo {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  position: relative; z-index: 1;
}

/* ===== FEATURES (horizontal scroll) ===== */
.features { padding-left: 0; padding-right: 0; padding-top: 32px; padding-bottom: 8px; }
.features-header { padding: 0 var(--px) 20px; }
.features-header h2 { font-size: 26px; }

.features-track {
  display: flex; flex-wrap: nowrap; gap: 12px;
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px var(--px) 24px;
}
.features-track::-webkit-scrollbar { display: none; }
.features-track::after { content: ''; flex: 0 0 var(--px); }

.feature-card {
  flex: 0 0 auto;
  width: 72%;
  scroll-snap-align: start;
  background: var(--bg-sand);
  border-radius: var(--radius);
  padding: 22px 20px;
  display: flex; flex-direction: column; gap: 8px;
}
.feature-emoji { font-size: 34px; line-height: 1; margin-bottom: 2px; }
.feature-card h3 { font-size: 17px; }
.feature-card p  { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

/* ===== CABINS ===== */
.cabin-list { display: flex; flex-direction: column; gap: 20px; }

.cabin-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  transition: box-shadow .2s;
}
.cabin-card:hover { box-shadow: var(--shadow-md); }
.cabin-card.cabin-featured { border-color: var(--accent); border-width: 2px; }

.cabin-badge {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  background: var(--accent); color: var(--white);
  font-size: 11px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase;
  padding: 5px 12px; border-radius: var(--radius-pill);
}

.cabin-img {
  width: 100%; aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, #EDE4D4 0%, #DDD0BC 100%);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-light); font-size: 13px;
  overflow: hidden;
}

.cabin-body { padding: 20px; }
.cabin-tag {
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-muted); font-weight: 600;
  margin-bottom: 6px;
}
.cabin-card h3 { font-size: 22px; font-weight: 500; font-family: 'Fraunces', Georgia, serif; margin-bottom: 10px; }

.cabin-guests {
  display: inline-flex; align-items: center;
  background: var(--accent-light); color: var(--accent);
  font-size: 12px; font-weight: 600;
  padding: 4px 12px; border-radius: var(--radius-pill);
  margin-bottom: 16px;
}

.cabin-features { display: grid; gap: 7px; margin-bottom: 20px; }
.cabin-features li {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 14px; color: var(--text); line-height: 1.4;
}
.cabin-features li::before {
  content: "✓";
  color: var(--accent); font-weight: 700; font-size: 13px;
  flex-shrink: 0; margin-top: 1px;
}

.cabin-foot { display: flex; flex-direction: column; gap: 12px; }
.cabin-price { display: flex; flex-direction: column; gap: 8px; }
.price-season { display: flex; align-items: center; gap: 0; }
.price-label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--text-muted);
  flex: 0 0 110px;
  line-height: 1;
}
.price-season strong {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 22px; font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
  white-space: nowrap;
}
.price-unit { font-size: 13px; color: var(--text-muted); margin-left: 4px; white-space: nowrap; }

/* ===== AMENITIES ===== */
.amenities-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.amenity-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500;
  padding: 12px 14px;
  background: var(--bg-sand);
  border-radius: var(--radius-sm);
  line-height: 1.3;
}
.amenity-check {
  color: var(--accent); font-weight: 700;
  font-size: 15px; flex-shrink: 0;
}

/* ===== VIBE / LIFESTYLE ===== */
.vibe .eyebrow { margin-bottom: 8px; }
.vibe h2 { margin-bottom: 22px; }
.vibe-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 24px; }
.vibe-list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 16px; font-weight: 500;
}
.vibe-icon { font-size: 20px; flex-shrink: 0; line-height: 1.3; }
.vibe-tagline {
  font-size: 15px; color: var(--text-muted); line-height: 1.65;
  border-left: 3px solid var(--accent);
  padding-left: 16px;
}

/* ===== STORY ===== */
.story .eyebrow { margin-bottom: 8px; }
.story h2 { margin-bottom: 14px; }
.story p { font-size: 15px; color: var(--text-muted); line-height: 1.65; margin-bottom: 22px; }
.story em { font-family: 'Fraunces', Georgia, serif; font-style: italic; color: var(--text); }

.reviews-note { text-align: center; padding: 16px var(--px) 4px; }
.reviews-stars { font-size: 22px; line-height: 1; margin-bottom: 8px; }
.reviews-text { font-size: 14px; color: var(--text-muted); line-height: 1.5; }

/* ===== PHOTO GALLERY ===== */
.photo-gallery { padding: 48px 0 0; }
.photo-gallery-header { padding: 0 var(--px); margin-bottom: 16px; }
.photo-track {
  display: flex; flex-wrap: nowrap; gap: 12px;
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0 var(--px) 4px;
  scrollbar-width: none;
}
.photo-track::-webkit-scrollbar { display: none; }
.photo-track::after { content: ''; flex: 0 0 var(--px); }
.photo-slide {
  flex: 0 0 auto;
  width: 80%;
  cursor: pointer;
  height: 500px;
  scroll-snap-align: start;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.photo-slide-img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  border-radius: inherit;
}
.ph-1 { background: linear-gradient(135deg, #c8e6e5 0%, #91c8c7 100%); }
.ph-2 { background: linear-gradient(135deg, #EDF5F4 0%, #c4dede 100%); }
.ph-3 { background: linear-gradient(135deg, #1B7A78 0%, #104c4b 100%); }
.ph-4 { background: linear-gradient(135deg, #b8dada 0%, #8ec8c7 100%); }
.ph-5 { background: linear-gradient(135deg, #f0ebe0 0%, #ddd0b8 100%); }
.ph-6 { background: linear-gradient(135deg, #0D2338 0%, #1a3a5c 100%); }
.ph-label { font-size: 12px; color: rgba(255,255,255,0.7); letter-spacing: 0.04em; }
.ph-1 .ph-label, .ph-2 .ph-label, .ph-4 .ph-label { color: rgba(13,35,56,0.4); }
.ph-5 .ph-label { color: rgba(13,35,56,0.35); }

/* ===== SLIDER DOTS ===== */
.slider-dots {
  display: flex; justify-content: center; align-items: center;
  gap: 6px; padding: 14px 0 4px;
  width: 100%;
}
.dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--border-strong);
  transition: all 0.25s ease; flex-shrink: 0;
}
.dot.active {
  background: var(--accent); width: 20px; border-radius: 3px;
}

/* ===== GALLERY (review photos slider) ===== */
.gallery { padding: 48px 0 48px; }
.gallery .section-header { padding: 0 var(--px); margin-bottom: 20px; }
.gallery-track {
  display: flex; flex-wrap: nowrap; gap: 12px;
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0 var(--px) 16px;
  scrollbar-width: none;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track::after { content: ''; flex: 0 0 var(--px); }
.gallery-slide {
  flex: 0 0 auto;
  width: 80%;
  aspect-ratio: 1 / 1;
  scroll-snap-align: start;
  border-radius: var(--radius);
  overflow: hidden;
  background: #f8f8f8;
}
.gallery-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* ===== LOCATION ===== */
.location-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px; margin-bottom: 20px;
}
.loc-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 14px;
}
.loc-icon { font-size: 24px; line-height: 1; margin-bottom: 8px; }
.loc-card h3 { font-size: 15px; margin-bottom: 4px; }
.loc-card p  { font-size: 12px; color: var(--text-muted); line-height: 1.5; }

.map-embed { margin-top: 24px; }
.map-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 10px; font-size: 13px; font-weight: 500;
  color: var(--accent); text-decoration: none;
}
.map-link:hover { text-decoration: underline; }
.map-placeholder {
  height: 160px;
  background: linear-gradient(135deg, #EDE4D4 0%, #DDD0BC 100%);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 14px;
  text-align: center; line-height: 1.5;
}
.map-placeholder small { font-size: 11px; display: block; margin-top: 4px; opacity: .7; }

/* ===== RULES ===== */
.rules { padding: 60px var(--px) 56px; }
.rules-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}
.rule-card {
  background: var(--bg-sand);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.rule-icon {
  width: 48px; height: 48px;
  background: var(--white);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.rule-card h3 {
  font-size: 17px; font-weight: 600;
  color: var(--text);
  font-family: 'Fraunces', Georgia, serif;
}
.rule-card p {
  font-size: 14px; line-height: 1.6;
  color: var(--text-muted);
}

/* ===== FAQ ===== */
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color .2s;
}
.faq-item[open] { border-color: var(--accent); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between;
  padding: 17px 18px;
  font-size: 15px; font-weight: 600;
  cursor: pointer; list-style: none; user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.faq-chevron { flex-shrink: 0; margin-left: 12px; transition: transform .25s; display: flex; }
.faq-chevron svg { color: var(--text-muted); }
.faq-item[open] .faq-chevron { transform: rotate(180deg); }
.faq-body { padding: 0 18px 18px; font-size: 14px; color: var(--text-muted); line-height: 1.65; }

/* ===== CONTACT CTA ===== */
.contact-cta { text-align: center; }
.contact-cta .eyebrow { margin-bottom: 8px; }
.contact-cta h2 { margin-bottom: 8px; }
.contact-sub { font-size: 15px; color: var(--text-muted); margin-bottom: 22px; line-height: 1.5; }

.contact-btns {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px; margin-bottom: 18px;
}
.contact-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 10px;
  border-radius: var(--radius);
  font-size: 15px; font-weight: 600;
  transition: opacity .15s;
  -webkit-tap-highlight-color: transparent;
}
.contact-btn:active { opacity: .82; }
.contact-tg    { background: #29A8E8; color: var(--white); }
.contact-vb    { background: #7360F2; color: var(--white); }
.contact-phone { background: var(--bg-sand); color: var(--text); border: 1.5px solid var(--border-strong); }
.contact-ig    { background: linear-gradient(135deg, #F58529 0%, #DD2A7B 50%, #8134AF 100%); color: var(--white); }

.contact-divider {
  display: flex; align-items: center; gap: 12px;
  color: var(--text-muted); font-size: 13px;
  margin-bottom: 16px;
}
.contact-divider::before,
.contact-divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }

/* ===== FOOTER ===== */
.footer {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 32px var(--px) 28px;
}
.footer-brand {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 20px; font-weight: 500;
  letter-spacing: -0.02em; margin-bottom: 4px;
}
.footer-meta  { font-size: 13px; color: var(--text-muted); margin-bottom: 18px; }
.footer-links {
  display: flex; flex-wrap: wrap; gap: 16px; align-items: center;
  margin-bottom: 20px;
}
.footer-links a  { font-size: 14px; color: var(--text-muted); }
.footer-links a:hover { color: var(--text); }
.footer-book {
  font-size: 14px; font-weight: 600; color: var(--text);
  text-decoration: underline; text-underline-offset: 3px;
}
.footer-copy { font-size: 12px; color: var(--text-light); }

/* ===== STICKY BAR ===== */
.sticky-bar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  padding: 12px var(--px) calc(12px + env(safe-area-inset-bottom));
  background: rgba(253,252,248,0.97);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -2px 20px rgba(28,25,22,0.08);
}
.sticky-info { display: flex; flex-direction: column; line-height: 1.2; }
.sticky-price {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 18px; font-weight: 500;
}
.sticky-meta { font-size: 12px; color: var(--text-muted); }

/* ===== MODAL ===== */
.modal {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: flex-end; justify-content: center;
}
.modal[hidden] { display: none; }
.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(28,25,22,0.52);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: fadeIn .2s ease;
}
.modal-panel {
  position: relative; z-index: 1;
  width: 100%; max-width: 480px;
  background: var(--white);
  border-radius: 24px 24px 0 0;
  max-height: 92vh;
  overflow: hidden;
  display: flex; flex-direction: column;
  animation: slideUp .3s cubic-bezier(.2,.8,.2,1);
  box-shadow: var(--shadow-lg);
}
.modal-close {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: rgba(28,25,22,0.07);
  color: var(--text);
  transition: background .15s;
}
.modal-close:hover { background: rgba(28,25,22,0.12); }
.modal-scroll {
  padding: 30px 22px 36px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.modal-scroll h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 26px; font-weight: 500;
  margin-bottom: 6px;
}
.modal-sub { font-size: 14px; color: var(--text-muted); margin-bottom: 22px; line-height: 1.5; }

@keyframes fadeIn  { from { opacity: 0 } to { opacity: 1 } }
@keyframes slideUp { from { transform: translateY(100%) } to { transform: translateY(0) } }
@keyframes scaleIn { from { transform: scale(.92); opacity: 0 } to { transform: scale(1); opacity: 1 } }

/* ===== FORM ===== */
.form { display: grid; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 5px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field label {
  font-size: 11px; font-weight: 700;
  color: var(--text-muted); letter-spacing: 0.08em; text-transform: uppercase;
}
.optional { font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--text-light); }
.field input, .field select, .field textarea {
  padding: 13px 14px;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--white); color: var(--text);
  font-size: 15px; outline: none;
  transition: border-color .15s, box-shadow .15s;
  width: 100%;
  -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%237A7066' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(46,170,163,0.14);
}
.field textarea { resize: vertical; min-height: 72px; font-family: inherit; }
.form-hint { font-size: 12px; color: var(--text-muted); text-align: center; margin-top: 4px; line-height: 1.5; }

.success { text-align: center; padding: 12px 0; }
.success-icon {
  width: 64px; height: 64px;
  background: var(--accent); color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; font-weight: 700;
  margin: 0 auto 18px;
  animation: scaleIn .3s ease;
}
.success h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 24px; font-weight: 500; margin-bottom: 8px;
}
.success p { color: var(--text-muted); font-size: 14px; margin-bottom: 22px; }

/* ===== REVEAL ON SCROLL ===== */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ===== DESKTOP ADJUSTMENTS ===== */
@media (min-width: 480px) {
  body {
    box-shadow: 0 0 80px rgba(28,25,22,0.10);
    min-height: 100vh;
  }
}

@media (min-width: 640px) {
  body { padding-bottom: 0; }
  .sticky-bar { display: none; }
  h1 { font-size: 52px; }
  h2 { font-size: 34px; }
  .hero-img { height: 340px; }
  .feature-card { flex: 0 0 58%; }
  .cabin-list { gap: 24px; }
  .modal { align-items: center; }
  .modal-panel { border-radius: 24px; max-height: 88vh; }
  .modal-scroll { padding: 40px 36px; }
}

/* ===== BOOKING SUCCESS OVERLAY ===== */
.booking-success-overlay {
  position: fixed; inset: 0;
  background: rgba(28,25,22,0.72);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
}
.booking-success-overlay.open { opacity: 1; pointer-events: all; }
.bso-card {
  background: var(--bg);
  border-radius: 24px;
  padding: 36px 24px 28px;
  width: 100%; max-width: 360px;
  text-align: center;
  position: relative;
}
.bso-x {
  position: absolute; top: 14px; right: 14px;
  width: 30px; height: 30px; border-radius: 50%;
  border: none; background: rgba(28,25,22,0.08);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.bso-icon {
  width: 64px; height: 64px;
  background: var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.bso-card h3 { font-size: 24px; font-weight: 700; margin-bottom: 6px; line-height: 1.2; }
.bso-sub { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; }
.bso-steps {
  list-style: none;
  text-align: left;
  background: var(--sand);
  border-radius: 14px;
  padding: 14px 18px;
  margin-bottom: 20px;
}
.bso-steps li {
  font-size: 14px; line-height: 1.5; color: var(--text);
  padding: 6px 0; display: flex; gap: 10px; align-items: flex-start;
}
.bso-steps li:not(:last-child) { border-bottom: 1px solid var(--border); }
.bso-si { font-size: 15px; flex-shrink: 0; width: 20px; }
.bso-btns { display: flex; gap: 10px; margin-bottom: 16px; }
.bso-btns a {
  flex: 1; height: 48px; border-radius: 9999px;
  display: flex; align-items: center; justify-content: center;
  gap: 7px; font-size: 14px; font-weight: 600; text-decoration: none;
}
.bso-btn-tg { background: #2AABEE; color: white; }
.bso-btn-vb { background: #7360F2; color: white; }
.bso-close {
  font-size: 14px; color: var(--text-muted);
  background: none; border: none; cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px;
}

/* ===== CABIN GALLERY THUMBNAIL ===== */
.cabin-gallery {
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.cabin-gallery:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.cabin-gallery .cabin-photo {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.35s ease;
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
}
.cabin-gallery:hover .cabin-photo { transform: scale(1.04); }
.cabin-gallery-badge {
  position: absolute;
  bottom: 10px; right: 10px;
  background: rgba(28,25,22,0.72);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 12px; font-weight: 600;
  padding: 5px 10px 5px 8px;
  border-radius: 20px;
  display: flex; align-items: center; gap: 5px;
  pointer-events: none;
}

/* ===== LIGHTBOX ===== */
.lb-overlay {
  position: fixed; inset: 0;
  background: rgba(10,8,6,0.97);
  z-index: 300;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s;
}
.lb-overlay.open { opacity: 1; pointer-events: all; }

.lb-stage {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
  padding: 56px 64px 56px;
}
.lb-img {
  max-height: 100%; max-width: 100%;
  width: auto; height: auto;
  object-fit: contain;
  border-radius: 8px;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

.lb-close {
  position: fixed; top: 14px; right: 14px;
  width: 42px; height: 42px;
  background: rgba(255,255,255,0.12);
  border: none; border-radius: 50%;
  color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  z-index: 10;
  transition: background 0.2s;
}
.lb-close:hover { background: rgba(255,255,255,0.22); }

.lb-arrow {
  position: fixed;
  top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px;
  background: rgba(255,255,255,0.1);
  border: none; border-radius: 50%;
  color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  z-index: 10;
  transition: background 0.2s;
}
.lb-arrow:hover { background: rgba(255,255,255,0.22); }
.lb-prev { left: 12px; }
.lb-next { right: 12px; }

.lb-counter {
  position: fixed;
  bottom: 18px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.65);
  font-size: 13px; font-weight: 500;
  background: rgba(10,8,6,0.5);
  padding: 4px 14px; border-radius: 20px;
  pointer-events: none;
}

@media (max-width: 480px) {
  .lb-stage { padding: 52px 48px 48px; }
  .lb-arrow { width: 40px; height: 40px; }
  .lb-prev { left: 6px; }
  .lb-next { right: 6px; }
}

/* =====================================================
   DESKTOP LAYOUT — 1024px+
   Inspired by Komulin desktop.html:
   max-width 1200px container, 2-col hero, grid sections
===================================================== */

@media (min-width: 1024px) {

  /* --- Remove mobile column constraint --- */
  body {
    max-width: none;
    padding-bottom: 0;
    box-shadow: none;
  }

  /* --- Section centering formula ---
     Gives 60px min padding; centers at 1200px max content width.
     Background colors still stretch full-viewport. */
  section {
    padding: 80px max(60px, calc((100vw - 1200px) / 2));
  }

  /* --- NAV --- */
  .nav { padding: 0; }
  .nav-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 max(60px, calc((100vw - 1200px) / 2));
    height: 68px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
  }
  .nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
  }
  .nav-right { display: flex; align-items: center; justify-content: flex-end; }
  .nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    transition: color .15s;
  }
  .nav-link:hover { color: var(--text); }

  /* --- HERO: 2-column --- */
  .hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 56px;
    min-height: calc(100vh - 68px);
    align-items: center;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  /* Left column: flex column content */
  .hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  /* Right column: image stretches to full grid-row height */
  .hero > .hero-img {
    width: 100%;
    min-height: 520px;
    height: 100%;
    align-self: stretch;
    border-radius: 28px;
  }
  .hero h1 { font-size: 62px; }
  .hero-cta { flex-direction: row; }
  .hero-cta .btn-full { width: auto; flex: 1; }
  .hero-stats { margin-bottom: 0; }

  /* --- FEATURES: grid instead of horizontal scroll --- */
  .features {
    padding: 80px max(60px, calc((100vw - 1200px) / 2));
  }
  .features-header { padding: 0 0 28px; }
  .features-header h2 { font-size: 32px; }

  .features-track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow-x: visible;
    padding: 0;
    gap: 16px;
    flex-wrap: wrap; /* fallback in case flex kicks in */
  }
  .features-track::after { display: none; }
  .feature-card {
    width: auto;
    flex: none;
    scroll-snap-align: none;
  }

  /* --- CABINS: 3-column grid --- */
  .cabin-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  /* Wider aspect ratio on desktop (portrait → landscape) */
  .cabin-img { aspect-ratio: 4 / 3; }

  /* --- RULES: 4-column on desktop --- */
  .rules { padding: 80px max(60px, calc((100vw - 1200px) / 2)); }
  .rules-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }

  /* --- AMENITIES: 4-column, 16 items = perfect 4×4 --- */
  .amenities-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
  }
  .amenity-item { grid-column: span 1; }

  /* --- VIBE: heading+tagline left / emoji list right --- */
  .vibe {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 80px;
    align-items: start;
  }
  .vibe .eyebrow   { grid-column: 1; }
  .vibe h2         { grid-column: 1; font-size: 42px; }
  .vibe .vibe-list {
    grid-column: 2;
    grid-row: 1 / 4;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-self: center;
  }
  .vibe .vibe-tagline { grid-column: 1; }

  /* --- PHOTO GALLERY: bleed track with larger slides --- */
  .photo-gallery {
    padding: 80px max(60px, calc((100vw - 1200px) / 2)) 16px;
  }
  .photo-gallery-header { padding: 0 0 20px; }
  .photo-track { padding: 0 0 8px; }
  .photo-track::after { display: none; }
  .photo-slide {
    width: calc(33.333% - 8px);
    height: 300px;
  }

  /* --- GALLERY (reviews): wider slides --- */
  .gallery {
    padding: 48px max(60px, calc((100vw - 1200px) / 2)) 80px;
  }
  .gallery .section-header { padding: 0 0 24px; }
  .gallery-track { padding: 0 0 16px; }
  .gallery-track::after { display: none; }
  .gallery-slide { width: calc(22% - 10px); }

  /* --- STORY: heading left / paragraph right --- */
  .story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 80px;
    align-items: center;
  }
  .story .eyebrow { grid-column: 1; }
  .story h2 { grid-column: 1; font-size: 46px; }
  .story p   { grid-column: 2; grid-row: 1 / 3; align-self: center; font-size: 17px; line-height: 1.7; }

  /* --- GALLERY HEADER: heading left / stars right --- */
  .gallery-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
  }
  .gallery-header-left { flex: 1; }
  .gallery .reviews-note {
    text-align: right;
    padding: 0;
    flex-shrink: 0;
    padding-bottom: 4px;
  }
  .gallery .reviews-stars { text-align: right; font-size: 26px; margin-bottom: 6px; }
  .gallery .reviews-text  { font-size: 14px; color: var(--text-muted); white-space: nowrap; }

  /* --- LOCATION: 3-column grid --- */
  .location-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 28px;
  }
  .loc-card { padding: 20px 18px; }
  .loc-card h3 { font-size: 16px; }
  .loc-card p  { font-size: 13px; }

  /* --- FAQ: sidebar + items --- */
  .faq {
    display: grid;
    grid-template-columns: 280px 1fr;
    column-gap: 80px;
    align-items: start;
  }
  .faq .section-header {
    margin-bottom: 0;
    position: sticky;
    top: 88px;
  }
  .faq .section-header h2 { font-size: 34px; }

  /* --- CONTACT CTA: 4 contact buttons in a row --- */
  .contact-btns {
    grid-template-columns: repeat(4, 1fr);
    max-width: 840px;
    margin-left: auto;
    margin-right: auto;
  }
  .contact-cta .btn-full { max-width: 400px; }

  /* --- FOOTER: horizontal layout --- */
  .footer {
    padding: 44px max(60px, calc((100vw - 1200px) / 2)) 32px;
  }
  .footer-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto auto;
    column-gap: 40px;
    row-gap: 4px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
  }
  .footer-logo   { grid-column: 1; grid-row: 1 / 3; align-self: center; justify-content: flex-start; margin-bottom: 0; }
  .footer-meta   { grid-column: 2; grid-row: 1; margin-bottom: 0; }
  .footer-links  { grid-column: 3; grid-row: 1 / 3; align-self: center; margin-bottom: 0; gap: 20px; }
  .footer-copy   { grid-column: 2; grid-row: 2; }

  /* --- STICKY BAR: hide on desktop --- */
  .sticky-bar { display: none; }

  /* --- MODAL: centered, wider --- */
  .modal { align-items: center; }
  .modal-panel {
    max-width: 580px;
    border-radius: 28px;
    max-height: 88vh;
  }
  .modal-scroll { padding: 44px 44px 48px; }
  .modal-scroll h2 { font-size: 30px; }

  /* Typography scale-up */
  h2 { font-size: 36px; }
  h3 { font-size: 20px; }
}

/* --- 1280px+: lock max to 1200px --- */
@media (min-width: 1280px) {
  .nav-inner {
    padding: 0 calc((100vw - 1200px) / 2);
  }
  section {
    padding: 80px calc((100vw - 1200px) / 2);
  }
  .features,
  .photo-gallery,
  .gallery {
    padding-left: calc((100vw - 1200px) / 2);
    padding-right: calc((100vw - 1200px) / 2);
  }
  .footer {
    padding-left: calc((100vw - 1200px) / 2);
    padding-right: calc((100vw - 1200px) / 2);
  }
}

/* =====================================================
   DATE RANGE PICKER
===================================================== */

/* Trigger button */
.date-picker-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 13px 16px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  color: var(--text-muted);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.2s, box-shadow 0.2s;
  gap: 8px;
  font-family: inherit;
}
.date-picker-btn:hover,
.date-picker-btn.open { border-color: var(--accent); }
.date-picker-btn #datePickerLabel.has-dates {
  color: var(--text);
  font-weight: 500;
}

/* Calendar popup */
.cal-popup {
  margin-top: 8px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

/* Header: month nav */
.cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
}
.cal-month-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}
.cal-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  color: var(--text-muted);
  transition: background 0.15s, color 0.15s;
  flex-shrink: 0;
}
.cal-nav:hover { background: var(--bg-sand); color: var(--text); }
.cal-nav:disabled { opacity: 0.25; cursor: default; }

/* Day-of-week headers */
.cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  padding: 10px 6px 4px;
}
.cal-weekdays span {
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 0;
}
.cal-weekdays .wknd { color: var(--accent); }

/* Day grid */
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  padding: 2px 6px 8px;
  row-gap: 2px;
}

/* Each day cell */
.cal-day {
  position: relative;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  color: var(--text);
  z-index: 0;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
}
.cal-day.cal-empty { cursor: default; }

/* Past dates */
.cal-day.cal-past {
  color: var(--text-light);
  cursor: default;
}

/* Fully booked */
.cal-day.cal-booked {
  color: #c0392b;
  cursor: not-allowed;
  text-decoration: line-through;
  opacity: 0.7;
  background: #fdf0ef;
  border-radius: 6px;
}
.cal-day.cal-too-close {
  color: #c9b8a8;
  cursor: not-allowed;
  opacity: 0.5;
}

/* Today dot */
.cal-day.cal-today { font-weight: 700; }
.cal-day.cal-today::after {
  content: '';
  position: absolute;
  bottom: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
}

/* Hover (non-past, non-selected) */
.cal-day:not(.cal-past):not(.cal-empty):not(.cal-start):not(.cal-end):hover {
  background: var(--accent-light);
  border-radius: 8px;
  color: var(--accent);
}

/* In-range bar */
.cal-day.cal-in-range {
  background: rgba(27, 122, 120, 0.10);
  border-radius: 0;
  color: var(--accent);
}
/* Round left edge at start of week row */
.cal-day.cal-in-range.cal-row-first {
  border-radius: 8px 0 0 8px;
}
/* Round right edge at end of week row */
.cal-day.cal-in-range.cal-row-last {
  border-radius: 0 8px 8px 0;
}

/* Selected start & end — circle on top, range color extends behind */
.cal-day.cal-start,
.cal-day.cal-end {
  color: #fff;
  font-weight: 600;
}
/* Circle */
.cal-day.cal-start::before,
.cal-day.cal-end::before {
  content: '';
  position: absolute;
  inset: 1px;
  background: var(--accent);
  border-radius: 8px;
  z-index: -1;
}
/* Range color extends right from start cap */
.cal-day.cal-start.cal-has-end::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0; right: 0;
  width: 50%;
  background: rgba(27, 122, 120, 0.10);
  z-index: -2;
}
/* Range color extends left from end cap */
.cal-day.cal-end::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 50%;
  background: rgba(27, 122, 120, 0.10);
  z-index: -2;
}
/* Solo start (no end yet) — full circle, no bleed */
.cal-day.cal-start.cal-solo::after { display: none; }

/* Footer: hint + clear */
.cal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-top: 1px solid var(--border);
}
.cal-hint {
  font-size: 13px;
  color: var(--text-muted);
}
.cal-clear {
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 0;
  font-family: inherit;
}
