﻿@import url("/fonts.css");

:root {
  --bg: #0a2f21;
  --panel: #0f3a2a;
  --panel-soft: rgba(15, 58, 42, 0.88);
  --panel-deep: #08291d;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.72);
  --highlight: #f4d05e;
  --accent: #e8b923;
  --accent-dark: #b38f2e;
  --card-shadow: 0 24px 50px rgba(1, 11, 7, 0.34);
  --line: rgba(232, 185, 35, 0.2);
  --line-strong: rgba(232, 185, 35, 0.34);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 8%, rgba(232, 185, 35, 0.14), transparent 24%),
    radial-gradient(circle at 82% 12%, rgba(244, 208, 94, 0.08), transparent 28%),
    linear-gradient(180deg, #0b3625 0%, var(--bg) 100%);
}

.bg-shape {
  position: fixed;
  z-index: -1;
  filter: blur(60px);
  opacity: 0.3;
}

.bg-shape-a {
  top: -80px;
  right: -60px;
  width: 320px;
  height: 320px;
  background: #e8b923;
  border-radius: 44% 56% 64% 36% / 45% 31% 69% 55%;
}

.bg-shape-b {
  left: -100px;
  bottom: -120px;
  width: 360px;
  height: 360px;
  background: #b38f2e;
  border-radius: 56% 44% 37% 63% / 47% 62% 38% 53%;
}

.site-header {
  position: sticky;
  top: 0.75rem;
  z-index: 90;
  isolation: isolate;
  width: min(1200px, calc(100% - 2.5rem));
  margin: 1.2rem auto 0;
  padding: 1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(15, 58, 42, 0.72);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  box-shadow: var(--card-shadow);
}

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

.brand-mark {
  width: 50px;
  height: 50px;
  display: block;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.18));
}

.brand-text {
  font-family: "Forum", serif;
  letter-spacing: 0.16em;
  font-weight: 400;
  text-transform: uppercase;
  color: #d99200;
  line-height: 1;
  font-size: 1.08rem;
}

.main-nav {
  flex: 0 0 auto;
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  align-items: center;
}

.main-nav a,
.host-link {
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 140ms ease;
}

.main-nav a:hover,
.host-link:hover {
  color: var(--highlight);
}

.header-user-area {
  position: relative;
  margin-left: auto;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.host-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
}

.user-avatar-trigger,
.user-trigger {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 140ms ease, filter 140ms ease;
}

.user-trigger {
  background: rgba(255, 255, 255, 0.18);
  color: var(--text);
}

.user-avatar-trigger {
  background: rgba(7, 20, 14, 0.92);
  color: var(--text);
}

.user-avatar-trigger:hover,
.user-trigger:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.user-trigger-icon {
  font-size: 1.05rem;
  line-height: 1;
}

.user-avatar,
.user-avatar-fallback {
  width: 40px;
  height: 40px;
  border-radius: 999px;
}

.user-avatar {
  object-fit: cover;
  display: block;
}

.user-avatar-fallback {
  display: grid;
  place-content: center;
  background: rgba(7, 20, 14, 0.92);
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 800;
}

.user-menu {
  position: absolute;
  top: calc(100% + 0.65rem);
  right: 0;
  width: min(320px, calc(100vw - 2rem));
  border-radius: 1.1rem;
  border: 1px solid rgba(184, 132, 52, 0.18);
  background: rgba(255, 252, 246, 0.97);
  box-shadow: 0 22px 56px rgba(28, 25, 23, 0.18);
  backdrop-filter: blur(18px);
  padding: 0.5rem;
  display: grid;
  gap: 0.18rem;
  z-index: 120;
}

.menu-identity {
  display: grid;
  gap: 0.1rem;
  padding: 0.6rem 0.7rem;
}

.menu-identity strong {
  font-size: 0.95rem;
}

.menu-identity span {
  color: #736b62;
  font-size: 0.78rem;
}

