/* ==========================================================================
   RS Estates — Premium Real Estate
   Design System & Global Styles
   ========================================================================== */

:root {
  --navy: #0b2545;
  --navy-deep: #071a32;
  --royal: #1558a6;
  --royal-light: #e8f0fb;
  --gold: #f5be65;
  --gold-dark: #e0a544;
  --white: #ffffff;
  --bg-light: #f5f8fc;
  --body: #526176;
  --muted: #8894a6;
  --border: #e3eaf2;

  --shadow-sm: 0 2px 10px rgba(11, 37, 69, 0.06);
  --shadow-md: 0 14px 38px rgba(11, 37, 69, 0.10);
  --shadow-lg: 0 26px 60px rgba(11, 37, 69, 0.16);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;

  --container: 1240px;
  --header-h: 84px;

  --font-head: "Plus Jakarta Sans", "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--body);
  background: var(--white);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--navy);
  margin: 0 0 0.5em;
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p { margin: 0 0 1rem; }

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

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.section { padding: 92px 0; }
.section--tight { padding: 64px 0; }
.section--light { background: var(--bg-light); }
.section--navy { background: var(--navy); color: #c7d3e4; }
.section--navy h2, .section--navy h3 { color: var(--white); }

.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head__row {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head);
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--royal);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: ""; width: 30px; height: 2px; background: var(--gold); border-radius: 2px;
}
.eyebrow--light { color: var(--gold); }
.section-head--center .eyebrow::before { display: none; }

.lead { font-size: 1.06rem; color: var(--body); max-width: 60ch; }
.text-gold { color: var(--gold) !important; }
.text-royal { color: var(--royal) !important; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: 0.95rem;
  padding: 15px 28px; border-radius: 60px; border: 1.5px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
  white-space: nowrap; line-height: 1;
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn--gold { background: var(--gold); color: var(--navy-deep); }
.btn--gold:hover { background: var(--gold-dark); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(245, 190, 101, 0.4); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--royal); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(21, 88, 166, 0.35); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.5); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: var(--white); transform: translateY(-2px); }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--border); }
.btn--outline:hover { border-color: var(--royal); color: var(--royal); background: var(--royal-light); }
.btn--sm { padding: 12px 22px; font-size: 0.88rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; color: var(--royal);
  transition: gap 0.25s var(--ease), color 0.25s var(--ease);
}
.link-arrow:hover { gap: 14px; color: var(--navy); }
.link-arrow svg { width: 16px; height: 16px; }

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), backdrop-filter 0.35s var(--ease);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; height: var(--header-h);
}
.header--solid,
.header.is-scrolled {
  background: rgba(7, 26, 50, 0.94);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px rgba(7, 26, 50, 0.28);
}
.header.is-scrolled .header__inner { height: 72px; }

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo__mark {
  width: 44px; height: 44px; border-radius: 12px; flex: none;
  background: linear-gradient(135deg, var(--royal), var(--navy));
  display: grid; place-items: center;
  box-shadow: 0 6px 16px rgba(21, 88, 166, 0.35);
}
.logo__mark svg { width: 25px; height: 25px; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name {
  font-family: var(--font-head); font-weight: 800; font-size: 1.28rem;
  color: var(--white); letter-spacing: -0.02em;
}
.logo__name span { color: var(--gold); }
.logo__tag {
  font-size: 0.6rem; letter-spacing: 0.34em; text-transform: uppercase;
  color: #9db2d0; margin-top: 4px; font-weight: 600;
}
.logo--dark .logo__name { color: var(--navy); }
.logo--dark .logo__tag { color: var(--muted); }

/* Nav */
.nav { display: flex; align-items: center; }
.nav__list { display: flex; align-items: center; gap: 6px; }
.nav__link {
  position: relative; display: inline-block;
  font-family: var(--font-head); font-weight: 600; font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.85); padding: 10px 14px; border-radius: 8px;
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}
.nav__link:hover { color: var(--white); }
.nav__link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--gold); border-radius: 2px; transform: scaleX(0);
  transform-origin: left; transition: transform 0.3s var(--ease);
}
.nav__link:hover::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--white); }
.nav__link.is-active::after { transform: scaleX(1); }

.nav--solid .nav__link { color: var(--body); }
.nav--solid .nav__link:hover { color: var(--navy); }
.nav--solid .nav__link.is-active { color: var(--navy); }

