:root {
  --pine: #4E5242;
  --rose: #F4D4DE;
  --berry: #C41E56;
  --mist: #EEEDE8;
  --sage: #D8DCC8;
  --moss: #8F9A72;
  --ink: #1A1B18;
  --muted: #6B6E65;
  --paper: #F6F5F1;
  --white: #FFFFFF;
  --surface: #FFFFFF;
  --surface-muted: #EEEDE8;
  --field: #FFFFFF;
  --field-border: rgba(26, 27, 24, .14);
  --field-border-focus: rgba(78, 82, 66, .5);
  --line: rgba(26, 27, 24, .08);
  --ok: #2D6B47;
  --warn: #8F5A18;
  --bad: #9E1A3A;
  --radius: 2px;
  --radius-soft: 6px;
  --max: 1200px;
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-ui: "Manrope", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; min-width: 0; }

html {
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body { margin: 0; min-width: 320px; }

body.menu-open { overflow: hidden; }

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

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

button { cursor: pointer; }

svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 0 clamp(20px, 4vw, 48px);
  background: rgba(246, 245, 241, .92);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius);
  background: var(--pine);
  color: var(--rose);
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 700;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2.4vw, 32px);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav a {
  transition: color .2s ease;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--berry);
}

.top-action,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 20px;
  border: 0;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  transition: background .2s ease, color .2s ease, opacity .2s ease;
}

.btn:hover,
.top-action:hover {
  background: var(--pine);
}

.btn.secondary {
  background: var(--pine);
  color: var(--white);
}

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

.btn.ghost {
  background: transparent;
  color: var(--ink);
  padding-inline: 0;
}

.btn.ghost:hover {
  color: var(--berry);
  background: transparent;
}

.btn.soft {
  background: var(--surface-muted);
  color: var(--ink);
}

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

.btn.full { width: 100%; }

.btn.accent {
  background: var(--berry);
}

.btn.accent:hover {
  background: #A31848;
}

.booking-box [data-total] {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
}

.booking-box .line-list .line-item:not(:last-child) {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.page {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 36px 0 72px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, .78fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: stretch;
  min-height: calc(100vh - 120px);
  padding-top: 12px;
}

.hero-copy {
  align-self: center;
  display: grid;
  gap: 20px;
}

.hero-copy h1,
.hero-copy .lead {
  margin-bottom: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  color: var(--berry);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }

h1, h2 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
}

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(48px, 7.5vw, 92px);
  line-height: .94;
  overflow-wrap: anywhere;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(34px, 4.5vw, 56px);
  line-height: 1.02;
}

h3 {
  margin-bottom: 10px;
  font-family: var(--font-ui);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.lead {
  max-width: 640px;
  color: var(--muted);
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.6;
}

.hero-media {
  min-height: 520px;
  background:
    linear-gradient(180deg, rgba(26, 27, 24, .02), rgba(26, 27, 24, .42)),
    url("https://images.unsplash.com/photo-1520250497591-112f2f40a3f4?auto=format&fit=crop&w=1200&q=82") center/cover;
  border-radius: var(--radius-soft);
  display: flex;
  align-items: flex-end;
  padding: 24px;
  color: var(--white);
}

.hero-media-panel {
  width: 100%;
  display: grid;
  gap: 10px;
  background: rgba(26, 27, 24, .62);
  border-radius: var(--radius);
  padding: 18px;
  backdrop-filter: blur(8px);
}

.search-panel {
  margin-top: 8px;
  padding: 24px;
  background: var(--surface);
  border-radius: var(--radius-soft);
}

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

.search-grid .search-field-region {
  grid-column: 1 / -1;
}

.search-grid .search-field-submit {
  grid-column: 1 / -1;
}

.search-grid .search-field-submit .btn {
  width: 100%;
}

@media (min-width: 1080px) {
  .search-grid--bar {
    grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)) auto;
    align-items: end;
  }

  .search-grid--bar .search-field-region,
  .search-grid--bar .search-field-submit {
    grid-column: auto;
  }

  .search-grid--bar .search-field-submit .btn {
    width: auto;
    white-space: nowrap;
  }
}

.field { display: grid; gap: 10px; min-width: 0; }

.form-stack,
.booking-box form,
.search-panel,
.filters form,
.panel > form,
form.panel,
.panel.form-stack {
  display: grid;
  gap: 16px;
}

