:root {
  color-scheme: light;
  --green: #1e5631;
  --green-strong: #123a22;
  --green-soft: #eaf3ed;
  --sand: #f5efe4;
  --gold: #c9a227;
  --river: #2f6f8f;
  --clay: #a85f3d;
  --white: #ffffff;
  --soft: #f7f7f7;
  --ink: #18231c;
  --muted: #5f6a63;
  --line: rgba(24, 35, 28, 0.12);
  --surface: #ffffff;
  --surface-soft: #fbfaf7;
  --shadow-soft: 0 18px 48px rgba(18, 58, 34, 0.11);
  --shadow-lift: 0 24px 60px rgba(18, 58, 34, 0.17);
  --radius: 8px;
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  font-family: "Poppins", Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0;
  color: var(--ink);
  background: var(--surface-soft);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: 0;
}

::selection {
  color: var(--white);
  background: var(--green);
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1.1rem;
  height: 1.1rem;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.container {
  width: min(1120px, calc(100% - 56px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 1000;
  padding: 10px 14px;
  color: var(--white);
  background: var(--green-strong);
  border-radius: var(--radius);
  transform: translateY(-140%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  padding: 24px;
  transition: opacity 420ms ease, visibility 420ms ease;
  overflow: hidden;
}

.loader__backdrop {
  position: absolute;
  inset: 0;
  background: url("../img/quintal-varanda.jpeg") center/cover no-repeat;
  animation: loaderZoom 9s ease-in-out infinite alternate;
}

.loader__backdrop::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 16% 10%, rgba(201, 162, 39, 0.3), transparent 42%),
    linear-gradient(160deg, rgba(10, 36, 20, 0.9), rgba(18, 58, 34, 0.82) 45%, rgba(10, 32, 19, 0.94));
}

.loader.is-hidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.loader__card {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 16px;
  width: min(92vw, 420px);
  padding: 34px 28px 28px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  animation: loaderCardIn 650ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.loader__logo-wrap {
  position: relative;
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: inset 0 0 0 1px rgba(18, 58, 34, 0.1), 0 14px 32px rgba(0, 0, 0, 0.22);
}

.loader__logo-wrap::before {
  content: "";
  position: absolute;
  inset: -9px;
  border-radius: 50%;
  border: 1px solid rgba(201, 162, 39, 0.55);
  animation: loaderRing 2.4s ease-out infinite;
}

.loader__logo {
  width: 62px;
  height: 62px;
  object-fit: contain;
}

.loader__content {
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
  color: var(--white);
}

.loader__eyebrow {
  margin: 0;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}

.loader__brand {
  margin: 0;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--white);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.25);
}

.loader__text {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.86);
}

.loader__bar {
  width: 100%;
  max-width: 220px;
  height: 5px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  margin-top: 4px;
}

.loader__bar span {
  display: block;
  width: 45%;
  height: 100%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.2), var(--gold), rgba(255, 255, 255, 0.2));
  border-radius: inherit;
  animation: loaderMove 1100ms ease-in-out infinite alternate;
}

.loader__cta {
  position: relative;
  z-index: 1;
  padding: 10px 20px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  font-weight: 600;
  cursor: pointer;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: transform 180ms ease, background 180ms ease, opacity 180ms ease;
}

.loader__cta.is-ready {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.loader__cta:hover,
.loader__cta:focus-visible {
  background: rgba(255, 255, 255, 0.24);
  transform: translateY(-2px);
  outline: none;
}

@keyframes loaderZoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.08);
  }
}

@keyframes loaderMove {
  from {
    transform: translateX(-24%);
  }
  to {
    transform: translateX(126%);
  }
}

@keyframes loaderCardIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes loaderRing {
  0% {
    transform: scale(0.94);
    opacity: 0.9;
  }
  70%,
  100% {
    transform: scale(1.2);
    opacity: 0;
  }
}

@media (max-height: 480px) {
  .loader__card {
    gap: 10px;
    padding: 20px 22px 18px;
  }

  .loader__logo-wrap {
    width: 64px;
    height: 64px;
  }

  .loader__logo {
    width: 42px;
    height: 42px;
  }

  .loader__eyebrow {
    display: none;
  }

  .loader__brand {
    font-size: 1.3rem;
  }
}

.booking-alert {
  position: fixed;
  top: calc(var(--header-height) + 16px);
  right: 18px;
  z-index: 130;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: min(360px, calc(100vw - 32px));
  padding: 14px 40px 14px 14px;
  background: var(--surface, #fff);
  border-radius: var(--radius, 14px);
  box-shadow: var(--shadow-soft, 0 18px 48px rgba(18, 58, 34, 0.16));
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 220ms ease, transform 220ms ease, visibility 220ms;
}

.booking-alert.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.booking-alert__close {
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: var(--muted);
  background: transparent;
  border-radius: 50%;
  cursor: pointer;
}

.booking-alert__close:hover,
.booking-alert__close:focus-visible {
  color: var(--green-strong);
  background: var(--green-soft);
  outline: none;
}

.booking-alert__close .icon {
  width: 0.85rem;
  height: 0.85rem;
}

.booking-alert__bell {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  color: var(--green-strong);
  background: var(--green-soft);
  border-radius: 50%;
}

.booking-alert__bell .icon {
  width: 1.05rem;
  height: 1.05rem;
  transform-origin: top center;
}

.booking-alert.is-visible .booking-alert__bell .icon {
  animation: bookingBellRing 1.4s ease-in-out 0.2s 2;
}

.booking-alert__img {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 10px;
}

.booking-alert__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 2px;
}

.booking-alert__text strong {
  color: var(--ink);
  font-size: 0.92rem;
}

