/* ============================================================
   Rapid Dwellings Ltd — Premium Estate Agency
   Palette (from logo): deep navy / blue accent / amber pop
   ============================================================ */

:root {
  --charcoal: #14294e;      /* logo deep navy — primary dark */
  --charcoal-2: #1e3560;    /* lighter navy */
  --navy-deep: #0a1b38;     /* deepest navy for gradients */
  --ivory: #F4F6FA;         /* cool off-white */
  --ivory-2: #E6ECF5;
  --gold: #2f6bbf;          /* logo blue — primary accent */
  --gold-deep: #235aa8;     /* blue hover */
  --blue-light: #7295c9;    /* logo light blue */
  --amber: #fbba09;         /* logo amber — highlight pop */
  --amber-deep: #e0a400;
  --green: #2d8d24;         /* logo green — used for To Let */
  --white: #ffffff;
  --ink: #14294e;
  --muted: #5c6a82;
  --muted-light: rgba(244, 246, 250, 0.72);
  --line: rgba(20, 41, 78, 0.10);
  --line-light: rgba(244, 246, 250, 0.16);
  --shadow-sm: 0 6px 20px rgba(20, 41, 78, 0.07);
  --shadow-md: 0 20px 50px rgba(20, 41, 78, 0.14);
  --shadow-lg: 0 40px 90px rgba(20, 41, 78, 0.24);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1240px;
  --radius: 16px;
  --radius-lg: 24px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 168px; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.container { width: min(100% - 2.6rem, var(--container)); margin-inline: auto; }

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

::selection { background: var(--gold); color: var(--charcoal); }

/* --------- Skip link --------- */
.skip-link {
  position: absolute; left: 1rem; top: -60px; z-index: 2000;
  background: var(--charcoal); color: var(--ivory);
  padding: .6rem 1rem; border-radius: 8px; transition: top .2s;
}
.skip-link:focus { top: 1rem; }

/* --------- Scroll progress --------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-deep));
  z-index: 3000; transition: width .05s linear;
}

/* --------- Buttons --------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--sans); font-weight: 600; font-size: .95rem;
  letter-spacing: .01em; padding: .95rem 1.6rem; border-radius: 100px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .35s var(--ease), background .3s, color .3s, box-shadow .3s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn:hover { transform: translateY(-3px); }

.btn--gold { background: var(--gold); color: var(--white); box-shadow: 0 10px 30px rgba(47,107,191,.35); }
.btn--gold:hover { background: var(--gold-deep); box-shadow: 0 16px 40px rgba(47,107,191,.45); }

.btn--dark { background: var(--charcoal); color: var(--ivory); }
.btn--dark:hover { background: var(--charcoal-2); }

.btn--ghost { background: rgba(244,246,250,.08); color: var(--ivory); border-color: rgba(244,246,250,.5); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: var(--ivory); color: var(--charcoal); border-color: var(--ivory); }

.link-arrow { color: var(--gold-deep); font-weight: 600; font-size: .92rem; transition: gap .3s, color .3s; display: inline-flex; gap: .3rem; }
.link-arrow:hover { color: var(--charcoal); gap: .6rem; }

/* --------- Typography helpers --------- */
.eyebrow {
  font-size: .78rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-deep); margin-bottom: 1rem; display: inline-block;
}
.eyebrow--light { color: var(--gold); }

.section-title {
  font-family: var(--serif); font-weight: 500; line-height: 1.05;
  font-size: clamp(2rem, 4.4vw, 3.4rem); letter-spacing: -.01em; color: var(--charcoal);
}
.section-title--light { color: var(--ivory); }
.section-title em { font-style: italic; color: var(--gold-deep); }

.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: 3.4rem; flex-wrap: wrap; }
.section-head--center { justify-content: center; text-align: center; }
.section-note { max-width: 340px; color: var(--muted); font-size: .92rem; }
.section-note--center { max-width: 520px; margin: 1rem auto 0; }

/* ============================================================
   TOP BAR
   ============================================================ */
.topbar {
  background: var(--charcoal); color: var(--muted-light); font-size: .82rem;
  border-bottom: 1px solid var(--line-light);
}
.topbar__inner { display: flex; justify-content: space-between; align-items: center; height: 42px; }
.topbar__contact { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.topbar__contact a { display: inline-flex; align-items: center; gap: .45rem; transition: color .3s; }
.topbar__contact a:hover { color: var(--gold); }
.topbar__contact svg { width: 14px; height: 14px; fill: var(--gold); }
.topbar__badge { font-size: .72rem; opacity: .55; font-style: italic; }
.topbar__socials { display: flex; gap: 1rem; font-weight: 600; letter-spacing: .05em; }
.topbar__socials a:hover { color: var(--gold); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 1000;
  transition: background .4s var(--ease), box-shadow .4s, backdrop-filter .4s;
  background: transparent;
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 104px; }

.nav.is-scrolled { background: rgba(244,246,250,.92); backdrop-filter: blur(14px); box-shadow: var(--shadow-sm); }

.brand { display: flex; align-items: center; gap: .8rem; transition: transform .4s var(--ease); }
.brand:hover { transform: translateY(-1px); }
.brand__logo { height: 72px; width: auto; display: block; }
.brand__logo--white { display: none; }

/* nav appearance while over hero (transparent): swap to white logo */
.nav:not(.is-scrolled) .brand__logo--color { display: none; }
.nav:not(.is-scrolled) .brand__logo--white { display: block; }
.nav:not(.is-scrolled) .nav__links a { color: var(--ivory); }
.nav:not(.is-scrolled) .nav__toggle span { background: var(--ivory); }

.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__links a { font-weight: 600; font-size: .95rem; color: var(--charcoal); position: relative; transition: color .3s; }
.nav__links a:not(.nav__cta)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--gold); transition: width .35s var(--ease);
}
.nav__links a:not(.nav__cta):hover::after { width: 100%; }
.nav__links a:hover { color: var(--gold-deep); }
.nav__cta {
  background: var(--gold); color: var(--white) !important; padding: .6rem 1.3rem;
  border-radius: 100px; transition: transform .3s var(--ease), background .3s;
}
.nav__cta:hover { transform: translateY(-2px); background: var(--gold-deep); }

