:root {
  --bg: #f0f0f0;
  --bg-soft: #ffffff;
  --text: #221318;
  --text-soft: #513a40;
  --primary: #900030;
  --primary-dark: #5f001f;
  --accent: #f06000;
  --accent-2: #908000;
  --danger: #e02000;
  --border: #e0e0e0;
  --shadow: 0 18px 44px rgba(144, 0, 48, 0.14);
  --shadow-2: 0 24px 70px rgba(144, 0, 48, 0.2);
  --radius: 1.1rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  overflow-x: hidden;
  background: radial-gradient(1100px 520px at 12% 8%, rgba(240, 96, 0, 0.1), transparent 60%),
    radial-gradient(900px 460px at 90% 18%, rgba(144, 0, 48, 0.1), transparent 62%),
    radial-gradient(920px 520px at 55% 92%, rgba(144, 128, 0, 0.08), transparent 62%),
    var(--bg);
  line-height: 1.6;
}

@supports (overflow: clip) {
  html {
    overflow-x: clip;
  }
}

body.modal-open {
  overflow: hidden;
}

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

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

.floating-whatsapp {
  position: fixed;
  right: calc(14px + env(safe-area-inset-right));
  bottom: calc(14px + env(safe-area-inset-bottom));
  z-index: 999;
  display: block;
  width: 60px;
  height: 60px;
  border-radius: 14px;
  overflow: hidden;
  background: transparent;
  box-shadow: 0 16px 42px rgba(6, 32, 19, 0.22);
  text-decoration: none;
}

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

@media (hover: hover) and (pointer: fine) {
  .floating-whatsapp {
    transition: transform 220ms ease, box-shadow 220ms ease, filter 220ms ease;
  }

  .floating-whatsapp:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 18px 54px rgba(6, 32, 19, 0.28);
    filter: saturate(1.05) brightness(1.02);
  }

  .floating-whatsapp:hover::after {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: inherit;
    pointer-events: none;
    box-shadow: 0 0 0 2px rgba(37, 211, 102, 0.3), 0 0 26px rgba(37, 211, 102, 0.45);
  }
}

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

.section {
  padding: 4.5rem 0;
}

h1,
h2,
h3 {
  margin: 0 0 1rem;
  font-family: "Cormorant Garamond", serif;
  line-height: 1.12;
  letter-spacing: 0.2px;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.8rem);
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.9rem);
}

h3 {
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
}

p {
  margin: 0 0 1rem;
  color: var(--text-soft);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.section-lead {
  max-width: 72ch;
  margin: 0 0 1.5rem;
  color: var(--text-soft);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  border: 0;
  padding: 0.85rem 1.45rem;
  font-weight: 700;
  font: inherit;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px) scale(1.02);
}