.booking-alert__text span {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

@keyframes bookingBellRing {
  0%, 100% { transform: rotate(0deg); }
  15% { transform: rotate(14deg); }
  30% { transform: rotate(-12deg); }
  45% { transform: rotate(8deg); }
  60% { transform: rotate(-6deg); }
  75% { transform: rotate(3deg); }
}

@media (max-width: 680px) {
  .booking-alert {
    top: calc(var(--header-height) + 10px);
    right: 12px;
    left: 12px;
    width: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .booking-alert {
    transition: opacity 220ms ease;
  }

  .booking-alert.is-visible .booking-alert__bell .icon {
    animation: none;
  }
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding-top: 0;
  pointer-events: none;
  color-scheme: light;
  --green: #1e5631;
  --green-strong: #123a22;
  --green-soft: #eaf3ed;
  --gold: #c9a227;
  --white: #ffffff;
  --ink: #18231c;
  --muted: #5f6a63;
  --line: rgba(24, 35, 28, 0.12);
  --surface: #ffffff;
  --surface-soft: #fbfaf7;
  --shadow-soft: 0 18px 48px rgba(18, 58, 34, 0.11);
}

.nav {
  width: 100%;
  max-width: none;
  height: var(--header-height);
  margin: 0;
  padding: 0;
  color: var(--white);
  background-color: rgba(255, 255, 255, 0);
  border: 1px solid transparent;
  border-radius: 0;
  box-shadow: 0 0 0 rgba(24, 35, 28, 0);
  backdrop-filter: blur(0);
  -webkit-backdrop-filter: blur(0);
  transition:
    background-color 520ms cubic-bezier(0.22, 1, 0.36, 1),
    color 360ms ease,
    box-shadow 520ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 520ms ease,
    backdrop-filter 520ms cubic-bezier(0.22, 1, 0.36, 1),
    -webkit-backdrop-filter 520ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: auto;
}

.nav__inner {
  width: min(1340px, calc(100% - 48px));
  height: var(--header-height);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 12px;
}

.site-header.is-scrolled .nav,
.site-header.is-open .nav {
  color: #18231c;
  background-color: rgba(255, 255, 255, 0.94);
  border-color: rgba(24, 35, 28, 0.12);
  box-shadow: 0 12px 34px rgba(24, 35, 28, 0.1);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.site-header:not(.is-scrolled):not(.is-open) .nav,
.site-header:not(.is-scrolled):not(.is-open) .nav__brand,
.site-header:not(.is-scrolled):not(.is-open) .nav__menu,
.site-header:not(.is-scrolled):not(.is-open) .nav__menu a,
.site-header:not(.is-scrolled):not(.is-open) .icon-button {
  color: #fff;
}

.site-header:not(.is-scrolled):not(.is-open) .nav__brand,
.site-header:not(.is-scrolled):not(.is-open) .nav__menu a {
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55), 0 1px 14px rgba(0, 0, 0, 0.35);
}

.site-header.is-open .nav {
  color: #18231c;
  background-color: #ffffff;
}

.gallery-page .site-header .nav,
.gallery-page .site-header:not(.is-scrolled):not(.is-open) .nav {
  color: #18231c;
  background-color: rgba(255, 255, 255, 0.96);
  border-color: rgba(24, 35, 28, 0.12);
  box-shadow: 0 12px 34px rgba(24, 35, 28, 0.1);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.gallery-page .site-header .nav__inner {
  justify-content: space-between;
}

.gallery-page .site-header .nav__brand,
.gallery-page .site-header:not(.is-scrolled):not(.is-open) .nav__brand {
  color: #18231c;
  text-shadow: none;
}

.gallery-header-back {
  min-height: 42px;
  padding-inline: 14px 16px;
}

.gallery-header-back .icon {
  width: 1rem;
  height: 1rem;
}


.nav__brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  white-space: nowrap;
}

.nav__mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--green);
  border-radius: 50%;
}

.nav__mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nav__menu {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 0.92rem;
  font-weight: 600;
}

.nav__menu a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 116px;
  padding: 10px 20px 10px 14px;
  font-weight: 500;
  border-radius: 999px;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.nav__link-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 auto;
  color: currentColor;
}

.nav__link-icon .icon {
  width: 1.25rem;
  height: 1.25rem;
  color: currentColor;
}

.nav__menu a:hover,
.nav__menu a.is-active {
  color: #123a22;
  background: rgba(30, 86, 49, 0.12);
  transform: translateY(-1px);
}

.site-header:not(.is-scrolled):not(.is-open) .nav__menu a:hover,
.site-header:not(.is-scrolled):not(.is-open) .nav__menu a.is-active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
}

.icon-button {
  position: relative;
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, color 180ms ease, background 180ms ease;
}

.site-header:not(.is-scrolled):not(.is-open) .icon-button {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
}

.icon-button:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}

.mobile-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 140;
  display: none;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid rgba(24, 35, 28, 0.12);
  box-shadow: 0 -12px 34px rgba(18, 58, 34, 0.12);
  backdrop-filter: blur(16px);
}

.mobile-nav__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 58px;
  padding: 8px 6px;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.1;
  color: var(--muted);
  border-radius: 14px;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.mobile-nav__item .icon {
  width: 1rem;
  height: 1rem;
}

.mobile-nav__item:hover,
.mobile-nav__item.is-active {
  color: var(--green-strong);
  background: rgba(30, 86, 49, 0.12);
  transform: translateY(-1px);
}

.button {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  overflow: hidden;
  font-weight: 600;
  line-height: 1;
  border-radius: var(--radius);
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-soft);
}

.button:disabled {
  cursor: default;
  opacity: 0.55;
  filter: grayscale(0.4);
}

.button:disabled:hover {
  transform: none;
  box-shadow: none;
}

.button--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--green), var(--green-strong));
  border-color: color-mix(in srgb, var(--green) 80%, #000);
  box-shadow: 0 12px 26px color-mix(in srgb, var(--green-strong) 38%, transparent);
}

.button--primary:hover {
  background: linear-gradient(135deg, var(--green-strong), var(--green));
  box-shadow: 0 16px 34px color-mix(in srgb, var(--green-strong) 48%, transparent);
}

.button--glass {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(16px);
}

.button--glass:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.55);
}

.hero__actions .button .icon {
  transition: transform 200ms ease;
}

.hero__actions .button--glass:hover .icon {
  transform: translateX(4px);
}

.button--outline {
  color: var(--green-strong);
  background: transparent;
  border-color: var(--green);
}

.button--large {
  min-height: 54px;
  padding-inline: 22px;
}

.button--full {
  width: 100%;
}

.ripple {
  position: absolute;
  z-index: -1;
  width: 12px;
  height: 12px;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(1);
  animation: ripple 520ms ease-out forwards;
}

@keyframes ripple {
  to {
    opacity: 0;
    transform: translate(-50%, -50%) scale(22);
  }
}

.hero {
  position: relative;
  min-height: clamp(220px, 80svh, 720px);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: #0d1710;
  touch-action: pan-y;
}

.hero__slides,
.hero__overlay {
  position: absolute;
  inset: 0;
}

.hero__slides {
  overflow: hidden;
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.035);
  transition: opacity 900ms cubic-bezier(0.4, 0, 0.2, 1),
              transform 3000ms ease;
}