.form-divider,
.block-gap {
  margin-top: 28px;
}

.place-page > section.block-gap {
  margin-top: clamp(40px, 5vw, 56px);
}

.place-page > section.block-gap:first-of-type {
  margin-top: 28px;
}

.form-divider {
  margin-bottom: 4px;
}

.block-gap:first-child,
.form-divider:first-child {
  margin-top: 0;
}

.field span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  border: 0;
  border-radius: var(--radius);
  background: var(--field);
  box-shadow: inset 0 0 0 1px var(--field-border);
  outline: none;
  transition: background .2s ease, box-shadow .2s ease;
}

textarea { min-height: 112px; resize: vertical; }

.input:focus,
select:focus,
textarea:focus {
  background: var(--field);
  box-shadow: inset 0 0 0 1px var(--field-border-focus);
}

.input::placeholder,
textarea::placeholder {
  color: rgba(107, 110, 101, .72);
}

.input:disabled,
select:disabled,
textarea:disabled {
  background: var(--paper);
  opacity: .72;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 0;
}

.metric {
  display: grid;
  gap: 8px;
  align-content: center;
  min-height: 108px;
  padding: 20px;
  background: var(--surface-muted);
  border-radius: var(--radius-soft);
}

.metric b {
  display: block;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 600;
  line-height: 1;
}

.metric span {
  color: var(--muted);
  font-size: 13px;
}

.section {
  margin-top: clamp(40px, 5vw, 56px);
}

.section:first-child {
  margin-top: 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.section-head p {
  max-width: 560px;
  color: var(--muted);
  line-height: 1.6;
}

.grid {
  display: grid;
  gap: 20px;
}

.grid.cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card-body {
  display: grid;
  gap: 12px;
  padding: 18px 2px 0;
}

.card h3 {
  margin-bottom: 0;
}

.card h3 a:hover {
  color: var(--berry);
}

.auth-page {
  max-width: 520px;
  margin-inline: auto;
  display: grid;
  gap: 24px;
}

.auth-page h1 {
  margin-bottom: 0;
}

.auth-page .lead {
  margin-bottom: 0;
}

.form-inline {
  display: inline;
}

.actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.footer-brand {
  display: grid;
  gap: 12px;
  max-width: 420px;
}

.footer-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-mark b {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
}

.step,
.wizard-step {
  display: grid;
  gap: 10px;
}

.step p,
.wizard-step p {
  margin: 0;
}

.map-band {
  min-height: 360px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 16px;
  border-radius: var(--radius-soft);
  overflow: hidden;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  max-width: 360px;
  padding: 16px 18px;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius-soft);
  font-size: 14px;
  animation: toast-in .25s ease;
}

.demo-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 12px 20px;
  background: var(--rose);
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.demo-banner p {
  margin: 0;
}

.demo-banner-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card {
  background: transparent;
  border-radius: var(--radius-soft);
  overflow: hidden;
}

.card-body .tag-row {
  margin: 0;
}