.reveal {
  opacity: 0;
  transform: translate3d(var(--reveal-x, 0px), 18px, 0);
  transition: opacity 560ms ease, transform 650ms cubic-bezier(0.2, 0.9, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal.reveal-left {
  --reveal-x: -34px;
}

.reveal.reveal-right {
  --reveal-x: 34px;
}

.reveal.is-inview {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (max-width: 520px) {
  .reveal.reveal-left {
    --reveal-x: -22px;
  }
  .reveal.reveal-right {
    --reveal-x: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

:is(.btn, .nav-cta, .carousel-btn, .carousel-item, .highlights-photo, .gallery-item, .mv-photo, .availability-title, .availability-close, .availability-field, .availability-clear, .availability-submit, .cal-nav-btn, .cal-day, .lightbox-nav, .modal-close) {
  position: relative;
  isolation: isolate;
  transition: transform 240ms ease, filter 240ms ease;
}

:is(.btn, .nav-cta, .carousel-btn, .carousel-item, .highlights-photo, .gallery-item, .mv-photo, .availability-title, .availability-close, .availability-field, .availability-clear, .availability-submit, .cal-nav-btn, .cal-day, .lightbox-nav, .modal-close)::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transform: scale(0.985);
  transition: opacity 240ms ease, transform 240ms ease;
  box-shadow: 0 0 0 2px rgba(240, 96, 0, 0.22), 0 0 22px rgba(240, 96, 0, 0.38);
}

@media (hover: hover) and (pointer: fine) {
  :is(.btn, .nav-cta, .carousel-btn, .carousel-item, .highlights-photo, .gallery-item, .mv-photo, .availability-title, .availability-close, .availability-field, .availability-clear, .availability-submit, .cal-nav-btn, .cal-day, .lightbox-nav, .modal-close):hover {
    transform: translateY(-2px) scale(1.02);
    filter: saturate(1.02) brightness(1.02);
  }

  :is(.btn, .nav-cta, .carousel-btn, .carousel-item, .highlights-photo, .gallery-item, .mv-photo, .availability-title, .availability-close, .availability-field, .availability-clear, .availability-submit, .cal-nav-btn, .cal-day, .lightbox-nav, .modal-close):hover::after {
    opacity: 1;
    transform: scale(1);
  }
}

:is(.btn, .nav-cta, .carousel-btn, .carousel-item, .highlights-photo, .gallery-item, .mv-photo, .availability-title, .availability-close, .availability-field, .availability-clear, .availability-submit, .cal-nav-btn, .cal-day, .lightbox-nav, .modal-close):active {
  transform: translateY(0) scale(0.985);
}

:is(.btn, .nav-cta, .carousel-btn, .carousel-item, .highlights-photo, .gallery-item, .mv-photo, .availability-title, .availability-close, .availability-field, .availability-clear, .availability-submit, .cal-nav-btn, .cal-day, .lightbox-nav, .modal-close):focus-visible::after {
  opacity: 1;
  transform: scale(1);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 14px 34px rgba(144, 0, 48, 0.32);
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary-dark);
  border: 1px solid rgba(144, 0, 48, 0.22);
}

.btn-tertiary {
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.btn-tertiary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.02rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(26px) saturate(1.5);
  -webkit-backdrop-filter: blur(26px) saturate(1.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 12px 34px rgba(144, 0, 48, 0.12);
  transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.26);
  border-color: rgba(255, 255, 255, 0.34);
  box-shadow: 0 18px 46px rgba(144, 0, 48, 0.14);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header {
    background: rgba(240, 240, 240, 0.95);
  }
}

.header-inner {
  min-height: 4.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  height: 46px;
  width: auto;
  display: block;
}

.menu-toggle {
  width: 2.8rem;
  height: 2.8rem;
  border: 1px solid var(--border);
  border-radius: 0.7rem;
  background: #fff;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.6rem;
}

.menu-toggle span {
  width: 100%;
  height: 2px;
  background: var(--primary-dark);
}

.main-nav {
  position: fixed;
  inset: 4.9rem 0 auto;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  padding: 1rem;
  gap: 0.9rem;
  transform: scaleY(0);
  transform-origin: top;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.24s ease, opacity 0.24s ease;
}

.main-nav.is-open {
  transform: scaleY(1);
  opacity: 1;
  pointer-events: auto;
}

.main-nav a {
  font-weight: 600;
  color: var(--text-soft);
}

.main-nav .nav-featured-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.72rem 1rem;
  border-radius: 999px;
  background: rgba(144, 0, 48, 0.08);
  color: var(--primary-dark);
  border: 1px solid rgba(144, 0, 48, 0.16);
  box-shadow: 0 10px 24px rgba(144, 0, 48, 0.12);
}

.main-nav .nav-featured-link::before {
  content: "•";
  color: var(--accent);
  font-size: 1.05rem;
  line-height: 1;
}

.main-nav a:hover {
  color: var(--primary-dark);
}

.main-nav .nav-featured-link:hover {
  background: rgba(144, 0, 48, 0.12);
  border-color: rgba(144, 0, 48, 0.24);
}

.main-nav .nav-cta {
  display: inline-flex;
  justify-content: center;
  background: var(--primary);
  color: #fff;
  border-radius: 999px;
  padding: 0.7rem 1rem;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: min(88vh, 780px);
  display: flex;
  align-items: center;
  overflow: clip;
}

.monte-verde-toast {
  position: fixed;
  right: calc(14px + env(safe-area-inset-right));
  bottom: calc(88px + env(safe-area-inset-bottom));
  z-index: 998;
  width: min(320px, calc(100vw - 1.5rem));
  display: grid;
  gap: 0.18rem;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(144, 0, 48, 0.96), rgba(95, 0, 31, 0.96)),
    linear-gradient(135deg, rgba(240, 96, 0, 0.16), transparent);
  box-shadow: 0 22px 54px rgba(57, 17, 27, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.16);
  opacity: 0;
  transform: translateY(14px) scale(0.96);
  pointer-events: none;
  transition: opacity 260ms ease, transform 260ms ease;
}

.monte-verde-toast.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.monte-verde-toast strong {
  font-size: 1.05rem;
  line-height: 1.1;
}

.monte-verde-toast span:last-child {
  font-size: 0.92rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.88);
}

