/* === Header === */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 100;
  display: flex;
  align-items: center;
  background: transparent;
  transition: background 300ms var(--ease),
              backdrop-filter 300ms var(--ease),
              height 300ms var(--ease),
              transform 300ms var(--ease);
}
.site-header.is-scrolled {
  height: var(--header-h-sm);
  background: var(--bg-overlay);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}


.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand__logo {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.nav { display: none; }
@media (min-width: 1024px) {
  .nav { display: flex; gap: 32px; }
}
.nav__link {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  padding: 4px 0;
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 300ms var(--ease);
}
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); }

.header-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}
.header-phone {
  display: none;
  font-size: 14px;
  color: var(--text-primary);
}
@media (min-width: 768px) {
  .header-phone { display: inline; }
}

.menu-toggle {
  display: flex;
  width: 40px; height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.menu-toggle__line {
  position: relative;
  width: 22px; height: 2px;
  background: var(--text-primary);
  transition: transform 300ms var(--ease), background 300ms var(--ease);
}
.menu-toggle__line::before,
.menu-toggle__line::after {
  content: '';
  position: absolute;
  left: 0; width: 22px; height: 2px;
  background: var(--text-primary);
  transition: transform 300ms var(--ease);
}
.menu-toggle__line::before { top: -7px; }
.menu-toggle__line::after  { top: 7px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__line { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__line::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__line::after  { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 1024px) { .menu-toggle { display: none; } }

/* === Mobile drawer === */
.mobile-drawer {
  position: fixed;
  top: 0; right: 0;
  width: min(360px, 100%); height: 100vh;
  background: var(--bg-elevated);
  transform: translateX(100%);
  transition: transform 400ms var(--ease);
  z-index: 110;
  padding: 96px 32px 32px;
  overflow-y: auto;
}
.mobile-drawer.is-open { transform: translateX(0); }
.mobile-drawer__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms var(--ease);
  z-index: 105;
}
.mobile-drawer__overlay.is-visible { opacity: 1; pointer-events: auto; }
.mobile-drawer__nav { display: flex; flex-direction: column; gap: 24px; }
.mobile-drawer__nav a { font-family: var(--font-serif); font-size: 24px; font-weight: 600; color: var(--text-primary); }

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 300ms var(--ease);
  text-decoration: none;
  border-radius: 2px;
}
.btn--primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn--primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-1px);
}
.btn--primary::after {
  content: '→';
  transition: transform 300ms var(--ease);
}
.btn--primary:hover::after { transform: translateX(4px); }
.btn--outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn--outline:hover {
  background: var(--accent-soft);
}
.btn--ghost {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

/* === Cards === */
.card {
  display: block;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 400ms var(--ease),
              box-shadow 400ms var(--ease),
              border-color 400ms var(--ease);
}
.card__image picture { display: block; width: 100%; height: 100%; }
.card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 20px 60px rgba(230, 118, 32, 0.25);
  border-color: var(--accent);
}
.card__image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-primary);
}
.card__image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease);
}
.card:hover .card__image img { transform: scale(1.06); }
.card__body { padding: 24px 24px 32px; }
.card__title { margin-bottom: 8px; }
.card__price {
  display: inline-block;
  margin-top: 16px;
  padding: 6px 12px;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  border-radius: 2px;
}

/* === Feature icons === */
.feature {
  text-align: center;
  padding: 24px;
}
.feature__icon {
  width: 48px; height: 48px;
  margin: 0 auto 16px;
  color: var(--accent);
}
.feature__icon svg { width: 100%; height: 100%; }
.feature__title { font-family: var(--font-sans); font-size: 16px; font-weight: 500; margin-bottom: 4px; }
.feature__desc { font-size: 14px; color: var(--text-muted); }