.menu-item {
  border-radius: 0.78rem;
  padding: 0.68rem 0.75rem;
  color: #24211d;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  transition:
    background 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.menu-item:hover {
  background: rgba(184, 132, 52, 0.12);
  color: #8a5d1c;
}

.menu-item-button {
  border: none;
  background: transparent;
  text-align: left;
  width: 100%;
  cursor: pointer;
}

.menu-separator {
  border: 0;
  border-top: 1px solid rgba(184, 132, 52, 0.16);
  margin: 0.25rem 0;
}

.menu-separator + .menu-item {
  margin-top: 0.1rem;
  background: #161412;
  color: #ffffff;
  text-align: center;
  box-shadow: inset 0 0 0 1px rgba(184, 132, 52, 0.55);
}

.menu-separator + .menu-item:hover {
  background: #211d19;
  color: #f2c978;
  transform: translateY(-1px);
}

.hidden {
  display: none !important;
}

.page-content {
  width: min(1200px, calc(100% - 2.5rem));
  margin: 1.6rem auto 4rem;
}

.hero-showcase {
  position: relative;
  z-index: 20;
  margin-bottom: 3.5rem;
}

.hero-carousel {
  position: relative;
  min-height: 640px;
  border: 1px solid var(--line);
  border-radius: 2rem;
  overflow: visible;
  background: rgba(8, 34, 24, 0.6);
  box-shadow: var(--card-shadow);
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: start;
  padding: clamp(2.2rem, 5vw, 4rem);
  border-radius: inherit;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 420ms ease;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 16, 11, 0.86) 0%, rgba(3, 16, 11, 0.58) 42%, rgba(3, 16, 11, 0.4) 100%),
    linear-gradient(180deg, rgba(3, 16, 11, 0.12) 0%, rgba(3, 16, 11, 0.66) 100%);
}

.hero-slide-content {
  position: relative;
  z-index: 2;
  width: min(640px, 100%);
  display: grid;
  gap: 0.9rem;
}

.hero-kicker,
.section-kicker {
  margin: 0;
  color: var(--highlight);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-slide h1,
.hero-slide h2 {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: clamp(2.6rem, 4.8vw, 4.8rem);
  line-height: 0.98;
  text-wrap: balance;
}

.hero-slide h2 {
  font-size: clamp(2.2rem, 4vw, 4rem);
}

.hero-copy {
  margin: 0;
  max-width: 58ch;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.65;
}

.hero-slide-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.hero-slide-tags span {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 0.44rem 0.75rem;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 700;
}

.hero-search-shell {
  position: absolute;
  left: clamp(1rem, 4vw, 2.4rem);
  right: clamp(1rem, 4vw, 2.4rem);
  bottom: -2.2rem;
  z-index: 4;
}

.hero-search-form {
  position: relative;
  z-index: 30;
}

.search-bar {
  display: grid;
  grid-template-columns: minmax(210px, 1.05fr) minmax(170px, 0.85fr) minmax(280px, 1.3fr) minmax(180px, 0.9fr) auto;
  gap: 0;
  align-items: stretch;
  padding: 0.35rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(9, 38, 27, 0.94);
  backdrop-filter: blur(12px);
  box-shadow: 0 22px 48px rgba(1, 11, 7, 0.34);
}

.search-segment {
  min-height: 64px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  padding: 0.85rem 1.2rem;
  display: grid;
  justify-items: start;
  align-content: center;
  gap: 0.12rem;
  cursor: pointer;
  text-align: left;
  transition: background-color 140ms ease, box-shadow 140ms ease;
}

.search-segment:hover,
.search-segment.is-active {
  background: rgba(232, 185, 35, 0.12);
  box-shadow: inset 0 0 0 1px rgba(232, 185, 35, 0.2), 0 8px 18px rgba(1, 11, 7, 0.2);
}

.search-segment-label {
  font-size: 0.82rem;
  font-weight: 800;
}

.search-segment-value {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
  font-weight: 700;
}

.search-segment.has-value .search-segment-value {
  color: var(--highlight);
}

.search-submit {
  min-height: 56px;
  margin-left: 0.45rem;
  border: none;
  border-radius: 999px;
  padding: 0.95rem 1.35rem;
  background: linear-gradient(135deg, var(--accent), #d9a914);
  color: #112015;
  font: inherit;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  transition: filter 140ms ease, transform 140ms ease;
}

.search-submit:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.search-popover {
  position: absolute;
  top: calc(100% + 0.9rem);
  left: 0;
  right: 0;
  padding: 1.25rem;
  border-radius: 2rem;
  border: 1px solid var(--line);
  background: rgba(9, 38, 27, 0.98);
  color: var(--text);
  box-shadow: 0 28px 54px rgba(1, 11, 7, 0.34);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-14px) scale(0.985);
  transform-origin: top center;
  pointer-events: none;
  transition:
    opacity 220ms ease,
    transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1),
    visibility 220ms ease;
}