.monte-verde-toast-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

@keyframes monteVerdeToastPulse {
  0%,
  100% {
    transform: translateY(0) scale(1);
    box-shadow: 0 22px 54px rgba(57, 17, 27, 0.3);
  }
  50% {
    transform: translateY(-2px) scale(1.015);
    box-shadow: 0 28px 62px rgba(57, 17, 27, 0.36);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .monte-verde-toast.is-visible {
    animation: monteVerdeToastPulse 1.9s ease-in-out infinite;
  }
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  opacity: 0;
  transition: opacity 900ms ease;
  will-change: opacity;
}

.hero-bg.is-active {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg {
    transition: none;
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12, 9, 7, 0.62) 0%, rgba(12, 9, 7, 0.38) 48%, rgba(12, 9, 7, 0.12) 76%, rgba(12, 9, 7, 0.06) 100%),
    linear-gradient(180deg, rgba(12, 9, 7, 0.14) 0%, rgba(12, 9, 7, 0.06) 30%, rgba(12, 9, 7, 0.32) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding-top: 4rem;
  padding-bottom: 4rem;
  max-width: 720px;
  margin-right: auto;
}

.hero-content::before {
  content: "";
  position: absolute;
  inset: -1.1rem -1.2rem;
  background: linear-gradient(90deg, rgba(12, 9, 7, 0.56) 0%, rgba(12, 9, 7, 0.34) 58%, rgba(12, 9, 7, 0.06) 82%, rgba(12, 9, 7, 0) 100%);
  border-radius: 18px;
  z-index: -1;
}

.hero-content h1 {
  text-shadow: 0 18px 52px rgba(0, 0, 0, 0.7);
}

.hero .eyebrow,
.hero p {
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 14px 40px rgba(0, 0, 0, 0.65);
}

.hero-subtitle {
  font-size: clamp(1rem, 2.1vw, 1.2rem);
  max-width: 64ch;
}

.hero-badges {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hero-badges li {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: rgba(255, 255, 255, 0.95);
  font-weight: 700;
  font-size: 0.92rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease, background-color 240ms ease;
}

.hero-badges li::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(18px 18px at 18% 40%, rgba(255, 255, 255, 0.65), transparent 70%),
    linear-gradient(90deg, rgba(240, 96, 0, 0.55), rgba(255, 255, 255, 0.35), rgba(240, 96, 0, 0.55));
  filter: blur(0.2px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18), 0 0 26px rgba(240, 96, 0, 0.34);
  transform: scale(0.985);
  transition: opacity 240ms ease, transform 240ms ease;
  z-index: -1;
}

.hero-badges li::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.45;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.22) 42%, transparent 70%);
  transform: translateX(-55%) skewX(-12deg);
  transition: opacity 240ms ease;
  mix-blend-mode: screen;
}

@media (hover: hover) and (pointer: fine) {
  .hero-badges li:hover {
    transform: translateY(-2px) scale(1.03);
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.34);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.22);
  }

  .hero-badges li:hover::before {
    opacity: 1;
    transform: scale(1);
  }

  .hero-badges li:hover::after {
    opacity: 0.85;
  }
}

.hero-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero-note {
  margin-top: 0.95rem;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 600;
}

.two-columns {
  display: grid;
  gap: 1.6rem;
}

.about {
  position: relative;
  background-image: url("../../images/acomodacoes/galeria-chale-2.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.about::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(240, 240, 240, 0.94) 0%, rgba(240, 240, 240, 0.86) 52%, rgba(240, 240, 240, 0.7) 100%);
  pointer-events: none;
}

.about .two-columns {
  position: relative;
}

.about .two-columns > div:first-child {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(224, 224, 224, 0.85);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow);
}

.about-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow);
}

.about-card ul {
  margin: 0;
  padding-left: 1.2rem;
}

.inline-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.cards-grid {
  display: grid;
  gap: 1.2rem;
}

