/* ==========================================================================
   SMB Real Estate Brokers — DAMAC Islands 2 Landing Page
   Premium Polish Specification Implementation
   ========================================================================== */

/* ---------- Fonts ---------- */
@font-face {
  font-family: "Manrope";
  src: url("../fonts/Manrope-VariableFont_wght.ttf") format("truetype-variations");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

/* ---------- Design tokens ---------- */
:root {
  /* Brand palette */
  --navy: #0a2342;
  --navy-dark: #071a31;
  --navy-soft: rgba(10, 35, 66, 0.04);
  --gold: #f9ba3f;
  --gold-dark: #e8a931;
  --white: #ffffff;
  
  /* Neutral Backgrounds */
  --bg-page: #fcfcfc; /* soft warm white */
  --bg-section-alt: #f4f5f7; /* light warm gray */
  --bg-dark: var(--navy);
  
  /* Text Colors */
  --text-main: #334155; /* calmer body text */
  --text-muted: #64748b; 
  --text-heading: var(--navy);
  
  /* Borders */
  --border-light: rgba(10, 35, 66, 0.06);
  --border-dark: rgba(255, 255, 255, 0.12);
  
  /* Radius System */
  --r-sm: 8px;   /* inputs, small elements */
  --r-md: 12px;  /* buttons, small cards */
  --r-lg: 16px;  /* primary cards */
  --r-xl: 24px;  /* major elements, form card */

  /* Shadows */
  --shadow-sm: 0 4px 12px rgba(10, 35, 66, 0.03);
  --shadow-soft: 0 12px 32px rgba(10, 35, 66, 0.05);
  --shadow-lift: 0 20px 48px rgba(10, 35, 66, 0.07);

  /* Type */
  --font-sans: "Manrope", system-ui, -apple-system, sans-serif;

  /* Layout */
  --container: 1240px; /* Slightly tighter for better readability */
  --gutter: 24px;
  --section-pad: 64px; 
  --header-h: 72px;
}

@media (min-width: 768px) {
  :root { --section-pad: 80px; --gutter: 40px; }
}
@media (min-width: 992px) {
  :root { --section-pad: 112px; --header-h: 84px; }
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--text-main);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; transition: color 0.2s ease; }

/* ---------- Typography ---------- */
h1, h2, h3 {
  color: var(--text-heading);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(2rem, 3.5vw, 2.75rem); margin-bottom: 24px; }
h3 { font-size: 1.25rem; }

p { max-width: 65ch; } /* Limit line length for readability */

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
  border-radius: 4px;
}

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

.skip-link {
  position: absolute; top: -60px; left: 24px; z-index: 200;
  padding: 12px 24px; background: var(--navy); color: var(--white);
  border-radius: 0 0 var(--r-md) var(--r-md);
  font-weight: 600; transition: top 0.2s ease;
}
.skip-link:focus-visible { top: 0; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%; max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto; padding-inline: var(--gutter);
}

.section { padding-block: var(--section-pad); }
.section--gray { background: var(--bg-section-alt); }

.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head--light h2 { color: var(--white); }
.section-head__sub { margin-top: 16px; font-size: 1.125rem; color: var(--text-muted); }
.section-head--light .section-head__sub { color: rgba(255, 255, 255, 0.75); }

/* Eyebrows */
.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 16px;
  position: relative;
  padding-left: 36px;
}
.eyebrow::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 20px; height: 1.5px;
  background: var(--gold);
  border-radius: 1px;
}
.eyebrow--light { color: rgba(255, 255, 255, 0.9); }
.eyebrow--gold { color: var(--gold); }

/* ---------- Icons ---------- */
.icon {
  width: 24px; height: 24px;
  fill: none; stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
}
.icon--sm { width: 18px; height: 18px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border: 1px solid transparent; border-radius: var(--r-md);
  font-family: inherit; font-size: 0.9375rem; font-weight: 700; line-height: 1.4;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease,
              color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--navy); color: var(--white); }
.btn--primary:hover { background: var(--navy-dark); box-shadow: var(--shadow-sm); }

.btn--secondary { background: transparent; border-color: var(--border-light); color: var(--navy); }
.btn--secondary:hover { background: var(--navy-soft); border-color: transparent; }

