@font-face { font-family: "Onest"; src: url("/assets/fonts/onest-400.ttf") format("truetype"); font-weight: 400 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Onest"; src: url("/assets/fonts/onest-700.ttf") format("truetype"); font-weight: 700 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Bricolage Grotesque"; src: url("/assets/fonts/bricolage-400.ttf") format("truetype"); font-weight: 400 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Bricolage Grotesque"; src: url("/assets/fonts/bricolage-800.ttf") format("truetype"); font-weight: 700 900; font-style: normal; font-display: swap; }

:root {
  --bg: oklch(1 0 0);
  --surface: oklch(0.975 0.004 30);
  --surface-raised: oklch(0.955 0.006 30);
  --ink: oklch(0.22 0.025 30);
  --ink-muted: oklch(0.48 0.02 30);
  --primary: oklch(0.45 0.17 25);
  --primary-hover: oklch(0.38 0.17 25);
  --primary-soft: oklch(0.94 0.03 25);
  --accent: oklch(0.52 0.11 150);
  --accent-soft: oklch(0.94 0.03 150);
  --line: oklch(0.88 0.01 30);
  --star: oklch(0.72 0.14 75);
  --danger: oklch(0.55 0.2 25);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 16px;
  --shadow-sm: 0 2px 8px oklch(0.22 0.02 30 / 0.06);
  --shadow: 0 12px 40px oklch(0.22 0.02 30 / 0.1);
  --shadow-lg: 0 24px 64px oklch(0.22 0.02 30 / 0.14);
  --container: 1180px;
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Onest", system-ui, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --z-sticky: 100;
  --z-modal: 200;
  --z-toast: 300;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  text-wrap: balance;
  margin: 0;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
  text-wrap: pretty;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: min(var(--container), calc(100% - 2.5rem));
  margin-inline: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.35rem;
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: transform 0.2s var(--ease-out), background 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: var(--primary);
  color: oklch(1 0 0);
  box-shadow: 0 4px 16px oklch(0.45 0.17 25 / 0.3);
}

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

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}

.btn--ghost:hover {
  border-color: var(--ink-muted);
  background: var(--surface);
}

.btn--accent {
  background: var(--accent);
  color: oklch(1 0 0);
}

.btn--lg {
  padding: 1rem 1.75rem;
  font-size: 1rem;
  border-radius: var(--radius-lg);
}

.btn--sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

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

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: oklch(1 0 0 / 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

.logo__mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: block;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 0 4px 14px oklch(0.45 0.17 25 / 0.28);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}

.logo:hover .logo__mark {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px oklch(0.45 0.17 25 / 0.34);
}

.logo__mark img,
.logo__mark svg {
  width: 100%;
  height: 100%;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__links {
  display: flex;
  gap: 1.75rem;
}

.nav__links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink-muted);
  transition: color 0.15s;
}

.nav__links a:hover,
.nav__links a.is-active {
  color: var(--ink);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

/* Hero */
.hero {
  position: relative;
  min-height: 690px;
  padding: clamp(4rem, 7vw, 6.5rem) 0 2.75rem;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 48%;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    oklch(0.15 0.035 25 / 0.92) 0%,
    oklch(0.18 0.035 25 / 0.76) 48%,
    oklch(0.19 0.025 25 / 0.38) 72%,
    oklch(0.16 0.02 25 / 0.58) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  color: oklch(1 0 0);
  max-width: none;
}

.hero__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 360px);
  align-items: end;
  gap: clamp(3rem, 7vw, 7rem);
}

.hero__copy { max-width: 720px; }

.hero__place {
  margin-bottom: 1rem;
  color: oklch(1 0 0 / 0.8);
  font-size: 0.95rem;
  font-weight: 600;
}

.hero__title {
  font-size: clamp(2.75rem, 5.5vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  max-width: 13ch;
}

.hero__desc {
  font-size: 1.125rem;
  line-height: 1.7;
  color: oklch(1 0 0 / 0.85);
  margin-bottom: 1.75rem;
  max-width: 48ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero__actions .btn { min-height: 52px; }
.hero__actions .btn span { margin-left: 0.25rem; font-size: 0.78rem; opacity: 0.8; }
.btn--hero-quiet {
  background: oklch(0.16 0.025 25 / 0.86);
  color: oklch(1 0 0);
  border: 1px solid oklch(1 0 0 / 0.34);
}
.btn--hero-quiet:hover { background: oklch(0.22 0.035 25 / 0.96); }

.hero-showcase {
  align-self: end;
  color: oklch(1 0 0);
  background: oklch(0.16 0.025 25 / 0.9);
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius-xl);
}

.hero-showcase__title {
  margin-bottom: 0.6rem;
  color: oklch(1 0 0 / 0.66);
  font-size: 0.8rem;
  font-weight: 600;
}

.hero-showcase__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 68px;
  border-top: 1px solid oklch(1 0 0 / 0.17);
  transition: color 0.18s var(--ease-out), transform 0.18s var(--ease-out);
}

.hero-showcase__item:hover { color: oklch(0.88 0.09 75); transform: translateX(3px); }
.hero-showcase__item span { min-width: 0; }
.hero-showcase__item strong,
.hero-showcase__item small { display: block; }
.hero-showcase__item strong { font-size: 0.9rem; }
.hero-showcase__item small { color: oklch(1 0 0 / 0.62); font-size: 0.72rem; }
.hero-showcase__item b { flex: 0 0 auto; font-size: 0.83rem; }

/* Search */
.search-panel {
  background: oklch(1 0 0);
  border-radius: var(--radius-xl);
  padding: 0.5rem;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr 1fr 0.8fr auto;
  gap: 0.25rem;
  align-items: stretch;
  max-width: 940px;
  margin-top: 2.5rem;
}