.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; z-index: 1200; }
.nav__toggle span { width: 26px; height: 2px; background: var(--charcoal); transition: transform .35s var(--ease), opacity .3s; }
.nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; height: calc(100vh - 42px); min-height: 640px; max-height: 940px; margin-top: -150px; overflow: hidden; background: var(--charcoal); }
.hero__slides { position: absolute; inset: 0; }
.hero__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1s var(--ease); display: flex; align-items: center; }
.hero__slide.is-active { opacity: 1; visibility: visible; }

.hero__bg {
  position: absolute; inset: 0;
  background-image: var(--img); background-size: cover; background-position: center;
  transform: scale(1.12); transition: transform 7s ease-out;
}
.hero__slide.is-active .hero__bg { transform: scale(1); }
.hero__slide::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(105deg,
    rgba(20,41,78, var(--hero-ov, .86)) 0%,
    rgba(20,41,78, calc(var(--hero-ov, .86) * .7)) 42%,
    rgba(20,41,78, calc(var(--hero-ov, .86) * .18)) 100%);
}

.hero__content { position: relative; z-index: 2; color: var(--ivory); max-width: 720px; padding-top: 40px; }
.hero__eyebrow {
  font-size: .82rem; letter-spacing: .24em; text-transform: uppercase; color: var(--amber);
  font-weight: 700; margin-bottom: 1.4rem; opacity: 0; transform: translateY(20px);
}
.hero__title {
  font-family: var(--serif); font-weight: 500; font-size: clamp(2.6rem, 6.6vw, 5.4rem);
  line-height: 1.02; letter-spacing: -.02em; margin-bottom: 1.6rem;
}
.hero__title em { font-style: italic; color: var(--amber); }
.hero__lead { font-size: clamp(1rem, 1.4vw, 1.18rem); max-width: 520px; color: var(--muted-light); margin-bottom: 2.2rem; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* staggered reveal on active slide */
.hero__slide.is-active .hero__eyebrow,
.hero__slide.is-active .hero__title,
.hero__slide.is-active .hero__lead,
.hero__slide.is-active .hero__actions { animation: heroRise .9s var(--ease) forwards; }
.hero__slide.is-active .hero__title { animation-delay: .12s; opacity: 0; transform: translateY(24px); }
.hero__slide.is-active .hero__lead { animation-delay: .24s; opacity: 0; transform: translateY(24px); }
.hero__slide.is-active .hero__actions { animation-delay: .36s; opacity: 0; transform: translateY(24px); }
@keyframes heroRise { to { opacity: 1; transform: translateY(0); } }

.hero__controls {
  position: absolute; bottom: 2.4rem; left: 50%; transform: translateX(-50%);
  z-index: 3; display: flex; align-items: center; gap: 1rem; width: min(100% - 2.6rem, var(--container));
}
.hero__arrow, .hero__pause {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(244,246,250,.4);
  background: rgba(244,246,250,.08); color: var(--ivory); cursor: pointer; font-size: 1.1rem;
  backdrop-filter: blur(8px); transition: background .3s, color .3s, transform .3s;
  display: grid; place-items: center;
}
.hero__arrow:hover, .hero__pause:hover { background: var(--ivory); color: var(--charcoal); transform: translateY(-2px); }
.hero__pause { margin-left: auto; font-size: .8rem; }
.hero__pause-icon { pointer-events: none; }
.hero__dots { display: flex; gap: .6rem; }
.hero__dots button {
  width: 32px; height: 4px; border-radius: 100px; border: none; cursor: pointer;
  background: rgba(244,246,250,.3); transition: background .3s, width .3s;
}
.hero__dots button.is-active { background: var(--gold); width: 48px; }

/* ============================================================
   RIGHT-SIDE SCROLL INDICATOR
   ============================================================ */
.scroll-rail {
  position: fixed; right: 2.2rem; top: 50%; transform: translateY(-50%);
  z-index: 950; display: flex; flex-direction: column; align-items: center; gap: 1.1rem;
  pointer-events: none; user-select: none;
  transition: color .4s ease;
}
.scroll-rail__pct {
  font-family: var(--sans); font-size: .78rem; font-weight: 700; letter-spacing: .06em;
  color: var(--muted); transition: color .4s ease;
}
.scroll-rail__pct em {
  font-style: normal; font-weight: 800; font-size: 1.15rem; color: var(--gold-deep);
  transition: color .4s ease; font-variant-numeric: tabular-nums;
}
.scroll-rail__track {
  position: relative; width: 2px; height: 210px; border-radius: 2px;
  background: rgba(20, 41, 78, .14); overflow: visible; transition: background .4s ease;
}
.scroll-rail__fill {
  position: absolute; top: 0; left: 0; width: 100%; height: 0%;
  background: linear-gradient(var(--gold), var(--gold-deep));
  border-radius: 2px; transition: height .12s linear;
}
.scroll-rail__fill::after {
  content: ""; position: absolute; bottom: -4px; left: 50%; transform: translateX(-50%);
  width: 9px; height: 9px; border-radius: 50%; background: var(--amber);
  box-shadow: 0 0 0 4px rgba(251, 186, 9, .22), 0 0 12px rgba(251, 186, 9, .75);
}
.scroll-rail__label {
  writing-mode: vertical-rl; font-size: .66rem; font-weight: 700; letter-spacing: .38em;
  text-transform: uppercase; color: var(--muted); transition: color .4s ease;
}

/* Adapts over dark sections (hero, services, valuation, footer) */
.scroll-rail.is-dark .scroll-rail__pct { color: var(--muted-light); }
.scroll-rail.is-dark .scroll-rail__pct em { color: var(--gold); }
.scroll-rail.is-dark .scroll-rail__track { background: rgba(244, 246, 250, .22); }
.scroll-rail.is-dark .scroll-rail__label { color: var(--muted-light); }

@media (max-width: 960px) { .scroll-rail { display: none; } }

/* ============================================================
   SEARCH
   ============================================================ */
.search { position: relative; z-index: 5; margin-top: -70px; }
.search__card { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 1.4rem; border: 1px solid var(--line); }
.search__tabs { display: inline-flex; gap: .3rem; background: var(--ivory-2); padding: .3rem; border-radius: 100px; margin-bottom: 1.2rem; }
.search__tab { border: none; background: none; padding: .5rem 1.6rem; border-radius: 100px; font-family: var(--sans); font-weight: 600; cursor: pointer; color: var(--muted); transition: background .3s, color .3s; }
.search__tab.is-active { background: var(--charcoal); color: var(--ivory); }

.search__form { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr auto; gap: 1rem; align-items: end; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field label { font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .contact__form textarea {
  font-family: var(--sans); font-size: .95rem; padding: .8rem .9rem; border-radius: 12px;
  border: 1px solid var(--line); background: var(--ivory); color: var(--ink); transition: border .3s, box-shadow .3s;
}
.field input:focus, .field select:focus, .contact__form textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(47,107,191,.18);
}
.search__submit { height: 48px; justify-content: center; }

/* ============================================================
   TRUST
   ============================================================ */
.trust { padding: 4.4rem 0 2rem; }
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.trust__item { padding: 2rem 1.6rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: transform .4s var(--ease), box-shadow .4s; }
.trust__item:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.trust__icon { font-size: 1.6rem; color: var(--gold); display: block; margin-bottom: .8rem; }
.trust__item h3 { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; margin-bottom: .4rem; }
.trust__item p { color: var(--muted); font-size: .92rem; }

/* ============================================================
   PROPERTIES
   ============================================================ */
.properties { padding: 5rem 0; }
.prop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.prop-card {
  position: relative; /* confines .prop-card__link (inset:0) to this card, not the whole page */
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line);
  transition: transform .5s var(--ease), box-shadow .5s;
}
.prop-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.prop-card__media { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.prop-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.prop-card:hover .prop-card__media img { transform: scale(1.08); }
.prop-card__status {
  position: absolute; top: 1rem; left: 1rem; z-index: 2; font-size: .72rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; padding: .4rem .8rem; border-radius: 100px;
  background: var(--charcoal); color: var(--ivory);
}
.prop-card__status.is-sale { background: #fff; color: var(--charcoal); }
.prop-card__status.is-rent { background: #2d8d24; color: #fff; }
.prop-card__status.is-sstc { background: #8a5a2b; color: #fff; }
.prop-card__fav {
  position: absolute; top: 1rem; right: 1rem; z-index: 2; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.9); border: none; cursor: pointer; display: grid; place-items: center;
  font-size: 1rem; color: var(--charcoal); transition: transform .3s, background .3s, color .3s;
}
.prop-card__fav:hover { transform: scale(1.1); }
.prop-card__fav.is-active { background: var(--gold); color: var(--charcoal); }

.prop-card__body { padding: 1.4rem 1.5rem 1.6rem; }
.prop-card__price { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--charcoal); }
.prop-card__price span { font-family: var(--sans); font-size: .82rem; font-weight: 600; color: var(--muted); }
.prop-card__title { font-size: 1.1rem; font-weight: 700; margin: .5rem 0 .3rem; }
.prop-card__loc { color: var(--muted); font-size: .9rem; display: flex; align-items: center; gap: .35rem; margin-bottom: 1.1rem; }
.prop-card__loc svg { width: 15px; height: 15px; fill: var(--gold-deep); }
.prop-card__specs { display: flex; gap: 1.2rem; padding-top: 1.1rem; border-top: 1px solid var(--line); font-size: .86rem; color: var(--muted); }
.prop-card__specs span { display: inline-flex; align-items: center; gap: .35rem; }
.prop-card__specs strong { color: var(--charcoal); font-weight: 700; }

.properties__more { text-align: center; margin-top: 3rem; }
.properties__second { margin-top: 4.5rem; }
@media (max-width: 720px) { .properties__second { margin-top: 3rem; } }

/* ============================================================
   SERVICES
   ============================================================ */
.services { padding: 5rem 0; background: var(--charcoal); color: var(--ivory); position: relative; }
.services::before {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background: radial-gradient(600px circle at 15% 0%, rgba(47,107,191,.14), transparent 60%);
  pointer-events: none;
}
.services .section-title { color: var(--ivory); }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; position: relative; z-index: 1; }
.service { padding: 2.4rem 2rem; border: 1px solid var(--line-light); border-radius: var(--radius-lg); transition: background .4s, transform .4s var(--ease); }
.service:hover { background: rgba(244,246,250,.05); transform: translateY(-6px); }
.service__num { font-family: var(--serif); font-size: 2.6rem; color: var(--gold); display: block; margin-bottom: .8rem; line-height: 1; }
.service h3 { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; margin-bottom: .7rem; }
.service p { color: var(--muted-light); margin-bottom: 1.4rem; }
.service .link-arrow { color: var(--gold); }
.service .link-arrow:hover { color: var(--ivory); }

/* ============================================================
   BAND / STATS
   ============================================================ */
.band { padding: 4rem 0 3rem; background: var(--ivory-2); }
.band__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; text-align: center; }
.band__num { font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 3.8rem); font-weight: 600; color: var(--charcoal); display: block; line-height: 1; }
.band__label { font-size: .84rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.band__disclaimer { text-align: center; font-size: .78rem; color: var(--muted); font-style: italic; margin-top: 2rem; opacity: .8; }

/* ============================================================
   CALCULATOR
   ============================================================ */
.calc { padding: 5.5rem 0; }
.calc__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 4rem; align-items: center; }
.calc__intro p { color: var(--muted); margin-top: 1.4rem; max-width: 440px; }
.calc__panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2.2rem; box-shadow: var(--shadow-md); }
.calc__row { display: grid; grid-template-columns: 1fr 160px; align-items: center; gap: 1rem; margin-bottom: 1.1rem; }
.calc__row label { font-size: .92rem; font-weight: 600; color: var(--charcoal); }
.calc__row input {
  font-family: var(--sans); font-size: .98rem; padding: .7rem .9rem; border-radius: 12px;
  border: 1px solid var(--line); background: var(--ivory); text-align: right; transition: border .3s, box-shadow .3s;
}
.calc__row input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(47,107,191,.18); }
.calc__result { margin-top: 1.6rem; padding: 1.6rem; border-radius: var(--radius); background: var(--charcoal); color: var(--ivory); text-align: center; }
.calc__result-label { font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.calc__result-value { font-family: var(--serif); font-size: 2.8rem; font-weight: 600; display: block; margin: .4rem 0 1rem; }
.calc__meta { display: flex; justify-content: center; gap: 2rem; font-size: .86rem; color: var(--muted-light); flex-wrap: wrap; }
.calc__meta strong { color: var(--ivory); }
.calc__error { color: #c0392b; font-size: .88rem; margin-top: 1rem; font-weight: 600; }

/* ============================================================
   ABOUT
   ============================================================ */
.about { padding: 5.5rem 0; }
.about__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about__media { position: relative; }
.about__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 4/4.4; object-fit: cover; }
.about__seal {
  position: absolute; bottom: -42px; right: -42px; width: 190px; height: 190px;
}
.about__seal-text {
  position: absolute; inset: 0; width: 100%; height: 100%;
  animation: rd-spin 18s linear infinite; transform-origin: 50% 50%;
}
.about__seal-logo {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 116px; height: 116px; border-radius: 50%; background: #fff;
  box-shadow: 0 16px 40px rgba(20,41,78,.28); display: grid; place-items: center;
}
.about__seal-logo img { width: 100%; height: 100%; object-fit: contain; }
@keyframes rd-spin { to { transform: rotate(360deg); } }

/* Rotating seal in the hero (light text on the photo) */
.hero__seal {
  position: absolute; right: 5%; top: 46%; transform: translateY(-50%);
  width: 172px; height: 172px; z-index: 3;
  filter: drop-shadow(0 10px 26px rgba(10,27,56,.45));
}
@media (max-width: 900px) { .hero__seal { display: none; } }
@media (prefers-reduced-motion: reduce) { .about__seal-text { animation: none; } }
.about__text p { color: var(--muted); margin-top: 1.2rem; }
.about__points { list-style: none; margin: 1.6rem 0 2rem; display: grid; gap: .7rem; }
.about__points li { position: relative; padding-left: 1.8rem; color: var(--charcoal); font-weight: 500; }
.about__points li::before { content: "✦"; position: absolute; left: 0; color: var(--gold); }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testi { padding: 5rem 0; background: var(--ivory-2); }
.testi__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.testi__card { background: var(--white); border-radius: var(--radius-lg); padding: 2rem; border: 1px solid var(--line); transition: transform .4s var(--ease); }
.testi__card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.testi__stars { color: var(--gold); letter-spacing: .15em; margin-bottom: 1rem; }
.testi__card p { font-family: var(--serif); font-size: 1.1rem; font-style: italic; color: var(--charcoal); line-height: 1.5; margin-bottom: 1.4rem; }
.testi__card footer { display: flex; flex-direction: column; }
.testi__name { font-weight: 700; }
.testi__loc { font-size: .84rem; color: var(--muted); }

/* ============================================================
   VALUATION CTA
   ============================================================ */
.valuation { padding: 5.5rem 0; background: var(--charcoal); position: relative; overflow: hidden; }
.valuation::before {
  content: ""; position: absolute; top: -30%; right: -10%; width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(47,107,191,.22), transparent 70%);
}
.valuation__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; position: relative; z-index: 1; }
.valuation__text p { color: var(--muted-light); margin-top: 1.2rem; max-width: 400px; }
.valuation__form { display: grid; gap: 1.1rem; }
.valuation__two { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field--light label { color: var(--muted-light); }
.field--light input, .field--light select {
  background: rgba(244,246,250,.06); border: 1px solid var(--line-light); color: var(--ivory);
}
.field--light input:focus, .field--light select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(47,107,191,.25); }
.field--light select option { color: #14181D; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { padding: 5.5rem 0; }
.contact__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 4rem; }
.contact__info p { color: var(--muted); margin-top: 1.2rem; }
.contact__list { list-style: none; margin: 2rem 0 1.4rem; display: grid; gap: 1.2rem; }
.contact__list li { display: grid; gap: .2rem; padding-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
.contact__k { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; }
.contact__list a:hover { color: var(--gold-deep); }
.contact__note { font-size: .8rem; font-style: italic; opacity: .7; }
.contact__form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2.2rem; box-shadow: var(--shadow-sm); display: grid; gap: 1.1rem; }
.contact__two { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.checkbox { display: flex; align-items: flex-start; gap: .6rem; font-size: .88rem; color: var(--muted); cursor: pointer; }
.checkbox input { margin-top: .25rem; accent-color: var(--gold-deep); }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.form-status { font-size: .9rem; font-weight: 600; min-height: 1.2em; }
.form-status.is-ok { color: #2d8d24; }
.form-status.is-err { color: #c0392b; }

.contact__map { margin-top: 3rem; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--line); line-height: 0; }
.contact__map iframe { display: block; width: 100%; filter: grayscale(0.15); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--charcoal); color: var(--muted-light); padding: 4.4rem 0 0; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 2.4rem; padding-bottom: 3rem; border-bottom: 1px solid var(--line-light); }
.brand--footer .brand__logo { height: 64px; }
.footer__brand p { margin: 1.2rem 0; max-width: 300px; font-size: .92rem; }
.footer__socials { display: flex; gap: .7rem; }
.footer__socials a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-light); display: grid; place-items: center; font-size: .78rem; font-weight: 700; transition: background .3s, color .3s; }
.footer__socials a:hover { background: var(--gold); color: var(--charcoal); }
.footer__col h4 { font-family: var(--serif); font-size: 1.2rem; color: var(--ivory); margin-bottom: 1.2rem; font-weight: 600; }
.footer__col a { display: block; padding: .35rem 0; font-size: .92rem; transition: color .3s, padding-left .3s; }
.footer__col a:hover { color: var(--gold); padding-left: .3rem; }
.footer__newsletter p { font-size: .92rem; margin-bottom: 1rem; }
.footer__nl { display: flex; gap: .5rem; }
.footer__nl input { flex: 1; padding: .7rem .9rem; border-radius: 100px; border: 1px solid var(--line-light); background: rgba(244,246,250,.06); color: var(--ivory); font-family: var(--sans); }
.footer__nl input:focus { outline: none; border-color: var(--gold); }
.footer__nl .btn { padding: .7rem 1.2rem; }
.footer__nl-status { margin-top: .6rem; }
.footer__bar { padding: 1.6rem 0; font-size: .82rem; }
.footer__bar-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.footer__legal { display: flex; gap: 1.4rem; }
.footer__legal a:hover { color: var(--gold); }