/* Header actions */
.header__actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  position: relative; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08); color: var(--white);
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}
.icon-btn:hover { background: rgba(255, 255, 255, 0.18); transform: translateY(-2px); }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn__badge {
  position: absolute; top: -3px; right: -3px; min-width: 19px; height: 19px; padding: 0 5px;
  border-radius: 20px; background: var(--gold); color: var(--navy-deep);
  font-size: 0.68rem; font-weight: 800; display: grid; place-items: center;
  font-family: var(--font-head);
}
.nav--solid ~ .header__actions .icon-btn { border-color: var(--border); color: var(--navy); background: transparent; }

.header__burger {
  display: none; width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.25); background: rgba(255, 255, 255, 0.08);
  color: var(--white); place-items: center;
}
.header__burger svg { width: 24px; height: 24px; }
.header--solid .header__burger, .header.is-scrolled .header__burger { border-color: var(--border); background: transparent; color: var(--navy); }

/* Mobile drawer */
.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
  background: var(--navy-deep); padding: 24px; overflow-y: auto;
  transform: translateX(100%); transition: transform 0.4s var(--ease);
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav__list { display: flex; flex-direction: column; gap: 4px; margin-bottom: 24px; }
.mobile-nav__link {
  font-family: var(--font-head); font-weight: 700; font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9); padding: 16px 12px; border-radius: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.mobile-nav__link.is-active { color: var(--gold); }
.mobile-nav__cta { display: grid; gap: 12px; }
body.no-scroll { overflow: hidden; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 60px) 0 130px;
  background: var(--navy-deep);
  isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center right; }
.hero__overlay {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(7, 26, 50, 0.94) 0%, rgba(7, 26, 50, 0.78) 42%, rgba(7, 26, 50, 0.32) 100%);
}
.hero__inner { position: relative; }
.hero__content { max-width: 640px; color: var(--white); }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-head); font-size: 0.78rem; font-weight: 800;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 22px;
}
.hero__eyebrow::before { content: ""; width: 36px; height: 2px; background: var(--gold); }
.hero h1 { color: var(--white); margin-bottom: 22px; }
.hero h1 span { color: var(--gold); }
.hero__text { font-size: 1.12rem; color: #c7d3e4; max-width: 52ch; margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__note {
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  writing-mode: vertical-rl; text-orientation: mixed;
  font-family: var(--font-head); font-weight: 700; letter-spacing: 0.28em;
  text-transform: uppercase; font-size: 0.78rem; color: rgba(255, 255, 255, 0.55);
  display: flex; align-items: center; gap: 18px;
}
.hero__note::after { content: ""; width: 2px; height: 60px; background: var(--gold); }

/* ==========================================================================
   Search bar
   ========================================================================== */
.search {
  position: relative; z-index: 20;
  margin-top: -68px;
}
.search__card {
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 14px;
  display: grid; grid-template-columns: 1.2fr 1fr 1fr auto; gap: 8px;
  align-items: center;
}
.search__field {
  display: flex; align-items: center; gap: 14px; padding: 12px 20px;
  border-radius: var(--radius); position: relative;
}
.search__field + .search__field,
.search__field--last { border-left: 1px solid var(--border); }
.search__field:first-child { border-left: 0; }
.search__icon {
  width: 42px; height: 42px; border-radius: 12px; flex: none;
  background: var(--royal-light); color: var(--royal); display: grid; place-items: center;
}
.search__icon svg { width: 20px; height: 20px; }
.search__ctrl { flex: 1; min-width: 0; }
.search__label {
  display: block; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 1px; font-family: var(--font-head);
}
.search__ctrl input,
.search__ctrl select {
  width: 100%; border: 0; background: transparent; font-family: var(--font-body);
  font-size: 0.98rem; font-weight: 600; color: var(--navy); padding: 2px 0;
  outline: none; appearance: none; cursor: pointer;
}
.search__ctrl input::placeholder { color: #a9b4c4; font-weight: 500; }
.search__ctrl select {
  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' stroke='%23526176' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 2px center; padding-right: 24px;
}
.search__submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--navy); color: var(--white); border: 0;
  padding: 20px 30px; border-radius: var(--radius); height: 100%;
  font-family: var(--font-head); font-weight: 700; font-size: 0.95rem;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}
.search__submit:hover { background: var(--royal); transform: translateY(-2px); }
.search__submit svg { width: 18px; height: 18px; }

/* ==========================================================================
   Trust strip
   ========================================================================== */
