/* ================================================================
   Boro Lettings — Airbnb-clean design system
   White, lots of whitespace, one font, photo-led cards.
   ================================================================ */

:root {
  /* Colour — Airbnb-style restraint */
  --bg:          #ffffff;
  --bg-soft:     #f7f7f7;
  --ink:         #222222;
  --ink-2:       #4f4f4f;
  --muted:       #717171;
  --line:        #ebebeb;
  --line-strong: #dddddd;
  --accent:      #e03a3e;
  --accent-hover:#b62b2f;
  --accent-soft: #ffe8ea;

  /* Type */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Layout */
  --max:        1480px;
  --gutter:     clamp(1.5rem, 4vw, 5rem);
  --section-y:  clamp(4rem, 8vw, 7rem);
  --r-sm:       8px;
  --r:          12px;
  --r-lg:       18px;
  --r-pill:     999px;

  /* Motion */
  --ease:       cubic-bezier(0.2, 0, 0, 1);

  /* Shadow */
  --shadow-sm:  0 1px 2px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow:     0 6px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg:  0 10px 30px rgba(0, 0, 0, 0.10);
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; padding: 0; }
ul { list-style: none; padding: 0; margin: 0; }
::selection { background: var(--ink); color: white; }

/* ---------- Type ---------- */
h1, h2, h3, h4, h5 {
  margin: 0 0 .4rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.15;
}
h1 {
  font-size: clamp(2.4rem, 4vw + .8rem, 4rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  font-weight: 700;
}
h2 {
  font-size: clamp(1.6rem, 1.8vw + .8rem, 2.4rem);
  letter-spacing: -0.025em;
  font-weight: 600;
}
h3 { font-size: 1.05rem; font-weight: 600; }
p { margin: 0 0 .8rem; }

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

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .8rem 1.4rem;
  font-size: .92rem;
  font-weight: 600;
  border-radius: var(--r-sm);
  transition: background .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
  white-space: nowrap;
}
.btn--ink {
  background: var(--ink);
  color: white;
}
.btn--ink:hover { background: #000; }
.btn--accent {
  background: var(--accent);
  color: white;
}
.btn--accent:hover { background: var(--accent-hover); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
}
.btn--ghost:hover { background: var(--bg-soft); border-color: var(--ink); }
.btn--text {
  padding: .5rem .8rem;
  background: transparent;
  color: var(--ink);
  font-weight: 600;
  border-radius: var(--r-pill);
}
.btn--text:hover { background: var(--bg-soft); }

/* ============ NAV ============ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: white;
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s var(--ease);
}
.nav.is-scrolled { box-shadow: 0 1px 0 var(--line), 0 2px 12px rgba(0,0,0,0.04); }
.nav__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: 1.1rem 0;
}
.nav__links {
  display: flex; gap: .25rem;
  justify-content: center;
  font-size: .92rem;
  font-weight: 500;
}
.nav__links a {
  padding: .55rem 1rem;
  border-radius: var(--r-pill);
  color: var(--ink);
  transition: background .2s var(--ease);
}
.nav__links a:hover { background: var(--bg-soft); }
.nav__right { display: flex; align-items: center; gap: .5rem; }
.nav__cta { padding: .65rem 1.2rem; }

/* Brand */
.brand {
  display: inline-flex; align-items: center; gap: .55rem;
}
.brand__mark {
  width: 32px; height: 32px;
  flex: 0 0 32px;
  color: var(--accent);
}
.brand__name {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--accent);
}
.brand__name span { color: var(--ink); margin-left: 2px; }

/* Mobile menu */
.nav__toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-strong);
  position: relative;
  background: white;
  transition: box-shadow .2s var(--ease);
}
.nav__toggle:hover { box-shadow: var(--shadow-sm); }
.nav__toggle span {
  display: block; width: 16px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  position: absolute; left: 13px; top: 50%;
  transition: transform .25s var(--ease), opacity .15s var(--ease);
}
.nav__toggle span:nth-child(1) { transform: translateY(-5px); }
.nav__toggle span:nth-child(3) { transform: translateY(5px); }
.nav__toggle.is-open span:nth-child(1) { transform: rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 1rem var(--gutter) 1.6rem;
  background: white;
  border-top: 1px solid var(--line);
}
.mobile-menu a {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
}
.mobile-menu .btn { margin-top: 1rem; align-self: flex-start; }
.mobile-menu.is-open { display: flex; }