/* ============================================================
   BACK TO TOP
   ============================================================ */
.to-top {
  position: fixed; bottom: 6.6rem; right: 1.8rem; z-index: 900; width: 50px; height: 50px; border-radius: 50%;
  background: var(--charcoal); color: #fff; border: none; cursor: pointer; font-size: 1.2rem;
  box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transform: translateY(20px);
  transition: opacity .4s, visibility .4s, transform .4s var(--ease), background .3s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--charcoal-2); transform: translateY(-4px); }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"] { transition-delay: .12s; }
.reveal[data-delay="2"] { transition-delay: .24s; }
.reveal[data-delay="3"] { transition-delay: .36s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .search__form { grid-template-columns: 1fr 1fr; }
  .search__submit { grid-column: 1 / -1; }
  .prop-grid, .services__grid, .testi__grid { grid-template-columns: repeat(2, 1fr); }
  .calc__inner, .about__inner, .valuation__inner, .contact__inner { grid-template-columns: 1fr; gap: 2.6rem; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .trust__grid, .band__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .topbar__contact .topbar__badge { display: none; }
  .topbar__socials { display: none; }

  .nav__toggle { display: flex; }
  .nav__links {
    position: fixed; inset: 0 0 0 auto; width: min(82vw, 340px); flex-direction: column;
    align-items: flex-start; justify-content: center; gap: 1.6rem; padding: 3rem 2.4rem;
    background: var(--charcoal); transform: translateX(100%); transition: transform .45s var(--ease);
    box-shadow: -20px 0 60px rgba(0,0,0,.4);
  }
  .nav__links.is-open { transform: translateX(0); }
  .nav__links a { color: var(--ivory) !important; font-size: 1.15rem; }
  .nav:not(.is-scrolled) .nav__links a { color: var(--ivory); }
  .nav__cta { align-self: stretch; text-align: center; }

  /* Keep the enlarged logo sensible on phones */
  .nav__inner { height: 84px; }
  .brand__logo { height: 60px; }

  .hero { height: auto; min-height: 84vh; margin-top: -104px; }
  .hero__title { font-size: clamp(2.4rem, 11vw, 3.6rem); }
  .hero__actions .btn { flex: 1; justify-content: center; }
  /* Lift the slide dots so they sit above the overlapping search card */
  .hero__controls { justify-content: center; bottom: 4.6rem; }
  .hero__arrow, .hero__pause { display: none; }

  /* Search card overlaps up into the hero (fills the gap; arrows are hidden so no collision) */
  .search { margin-top: -56px; }

  .prop-grid, .services__grid, .testi__grid, .trust__grid, .band__grid, .footer__grid { grid-template-columns: 1fr; }
  .search__form { grid-template-columns: 1fr; }
  .about__seal { right: 8px; bottom: -30px; width: 148px; height: 148px; }
  .about__seal-logo { width: 90px; height: 90px; }
  .calc__row { grid-template-columns: 1fr; gap: .4rem; }
  .calc__row input { text-align: left; }
  .valuation__two, .contact__two { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .footer__bar-inner { flex-direction: column; text-align: center; }
}

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

/* ============================================================
   SUBPAGES (Selling / Letting / Property Management)
   ============================================================ */
.page-hero { position: relative; background: var(--charcoal); color: var(--ivory); padding: calc(150px + 4.5rem) 0 4.8rem; overflow: hidden; margin-top: -150px; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(760px circle at 82% -20%, rgba(47,107,191,.30), transparent 60%); pointer-events: none; }
.page-hero__inner { position: relative; z-index: 1; max-width: 780px; }
.breadcrumb { font-size: .82rem; color: var(--muted-light); margin-bottom: 1.2rem; letter-spacing: .02em; }
.breadcrumb a { color: var(--gold); }
.breadcrumb a:hover { color: var(--ivory); }
.page-hero__eyebrow { color: var(--amber); font-size: .8rem; letter-spacing: .24em; text-transform: uppercase; font-weight: 700; display: inline-block; margin-bottom: 1rem; }
.page-hero__title { font-family: var(--serif); font-weight: 500; font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.03; letter-spacing: -.02em; margin-bottom: 1.1rem; }
.page-hero__title em { font-style: italic; color: var(--amber); }
.page-hero__lead { font-size: clamp(1rem, 1.4vw, 1.18rem); color: var(--muted-light); max-width: 620px; }
.page-hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2.2rem; }

.page-section { padding: 5rem 0; }
.page-section--alt { background: var(--ivory-2); }
.prose { max-width: 780px; }
.prose p { color: var(--muted); margin-bottom: 1.2rem; font-size: 1.03rem; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.feature { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.9rem; transition: transform .4s var(--ease), box-shadow .4s; }
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.feature__icon { color: var(--gold); font-size: 1.5rem; margin-bottom: .7rem; display: block; }
.feature h3 { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; margin-bottom: .4rem; }
.feature p { color: var(--muted); font-size: .94rem; }

.steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem 2.8rem; counter-reset: step; }
.step { position: relative; padding-left: 3.8rem; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: -.3rem; font-family: var(--serif); font-size: 1.6rem; color: var(--gold); font-weight: 600; }
.step h3 { font-size: 1.08rem; margin-bottom: .3rem; }
.step p { color: var(--muted); font-size: .93rem; }

.tiers-wrap { overflow-x: auto; }
.tiers { width: 100%; border-collapse: collapse; font-size: .95rem; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); min-width: 560px; }
.tiers th, .tiers td { padding: 1rem 1.2rem; text-align: left; border-bottom: 1px solid var(--line); }
.tiers thead th { background: var(--charcoal); color: var(--ivory); font-family: var(--sans); font-weight: 700; }
.tiers tbody th { font-weight: 600; color: var(--charcoal); }
.tiers td.yes { color: var(--green); font-weight: 800; text-align: center; }
.tiers td.no { color: #b6bcc8; text-align: center; }
.tiers th.mid, .tiers td.mid { text-align: center; }
.tiers tbody tr:last-child td, .tiers tbody tr:last-child th { border-bottom: none; }

.faq { max-width: 840px; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; text-align: left; background: none; border: none; cursor: pointer; font-family: var(--sans); font-size: 1.06rem; font-weight: 600; color: var(--charcoal); padding: 1.3rem 2.6rem 1.3rem 0; position: relative; }
.faq__q::after { content: "+"; position: absolute; right: .4rem; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--gold); transition: transform .3s; line-height: 1; }
.faq__item.open .faq__q::after { content: "\2013"; }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq__a p { color: var(--muted); padding: 0 0 1.3rem; margin: 0; max-width: 720px; }

