:root {
  /* Aalay Living brand palette (Firefly / Daintree + accents) */
  --primary: #072b31;       /* Firefly */
  --primary-hover: #062429; /* Daintree */
  --secondary: #062429;     /* Headings / strong text */
  --gold: #082b31;          /* Accent (matches header) */
  --gold-hover: #061f24;

  /* RGB helpers for alpha tints */
  --primary-rgb: 7, 43, 49;
  --secondary-rgb: 6, 36, 41;
  --gold-rgb: 8, 43, 49;
  --text-rgb: 40, 40, 40; /* off-black for readability */
  --ink: rgba(var(--text-rgb), 0.92);
  --ink-muted: rgba(var(--text-rgb), 0.65);

  /* App tokens */
  --accent: var(--primary);
  --accent-600: var(--primary-hover);
  --text: rgba(var(--text-rgb), 1);
  --muted: rgba(var(--text-rgb), 0.62);
  --bg: #ffffff;
  --bg-muted: rgba(var(--gold-rgb), 0.04);
  --border: rgba(var(--secondary-rgb), 0.18);
  --shadow-sm: none;
  --shadow-md: none;
  --ring: 0 0 0 2px rgba(var(--primary-rgb), 0.25);

  /* Typography */
  --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: var(--font-sans);

  /* Layout */
  --radius: 5px;
  --header-h: 76px;

  /* Monochrome logo tint (used for partner logos) */
  --logo-filter-accent: brightness(0) saturate(100%) invert(18%) sepia(28%) saturate(950%)
    hue-rotate(132deg) brightness(78%) contrast(96%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  padding-top: var(--header-h);
  letter-spacing: -0.01em;
}

h1,
h2,
h3,
h4,
.hero-title,
.section-head h2,
.card-title,
.faq-nav-title,
.faq-group h2,
.step h3,
.feature h3,
.page-hero h1,
.cta-row h3 {
  color: var(--text);
  font-family: var(--font-sans);
}

/* Ensure all form controls use the same font as the site (browser defaults vary) */
button,
input,
select,
textarea {
  font-family: inherit;
}

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

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

:where(a, button, input, textarea, select):focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-radius: var(--radius);
}

.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
}

.container--fluid {
  max-width: none;
}

.container-narrow {
  max-width: 980px;
}

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

.text-primary {
  color: var(--gold);
}

.lead {
  font-size: 1.15rem;
  color: var(--muted);
  margin-top: 10px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #082b31;
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}

.site-header.is-scrolled {
  background: #082b31;
}

.site-header,
.site-header .brand,
.site-header .nav-link {
  color: #fff;
}

.site-header .nav-link:not(.nav-cta):hover,
.site-header .nav-link:not(.nav-cta).is-active {
  color: #fff;
  text-decoration: underline;
}

.site-header .nav-toggle {
  color: #fff;
}

.site-header .nav-toggle span {
  background: #fff;
}

.site-header .brand-mark {
  background: url("../images/Living_WhiteTransparent.svg") center / contain no-repeat;
}

.site-header > .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  padding: 15px 20px;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 102px;
  height: 70px;
  border-radius: var(--radius);
  /* Use logo file, fall back to gradient if image can't load */
  background: url("../images/Living_BlackTransparent.svg") center / contain no-repeat;
  position: relative;
  left: 12px;
  position: relative;
  top: -5px;

  transform:scale(1.9);
  -ms-transform:scale(1.9); /* IE 9 */
  -moz-transform:scale(1.9); /* Firefox */
  -webkit-transform:scale(1.9); /* Safari and Chrome */
  -o-transform:scale(1.9); /* Opera */  
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.site-nav .nav-cta {
  margin-left: 30px;
}

.nav-link {
  padding: 8px 2px;
  font-weight: 600;
  color: rgba(var(--text-rgb), 0.86);
  position: relative;
}

.nav-link:not(.nav-cta):hover {
  color: var(--accent);
}

.nav-link.is-active {
  color: var(--accent);
}

.nav-cta {
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--gold);
  color: #fff;
}

/* Keep CTA text white even when it is the active page link */
.nav-cta.is-active {
  color: #fff;
}

.nav-cta:hover {
  background: var(--gold-hover);
}