.search-popover.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.search-panel-section {
  display: grid;
  gap: 1.2rem;
}

.search-panel-copy {
  display: grid;
  gap: 0.35rem;
}

.search-panel-kicker {
  margin: 0;
  color: var(--highlight);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.search-panel-section h3 {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  line-height: 1.1;
}

.destination-autocomplete {
  display: grid;
  gap: 0.85rem;
}

.destination-input-shell {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.7rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background: rgba(8, 34, 24, 0.84);
}

.destination-input-icon {
  color: var(--highlight);
  font-size: 1rem;
}

.destination-input-shell input {
  width: 100%;
  border: none;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-weight: 700;
  outline: none;
}

.destination-input-shell input::placeholder {
  color: rgba(255, 255, 255, 0.56);
}

.destination-suggestions {
  display: grid;
  gap: 0.55rem;
}

.destination-suggestion-btn {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  padding: 0.9rem 1rem;
  background: rgba(8, 34, 24, 0.84);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  display: grid;
  gap: 0.2rem;
  transition: border-color 140ms ease, box-shadow 140ms ease, filter 140ms ease;
}

.destination-suggestion-btn:hover {
  filter: brightness(1.06);
}

.destination-suggestion-btn.is-active {
  border-color: rgba(232, 185, 35, 0.5);
  box-shadow: inset 0 0 0 1px rgba(232, 185, 35, 0.08);
}

.destination-suggestion-btn strong {
  display: block;
  font-size: 0.98rem;
}

.destination-suggestion-btn span {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
}

.destination-empty-state {
  padding: 0.35rem 0.15rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.type-suggestions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.type-suggestion-btn {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  padding: 0.9rem 1rem;
  background: rgba(8, 34, 24, 0.84);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  display: grid;
  gap: 0.2rem;
  transition: border-color 140ms ease, box-shadow 140ms ease, filter 140ms ease;
}

.type-suggestion-btn:hover {
  filter: brightness(1.06);
}

.type-suggestion-btn.is-active {
  border-color: rgba(232, 185, 35, 0.5);
  box-shadow: inset 0 0 0 1px rgba(232, 185, 35, 0.08);
}

.type-suggestion-btn strong {
  display: block;
  font-size: 0.98rem;
}

.type-suggestion-btn span {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
}

.quick-night-chip,
.date-mode-tab,
.flex-duration-chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.72rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease, filter 140ms ease;
}

.quick-night-chip:hover,
.date-mode-tab:hover,
.flex-duration-chip:hover,
.calendar-nav-btn:hover,
.guest-step-btn:hover,
.flex-month-card:hover {
  filter: brightness(1.06);
}

.quick-night-chip.is-active,
.date-mode-tab.is-active,
.flex-duration-chip.is-active {
  border-color: rgba(232, 185, 35, 0.5);
  box-shadow: inset 0 0 0 1px rgba(232, 185, 35, 0.12);
  color: var(--highlight);
}

.date-mode-tabs {
  width: fit-content;
  margin: 0 auto;
  padding: 0.32rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  gap: 0.3rem;
}

.date-mode-tab {
  min-width: 110px;
  padding-inline: 1.2rem;
  border-color: transparent;
  background: transparent;
  color: var(--muted);
}

.date-mode-tab.is-active {
  background: rgba(232, 185, 35, 0.14);
}

.date-mode-body {
  display: grid;
  gap: 1rem;
}

.date-edit-context {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.9rem;
  padding: 0.95rem 1rem;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: rgba(8, 34, 24, 0.84);
}

.date-edit-close {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--highlight);
  font: inherit;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: filter 140ms ease, border-color 140ms ease;
}

