:root {
  color-scheme: light;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #1A1510;
  background: #F8F4EE;
  --bg: #F8F4EE;
  --surface: #ffffff;
  --primary: #2A1A0C;
  --accent: #C49A4A;
  --text: #1A1510;
  --muted: #7A6A5A;
  --border: #E2D8CC;
  --footer-bg: #1C1007;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
  border-radius: 20px;
}

button, a { font: inherit; }

.container {
  width: min(1140px, calc(100% - 2rem));
  margin: 0 auto;
}

/* ── Header ──────────────────────────────────── */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.site-header.scrolled {
  backdrop-filter: blur(16px) saturate(1.6);
  -webkit-backdrop-filter: blur(16px) saturate(1.6);
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: rgba(28, 41, 61, 0.07);
  box-shadow: 0 4px 28px rgba(15, 23, 42, 0.10);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 0;
}

/* Brand */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: var(--primary);
  color: #fff;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 800;
  flex-shrink: 0;
  transition: transform 0.22s ease;
}

.brand:hover .brand-mark {
  transform: rotate(-6deg) scale(1.1);
}

.brand-name {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

/* Nav */

.nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  flex-wrap: wrap;
}

.header-cta {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.site-header:not(.scrolled) .brand,
.site-header:not(.scrolled) .nav-toggle {
  color: #fff;
}

@media (min-width: 821px) {
  .site-header:not(.scrolled) .nav-list > a:not(.btn),
  .site-header:not(.scrolled) .header-phone {
    color: #fff;
  }

  .site-header:not(.scrolled) .header-phone {
    border-color: rgba(255, 255, 255, 0.45);
  }

  .site-header:not(.scrolled) .header-phone:hover {
    border-color: #fff;
    color: #fff;
  }

  .site-header:not(.scrolled) .nav-list > a:not(.btn):hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
  }
}

.nav-list > a:not(.btn) {
  position: relative;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  transition: color 0.18s ease, background 0.18s ease;
}

.nav-list > a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: 3px;
  left: 0.75rem;
  right: 0.75rem;
  height: 2px;
  background: var(--primary);
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.nav-list > a:not(.btn):hover {
  color: var(--primary);
  background: rgba(42, 26, 12, 0.06);
}

.nav-list > a:not(.btn):hover::after {
  transform: scaleX(1);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 12px rgba(42, 26, 12, 0.25);
}

.btn-primary:hover {
  box-shadow: 0 6px 20px rgba(42, 26, 12, 0.35);
}

.btn-secondary {
  background: #fff;
  color: var(--text);
  border-color: var(--border);
}

.btn-booking {
  background: #0071C2;
  color: #fff;
  box-shadow: 0 2px 12px rgba(0, 113, 194, 0.25);
}

.btn-booking:hover {
  box-shadow: 0 6px 20px rgba(0, 113, 194, 0.35);
}

.btn-airbnb {
  background: #FF385C;
  color: #fff;
  box-shadow: 0 2px 12px rgba(255, 56, 92, 0.25);
}

.btn-airbnb:hover {
  box-shadow: 0 6px 20px rgba(255, 56, 92, 0.35);
}

.btn-ghost-dark {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--border);
}

.btn-ghost-dark:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.booking-inquiry-btn {
  text-align: center;
  background: #e2e8f0;
  border-color: #e2e8f0;
  color: #374151;
}

.booking-inquiry-btn:hover {
  background: #cbd5e1;
  border-color: #cbd5e1;
  color: var(--text);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(4px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.24);
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  margin-left: 0.5rem;
  transition: border-color 0.18s, color 0.18s;
  white-space: nowrap;
}

.header-phone:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.nav-cta {
  padding: 0.6rem 1.3rem;
  font-size: 0.9rem;
  margin-left: 0.5rem;
}

.nav-cta-dropdown {
  display: none;
}

/* Mobile toggle */

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 8px;
  transition: background 0.18s;
}

.nav-toggle:hover { background: rgba(0, 0, 0, 0.06); }