.contact-card .card-content {
  padding-bottom: 1rem;
}

.contact-links {
  margin-top: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.contact-banner {
  display: block;
  margin-top: 1rem;
  border-radius: 1.1rem;
  overflow: hidden;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.7);
}

.contact-banner img {
  width: 100%;
  height: auto;
  display: block;
}

.contact-form .card-content {
  padding-bottom: 1rem;
}

.contact-fields {
  margin-top: 0.6rem;
  display: grid;
  gap: 0.85rem;
}

.contact-field span {
  display: block;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 900;
  color: var(--text-soft);
  margin-bottom: 0.35rem;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.9);
  padding: 0.75rem 0.9rem;
  font: inherit;
  color: var(--text);
  outline: none;
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.contact-field textarea {
  resize: vertical;
}

.contact-field input:focus,
.contact-field textarea:focus {
  border-color: rgba(240, 96, 0, 0.55);
  box-shadow: 0 0 0 4px rgba(240, 96, 0, 0.12);
}

.contact-dates {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

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

.contact-actions {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.contact-note {
  margin: 0.9rem 0 0;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.mv-intro-media {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.9rem;
  box-shadow: var(--shadow);
}

.mv-media-note {
  margin: 0.75rem 0 0;
  color: var(--text-soft);
  font-weight: 700;
  text-align: center;
}

.mv-kpis {
  margin-top: 1.2rem;
  display: grid;
  gap: 0.9rem;
}

.mv-kpi {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  border-radius: 1.1rem;
  padding: 1.05rem 1.05rem;
  box-shadow: 0 18px 44px rgba(144, 0, 48, 0.08);
}

.mv-kpi strong {
  display: block;
  font-size: 1.05rem;
}

.mv-kpi span {
  display: block;
  margin-top: 0.25rem;
  color: var(--text-soft);
  font-weight: 600;
}

.mv-bullets {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
  color: var(--text-soft);
}

.mv-cards {
  margin-top: 1.2rem;
  display: grid;
  gap: 1.2rem;
}

.mv-partner-layout {
  align-items: start;
}

.mv-partner-card {
  overflow: hidden;
}

.mv-partner-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.8rem;
  padding: 0.28rem 0.72rem;
  border-radius: 999px;
  background: rgba(144, 0, 48, 0.08);
  border: 1px solid rgba(144, 0, 48, 0.14);
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mv-partner-lead {
  font-weight: 700;
  color: var(--primary-dark);
}

.mv-contact-number {
  margin: 1rem 0 0;
  font-weight: 700;
}

.mv-contact-number a {
  color: var(--primary-dark);
}

.mv-mini-grid {
  display: grid;
  gap: 1rem;
}

.mv-info-grid {
  margin-top: 1.2rem;
}

.mv-climate-card {
  background:
    linear-gradient(180deg, rgba(144, 0, 48, 0.04), rgba(255, 255, 255, 0.96)),
    #fff;
}

.mv-climate-place {
  margin: 0.2rem 0 0;
  color: var(--text-soft);
  font-weight: 700;
}

.mv-climate-now {
  margin-top: 0.95rem;
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 0.7rem;
}

.mv-climate-now strong {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 0.95;
  color: var(--primary-dark);
}

.mv-climate-now span {
  font-weight: 700;
  color: var(--text-soft);
}

.mv-climate-stats {
  margin-top: 1rem;
  display: grid;
  gap: 0.55rem;
}

.mv-climate-stats span {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0.8rem 0.9rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--border);
  font-weight: 700;
  color: var(--text-soft);
}

.mv-note {
  margin-top: 0.95rem;
  color: var(--text-soft);
  font-size: 0.94rem;
}

.mv-card-media {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.mv-panels {
  margin-top: 1.2rem;
}

.mv-photo {
  padding: 0;
  background: transparent;
  cursor: pointer;
  width: 100%;
}

.mv-photo.gallery-item {
  border: 1px solid var(--border);
}

.mv-trail-photo {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.mv-trail-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
}

.card-content {
  position: relative;
  z-index: 2;
  padding: 1.2rem 1.2rem 1.4rem;
}

.card-content ul {
  margin: 0.6rem 0 0;
  padding-left: 1.2rem;
  color: var(--text-soft);
}

.card-actions {
  margin-top: 1.05rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.carousel-3d {
  position: relative;
  height: clamp(220px, 46vw, 320px);
  perspective: 900px;
  background: linear-gradient(180deg, rgba(42, 29, 22, 0.16), rgba(42, 29, 22, 0));
  overflow: hidden;
}

@media (max-width: 520px) {
  .card-content {
    padding-top: 1.4rem;
  }

  .carousel-3d {
    height: clamp(240px, 58vw, 340px);
  }
}

.carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

.carousel-item {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(360px, 84vw);
  aspect-ratio: 4 / 3;
  padding: 0;
  border-radius: 16px;
  border: 1px solid rgba(230, 215, 200, 0.9);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.2);
  transform-style: preserve-3d;
  cursor: pointer;
  transition: transform 360ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 240ms ease, filter 240ms ease;
  will-change: transform;
}

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

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(42, 29, 22, 0.22);
  color: rgba(255, 255, 255, 0.95);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  z-index: 6;
  backdrop-filter: blur(10px);
}

.carousel-btn-prev {
  left: 10px;
}

.carousel-btn-next {
  right: 10px;
}

.carousel-btn:hover {
  background: rgba(42, 29, 22, 0.34);
}

@media (hover: hover) and (pointer: fine) {
  .carousel-btn:hover {
    transform: translateY(-50%);
    filter: none;
  }
}

.carousel-btn:active {
  transform: translateY(-50%);
}

.accommodations-note {
  margin-top: 1.6rem;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem 1.2rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.accommodations-note p {
  margin: 0;
  max-width: 70ch;
}

.highlights {
  background: linear-gradient(180deg, rgba(240, 96, 0, 0.06) 0%, rgba(240, 240, 240, 0.72) 55%, rgba(240, 240, 240, 1) 100%);
}

.highlights-media {
  margin: 1.1rem 0 1.2rem;
  display: grid;
  gap: 0.9rem;
  grid-template-columns: 1fr;
}

.highlights-photo {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 1.1rem;
  overflow: hidden;
  border: 1px solid rgba(224, 224, 224, 0.85);
  box-shadow: 0 18px 44px rgba(57, 38, 26, 0.12);
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  aspect-ratio: 16 / 10;
}

.highlights-photo img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  display: block;
  transition: transform 0.28s ease;
}

.highlights-photo:hover img {
  transform: scale(1.04);
}

.highlight-grid {
  display: grid;
  gap: 1rem;
}

.highlight-card {
  position: relative;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(224, 224, 224, 0.9);
  border-radius: 1.1rem;
  padding: 1.35rem 1.35rem 1.3rem;
  box-shadow: 0 18px 44px rgba(57, 38, 26, 0.1);
  overflow: hidden;
}

.highlight-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 240px at 0% 0%, rgba(240, 96, 0, 0.12), transparent 55%),
    radial-gradient(560px 240px at 110% 110%, rgba(144, 0, 48, 0.09), transparent 55%);
  pointer-events: none;
}