.hero__image.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero__overlay {
  background:
    linear-gradient(90deg, rgba(6, 14, 9, 0.78), rgba(6, 14, 9, 0.43) 48%, rgba(6, 14, 9, 0.26)),
    linear-gradient(0deg, rgba(6, 14, 9, 0.68), rgba(6, 14, 9, 0.08) 42%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 100%;
  padding: 132px clamp(12px, 3vw, 24px) 96px;
}

.hero .container {
  width: min(1320px, calc(100% - 56px));
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--green);
}

.hero h1,
.section h2,
.final-cta h2 {
  margin: 0;
  font-weight: 700;
  line-height: 1.05;
}

.hero h1 {
  max-width: 800px;
  font-size: 3rem;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 8px 16px 8px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--green-strong);
  background: color-mix(in srgb, var(--green-soft) 94%, transparent);
  border: 1px solid color-mix(in srgb, var(--green) 30%, transparent);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(6, 14, 9, 0.22);
}

.hero__badge .icon {
  width: 15px;
  height: 15px;
  color: var(--green);
}

.hero__lead {
  max-width: 700px;
  margin: 22px 0 0;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.88);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero__dots {
  position: absolute;
  right: clamp(18px, 4vw, 52px);
  bottom: 32px;
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  max-width: min(560px, calc(100% - 36px));
}

.hero-dot {
  position: relative;
  width: 8px;
  height: 8px;
  padding: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  cursor: pointer;
  transition:
    width 260ms ease,
    background 260ms ease,
    border-color 260ms ease,
    opacity 260ms ease;
}

.hero-dot.is-active {
  width: 46px;
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.72);
}

.hero-dot.is-active::after {
  content: "";
  position: absolute;
  inset: 0 100% 0 0;
  background: #fff;
  border-radius: inherit;
  animation: dotProgress var(--hero-duration, 3000ms) linear forwards;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 26px;
  z-index: 2;
  width: 30px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 999px;
  transform: translateX(-50%);
}

.scroll-cue span {
  position: absolute;
  left: 50%;
  top: 9px;
  width: 4px;
  height: 8px;
  background: #fff;
  border-radius: 999px;
  transform: translateX(-50%);
  animation: cueMove 1.45s ease-in-out infinite;
}

@keyframes cueMove {
  0%,
  100% {
    opacity: 0.35;
    transform: translate(-50%, 0);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, 14px);
  }
}

.amenity-card,
.booking-main,
.booking-summary,
.payment-main,
.payment-summary,
.destination-card,
.review-card,
.accordion details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.amenity-card .icon {
  width: 1.35rem;
  height: 1.35rem;
  color: var(--green);
}

.amenity-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--green) 28%, var(--line));
  box-shadow: var(--shadow-lift);
}

.section {
  padding: 50px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.section-heading h2,
.section-copy h2,
.final-cta h2 {
  font-size: 2.55rem;
}

.section-heading p:last-child,
.section-copy p {
  color: var(--muted);
}

.section-heading p:last-child {
  margin: 14px 0 0;
}

.location-layout,
.faq-layout {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 64px;
  align-items: center;
}

.section-copy p {
  margin: 18px 0 0;
}

.rules-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 22px 0;
  padding: 0;
  list-style: none;
}

.rules-grid__item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: var(--ink);
}

.rules-grid__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  color: var(--green-strong);
  background: var(--green-soft);
  border-radius: 10px;
}

.rules-grid__icon .icon {
  width: 1.1rem;
  height: 1.1rem;
}

.location-address {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0 0;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.92rem;
}

.location-address .icon {
  flex: 0 0 auto;
  width: 1.1rem;
  height: 1.1rem;
  color: var(--green);
}

.nearby-list__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--green-soft);
  border-radius: var(--radius);
}

.nearby-list__icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  color: var(--green-strong);
  background: var(--surface);
  border-radius: 50%;
}

.nearby-list__icon .icon {
  width: 1.1rem;
  height: 1.1rem;
}

.nearby-list__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.nearby-list__text strong {
  color: var(--ink);
  font-size: 0.92rem;
}

.nearby-list__text small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
}

.booking-section {
  background:
    linear-gradient(180deg, var(--surface-soft), var(--soft));
}

.booking-choice {
  display: grid;
  grid-template-columns: minmax(0, 480px);
  align-items: start;
}

.stay-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  transition: box-shadow 220ms ease;
}

.stay-card:hover {
  box-shadow: var(--shadow-lift);
}

.stay-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0d1710;
}

.stay-card__slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.stay-card__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 420ms ease;
}

.stay-card__slide.is-active {
  opacity: 1;
}

.stay-card__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(13, 23, 16, 0.22);
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity 180ms ease, background 180ms ease, transform 180ms ease;
  cursor: pointer;
}

.stay-card__nav .icon {
  width: 1.1rem;
  height: 1.1rem;
}

.stay-card__nav--prev {
  left: 12px;
}

.stay-card__nav--next {
  right: 12px;
}

.stay-card__media:hover .stay-card__nav,
.stay-card__nav:focus-visible {
  opacity: 1;
}

.stay-card__nav:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.06);
}

.stay-card__badge {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 12px;
  color: #fff;
  background: rgba(13, 23, 16, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  backdrop-filter: blur(12px);
}

.stay-card__badge .icon {
  width: 0.95rem;
  height: 0.95rem;
}

.stay-card__body {
  display: grid;
  gap: 16px;
  padding: 22px;
}

.stay-card__heading .eyebrow {
  margin-bottom: 6px;
}

.stay-card__heading h3,
.stay-card__heading h1 {
  margin: 0;
  font-size: 1.22rem;
}

.stay-card__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 18px;
}

.stay-card__facts span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  color: var(--ink);
  font-size: 0.86rem;
}

.stay-card__facts .icon {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  color: var(--green);
}

.stay-card__note {
  margin: 0;
  padding: 10px 12px;
  color: var(--green-strong);
  background: var(--green-soft);
  border-radius: var(--radius);
  font-size: 0.86rem;
}

.stay-card__pricebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.stay-card__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: var(--ink);
}

.stay-card__price strong {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}

.stay-card__price span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.stay-card__pricebar .button {
  flex: 0 0 auto;
  min-width: 116px;
}

.stay-card__policy {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.stay-card__policy .icon {
  width: 0.9rem;
  height: 0.9rem;
  flex: 0 0 auto;
  color: var(--muted);
}

body.booking-open {
  overflow: hidden;
}

body.booking-open .mobile-nav,
body.booking-open .back-to-top {
  display: none;
}

body.account-open {
  overflow: hidden;
}

body.account-open .mobile-nav,
body.account-open .back-to-top {
  display: none;
}

body.profile-open {
  overflow: hidden;
}

body.profile-open .back-to-top {
  display: none;
}

.booking-panel {
  position: fixed;
  inset: var(--header-height) 0 0 0;
  z-index: 95;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--surface-soft);
}