.nav-toggle svg {
  display: block;
  color: var(--text);
}

/* ── Hero ─────────────────────────────────────── */

.hero-section {
  position: relative;
  min-height: 100vh;
  color: #ffffff;
  overflow: hidden;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0) 18%),
    linear-gradient(160deg, rgba(6, 14, 30, 0.2) 0%, rgba(6, 14, 30, 0.82) 100%),
    url('images/apartman-mirakul-dnevni-boravak-panorama.webp');
  background-size: cover;
  background-position: center;
  filter: saturate(1.08);
}

.hero-content {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 6rem 0 1rem;
  z-index: 1;
  overflow: hidden;
}

.hero-content > * {
  max-width: 100%;
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 1rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-brand {
  font-size: clamp(2.6rem, 5.5vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #fff;
  margin-bottom: 0.3rem;
}

.hero-section h1 {
  font-size: clamp(1.4rem, 2.2vw, 2.2rem);
  font-weight: 500;
  line-height: 1.3;
  margin: 0;
  opacity: 0.88;
  max-width: 24ch;
  letter-spacing: -0.02em;
}

.hero-section p {
  margin: 1.75rem 0 2.25rem;
  max-width: 600px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.1rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: auto;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 520px;
  margin-top: 1.25rem;
}

.hero-meta div,
.hero-meta a {
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  padding: 1rem 1.25rem;
  backdrop-filter: blur(8px);
  text-decoration: none;
  color: inherit;
}

.hero-meta strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.hero-meta span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.72);
}

/* ── Sections ─────────────────────────────────── */

.section { padding: 4.5rem 0; overflow-x: hidden; }

.section-about { padding-bottom: 3rem; }

.about-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.25rem;
  margin-bottom: 1.75rem;
}

.about-tab {
  padding: 0.35rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 2rem;
  background: transparent;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s, color 0.18s;
}

.about-tab:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.about-tab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.about-panel {
  animation: aboutFadeIn 0.25s ease;
}

@keyframes aboutFadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to   { opacity: 1; transform: translateY(0); }
}

.section-about,
.section-location,
.section-booking {
  background: #fff;
}

.section-nearby,
.section-gallery {
  background: var(--bg);
}