.btn--accent { background: var(--gold); color: var(--navy-dark); }
.btn--accent:hover { background: var(--gold-dark); box-shadow: var(--shadow-sm); }

.btn--ghost {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn--sm { padding: 10px 20px; font-size: 0.875rem; }
.btn--lg { padding: 14px 28px; font-size: 1rem; }
.btn--block { width: 100%; }

/* ---------- Header (global, shared by every page) ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.header.is-scrolled {
  background: var(--navy);
  border-bottom-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 8px 24px rgba(10, 35, 66, 0.15);
}

.header__inner {
  height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}

.header__logo img { height: 40px; width: auto; }

.header__actions { display: flex; align-items: center; gap: 16px; }

.header__phone {
  display: none; align-items: center; gap: 8px;
  color: rgba(255, 255, 255, 0.9); font-weight: 600; font-size: 0.9375rem;
}
.header__phone:hover { color: var(--gold); }
.header__phone .icon { width: 18px; height: 18px; }

.header__burger {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 10px; background: transparent; border: 0; cursor: pointer;
}
.header__burger span {
  display: block; height: 2px; width: 100%; background: var(--white);
  border-radius: 2px; transition: transform 0.25s ease, opacity 0.25s ease;
}
.header__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.header__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Overlay behind the mobile panel */
.header__overlay {
  position: fixed; inset: 0; z-index: 1;
  background: rgba(7, 26, 49, 0.55);
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
}
.header__overlay.is-visible { opacity: 1; visibility: visible; }

/* Lock page scroll while the mobile panel is open */
body.nav-locked { overflow: hidden; }

@media (max-width: 991.98px) {
  /* Mobile navigation: side panel sliding in from the right */
  .header__nav {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 2;
    display: flex; flex-direction: column;
    width: min(320px, 86vw);
    background: var(--navy);
    padding: 84px 28px 32px;
    overflow-y: auto;
    box-shadow: -16px 0 48px rgba(7, 26, 49, 0.35);
    transform: translateX(100%); visibility: hidden;
    transition: transform 0.3s ease, visibility 0.3s;
  }
  .header__nav.is-open { transform: none; visibility: visible; }

  .header__nav ul li a {
    display: block; padding: 14px 4px; color: rgba(255, 255, 255, 0.9);
    font-weight: 600; font-size: 1.0625rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
  .header__nav ul li a:hover { color: var(--gold); }
  .header__nav ul li a[aria-current="page"] { color: var(--gold); }

  .header__nav-extra {
    display: flex; flex-direction: column; align-items: flex-start;
    gap: 20px; padding-top: 28px;
  }
  .header__nav-extra .header__phone { display: inline-flex; }

  .header__close {
    position: absolute; top: 18px; right: 20px;
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(255, 255, 255, 0.08); border: 0; cursor: pointer;
    color: var(--white);
    transition: background-color 0.2s ease;
  }
  .header__close:hover { background: rgba(255, 255, 255, 0.16); }
  .header__close .icon { width: 20px; height: 20px; }
}

@media (min-width: 480px) {
  .header__actions .header__phone { display: inline-flex; }
}

@media (min-width: 992px) {
  .header__overlay { display: none; }
  .header__close { display: none; }

  .header__nav { display: flex; align-items: center; gap: 12px; }
  .header__nav ul { display: flex; align-items: center; gap: 4px; }
  .header__nav ul li a {
    display: inline-block; position: relative; padding: 8px 14px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600; font-size: 0.9375rem; border-radius: var(--r-sm);
  }
  .header__nav ul li a:hover { color: var(--white); background: rgba(255, 255, 255, 0.1); }
  .header__nav ul li a[aria-current="page"] { color: var(--white); }
  .header__nav ul li a[aria-current="page"]::after {
    content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px;
    height: 2px; border-radius: 1px; background: var(--gold);
  }
  .header__nav-extra { display: none; }
  .header__burger { display: none; }
}

/* Keep the phone number out of the bar at narrower desktop widths */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .header__actions .header__phone { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; display: flex; align-items: center;
  min-height: 680px; padding-top: calc(var(--header-h) + 40px); padding-bottom: 64px;
  overflow: hidden;
}

.hero__bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}

.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 26, 49, 0.45) 0%, rgba(7, 26, 49, 0.2) 40%, rgba(7, 26, 49, 0.65) 100%),
    linear-gradient(90deg, rgba(7, 26, 49, 0.85) 0%, rgba(7, 26, 49, 0.45) 50%, rgba(7, 26, 49, 0.1) 100%);
}