.photo {
  aspect-ratio: 4 / 3;
  background: var(--sage) center/cover;
  border-radius: var(--radius-soft);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 99px;
  background: var(--surface-muted);
  color: var(--pine);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tag.hot { background: var(--rose); color: var(--berry); }
.tag.ok { background: #E4F0E8; color: var(--ok); }
.tag.warn { background: #F5EBD8; color: var(--warn); }

.price-line {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin-top: 16px;
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.icon-action {
  min-height: 38px;
  padding: 8px 12px;
  border: 0;
  border-radius: var(--radius);
  background: var(--surface-muted);
  color: var(--pine);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.icon-action.active {
  background: var(--rose);
  color: var(--berry);
}

.price b {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
}

.muted { color: var(--muted); }
.small { font-size: 13px; }

.muted a {
  color: var(--pine);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.muted a:hover {
  color: var(--berry);
}

.filter-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 28px;
}

.filters {
  position: sticky;
  top: 92px;
  align-self: start;
  display: grid;
  gap: 16px;
  padding: 20px;
  background: var(--surface-muted);
  border-radius: var(--radius-soft);
}

.check-list { display: grid; gap: 10px; }

.check {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
}

.check input { width: 16px; height: 16px; accent-color: var(--berry); }

.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.segmented {
  display: inline-grid;
  grid-auto-flow: column;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-muted);
}

.segmented button,
.segmented a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 14px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}

.segmented button.active,
.segmented a.active {
  background: var(--ink);
  color: var(--white);
}

.stay-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 32px;
}

.gallery {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 10px;
  margin-bottom: 24px;
}

.gallery .photo { min-height: 240px; aspect-ratio: auto; }

.summary-box,
.booking-box,
.panel {
  background: var(--surface-muted);
  border-radius: var(--radius-soft);
  padding: 22px;
  display: grid;
  gap: 16px;
  align-content: start;
}

.booking-box {
  position: sticky;
  top: 92px;
  align-self: start;
}

.line-list {
  display: grid;
  gap: 12px;
  margin: 0;
}

.line-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 0;
}

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

.day {
  min-width: 0;
  min-height: 42px;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: var(--surface-muted);
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.day.busy {
  background: var(--rose);
  color: var(--bad);
}

.day.free {
  background: #E8F0E2;
  color: var(--ok);
}

.review {
  display: grid;
  gap: 8px;
  padding: 18px 0;
}

.review + .review {
  border-top: 1px solid var(--line);
}

.stars { color: var(--berry); font-weight: 700; }

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

.step {
  min-height: 150px;
  padding: 20px;
  background: var(--surface-muted);
  border-radius: var(--radius-soft);
}

.dash {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 24px;
}

.side-nav {
  display: grid;
  align-content: start;
  gap: 4px;
  padding: 14px;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius-soft);
}

.side-nav a,
.side-nav button {
  min-height: 42px;
  padding: 10px 12px;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: inherit;
  text-align: left;
  font-size: 14px;
  font-weight: 500;
}

.side-nav a.active,
.side-nav button.active {
  background: rgba(255, 255, 255, .1);
}

.table-wrap {
  overflow: auto;
  border-radius: var(--radius-soft);
  background: var(--surface-muted);
}

table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  background: transparent;
}

th, td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

tr:last-child td { border-bottom: 0; }

.status {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 10px;
  border-radius: 99px;
  background: var(--surface);
  color: var(--pine);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.status.ok { background: #E4F0E8; color: var(--ok); }
.status.warn { background: #F5EBD8; color: var(--warn); }
.status.bad { background: var(--rose); color: var(--bad); }

.chat-box {
  display: grid;
  gap: 10px;
  margin: 16px 0;
}

.message {
  max-width: 78%;
  padding: 12px 16px;
  border-radius: var(--radius-soft);
  background: var(--surface-muted);
}

.message.outgoing {
  justify-self: end;
  background: var(--ink);
  color: var(--white);
}

.message-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

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

.kanban-col {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 320px;
  padding: 16px;
  background: var(--surface-muted);
  border-radius: var(--radius-soft);
}

.task-card {
  display: grid;
  gap: 8px;
  padding: 14px;
  background: var(--surface);
  border-radius: var(--radius);
}

.pricing-heatmap {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.heat-cell {
  display: grid;
  gap: 8px;
  min-height: 150px;
  padding: 16px;
  border-radius: var(--radius-soft);
  background:
    linear-gradient(0deg, rgba(196, 30, 86, calc(var(--heat) / 180)), rgba(196, 30, 86, calc(var(--heat) / 180))),
    var(--surface-muted);
}

.heat-cell strong {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
}

.resource-board { display: grid; gap: 10px; }

.resource-row {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(180px, .8fr) auto;
  gap: 16px;
  align-items: center;
  padding: 16px 18px;
  background: var(--surface-muted);
  border-radius: var(--radius-soft);
}

.meter {
  height: 6px;
  border-radius: 99px;
  background: var(--surface);
  overflow: hidden;
}

.meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--berry);
}

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

.wizard-step {
  min-height: 150px;
  padding: 16px;
  border-radius: var(--radius-soft);
  background: var(--surface-muted);
}

.wizard-step b {
  display: block;
  margin-bottom: 8px;
  color: var(--pine);
}

a.panel {
  display: block;
  color: inherit;
  transition: background .2s ease;
}

a.panel:hover {
  background: var(--mist);
}

.map-canvas {
  position: relative;
  min-height: 360px;
  background:
    linear-gradient(90deg, rgba(78, 82, 66, .05) 1px, transparent 1px),
    linear-gradient(rgba(78, 82, 66, .05) 1px, transparent 1px),
    var(--surface-muted);
  background-size: 42px 42px;
  border-radius: var(--radius-soft);
}

.pin {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--berry);
  transform: translate(-50%, -50%);
}

.pin::after {
  content: attr(data-label);
  position: absolute;
  left: 18px;
  top: -8px;
  min-width: 110px;
  color: var(--pine);
  font-weight: 600;
  font-size: 12px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: var(--surface-muted);
  color: var(--ink);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}

body.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

body.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  border: 0;
  padding: 0;
  background: rgba(26, 27, 24, .42);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}