.grid-two {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.grid-two > *,
.booking-card > *,
.contact-layout > *,
.reviews-layout > * {
  min-width: 0;
}

.feature-cards,
.grid-three,
.nearby-grid,
.gallery-grid {
  display: grid;
  gap: 1.25rem;
}

.feature-cards {
  grid-template-columns: 1fr;
}

.grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.nearby-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gallery-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Masonry gallery */
.gallery-wrapper {
  position: relative;
  max-height: 720px;
  overflow: hidden;
  transition: max-height 0.6s ease;
}

.gallery-wrapper.expanded {
  max-height: 9999px;
}

.gallery-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 160px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.gallery-wrapper.expanded .gallery-fade {
  opacity: 0;
}

.gallery-toggle-wrap {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

.gallery-toggle {
  padding: 0.75rem 2rem;
  font-weight: 600;
}

.gallery-masonry {
  columns: 4 180px;
  column-gap: 0.75rem;
}

.gallery-masonry a {
  display: block;
  break-inside: avoid;
  margin-bottom: 0.75rem;
  border-radius: 14px;
  overflow: hidden;
  cursor: zoom-in;
}

.gallery-masonry img {
  width: 100%;
  height: auto;
  border-radius: 0;
  display: block;
  transition: transform 0.3s ease, opacity 0.2s ease;
}

.gallery-masonry a:hover img {
  transform: scale(1.04);
  opacity: 0.88;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(8, 12, 22, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  backdrop-filter: blur(8px);
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 92vw;
  max-height: 92vh;
}

.lightbox-img-wrap img {
  max-width: 92vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 12px;
  border: none;
  display: block;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s ease;
  font-family: inherit;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.24);
}

.lightbox-close {
  top: 1.25rem;
  right: 1.25rem;
  width: 44px;
  height: 44px;
  font-size: 1.1rem;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  font-size: 1.8rem;
}

.lightbox-prev { left: 1.25rem; }
.lightbox-next { right: 1.25rem; }

.card,
.feature-item,
.nearby-card {
  background: #fff;
  border: 1px solid rgba(28, 41, 61, 0.08);
  border-radius: 24px;
  padding: 1.75rem;
}

.section-about .card {
  background: #faf6f0;
}

.card h3,
.feature-item h3,
.nearby-card h3 {
  margin-top: 0;
  font-size: 1.05rem;
  font-weight: 700;
}

.feature-icon {
  font-size: 1.6rem;
  margin-bottom: 0.85rem;
  color: var(--primary);
  line-height: 1;
}

.section h2 {
  font-size: clamp(2rem, 2.8vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 0.5rem;
  margin-bottom: 1.25rem;
  line-height: 1.15;
  overflow-wrap: break-word;
}

.section p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

/* Reviews */

.section-reviews {
  background: var(--bg);
  padding: 3.5rem 0;
}

.reviews-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.75rem;
  align-items: start;
  margin-top: 2rem;
}

.reviews-score-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.score-big {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -0.03em;
}

.score-label {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.score-source {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 0 0 0.5rem;
}

.score-bars {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 0.5rem;
}

.score-bar-item {
  display: grid;
  grid-template-columns: 75px 1fr 30px;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.bar-track {
  height: 5px;
  background: var(--border);
  border-radius: 999px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background: #00a550;
  border-radius: 999px;
}

.bar-val {
  font-weight: 600;
  color: var(--text);
  text-align: right;
}

.review-btn {
  margin-top: 0.5rem;
  font-size: 0.88rem;
  padding: 0.7rem 1rem;
  text-align: center;
}

.review-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.reviews-carousel-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.reviews-carousel {
  flex: 1;
  min-width: 0;
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.reviews-carousel::-webkit-scrollbar {
  display: none;
}

.reviews-carousel .review-card {
  flex: 0 0 calc(50% - 0.625rem);
  scroll-snap-align: start;
}

.carousel-btn {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border);
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: background 0.18s, border-color 0.18s, color 0.18s;
}

.carousel-btn:hover {
  background: var(--bg);
  border-color: var(--primary);
  color: var(--primary);
}

.carousel-btn:disabled {
  opacity: 0.3;
  cursor: default;
  pointer-events: none;
}

.carousel-dots {
  display: none;
  justify-content: center;
  gap: 0.5rem;
}

.carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}

.carousel-dot.active {
  background: var(--primary);
  transform: scale(1.3);
}

@media (max-width: 640px) {
  .reviews-carousel .review-card {
    flex: 0 0 100%;
  }

  .carousel-btn {
    display: none;
  }

  .carousel-dots {
    display: flex;
  }
}

.review-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1rem 1.25rem;
}

.review-rating {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  font-size: 0.82rem;
  border-radius: 8px;
  margin-bottom: 0.6rem;
}

.review-card p {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.6;
  margin: 0 0 0.75rem;
  font-style: italic;
}

.reviewer {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.reviewer strong {
  font-size: 0.88rem;
  color: var(--text);
}

.reviewer span {
  font-size: 0.8rem;
  color: var(--muted);
}

.review-source {
  margin: 0.5rem 0 0;
  font-size: 0.72rem;
  font-style: italic;
  color: rgba(42, 26, 12, 0.38);
}

.review-source a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(42, 26, 12, 0.2);
  transition: color 0.2s, border-color 0.2s;
}

.review-source a:hover {
  color: rgba(42, 26, 12, 0.65);
  border-color: rgba(42, 26, 12, 0.45);
}

/* Location */

.location-map iframe {
  width: 100%;
  height: 420px;
  border: 0;
  border-radius: 20px;
}

.location-list {
  list-style: none;
  padding: 0;
  margin: 1.75rem 0 0;
  display: grid;
  gap: 0.6rem;
}

.location-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.6rem 0.75rem;
  background: var(--bg);
  border-radius: 14px;
  border: 1px solid var(--border);
}

.location-item-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: inherit;
  width: 100%;
}