/* Header menu: keep links white on hover (override global .nav-link:hover); exclude Landlord CTA */
.site-header .site-nav .nav-link:not(.nav-cta):hover,
.site-header .site-nav .nav-link:not(.nav-cta).is-active {
  color: #fff;
  text-decoration: underline;
}

.site-header .nav-cta {
  border: 1px solid #fff;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 10px;
  border-radius: var(--radius);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(var(--secondary-rgb), 0.80);
  margin: 4px 0;
  border-radius: var(--radius);
}

.hero {
  position: relative;
  padding: 52px 0 56px;
  min-height: 70vh;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.hero--home {
  /* Full screen height (account for fixed header + body padding-top) */
  height: calc(100vh - var(--header-h));
  min-height: calc(100vh - var(--header-h));
  /* Move hero content up (≈10% from the top) */
  place-items: start center;
  padding-top: 10vh;
  background: url("../images/home-splash.jpg");
  background-size: cover;
  background-position: center bottom;
}

.hero-after {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 20%;
  background: linear-gradient(to top, var(--bg) 20%, transparent);
  z-index: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 24px;
}

.hero--home .container {
  position: relative;
  z-index: 1;
}

/* Landlord page: larger hero without full-viewport image */
.hero--landlord {
  min-height: 42vh;
  padding: 56px 0 64px;
  background: var(--bg-muted);
  border-bottom: 1px solid var(--border);
}

.hero--landlord .hero-inner {
  text-align: center;
}

.hero--landlord .hero-title {
  margin-bottom: 12px;
}

.hero--landlord .hero-subtitle {
  font-size: 1.0625rem;
  line-height: 1.55;
  margin-bottom: 24px;
}

.hero--landlord .hero-actions {
  margin-top: 0;
}

/* Landlords section: full side-by-side (image | content) */
.landlord-hero--side-by-side {
  padding-top: 40px;
  padding-bottom: 48px;
  background: var(--bg-muted);
  border-bottom: 1px solid var(--border);
}

.landlord-hero__split {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 56px;
  align-items: start;
  margin-top: 30px;
  margin-bottom: 15px;  
}

.landlord-hero__image {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--border);
}

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

.landlord-hero__content {
  padding-top: 0px;
}

.landlord-hero__title {
  margin: 0 0 14px;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.landlord-hero__lead {
  margin: 0 0 14px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--muted);
}

.landlord-hero__lead--secondary {
  margin-bottom: 24px;
  font-size: 0.9375rem;
}

.landlord-hero__content .hero-actions {
  margin-top: 0;
}

.hero-inner {
  text-align: center;
}

.hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 10px;
}

.hero-subtitle {
  margin: 0 auto 22px;
  max-width: 70ch;
}

.hero-scroll-down {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #000;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.hero-scroll-down:hover {
  color: rgba(0, 0, 0, 0.75);
}

.hero-scroll-down__arrow {
  display: flex;
  animation: hero-scroll-bounce 2s ease-in-out infinite;
}

.hero-scroll-down__arrow svg {
  display: block;
  width: 30px;
  height: 30px;
}

@keyframes hero-scroll-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

/* Consistent vertical rhythm (reset removes default margins) */
.section h2 {
  margin: 0 0 10px;
}
.section p + p {
  margin-top: 12px;
}
.split h2 {
  margin: 0 0 8px;
}
.split h3 {
  margin: 0 0 8px;
}
.panel p {
  margin: 0;
}
.panel p + p {
  margin-top: 10px;
}

.search-card {
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--border);
  padding: 10px 14px 10px;
}

.search-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.6fr auto;
  gap: 10px;
  align-items: end;
}

.search-hint {
  margin: 6px 0 0;
  font-size: 0.85rem;
  color: var(--ink-muted);
  line-height: 1.35;
}

.field {
  display: grid;
  gap: 6px;
}

.field--inline {
  grid-auto-flow: row;
}

.field--full {
  grid-column: 1 / -1;
}

.form {
  max-width: 980px;
  margin: 0 auto;
}

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

.field-label {
  font-size: 0.86rem;
  font-weight: 700;
  color: rgba(var(--text-rgb), 0.82);
  text-align: left;
}