.trust { background: var(--white); padding: 58px 0; }
.trust__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.trust__item {
  display: flex; gap: 16px; align-items: flex-start; padding: 6px 30px;
  border-left: 1px solid var(--border);
}
.trust__item:first-child { border-left: 0; padding-left: 0; }
.trust__icon {
  width: 48px; height: 48px; border-radius: 14px; flex: none;
  background: var(--royal-light); color: var(--royal); display: grid; place-items: center;
}
.trust__icon svg { width: 24px; height: 24px; }
.trust__item h3 { font-size: 1.02rem; margin-bottom: 4px; }
.trust__item p { font-size: 0.9rem; margin: 0; line-height: 1.5; }

/* ==========================================================================
   Property cards
   ========================================================================== */
.grid-cards {
  display: grid; gap: 28px;
  grid-template-columns: repeat(4, 1fr);
}
.grid-cards--3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--royal-light); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.card:hover .card__media img { transform: scale(1.06); }
.card__badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: rgba(11, 37, 69, 0.92); color: var(--white);
  font-family: var(--font-head); font-size: 0.7rem; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 7px 14px; border-radius: 40px;
}
.card__badge--rent { background: rgba(21, 88, 166, 0.95); }
.card__fav {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%; border: 0;
  background: rgba(255, 255, 255, 0.92); color: var(--navy);
  display: grid; place-items: center; transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}
.card__fav svg { width: 20px; height: 20px; }
.card__fav:hover { transform: scale(1.1); }
.card__fav.is-saved { background: var(--gold); color: var(--navy-deep); }
.card__fav.is-saved svg { fill: currentColor; }

.card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card__price {
  font-family: var(--font-head); font-weight: 800; font-size: 1.35rem;
  color: var(--royal); margin-bottom: 6px;
}
.card__title { font-size: 1.16rem; margin-bottom: 8px; }
.card__location {
  display: flex; align-items: center; gap: 7px; font-size: 0.9rem;
  color: var(--muted); margin-bottom: 16px;
}
.card__location svg { width: 16px; height: 16px; color: var(--gold-dark); flex: none; }
.card__meta {
  display: flex; flex-wrap: wrap; gap: 8px 18px;
  padding-top: 16px; border-top: 1px solid var(--border); margin-top: auto;
}
.card__meta span { display: inline-flex; align-items: center; gap: 7px; font-size: 0.86rem; color: var(--body); }
.card__meta svg { width: 16px; height: 16px; color: var(--royal); }
.card__footer { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; }
.card__cta {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  background: var(--bg-light); color: var(--navy); border: 1px solid var(--border);
  display: grid; place-items: center; transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}
.card__cta:hover { background: var(--navy); color: var(--white); transform: rotate(-45deg); }
.card__cta svg { width: 18px; height: 18px; }

.card__media-link { display: block; }

/* sample-data notice */
.notice {
  display: flex; align-items: center; gap: 10px; justify-content: center;
  font-size: 0.85rem; color: var(--muted); margin-top: 40px;
  text-align: center;
}
.notice svg { width: 16px; height: 16px; color: var(--gold-dark); flex: none; }

/* ==========================================================================
   About collage
   ========================================================================== */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center;
}
.collage { position: relative; padding-bottom: 40px; }
.collage__img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.collage__img img { width: 100%; height: 100%; object-fit: cover; }
.collage__main { aspect-ratio: 4 / 5; max-width: 78%; }
.collage__sub {
  position: absolute; right: 0; bottom: 0; width: 58%; aspect-ratio: 4 / 3;
  border: 8px solid var(--white); border-radius: var(--radius-lg);
}
.collage__small {
  position: absolute; right: 8%; top: -6%; width: 38%; aspect-ratio: 1 / 1;
  border: 8px solid var(--white); border-radius: var(--radius-lg);
}
.collage__badge {
  position: absolute; left: -18px; bottom: 60px; z-index: 3;
  background: var(--navy); color: var(--white);
  border-radius: var(--radius); padding: 20px; max-width: 250px;
  box-shadow: var(--shadow-lg); display: flex; gap: 14px; align-items: center;
}
.collage__badge-icon {
  width: 44px; height: 44px; border-radius: 12px; flex: none;
  background: var(--gold); color: var(--navy-deep); display: grid; place-items: center;
}
.collage__badge-icon svg { width: 24px; height: 24px; }
.collage__badge p { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: 0.9rem; line-height: 1.4; color: var(--white); }