.cta-strip { background: var(--charcoal); color: var(--ivory); text-align: center; padding: 4.8rem 0; position: relative; overflow: hidden; }
.cta-strip::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px circle at 50% 0, rgba(47,107,191,.26), transparent 60%); }
.cta-strip__inner { position: relative; z-index: 1; max-width: 660px; margin: 0 auto; }
.cta-strip h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.9rem, 3.6vw, 2.9rem); margin-bottom: 1rem; }
.cta-strip h2 em { font-style: italic; color: var(--amber); }
.cta-strip p { color: var(--muted-light); margin-bottom: 2rem; }
.cta-strip .page-hero__actions { justify-content: center; }

.section-lead { max-width: 640px; color: var(--muted); margin-top: 1rem; }

@media (max-width: 760px) {
  .feature-grid, .steps { grid-template-columns: 1fr; }
}

/* ============================================================
   CONTACT WIDGET (floating popup)
   ============================================================ */
.cw-launcher {
  position: fixed; right: 1.8rem; bottom: 1.8rem; z-index: 1500;
  width: 62px; height: 62px; border-radius: 50%; border: none; cursor: pointer;
  background: linear-gradient(150deg, var(--gold), var(--gold-deep));
  color: #fff; display: grid; place-items: center;
  box-shadow: 0 14px 34px rgba(47,107,191,.45); transition: transform .3s var(--ease), box-shadow .3s;
}
.cw-launcher:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 18px 40px rgba(47,107,191,.55); }
.cw-launcher svg { width: 28px; height: 28px; fill: currentColor; }
.cw-launcher .cw-launcher__close { display: none; }
.cw-launcher.is-open .cw-launcher__open { display: none; }
.cw-launcher.is-open .cw-launcher__close { display: block; }
.cw-launcher__badge {
  position: absolute; top: -3px; right: -3px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--green); border: 2px solid #fff;
}