.field-input {
  width: 100%;
  padding: 12px 12px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  font-size: 1rem;
  font-family: inherit;
}

/* Admin pages: tighter textbox padding (7px top/bottom) */
body.admin .field-input {
  padding: 7px 12px;
}

/* Admin pages: bottom border on section and cards where missing */
body.admin .section {
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
}
body.admin .card {
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
}

/* Dropdowns: inset the arrow (avoid it hugging the edge) */
select.field-input {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%23062F2B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 14px 14px;
  padding-right: 34px;
}

/* Larger labels + smaller fields for the date/location search bars (keep buttons unchanged) */
.search-card .field-label,
.filter-bar .field-label,
.booking-fields .field-label {
  font-size: 1rem;
}

.search-card .field-input:not(.field-input--area),
.filter-bar .field-input:not(.field-input--area),
.booking-fields .field-input:not(.field-input--area) {
  /* Match the button height without changing .btn */
  height: 44px;
  padding: 0px 50px 0px 10px;
  font-size: 0.95rem;
  line-height: 44px;
}

/* Homepage search card: more compact */
.search-card .field-label {
  font-size: 0.9rem;
}
.search-card .field-input:not(.field-input--area) {
  height: 38px;
  padding: 0 34px 0 10px;
  font-size: 0.9rem;
  line-height: 38px;
}
.search-card .btn {
  min-height: 38px;
  padding: 8px 14px;
  font-size: 0.9rem;
}

/* Ensure selects keep extra right padding even with the height-alignment overrides above */
.search-card select.field-input,
.filter-bar select.field-input,
.booking-fields select.field-input {
  padding-right: 34px;
  padding-left: 10px;
}

/* Flatpickr creates an "altInput" next to the original input; keep it consistent */
.search-card .flatpickr-input,
.filter-bar .flatpickr-input,
.booking-fields .flatpickr-input,
.search-card .flatpickr-alt-input,
.filter-bar .flatpickr-alt-input,
.booking-fields .flatpickr-alt-input {
  height: 44px;
  line-height: 44px;
}

.field-input--area {
  border-radius: var(--radius);
  resize: vertical;
}

.field-input:focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-color: rgba(var(--primary-rgb), 0.45);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--ink);
  font-weight: 700;
  padding: 12px 16px;
  cursor: pointer;
  /* Default spacing between content and buttons (outside header) */
  margin-top: 10px;
  transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease;
  font-family: inherit;
}

/* Buttons that must align within their layouts shouldn't get a top margin */
.site-header .btn,
.search-grid .btn,
.filter-bar .btn,
.hero-actions .btn,
.card-row .btn,
.booking-card .btn,
.site-nav .btn {
  margin-top: 0;
}

/* Flatpickr (third-party calendar widget) — themed to match the site */
.flatpickr-calendar {
  font-family: inherit;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.flatpickr-months .flatpickr-month {
  color: var(--text);
}

.flatpickr-weekday {
  color: rgba(var(--text-rgb), 0.65);
  font-weight: 700;
}

.flatpickr-day {
  border-radius: var(--radius);
}

.flatpickr-day.today {
  border-color: rgba(var(--primary-rgb), 0.45);
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
  background: var(--accent);
  border-color: var(--accent);
}

.flatpickr-day.selected:hover,
.flatpickr-day.startRange:hover,
.flatpickr-day.endRange:hover {
  background: var(--accent-600);
  border-color: var(--accent-600);
}

.btn-primary {
  border-color: rgba(var(--gold-rgb), 0.6);
  background: var(--gold);
  color: #fff;
}

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

.btn-secondary:hover {
  border-color: rgba(var(--gold-rgb), 0.85);
  background: rgba(var(--gold-rgb), 0.08);
}

.btn-secondary {
  border-color: rgba(var(--gold-rgb), 0.6);
  background: rgba(255, 255, 255, 0.96);
  color: var(--secondary);
}

.btn-ghost {
  border-color: transparent;
  background: rgba(var(--gold-rgb), 0.08);
  color: var(--secondary);
}

.btn-block {
  width: 100%;
}

.section {
  padding: 45px 0;
}

.section-about,
.section-featured,
.section--muted,
.section-affiliates,
.section-partners,
.section--bordered {
  border-bottom: 1px solid var(--border);
}

/* Make the bordered section on the property details page more visible */
body.property-page .section--bordered {
  border-bottom-color: rgba(var(--secondary-rgb), 0.28);
}

/* Alternating muted background: 1st, 3rd & 5th sections (About us, Why book with us, Booking partners) */
.section-about,
.section--muted,
.section-partners {
  background: var(--bg-muted);
}


.section-head {
  margin-bottom: 18px;
}

.section-head h2 {
  margin: 0 0 2px;
  letter-spacing: -0.02em;
  font-size: 2rem;
  line-height: 30px;
}

.section-head p {
  margin: 4px 0 0;
  color: var(--muted);
}

.section-head__lead {
  /* max-width: 60ch; */
  margin-top: 6px;
}

/* Landlord page: audience / who it's for */
.landlord-audience {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 24px;
}

.landlord-audience__block h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--text);
}