.booking-panel__top,
.booking-layout,
.booking-form-row {
  width: min(1160px, calc(100% - 56px));
  margin-inline: auto;
}

.booking-panel__top {
  padding: 24px 0 4px;
}

.booking-panel__top > div {
  padding-right: 64px;
}

.booking-panel__top h3 {
  margin: 0;
  font-size: 1.45rem;
}

.booking-panel__top p:last-child {
  max-width: 660px;
  margin: 8px 0 0;
  color: var(--muted);
}

.booking-panel__close {
  position: fixed;
  top: calc(var(--header-height) + 16px);
  right: max(16px, calc((100% - 1160px) / 2 + 16px));
  z-index: 96;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.booking-panel__close:hover {
  background: var(--green-soft);
  box-shadow: var(--shadow-lift);
  transform: rotate(90deg);
}

.booking-layout,
.payment-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 18px;
  align-items: start;
}

.booking-layout {
  padding: 24px 0 0;
}

.booking-main,
.booking-summary,
.payment-main,
.payment-summary {
  padding: 22px;
}

.booking-summary,
.payment-summary {
  position: sticky;
  top: 24px;
}

.booking-form-row {
  margin-top: 18px;
  margin-bottom: 40px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.form-full-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.form-full-span {
  grid-column: 1 / -1;
}

.form-bottom-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.form-bottom-row .check-field {
  flex: 1;
  min-width: 240px;
}

.form-bottom-row .button {
  white-space: nowrap;
}

.booking-controls {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

label {
  display: grid;
  gap: 7px;
  font-weight: 600;
  color: var(--ink);
}

label span {
  font-size: 0.86rem;
}

input,
select,
textarea {
  width: 100%;
  color: var(--ink);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

input,
select {
  min-height: 46px;
  padding: 0 12px;
}

select {
  appearance: none;
  padding-right: 34px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235f6a63' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 18px;
  cursor: pointer;
}

textarea {
  resize: vertical;
  min-height: 92px;
  padding: 12px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--green) 18%, transparent);
  background: var(--surface);
}

#profileForm input.is-saved,
#profileForm select.is-saved {
  color: var(--green-strong);
  border-color: var(--green);
}

.field-hint {
  min-height: 16px;
  font-weight: 500;
  font-size: 0.76rem;
  color: var(--muted);
}

.field-hint.is-success {
  color: var(--green-strong);
}

.field-hint.is-error {
  color: #bd3a3a;
}

.calendar-shell {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.calendar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.calendar-top h3 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 700;
  text-align: center;
}

.calendar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 16px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  font-size: 0.82rem;
}

.calendar-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.legend-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
}

.legend-dot--selected {
  background: var(--gold);
}

.legend-dot--reserved {
  background: #c94545;
}

.legend-dot--blocked {
  background: #9ca3af;
}

.calendar {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 16px;
}

.calendar-month h4 {
  margin: 0 0 12px;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--green-strong);
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.weekday,
.day {
  min-width: 0;
  text-align: center;
}

.weekday {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.day {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  min-height: 42px;
  display: grid;
  place-items: center;
  color: var(--green-strong);
  background: color-mix(in srgb, var(--green) 9%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--green) 32%, var(--line));
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 600;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.day:hover:not(:disabled) {
  transform: translateY(-1px);
  border-color: var(--green);
  background: color-mix(in srgb, var(--green) 18%, var(--surface));
}

.day:disabled {
  cursor: not-allowed;
  color: color-mix(in srgb, var(--muted) 60%, transparent);
  background: color-mix(in srgb, var(--soft) 70%, var(--surface));
  border-color: var(--line);
  font-weight: 400;
}

.day.is-today {
  border-color: var(--gold);
  border-width: 2px;
}

.day.is-range {
  color: var(--green-strong);
  background: color-mix(in srgb, var(--green-soft) 78%, var(--surface));
  border-color: var(--gold);
  border-width: 2px;
}

.day.is-selected {
  color: #fff;
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 6px 16px color-mix(in srgb, var(--gold) 45%, transparent);
}

.day.is-reserved {
  color: #fff;
  background: #bd3a3a;
  border-color: #bd3a3a;
}

.day.is-blocked {
  color: #fff;
  background: #8b939d;
  border-color: #8b939d;
}

.summary-list {
  display: grid;
  gap: 0;
  margin: 18px 0 0;
}

.summary-list div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.summary-list dt {
  color: var(--muted);
}

.summary-list dd {
  margin: 0;
  font-weight: 700;
  text-align: right;
}

.summary-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 18px 0;
  padding: 16px;
  color: var(--white);
  background: var(--green-strong);
  border-radius: var(--radius);
}

.summary-total span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
}

.summary-total strong {
  font-size: 1.45rem;
}

.summary-note,
.form-status {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.88rem;
}

.summary-note.is-error {
  color: #bd3a3a;
}

.summary-note.is-success {
  color: var(--green-strong);
}

.reservation-form {
  display: grid;
  gap: 12px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 92px;
  gap: 10px;
}

.check-field {
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 10px;
  color: var(--muted);
  font-weight: 500;
}

.check-field input {
  min-height: auto;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--green);
}

.form-status {
  min-height: 20px;
  margin: 0;
}

.form-status.is-error {
  color: #bd3a3a;
}

.form-status.is-success {
  color: var(--green-strong);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.filter-button {
  min-height: 42px;
  padding: 0 15px;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 600;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.filter-button:hover,
.filter-button.is-active {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
  transform: translateY(-1px);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 12px;
}

.gallery-item {
  grid-column: span 4;
  aspect-ratio: 4 / 3;
  min-height: 0;
}

.gallery-item--wide {
  grid-column: span 6;
  aspect-ratio: 16 / 9;
}

.gallery-item button {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  color: #fff;
  background: #0d1710;
  border-radius: var(--radius);
  cursor: zoom-in;
}

.gallery-item img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  transition: transform 500ms ease, filter 300ms ease;
}

.gallery-item button::after {
  position: absolute;
  inset: auto 0 0;
  height: 55%;
  content: "";
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.68), transparent);
}

.gallery-caption {
  position: absolute;
  inset: auto 14px 14px;
  z-index: 1;
  display: grid;
  gap: 2px;
  text-align: left;
}

.gallery-caption strong {
  font-size: 1rem;
}

.gallery-caption span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
}