.cw-panel {
  position: fixed; right: 1.8rem; bottom: 5.6rem; z-index: 1500;
  width: min(370px, calc(100vw - 2.4rem)); max-height: min(78vh, 720px); overflow-y: auto;
  background: var(--ivory); border-radius: 22px; box-shadow: 0 30px 80px rgba(10,27,56,.34);
  opacity: 0; visibility: hidden; transform: translateY(16px) scale(.98); transform-origin: bottom right;
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.cw-panel.is-open { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }

.cw-header { background: linear-gradient(150deg, var(--gold), var(--gold-deep)); color: #fff; padding: 1.5rem 1.4rem; display: flex; align-items: center; gap: 1rem; }
.cw-avatar { position: relative; width: 54px; height: 54px; border-radius: 50%; background: #fff; color: var(--charcoal); display: grid; place-items: center; font-family: var(--serif); font-weight: 700; font-size: 1.15rem; flex-shrink: 0; }
.cw-avatar__dot { position: absolute; right: 1px; bottom: 1px; width: 13px; height: 13px; border-radius: 50%; background: var(--green); border: 2px solid #fff; }
.cw-title { font-weight: 800; font-size: 1.15rem; line-height: 1.2; }
.cw-status { font-size: .84rem; opacity: .92; display: flex; align-items: center; gap: .4rem; margin-top: .2rem; }
.cw-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #6cf08a; }

.cw-body { padding: 1.1rem; display: grid; gap: .8rem; }
.cw-intro { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.1rem; font-size: .96rem; color: var(--charcoal); line-height: 1.5; }
.cw-row { display: flex; align-items: center; gap: .9rem; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: .85rem 1rem; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.cw-row:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); border-color: var(--gold); }
.cw-row__icon { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; flex-shrink: 0; }
.cw-row__icon svg { width: 21px; height: 21px; }
.cw-row__icon--wa { background: #e7f7ec; }
.cw-row__icon--wa svg { fill: #25d366; }
.cw-row__icon--blue { background: #e6eefa; }
.cw-row__icon--blue svg { fill: var(--gold); }
.cw-row__text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.cw-row__label { font-weight: 800; color: var(--charcoal); font-size: 1rem; }
.cw-row__val { color: var(--muted); font-size: .88rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cw-row__arrow { margin-left: auto; color: #b6bcc8; font-size: 1.1rem; flex-shrink: 0; }
.cw-row:hover .cw-row__arrow { color: var(--gold); }

@media (max-width: 520px) {
  .cw-panel { right: 1.2rem; left: 1.2rem; width: auto; bottom: 5.4rem; }
  .cw-launcher { right: 1.2rem; bottom: 1.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  .cw-panel, .cw-launcher { transition: opacity .001ms; }
}

/* ============================================================
   CLICKABLE PROPERTY CARD (stretched link)
   ============================================================ */
.prop-card__link { position: absolute; inset: 0; z-index: 1; }
.prop-card__fav { z-index: 3; }
.prop-card .prop-card__status { z-index: 2; }

/* ============================================================
   PROPERTY DETAIL PAGE
   ============================================================ */
.pd-hero { background: var(--charcoal); padding: 1.2rem 0; }
.pd-hero .breadcrumb { margin: 0; }
.pd-wrap { display: grid; grid-template-columns: 1fr 360px; gap: 2.6rem; padding: 2.6rem 0 4rem; align-items: start; }
.pd-gallery { grid-column: 1 / -1; }
.pd-gallery__main { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 16/9; background: var(--ivory-2); }
.pd-gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.pd-gallery__main .prop-card__status { position: absolute; top: 1rem; left: 1rem; }
.pd-thumbs { display: flex; gap: .7rem; margin-top: .8rem; flex-wrap: wrap; }
.pd-thumb { width: 92px; height: 66px; border-radius: 10px; overflow: hidden; border: 2px solid transparent; background: none; cursor: pointer; padding: 0; }
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumb.active { border-color: var(--gold); }

.pd-main { min-width: 0; }
.pd-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1.4rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.pd-title { font-family: var(--serif); font-weight: 500; font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.1; color: var(--charcoal); }
.pd-loc { color: var(--muted); display: flex; align-items: center; gap: .4rem; margin-top: .4rem; }
.pd-loc svg { width: 16px; height: 16px; fill: var(--gold-deep); }
.pd-price { font-family: var(--serif); font-size: 2rem; font-weight: 600; color: var(--charcoal); text-align: right; line-height: 1.1; }
.pd-qual { display: block; font-family: var(--sans); font-size: .8rem; font-weight: 600; color: var(--muted); }
.pd-specs { display: flex; flex-wrap: wrap; gap: 1.6rem; padding: 1.2rem 1.4rem; background: var(--ivory-2); border-radius: var(--radius); margin-bottom: 2rem; }
.pd-specs div { display: flex; flex-direction: column; }
.pd-specs b { font-family: var(--serif); font-size: 1.3rem; color: var(--charcoal); }
.pd-specs span { font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 600; }
.pd-block { margin-bottom: 2rem; }
.pd-block h2 { font-family: var(--serif); font-weight: 600; font-size: 1.4rem; margin-bottom: .7rem; color: var(--charcoal); }
.pd-block p { color: var(--muted); }
.pd-features { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: .6rem 1.4rem; }
.pd-features li { position: relative; padding-left: 1.6rem; color: var(--charcoal); }
.pd-features li::before { content: "✦"; position: absolute; left: 0; color: var(--gold); }

.pd-aside { position: sticky; top: 110px; display: grid; gap: 1.2rem; }
.pd-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.6rem; box-shadow: var(--shadow-sm); }
.pd-card h3 { font-family: var(--serif); font-weight: 600; font-size: 1.2rem; margin-bottom: 1rem; color: var(--charcoal); }
.pd-card .field { margin-bottom: .8rem; }
.pd-two { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }

@media (max-width: 900px) {
  .pd-wrap { grid-template-columns: 1fr; }
  .pd-aside { position: static; }
}

/* Mid-size screens: scale the enlarged logo so it doesn't crowd the nav links */
@media (min-width: 761px) and (max-width: 1120px) {
  .nav__inner { height: 92px; }
  .brand__logo { height: 64px; }
  .hero { margin-top: -118px; }
  .nav__links { gap: 1.3rem; }
}

/* Gallery caption on property detail */
.pd-gallery__main { position: relative; }
.pd-cap { position: absolute; left: 1rem; bottom: 1rem; z-index: 2; background: rgba(20,41,78,.82); color: #fff; font-size: .8rem; font-weight: 700; letter-spacing: .04em; padding: .4rem .8rem; border-radius: 100px; backdrop-filter: blur(4px); }

/* Card description (used on the all-properties page) */
.prop-card__desc { color: var(--muted); font-size: .9rem; margin: 0 0 1rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ============================================================
   ALL PROPERTIES PAGE
   ============================================================ */
.allprops { padding: 3rem 0 5rem; }
.allprops__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.pf-bar { display: inline-flex; gap: .3rem; background: var(--ivory-2); padding: .3rem; border-radius: 100px; }
.pf-btn { border: none; background: none; padding: .5rem 1.4rem; border-radius: 100px; font-family: var(--sans); font-weight: 600; font-size: .9rem; color: var(--muted); cursor: pointer; transition: background .3s, color .3s; }
.pf-btn.is-active { background: var(--charcoal); color: var(--ivory); }
.allprops__count { color: var(--muted); font-weight: 600; font-size: .92rem; }