.landlord-audience__list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--muted);
}

.landlord-audience__list li {
  padding: 4px 0;
  padding-left: 18px;
  position: relative;
}

.landlord-audience__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

/* Landlord page: 3-column steps on large screens */
.steps--landlord {
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.cta-row--landlord {
  margin-top: 40px;
}

.cta-box {
  padding: 28px 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  max-width: 480px;
}

.cta-box h3 {
  margin: 0 0 8px;
}

.cta-box .muted {
  margin: 0 0 18px;
}

/* Landlord page: final CTA block */
.landlord-cta .section-head {
  margin-bottom: 24px;
}

.landlord-cta__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Landlord benefits: slightly more breathing room */
.feature-grid--landlord {
  gap: 20px;
}

.feature-grid--landlord .feature {
  padding: 20px;
}

.feature-grid--landlord .feature p {
  font-size: 0.9375rem;
  line-height: 1.55;
}

/* Keep spacing between blocks in forms */
.form-grid .field + .field {
  margin-top: 0; /* rely on grid gap; prevents accidental stacking margins */
}

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

.card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  transition: border-color 0.18s ease;
}

.card:hover {
  border-color: rgba(var(--secondary-rgb), 0.28);
}

.card-media {
  height: 190px;
  background: rgba(var(--primary-rgb), 0.08);
  position: relative;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-media-badges {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  gap: 8px;
}

.media-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 10px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border);
  color: var(--ink);
  font-weight: 900;
  font-size: 0.9rem;
}

.card-body {
  padding: 14px 14px 16px;
}

.card-title {
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
}

.card-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  color: rgba(var(--text-rgb), 0.70);
  font-size: 0.95rem;
}

.card-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-top: 10px;
}