.hero__inner { position: relative; z-index: 1; display: grid; gap: 56px; }

.hero__content { color: var(--white); max-width: 620px; }

.hero h1 { color: var(--white); margin-bottom: 12px; }

.hero__headline {
  font-size: clamp(1.125rem, 2vw, 1.375rem); font-weight: 600;
  color: var(--gold); letter-spacing: 0.01em; margin-bottom: 20px;
}

.hero__description {
  color: rgba(255, 255, 255, 0.9); max-width: 50ch; margin-bottom: 32px; font-size: 1.0625rem;
}

.hero__cta { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 40px; }

.hero__badges { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.hero__badges li {
  position: relative; padding-left: 20px; font-size: 0.875rem;
  font-weight: 500; color: rgba(255, 255, 255, 0.8);
}
.hero__badges li::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 8px; height: 1.5px; background: var(--gold); border-radius: 1px;
}

/* Floating lead card */
.hero__card {
  background: var(--white); border-radius: var(--r-xl);
  box-shadow: var(--shadow-lift); border: 1px solid var(--border-light);
  padding: 40px 32px; width: 100%; max-width: 420px;
}

.price-label {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: 4px;
}

.price {
  font-size: 2.5rem; font-weight: 800; color: var(--navy);
  line-height: 1; letter-spacing: -0.02em;
}
.price__note { color: var(--gold); font-size: 1.5rem; vertical-align: super; }

.price-footnote { font-size: 0.8125rem; color: var(--text-muted); margin: 8px 0 24px; }

/* ---------- Forms ---------- */
.lead-form { display: grid; gap: 20px; }

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

.field label { font-size: 0.875rem; font-weight: 600; color: var(--navy); }
.field__optional { font-weight: 500; color: var(--text-muted); font-size: 0.8125rem; }

.field input, .field textarea {
  width: 100%; font-family: inherit; font-size: 1rem; color: var(--ink);
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--r-sm); padding: 14px 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.02);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: #94a3b8; }

.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--navy);
  box-shadow: 0 0 0 3px var(--navy-soft);
}

.field.has-error input, .field.has-error textarea { border-color: #ef4444; }

.field__error {
  font-size: 0.8125rem; font-weight: 500; color: #ef4444; min-height: 0; display: none;
}
.field.has-error .field__error { display: block; }

.lead-form__privacy { font-size: 0.8125rem; text-align: center; color: var(--text-muted); margin-top: -4px; }

.lead-form__success { text-align: center; padding: 32px 16px; }
.lead-form__success-title { font-size: 1.5rem; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.lead-form__success--card { background: var(--white); border-radius: var(--r-xl); box-shadow: var(--shadow-soft); padding: 48px 32px; border: 1px solid var(--border-light); }

.lead-form--card {
  background: var(--white); border-radius: var(--r-xl);
  box-shadow: var(--shadow-soft); padding: 40px 32px; border: 1px solid var(--border-light);
}

/* ---------- Island districts strip ---------- */
.districts {
  background: var(--navy); padding-block: 40px; text-align: center;
}

.districts__intro {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 24px;
}

.districts__list {
  display: flex; flex-wrap: wrap; justify-content: center; column-gap: 20px; row-gap: 12px;
}

.districts__list li {
  font-size: 0.875rem; font-weight: 600; letter-spacing: 0.15em;
  text-transform: uppercase; color: rgba(255, 255, 255, 0.6);
  display: flex; align-items: center; gap: 20px;
}
.districts__list li + li::before {
  content: ""; width: 4px; height: 4px; border-radius: 50%; background: rgba(255, 255, 255, 0.2);
}
.districts__list li.is-launching { color: var(--white); font-weight: 700; }

.districts__legend {
  margin-top: 20px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.6); display: inline-flex; align-items: center; gap: 8px; text-transform: uppercase;
}
.districts__dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--white); display: inline-block;
}

/* ---------- Quick facts ---------- */
.facts { padding-block: 48px; border-bottom: 1px solid var(--border-light); }
.facts__row { display: grid; gap: 32px; grid-template-columns: 1fr; }

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