.gallery-item button:hover img {
  transform: scale(1.05);
  filter: saturate(1.04) contrast(1.03);
}

.gallery-page-main {
  background:
    linear-gradient(180deg, rgba(234, 243, 237, 0.72), transparent 360px),
    var(--surface-soft);
}

.gallery-intro {
  display: flex;
  align-items: center;
  min-height: clamp(520px, 82svh, 760px);
  padding: calc(var(--header-height) + 32px) 0 48px;
  background: linear-gradient(180deg, var(--green-soft) 0%, var(--surface-soft) 100%);
}

.gallery-intro__inner {
  display: flex;
  justify-content: flex-start;
}

.gallery-intro-card {
  width: min(480px, 100%);
}

.gallery-intro-card .stay-card__media {
  aspect-ratio: 16 / 11;
}

.gallery-intro-card__lead {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.55;
}

.gallery-page .gallery-section--page {
  padding-top: calc(var(--header-height) + 24px);
}

.gallery-section--page .filter-bar {
  position: sticky;
  top: calc(var(--header-height) + 10px);
  z-index: 30;
  align-items: center;
  padding: 12px 0;
  margin-bottom: 28px;
  background: rgba(251, 250, 247, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.gallery-section--page .filter-button {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
}

.gallery-section--page .gallery-grid {
  grid-auto-flow: dense;
  gap: 16px;
}

.gallery-section--page .gallery-item {
  min-height: 0;
}

.gallery-section--page .gallery-item--wide {
  min-height: 0;
}

.gallery-section--page .gallery-caption {
  inset: auto 18px 18px;
}

.gallery-section--page .gallery-caption strong {
  font-size: 1.08rem;
}

.chalet-amenities {
  background: linear-gradient(180deg, var(--green-soft) 0%, var(--surface-soft) 100%);
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 32px;
  row-gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.amenities-grid__item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
}

.amenities-grid__icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--green);
  background: var(--green-soft);
  border-radius: 10px;
  font-size: 1.2rem;
}

.amenities-grid__icon .icon {
  width: 1.2rem;
  height: 1.2rem;
}

@media (max-width: 860px) {
  .amenities-grid {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 20px;
    row-gap: 22px;
  }
}

@media (max-width: 460px) {
  .amenities-grid__item {
    font-size: 0.92rem;
  }
}

.payment-section {
  padding-top: calc(var(--header-height) + 40px);
  min-height: calc(100svh - 200px);
}

.payment-empty {
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: 60px 24px;
  color: var(--muted);
  text-align: center;
}

.payment-success {
  display: grid;
  justify-items: center;
  gap: 14px;
  max-width: 480px;
  margin: 0 auto;
  padding: 60px 24px;
  text-align: center;
}

.payment-success__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
}

.payment-success__icon .icon {
  width: 34px;
  height: 34px;
}

.payment-success h2 {
  margin: 0;
}

.payment-success__summary {
  width: 100%;
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  text-align: left;
}

.payment-main {
  display: grid;
  gap: 22px;
  align-content: start;
}

.payment-notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  color: var(--green-strong);
  background: var(--green-soft);
  border-radius: var(--radius);
  font-size: 0.9rem;
  line-height: 1.5;
}

.payment-notice .icon {
  flex: 0 0 auto;
  width: 1.2rem;
  height: 1.2rem;
  margin-top: 2px;
  color: var(--green);
}

.payment-notice p {
  margin: 0;
}

.payment-status {
  margin: 0;
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
}

.payment-status.is-success {
  color: var(--green-strong);
  background: var(--green-soft);
}

.payment-status.is-pending {
  color: #8a5a00;
  background: #fdf1da;
}

.payment-status.is-error {
  color: #bd3a3a;
  background: #fbe9e9;
}

.payment-method-select__label {
  margin: 0 0 10px;
  font-weight: 600;
}

.payment-method-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.payment-method-option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  color: var(--green-strong);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.86rem;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.payment-method-option:hover {
  border-color: var(--green);
}

.payment-method-option[aria-pressed="true"] {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
  transform: translateY(-1px);
}

.payment-method-option .icon {
  width: 1.1rem;
  height: 1.1rem;
  color: var(--green);
}

.payment-method-option[aria-pressed="true"] .icon {
  color: #fff;
}

.payment-summary .button {
  width: 100%;
  margin-top: 4px;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav__account {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  padding: 7px 8px 7px 10px;
  color: inherit;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 999px;
  opacity: 0.92;
  transition: background 180ms ease, opacity 180ms ease;
}

.nav__account-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  display: grid;
  place-items: center;
  width: 15px;
  height: 15px;
  color: #fff;
  background: #bd3a3a;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
  animation: navAccountBadgePulse 1.8s ease-in-out infinite;
  pointer-events: none;
}

.nav__account-badge .icon {
  width: 9px;
  height: 9px;
  stroke-width: 3;
}

@keyframes navAccountBadgePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.18); }
}

.nav__account:hover {
  opacity: 1;
  background: color-mix(in srgb, currentColor 10%, transparent);
}

.nav__account > .icon {
  width: 1.1rem;
  height: 1.1rem;
  flex: 0 0 auto;
}

.nav__account-avatar {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 50%;
  background: color-mix(in srgb, currentColor 16%, transparent);
}

.nav__account-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nav__account-avatar .icon {
  width: 16px;
  height: 16px;
  color: inherit;
}

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: grid;
  place-items: center;
  padding: 24px;
}

.auth-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 26, 21, 0.5);
}

.auth-modal__panel {
  position: relative;
  width: min(420px, 100%);
  max-height: calc(100svh - 48px);
  overflow-y: auto;
  padding: 32px 28px 28px;
  background: var(--surface);
  border-radius: 20px;
  box-shadow: 0 30px 60px rgba(18, 26, 21, 0.28);
}

.auth-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
}

.auth-modal__tabs {
  display: flex;
  gap: 8px;
  margin: 0 0 20px;
  padding: 4px;
  background: var(--surface-soft);
  border-radius: 999px;
}

.auth-modal__tab {
  flex: 1 1 auto;
  padding: 9px 12px;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--muted);
  background: transparent;
  border-radius: 999px;
  transition: background 180ms ease, color 180ms ease;
}

.auth-modal__tab.is-active {
  color: var(--green-strong);
  background: var(--surface);
  box-shadow: 0 4px 10px rgba(18, 26, 21, 0.08);
}

.auth-google-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 46px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: background 180ms ease, border-color 180ms ease;
}

.auth-google-button:hover {
  border-color: var(--green);
  background: var(--surface-soft);
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: var(--line);
}