.price {
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.price-from {
  font-size: 0.75em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: rgba(var(--text-rgb), 0.7);
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: var(--radius);
  background: rgba(var(--primary-rgb), 0.10);
  color: rgba(var(--text-rgb), 0.92);
  border: 1px solid rgba(var(--primary-rgb), 0.20);
  font-weight: 800;
  font-size: 0.9rem;
}

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

.feature {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  padding: 16px;
}

.feature h3 {
  margin: 0 0 6px;
}

.feature p {
  margin: 0;
  color: var(--muted);
}

.partner {
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  padding: 14px;
  text-align: center;
  font-weight: 800;
  letter-spacing: -0.01em;
  display: grid;
  place-items: center;
  min-height: 64px;
}

.partner-logo {
  height: 44px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.partner-wordmark {
  font-family: var(--font-sans);
  font-weight: 900;
  letter-spacing: -0.01em;
  font-size: 1.05rem;
  color: var(--accent);
  line-height: 1.05;
  white-space: normal;
  text-align: center;
}

.partner-wordmark-sub {
  font-weight: 800;
  font-size: 0.92em;
  letter-spacing: -0.01em;
}

/* Partners carousel */
.partners-carousel {
  overflow: hidden;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
}

.partners-carousel .partner-logo {
  filter: var(--logo-filter-accent);
}

.partners-track {
  display: flex;
  gap: 12px;
  padding: 14px;
  width: max-content;
  animation: partners-marquee 22s linear infinite;
}

.partners-carousel:hover .partners-track {
  animation-play-state: paused;
}

@keyframes partners-marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .partners-track {
    animation: none;
    flex-wrap: wrap;
    width: auto;
  }
}

.split {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 18px;
  align-items: start;
}

.split-40-60 {
  grid-template-columns: 2fr 3fr;
}

/* About page: 50/50 split — left: about text, right: how we came about */
.about-page-split {
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.about-page-split__left p,
.about-page-split__right p {
  margin: 0 0 1em;
}
.about-page-split__left p:last-child,
.about-page-split__right p:last-of-type {
  margin-bottom: 0;
}
.about-page-split__right h2 {
  margin: 18px 0 8px;
  letter-spacing: -0.02em;
}
.about-page-split__right h2:first-child {
  margin-top: 0;
}
.about-page-split__left > *:first-child,
.about-page-split__right > *:first-child {
  margin-top: 0;
}

.about-page-split__callout {
  grid-column: 1 / -1;
}

.about-page-split__callout .bullets {
  column-count: 2;
  column-gap: 32px;
}

/* Contact page: let the form fill the right column */
.split-40-60 > .form {
  width: 100%;
  max-width: none;
  margin: 0;
}

/* Homepage About us: image left 40%, text right 60% */
.split-about {
  grid-template-columns: 2fr 3fr;
  gap: 32px;
  align-items: start;
}
.split-about__image {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  height: 340px;
}
.split-about__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  vertical-align: middle;
}
.split-about__text p {
  margin: 0 0 1em;
}
.split-about__text p:last-of-type {
  margin-bottom: 0;
}

/* Affiliate section: full-width, left-aligned */
.section-affiliates__text p {
  margin: 0 0 1em;
}
.section-affiliates__text p:last-of-type {
  margin-bottom: 0;
}
.section-affiliates__cta {
  margin-top: 1.5em;
  margin-bottom: 0;
}

.panel {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  padding: 18px;
}

.page-hero {
  padding: 38px 0 34px;
  background: var(--bg-muted);
  border-bottom: 1px solid var(--border);
}

/* First section after page-hero: same 45px top as others */
.page-hero + .section {
  padding-top: 45px;
}

.page-hero h1 {
  margin: 10px 0 2px;
  letter-spacing: -0.03em;
  line-height: 30px;
}

.page-hero .lead {
  margin-top: 4px;
}

.page-hero-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.hero-actions {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  padding: 14px;
}

.step-num {
  width: 38px;
  height: 38px;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  font-weight: 900;
  color: var(--accent);
  border: 1px solid var(--border);
  background: rgba(var(--primary-rgb), 0.10);
  flex: 0 0 auto;
}

.step h3 {
  margin: 0 0 4px;
}

.cta-row {
  margin-top: 30px;
}

/* Investment & Service Fees (landlord page) */
.fee-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
}

.fee-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
}

.fee-card-title {
  font-size: 1.125rem;
  font-weight: 750;
  color: var(--text);
  margin: 0 0 8px;
}

.fee-card-amount {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 4px;
}

.fee-card-subtitle {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-bottom: 16px;
}

.fee-card-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(var(--text-rgb), 0.85);
}

.fee-card-list li {
  padding: 6px 0;
  padding-left: 16px;
  position: relative;
}

.fee-card-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.fee-card-optional {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 12px;
}

.fee-footer {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(var(--secondary-rgb), 0.1);
  font-size: 0.9125rem;
  color: var(--muted);
}

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

.filter-bar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: end;
  margin-bottom: 16px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  padding: 10px 12px;
  border-radius: var(--radius);
  border: 1px solid rgba(var(--secondary-rgb), 0.12);
  background: rgba(255, 255, 255, 0.92);
  font-weight: 700;
  color: rgba(var(--text-rgb), 0.84);
  font-size: 0.95rem;
}

.amenities-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px 16px;
}

.amenities-list .amenity-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: var(--text);
}

.amenities-list .amenity-item i {
  font-size: 1.1rem;
  color: var(--gold);
  width: 1.25em;
  text-align: center;
  flex-shrink: 0;
}

.property-layout {
  display: grid;
  grid-template-columns: 7fr 3fr;
  gap: 18px;
  align-items: start;
}

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

.gallery-main {
  position: relative;
}

