:root {
  /* Wellness-inspired: deep forest + mint (reference: clean healthcare UI) */
  --forest: #1b4332;
  --forest-hover: #2d6a4f;
  --mint: #52b788;
  --mint-soft: rgba(82, 183, 136, 0.14);

  --primary: var(--forest);
  --primary-hover: var(--forest-hover);
  --secondary: #14362a;
  --gold: var(--forest);
  --gold-hover: var(--forest-hover);

  /* RGB helpers for alpha tints */
  --primary-rgb: 27, 67, 50;
  --secondary-rgb: 20, 54, 42;
  --gold-rgb: 27, 67, 50;
  --text-rgb: 30, 41, 39;
  --ink: rgba(var(--text-rgb), 0.92);
  --ink-muted: rgba(var(--text-rgb), 0.62);

  /* App tokens */
  --accent: var(--primary);
  --accent-600: var(--primary-hover);
  --text: rgba(var(--text-rgb), 1);
  --muted: rgba(var(--text-rgb), 0.58);
  --bg: #ffffff;
  --bg-muted: #f4f8f6;
  --border: rgba(27, 67, 50, 0.12);
  --shadow-sm: 0 1px 2px rgba(27, 67, 50, 0.05);
  --shadow-md: 0 8px 24px rgba(27, 67, 50, 0.08);
  --ring: 0 0 0 3px var(--mint-soft);

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

  /* Layout */
  --radius: 10px;
  --radius-pill: 999px;
  --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;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

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 clamp(14px, 4vw, 20px);
}

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

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

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

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

.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: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(27, 67, 50, 0.08);
  box-shadow: 0 1px 0 rgba(27, 67, 50, 0.04);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.99);
  box-shadow: var(--shadow-sm);
}

.site-header,
.site-header .brand {
  color: var(--text);
}

.site-header .nav-link {
  color: rgba(var(--text-rgb), 0.78);
}

.site-header .nav-link:hover,
.site-header .nav-link.is-active {
  color: var(--forest);
  text-decoration: none;
}

.site-header .nav-link.is-active {
  font-weight: 700;
}

.site-header .nav-toggle {
  color: var(--forest);
}

.site-header .nav-toggle span {
  background: var(--forest);
}

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

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: var(--header-h);
  padding: 15px 20px;
}

/* All nav links aligned to the right of the header */
.site-header__drawer {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-width: 0;
}

.site-nav--main {
  justify-content: flex-end;
}

.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/Housing_BlackTransparent.svg") center / contain no-repeat;
  position: relative;
  left: -34px;
  top: -1px;
  transform: scale(1.9);
  transform-origin: left center;
  -ms-transform: scale(1.9);
  -moz-transform: scale(1.9);
  -webkit-transform: scale(1.9);
  -o-transform: scale(1.9);
}

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


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

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

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

/* Header nav: same link treatment (no button pills) */
.site-header .site-nav .nav-link:hover,
.site-header .site-nav .nav-link.is-active {
  color: var(--forest);
  text-decoration: none;
}

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

.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;
}

/* Homepage hero: card-style location search (GET → accommodation.php) */
.home-hero-search {
  width: 100%;
  max-width: 42rem;
  margin: 20px auto 0;
  text-align: left;
}

.home-hero-search__card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 22px 22px 18px;
}

.home-hero-search__form {
  margin: 0;
}

.home-hero-search__row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 14px 16px;
}