.date-edit-close:hover {
  filter: brightness(1.08);
}

.date-edit-copy {
  display: grid;
  gap: 0.14rem;
}

.date-edit-copy h3 {
  margin: 0;
  color: var(--text);
  font-size: 1.1rem;
}

.date-edit-current {
  color: var(--highlight);
  font-size: 0.92rem;
  font-weight: 800;
}

.date-mode-body[data-date-mode-panel="months"] {
  width: min(100%, 700px);
  margin: 0 auto;
  padding: 1.35rem 1.4rem 1.15rem;
  border-radius: 2rem;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 0%, rgba(232, 185, 35, 0.08), transparent 32%),
    linear-gradient(180deg, rgba(8, 34, 24, 0.94) 0%, rgba(10, 47, 33, 0.98) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 12px 28px rgba(1, 11, 7, 0.18);
}

.calendar-nav-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.calendar-nav-btn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(8, 34, 24, 0.82);
  color: var(--highlight);
  font-size: 1.3rem;
  cursor: pointer;
  transition: filter 140ms ease, border-color 140ms ease;
}

.calendar-range-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.calendar-month {
  display: grid;
  gap: 0.7rem;
}

.calendar-month-label {
  margin: 0;
  text-align: center;
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
}

.calendar-weekdays,
.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.35rem;
}

.calendar-weekdays {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
}

.calendar-day {
  min-height: 42px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 140ms ease, color 140ms ease;
}

.calendar-day:hover {
  background: rgba(232, 185, 35, 0.1);
}

.calendar-day.is-muted {
  visibility: hidden;
}

.calendar-day.is-disabled {
  opacity: 0.32;
  cursor: not-allowed;
}

.calendar-day.is-disabled:hover {
  background: transparent;
}

.calendar-day.is-start,
.calendar-day.is-end {
  background: var(--accent);
  color: #112015;
}

.calendar-day.is-edit-target {
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.12),
    0 0 0 5px rgba(232, 185, 35, 0.28);
}

.calendar-day.is-in-range {
  background: rgba(232, 185, 35, 0.16);
}

.quick-night-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
}

.months-panel,
.flexible-panel {
  display: grid;
  gap: 1rem;
}

.months-copy,
.flexible-copy {
  text-align: center;
}

.months-panel {
  width: min(100%, 620px);
  margin: 0 auto;
  gap: 1.2rem;
}

.months-copy {
  display: grid;
  gap: 0.25rem;
}

.months-panel .search-panel-kicker {
  color: var(--highlight);
}

.months-copy h3 {
  color: var(--text);
}

.months-dial {
  width: min(100%, 340px);
  margin: 0 auto;
  touch-action: none;
}