.gallery-badges {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  gap: 8px;
}

.gallery-main img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}

.thumb {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(var(--secondary-rgb), 0.12);
  cursor: pointer;
  opacity: 0.86;
}

.thumb.is-active {
  opacity: 1;
  border-color: rgba(var(--gold-rgb), 0.75);
}

.thumb img {
  width: 100%;
  height: 60px;
  object-fit: cover;
}

.booking-card {
  position: sticky;
  top: 90px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  padding: 16px;
}

aside.booking-card {
  top: 105px;
}

.booking-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(var(--secondary-rgb), 0.08);
  margin-bottom: 12px;
}

.property-specs {
  margin: 4px 0 0;
  font-size: 0.95rem;
}

.property-specs-body {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin: 16px 0 0;
  padding: 14px 16px;
  background: rgba(var(--gold-rgb), 0.08);
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
}

.property-specs-body .property-spec-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.property-specs-body .property-spec-item i {
  font-size: 1.1rem;
  color: var(--gold);
  width: 1.25em;
  text-align: center;
}

/* Dividing lines between property sections (check-in, amenities, nearby) */
.property-block {
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  margin-top: 1.5rem;
}

.property-times-row {
  margin: 0.5rem 0 0;
  font-size: 1rem;
}

.property-times-sep {
  display: inline-block;
  width: 1px;
  height: 1em;
  margin: 0 1rem;
  background: var(--border);
  vertical-align: middle;
}

.nearby-list {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem 2rem;
}

.nearby-list .nearby-item {
  /* padding: 6px 0; */
  padding-left: 1.5rem;
  position: relative;
  font-size: 1rem;
}

.nearby-list .nearby-item::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: bold;
}

.booking-fields {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
}

.calendar {
  border-radius: var(--radius);
  border: 1px solid rgba(var(--secondary-rgb), 0.12);
  background: rgba(239, 246, 247, 0.7);
  padding: 12px;
}

.calendar-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

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

.day {
  padding: 8px 0;
  text-align: center;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(var(--secondary-rgb), 0.06);
  font-weight: 700;
  color: rgba(var(--text-rgb), 0.85);
  font-size: 0.92rem;
}

.day.is-muted {
  opacity: 0.5;
}

.day.is-booked {
  background: rgba(var(--secondary-rgb), 0.12);
  color: rgba(var(--text-rgb), 0.55);
  text-decoration: line-through;
}

.faq-groups {
  display: grid;
  gap: 18px;
}

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

.faq-nav {
  position: sticky;
  top: calc(var(--header-h) + 18px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  padding: 14px;
}

aside.faq-nav {
  top: 105px;
}

.faq-nav-title {
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.faq-nav-links {
  display: grid;
  gap: 6px;
}

.faq-nav-links a {
  display: block;
  padding: 6px 0;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
}

.faq-nav-links a:hover {
  color: var(--text);
}

.faq-nav-links a.is-active {
  color: var(--primary);
  font-weight: 700;
}

.faq-group {
  scroll-margin-top: var(--header-h);
}

.faq-group {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  padding: 16px;
}

.faq-group h2 {
  margin: 0 0 8px;
  font-size: 1.25rem;
}

.faq-item {
  border-top: 1px solid rgba(var(--secondary-rgb), 0.08);
  padding-top: 10px;
  margin-top: 10px;
}

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

.faq-q {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  background: transparent;
  border: 0;
  padding: 10px 0;
  cursor: pointer;
  text-align: left;
  font-weight: 900;
  color: rgba(var(--text-rgb), 0.92);
}

.faq-q-text {
  flex: 1 1 auto;
  margin-top: 5px;
  font-size: medium;
}

.faq-q-icon {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: var(--radius);
  border: 1px solid rgba(var(--secondary-rgb), 0.12);
  background: rgba(var(--primary-rgb), 0.08);
  position: relative;
  margin-top: 1px;
}

.faq-q-icon::before,
.faq-q-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 2px;
  background: rgba(var(--secondary-rgb), 0.70);
  transform: translate(-50%, -50%);
  border-radius: 2px;
}

.faq-q-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform 0.16s ease;
}

.faq-item.is-open .faq-q-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-a {
  display: none;
  padding: 0 0 10px;
  line-height: 1.7;
}