.facts__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%; background: var(--bg-section-alt);
  color: var(--navy); flex-shrink: 0;
}

.facts__value { font-size: 1.25rem; font-weight: 800; color: var(--navy); line-height: 1.2; margin-bottom: 2px; }
.facts__label { font-size: 0.9375rem; color: var(--text-muted); }

@media (min-width: 600px) { .facts__row { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) {
  .facts { padding-block: 64px; }
  .facts__row { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Overview ---------- */
.overview__grid { display: grid; gap: 56px; }

.overview__text h2 { margin-bottom: 24px; }
.overview__text p { margin-bottom: 24px; }
.overview__text .btn { margin-top: 16px; }

.overview__cards { display: grid; gap: 24px; align-content: start; }

.stat-card {
  display: flex; align-items: center; gap: 24px;
  background: var(--white); border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm); border: 1px solid var(--border-light);
  padding: 24px 32px; transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.stat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }

.stat-card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: var(--r-md);
  background: var(--bg-section-alt); color: var(--navy); flex-shrink: 0;
}
.stat-card__icon .icon { width: 24px; height: 24px; }

.stat-card__value { font-size: 1.5rem; font-weight: 800; color: var(--navy); line-height: 1.2; margin-bottom: 4px; }
.stat-card__label { font-size: 0.9375rem; color: var(--text-muted); }

@media (min-width: 992px) {
  .overview__grid { grid-template-columns: 1.1fr 0.9fr; gap: 80px; align-items: center; }
}

/* ---------- Gallery ---------- */
.gallery__grid {
  display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; padding-bottom: 16px; scrollbar-width: none;
}
.gallery__grid::-webkit-scrollbar { display: none; }

.gallery__item {
  flex: 0 0 85%; scroll-snap-align: center; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3;
}
.gallery__item--featured { flex: 0 0 90%; }

.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.gallery__item:hover img { transform: scale(1.02); }

@media (min-width: 768px) {
  .gallery__grid {
    display: grid; grid-template-columns: 7fr 3fr; grid-template-rows: repeat(3, minmax(180px, 240px));
    gap: 24px; overflow: visible; padding-bottom: 0;
  }
  .gallery__item, .gallery__item--featured { flex: initial; aspect-ratio: auto; border-radius: var(--r-xl); }
  .gallery__item--featured { grid-row: 1 / span 3; }
}
@media (min-width: 1200px) { .gallery__grid { grid-template-rows: repeat(3, 260px); gap: 32px; } }

/* ---------- Amenities ---------- */
.amenities__grid { display: grid; gap: 24px; grid-template-columns: 1fr; }

.amenity-card {
  background: var(--white); border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm); border: 1px solid var(--border-light);
  padding: 32px; transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.amenity-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }

.amenity-card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: var(--r-sm);
  background: var(--bg-section-alt); color: var(--navy); margin-bottom: 20px;
}
.amenity-card__icon .icon { width: 24px; height: 24px; }

.amenity-card h3 { margin-bottom: 12px; font-size: 1.125rem; }
.amenity-card p { font-size: 0.9375rem; color: var(--text-muted); }

@media (min-width: 600px) { .amenities__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .amenities__grid { grid-template-columns: repeat(4, 1fr); gap: 32px; } }

/* ---------- Location ---------- */
.location { position: relative; background: var(--bg-dark); overflow: hidden; }

.location__bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.3;
}
.location::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10, 35, 66, 0.95) 0%, rgba(10, 35, 66, 0.6) 100%);
}

.location__inner { position: relative; z-index: 1; }

.location__grid { display: grid; gap: 24px; grid-template-columns: 1fr; }

.place-card {
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border-dark);
  border-radius: var(--r-lg); padding: 32px; backdrop-filter: blur(8px);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
.place-card:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.2); }

.place-card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.1); color: var(--white); margin-bottom: 24px;
}

.place-card h3 { color: var(--white); margin-bottom: 12px; font-size: 1.125rem; }

.place-card__time {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--gold); font-size: 0.9375rem;
}

.location__note { margin-top: 32px; font-size: 0.875rem; color: rgba(255, 255, 255, 0.6); }