.menu-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav {
  position: fixed;
  top: 72px;
  right: 0;
  bottom: 0;
  z-index: 45;
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: min(320px, 88vw);
  padding: 20px;
  background: var(--paper);
  border-left: 1px solid var(--line);
  overflow-y: auto;
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform .25s ease, visibility .25s ease;
}

.mobile-nav.open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.mobile-nav a,
.mobile-nav .mobile-nav-cta {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 8px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--ink);
}

.mobile-nav form {
  margin-top: 8px;
}

.mobile-nav a[aria-current="page"] {
  color: var(--berry);
}

.mobile-nav-cta {
  margin-top: 16px;
  border-bottom: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  padding: 48px clamp(20px, 4vw, 48px);
  background: var(--surface-muted);
  color: var(--pine);
}

.footer b {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
}

.footer p {
  margin-bottom: 0;
  max-width: 420px;
  color: var(--muted);
  line-height: 1.6;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(140px, 1fr));
  gap: 10px 24px;
  font-size: 14px;
}

.footer-grid a {
  color: var(--muted);
  transition: color .2s ease;
}

.footer-grid a:hover { color: var(--ink); }

.empty {
  padding: 28px;
  background: var(--surface-muted);
  border-radius: var(--radius-soft);
  color: var(--muted);
}

.bad { color: var(--bad); }

/* Property page: OTA gallery */
.property-gallery {
  position: relative;
}

.gallery-mosaic {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  grid-template-rows: 1fr;
  gap: 8px;
  border-radius: var(--radius-soft);
  overflow: hidden;
  height: 400px;
  align-items: stretch;
}

.gallery-carousel {
  display: none;
  position: relative;
  border-radius: var(--radius-soft);
  overflow: hidden;
}

.gallery-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-behavior: smooth;
}

.gallery-track::-webkit-scrollbar { display: none; }

.gallery-slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  background: var(--surface-muted);
  aspect-ratio: 4 / 3;
  min-height: 280px;
  overflow: hidden;
}

.gallery-slide .photo {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
  background-size: cover;
  background-position: center;
}

.gallery-carousel-counter {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  background: rgba(18, 20, 16, .72);
  color: #fff;
  pointer-events: none;
}

.gallery-dots {
  position: absolute;
  left: 50%;
  bottom: 12px;
  z-index: 2;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  max-width: calc(100% - 24px);
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(18, 20, 16, .55);
  overflow-x: auto;
  scrollbar-width: none;
}

.gallery-dots::-webkit-scrollbar { display: none; }

.gallery-dot {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: rgba(255, 255, 255, .45);
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}

.gallery-dot.is-active {
  background: #fff;
  transform: scale(1.25);
}

.gallery-hero,
.gallery-thumb {
  position: relative;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  background: var(--surface-muted);
  overflow: hidden;
  min-height: 0;
}

.gallery-thumb-more {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(18, 20, 16, .52);
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  pointer-events: none;
}

.gallery-hero {
  height: 100%;
  min-height: 0;
}

.gallery-hero .photo,
.gallery-thumb .photo {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  background-size: cover;
  background-position: center;
  transition: transform .3s ease;
}

.gallery-hero:hover .photo,
.gallery-thumb:hover .photo {
  transform: scale(1.03);
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  height: 100%;
  min-height: 0;
}

.gallery-thumb {
  height: 100%;
  min-height: 0;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(18, 20, 16, .92);
  display: grid;
  place-items: center;
  padding: 48px 72px;
}

.gallery-lightbox[hidden] { display: none !important; }

.gallery-stage {
  max-width: min(1100px, 100%);
  max-height: calc(100vh - 120px);
  border-radius: var(--radius-soft);
  object-fit: contain;
  touch-action: pan-y;
}

.gallery-close,
.gallery-nav {
  position: absolute;
  border: 0;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  cursor: pointer;
  border-radius: 999px;
  width: 44px;
  height: 44px;
  font-size: 28px;
  line-height: 1;
}