.auth-form {
  display: grid;
  gap: 14px;
}

.confirm-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 24px;
}

.confirm-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 26, 21, 0.5);
}

.confirm-modal__panel {
  position: relative;
  width: min(360px, 100%);
  padding: 30px 26px 26px;
  text-align: center;
  background: var(--surface);
  border-radius: 20px;
  box-shadow: 0 30px 60px rgba(18, 26, 21, 0.28);
  animation: confirmModalIn 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes confirmModalIn {
  from { opacity: 0; transform: translateY(8px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.confirm-modal__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  color: #bd3a3a;
  background: color-mix(in srgb, #bd3a3a 12%, transparent);
  border-radius: 50%;
}

.confirm-modal__icon .icon {
  width: 24px;
  height: 24px;
  stroke-width: 2;
}

.confirm-modal__panel h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.confirm-modal__panel p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.confirm-modal__actions {
  display: flex;
  gap: 10px;
}

.confirm-modal__actions .button {
  flex: 1 1 0;
}

@media (max-width: 420px) {
  .confirm-modal__actions {
    flex-direction: column-reverse;
  }
}

.auth-form .button {
  width: 100%;
  margin-top: 2px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: calc(100% - 32px);
  padding: 14px 22px;
  color: #fff;
  font-weight: 600;
  font-size: 0.92rem;
  background: var(--green-strong);
  border-radius: 999px;
  box-shadow: 0 16px 34px rgba(18, 26, 21, 0.28);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.toast.is-error {
  background: #bd3a3a;
}

@media (max-width: 760px) {
  .toast {
    bottom: calc(90px + env(safe-area-inset-bottom));
  }
}

.account-panel {
  position: fixed;
  inset: var(--header-height) 0 0 0;
  z-index: 95;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--surface-soft);
}

.account-panel__close {
  position: fixed;
  top: calc(var(--header-height) + 16px);
  right: 16px;
  z-index: 96;
  background: var(--surface);
  box-shadow: 0 8px 20px rgba(18, 26, 21, 0.14);
}

.account-panel__layout {
  display: grid;
  grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
  min-height: calc(100svh - var(--header-height));
}

.account-panel__visual {
  position: relative;
  min-height: 280px;
}

.account-panel__visual-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.account-panel__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 35, 28, 0.2), rgba(18, 35, 28, 0.78));
}

.account-panel__visual-overlay {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 48px 32px;
  text-align: center;
  color: #fff;
}

.account-panel__avatar {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  margin-bottom: 18px;
  overflow: hidden;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  border: 3px solid rgba(255, 255, 255, 0.5);
}

.account-panel__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.account-panel__avatar .icon {
  width: 42px;
  height: 42px;
  color: #fff;
}

.account-panel__visual-overlay h2 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 1.6rem;
}

.account-panel__visual-overlay p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
}

.account-panel__content {
  padding: 56px min(64px, 6vw) 64px;
  max-width: 560px;
}

.account-panel__content > .eyebrow {
  margin: 0;
}

.account-panel__content > h2 {
  margin: 6px 0 10px;
}

.account-panel__content > p {
  margin: 0 0 28px;
  color: var(--muted);
}

.account-panel__content .button {
  width: 100%;
  margin-top: 10px;
}

.profile-alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: -8px 0 24px;
  padding: 12px 14px;
  color: #8a2c2c;
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.45;
  background: color-mix(in srgb, #bd3a3a 8%, transparent);
  border: 1px solid color-mix(in srgb, #bd3a3a 22%, transparent);
  border-radius: 12px;
}

.profile-alert .icon {
  width: 17px;
  height: 17px;
  margin-top: 1px;
  color: #bd3a3a;
  flex: 0 0 auto;
}

.password-setup {
  margin: 8px 0 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.password-setup > .eyebrow {
  margin: 0;
}

.password-setup h3 {
  margin: 6px 0 8px;
  font-size: 1.1rem;
}

.password-setup > p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.92rem;
}

.password-field {
  position: relative;
}

.password-field input {
  padding-right: 44px;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 6px;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: var(--muted);
  border-radius: 50%;
  transition: color 160ms ease, background 160ms ease;
}

.password-toggle:hover {
  color: var(--ink);
  background: var(--surface-soft);
}

.password-toggle .icon {
  width: 18px;
  height: 18px;
}

@media (min-width: 901px) {
  .account-panel__content:has(#passwordSetup:not([hidden])) {
    max-width: 760px;
  }

  .account-panel__forms:has(#passwordSetup:not([hidden])) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    gap: 8px 40px;
  }

  .account-panel__forms:has(#passwordSetup:not([hidden])) #passwordSetup {
    margin: 0;
    padding: 0 0 0 40px;
    border-top: none;
    border-left: 1px solid var(--line);
  }
}

@media (max-width: 900px) {
  .account-panel__layout {
    grid-template-columns: 1fr;
  }

  .account-panel__visual {
    min-height: 220px;
  }

  .account-panel__content {
    padding: 32px 24px 48px;
    max-width: none;
  }
}

@media (max-width: 760px) {
  .account-panel {
    inset: var(--header-height) 0 calc(78px + env(safe-area-inset-bottom)) 0;
  }
}

@media (max-width: 480px) {
  .account-panel__visual {
    min-height: 130px;
  }

  .account-panel__visual-overlay {
    padding: 22px 20px;
  }

  .account-panel__avatar {
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
  }

  .account-panel__avatar .icon {
    width: 28px;
    height: 28px;
  }

  .account-panel__visual-overlay h2 {
    font-size: 1.15rem;
  }

  .account-panel__visual-overlay p {
    font-size: 0.8rem;
  }

  .account-panel__content {
    padding: 22px 18px 40px;
  }

  .account-panel__content > h2 {
    font-size: 1.3rem;
  }
}

.admin-gate {
  display: grid;
  gap: 14px;
  justify-items: start;
  max-width: 420px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.admin-table-wrap {
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.admin-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.admin-table th,
.admin-table td {
  padding: 12px 16px;
  text-align: left;
  white-space: nowrap;
  border-bottom: 1px solid var(--line);
}

.admin-table th {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.admin-table tbody tr:last-child td {
  border-bottom: none;
}

.location-section {
  background: var(--surface);
}

.nearby-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0;
  padding: 0;
  list-style: none;
}

.map-frame {
  min-height: 440px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 440px;
  border: 0;
}

.destination-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.destination-card {
  overflow: hidden;
}

.destination-card img {
  display: block;
  width: 100%;
  height: clamp(170px, 20vw, 240px);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}

.destination-card div {
  padding: 20px;
}

.destination-card h3 {
  margin: 0 0 8px;
}

.destination-card p {
  margin: 0 0 14px;
  color: var(--muted);
}

.destination-card span {
  color: var(--green-strong);
  font-size: 0.84rem;
  font-weight: 700;
}

.reviews-section {
  background: var(--surface);
}

.review-carousel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
}

.review-arrow {
  flex: 0 0 auto;
}

.review-arrow:disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}

.review-slider {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 4px 10px;
  margin: -4px -4px 0;
  scrollbar-width: none;
}

.review-slider::-webkit-scrollbar {
  display: none;
}

.review-card {
  scroll-snap-align: start;
  flex: 0 0 min(340px, 84vw);
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.review-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--green) 26%, var(--line));
}