.location-item-link:hover .location-thumb {
  opacity: 0.85;
}

.location-thumb {
  width: 172px;
  height: 128px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}

.location-dist {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  background: #F5EDE1;
  border-radius: 999px;
  padding: 0.15rem 0.6rem 0.15rem 0.45rem;
  width: fit-content;
}

.location-dist::before {
  content: '';
  display: inline-block;
  width: 11px;
  height: 11px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%232A1A0C'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z'/%3E%3C/svg%3E") no-repeat center / contain;
  flex-shrink: 0;
}

.location-list li strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.location-list li span:not(.location-dist) {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
}

/* Booking */

.booking-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
  background: linear-gradient(135deg, #fff 0%, #F5EDE1 100%);
  border: 1px solid rgba(42, 26, 12, 0.12);
  border-radius: 28px;
  padding: 2.5rem;
}

.booking-platform-row {
  display: flex;
  gap: 1rem;
}

.booking-actions {
  display: inline-flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0 auto;
  max-width: 100%;
}

/* ── Contact ─────────────────────────────── */

.section-contact { background: var(--bg); }

.contact-intro {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 2rem 4rem;
  align-items: center;
  max-width: 860px;
}

.contact-info h2 {
  margin-bottom: 0.75rem;
}

/* ── Modal ─────────────────────────────── */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 10, 4, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-overlay[hidden] { display: none; }

.modal-box {
  background: #fff;
  border-radius: 20px;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 64px rgba(0,0,0,0.22);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px 0;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.modal-header h2 {
  font-size: 1.2rem;
  margin: 0;
}

.modal-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--text-muted);
  border-radius: 8px;
  display: flex;
  align-items: center;
  transition: color 0.18s, background 0.18s;
}

.modal-close:hover {
  color: var(--text);
  background: var(--surface);
}

.modal-box .inquiry-form {
  padding: 24px 28px 28px;
}

.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 100px;
  border: 1px solid var(--border);
  font-size: 0.88rem;
  color: var(--text);
  text-decoration: none;
  transition: background 0.18s, border-color 0.18s;
}

.social-link:hover {
  background: var(--surface);
  border-color: var(--text-muted);
}

.booking-meta {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: -0.25rem;
  margin-bottom: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
}

.booking-meta span + span::before {
  content: '\00a0·\00a0';
}

@media (max-width: 560px) {
  .booking-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
  }

  .booking-meta span + span::before {
    content: none;
  }
}

.inquiry-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}

.label-hint {
  font-weight: 400;
  color: var(--muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  font: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
  outline: none;
  width: 100%;
}

.form-group input[type="date"] {
  position: relative;
  cursor: pointer;
}

.form-group input[type="date"]::-webkit-calendar-picker-indicator {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: auto;
  height: auto;
  opacity: 0;
  cursor: pointer;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(42, 26, 12, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 90px;
}

.bed-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.25rem;
}

.bed-option {
  display: flex;
  align-items: center;
  gap: 0;
  cursor: pointer;
}

.bed-option input[type="checkbox"] {
  display: none;
}

.bed-option span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  font-size: 0.9rem;
  color: var(--muted);
  background: var(--bg);
  transition: border-color 0.18s, background 0.18s, color 0.18s;
  user-select: none;
}

.bed-option input:checked + span {
  border-color: var(--primary);
  background: #F5EDE1;
  color: var(--primary);
  font-weight: 600;
}

.bed-option:hover span {
  border-color: var(--primary);
}

.bed-option.disabled {
  cursor: not-allowed;
  pointer-events: none;
}

.bed-option.disabled span {
  opacity: 0.35;
  border-color: var(--border);
  background: transparent;
  color: var(--muted);
}

.form-hint {
  font-size: 0.8rem;
  color: var(--muted);
  margin: -0.5rem 0 0;
}