.search-panel__field {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-lg);
  transition: background 0.15s;
}

.search-panel__field:hover,
.search-panel__field:focus-within {
  background: var(--surface);
}

.search-panel__label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
}

.search-panel__input,
.search-panel__select {
  border: none;
  background: transparent;
  padding: 0;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink);
  outline: none;
  width: 100%;
}

.search-panel__select {
  cursor: pointer;
  appearance: none;
}

.search-panel__submit {
  align-self: stretch;
  border-radius: var(--radius-lg);
  padding-inline: 1.75rem;
}

/* Booking assurances */
.hero-assurances {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin-top: 1.5rem;
}
.hero-assurances span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: oklch(1 0 0 / 0.88);
}
.hero-assurances span::before {
  content: "✓";
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: oklch(1 0 0 / 0.16);
  color: oklch(1 0 0);
  font-weight: 800;
}

/* Sections */
.section {
  padding: 5rem 0;
}

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

.section__header {
  margin-bottom: 2.5rem;
}

.section__eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.section__title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.section__desc {
  color: var(--ink-muted);
  font-size: 1.0625rem;
  max-width: 52ch;
}

/* Category pills */
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.pill {
  padding: 0.55rem 1.15rem;
  border-radius: 100px;
  border: 1.5px solid var(--line);
  background: var(--bg);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s var(--ease-out);
}

.pill:hover {
  border-color: var(--ink-muted);
}

.pill.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: oklch(1 0 0);
}

/* Property cards */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--line);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s;
}

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

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

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease-out);
}

.card:hover .card__media img {
  transform: scale(1.04);
}

.card__badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  padding: 0.35rem 0.75rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  background: oklch(1 0 0 / 0.92);
  backdrop-filter: blur(8px);
  color: var(--ink);
}

.card__fav {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: oklch(1 0 0 / 0.92);
  backdrop-filter: blur(8px);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform 0.15s;
}

.card__fav:hover {
  transform: scale(1.1);
}

.card__fav.is-active svg {
  fill: var(--primary);
  stroke: var(--primary);
}

.card__body {
  display: block;
  color: inherit;
  text-decoration: none;
  padding: 1.15rem 1.25rem 1.35rem;
}

.card__meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.card__location {
  font-size: 0.8125rem;
  color: var(--ink-muted);
}

.card__rating {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  flex-shrink: 0;
}

.card__rating svg {
  color: var(--star);
}

.card__title {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
}

.card__availability,
.booking-card__availability {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: oklch(0.38 0.11 150);
  font-size: 0.8rem;
  font-weight: 700;
}

.card__availability { margin: -0.2rem 0 0.7rem; }
.card__availability span,
.booking-card__availability span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
  flex: 0 0 auto;
}

.card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.card__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.85rem;
  margin-bottom: 0.75rem;
  color: var(--ink-muted);
  font-size: 0.78rem;
}

.card__facts span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.card__facts svg { width: 15px; height: 15px; }
.card__verified { color: var(--accent); font-weight: 700; }

.card__tag {
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 500;
  background: var(--surface);
  color: var(--ink-muted);
}

.card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}

.card__price {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.card__price span {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ink-muted);
  font-family: var(--font-body);
}

.card__price small {
  display: block;
  margin-top: 0.2rem;
  font: 500 0.7rem/1.3 var(--font-body);
  color: var(--ink-muted);
}

.quick-search {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.quick-search__inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem 0.85rem;
}

.quick-search__inner strong { font-size: 0.9rem; }
.quick-search__inner a {
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: var(--surface);
  font-size: 0.84rem;
  font-weight: 600;
}
.quick-search__inner a:hover { background: var(--primary-soft); color: var(--primary); }

.trust-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.trust-list div { padding-top: 1.25rem; border-top: 2px solid var(--primary); }
.trust-list strong, .trust-list span { display: block; }
.trust-list strong { font-family: var(--font-display); margin-bottom: 0.45rem; }
.trust-list span { color: var(--ink-muted); font-size: 0.92rem; }

/* How it works */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.step {
  position: relative;
}

.step__num {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--primary-soft);
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  margin-bottom: 1.25rem;
}

.step__title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.step__desc {
  font-size: 0.9375rem;
  color: var(--ink-muted);
  line-height: 1.65;
}

/* CTA banner */
.cta-banner {
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--primary) 0%, oklch(0.38 0.14 25) 100%);
  padding: 3.5rem;
  color: oklch(1 0 0);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
}

.cta-banner__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.cta-banner__desc {
  color: oklch(1 0 0 / 0.8);
  max-width: 42ch;
}

.cta-banner .btn--ghost {
  border-color: oklch(1 0 0 / 0.35);
  color: oklch(1 0 0);
}

.cta-banner .btn--ghost:hover {
  background: oklch(1 0 0 / 0.1);
  border-color: oklch(1 0 0 / 0.5);
}