.highlight-card h3,
.highlight-card p {
  position: relative;
}

.highlight-card p {
  margin: 0;
}

.highlights-cta {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.text-link {
  display: inline-flex;
  margin-top: 0.7rem;
  font-weight: 800;
  color: var(--primary-dark);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  opacity: 0.95;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  font: inherit;
}

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

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

.map-bleed {
  width: 100%;
  margin-left: 0;
  margin-top: 1.4rem;
  overflow-x: clip;
}

.map-frame--bleed {
  border-radius: 0;
  border-left: 0;
  border-right: 0;
  min-height: 420px;
}

.map-frame--bleed iframe {
  min-height: 420px;
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
}

.filter-btn {
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: var(--text-soft);
  padding: 0.55rem 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.24s ease;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

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

.gallery-feature {
  margin: 1.25rem 0 1.5rem;
}

.gallery-feature-card {
  display: grid;
  overflow: hidden;
}

.gallery-feature-card .carousel-3d {
  height: clamp(240px, 48vw, 360px);
}

.gallery-item {
  margin: 0;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 14px 30px rgba(57, 38, 26, 0.12);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 170px;
  object-fit: cover;
  transition: transform 0.28s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item.hidden {
  display: none;
}

.gallery-cta {
  margin-top: 1.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.final-cta {
  padding-top: 1rem;
  padding-bottom: 5rem;
}

.final-cta-wrap {
  display: grid;
  gap: 1.1rem;
  align-items: stretch;
}

.final-cta-box {
  background: linear-gradient(135deg, #900030 0%, #e02000 55%, #f06000 115%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  border-radius: 1.3rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  box-shadow: var(--shadow-2);
}

.final-cta-box .eyebrow,
.final-cta-box p {
  color: rgba(255, 255, 255, 0.9);
}

.final-cta-box h2 {
  text-shadow: 0 18px 52px rgba(0, 0, 0, 0.62);
}

.final-cta-box p,
.final-cta-box .eyebrow {
  text-shadow: 0 14px 40px rgba(0, 0, 0, 0.55);
}

.final-cta-media {
  margin: 0;
  border-radius: 1.3rem;
  overflow: hidden;
  border: 1px solid rgba(224, 224, 224, 0.85);
  box-shadow: var(--shadow);
  background: rgba(255, 255, 255, 0.6);
}

.final-cta-media img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  display: block;
}

.site-footer {
  background: #f0f0f0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  min-height: 5.2rem;
  padding: 1rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.footer-inner p {
  margin: 0;
}

.dev-credit {
  width: 100%;
  background: rgba(10, 10, 10, 0.92);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.dev-credit .container {
  padding: 0.75rem 0;
  text-align: center;
  color: rgba(240, 240, 240, 0.92);
  font-size: 0.92rem;
  font-weight: 700;
}

.dev-credit a {
  color: rgba(240, 96, 0, 0.95);
  text-decoration: none;
}

.dev-credit a:hover {
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

.availability-popover {
  position: fixed;
  inset: 0;
  z-index: 75;
  display: none;
}

.availability-popover.is-open {
  display: block;
}

.availability-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 9, 7, 0.45);
  backdrop-filter: blur(6px);
}

.availability-panel {
  position: fixed;
  width: min(360px, calc(100% - 1.25rem));
  border-radius: 18px;
  border: 1px solid rgba(230, 215, 200, 0.22);
  background: radial-gradient(700px 360px at 60% 0%, rgba(240, 96, 0, 0.16), transparent 60%),
    linear-gradient(180deg, rgba(18, 20, 23, 0.98), rgba(10, 11, 13, 0.98));
  color: rgba(255, 255, 255, 0.92);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
  padding: 10px;
  max-height: calc(100vh - 24px);
  overflow: auto;
}

.availability-panel::before {
  content: "";
  position: absolute;
  top: -10px;
  left: var(--availability-arrow-left, 38px);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid rgba(18, 20, 23, 0.98);
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.25));
}

.availability-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 4px 4px 10px;
}

.availability-title {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(230, 215, 200, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.92);
  font-weight: 900;
  cursor: default;
}

.availability-close {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(230, 215, 200, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.92);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.availability-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 0 4px 10px;
}

.availability-field {
  text-align: left;
  border-radius: 14px;
  border: 1px solid rgba(230, 215, 200, 0.16);
  background: rgba(0, 0, 0, 0.16);
  padding: 10px 10px;
  color: rgba(255, 255, 255, 0.92);
  cursor: pointer;
}

.availability-field.is-active {
  border-color: rgba(240, 96, 0, 0.78);
  box-shadow: 0 18px 50px rgba(240, 96, 0, 0.16);
}

.field-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
  font-weight: 900;
}

.field-value {
  display: block;
  margin-top: 3px;
  font-weight: 900;
  letter-spacing: 0.2px;
}

.availability-calendar {
  border-radius: 16px;
  border: 1px solid rgba(230, 215, 200, 0.14);
  background: rgba(255, 255, 255, 0.03);
  padding: 10px;
  margin: 0 4px 10px;
}

.availability-cal-header {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.cal-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(230, 215, 200, 0.14);
  background: rgba(0, 0, 0, 0.18);
  color: rgba(255, 255, 255, 0.92);
  font-size: 22px;
  cursor: pointer;
}

.cal-title {
  text-align: center;
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.92);
}

.cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
  margin: 6px 0 8px;
  color: rgba(255, 255, 255, 0.58);
  font-weight: 900;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cal-weekdays div {
  text-align: center;
}

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

.cal-day {
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(230, 215, 200, 0.1);
  background: rgba(0, 0, 0, 0.18);
  color: rgba(255, 255, 255, 0.92);
  font-weight: 900;
  cursor: pointer;
}

.cal-day.is-outside {
  opacity: 0.36;
  cursor: default;
}

.cal-day:disabled {
  opacity: 0.35;
  cursor: default;
}

.cal-day.is-selected {
  border-color: rgba(240, 96, 0, 0.95);
  background: rgba(240, 96, 0, 0.26);
}

.cal-day.is-in-range {
  background: rgba(240, 96, 0, 0.12);
  border-color: rgba(240, 96, 0, 0.22);
}

.availability-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 0 4px 4px;
}

.availability-clear,
.availability-submit {
  height: 44px;
  border-radius: 14px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 12px;
  cursor: pointer;
}

.availability-clear {
  border: 1px solid rgba(230, 215, 200, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.9);
}

.availability-submit {
  border: 1px solid rgba(240, 96, 0, 0.55);
  background: rgba(240, 96, 0, 0.2);
  color: rgba(255, 255, 255, 0.92);
}