.nights-display {
  background: #F5EDE1;
  border: 1px solid rgba(42, 26, 12, 0.2);
  border-radius: 10px;
  padding: 0.7rem 1rem;
  font-size: 0.92rem;
  color: var(--primary);
  font-weight: 600;
}

.guests-warning {
  background: #FBF3E3;
  border: 1px solid #C49A4A;
  border-radius: 10px;
  padding: 0.7rem 1rem;
  font-size: 0.88rem;
  color: #856404;
}

.form-submit {
  width: 100%;
  padding: 0.9rem;
  font-size: 1rem;
  margin-top: 0.25rem;
}

.form-success {
  background: #d1fae5;
  border: 1px solid #6ee7b7;
  border-radius: 10px;
  padding: 0.85rem 1rem;
  font-size: 0.92rem;
  color: #065f46;
  text-align: center;
}

@media (max-width: 980px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 640px) {
  .contact-intro {
    grid-template-columns: 1fr;
  }

  .host-card {
    flex-direction: row;
    gap: 1.25rem;
    padding: 1.25rem;
    text-align: left;
    align-items: center;
  }

  .host-photo {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
  }
}

@media (max-width: 560px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .inquiry-form {
    padding: 1.5rem;
  }
}

/* ── Footer ───────────────────────────────────── */

.site-footer {
  background: var(--footer-bg);
  color: #a8b8d0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 3rem;
  padding: 4rem 0 3rem;
}

.footer-brand p {
  margin: 1rem 0 0;
  font-size: 0.92rem;
  line-height: 1.65;
  max-width: 300px;
}

.footer-brand-link {
  color: #fff;
}

.footer-brand-link .brand-mark {
  background: var(--primary);
}

.footer-links h4,
.footer-booking h4 {
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 1.1rem;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
}

.footer-links ul a {
  color: #a8b8d0;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.18s;
}

.footer-links ul a:hover { color: #fff; }

.footer-booking {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.footer-platform-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: opacity 0.18s;
}

.footer-platform-link:hover { opacity: 0.75; }

.footer-address {
  font-size: 0.88rem;
  color: #5e7291;
  margin: 0;
}

.footer-platform-link:last-of-type + .footer-address {
  margin-top: 1rem;
}

.footer-address + .footer-contact-link {
  margin-top: 0.9rem;
}

.footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #a8b8d0;
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.18s;
}

.footer-contact-link:hover { color: #fff; }

.contact-direct {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.contact-direct-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: opacity 0.18s;
}

.contact-direct-link:hover { opacity: 0.75; }

.phone-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.msg-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  transition: transform 0.18s ease, opacity 0.18s;
}

.msg-badge:hover {
  transform: scale(1.12);
  opacity: 0.85;
}

.msg-badge.wa {
  background: #25D366;
  color: #fff;
}

.msg-badge.viber {
  background: #7360f2;
  color: #fff;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  border: none;
  color: #a8b8d0;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
  margin-top: 1.25rem;
  transition: color 0.18s;
}

.share-btn:hover {
  color: #fff;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #4a5a6a;
}

.lang-switch a {
  color: #a8b8d0;
  text-decoration: none;
  transition: color 0.18s;
}

.lang-switch a:hover {
  color: #fff;
}

.lang-switch .lang-active {
  color: #fff;
}

.host-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem 1.5rem;
  gap: 0.75rem;
}

.host-photo {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 3px solid var(--primary);
  box-shadow: 0 2px 12px rgba(140,91,47,.18);
}

.host-name {
  margin: 0;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
}

.footer-bottom-inner p {
  margin: 0;
  font-size: 0.85rem;
  color: #5e7291;
}

.footer-top-link {
  color: var(--accent);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: opacity 0.18s;
}

.footer-top-link:hover { opacity: 0.75; }

/* ── Responsive ───────────────────────────────── */