/* Footer */
.footer {
  background: var(--ink);
  color: oklch(1 0 0 / 0.75);
  padding: 4rem 0 2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(200px, 1.4fr) repeat(auto-fit, minmax(140px, 1fr));
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer__brand {
  color: oklch(1 0 0);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}

.footer__tagline {
  font-size: 0.875rem;
  line-height: 1.65;
  max-width: 28ch;
}

.footer__col h4 {
  color: oklch(1 0 0);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.footer__col a {
  display: block;
  font-size: 0.875rem;
  padding: 0.3rem 0;
  transition: color 0.15s;
}

.footer__col a:hover {
  color: oklch(1 0 0);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid oklch(1 0 0 / 0.1);
  font-size: 0.8125rem;
}

/* Catalog page */
.page-hero {
  padding: 3rem 0 2rem;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.page-hero__title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.catalog-search-note {
  display: inline-flex;
  margin-top: 1rem;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: oklch(0.38 0.1 150);
  font-size: 0.85rem;
  font-weight: 700;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2rem;
  padding: 2.5rem 0 4rem;
  align-items: start;
}

.filters {
  position: sticky;
  top: 5.5rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.filters__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.filter-group {
  margin-bottom: 1.25rem;
}

.filter-group__label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--ink-muted);
}

.filter-group select,
.filter-group input[type="range"],
.filter-group input[type="date"] {
  width: 100%;
}

.filter-group select {
  padding: 0.65rem 0.85rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  cursor: pointer;
}

.filter-group input[type="date"] {
  padding: 0.65rem 0.75rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
}

.filter-group input[type="range"] {
  accent-color: var(--primary);
}

.range-value {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  margin-top: 0.35rem;
}

.catalog__toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.catalog__count {
  font-size: 0.9375rem;
  color: var(--ink-muted);
}

.catalog__count strong {
  color: var(--ink);
}

.catalog__sort select {
  padding: 0.55rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  font-size: 0.875rem;
  cursor: pointer;
}

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 2rem;
  color: var(--ink-muted);
}

.empty-state__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.filters-toggle { display: none; }

.card-skeleton {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--bg);
  border: 1px solid var(--line);
  padding-bottom: 1.25rem;
}
.card-skeleton span, .card-skeleton i {
  display: block;
  position: relative;
  overflow: hidden;
  background: var(--surface-raised);
}
.card-skeleton span { aspect-ratio: 4 / 3; }
.card-skeleton i { height: 12px; margin: 0.8rem 1.2rem 0; border-radius: 6px; }
.card-skeleton i:nth-child(3) { width: 65%; }
.card-skeleton i:nth-child(4) { width: 42%; }
.card-skeleton span::after, .card-skeleton i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, oklch(1 0 0 / 0.65), transparent);
  transform: translateX(-100%);
  animation: skeleton-shimmer 1.2s linear infinite;
}
@keyframes skeleton-shimmer { to { transform: translateX(100%); } }

/* Property page */
.property-hero {
  padding: 1.5rem 0 0;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--ink-muted);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.breadcrumbs a:hover {
  color: var(--primary);
}

.breadcrumbs__sep {
  opacity: 0.4;
}

.gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.5rem;
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 420px;
  margin-bottom: 2.5rem;
}

.gallery__main {
  grid-row: 1 / 3;
  position: relative;
  cursor: pointer;
}

.gallery__thumb {
  position: relative;
  cursor: pointer;
  overflow: hidden;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s var(--ease-out);
}

.gallery__main:hover img,
.gallery__thumb:hover img {
  transform: scale(1.03);
}

.gallery__more {
  position: absolute;
  inset: 0;
  background: oklch(0.15 0.02 30 / 0.55);
  display: grid;
  place-items: center;
  color: oklch(1 0 0);
  font-weight: 600;
  font-size: 0.9375rem;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: calc(var(--z-modal) + 20);
  display: grid;
  place-items: center;
  padding: 3.5rem 1.25rem 1.25rem;
  background: oklch(0.08 0.01 30 / 0.94);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
}

.gallery-lightbox.is-open { opacity: 1; visibility: visible; }

.gallery-lightbox__image {
  max-width: min(1200px, 100%);
  max-height: calc(100vh - 5rem);
  width: auto;
  height: auto;
  object-fit: contain;
}

.gallery-lightbox__close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid oklch(1 0 0 / 0.35);
  border-radius: 50%;
  background: oklch(0.12 0.01 30 / 0.85);
  color: white;
  font-size: 1.1rem;
  cursor: pointer;
}

.gallery-lightbox__close:hover { background: var(--primary); }

.gallery-lightbox__nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid oklch(1 0 0 / 0.35);
  border-radius: 50%;
  background: oklch(0.12 0.01 30 / 0.85);
  color: white;
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
}

.gallery-lightbox__nav:hover { background: var(--primary); }
.gallery-lightbox__nav--prev { left: 1rem; }
.gallery-lightbox__nav--next { right: 1rem; }

.gallery-lightbox__counter {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: oklch(0.12 0.01 30 / 0.85);
  color: white;
  font-size: 0.82rem;
  font-weight: 700;
}

@media (max-width: 640px) {
  .gallery-lightbox__nav { width: 44px; height: 44px; font-size: 1.8rem; }
  .gallery-lightbox__nav--prev { left: 0.5rem; }
  .gallery-lightbox__nav--next { right: 0.5rem; }
}

.property-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 3rem;
  padding-bottom: 4rem;
  align-items: start;
}

.property-layout > *,
#property-details,
.property-location-card {
  min-width: 0;
  max-width: 100%;
}

.property__header {
  margin-bottom: 2rem;
}