.availability-submit:disabled {
  opacity: 0.5;
  cursor: default;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
}

.modal.is-open {
  display: block;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 9, 7, 0.62);
  backdrop-filter: blur(6px);
}

.modal-dialog-lightbox {
  width: auto;
  margin: 0;
  height: 100%;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  display: block;
}

.modal-close-lightbox {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(12, 9, 7, 0.55);
  color: rgba(255, 255, 255, 0.92);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.modal-close-lightbox:hover {
  background: rgba(12, 9, 7, 0.68);
}

.lightbox-stage {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 5vh 6vw;
}

.lightbox-img {
  width: min(1200px, 88vw);
  height: min(78vh, 720px);
  object-fit: contain;
  display: block;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(12, 9, 7, 0.5);
  color: rgba(255, 255, 255, 0.92);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
  backdrop-filter: blur(10px);
}

.lightbox-prev {
  left: 18px;
}

.lightbox-next {
  right: 18px;
}

.lightbox-nav:hover {
  background: rgba(12, 9, 7, 0.66);
}

@media (hover: hover) and (pointer: fine) {
  .lightbox-nav:hover {
    transform: translateY(-50%);
    filter: none;
  }
  .lightbox-nav:hover::after {
    opacity: 0;
    transform: scale(0.985);
  }
}

.lightbox-nav:active {
  transform: translateY(-50%);
}

.lightbox-nav:disabled {
  opacity: 0.55;
  cursor: default;
}

@media (min-width: 768px) {
  .map-bleed {
    width: 100vw;
    margin-left: calc(50% - 50vw);
  }

  .section {
    padding: 5.5rem 0;
  }

  .menu-toggle {
    display: none;
  }

  .main-nav {
    position: static;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    border: 0;
    padding: 0;
    flex-direction: row;
    align-items: center;
    background: transparent;
    gap: 1.1rem;
  }

  .main-nav .nav-featured-link {
    padding-inline: 0.95rem 1.05rem;
  }

  .main-nav .nav-cta {
    padding: 0.6rem 1rem;
  }

  .two-columns {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }

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

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

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

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

  .highlights-media {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
  }


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

  .gallery-feature-card {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: stretch;
  }

  .gallery-feature-card .carousel-3d {
    min-height: 100%;
  }

  .final-cta-wrap {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 1.4rem;
    align-items: stretch;
  }

  .final-cta-media img {
    min-height: 100%;
  }

  .availability-panel {
    width: 380px;
  }
}

@media (max-width: 520px) {
  .monte-verde-toast {
    bottom: calc(84px + env(safe-area-inset-bottom));
    width: calc(100vw - 1rem);
    right: calc(8px + env(safe-area-inset-right));
    padding: 0.88rem 0.92rem;
    border-radius: 16px;
  }
}

@media (min-width: 1024px) {
  .header-inner {
    min-height: 5.1rem;
  }

  .main-nav {
    gap: 1.4rem;
  }

  .hero-content {
    padding-top: 5.5rem;
    padding-bottom: 5.5rem;
  }

  .modal-close-lightbox {
    top: 24px;
    right: 24px;
  }

  .lightbox-prev {
    left: 24px;
  }

  .lightbox-next {
    right: 24px;
  }
}

@media (min-width: 1240px) {
  .cards-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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