.gallery-close { top: 20px; right: 20px; }
.gallery-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.gallery-next { right: 20px; top: 50%; transform: translateY(-50%); }

.gallery-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, .8);
  margin: 0;
  font-size: 14px;
}

body.gallery-open { overflow: hidden; }

/* Unit picker */
.unit-picker-grid { align-items: stretch; }

.unit-picker-card {
  border: 2px solid transparent;
  border-radius: var(--radius-soft);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.unit-picker-card.is-selected {
  border-color: var(--berry);
  box-shadow: 0 0 0 1px var(--berry);
}

.unit-picker-link {
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.unit-picker-link .photo {
  min-height: 180px;
  border-radius: var(--radius-soft) var(--radius-soft) 0 0;
}

.unit-picker-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.unit-picker-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  margin-top: auto;
}

/* Book strip */
.place-page { padding-bottom: 120px; }

.book-strip {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .96);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(12px);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, .06);
}

.book-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.book-strip-price {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Book page layout */
.book-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 1fr);
  gap: 24px;
  align-items: start;
}

.book-summary { position: sticky; top: 96px; }

.service-card h4 { margin-bottom: 4px; }

.extra-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.extra-option {
  padding: 14px 16px;
  border-radius: var(--radius-soft);
  background: var(--surface-muted);
}

.extra-option-head {
  align-items: flex-start;
}

.extra-option-controls {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.field.compact span {
  font-size: 13px;
}

.services-group h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

@media (max-width: 980px) {
  .gallery-mosaic { display: none; }
  .gallery-carousel { display: block; }
  .book-layout { grid-template-columns: 1fr; }
  .book-summary { position: static; }
  .book-strip-inner {
    flex-direction: column;
    align-items: stretch;
  }
  .book-strip-price {
    justify-content: space-between;
  }
}

@media (max-width: 640px) {
  .gallery-lightbox { padding: 56px 16px; }
  .gallery-prev { left: 8px; }
  .gallery-next { right: 8px; }
  .gallery-slide { min-height: 240px; }
  .gallery-slide .photo { min-height: 240px; }
}

@media (max-width: 980px) {
  .nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .topbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
  }
  .brand {
    justify-self: start;
  }
  .menu-toggle {
    grid-column: 2;
    justify-self: end;
  }
  .top-action { display: none; }
  .hero,
  .stay-layout,
  .filter-layout,
  .dash,
  .map-band {
    grid-template-columns: 1fr;
  }
  .hero { min-height: 0; gap: 32px; }
  .hero-media { min-height: 420px; }
  .grid.cards,
  .grid.three,
  .grid.four,
  .timeline,
  .kanban,
  .wizard,
  .pricing-heatmap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filters,
  .booking-box { position: static; }
}

@media (min-width: 981px) {
  .menu-toggle,
  .mobile-nav,
  .menu-backdrop { display: none !important; }
}

@media (max-width: 640px) {
  .topbar { min-height: 64px; gap: 12px; }
  .mobile-nav { top: 64px; }
  .page { width: min(100% - 28px, var(--max)); padding-top: 20px; }
  h1 { font-size: 44px; }
  h2 { font-size: 32px; }
  .hero-media { min-height: 320px; }
  .search-grid,
  .grid.cards,
  .grid.two,
  .grid.three,
  .grid.four,
  .timeline,
  .kanban,
  .wizard,
  .pricing-heatmap,
  .metrics,
  .gallery {
    grid-template-columns: 1fr;
  }
  .message { max-width: 100%; }
  .message-form { grid-template-columns: 1fr; }
  .resource-row { grid-template-columns: 1fr; }
  .section-head,
  .footer,
  .toolbar {
    align-items: stretch;
    flex-direction: column;
  }
  .segmented { grid-auto-flow: row; }
  .footer-grid { grid-template-columns: 1fr; }
}

.nav-logout { display: inline-flex; margin: 0; }
.nav-logout button { margin: 0; }

.surface-extranet .topbar,
.surface-admin .topbar,
.surface-partners .topbar,
.surface-blog .topbar {
  border-bottom: 1px solid rgba(78, 82, 66, 0.12);
}

.extranet-topbar .nav { gap: 12px; align-items: center; }

.footer-compact .footer-grid { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }

.input.compact { max-width: 110px; display: inline-block; }

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 6px 12px; border-radius: 999px; background: var(--surface-muted); text-decoration: none; }
.chip.active { background: var(--accent); color: #fff; }