.months-meter {
  width: min(100%, 300px);
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  border-radius: 50%;
  position: relative;
  overflow: visible;
  background:
    radial-gradient(circle at center, #ffffff 0 34%, transparent 35%),
    conic-gradient(
      from 0deg,
      #f9e79a 0deg,
      #f3ce48 calc(var(--months-progress, 90deg) * 0.35),
      #e8b923 calc(var(--months-progress, 90deg) * 0.68),
      #bf8612 var(--months-progress, 90deg),
      rgba(255, 255, 255, 0.14) var(--months-progress, 90deg),
      rgba(255, 255, 255, 0.14) 360deg
    );
  display: grid;
  place-items: center;
  box-shadow:
    inset 0 0 26px rgba(0, 0, 0, 0.14),
    inset 0 10px 18px rgba(255, 255, 255, 0.1);
}

.months-meter::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background:
    conic-gradient(
      from 0deg,
      rgba(249, 231, 154, 0.88) 0deg,
      rgba(243, 206, 72, 0.78) calc(var(--months-progress, 90deg) * 0.35),
      rgba(232, 185, 35, 0.76) calc(var(--months-progress, 90deg) * 0.68),
      rgba(191, 134, 18, 0.72) var(--months-progress, 90deg),
      transparent var(--months-progress, 90deg),
      transparent 360deg
    );
  -webkit-mask: radial-gradient(circle, transparent 0 56%, #000 57% 69%, transparent 70%);
  mask: radial-gradient(circle, transparent 0 56%, #000 57% 69%, transparent 70%);
  filter: blur(6px);
  opacity: 0.66;
  pointer-events: none;
  z-index: 0;
}

.months-dial-markers {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.months-dial-marker {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.22);
  transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease, opacity 160ms ease;
}

.months-dial-marker.is-active {
  background: var(--accent);
  box-shadow:
    0 0 0 1px rgba(232, 185, 35, 0.18),
    0 0 8px rgba(232, 185, 35, 0.34);
  transform: translate(-50%, -50%) scale(1.05);
}

.months-dial-handle {
  position: absolute;
  width: 42px;
  height: 42px;
  border: 3px solid rgba(255, 255, 255, 0.96);
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff 0%, #f2f2f2 100%);
  box-shadow:
    0 0 0 5px rgba(232, 185, 35, 0.14),
    0 10px 22px rgba(0, 0, 0, 0.2),
    0 0 22px rgba(232, 185, 35, 0.24);
  transform: translate(-50%, -50%);
  cursor: grab;
  z-index: 3;
  transition: box-shadow 160ms ease, filter 160ms ease, transform 160ms ease;
}

.months-dial-handle::before {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: inherit;
  border: 1px solid rgba(17, 32, 21, 0.08);
  background:
    radial-gradient(circle at 32% 30%, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.2) 40%, transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(237, 237, 237, 0.92));
}

.months-dial-handle::after {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: inherit;
  border: 1px solid rgba(232, 185, 35, 0.24);
  opacity: 0.75;
}

.months-dial-handle:active,
.months-dial.is-dragging .months-dial-handle {
  cursor: grabbing;
  filter: brightness(1.04);
  box-shadow:
    0 0 0 6px rgba(232, 185, 35, 0.16),
    0 12px 26px rgba(0, 0, 0, 0.24),
    0 0 30px rgba(232, 185, 35, 0.28);
}

.months-meter-value {
  width: 58%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 245, 239, 0.98));
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  text-align: center;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    0 10px 22px rgba(0, 0, 0, 0.12);
}

.months-meter-value strong {
  display: block;
  font-size: clamp(3.2rem, 7vw, 5rem);
  line-height: 0.86;
  font-weight: 800;
  color: #112015;
  font-variant-numeric: tabular-nums;
}

.months-meter-value span {
  display: block;
  margin-top: 0;
  color: #365341;
  font-size: 0.92rem;
  font-weight: 700;
}

.months-summary {
  width: auto;
  margin: 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--highlight);
  font-weight: 800;
  text-align: center;
}

.months-summary-button {
  border: none;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: inherit;
  cursor: pointer;
}

.months-summary-button:hover {
  filter: brightness(1.08);
}

.months-summary-button {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.14em;
}

.months-summary-separator {
  text-decoration: none;
  font-weight: 700;
  color: var(--muted);
}

.flex-duration-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: center;
}

.flexible-month-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.flexible-month-nav p {
  margin: 0;
  font-weight: 800;
  color: var(--text);
}

.flex-month-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.75rem;
}

.flex-month-card {
  min-height: 116px;
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  background: rgba(8, 34, 24, 0.84);
  color: var(--text);
  font: inherit;
  cursor: pointer;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 0.35rem;
  padding: 0.9rem 0.5rem;
  text-align: center;
  transition: border-color 140ms ease, box-shadow 140ms ease, filter 140ms ease;
}

.flex-month-card.is-active {
  border-color: rgba(232, 185, 35, 0.5);
  box-shadow: inset 0 0 0 1px rgba(232, 185, 35, 0.12);
}

.flex-month-card strong {
  display: block;
  font-size: 1rem;
  font-weight: 800;
}

.flex-month-card span {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.flex-month-icon {
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.88);
}

.flex-month-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.guest-panel-rows {
  border-top: 1px solid var(--line);
  margin-top: 0.3rem;
}

.guest-panel-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.guest-panel-row:last-child {
  border-bottom: none;
}

.guest-panel-row strong {
  display: block;
  font-size: 1rem;
}

.guest-panel-row span {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
}

.guest-stepper {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}