.benefit-list { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin: 30px 0 34px; }
.benefit { display: flex; gap: 14px; }
.benefit__icon {
  width: 44px; height: 44px; border-radius: 12px; flex: none;
  background: var(--royal-light); color: var(--royal); display: grid; place-items: center;
}
.benefit__icon svg { width: 22px; height: 22px; }
.benefit h4 { font-size: 1rem; margin-bottom: 3px; }
.benefit p { font-size: 0.87rem; margin: 0; line-height: 1.5; }

/* ==========================================================================
   Services
   ========================================================================== */
.grid-services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.service {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 34px 28px; display: flex; flex-direction: column;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.service__icon {
  width: 60px; height: 60px; border-radius: 16px; margin-bottom: 22px;
  background: var(--royal-light); color: var(--royal); display: grid; place-items: center;
  transition: background 0.35s var(--ease), color 0.35s var(--ease);
}
.service:hover .service__icon { background: var(--navy); color: var(--gold); }
.service__icon svg { width: 28px; height: 28px; }
.service h3 { font-size: 1.2rem; margin-bottom: 12px; }
.service p { font-size: 0.94rem; flex: 1; }
.service .link-arrow { margin-top: 8px; font-size: 0.9rem; }

/* ==========================================================================
   Why choose us
   ========================================================================== */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.why-card {
  border-radius: var(--radius-lg); padding: 34px 30px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex; gap: 20px;
  transition: background 0.35s var(--ease), transform 0.35s var(--ease);
}
.why-card:hover { background: rgba(255, 255, 255, 0.09); transform: translateY(-4px); }
.why-card__icon {
  width: 56px; height: 56px; border-radius: 16px; flex: none;
  background: var(--gold); color: var(--navy-deep); display: grid; place-items: center;
}
.why-card__icon svg { width: 27px; height: 27px; }
.why-card h3 { font-size: 1.18rem; margin-bottom: 8px; color: var(--white); }
.why-card p { font-size: 0.94rem; margin: 0; color: #b3c2d8; line-height: 1.6; }
.why-card--light { background: var(--white); border-color: var(--border); }
.why-card--light h3 { color: var(--navy); }
.why-card--light p { color: var(--body); }
.why-card--light .why-card__icon { background: var(--royal-light); color: var(--royal); }

/* ==========================================================================
   CTA banner
   ========================================================================== */
.cta-banner {
  position: relative; padding: 120px 0; isolation: isolate; text-align: center;
  background: var(--navy-deep); overflow: hidden;
}
.cta-banner__bg { position: absolute; inset: 0; z-index: -2; }
.cta-banner__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-banner__overlay {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(7, 26, 50, 0.82), rgba(7, 26, 50, 0.9));
}
.cta-banner__content { max-width: 720px; margin-inline: auto; color: var(--white); }
.cta-banner h2 { color: var(--white); margin-bottom: 18px; }
.cta-banner p { color: #c7d3e4; font-size: 1.08rem; max-width: 56ch; margin-inline: auto; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 60px; align-items: start; }
.contact-info__list { display: grid; gap: 20px; margin-top: 30px; }
.contact-info__item { display: flex; gap: 16px; align-items: flex-start; }
.contact-info__icon {
  width: 48px; height: 48px; border-radius: 14px; flex: none;
  background: var(--royal-light); color: var(--royal); display: grid; place-items: center;
}
.contact-info__icon svg { width: 22px; height: 22px; }
.contact-info__item h4 { font-size: 1rem; margin-bottom: 2px; }
.contact-info__item p, .contact-info__item a { font-size: 0.94rem; margin: 0; color: var(--body); }
.contact-info__item a:hover { color: var(--royal); }

.form-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 40px; box-shadow: var(--shadow-md);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-family: var(--font-head); font-weight: 700; font-size: 0.85rem; color: var(--navy);
}
.field label .req { color: #d64545; }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 0.96rem; color: var(--navy);
  background: var(--bg-light); border: 1.5px solid var(--border); border-radius: 12px;
  padding: 13px 16px; transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
  width: 100%;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--royal); background: var(--white);
}
.field input::placeholder, .field textarea::placeholder { color: #a9b4c4; }
.field__error { font-size: 0.8rem; color: #d64545; font-weight: 600; min-height: 0; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #d64545; background: #fdf1f1; }
.form-note { font-size: 0.82rem; color: var(--muted); margin-top: 14px; }
.form-note a { color: var(--royal); text-decoration: underline; }

.form-status {
  display: none; align-items: center; gap: 12px; padding: 16px 18px;
  border-radius: 12px; font-size: 0.92rem; font-weight: 600; margin-bottom: 22px;
}
.form-status.is-visible { display: flex; }
.form-status--success { background: #e9f7ef; color: #1c7c4a; border: 1px solid #bfe6cf; }
.form-status--error { background: #fdf1f1; color: #b23a3a; border: 1px solid #f2cccc; }
.form-status svg { width: 20px; height: 20px; flex: none; }
.btn.is-loading { opacity: 0.75; pointer-events: none; }
.spinner {
  width: 16px; height: 16px; border-radius: 50%; flex: none;
  border: 2px solid rgba(255, 255, 255, 0.4); border-top-color: var(--white);
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ==========================================================================
   Page hero (inner pages)
   ========================================================================== */
.page-hero {
  position: relative; padding: calc(var(--header-h) + 76px) 0 76px;
  isolation: isolate; background: var(--navy-deep); color: var(--white);
}
.page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__overlay {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(7, 26, 50, 0.94), rgba(7, 26, 50, 0.6));
}
.page-hero__content { max-width: 720px; }
.page-hero h1 { color: var(--white); margin-bottom: 14px; }
.page-hero p { color: #c7d3e4; font-size: 1.08rem; max-width: 56ch; margin: 0; }
.breadcrumb {
  display: flex; gap: 8px; align-items: center; font-size: 0.85rem;
  color: #9db2d0; margin-bottom: 18px; font-family: var(--font-head); font-weight: 600;
}
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--gold); }

/* ==========================================================================
   Properties page — filters
   ========================================================================== */
.filters {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 22px; box-shadow: var(--shadow-sm); margin-bottom: 40px;
  display: grid; grid-template-columns: 1.1fr 1fr 1fr 1fr auto; gap: 12px; align-items: end;
}
.filters .field { margin-bottom: 0; }
.filters--compact { grid-template-columns: 1.2fr 1fr 1fr auto; }
.filters--compact .filters__submit { height: 100%; }
.filters__count { font-size: 0.9rem; color: var(--muted); margin-bottom: 24px; }
.filters__count strong { color: var(--navy); }

.empty-state {
  text-align: center; padding: 70px 20px; grid-column: 1 / -1;
  background: var(--bg-light); border-radius: var(--radius-lg); border: 1px dashed var(--border);
}
.empty-state svg { width: 54px; height: 54px; color: var(--muted); margin-bottom: 16px; }
.empty-state h3 { margin-bottom: 8px; }

/* ==========================================================================
   Stats / values
   ========================================================================== */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.value-grid--4 { grid-template-columns: repeat(4, 1fr); }
.value-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 34px 30px;
}
.value-card__icon {
  width: 56px; height: 56px; border-radius: 16px; margin-bottom: 20px;
  background: var(--royal-light); color: var(--royal); display: grid; place-items: center;
}
.value-card__icon svg { width: 26px; height: 26px; }
.value-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.value-card p { font-size: 0.94rem; margin: 0; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--navy-deep); color: #9db2d0; padding: 74px 0 0; }
.footer__grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 44px;
  padding-bottom: 54px;
}
.footer__brand p { font-size: 0.94rem; margin: 20px 0; max-width: 34ch; line-height: 1.7; }
.footer__social { display: flex; gap: 12px; }
.footer__social a {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.06); color: #c7d3e4;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}
.footer__social a:hover { background: var(--gold); color: var(--navy-deep); transform: translateY(-3px); }
.footer__social svg { width: 19px; height: 19px; }
.footer h4 {
  color: var(--white); font-size: 1rem; margin-bottom: 20px; letter-spacing: 0.02em;
}
.footer__links { display: flex; flex-direction: column; gap: 12px; }
.footer__links a { font-size: 0.94rem; transition: color 0.25s var(--ease), padding-left 0.25s var(--ease); }
.footer__links a:hover { color: var(--gold); padding-left: 5px; }
.footer__contact { display: flex; flex-direction: column; gap: 16px; }
.footer__contact-item { display: flex; gap: 12px; align-items: flex-start; font-size: 0.94rem; }
.footer__contact-item svg { width: 19px; height: 19px; color: var(--gold); flex: none; margin-top: 3px; }
.footer__contact-item a:hover { color: var(--gold); }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 26px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  font-size: 0.86rem;
}
.footer__bottom-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer__bottom-links a:hover { color: var(--gold); }