.home-hero-search__field {
  flex: 1 1 220px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.home-hero-search__label {
  display: block;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: -0.01em;
  color: rgba(var(--text-rgb), 0.88);
}

.home-hero-search__select.field-input {
  width: 100%;
  min-height: 44px;
  padding: 10px 36px 10px 12px;
  font-size: 0.9375rem;
  border: 1px solid rgba(var(--secondary-rgb), 0.2);
  border-radius: var(--radius);
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%234a5d52' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  appearance: none;
}

.home-hero-search__submit-wrap {
  flex: 0 0 auto;
}

.home-hero-search__btn.btn-primary {
  min-width: 7.5rem;
  min-height: 44px;
  padding-left: 22px;
  padding-right: 22px;
  font-weight: 700;
}

.home-hero-search__tip {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(var(--secondary-rgb), 0.1);
  font-size: 0.8125rem;
  line-height: 1.45;
  color: rgba(var(--text-rgb), 0.52);
  text-align: center;
}

@media (max-width: 520px) {
  .home-hero-search__submit-wrap {
    width: 100%;
  }
  .home-hero-search__btn.btn-primary {
    width: 100%;
  }
}

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

/* Social housing partnerships 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;
}

/* Social housing hero: 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;
  aspect-ratio: 4 / 3;
  max-height: min(340px, 50vh);
  object-fit: cover;
  object-position: center;
}

.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;
  overflow-wrap: break-word;
}

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

/* 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 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  font-size: 1rem;
  font-family: inherit;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

/* 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 {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: #fff;
  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='%231B4332' 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-pill);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--ink);
  font-weight: 700;
  padding: 12px 22px;
  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, box-shadow 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,
.property-enquiry-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: transparent;
  background: var(--forest);
  color: #fff;
  box-shadow: 0 2px 8px rgba(27, 67, 50, 0.2);
}

.btn-primary:hover {
  background: var(--forest-hover);
  border-color: transparent;
}

.btn-secondary:hover {
  border-color: var(--forest);
  background: var(--mint-soft);
  color: var(--forest);
}

.btn-secondary {
  border-color: rgba(var(--gold-rgb), 0.25);
  background: #fff;
  color: var(--forest);
}

.btn-ghost {
  border-color: transparent;
  background: var(--mint-soft);
  color: var(--forest);
}

.btn-block {
  width: 100%;
}

.section {
  padding: 45px 0;
}

.section-about,
.section-featured,
.section--muted,
.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: e.g. Aalay Housing, Safe homes, Partners carousel */
.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: clamp(1.45rem, 4vw, 2rem);
  line-height: 1.2;
}

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

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

/* Social housing 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;
}

/* Social housing 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;
}

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

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

.contact-side-panel__title {
  margin: 0 0 10px;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
}

/* Social housing benefits grid: 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, box-shadow 0.18s ease;
  box-shadow: var(--shadow-sm);
}

.card:hover {
  border-color: rgba(27, 67, 50, 0.18);
  box-shadow: var(--shadow-md);
}

.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-pill);
  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-weekly-rate {
  font-weight: 700;
  color: rgba(var(--text-rgb), 0.82);
}

.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: 18px 16px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.feature:hover {
  border-color: rgba(27, 67, 50, 0.15);
  box-shadow: var(--shadow-md);
}

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

.feature--head-icon .feature__title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 8px;
}

.feature--head-icon .feature__icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 10px;
  background: rgba(27, 67, 50, 0.1);
  color: var(--forest);
  font-size: 1.05rem;
}

.feature--head-icon .feature__title-text {
  flex: 1;
  min-width: 0;
  line-height: 1.3;
}

.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);
  width: 100%;
  min-height: 0;
  align-self: start;
}
.split-about__image img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 10;
  max-height: min(360px, 56vh);
  object-fit: cover;
  object-position: center;
}
.split-about__text {
  min-width: 0;
  overflow-wrap: break-word;
}
.split-about__text p {
  margin: 0 0 1em;
}
.split-about__text p:last-of-type {
  margin-bottom: 0;
}

/*
 * About page only (`body.about-page`) — “Safe” section `#about-safe`:
 * prose first in DOM; desktop = text left / image right; small screens = image then text.
 */
.about-page .split-about.split-about--flip {
  grid-template-columns: 3fr 2fr;
  grid-template-areas: "text image";
}
.about-page .split-about.split-about--flip .split-about__text {
  grid-area: text;
}
.about-page .split-about.split-about--flip .split-about__image {
  grid-area: image;
}