.property__type {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.property__title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.property__location {
  color: var(--ink-muted);
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.property__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 2rem;
}

.property__stat {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
}

.property__stat svg {
  color: var(--primary);
  flex-shrink: 0;
}

.property__section {
  margin-bottom: 2.5rem;
}

.property__section h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.property__desc {
  color: var(--ink-muted);
  line-height: 1.75;
  font-size: 1rem;
}

.amenities {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.75rem;
}

.amenity {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9375rem;
}

.amenity svg {
  color: var(--accent);
  flex-shrink: 0;
}

/* Booking card */
.booking-card {
  position: sticky;
  top: 5.5rem;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  background: var(--bg);
}

.booking-card__price {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.25rem;
}

.booking-card__price span {
  font-size: 0.9375rem;
  font-weight: 500;
  font-family: var(--font-body);
  color: var(--ink-muted);
}

.booking-card__rating {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  margin-bottom: 0.65rem;
}

.booking-card__availability {
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.booking-card__fee {
  margin: -0.1rem 0 1rem;
  color: var(--ink-muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.booking-card__promise {
  font-size: 0.78rem;
  color: var(--ink-muted);
  text-align: center;
  margin-top: 0.85rem;
  line-height: 1.45;
}

.booking-addon {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 0.85rem;
  padding: 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  background: var(--surface);
}

.booking-addon input {
  width: 1.2rem;
  height: 1.2rem;
  margin-top: 0.1rem;
  accent-color: var(--accent);
  flex: 0 0 auto;
}

.booking-addon span,
.booking-addon strong,
.booking-addon small {
  display: block;
}

.booking-addon strong {
  margin-bottom: 0.2rem;
  font-size: 0.92rem;
}

.booking-addon small {
  color: var(--ink-muted);
  line-height: 1.4;
}

.booking-addon:has(input:checked) {
  border-color: var(--accent);
  background: var(--primary-soft);
}

.booking-contacts { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); text-align: center; }
.booking-contacts strong { display: block; margin-bottom: 0.5rem; font-size: 0.85rem; }
.booking-contacts > div { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.5rem; }
.booking-contacts a { padding: 0.45rem 0.7rem; border-radius: 999px; background: var(--surface); color: var(--primary); font-size: 0.8rem; font-weight: 700; }

.property-rules__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.property-rules__grid div { padding: 1rem; background: var(--surface); border-radius: var(--radius); }
.property-rules__grid strong, .property-rules__grid span { display: block; }
.property-rules__grid strong { margin-bottom: 0.35rem; font-size: 0.9rem; }
.property-rules__grid span { color: var(--ink-muted); font-size: 0.85rem; line-height: 1.5; }
.property-note { padding: 1.25rem; background: var(--primary-soft); border-radius: var(--radius); }
.property-note strong { display: block; margin-bottom: 0.35rem; }
.property-note p { color: var(--ink-muted); font-size: 0.9rem; }

.property-location-card { padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); }
.property-location-card__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 0.35rem; }
.property-location-card__route { flex: 0 0 auto; min-height: 44px; }
.property-location-card > p { color: var(--ink-muted); margin-bottom: 0.75rem; }
.property-location-card__facts { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.property-location-card__facts span { padding: 0.35rem 0.65rem; border-radius: 999px; background: var(--surface); font-size: 0.82rem; font-weight: 600; }
.route-guide { width: 100%; min-width: 0; max-width: 100%; margin: 1rem 0 1.25rem; padding: 1rem; border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.route-guide__heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 0.85rem; }
.route-guide__heading > div { min-width: 0; }
.route-guide__heading h3 { margin: 0 0 0.2rem; font-size: 1.05rem; }
.route-guide__heading p { max-width: 56ch; color: var(--ink-muted); font-size: 0.82rem; line-height: 1.45; }
.route-guide__heading > span { flex: 0 0 auto; padding: 0.35rem 0.6rem; border-radius: 999px; background: var(--bg); color: var(--primary); font-size: 0.75rem; font-weight: 700; }
.route-guide__directions { display: flex; gap: 0.4rem; margin-bottom: 0.75rem; }
.route-guide__directions button { min-height: 42px; padding: 0.55rem 0.8rem; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); color: var(--ink); font-weight: 700; cursor: pointer; }
.route-guide__directions button.is-active { border-color: var(--primary); background: var(--primary); color: white; }
.route-guide__photo { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; background: var(--ink); cursor: zoom-in; }
.route-guide__photo img { display: block; width: 100%; aspect-ratio: 4 / 3; max-height: 520px; object-fit: cover; transition: transform 350ms cubic-bezier(0.22, 1, 0.36, 1); }
.route-guide__photo:hover img { transform: scale(1.015); }
.route-guide__photo > span { position: absolute; left: 0.75rem; bottom: 0.75rem; padding: 0.4rem 0.65rem; border-radius: 999px; background: oklch(0.2 0.025 60 / 0.88); color: white; font-size: 0.78rem; font-weight: 800; }
.route-guide__copy { min-height: 76px; padding: 0.85rem 0 0.35rem; }
.route-guide__copy strong { display: block; margin-bottom: 0.25rem; font-size: 1rem; }
.route-guide__copy p { max-width: 65ch; color: var(--ink-muted); font-size: 0.88rem; line-height: 1.5; }
.route-guide__controls { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; margin-bottom: 0.75rem; }
.route-guide__controls > span { color: var(--ink-muted); font-size: 0.82rem; font-weight: 700; }
.route-guide__arrow { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: var(--bg); color: var(--ink); font-size: 1.2rem; cursor: pointer; }
.route-guide__arrow:hover { border-color: var(--primary); color: var(--primary); }
.route-guide__rail { display: flex; width: 100%; min-width: 0; max-width: 100%; gap: 0.45rem; padding: 0.1rem 0 0.35rem; overflow-x: auto; overflow-y: hidden; overscroll-behavior-inline: contain; scroll-snap-type: inline mandatory; scrollbar-width: thin; }
.route-guide__rail button { position: relative; flex: 0 0 78px; padding: 0; border: 2px solid transparent; border-radius: 9px; overflow: hidden; background: var(--bg); opacity: 0.62; cursor: pointer; scroll-snap-align: center; }
.route-guide__rail button.is-active { border-color: var(--primary); opacity: 1; }
.route-guide__rail img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.route-guide__rail span { position: absolute; right: 0.25rem; bottom: 0.25rem; min-width: 22px; padding: 0.15rem 0.3rem; border-radius: 999px; background: oklch(0.2 0.025 60 / 0.88); color: white; font-size: 0.67rem; font-weight: 800; }
.route-dialog { width: min(1100px, calc(100% - 2rem)); max-width: none; padding: 0; border: 0; border-radius: var(--radius); overflow: visible; background: transparent; color: white; }
.route-dialog::backdrop { background: oklch(0.12 0.01 60 / 0.92); }
.route-dialog figure { margin: 0; }
.route-dialog img { display: block; width: 100%; max-height: calc(100vh - 8rem); border-radius: var(--radius); object-fit: contain; background: black; }
.route-dialog figcaption { padding-top: 0.65rem; text-align: center; font-size: 0.9rem; }
.route-dialog__close, .route-dialog__arrow { position: fixed; display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 50%; background: white; color: var(--ink); font-size: 1.35rem; cursor: pointer; }
.route-dialog__close { top: 1rem; right: 1rem; }
.route-dialog__arrow { top: 50%; transform: translateY(-50%); }
.route-dialog__arrow--prev { left: 1rem; }
.route-dialog__arrow--next { right: 1rem; }
.property-reviews__heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 1.25rem; }
.property-reviews__heading h2, .property-reviews__heading p { margin: 0; }
.property-reviews__heading p { margin-top: 0.35rem; color: var(--ink-muted); }
.property-review-flow { max-width: 720px; margin-bottom: 1.5rem; padding: clamp(1rem, 3vw, 1.5rem); border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.property-review-flow[hidden], .property-review-form[hidden], .property-review-phone-form[hidden] { display: none; }
.property-review-phone-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 1rem; }
.property-review-form, .property-review-field { display: grid; gap: 0.65rem; }
.property-review-form { gap: 1rem; }
.property-review-field label, .property-review-rating legend { font-weight: 700; }
.property-review-field input, .property-review-field textarea { width: 100%; min-height: 48px; padding: 0.8rem 0.95rem; border: 1px solid var(--line); border-radius: 12px; background: white; color: var(--ink); font: inherit; }
.property-review-field textarea { min-height: 130px; resize: vertical; }
.property-review-field input:focus, .property-review-field textarea:focus { outline: 3px solid oklch(0.45 0.17 25 / 0.18); border-color: var(--primary); }
.property-review-field small { color: var(--ink-muted); }
.property-review-rating { margin: 0; padding: 0; border: 0; }
.property-review-rating > div { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.55rem; }
.property-review-rating label { cursor: pointer; }
.property-review-rating input { position: absolute; opacity: 0; pointer-events: none; }
.property-review-rating span { display: grid; min-width: 54px; min-height: 44px; place-items: center; border: 1px solid var(--line); border-radius: 999px; background: white; font-weight: 700; }
.property-review-rating input:checked + span { border-color: var(--primary); background: var(--primary); color: white; }
.property-review-rating input:focus-visible + span { outline: 3px solid rgba(173, 118, 68, 0.3); outline-offset: 2px; }
.property-review-message { grid-column: 1 / -1; min-height: 1.4em; margin: 0; color: #9b342b; font-weight: 600; }
.property-review-message--success { color: #286444; }
.property-reviews__list { display: grid; gap: 0.75rem; }
.property-review { padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius); }
.property-review__head { display: flex; justify-content: space-between; gap: 1rem; }
.property-review__head span { color: var(--star); font-weight: 700; }
.property-review time { display: block; margin: 0.2rem 0 0.55rem; color: var(--ink-muted); font-size: 0.78rem; }
.property-review p, .property-reviews__empty { color: var(--ink-muted); font-size: 0.9rem; }

@media (max-width: 680px) {
  .property-reviews__heading { align-items: stretch; flex-direction: column; }
  .property-reviews__heading .btn, .property-review-phone-form .btn, .property-review-form .btn { width: 100%; }
  .property-review-phone-form { grid-template-columns: 1fr; }
}

.mobile-booking-bar { display: none; }

.booking-card__rating svg {
  color: var(--star);
}

.booking-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.booking-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.booking-form__field label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-muted);
}