/* ==========================================================================
   Reveal animations
   ========================================================================== */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal--d1 { transition-delay: 0.08s; }
.reveal--d2 { transition-delay: 0.16s; }
.reveal--d3 { transition-delay: 0.24s; }
.reveal--d4 { transition-delay: 0.32s; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1120px) {
  .grid-cards { grid-template-columns: repeat(2, 1fr); }
  .grid-services { grid-template-columns: repeat(2, 1fr); }
  .about-grid { gap: 48px; }
  .search__card { grid-template-columns: 1fr 1fr; }
  .search__field--last { border-left: 0; }
  .search__submit { grid-column: 1 / -1; padding: 18px; }
  .filters { grid-template-columns: 1fr 1fr; }
  .filters .filters__submit { grid-column: 1 / -1; }
}

@media (max-width: 980px) {
  .nav, .header__actions .icon-btn--desktop { display: none; }
  .header__burger { display: grid; }
  .header__cta { display: none; }
  .trust__grid { grid-template-columns: repeat(2, 1fr); gap: 32px 0; }
  .trust__item:nth-child(odd) { border-left: 0; padding-left: 0; }
  .about-grid { grid-template-columns: 1fr; }
  .collage { max-width: 520px; margin-inline: auto; }
  .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .why-grid { grid-template-columns: 1fr; }
  .value-grid, .value-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .hero__note { display: none; }
}