.guest-step-btn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(8, 34, 24, 0.82);
  color: var(--highlight);
  font-size: 1.2rem;
  cursor: pointer;
  transition: filter 140ms ease, border-color 140ms ease;
}

.search-hidden-fields {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 6rem;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  gap: 0.55rem;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: transform 140ms ease, background-color 140ms ease;
}

.hero-dot.is-active {
  background: var(--accent);
  transform: scale(1.05);
}

.quick-trust {
  margin-top: 1.3rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.trust-card {
  padding: 1.1rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background:
    radial-gradient(circle at 100% 0%, rgba(232, 185, 35, 0.12), transparent 30%),
    rgba(15, 58, 42, 0.88);
  box-shadow: var(--card-shadow);
}

.trust-number {
  display: block;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 2rem;
  color: var(--highlight);
}

.trust-card p {
  margin: 0.28rem 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.featured-section,
.route-collection,
.brand-story,
.trust-section,
.benefits-section,
.final-cta-section {
  margin-top: 2.4rem;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
}

.section-header.large {
  align-items: center;
}

.section-header h2 {
  margin: 0.18rem 0 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.05;
}

.section-header p {
  margin: 0;
  color: var(--muted);
  max-width: 40ch;
}

.listings-grid {
  margin-top: 1.25rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.listing-card {
  overflow: hidden;
  border-radius: 1.3rem;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(15, 58, 42, 0.96), rgba(8, 34, 24, 0.96));
  box-shadow: var(--card-shadow);
  animation: card-enter 420ms ease both;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.listing-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: 0 28px 56px rgba(1, 11, 7, 0.42);
}

.listing-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

@keyframes card-enter {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.listing-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

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

.listing-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 40%;
  background: linear-gradient(180deg, transparent, rgba(1, 11, 7, 0.28));
}

.listing-favorite {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  z-index: 2;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(3, 16, 11, 0.58);
  color: #ffffff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 140ms ease, border-color 140ms ease, background-color 140ms ease, filter 140ms ease;
  backdrop-filter: blur(6px);
}

.listing-favorite svg {
  width: 1rem;
  height: 1rem;
  stroke: currentColor;
  stroke-width: 1.9;
  fill: transparent;
}

.listing-favorite:hover {
  transform: translateY(-1px) scale(1.03);
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(3, 16, 11, 0.72);
  filter: brightness(1.06);
}

.listing-favorite:focus-visible {
  outline: 2px solid rgba(232, 185, 35, 0.82);
  outline-offset: 2px;
}

.listing-favorite.is-active {
  border-color: rgba(255, 98, 134, 0.66);
  background: rgba(81, 20, 36, 0.62);
  color: #ff5e88;
}

.listing-favorite.is-active svg {
  fill: currentColor;
}

.listing-badge {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  background: rgba(10, 47, 33, 0.86);
  color: var(--highlight);
  font-size: 0.74rem;
  font-weight: 800;
  border: 1px solid rgba(232, 185, 35, 0.16);
  z-index: 1;
}

.listing-content {
  padding: 1rem 1rem 1.05rem;
}

.listing-topline,
.listing-bottomline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.7rem;
}

.listing-topline {
  color: var(--muted);
  font-size: 0.84rem;
}

.listing-topline p,
.listing-bottomline p {
  margin: 0;
}

.listing-title {
  margin: 0.55rem 0 0.45rem;
  font-size: 1.08rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.listing-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.listing-bottomline {
  margin-top: 0.9rem;
}

.listing-price {
  font-size: 1rem;
  font-weight: 800;
  color: var(--highlight);
}

.listing-cta {
  border: 1px solid rgba(232, 185, 35, 0.2);
  border-radius: 999px;
  padding: 0.38rem 0.75rem;
  background: rgba(232, 185, 35, 0.08);
  color: var(--highlight);
  font-size: 0.78rem;
  font-weight: 800;
}

.feedback {
  margin-top: 1rem;
  color: var(--muted);
  min-height: 1.2rem;
}

.favorite-login-modal {
  position: fixed;
  inset: 0;
  z-index: 1400;
  display: grid;
  place-items: center;
}

.favorite-login-modal.hidden {
  display: none;
}

.favorite-login-backdrop {
  position: absolute;
  inset: 0;
  border: none;
  background: rgba(1, 8, 5, 0.72);
  cursor: pointer;
}

.favorite-login-dialog {
  position: relative;
  z-index: 1;
  width: min(520px, calc(100% - 1rem));
  max-height: min(94vh, 820px);
  max-height: min(94dvh, 820px);
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.favorite-login-frame {
  width: 100%;
  height: min(680px, 94vh);
  height: min(680px, 94dvh);
  border: none;
  border-radius: 1.5rem;
  background: transparent;
  box-shadow: none;
}

body.favorite-login-open {
  overflow: hidden;
}

.route-grid {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.route-card {
  min-height: 280px;
  padding: 1.2rem;
  border-radius: 1.4rem;
  border: 1px solid var(--line);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: end;
  box-shadow: var(--card-shadow);
  color: var(--text);
  text-decoration: none;
}

.route-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 16, 11, 0.12), rgba(3, 16, 11, 0.78));
}

.route-card > * {
  position: relative;
  z-index: 1;
}

.route-card-mariana {
  background-image: url("/assets/content/mariana-church.webp");
}

.route-card-ouropreto {
  background-image: url("/assets/content/ouro-preto-architecture.webp");
}

.route-card-congonhas {
  background-image: url("/assets/content/congonhas-basilica.webp");
}

.route-badge {
  width: fit-content;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  font-weight: 800;
}

.route-card h3 {
  margin: 0.7rem 0 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 1.55rem;
  line-height: 1.1;
}

.route-card p {
  margin: 0.6rem 0 0;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.55;
}

.brand-story {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 420px);
  gap: 1.2rem;
  align-items: start;
}