.booking-form__field input,
.booking-form__field select {
  padding: 0.75rem 0.85rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  outline: none;
  transition: border-color 0.15s;
}

.booking-form__field input:focus,
.booking-form__field select:focus {
  border-color: var(--primary);
}

.booking-form__summary {
  margin: 1.25rem 0;
  padding: 1rem;
  background: var(--surface);
  border-radius: var(--radius);
}

.booking-form__line {
  display: flex;
  justify-content: space-between;
  font-size: 0.9375rem;
  padding: 0.3rem 0;
}

.booking-form__line--total {
  font-weight: 700;
  font-size: 1rem;
  padding-top: 0.75rem;
  margin-top: 0.5rem;
  border-top: 1px solid var(--line);
}

.booking-form__guest {
  margin-bottom: 0.85rem;
  padding: 0.9rem 1rem;
  background: var(--primary-soft);
  border-radius: var(--radius-sm);
  border: 1px solid oklch(0.45 0.17 25 / 0.12);
}

.booking-form__guest-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
  margin-bottom: 0.35rem;
}

.booking-form__guest-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.15rem;
}

.booking-form__guest-phone {
  color: var(--ink-muted);
  font-size: 0.9375rem;
  margin-bottom: 0.45rem;
}

.booking-form__guest-hint {
  font-size: 0.8125rem;
  color: var(--ink-muted);
  margin-top: 0.15rem;
}

.booking-form__error {
  font-size: 0.8125rem;
  color: var(--danger);
  margin: 0.5rem 0 0;
  padding: 0.65rem 0.85rem;
  background: oklch(0.55 0.2 25 / 0.08);
  border-radius: var(--radius-sm);
}