/* === Footer === */
.site-footer {
  background: #2c1810;
  color: #fdf6ee;
  border-top: 4px solid var(--accent);
  padding: 64px 0 32px;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
@media (min-width: 768px) {
  .site-footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}
.site-footer h4 {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(253, 246, 238, 0.6);
  margin-bottom: 16px;
}
.site-footer ul { display: flex; flex-direction: column; gap: 8px; }
.site-footer p,
.site-footer a { color: #fdf6ee; }
.site-footer a:hover { color: var(--accent); }
.site-footer__bottom {
  border-top: 1px solid rgba(253, 246, 238, 0.12);
  padding-top: 24px;
  font-size: 13px;
  color: rgba(253, 246, 238, 0.5);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

/* === Lightbox === */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.92);
  display: flex; align-items: center; justify-content: center;
  z-index: 200;
  opacity: 0; pointer-events: none;
  transition: opacity 250ms var(--ease);
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox__img {
  max-width: 90vw; max-height: 80vh;
  margin-top: 60px;
  object-fit: contain;
  transform: scale(0.96);
  transition: transform 250ms var(--ease);
}
.lightbox.is-open .lightbox__img { transform: scale(1); }
.lightbox__close,
.lightbox__prev,
.lightbox__next {
  position: absolute;
  z-index: 10;
  background: rgba(0,0,0,0.55);
  border: 2px solid rgba(255,255,255,0.35);
  color: #fff;
  width: 52px; height: 52px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 32px;
  line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: background 200ms, border-color 200ms;
}
.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover { background: var(--accent); border-color: var(--accent); }
.lightbox__close { top: 20px; right: 20px; font-size: 28px; }
.lightbox__prev  { left: 16px;  top: 50%; transform: translateY(-50%); }
.lightbox__next  { right: 16px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) {
  .lightbox__prev, .lightbox__next { display: none; }
  .lightbox__close { top: 12px; right: 12px; width: 44px; height: 44px; }
}
.lightbox__caption {
  position: absolute;
  bottom: 32px; left: 50%; transform: translateX(-50%);
  color: var(--text-muted);
  font-size: 14px;
}

/* === Masonry === */
.gallery--masonry {
  column-count: 1; column-gap: 16px;
}
@media (min-width: 640px)  { .gallery--masonry { column-count: 2; } }
@media (min-width: 1024px) { .gallery--masonry { column-count: 3; } }
.gallery--masonry > * {
  break-inside: avoid;
  margin-bottom: 16px;
  display: block;
}
.gallery--masonry > a picture,
.gallery--masonry > a img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}

/* === Preview grid on home page === */
.gallery--preview > a {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 4px;
  position: relative;
}
.gallery--preview > a picture {
  display: block;
  width: 100%;
  height: 100%;
}
.gallery--preview > a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease);
}
.gallery--preview > a:hover img { transform: scale(1.05); }

/* === Hero === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  display: block;
  z-index: 0;
}
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* Photos are shown in natural colors — no CSS filter applied. */
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg,
      rgba(230, 118, 32, 0.65) 0%,
      rgba(230, 118, 32, 0.50) 50%,
      rgba(230, 118, 32, 0.55) 100%);
  z-index: 1;
}
.hero__content { position: relative; z-index: 2; padding-top: var(--header-h); width: 100%; }
.hero__title { color: #fff; margin: 16px 0; max-width: 14ch; text-shadow: 0 2px 12px rgba(0,0,0,0.18); }
.hero__sub   { color: #ffffff; font-size: 18px; max-width: 50ch; opacity: 0.96; }

/* Hero grid: text left, booking widget right (matches old site layout) */
.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr auto;
    gap: 64px;
  }
}
.hero__text { min-width: 0; }

.hero__booking {
  width: 100%;
  max-width: 320px;
  justify-self: center;
}
@media (min-width: 1024px) {
  .hero__booking { justify-self: end; }
}
.hero__booking-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 16px;
  text-align: center;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 6px rgba(0,0,0,0.15);
}

/* Bnovo widget container — transparent, fits over hero background.
   The widget itself injects its own styled iframe; this is just the wrapper. */
#bnovo-widget {
  width: 264px;
  margin: 0 auto;
  background: transparent;
  border-radius: 8px;
}
#bnovo-widget a#_bnovo_link_ { display: none; }

/* === FAQ === */
.faq__item { border-top: 1px solid var(--border); padding: 24px 0; }
.faq__item:last-child { border-bottom: 1px solid var(--border); }
.faq__item summary {
  cursor: pointer;
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: '+'; color: var(--accent); font-size: 24px; }
.faq__item[open] summary::after { content: '−'; }
.faq__item p { margin-top: 12px; }

/* === Contact form === */
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.contact-form__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 640px) {
  .contact-form__row { grid-template-columns: 1fr 1fr; }
}
.contact-form label { display: flex; flex-direction: column; gap: 8px; }
.contact-form__label {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.contact-form input,
.contact-form textarea {
  background: #fffaf3;
  border: 1px solid var(--border);
  color: var(--text-primary);
  padding: 12px 16px;
  font-size: 16px;
  border-radius: 2px;
  font-family: var(--font-sans);
  transition: border-color 200ms;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  outline: none;
}
.contact-form textarea { resize: vertical; min-height: 120px; }

/* === Hero header overrides: readable over orange overlay until scrolled === */
.site-header:not(.is-scrolled) {
  background: linear-gradient(180deg,
              rgba(214, 106, 24, 0.85) 0%,
              rgba(214, 106, 24, 0.55) 80%,
              rgba(214, 106, 24, 0.0) 100%);
}
.site-header:not(.is-scrolled) .brand,
.site-header:not(.is-scrolled) .nav__link,
.site-header:not(.is-scrolled) .header-phone {
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.site-header:not(.is-scrolled) .menu-toggle__line,
.site-header:not(.is-scrolled) .menu-toggle__line::before,
.site-header:not(.is-scrolled) .menu-toggle__line::after {
  background: #fff;
}
.site-header:not(.is-scrolled) .nav__link::after {
  background: #fff;
}

/* Hero .label override: white instead of orange on the orange overlay */
.hero__content .label {
  color: #fff;
  opacity: 0.95;
  text-shadow: 0 1px 6px rgba(0,0,0,0.15);
}