.brand-story-copy {
  padding: 1.3rem;
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  background:
    radial-gradient(circle at 100% 0%, rgba(232, 185, 35, 0.12), transparent 30%),
    rgba(15, 58, 42, 0.88);
  box-shadow: var(--card-shadow);
}

.brand-story-copy h2 {
  margin: 0.2rem 0 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  line-height: 1.08;
}

.brand-story-copy p:last-child {
  margin: 0.9rem 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.brand-story-panels {
  display: grid;
  gap: 0.9rem;
}

.brand-story-panels article {
  padding: 1rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  background: rgba(15, 58, 42, 0.8);
  box-shadow: var(--card-shadow);
}

.brand-story-panels strong {
  display: block;
  color: var(--highlight);
  font-size: 0.95rem;
}

.brand-story-panels span {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  line-height: 1.5;
}

.benefits-grid {
  margin-top: 1.25rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.benefit-card {
  display: grid;
  align-content: start;
  gap: 0.6rem;
}

.benefit-card h3 {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 1.15rem;
  line-height: 1.3;
}

.benefit-card > p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.final-cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.6rem 1.8rem;
  border: 1px solid var(--line-strong);
  border-radius: 1.6rem;
  background:
    radial-gradient(circle at 0% 0%, rgba(232, 185, 35, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(15, 58, 42, 0.94), rgba(8, 34, 24, 0.96));
  box-shadow: var(--card-shadow);
}

.final-cta-card h2 {
  margin: 0.2rem 0 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  line-height: 1.1;
}

.final-cta-copy {
  margin: 0.6rem 0 0;
  max-width: 46ch;
  color: var(--muted);
  line-height: 1.6;
}

.final-cta-btn {
  flex: 0 0 auto;
  white-space: nowrap;
}

@media (max-width: 1080px) {
  .hero-showcase {
    margin-bottom: 1rem;
  }

  .hero-search-shell {
    bottom: 1.8rem;
  }

  .hero-dots {
    bottom: 12.5rem;
  }

  .search-bar {
    grid-template-columns: 1fr 1fr;
    border-radius: 1.7rem;
  }

  .search-segment.search-segment-wide {
    grid-column: span 2;
  }

  .search-submit {
    grid-column: span 2;
    margin-left: 0;
  }

  .calendar-range-grid,
  .flex-month-grid {
    grid-template-columns: 1fr 1fr;
  }

  .listings-grid,
  .route-grid,
  .quick-trust,
  .benefits-grid,
  .brand-story {
    grid-template-columns: 1fr 1fr;
  }

  .brand-story-copy {
    grid-column: span 2;
  }

  .final-cta-card {
    padding: 1.4rem 1.5rem;
  }
}

@media (max-width: 980px) {
  .site-header {
    border-radius: 1.15rem;
    flex-wrap: wrap;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: center;
    padding-top: 0.35rem;
  }


  .hero-carousel {
    min-height: 700px;
  }

  .hero-showcase {
    margin-bottom: 0.75rem;
  }

  .hero-search-shell {
    bottom: 4.8rem;
  }

  .hero-dots {
    bottom: 17.5rem;
  }

  .listings-grid,
  .route-grid,
  .quick-trust,
  .benefits-grid,
  .brand-story {
    grid-template-columns: 1fr;
  }

  .brand-story-copy {
    grid-column: auto;
  }

  .final-cta-card {
    flex-direction: column;
    align-items: start;
    text-align: left;
  }

  .final-cta-btn {
    width: 100%;
    justify-content: center;
  }

  .search-bar {
    grid-template-columns: 1fr;
    border-radius: 1.5rem;
  }

  .search-segment.search-segment-wide,
  .search-submit {
    grid-column: auto;
  }

  .search-submit {
    margin-left: 0;
  }

  .calendar-range-grid,
  .flex-month-grid {
    grid-template-columns: 1fr;
  }

  .type-suggestions {
    grid-template-columns: 1fr;
  }

  .section-header,
  .section-header.large {
    align-items: start;
    flex-direction: column;
  }

  .favorite-login-dialog {
    width: min(500px, calc(100% - 1rem));
    max-height: 94vh;
    max-height: 94dvh;
  }

  .favorite-login-frame {
    height: min(780px, 94vh);
    height: min(780px, 94dvh);
  }
}

@media (max-width: 640px) {
  .page-content,
  .site-header {
    width: min(1200px, calc(100% - 1.2rem));
  }

  .host-link {
    display: none;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand-text {
    font-size: 1rem;
  }

  .hero-showcase {
    margin-bottom: 0.5rem;
  }

  .hero-carousel {
    min-height: 740px;
    border-radius: 1.5rem;
  }

  .hero-slide {
    padding: 1.3rem;
  }

  .hero-slide h1,
  .hero-slide h2 {
    font-size: clamp(2rem, 9vw, 2.8rem);
  }

  .hero-search-shell {
    left: 0.9rem;
    right: 0.9rem;
    bottom: 4.4rem;
  }

  .hero-dots {
    bottom: 21.5rem;
  }

  .search-popover {
    padding: 0.9rem;
    border-radius: 1.4rem;
  }

  .search-segment {
    min-height: 58px;
    padding-inline: 1rem;
  }

  .flex-duration-row,
  .quick-night-row {
    justify-content: flex-start;
  }

  .date-mode-tab {
    min-width: 94px;
  }

  .favorite-login-dialog {
    width: calc(100% - 0.6rem);
    border-radius: 1.3rem;
  }

  .favorite-login-frame {
    height: min(760px, 92vh);
    height: min(760px, 92dvh);
  }
}

.corporate-callout {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto 4rem;
  padding: clamp(1.4rem, 3vw, 2.4rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border: 1px solid rgba(195, 138, 46, 0.28);
  border-radius: 1.5rem;
  background: linear-gradient(135deg, rgba(255, 252, 244, 0.96), rgba(248, 240, 221, 0.9));
  box-shadow: 0 18px 38px rgba(89, 62, 28, 0.11);
}

.corporate-callout-copy {
  max-width: 690px;
}

.corporate-callout h2,
.corporate-callout p {
  margin: 0;
}

.corporate-callout h2 {
  margin-top: 0.35rem;
  color: #2d2419;
  font-family: "Forum", serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 400;
}

.corporate-callout-copy > p:last-child {
  max-width: 62ch;
  margin-top: 0.65rem;
  color: #6f6252;
  line-height: 1.65;
}

@media (max-width: 720px) {
  .corporate-callout {
    align-items: stretch;
    flex-direction: column;
    margin-bottom: 3rem;
  }

  .corporate-callout .rr-btn {
    width: 100%;
  }
}