/* ============ HERO ============ */
.hero {
  padding: clamp(2rem, 4vw, 3.5rem) 0 clamp(2rem, 4vw, 3rem);
  text-align: center;
}
.hero__title {
  margin: 0 auto .9rem;
  max-width: 18ch;
}
.hero__sub {
  font-size: clamp(1rem, .3vw + .95rem, 1.15rem);
  color: var(--muted);
  max-width: 56ch;
  margin: 0 auto 2.4rem;
}

/* Search pill — Airbnb-style */
.search {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr auto;
  align-items: center;
  background: white;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-sm);
  max-width: 720px;
  margin: 0 auto 1.6rem;
  padding: .35rem .35rem .35rem 0;
  transition: box-shadow .25s var(--ease);
}
.search:hover { box-shadow: var(--shadow); }
.search__field {
  display: flex; flex-direction: column;
  padding: .65rem 1.4rem;
  text-align: left;
  cursor: pointer;
  border-radius: var(--r-pill);
  position: relative;
  transition: background .2s var(--ease);
}
.search__field:hover { background: var(--bg-soft); }
.search__field:not(:first-child)::before {
  content: "";
  position: absolute;
  top: 50%; left: 0;
  width: 1px; height: 28px;
  background: var(--line);
  transform: translateY(-50%);
}
.search__field:hover::before,
.search__field:hover + .search__field::before { background: transparent; }
.search__field span {
  font-size: .72rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 1px;
}
.search__field select {
  border: 0; padding: 0;
  font-family: var(--font);
  font-size: .88rem;
  color: var(--muted);
  background: transparent;
  outline: none;
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23717171' stroke-width='1.4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .15rem center;
  padding-right: 1rem;
}
.search__btn {
  background: var(--accent);
  color: white;
  width: 48px; height: 48px;
  border-radius: 50%;
  display: grid; place-items: center;
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.search__btn:hover { background: var(--accent-hover); transform: scale(1.04); }
.search__btn svg { width: 16px; height: 16px; }
.search__btn--wide {
  width: auto; height: 48px;
  border-radius: var(--r-pill);
  padding: 0 1.4rem;
  gap: .5rem;
  font-size: .9rem;
  font-weight: 600;
  display: inline-flex; align-items: center;
}

.hero__quick {
  display: flex; gap: .5rem;
  justify-content: center;
  flex-wrap: wrap;
}
.hero__quick-chip {
  padding: .5rem 1rem;
  background: white;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  font-size: .82rem;
  font-weight: 500;
  color: var(--ink-2);
  transition: all .2s var(--ease);
}
.hero__quick-chip:hover {
  border-color: var(--ink);
  color: var(--ink);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

/* ============ Categories scroll bar ============ */
.categories {
  position: sticky;
  top: 73px; z-index: 50;
  background: white;
  border-bottom: 1px solid var(--line);
  padding: .8rem 0;
  margin-bottom: 0;
}
.categories__scroll {
  display: flex;
  gap: 2.4rem;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0 var(--gutter);
}
.categories__scroll::-webkit-scrollbar { display: none; }
.category {
  display: flex; flex-direction: column;
  align-items: center;
  gap: .4rem;
  padding: .5rem .25rem;
  font-size: .72rem;
  font-weight: 500;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color .2s var(--ease), border-color .2s var(--ease), opacity .2s var(--ease);
  opacity: .7;
}
.category:hover { color: var(--ink); opacity: 1; }
.category.is-active {
  color: var(--ink);
  border-bottom-color: var(--ink);
  opacity: 1;
}
.category__icon {
  width: 24px; height: 24px;
}

/* ============ Section headings ============ */
.section { padding: var(--section-y) 0; }
.section--soft { background: var(--bg-soft); }
.section__head {
  display: flex; justify-content: space-between; align-items: end;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.section__head h2 { margin-bottom: .3rem; }
.section__head p {
  color: var(--muted);
  font-size: .95rem;
  margin: 0;
}
.section__link {
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1.5px;
  text-decoration-color: var(--ink);
  transition: opacity .2s var(--ease);
}
.section__link:hover { opacity: .6; }

/* ============ PROPERTIES GRID — Airbnb style ============ */
.properties {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem 1.2rem;
}
.property {
  cursor: pointer;
  transition: transform .25s var(--ease);
  display: flex; flex-direction: column;
}
.property.is-hidden {
  opacity: 0; pointer-events: none;
  position: absolute; visibility: hidden;
}
.property:hover .property__img { transform: scale(1.04); }
.property__media {
  aspect-ratio: 1 / 1;
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  margin-bottom: .8rem;
  background: var(--bg-soft);
}
.property__img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.property__fav {
  position: absolute;
  top: 12px; right: 12px;
  width: 32px; height: 32px;
  display: grid; place-items: center;
  cursor: pointer;
  z-index: 2;
  transition: transform .2s var(--ease);
}
.property__fav:hover { transform: scale(1.1); }
.property__fav svg {
  width: 24px; height: 24px;
  fill: rgba(0, 0, 0, 0.5);
  stroke: white;
  stroke-width: 2;
  transition: fill .2s var(--ease);
}
.property__fav.is-saved svg { fill: var(--accent); stroke: white; }
.property__tag {
  position: absolute;
  top: 12px; left: 12px;
  padding: .35rem .65rem;
  background: white;
  border-radius: var(--r-pill);
  font-size: .72rem;
  font-weight: 600;
  color: var(--ink);
  z-index: 2;
}
.property__tag--accent {
  background: var(--ink);
  color: white;
}

.property__body { padding: 0 .15rem; }
.property__row {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: .8rem;
  margin-bottom: 2px;
}
.property h3 {
  margin: 0;
  font-size: .95rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.property__rating {
  display: inline-flex; align-items: center; gap: .25rem;
  font-size: .85rem;
  color: var(--ink);
  font-weight: 500;
}
.property__rating svg { width: 12px; height: 12px; fill: var(--ink); }
.property__addr {
  font-size: .88rem;
  color: var(--muted);
  margin: 0 0 2px;
}
.property__meta {
  font-size: .88rem;
  color: var(--muted);
  margin: 0 0 4px;
}
.property__price {
  margin-top: 4px;
  font-size: .95rem;
  color: var(--ink);
}
.property__price strong {
  font-weight: 600;
}
.property__price small {
  color: var(--muted);
  font-weight: 400;
}

/* ============ Services (3 simple cards) ============ */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.service {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 2.2rem 1.8rem;
  transition: all .25s var(--ease);
  display: flex; flex-direction: column;
}
.service:hover {
  border-color: var(--ink);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.service__icon {
  width: 56px; height: 56px;
  border-radius: var(--r);
  background: var(--accent-soft);
  color: var(--accent);
  display: grid; place-items: center;
  margin-bottom: 1.4rem;
}
.service__icon svg { width: 28px; height: 28px; }
.service h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.service > p {
  color: var(--ink-2);
  margin-bottom: 1.4rem;
  font-size: .95rem;
}
.service__list {
  display: grid; gap: .6rem;
  font-size: .9rem;
  color: var(--ink-2);
  margin-bottom: 1.6rem;
}
.service__list li {
  display: flex; align-items: flex-start; gap: .55rem;
}
.service__list li::before {
  content: "";
  width: 16px; height: 16px;
  flex: 0 0 16px;
  margin-top: 2px;
  background: var(--accent);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' stroke='white' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain;
}
.service__price {
  margin-top: auto;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.service__price small {
  font-size: .8rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
  margin-left: .25rem;
}
.service--featured {
  background: var(--ink);
  color: rgba(255,255,255,.8);
  border-color: var(--ink);
}
.service--featured h3 { color: white; }
.service--featured > p { color: rgba(255,255,255,.7); }
.service--featured .service__list { color: rgba(255,255,255,.78); }
.service--featured .service__list li::before { background-color: white; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' stroke='%23222' stroke-width='2.2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.service--featured .service__icon { background: rgba(255,255,255,.12); color: white; }
.service--featured .service__price { color: white; border-top-color: rgba(255,255,255,.18); }
.service--featured .service__price small { color: rgba(255,255,255,.55); }
.service--featured:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

/* ============ Areas grid ============ */
.areas {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.area {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.3rem;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition: all .25s var(--ease);
}
.area:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.area__info h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
}
.area__info span {
  font-size: .8rem;
  color: var(--muted);
}
.area__arrow {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--bg-soft);
  display: grid; place-items: center;
  color: var(--ink);
  transition: all .25s var(--ease);
}
.area:hover .area__arrow {
  background: var(--ink);
  color: white;
  transform: translate(2px, -2px);
}
.area__arrow svg { width: 14px; height: 14px; }

/* ============ About ============ */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.about__media {
  aspect-ratio: 4 / 5;
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  background: var(--bg-soft);
}
.about__media img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.about__copy h2 { margin-bottom: 1rem; }
.about__copy p {
  color: var(--ink-2);
  font-size: .98rem;
  line-height: 1.6;
  max-width: 52ch;
}
.about__copy p.lede {
  font-size: 1.1rem;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 1rem;
}
.about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  margin-top: 2rem;
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--line);
}
.about__stat {
  background: white;
  padding: 1.4rem 1.2rem;
}
.about__stat strong {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
  margin-bottom: .4rem;
}
.about__stat span {
  font-size: .82rem;
  color: var(--muted);
}
.about__badges {
  display: flex; flex-wrap: wrap; gap: 1.4rem;
  margin-top: 1.8rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--line);
  font-size: .85rem;
  color: var(--muted);
}
.about__badges strong {
  color: var(--ink);
  font-weight: 600;
}

/* ============ Reviews ============ */
.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.review {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.8rem;
  margin: 0;
  display: flex; flex-direction: column;
  transition: all .25s var(--ease);
}
.review:hover { border-color: var(--ink-2); box-shadow: var(--shadow-sm); }
.review__stars {
  color: var(--accent);
  letter-spacing: .12em;
  font-size: .92rem;
  margin-bottom: .8rem;
}
.review blockquote {
  margin: 0 0 1.4rem;
  font-size: .98rem;
  line-height: 1.55;
  color: var(--ink);
  flex: 1;
}
.review figcaption {
  display: flex; align-items: center; gap: .8rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.review__avatar {
  width: 40px; height: 40px;
  flex: 0 0 40px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 600;
  font-size: .9rem;
  color: white;
}
.review__person strong {
  display: block;
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink);
}
.review__person span {
  font-size: .78rem;
  color: var(--muted);
}

/* ============ CTA Banner ============ */
.cta-banner {
  background: var(--ink);
  border-radius: var(--r-lg);
  padding: clamp(2.4rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  align-items: center;
  color: white;
  margin: var(--section-y) 0;
}
.cta-banner h2 { color: white; max-width: 18ch; margin-bottom: 1rem; }
.cta-banner p { color: rgba(255,255,255,.7); max-width: 42ch; }
.cta-banner__btns {
  display: flex; gap: .8rem; flex-wrap: wrap;
  justify-content: end;
}
.cta-banner .btn--accent { background: var(--accent); }
.cta-banner .btn--ghost { color: white; border-color: rgba(255,255,255,.3); }
.cta-banner .btn--ghost:hover { background: rgba(255,255,255,.1); border-color: white; }

/* ============ Contact ============ */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.contact__copy h2 { margin-bottom: 1rem; }
.contact__copy p { color: var(--ink-2); font-size: 1rem; max-width: 44ch; }
.contact-list {
  display: grid; gap: .7rem;
  margin-top: 2rem;
}
.contact-list li {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.2rem 1.4rem;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition: all .25s var(--ease);
}
.contact-list li:hover {
  border-color: var(--ink);
}
.contact-list-icon {
  width: 40px; height: 40px;
  flex: 0 0 40px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid; place-items: center;
}
.contact-list-icon svg { width: 18px; height: 18px; }
.contact-list-info small {
  display: block;
  font-size: .75rem;
  color: var(--muted);
  margin-bottom: .1rem;
}
.contact-list-info strong {
  display: block;
  font-size: .98rem;
  font-weight: 600;
  color: var(--ink);
}

.contact-form {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 2.2rem;
  display: grid;
  gap: .9rem;
}
.contact-form h3 { font-size: 1.25rem; margin-bottom: .3rem; }
.contact-form > p { color: var(--muted); margin-bottom: .8rem; font-size: .9rem; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.contact-form label {
  display: flex; flex-direction: column;
  gap: .3rem;
  font-size: .82rem;
  color: var(--ink);
  font-weight: 500;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  font-family: var(--font);
  font-size: .95rem;
  font-weight: 400;
  color: var(--ink);
  padding: .8rem 1rem;
  background: white;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  outline: none;
  transition: all .2s var(--ease);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 2px rgba(0,0,0,0.05);
}
.contact-form textarea { resize: vertical; min-height: 90px; }
.contact-form .btn { margin-top: .6rem; justify-content: center; padding: .95rem 1.4rem; }
.form-msg {
  padding: .85rem 1rem;
  background: var(--accent-soft);
  border-radius: var(--r-sm);
  color: var(--accent);
  font-size: .9rem;
  font-weight: 500;
  margin: 0;
}

/* ============ Footer ============ */
.footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  padding: 3.5rem 0 1.6rem;
  font-size: .85rem;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2.4rem;
  padding-bottom: 2.4rem;
  border-bottom: 1px solid var(--line);
}
.footer__top h5 {
  font-size: .82rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 1rem;
}
.footer__top ul { display: grid; gap: .55rem; }
.footer__top a {
  color: var(--ink);
  transition: opacity .2s var(--ease);
}
.footer__top a:hover { text-decoration: underline; opacity: .7; }
.footer__brand p {
  margin-top: 1rem;
  max-width: 36ch;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.55;
}
.footer__bar {
  display: flex; flex-wrap: wrap; gap: 1rem;
  align-items: center; justify-content: space-between;
  padding-top: 1.6rem;
  font-size: .82rem;
  color: var(--muted);
}
.footer__bar nav {
  display: flex; gap: 1rem; flex-wrap: wrap;
}
.footer__bar nav a { color: var(--ink); }
.footer__bar nav a:hover { text-decoration: underline; }

/* Back to top */
.to-top {
  position: fixed; bottom: 1.5rem; right: 1.5rem;
  width: 44px; height: 44px;
  background: white;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow);
  opacity: 0; pointer-events: none;
  transform: translateY(8px);
  transition: all .3s var(--ease);
  z-index: 90;
}
.to-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

/* ============ Reveal-on-scroll ============ */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }
[data-stagger] > * { transition-delay: 0s; }
[data-stagger].is-in > *:nth-child(1) { transition-delay: 0s; }
[data-stagger].is-in > *:nth-child(2) { transition-delay: 60ms; }
[data-stagger].is-in > *:nth-child(3) { transition-delay: 120ms; }
[data-stagger].is-in > *:nth-child(4) { transition-delay: 180ms; }
[data-stagger].is-in > *:nth-child(5) { transition-delay: 240ms; }
[data-stagger].is-in > *:nth-child(6) { transition-delay: 300ms; }
[data-stagger].is-in > *:nth-child(7) { transition-delay: 360ms; }
[data-stagger].is-in > *:nth-child(8) { transition-delay: 420ms; }

/* ============ Responsive ============ */
@media (max-width: 1100px) {
  .properties { grid-template-columns: 1fr 1fr 1fr; }
  .areas { grid-template-columns: 1fr 1fr; }
  .services { grid-template-columns: 1fr; gap: 1rem; }
  .reviews { grid-template-columns: 1fr; gap: 1rem; }
  .about { grid-template-columns: 1fr; }
  .about__media { aspect-ratio: 16 / 10; max-width: 600px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .cta-banner { grid-template-columns: 1fr; }
  .cta-banner__btns { justify-content: start; }
}
@media (max-width: 800px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: block; }
  .properties { grid-template-columns: 1fr 1fr; }
  .contact { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 1.6rem; }
  .footer__bar { flex-direction: column; align-items: center; text-align: center; }
  .categories { top: 65px; }
  .section__head { flex-direction: column; align-items: start; }
}
@media (max-width: 540px) {
  .properties { grid-template-columns: 1fr; }
  .areas { grid-template-columns: 1fr; }
  .about__stats { grid-template-columns: 1fr; gap: 1px; }
  .contact-form .row { grid-template-columns: 1fr; }
  .search { grid-template-columns: 1fr; padding: 1rem; border-radius: var(--r-lg); gap: .4rem; }
  .search__field { padding: .6rem 1rem; border-radius: var(--r-sm); background: var(--bg-soft); }
  .search__field:not(:first-child)::before { display: none; }
  .search__btn { width: 100%; height: 48px; border-radius: var(--r-sm); font-size: .95rem; gap: .5rem; }
  .search__btn::after { content: "Search"; font-size: .92rem; font-weight: 600; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