@media (max-width: 720px) {
  :root { --header-h: 72px; }
  .section { padding: 66px 0; }
  .grid-cards, .grid-cards--3, .grid-services { grid-template-columns: 1fr; }
  .search { margin-top: -44px; }
  .search__card { grid-template-columns: 1fr; padding: 12px; }
  .search__field { border-left: 0 !important; border-top: 1px solid var(--border); padding: 14px 14px; }
  .search__field:first-child { border-top: 0; }
  .search__submit { margin-top: 6px; }
  .filters { grid-template-columns: 1fr; padding: 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 26px; }
  .benefit-list { grid-template-columns: 1fr; }
  .value-grid, .value-grid--4 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-bottom: 150px; }
  .trust__item { padding-right: 0; }
  .collage__small { display: none; }
  .collage__badge { left: 0; bottom: 0; }
  .cta-banner { padding: 84px 0; }
}

@media (max-width: 480px) {
  .container { padding-inline: 18px; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .card__media { aspect-ratio: 16 / 11; }
  .trust__grid { grid-template-columns: 1fr; }
  .trust__item { border-left: 0; padding-left: 0; border-top: 1px solid var(--border); padding-top: 22px; }
  .trust__item:first-child { border-top: 0; padding-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Property detail modal
   ========================================================================== */
.modal {
  position: fixed; inset: 0; z-index: 200; display: none;
  align-items: center; justify-content: center; padding: 24px;
}
.modal.is-open { display: flex; }
.modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(7, 26, 50, 0.72); backdrop-filter: blur(4px);
}
.modal__panel {
  position: relative; z-index: 1; width: 100%; max-width: 960px;
  max-height: 88vh; overflow-y: auto; background: var(--white);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: 1fr 1fr;
  animation: modalIn 0.4s var(--ease);
}
@keyframes modalIn { from { opacity: 0; transform: translateY(24px) scale(0.98); } }
.modal__media { min-height: 320px; background: var(--royal-light); }
.modal__media img { width: 100%; height: 100%; object-fit: cover; }
.modal__content { padding: 40px; }
.modal__content h2 { font-size: 1.7rem; margin-bottom: 8px; }
.modal__content h4 { font-size: 1rem; margin: 20px 0 12px; }
.modal__features { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.modal__features li { display: flex; align-items: center; gap: 9px; font-size: 0.9rem; }
.modal__features svg { width: 17px; height: 17px; color: var(--royal); flex: none; }
.modal__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.modal__close {
  position: absolute; top: 14px; right: 14px; z-index: 3;
  width: 42px; height: 42px; border-radius: 50%; border: 0;
  background: rgba(255, 255, 255, 0.92); color: var(--navy);
  font-size: 1.5rem; line-height: 1; display: grid; place-items: center;
  box-shadow: var(--shadow-sm); transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}
.modal__close:hover { background: var(--gold); transform: rotate(90deg); }

@media (max-width: 720px) {
  .modal__panel { grid-template-columns: 1fr; max-height: 92vh; }
  .modal__media { min-height: 220px; max-height: 260px; }
  .modal__content { padding: 26px; }
  .modal__features { grid-template-columns: 1fr; }
}

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