.review-stars {
  display: flex;
  gap: 4px;
  color: var(--gold);
}

.review-stars .icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
  stroke: currentColor;
  animation: starPop 400ms ease both;
}

.review-stars .icon:nth-child(1) { animation-delay: 80ms; }
.review-stars .icon:nth-child(2) { animation-delay: 140ms; }
.review-stars .icon:nth-child(3) { animation-delay: 200ms; }
.review-stars .icon:nth-child(4) { animation-delay: 260ms; }
.review-stars .icon:nth-child(5) { animation-delay: 320ms; }

@keyframes starPop {
  0% { transform: scale(0.4) rotate(-20deg); opacity: 0; }
  70% { transform: scale(1.2) rotate(4deg); }
  100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

.review-card p {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.6;
  color: var(--ink);
  flex: 1;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.review-author img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
  border: 2px solid rgba(30, 86, 49, 0.12);
}

.review-author span {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.review-card strong {
  color: var(--green-strong);
  font-size: 0.92rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.review-author small {
  color: var(--muted);
  font-size: 0.76rem;
}

.review-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}

.review-dot {
  position: relative;
  width: 28px;
  height: 4px;
  background: var(--line);
  border-radius: 999px;
  overflow: hidden;
  cursor: pointer;
  border: 0;
  padding: 0;
  transition: background 240ms ease;
}

.review-dot.is-active {
  background: color-mix(in srgb, var(--green) 30%, var(--line));
}

.review-dot.is-active::after {
  content: "";
  position: absolute;
  inset: 0 100% 0 0;
  background: var(--green);
  border-radius: inherit;
  animation: dotProgress var(--review-duration, 5200ms) linear forwards;
}

@keyframes dotProgress {
  to { right: 0; }
}

.faq-layout {
  align-items: start;
}

.rules-grid {
  margin-bottom: 0;
}

.accordion {
  display: grid;
  gap: 10px;
}

.accordion details {
  padding: 0 18px;
}

.accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  gap: 16px;
  font-weight: 700;
  cursor: pointer;
}

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

.accordion summary::after {
  content: "+";
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: var(--green-strong);
  background: var(--green-soft);
  border-radius: 50%;
}

.accordion details[open] summary::after {
  content: "−";
}

.accordion p {
  margin: 0;
  padding: 0 0 18px;
  color: var(--muted);
}

.final-cta {
  position: relative;
  padding: 104px 0;
  color: #fff;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(11, 38, 22, 0.92), rgba(11, 38, 22, 0.68)),
    url("../img/quintal-varanda-2.jpeg") center / cover;
}

.final-cta__inner {
  max-width: 680px;
}

.final-cta__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.final-cta .eyebrow {
  color: var(--gold);
}

.final-cta h2 {
  margin-bottom: 8px;
}

.final-cta__note {
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.78);
}

.site-footer {
  color: rgba(255, 255, 255, 0.78);
  background: #0f1c14;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
  gap: 34px;
  padding: 58px 0;
}

.footer-brand,
.site-footer h2 {
  color: #fff;
}

.site-footer h2 {
  margin: 0 0 12px;
  font-size: 0.98rem;
}

.site-footer p {
  max-width: 360px;
  margin: 14px 0 0;
}

.site-footer a:not(.footer-brand) {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 9px 0;
  transition: color 180ms ease;
}

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

.footer-bottom {
  display: flex;
  justify-content: center;
  padding: 18px;
  color: rgba(255, 255, 255, 0.58);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.88rem;
}

.whatsapp-float,
.back-to-top {
  position: fixed;
  z-index: 90;
  right: 18px;
  border-radius: 50%;
}

.whatsapp-float {
  z-index: 120;
}

.whatsapp-float {
  display: none;
  bottom: 22px;
  width: 56px;
  height: 56px;
  place-items: center;
  color: #fff;
  background: #1fa855;
  box-shadow: 0 18px 38px rgba(31, 168, 85, 0.35);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

body.home-page:not(.booking-open) .whatsapp-float,
body.profile-open .whatsapp-float {
  display: grid;
}

.whatsapp-float:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 22px 46px rgba(31, 168, 85, 0.45);
}

.whatsapp-float .icon {
  width: 1.4rem;
  height: 1.4rem;
}

.back-to-top {
  bottom: 88px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 22px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 9, 6, 0.86);
  backdrop-filter: blur(8px);
}

.lightbox__content {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  height: min(760px, 86svh);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.lightbox figure {
  width: 100%;
  height: 100%;
  margin: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 14px;
  overflow: hidden;
}

.lightbox img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: var(--radius);
  transition: transform 220ms ease, cursor 220ms ease, opacity 220ms ease;
  transform-origin: center center;
  transform: translate(var(--pan-x, 0px), var(--pan-y, 0px)) scale(var(--zoom-scale, 1));
  cursor: zoom-in;
  will-change: transform, opacity;
}

.lightbox img.is-switching {
  opacity: 0;
  transform: translate(var(--pan-x, 0px), var(--pan-y, 0px)) scale(0.96);
}

.lightbox.is-zoomed img {
  cursor: grab;
}

.lightbox img.is-dragging {
  cursor: grabbing;
}

.lightbox figcaption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #fff;
}

.lightbox figcaption span {
  color: rgba(255, 255, 255, 0.68);
}

.lightbox__close,
.lightbox__nav,
.lightbox__zoom {
  position: absolute;
  z-index: 2;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
}

.lightbox__close {
  top: 0;
  right: 0;
}

.lightbox__zoom {
  right: 54px;
  top: 0;
}

.lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__nav:hover {
  transform: translateY(-50%) scale(1.03);
}

.lightbox__nav--prev {
  left: 0;
}