@media (max-width: 980px) {
  .grid-two,
  .feature-cards,
  .grid-three,
  .gallery-grid,
  .booking-card,
  .hero-meta,
  .reviews-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-layout {
    gap: 2rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .booking-actions {
    margin: 0;
  }
}

@media (max-width: 820px) {
  .header-inner {
    grid-template-columns: 1fr auto auto;
  }

  .header-cta {
    display: none;
  }

  .lang-switch {
    order: 1;
  }

  .nav-toggle {
    display: inline-flex;
    order: 2;
  }

  .nav-list {
    position: absolute;
    top: calc(100% + 6px);
    right: 0.75rem;
    left: 0.75rem;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 0.75rem;
    border-radius: 20px;
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.16);
    transform: translateY(-10px) scale(0.97);
    transform-origin: top right;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.22s ease, opacity 0.22s ease;
    gap: 0.2rem;
  }

  .nav-list.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .nav-list > a:not(.btn) {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 12px;
  }

  .nav-list > a:not(.btn)::after {
    display: none;
  }

  .header-phone {
    width: 100%;
    justify-content: center;
    margin-left: 0;
    border: none;
    padding: 0.4rem 0;
  }

  .nav-cta-dropdown {
    display: flex;
    width: 100%;
    justify-content: center;
    margin-left: 0;
    margin-top: 0.3rem;
    padding: 0.85rem;
  }

  .hero-section {
    min-height: 100svh;
  }

  .hero-content {
    min-height: 100svh;
    padding: 5rem 0 2rem;
  }

  .hero-actions {
    margin-top: auto;
    padding-bottom: 2rem;
  }

  .hero-meta {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 3rem 0 2rem;
  }

  .footer-brand {
    grid-column: auto;
  }
}

@media (max-width: 560px) {
  .nearby-grid {
    grid-template-columns: 1fr;
  }

  .hero-brand {
    font-size: clamp(1.8rem, 8vw, 2.4rem);
  }

  .hero-section h1 {
    font-size: 1.05rem;
    max-width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }

  .booking-card {
    padding: 1.75rem;
  }

  .booking-platform-row {
    flex-direction: column;
  }

  .booking-platform-row .btn {
    width: 100%;
    text-align: center;
  }

  .location-thumb {
    width: 88px;
    height: 68px;
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .feature-cards {
    display: none;
  }

  .gallery-wrapper {
    max-height: none;
    overflow: visible;
  }

  .gallery-masonry {
    display: flex;
    flex-direction: row;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 0.75rem;
    padding: 0 1rem 1rem;
    scrollbar-width: none;
  }

  .gallery-masonry::-webkit-scrollbar {
    display: none;
  }

  .gallery-masonry a {
    flex: 0 0 80vw;
    scroll-snap-align: center;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 0;
  }

  .gallery-masonry img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 12px;
  }

  .gallery-fade {
    display: none;
  }

  .gallery-toggle-wrap {
    display: none;
  }
}

@media (max-width: 400px) {
  .brand-name {
    font-size: 0.88rem;
  }

  .nav-cta {
    padding: 0.5rem 0.9rem;
    font-size: 0.82rem;
  }
}

@media (max-width: 820px) {
  .section { padding: 3.5rem 0; }
  .section-about { padding-bottom: 2.5rem; }
}

@media (max-width: 640px) {
  .section { padding: 2.75rem 0; }
  .section-about { padding-bottom: 2rem; }
}

/* ── FAQ ─────────────────────────────────────── */

.section-faq { background: var(--bg); padding-top: 2.75rem; padding-bottom: 3.25rem; }

.section-faq .faq-title {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0;
  margin: 0 0 1.1rem;
  color: var(--primary);
}

.faq-list {
  max-width: 760px;
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0 1.25rem;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 0;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1;
  color: var(--accent);
  flex-shrink: 0;
}

.faq-item[open] summary::after { content: '\2212'; }

.faq-item p {
  margin: 0 0 1.1rem;
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.95rem;
}

.footer-credit {
  opacity: 0.5;
  font-size: 0.85em;
  letter-spacing: 0.02em;
  margin-left: 0.35rem;
}