/* Availability calendar */
.cal {
  --cal-free: oklch(0.94 0.04 150);
  --cal-busy: oklch(0.92 0.03 25);
  --cal-busy-ink: oklch(0.55 0.12 25);
  --cal-selected: var(--primary);
  --cal-range: oklch(0.94 0.03 25);
}

.cal__header {
  display: grid;
  grid-template-columns: 36px 1fr 36px;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.cal__nav {
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  cursor: pointer;
  display: grid;
  place-items: center;
  color: var(--ink);
  transition: border-color 0.15s, background 0.15s;
}

.cal__nav:hover {
  border-color: var(--ink-muted);
  background: var(--surface);
}

.cal__selection {
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
}

.cal__selection--hint {
  color: var(--ink-muted);
  font-weight: 500;
}

.cal__clear {
  display: inline;
  margin-left: 0.5rem;
  padding: 0;
  border: none;
  background: none;
  color: var(--primary);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cal__months {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.cal__month-title {
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  text-align: center;
}

.cal__weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  margin-bottom: 0.35rem;
}

.cal__weekday {
  text-align: center;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
  padding: 0.25rem 0;
}

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

.cal__day {
  aspect-ratio: 1;
  border: none;
  border-radius: 10px;
  background: var(--cal-free);
  color: var(--ink);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.12s var(--ease-out), background 0.12s;
  padding: 0;
}

.cal__day--empty {
  background: transparent;
  pointer-events: none;
}

.cal__day--available:hover:not(:disabled) {
  transform: scale(1.08);
  background: oklch(0.90 0.06 150);
}

.cal__day--past {
  background: var(--surface);
  color: var(--ink-muted);
  opacity: 0.45;
  cursor: not-allowed;
}

.cal__day--occupied {
  background: var(--cal-busy);
  color: var(--cal-busy-ink);
  cursor: not-allowed;
  text-decoration: line-through;
  text-decoration-color: oklch(0.55 0.12 25 / 0.4);
}

.cal__day--in-range,
.cal__day--hover-range {
  background: var(--cal-range);
  border-radius: 4px;
}

.cal__day--checkin,
.cal__day--checkout {
  background: var(--cal-selected);
  color: oklch(1 0 0);
  border-radius: 10px;
  z-index: 1;
}

.cal__day--checkin.cal__day--in-range {
  border-radius: 10px 4px 4px 10px;
}

.cal__day--checkout.cal__day--in-range {
  border-radius: 4px 10px 10px 4px;
}

.cal__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.cal__legend-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8125rem;
  color: var(--ink-muted);
}

.cal__legend-dot {
  width: 14px;
  height: 14px;
  border-radius: 5px;
  flex-shrink: 0;
}

.cal__legend-dot--free {
  background: var(--cal-free);
}

.cal__legend-dot--busy {
  background: var(--cal-busy);
}

.cal__legend-dot--selected {
  background: var(--cal-selected);
}

.cal--compact .cal__month-title {
  font-size: 0.875rem;
}

.cal--compact .cal__day {
  font-size: 0.75rem;
  border-radius: 8px;
}

.cal--compact .cal__header {
  margin-bottom: 0.75rem;
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: oklch(0.15 0.02 30 / 0.5);
  z-index: var(--z-modal);
  display: grid;
  place-items: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}

.modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--bg);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  max-width: 440px;
  width: 100%;
  text-align: center;
  transform: translateY(16px) scale(0.97);
  transition: transform 0.25s var(--ease-out);
  box-shadow: var(--shadow-lg);
}

.modal-backdrop.is-open .modal {
  transform: translateY(0) scale(1);
}

.modal__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin: 0 auto 1.25rem;
}

.modal__title {
  font-size: 1.375rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.modal__desc {
  color: var(--ink-muted);
  margin-bottom: 1.5rem;
  line-height: 1.65;
}

/* Client auth */
.nav-auth__user {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-auth__profile {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.65rem 0.35rem 0.35rem;
  border-radius: var(--radius);
  transition: background 0.15s;
}

.nav-auth__profile:hover {
  background: var(--surface);
}

.nav-auth__avatar {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--primary-soft);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.875rem;
}

.nav-auth__name {
  font-weight: 600;
  font-size: 0.9rem;
  max-width: 9rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-auth__placeholder {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--surface);
  flex-shrink: 0;
}

.auth-modal {
  position: relative;
  text-align: left;
  max-width: 420px;
  padding: 2rem 2rem 1.75rem;
}

.auth-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink-muted);
  cursor: pointer;
  font-size: 1rem;
}

.auth-modal__mark {
  width: 52px;
  height: 52px;
  margin-bottom: 1rem;
}

.auth-modal__mark img {
  width: 100%;
  height: 100%;
  border-radius: 14px;
  box-shadow: 0 6px 18px oklch(0.45 0.17 25 / 0.22);
}

.auth-modal .modal__title {
  text-align: left;
  margin-bottom: 0.35rem;
}

.auth-modal__desc {
  color: var(--ink-muted);
  font-size: 0.9375rem;
  margin-bottom: 1.25rem;
  line-height: 1.55;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
  padding: 0.3rem;
  background: var(--surface);
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
}

.auth-tabs__btn {
  border: none;
  background: transparent;
  border-radius: calc(var(--radius) - 4px);
  padding: 0.65rem 0.75rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink-muted);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.auth-tabs__btn.is-active {
  background: var(--bg);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.auth-form.is-hidden {
  display: none;
}

.auth-form__field {
  margin-bottom: 0.85rem;
}

.auth-form__field label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--ink-muted);
}