@media (max-width: 980px) {
  .about-page .split-about.split-about--flip {
    grid-template-columns: 1fr;
    grid-template-areas:
      "image"
      "text";
  }

  .landlord-hero__split .landlord-hero__image {
    order: 0;
  }
  .landlord-hero__split .landlord-hero__content {
    order: 1;
  }
}

/* About story: spacing between image splits and callout */
.about-story__split {
  margin-top: 8px;
}
.about-story__split + .about-story__callout {
  margin-top: 28px;
}
.about-story__callout + .about-story__split {
  margin-top: 28px;
}

.about-story__callout-title {
  margin: 0 0 10px;
  font-weight: 700;
  color: var(--secondary);
}
.about-story__callout-intro {
  margin: 0 0 14px;
  font-size: 0.975rem;
  line-height: 1.55;
  color: var(--muted);
}
.about-story__callout-bullets {
  margin: 0;
}
.about-story__callout-foot {
  margin: 1.25em 0 0;
}

.callout.about-story__callout {
  padding: clamp(16px, 3.5vw, 22px);
  overflow-wrap: break-word;
}

.about-story__callout-bullets li {
  padding-right: 2px;
}

.panel {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
}

.page-hero {
  padding: 42px 0 36px;
  background: linear-gradient(180deg, var(--bg-muted) 0%, #fff 100%);
  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;
  font-size: clamp(1.5rem, 4.5vw, 2.25rem);
  line-height: 1.2;
  overflow-wrap: break-word;
}

.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 (social housing partnerships 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 {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  max-height: min(420px, 75vh);
  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,
.property-enquiry-card {
  position: sticky;
  top: 90px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.property-aside-requirements__title {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: rgba(var(--text-rgb), 0.92);
}

.property-aside-requirements__body {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(var(--text-rgb), 0.78);
  white-space: pre-wrap;
}

aside.booking-card,
aside.property-enquiry-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-description-text {
  margin: 0.35rem 0 0;
  line-height: 1.65;
  color: rgba(var(--text-rgb), 0.88);
}

.property-description-text p {
  margin: 0 0 1em;
}

.property-description-text p:last-child {
  margin-bottom: 0;
}

.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 page — hero matches landlord/contact; content uses panel-style cards */
.faq-page__section .section-head {
  margin-bottom: 28px;
}

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

.faq-layout {
  display: grid;
  grid-template-columns: minmax(200px, 248px) minmax(0, 1fr);
  gap: 28px 32px;
  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: 18px 16px;
  box-shadow: var(--shadow-sm);
}

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

.faq-nav-title {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(var(--text-rgb), 0.55);
  margin: 0 0 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

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

.faq-nav-links a {
  display: block;
  padding: 8px 10px;
  margin-left: -6px;
  margin-right: -6px;
  border-radius: calc(var(--radius) - 2px);
  color: var(--muted);
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.4;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.faq-nav-links a:hover {
  color: var(--text);
  background: rgba(var(--primary-rgb), 0.06);
}

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

.faq-group {
  scroll-margin-top: var(--header-h);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  padding: 20px 20px 16px;
  box-shadow: var(--shadow-sm);
}

.faq-group h2 {
  margin: 0 0 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  font-size: clamp(1.0625rem, 2.2vw, 1.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: rgba(var(--text-rgb), 0.94);
}

.faq-item + .faq-item {
  border-top: 1px solid rgba(var(--secondary-rgb), 0.1);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  background: transparent;
  border: 0;
  padding: 14px 0 16px;
  cursor: pointer;
  text-align: left;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: rgba(var(--text-rgb), 0.92);
  font-family: inherit;
}

.faq-item:first-of-type .faq-q {
  padding-top: 2px;
}

.faq-q-text {
  flex: 1 1 auto;
  min-width: 0;
}

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

.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.72);
  transform: translate(-50%, -50%);
  border-radius: 2px;
}

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

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

.faq-item.is-open .faq-q {
  color: var(--primary);
}

.faq-a {
  display: none;
  padding: 0 0 16px 0;
  line-height: 1.65;
}

.faq-a.prose p {
  margin: 0 0 0.85em;
  font-size: 0.975rem;
  color: rgba(var(--text-rgb), 0.82);
}

.faq-a.prose p:last-child {
  margin-bottom: 0;
}

.faq-a.prose a {
  font-weight: 600;
}

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

.faq-empty {
  max-width: 32rem;
}

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

.callout {
  margin-top: 18px;
  margin-bottom: 18px;
  border-radius: var(--radius);
  background: var(--mint-soft);
  border: 1px solid rgba(82, 183, 136, 0.25);
  padding: 16px;
}

/* 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(27, 67, 50, 0.45);
  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: 24px; */
  background: var(--forest);
  color: rgba(255, 255, 255, 0.9);
}

.site-footer a {
  color: rgba(255, 255, 255, 0.75);
}

.site-footer a:hover {
  color: #fff;
}

.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: -34px;
  box-shadow: none;
  background: url("../images/Housing_WhiteTransparent.svg") center / contain no-repeat;
  top: -5px;
}

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

.footer-affiliations {
  list-style: none;
  margin: 22px 0 0;
  padding: 15px 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px 28px;
}

.footer-affiliations li {
  margin: 0;
  padding: 0;
}

.footer-affiliation {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

.footer-affiliation:hover {
  opacity: 1;
}

.footer-affiliation:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.85);
  outline-offset: 4px;
}

.footer-affiliation img {
  display: block;
  height: 36px;
  width: auto;
  max-width: min(200px, 42vw);
  object-fit: contain;
}

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

.footer-social a {
  display: inline-block;
  color: rgba(255, 255, 255, 0.65);
  transition: opacity 0.2s ease;
  opacity: 0.9;
}

.footer-social a:hover {
  opacity: 1;
  color: #fff;
}

.footer-social img {
  display: block;
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
}

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

.footer-col a {
  display: block;
  padding: 7px 0;
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.75);
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px 0;
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
    padding: 44px clamp(14px, 4vw, 20px);
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@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,
  .property-enquiry-card {
    position: static;
  }
  .gallery-thumbs {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: inline-block;
  }

  .site-header__inner {
    flex-wrap: wrap;
    row-gap: 0;
    justify-content: space-between;
    align-items: center;
  }

  .site-header__inner .brand {
    order: 1;
  }

  .site-header__inner .nav-toggle {
    order: 2;
  }

  .site-header__drawer {
    order: 3;
    flex: 1 1 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    position: fixed;
    left: 16px;
    right: 16px;
    top: 72px;
    z-index: 999;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(var(--secondary-rgb), 0.12);
    border-radius: var(--radius);
    padding: 12px;
    box-shadow: var(--shadow-md);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.16s ease, transform 0.16s ease;
  }

  .site-header__drawer.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .site-nav--main {
    flex-direction: column;
    width: 100%;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
    padding: 4px 0;
  }

  .site-nav--main .nav-link {
    justify-content: center;
    text-align: center;
    padding: 10px 8px;
  }

  .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;
  }

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

  .page-hero-row .btn {
    width: 100%;
    text-align: center;
  }

  .brand-mark {
    transform: scale(1.45);
    left: 8px;
  }

  .landlord-cta__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .landlord-cta__actions .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .amenities-list {
    grid-template-columns: 1fr;
  }

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

  .brand-mark {
    transform: scale(1.2);
    left: 2px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .about-page-split__callout .bullets {
    column-count: 1;
  }

  .filter-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-bar .field {
    width: 100%;
  }

  .filter-bar .btn {
    width: 100%;
  }
}