.faq-item.is-open .faq-a {
  display: block;
}

.prose h2 {
  margin: 8px 0 8px;
  letter-spacing: -0.02em;
}

.callout {
  margin-top: 18px;
  margin-bottom: 18px;
  border-radius: var(--radius);
  background: rgba(var(--gold-rgb), 0.10);
  border: 1px solid rgba(var(--gold-rgb), 0.22);
  padding: 14px;
}

/* Basic honeypot field hiding */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
}

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

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 47, 43, 0.42);
  backdrop-filter: blur(6px);
}

.modal-dialog {
  position: relative;
  width: min(920px, 100%);
  max-height: min(88vh, 780px);
  overflow: auto;
  border-radius: calc(var(--radius) + 2px);
  border: 1px solid var(--border);
  background: #fff;
  padding: 18px;
}

.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.modal-head h2 {
  margin: 0 0 6px;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

.modal-close.btn {
  margin-top: 0;
}

body.is-modal-open {
  overflow: hidden;
}

.bullets {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.link-muted {
  color: rgba(var(--text-rgb), 0.75);
}

.link-primary {
  color: var(--primary);
}

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

.site-footer {
  margin-top: 15px;
  background: #fff;
  color: var(--text);
}

.site-footer a {
  color: rgba(var(--text-rgb), 0.7);
}

.site-footer a:hover {
  color: rgba(var(--text-rgb), 0.92);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr 1.2fr;
  gap: 46px;
  /* Keep footer content aligned with header/container edges */
  padding: 54px 20px;
  align-items: start;
}

.footer-brand .brand-mark {
  width: 102px;
  height: 70px;
  position: relative;
  left: 12px;
  box-shadow: none;
}

.footer-intro {
  margin-top: 14px;
  color: rgba(var(--text-rgb), 0.6);
  line-height: 1.8;
  max-width: 44ch;
}

.footer-social {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  margin-top: 25px;
}

.footer-social a {
  display: inline-block;
  color: rgba(var(--text-rgb), 0.6);
  transition: color 0.2s ease;
}

.footer-social a:hover {
  color: rgba(var(--text-rgb), 0.9);
}

.footer-social img {
  display: block;
  width: 24px;
  height: 24px;
}

.footer-col h4 {
  margin: 0 0 14px;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(var(--text-rgb), 0.55);
  font-weight: 800;
}

.footer-col a {
  display: block;
  padding: 7px 0;
  font-size: 0.98rem;
  color: var(--ink-muted);
}

.footer-col a:hover {
  color: rgba(var(--text-rgb), 0.92);
}

.footer-bottom {
  border-top: 1px solid rgba(16, 10, 85, 0.08);
  padding: 18px 0;
  color: rgba(var(--text-rgb), 0.55);
}

@media (max-width: 980px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps--landlord {
    grid-template-columns: repeat(2, 1fr);
  }
  .landlord-audience {
    grid-template-columns: 1fr;
  }
  .landlord-hero__split {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .landlord-hero--side-by-side {
    padding-top: 48px;
    padding-bottom: 56px;
  }
  .partners {
    grid-template-columns: repeat(2, 1fr);
  }
  .split {
    grid-template-columns: 1fr;
  }
  .property-layout {
    grid-template-columns: 1fr;
  }
  .booking-card {
    position: static;
  }
  .gallery-thumbs {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: inline-block;
  }
  .site-nav {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 72px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(var(--secondary-rgb), 0.12);
    border-radius: var(--radius);
    padding: 10px;
    display: grid;
    gap: 6px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.16s ease, transform 0.16s ease;
    box-shadow: var(--shadow-md);
  }
  .site-nav .nav-cta {
    margin-left: 0;
  }
  .site-nav.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav-link {
    justify-content: center;
    text-align: center;
  }
  .search-grid {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 36px 20px;
  }
  .page-hero-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .steps,
  .steps--landlord {
    grid-template-columns: 1fr;
  }

  .hero--landlord {
    min-height: 32vh;
    padding: 40px 0 48px;
  }

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

  .faq-nav {
    position: static;
  }

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

  .nearby-list {
    grid-template-columns: 1fr;
  }
}