.auth-form__field input {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.auth-form__field input:focus {
  outline: none;
  border-color: oklch(0.45 0.17 25 / 0.45);
  box-shadow: 0 0 0 3px oklch(0.45 0.17 25 / 0.12);
}

.auth-form__consent {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  font-size: 0.8125rem;
  color: var(--ink-muted);
  line-height: 1.45;
  margin: 0.25rem 0 1rem;
}

.auth-form__consent a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.auth-form__error {
  color: var(--danger);
  font-size: 0.875rem;
  margin: 0 0 0.85rem;
}

.mobile-nav__btn {
  display: block;
  width: 100%;
  text-align: left;
  font-size: 1.25rem;
  font-weight: 600;
  padding: 0.85rem 0;
  border: none;
  background: none;
  color: inherit;
  cursor: pointer;
}

/* Account */
.account-page {
  padding: 2.5rem 0 4rem;
}

.account-profile {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  padding: 1.75rem;
  background: var(--surface);
  border-radius: var(--radius-lg);
  margin-bottom: 2rem;
}

.account-profile__avatar {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: var(--primary);
  color: oklch(1 0 0);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  flex-shrink: 0;
}

.account-profile__name {
  font-size: 1.75rem;
  margin-bottom: 0.25rem;
}

.account-profile__meta {
  color: var(--ink-muted);
  font-size: 0.9375rem;
}

.account-section h2 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.account-requests {
  display: grid;
  gap: 0.85rem;
}

.account-request {
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
}

.account-request__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.45rem;
}

.account-request__head h3 {
  font-size: 1.05rem;
}

.account-request__dates,
.account-request__meta {
  color: var(--ink-muted);
  font-size: 0.9rem;
}

.account-status {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  white-space: nowrap;
}

.account-status--pending {
  background: oklch(0.94 0.04 85);
  color: oklch(0.45 0.12 75);
}

.account-status--confirmed {
  background: var(--accent-soft);
  color: var(--accent);
}

.account-status--rejected {
  background: oklch(0.95 0.03 25);
  color: var(--danger);
}

.account-status--approved {
  background: var(--accent-soft);
  color: var(--accent);
}

.account-empty {
  text-align: center;
  padding: 3rem 1.5rem;
  border: 1px dashed var(--line);
  border-radius: var(--radius-lg);
  color: var(--ink-muted);
}

.account-empty p {
  margin-bottom: 1.25rem;
}

.account-profile__info {
  flex: 1;
  min-width: 0;
}