.lightbox__nav--next {
  right: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .booking-layout,
  .payment-layout,
  .split-layout,
  .location-layout,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .booking-summary,
  .payment-summary {
    position: static;
  }

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

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

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

@media (max-width: 900px) {
  .nav {
    position: relative;
  }

  .nav__menu {
    justify-content: center;
    gap: 6px;
  }

  .nav__menu a {
    min-width: 0;
    padding: 10px 14px;
  }

  .hero h1 {
    font-size: 3.55rem;
  }

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

  .gallery-item,
  .gallery-item--wide {
    grid-column: span 6;
  }

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

@media (max-width: 760px) {
  .mobile-nav {
    display: grid;
  }

  .stay-card__nav {
    opacity: 1;
  }

  .hero {
    min-height: clamp(220px, 42svh, 320px);
  }

  .hero__content,
  .hero .scroll-cue {
    display: none;
  }

  .gallery-intro {
    min-height: clamp(420px, 84svh, 640px);
  }

  main {
    padding-bottom: 92px;
  }

  .site-header {
    padding-top: 0;
  }

  :root {
    --header-height: 64px;
  }

  .nav {
    height: 64px;
    padding: 0 16px;
  }

  .nav__inner {
    width: 100%;
    margin: 0;
    padding: 0;
    gap: 12px;
  }

  .nav__brand span:last-child {
    font-size: 0.95rem;
  }

  .nav__menu {
    display: none;
  }

  .gallery-header-back {
    display: none;
  }

  .booking-panel__top > div {
    padding-right: 56px;
  }

  .whatsapp-float {
    bottom: calc(102px + env(safe-area-inset-bottom));
  }

  .back-to-top {
    bottom: calc(168px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 480px) {
  .booking-panel__top {
    padding: 16px 0 4px;
  }

  .booking-panel__top > div {
    padding-right: 44px;
  }

  .booking-panel__top h3 {
    font-size: 1.2rem;
  }

  .booking-panel__top p:last-child {
    font-size: 0.86rem;
    line-height: 1.45;
  }

  .booking-panel__close {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(1120px, calc(100% - 28px));
  }

  .hero .container {
    width: min(1320px, calc(100% - 28px));
  }

  .site-header {
    padding-top: 0;
  }

  .nav {
    width: 100%;
    padding-inline: 16px;
  }

  .nav__brand span:last-child {
    max-width: 148px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero {
    min-height: clamp(220px, 42svh, 320px);
  }

  .hero__content {
    padding: 112px 0 86px;
  }

  .hero h1 {
    max-width: 340px;
    font-size: 2.28rem;
  }

  .hero__lead {
    max-width: 340px;
    font-size: 1rem;
  }

  .hero__actions,
  .hero__actions .button {
    width: 100%;
  }

  .hero__actions {
    max-width: 340px;
  }

  .booking-section .section-heading h2 {
    font-size: 1.55rem;
    line-height: 1.18;
  }

  .booking-section .section-heading p:last-child {
    font-size: 0.9rem;
    line-height: 1.55;
  }

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

  .booking-choice {
    grid-template-columns: 1fr;
  }

  .stay-card {
    border-radius: 16px;
  }

  .stay-card__media {
    aspect-ratio: 16 / 9;
  }

  .stay-card__body {
    padding: 16px;
    gap: 12px;
  }

  .stay-card__facts {
    gap: 7px 14px;
  }

  .stay-card__facts span {
    font-size: 0.8rem;
  }

  .stay-card__note {
    font-size: 0.82rem;
  }

  .stay-card__pricebar {
    flex-wrap: wrap;
    justify-content: flex-start;
    padding-top: 14px;
  }

  .stay-card__price strong {
    font-size: 1.3rem;
  }

  .stay-card__policy {
    font-size: 0.74rem;
  }

  .form-full-grid {
    grid-template-columns: 1fr;
  }

  .booking-form-row {
    padding: 16px;
  }

  .form-bottom-row {
    flex-direction: column;
    align-items: stretch;
  }

  .form-bottom-row .button {
    width: 100%;
  }

  .section {
    padding: 72px 0;
  }

  .section-heading h2,
  .section-copy h2,
  .final-cta h2 {
    font-size: 2rem;
  }

  .final-cta {
    padding: 72px 0;
  }

  .booking-main,
  .booking-summary,
  .payment-main,
  .payment-summary {
    padding: 16px;
  }

  .calendar-grid {
    gap: 4px;
  }

  .day {
    min-height: 38px;
    font-size: 0.84rem;
  }

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

  .gallery-section--page .filter-bar {
    top: calc(var(--header-height) + 4px);
    gap: 8px;
    padding: 10px 0;
  }

  .gallery-section--page .filter-button {
    min-height: 40px;
    padding: 0 13px;
    font-size: 0.86rem;
  }

  .gallery-item,
  .gallery-item--wide {
    grid-column: auto;
    aspect-ratio: 4 / 3;
  }

  .gallery-section--page .gallery-item,
  .gallery-section--page .gallery-item--wide {
    min-height: 0;
  }

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

  .map-frame,
  .map-frame iframe {
    min-height: 360px;
  }

  .review-carousel {
    grid-template-columns: minmax(0, 1fr);
  }

  .review-arrow {
    display: none;
  }

  .review-card {
    flex-basis: 84vw;
    padding: 22px;
    gap: 12px;
  }

  .review-card p {
    font-size: 0.94rem;
    line-height: 1.6;
  }

  .review-author img {
    width: 40px;
    height: 40px;
  }

  .lightbox {
    padding: 12px;
  }

  .lightbox__content {
    height: 82svh;
  }

  .lightbox__nav {
    bottom: 48px;
    top: auto;
    transform: none;
  }

  .lightbox__nav:hover {
    transform: scale(1.03);
  }

  .lightbox__nav--prev {
    left: 0;
  }

  .lightbox__nav--next {
    right: 0;
  }

  .whatsapp-float {
    right: 14px;
  }

  .back-to-top {
    right: 14px;
  }
}

@media (max-width: 390px) {
  .hero h1 {
    max-width: 310px;
    font-size: 2.06rem;
  }

  .hero__lead,
  .hero__actions {
    max-width: 310px;
  }

  .section-heading h2,
  .section-copy h2,
  .final-cta h2 {
    font-size: 1.78rem;
  }

  .calendar-legend {
    gap: 8px;
  }

  .booking-main,
  .payment-main {
    padding: 12px;
  }

  .calendar {
    padding: 10px;
  }

  .calendar-grid {
    gap: 3px;
  }

  .day {
    min-height: 34px;
    font-size: 0.78rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