@media (min-width: 600px) { .location__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .location__grid { grid-template-columns: repeat(4, 1fr); gap: 32px; } }

/* ---------- Enquire ---------- */
.enquire__grid { display: grid; gap: 56px; }

.enquire__text h2 { margin-bottom: 16px; }
.enquire__sub { max-width: 46ch; margin-bottom: 32px; font-size: 1.0625rem; }

.enquire__buttons { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 40px; }

.enquire__details { display: grid; gap: 16px; }
.enquire__details li { display: flex; align-items: flex-start; gap: 16px; font-size: 1rem; color: var(--text-main); }
.enquire__details .icon { color: var(--navy); margin-top: 2px; width: 20px; height: 20px; }
.enquire__details a { font-weight: 600; color: var(--navy); }
.enquire__details a:hover { color: var(--gold-dark); }

@media (min-width: 992px) {
  .enquire__grid { grid-template-columns: 0.9fr 1.1fr; gap: 80px; align-items: start; }
}

/* ---------- Footer ---------- */
.footer { background: var(--bg-dark); color: rgba(255, 255, 255, 0.7); padding-top: 80px; }

.footer__grid { display: grid; gap: 48px; padding-bottom: 64px; }

.footer__brand img { height: 48px; width: auto; margin-bottom: 24px; }

.footer__tagline {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 16px;
}

.footer__about { font-size: 0.9375rem; max-width: 40ch; line-height: 1.8; }

.footer__col h3 {
  color: var(--white); font-size: 0.875rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; margin-bottom: 24px;
}

.footer__col ul { display: grid; gap: 12px; }
.footer__col li { font-size: 0.9375rem; }
.footer__col a:hover { color: var(--white); }

.footer__bottom {
  display: flex; flex-direction: column; gap: 12px; padding-block: 24px;
  border-top: 1px solid var(--border-dark); font-size: 0.875rem; color: rgba(255, 255, 255, 0.5);
}

.footer__social { display: flex; gap: 12px; margin-top: 24px; }
.footer__social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--border-dark); color: rgba(255, 255, 255, 0.8);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.footer__social a:hover {
  background: rgba(255, 255, 255, 0.1); color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}
.footer__social .icon { width: 18px; height: 18px; }

/* Mobile: centre all footer content */
@media (max-width: 767.98px) {
  .footer { text-align: center; }
  .footer__brand img { margin-inline: auto; }
  .footer__about { margin-inline: auto; }
  .footer__social { justify-content: center; }
  .footer__bottom { align-items: center; text-align: center; }
  .footer__bottom p { margin-inline: auto; }
}

@media (min-width: 768px) {
  .footer__grid { grid-template-columns: 1.4fr 1fr 0.8fr; gap: 64px; }
  .footer__bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* ---------- Sticky CTA ---------- */
.sticky-cta {
  position: fixed; z-index: 90; left: 16px; right: 16px; bottom: 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: var(--navy); color: var(--white); border-radius: var(--r-md); padding: 16px 20px;
  box-shadow: var(--shadow-lift); opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}
.sticky-cta.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }

.sticky-cta__text { display: flex; flex-direction: column; }
.sticky-cta__label {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(255, 255, 255, 0.7); margin-bottom: 2px;
}
.sticky-cta__price { font-size: 1.25rem; font-weight: 800; color: var(--gold); line-height: 1.2; }

.sticky-cta__action {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700;
  font-size: 0.9375rem; color: var(--white); transition: opacity 0.2s ease;
}
.sticky-cta:hover .sticky-cta__action { opacity: 0.8; }

@media (min-width: 768px) {
  .sticky-cta {
    left: auto; right: 32px; bottom: 32px; max-width: 320px;
    padding: 20px 24px; border-radius: var(--r-lg);
  }
}

/* ---------- Scroll reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  html.js [data-reveal] {
    opacity: 0; transform: translateY(16px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  }
  html.js [data-reveal].is-visible { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ---------- Hero layout at breakpoints ---------- */
@media (min-width: 992px) {
  .hero { min-height: min(100vh, 900px); padding-top: calc(var(--header-h) + 64px); }
  .hero__inner { grid-template-columns: minmax(0, 1fr) 420px; align-items: center; gap: 80px; }
  .hero__card { justify-self: end; }
}