.account-profile-form {
  flex-basis: 100%;
  width: 100%;
  margin-top: 0.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.account-profile-form__title {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.account-profile-form__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.account-profile-form__field label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.account-profile-form__field input {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
  background: var(--bg);
}

.account-profile-form__field input:focus {
  outline: 2px solid var(--primary);
  outline-offset: 1px;
}

.account-profile-form__error {
  color: var(--danger);
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

.account-favorites {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.account-password-form {
  margin-top: 0;
}

.account-reviews {
  display: grid;
  gap: 1rem;
}

.account-review {
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
}

.account-review__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.account-review__head small {
  display: block;
  margin-top: 0.25rem;
  color: var(--ink-muted);
}

.account-review__stars {
  margin: 0.7rem 0 0.5rem;
  color: var(--star);
  font-size: 1.15rem;
}

.account-review-rating {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 0.15rem;
  margin: 1rem 0;
  border: 0;
}

.account-review-rating legend {
  width: 100%;
  margin-bottom: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 600;
}

.account-review-rating input {
  position: absolute;
  opacity: 0;
}

.account-review-rating label {
  min-width: 38px;
  min-height: 38px;
  display: grid;
  place-items: center;
  color: var(--line);
  font-size: 1.6rem;
  cursor: pointer;
}

.account-review-rating label:hover,
.account-review-rating label:hover ~ label,
.account-review-rating input:checked ~ label {
  color: var(--star);
}

.account-review-rating input:focus-visible + label {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 6px;
}

.account-review-form__label {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 0.85rem;
  font-size: 0.8125rem;
  font-weight: 600;
}

.account-review-form textarea {
  width: 100%;
  min-height: 110px;
  resize: vertical;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--ink);
  font: inherit;
}

.account-review-form textarea:focus {
  outline: 2px solid var(--primary);
  outline-offset: 1px;
}

.account-empty--compact {
  padding: 1.5rem;
}

.account-empty--compact p {
  margin: 0;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: var(--z-toast);
  padding: 1rem 1.35rem;
  background: var(--ink);
  color: oklch(1 0 0);
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  transform: translateY(100px);
  opacity: 0;
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}

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

/* Cookie banner (public pages) */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 200;
  max-width: 52rem;
  margin: 0 auto;
  padding: 0.7rem 0.8rem 0.7rem 1rem;
  background: var(--ink);
  color: oklch(1 0 0 / 0.9);
  border-radius: 12px;
  box-shadow: 0 4px 8px oklch(0 0 0 / 0.18);
  display: none;
  gap: 1rem;
  align-items: center;
  font-size: 0.875rem;
  line-height: 1.5;
}

.cookie-banner.is-visible {
  display: flex;
  flex-wrap: nowrap;
}

.cookie-banner p { flex: 1; }

.cookie-banner a {
  color: oklch(1 0 0);
  text-decoration: underline;
}

/* Reveal animations */
.reveal {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
  .reveal--animate {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
  }

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

/* Mobile nav */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: calc(var(--z-sticky) + 10);
  background: var(--bg);
  padding: 5rem 2rem 2rem;
  transform: translateX(100%);
  transition: transform 0.3s var(--ease-out);
}

.mobile-nav.is-open {
  transform: translateX(0);
}

.mobile-nav a {
  display: block;
  font-size: 1.25rem;
  font-weight: 600;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero__top {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 2rem;
  }

  .hero__title { font-size: clamp(2.75rem, 6vw, 4.25rem); }

  .search-panel {
    grid-template-columns: 1fr 1fr;
  }

  .search-panel__submit {
    grid-column: 1 / -1;
  }

  .catalog-layout {
    grid-template-columns: 1fr;
  }

  .filters {
    position: static;
  }

  .property-layout {
    grid-template-columns: 1fr;
  }

  .booking-card {
    position: static;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .trust-list { grid-template-columns: 1fr; gap: 1.25rem; }

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

  .cta-banner {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .header__inner {
    min-height: 64px;
    flex-wrap: nowrap;
    gap: 0.75rem;
    padding: 0.75rem 0;
  }

  .logo {
    font-size: 0;
    flex-shrink: 0;
    gap: 0;
  }

  .nav {
    gap: 0.5rem;
    flex-shrink: 1;
    min-width: 0;
  }

  .nav__links,
  .nav__actions .btn--ghost,
  .nav__actions .btn--primary.btn--sm {
    display: none;
  }

  #nav-auth .nav-auth__name,
  #nav-auth .nav-auth__logout {
    display: none;
  }

  .nav-auth__user {
    gap: 0;
  }

  .nav-auth__profile {
    padding: 0.2rem;
  }

  .burger {
    display: flex;
    flex-shrink: 0;
  }

  .account-profile {
    flex-direction: column;
    align-items: stretch;
  }

  .account-profile > .btn--ghost[data-auth-logout] {
    align-self: flex-start;
  }

  .hero {
    min-height: auto;
    padding: 3.25rem 0 2.25rem;
    align-items: flex-start;
  }

  .hero__bg img { object-position: 45% 50%; }

  .hero__overlay {
    background: linear-gradient(
      180deg,
      oklch(0.15 0.035 25 / 0.74) 0%,
      oklch(0.15 0.035 25 / 0.9) 68%,
      oklch(0.14 0.03 25 / 0.96) 100%
    );
  }

  .hero__top { grid-template-columns: 1fr; gap: 0; }
  .hero-showcase { display: none; }
  .hero__title {
    max-width: 12ch;
    font-size: clamp(2.45rem, 10vw, 3.5rem);
  }
  .hero__desc { max-width: 40ch; font-size: 1rem; }

  .hero__actions { display: grid; grid-template-columns: 1fr 1fr; }
  .hero__actions .btn { padding-inline: 1rem; white-space: normal; }

  .search-panel {
    grid-template-columns: 1fr 1fr;
    margin-top: 2rem;
  }

  .search-panel__field:nth-child(3),
  .search-panel__submit {
    grid-column: 1 / -1;
  }

  .quick-search__inner { padding-block: 0.85rem; }
  .property-rules__grid { grid-template-columns: 1fr; }
  .cookie-banner { font-size: 0.78rem; left: 0.5rem; right: 0.5rem; bottom: 0.5rem; }
  .cookie-banner .btn { padding: 0.55rem 0.75rem; }
  .catalog-layout { padding-top: 1rem; }
  .filters-toggle { display: inline-flex; position: sticky; top: 76px; z-index: 2; background: var(--bg); }
  .filters { display: none; width: 100%; }
  .filters.is-open { display: block; }
  .mobile-booking-bar:not([hidden]) {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: var(--z-sticky);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.7rem 1rem;
    padding-bottom: calc(0.7rem + env(safe-area-inset-bottom));
    background: var(--bg);
    border-top: 1px solid var(--line);
    box-shadow: 0 -4px 8px oklch(0 0 0 / 0.08);
  }
  .mobile-booking-bar strong { display: block; font-family: var(--font-display); }
  .mobile-booking-bar span { color: var(--ink-muted); font-size: 0.75rem; }
  body:has(.mobile-booking-bar:not([hidden])) { padding-bottom: 74px; }
  .cookie-banner { bottom: 74px; }

  .hero-assurances { gap: 0.65rem 1rem; }

  .gallery {
    grid-template-columns: 1fr;
    grid-template-rows: 240px 100px 100px;
    height: auto;
  }

  .gallery:has(.gallery__thumb[hidden]) { grid-template-rows: 240px 100px; }

  .gallery__main {
    grid-row: auto;
  }

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

  .footer__bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}

@media (max-width: 520px) {
  .container { width: min(var(--container), calc(100% - 1.5rem)); }
  .hero__actions { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
  .hero-assurances { display: grid; gap: 0.55rem; }
  .search-panel { padding: 0.4rem; }
  .search-panel__field { padding: 0.75rem 0.7rem; }
  .property-location-card { padding: 1rem; }
  .property-location-card__head { align-items: stretch; flex-direction: column; margin-bottom: 0.75rem; }
  .property-location-card__route { width: 100%; white-space: normal; }
  .route-guide { margin-inline: 0; padding: 0.7rem; }
  .route-guide__heading { display: block; }
  .route-guide__heading > span { display: inline-block; margin-top: 0.55rem; }
  .route-guide__directions { display: grid; grid-template-columns: 1fr 1fr; }
  .route-guide__directions button { padding-inline: 0.45rem; font-size: 0.78rem; }
  .route-guide__photo img { max-height: none; }
  .route-guide__copy { min-height: 98px; }
  .route-dialog__arrow { top: auto; bottom: 1rem; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .card-skeleton span::after, .card-skeleton i::after { animation: none; display: none; }
  .route-guide__photo img { transition: none; }
  .route-guide__rail { scroll-behavior: auto; }
}
