/* =========================================================
   Nestora — Modern Real Estate Theme
   ---------------------------------------------------------
   1. Tokens & reset      7. Categories      13. Agents
   2. Utilities / buttons 8. About           14. Testimonials
   3. Preloader & cursor  9. Properties      15. Video CTA
   4. Header & nav        10. Steps          16. Blog / CTA
   5. Hero slider         11. Spotlight      17. Footer
   6. Search & marquee    12. Cities / Calc  18. Modal, to-top, reveal
   ========================================================= */

/* ---------- 1. Tokens & reset ---------- */
:root {
  --ink: #0d1321;
  --ink-2: #1b2436;
  --ink-soft: #4a5468;
  --muted: #7b8496;
  --line: #e6e1d8;
  --sand: #f6f2ec;
  --sand-2: #efe8de;
  --white: #ffffff;
  --accent: #f25c2b;
  --accent-dark: #d84a1c;
  --accent-soft: #fde7de;
  --green: #1f9d6b;
  --gold: #e7b44c;

  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-display: "Fraunces", Georgia, serif;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 4px 14px rgba(13, 19, 33, .06);
  --shadow: 0 18px 40px -12px rgba(13, 19, 33, .18);
  --shadow-lg: 0 30px 70px -20px rgba(13, 19, 33, .35);
  --ease: cubic-bezier(.22, .9, .3, 1);
  --container: 1240px;
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip; /* clip (not hidden) keeps position: sticky working */
}
body.no-scroll { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: color .3s; }
ul { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; font-weight: 700; }
em { font-family: var(--font-display); font-style: italic; font-weight: 400; color: var(--accent); }
::selection { background: var(--accent); color: #fff; }

/* ---------- 2. Utilities / buttons ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 110px 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--light { color: var(--gold); }

.title { font-size: clamp(30px, 4vw, 48px); letter-spacing: -.02em; }
.title--light { color: #fff; }
.lead { font-size: 17px; margin-top: 18px; }
.lead--light { color: rgba(255, 255, 255, .7); }

.section-head { margin-bottom: 50px; }
.section-head--center { text-align: center; max-width: 720px; margin-left: auto; margin-right: auto; }
.section-head--center .eyebrow::after { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head--split { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.section-head__text { max-width: 400px; }

.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 28px; border-radius: 100px; font-weight: 600; font-size: 15px; line-height: 1;
  overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: color .4s var(--ease), background .4s var(--ease), border-color .4s, transform .3s, box-shadow .4s;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn i { font-size: 18px; transition: transform .3s; }
.btn:hover i.ri-arrow-right-up-line, .btn:hover i.ri-arrow-right-line { transform: translateX(3px); }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 10px 24px -8px rgba(242, 92, 43, .6); }
.btn--primary::before { background: var(--ink); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark::before { background: var(--accent); }
.btn--outline { border: 1.5px solid var(--ink); color: var(--ink); }
.btn--outline::before { background: var(--ink); }
.btn--outline:hover { color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light::before { background: var(--ink); }
.btn--light:hover { color: #fff; }
.btn--ghost-light { border: 1.5px solid rgba(255, 255, 255, .5); color: #fff; }
.btn--ghost-light::before { background: #fff; }
.btn--ghost-light:hover { color: var(--ink); }
.btn--sm { padding: 12px 20px; font-size: 14px; }
.btn--block { width: 100%; }

.icon-btn {
  position: relative; width: 44px; height: 44px; border-radius: 50%;
  display: inline-grid; place-items: center; font-size: 19px; color: var(--ink);
  transition: background .3s, color .3s;
}
.icon-btn:hover { background: var(--sand); color: var(--accent); }
.icon-btn--outline { border: 1.5px solid var(--line); width: 52px; height: 52px; }
.badge {
  position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 20px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700;
  display: grid; place-items: center; transition: transform .3s var(--ease);
}
.badge.bump { animation: bump .45s var(--ease); }
@keyframes bump { 50% { transform: scale(1.5); } }

.arrow-btn {
  width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--line);
  display: grid; place-items: center; font-size: 20px; color: var(--ink);
  transition: all .35s var(--ease);
}
.arrow-btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.arrow-btn--light { border-color: rgba(255, 255, 255, .35); color: #fff; backdrop-filter: blur(6px); }
.arrow-btn.swiper-button-disabled { opacity: .35; pointer-events: none; }
.slider-nav { display: flex; gap: 10px; }

.tag {
  display: inline-block; padding: 6px 12px; border-radius: 100px; font-size: 11px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; background: rgba(13, 19, 33, .75); color: #fff;
  backdrop-filter: blur(6px);
}
.tag--accent { background: var(--accent); }
.tag--green { background: var(--green); }
.tag--soft { background: var(--accent-soft); color: var(--accent); backdrop-filter: none; }

.center-btn { text-align: center; margin-top: 50px; }

/* ---------- 3. Preloader & cursor ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 9999; background: var(--ink);
  display: grid; place-items: center; transition: opacity .6s, visibility .6s;
}
.preloader.done { opacity: 0; visibility: hidden; }
.preloader__inner { text-align: center; }
.preloader__logo svg { width: 64px; height: 64px; fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linejoin: round;
  stroke-dasharray: 160; stroke-dashoffset: 160; animation: draw 1.4s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.preloader__text { display: block; margin: 14px 0 18px; font-family: var(--font-display); font-size: 28px; color: #fff; letter-spacing: .04em; }
.preloader__bar { width: 160px; height: 2px; background: rgba(255, 255, 255, .15); border-radius: 2px; overflow: hidden; margin: 0 auto; }
.preloader__bar span { display: block; height: 100%; width: 40%; background: var(--accent); animation: loadbar 1.1s ease-in-out infinite; }
@keyframes loadbar { 0% { transform: translateX(-100%); } 100% { transform: translateX(260%); } }

.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor { display: block; position: fixed; inset: 0; pointer-events: none; z-index: 9998; }
  .cursor__dot, .cursor__ring { position: fixed; top: 0; left: 0; border-radius: 50%; transform: translate(-50%, -50%); }
  .cursor__dot { width: 6px; height: 6px; background: var(--accent); }
  .cursor__ring { width: 36px; height: 36px; border: 1.5px solid rgba(242, 92, 43, .5);
    transition: width .3s var(--ease), height .3s var(--ease), background .3s, border-color .3s; }
  .cursor.is-hover .cursor__ring { width: 64px; height: 64px; background: rgba(242, 92, 43, .1); border-color: transparent; }
  .cursor.is-drag .cursor__ring { width: 80px; height: 80px; background: var(--accent); border-color: transparent; }
  .cursor.is-drag .cursor__ring::after { content: "Drag"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
  .cursor.is-drag .cursor__dot { opacity: 0; }
}

/* ---------- 4. Header & nav ---------- */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 900; transition: transform .4s var(--ease); }
.topbar { background: rgba(13, 19, 33, .35); backdrop-filter: blur(8px); color: rgba(255, 255, 255, .8); font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, .1); transition: margin .4s var(--ease), opacity .3s; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; height: 42px; }
.topbar__info { display: flex; gap: 26px; }
.topbar__info a, .topbar__info span { display: inline-flex; align-items: center; gap: 6px; }
.topbar__info a:hover { color: var(--accent); }
.topbar__social { display: flex; gap: 14px; }
.topbar__social a:hover { color: var(--accent); }

.navbar { transition: background .4s, box-shadow .4s; }
.navbar__inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo__mark { width: 42px; height: 42px; border-radius: 12px; background: var(--accent); display: grid; place-items: center; transition: transform .5s var(--ease); }
.logo:hover .logo__mark { transform: rotate(-8deg) scale(1.05); }
.logo__mark svg { width: 24px; height: 24px; fill: #fff; }
.logo__text { font-family: var(--font-display); font-size: 26px; font-weight: 600; color: #fff; letter-spacing: -.01em; transition: color .3s; }
.logo__text em { color: var(--accent); font-style: normal; }

.nav__list { display: flex; gap: 6px; }
.nav__item { position: relative; }
.nav__link { display: flex; align-items: center; gap: 2px; padding: 10px 16px; font-weight: 600; font-size: 15px; color: #fff; border-radius: 100px; transition: color .3s, background .3s; }
.nav__link i { transition: transform .3s; }
.nav__link:hover, .nav__link.active { color: var(--accent); }
.nav__item:hover > .nav__link i { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 12px); left: 0; min-width: 230px; padding: 12px;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: all .35s var(--ease);
}
.dropdown::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.nav__item:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: 10px 14px; border-radius: 10px; font-size: 14.5px; font-weight: 500; color: var(--ink); transition: all .3s; }
.dropdown a:hover { background: var(--sand); color: var(--accent); padding-left: 20px; }

.nav__head, .nav__mobile-cta { display: none; }
.navbar__actions { display: flex; align-items: center; gap: 6px; }
.navbar__actions .icon-btn { color: #fff; }
.navbar__actions .icon-btn:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.navbar__login { display: inline-flex; align-items: center; gap: 6px; padding: 0 14px; font-weight: 600; font-size: 15px; color: #fff; }
.navbar__login:hover { color: var(--accent); }
.navbar__cta { margin-left: 6px; }

.burger { display: none; width: 44px; height: 44px; border-radius: 12px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.burger span { width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: .3s; }
.burger span:nth-child(2) { width: 14px; margin-left: 8px; }

/* scrolled header */
.header.scrolled .topbar { margin-top: -42px; opacity: 0; }
.header.scrolled .navbar { background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px); box-shadow: 0 8px 30px -12px rgba(13, 19, 33, .15); }
.header.scrolled .logo__text,
.header.scrolled .nav__link,
.header.scrolled .navbar__login,
.header.scrolled .navbar__actions .icon-btn { color: var(--ink); }
.header.scrolled .nav__link:hover, .header.scrolled .nav__link.active { color: var(--accent); }
.header.scrolled .navbar__actions .icon-btn:hover { background: var(--sand); color: var(--accent); }
.header.scrolled .burger span { background: var(--ink); }
.header.hide { transform: translateY(-100%); }

.nav-overlay { position: fixed; inset: 0; background: rgba(13, 19, 33, .55); backdrop-filter: blur(3px); z-index: 950; opacity: 0; visibility: hidden; transition: .4s; }
.nav-overlay.show { opacity: 1; visibility: visible; }

/* search overlay */
.search-overlay {
  position: fixed; inset: 0; z-index: 1000; background: rgba(13, 19, 33, .96); display: grid; place-items: center; padding: 24px;
  opacity: 0; visibility: hidden; transition: .45s var(--ease);
}
.search-overlay.show { opacity: 1; visibility: visible; }
.search-overlay__form { width: 100%; max-width: 760px; transform: translateY(30px); transition: transform .6s var(--ease); }
.search-overlay.show .search-overlay__form { transform: none; }
.search-overlay__field { display: flex; align-items: center; border-bottom: 2px solid rgba(255, 255, 255, .25); padding-bottom: 12px; }
.search-overlay__field input { flex: 1; background: none; border: 0; outline: 0; color: #fff; font-size: clamp(22px, 4vw, 40px); font-family: var(--font-display); min-width: 0; }
.search-overlay__field input::placeholder { color: rgba(255, 255, 255, .35); }
.search-overlay__field .btn { width: 60px; height: 60px; padding: 0; font-size: 22px; }
.search-overlay__tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; color: rgba(255, 255, 255, .6); font-size: 14px; align-items: center; }
.search-overlay__tags a { padding: 6px 14px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 100px; color: #fff; }
.search-overlay__tags a:hover { background: var(--accent); border-color: var(--accent); }
.search-overlay__close { position: absolute; top: 28px; right: 28px; width: 56px; height: 56px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); color: #fff; font-size: 26px; transition: transform .4s var(--ease), background .3s; }
.search-overlay__close:hover { transform: rotate(90deg); background: var(--accent); border-color: var(--accent); }

/* ---------- 5. Hero slider ---------- */
.hero { position: relative; height: 100vh; min-height: 720px; max-height: 1000px; background: var(--ink); overflow: hidden; }
.hero-swiper { height: 100%; }
.hero__slide { position: relative; overflow: hidden; display: flex; align-items: center; }
.hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.18); }
.hero__bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(13, 19, 33, .88) 0%, rgba(13, 19, 33, .55) 45%, rgba(13, 19, 33, .15) 100%),
              linear-gradient(0deg, rgba(13, 19, 33, .6), transparent 40%); }
.swiper-slide-active .hero__bg { animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.18); } to { transform: scale(1); } }

.hero__content { position: relative; z-index: 2; padding-top: 60px; padding-bottom: 120px; }
.hero__eyebrow, .hero__text, .hero__btns { opacity: 0; transform: translateY(30px); }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 100px; font-size: 14px; font-weight: 600;
  color: #fff; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); backdrop-filter: blur(8px); margin-bottom: 26px; }
.hero__eyebrow i { color: var(--accent); }
.hero__title { font-size: clamp(42px, 7vw, 92px); color: #fff; letter-spacing: -.035em; line-height: 1.02; font-weight: 800; max-width: 900px; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; transform: translateY(110%); }
.hero__title em { color: var(--accent); font-weight: 400; }
.hero__text { max-width: 540px; margin: 26px 0 38px; font-size: 18px; color: rgba(255, 255, 255, .78); }
.hero__btns { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }

.swiper-slide-active .hero__eyebrow { animation: fadeUp .9s .2s var(--ease) forwards; }
.swiper-slide-active .hero__title .line > span { animation: lineUp 1s var(--ease) forwards; }
.swiper-slide-active .hero__title .line:nth-child(1) > span { animation-delay: .35s; }
.swiper-slide-active .hero__title .line:nth-child(2) > span { animation-delay: .5s; }
.swiper-slide-active .hero__text { animation: fadeUp .9s .75s var(--ease) forwards; }
.swiper-slide-active .hero__btns { animation: fadeUp .9s .9s var(--ease) forwards; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }
@keyframes lineUp { to { transform: none; } }

.play-btn { display: inline-flex; align-items: center; gap: 14px; color: #fff; font-weight: 600; }
.play-btn span { position: relative; width: 56px; height: 56px; border-radius: 50%; background: #fff; color: var(--accent); display: grid; place-items: center; font-size: 24px; transition: transform .3s; }
.play-btn span::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #fff; animation: ripple 2s infinite; }
.play-btn:hover span { transform: scale(1.08); }
@keyframes ripple { from { transform: scale(1); opacity: .8; } to { transform: scale(1.8); opacity: 0; } }

.hero__controls { position: absolute; left: 0; right: 0; bottom: 46px; z-index: 5; display: flex; align-items: center; justify-content: space-between; }
.hero__counter { display: flex; align-items: center; gap: 16px; color: #fff; font-weight: 700; font-size: 15px; }
.hero__current { font-size: 26px; font-family: var(--font-display); }
.hero__progress { width: 140px; height: 2px; background: rgba(255, 255, 255, .25); border-radius: 2px; overflow: hidden; }
.hero__progress i { display: block; height: 100%; width: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.hero__total { opacity: .6; }
.hero__arrows { display: flex; gap: 10px; }

.hero__card {
  position: absolute; z-index: 5; right: max(24px, calc((100vw - var(--container)) / 2 + 24px)); bottom: 130px;
  display: flex; gap: 14px; align-items: center; padding: 12px; padding-right: 22px; width: 330px;
  background: rgba(255, 255, 255, .95); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  animation: floaty 5s ease-in-out infinite;
}
.hero__card img { width: 96px; height: 96px; object-fit: cover; border-radius: 12px; }
.hero__card h4 { font-size: 17px; margin: 6px 0 2px; }
.hero__card p { font-size: 12.5px; color: var(--muted); }
.hero__card strong { color: var(--accent); font-size: 18px; }
.hero__card .tag { padding: 4px 9px; font-size: 10px; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- 6. Search & marquee ---------- */
.search-wrap { position: relative; z-index: 10; margin-top: -60px; }
.search-box { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 10px 10px 10px; }
.search-box__tabs { position: relative; display: inline-flex; padding: 6px; margin: 4px 0 6px 6px; background: var(--sand); border-radius: 100px; }
.search-tab { position: relative; z-index: 1; padding: 9px 24px; font-weight: 700; font-size: 14px; color: var(--ink-soft); border-radius: 100px; transition: color .35s; }
.search-tab.active { color: #fff; }
.search-tab__glider { position: absolute; top: 6px; bottom: 6px; left: 6px; border-radius: 100px; background: var(--ink); transition: transform .45s var(--ease), width .45s var(--ease); }
.search-box__form { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr auto; align-items: center; }
.field { display: flex; flex-direction: column; gap: 4px; padding: 14px 22px; border-right: 1px solid var(--line); }
.field__label { font-size: 13px; font-weight: 700; color: var(--ink); display: flex; align-items: center; gap: 6px; }
.field__label i { color: var(--accent); font-size: 16px; }
.field input, .field select { border: 0; outline: 0; background: transparent; font-size: 15px; color: var(--muted); width: 100%; padding: 2px 0; cursor: pointer; }
.field input { cursor: text; }
.field input::placeholder { color: var(--muted); }
.search-box__actions { display: flex; gap: 10px; padding: 0 10px 0 18px; }
.search-box__actions .btn { padding: 17px 30px; }

.marquee { background: var(--ink); padding: 26px 0; overflow: hidden; margin-top: 90px; transform: rotate(-1.5deg) scale(1.02); }
.marquee__track { display: flex; align-items: center; gap: 40px; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee span { font-family: var(--font-display); font-size: clamp(26px, 3.4vw, 42px); color: #fff; white-space: nowrap; }
.marquee span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .6); font-style: italic; }
.marquee i { color: var(--accent); font-size: 26px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 7. Categories ---------- */
.categories { padding-top: 120px; }
.cat-swiper { overflow: visible !important; }
.cat-card { width: 280px !important; display: block; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s, border-color .4s; }
.cat-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.cat-card__img { height: 200px; overflow: hidden; }
.cat-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.cat-card:hover .cat-card__img img { transform: scale(1.1); }
.cat-card__body { display: flex; align-items: center; gap: 14px; padding: 18px; }
.cat-card__icon { width: 48px; height: 48px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-size: 22px; flex-shrink: 0; transition: .4s; }
.cat-card:hover .cat-card__icon { background: var(--accent); color: #fff; }
.cat-card h3 { font-size: 17px; }
.cat-card p { font-size: 13.5px; color: var(--muted); }
.cat-card__go { margin-left: auto; font-size: 22px; color: var(--ink); transition: transform .4s var(--ease), color .3s; }
.cat-card:hover .cat-card__go { transform: rotate(45deg); color: var(--accent); }

/* ---------- 8. About ---------- */
.about { background: var(--sand); position: relative; overflow: hidden; }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about__media { position: relative; padding: 0 60px 80px 0; }
.about__img { border-radius: var(--radius-lg); overflow: hidden; }
.about__img img { width: 100%; height: 100%; object-fit: cover; }
.about__img--main { height: 540px; border-radius: 200px 200px var(--radius-lg) var(--radius-lg); }
.about__img--small { position: absolute; right: 0; bottom: 0; width: 52%; height: 250px; border: 8px solid var(--sand); }
.rotating-badge { position: absolute; top: 30px; right: 10px; width: 140px; height: 140px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; }
.rotating-badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 14s linear infinite; }
.rotating-badge text { fill: #fff; font-size: 15.5px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; }
.rotating-badge__center { width: 76px; height: 76px; border-radius: 50%; background: var(--accent); display: grid; place-content: center; text-align: center; color: #fff; line-height: 1; }
.rotating-badge__center strong { font-size: 26px; font-family: var(--font-display); }
.rotating-badge__center small { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
@keyframes spin { to { transform: rotate(360deg); } }
.about__clients { position: absolute; left: -10px; bottom: 30px; background: #fff; padding: 16px 20px; border-radius: var(--radius); box-shadow: var(--shadow); display: flex; align-items: center; gap: 14px; }
.about__clients p { font-size: 13px; line-height: 1.4; }
.about__clients strong { color: var(--ink); }
.avatars { display: flex; }
.avatars img, .avatars span { width: 40px; height: 40px; border-radius: 50%; border: 2px solid #fff; object-fit: cover; margin-left: -12px; }
.avatars img:first-child { margin-left: 0; }
.avatars span { background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; }

.tabs { margin-top: 30px; }
.tabs__nav { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.tabs__btn { padding: 11px 22px; border-radius: 100px; font-weight: 600; font-size: 14.5px; background: #fff; color: var(--ink); transition: .35s; }
.tabs__btn.active, .tabs__btn:hover { background: var(--ink); color: #fff; }
.tabs__panel { display: none; }
.tabs__panel.active { display: block; animation: fadeUp .5s var(--ease) both; opacity: 0; transform: translateY(10px); }
.check-list li { display: flex; align-items: center; gap: 10px; padding: 6px 0; color: var(--ink); font-weight: 500; }
.check-list i { color: var(--accent); font-size: 20px; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 34px 0; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat strong { display: block; font-family: var(--font-display); font-size: 40px; font-weight: 600; color: var(--ink); line-height: 1; margin-bottom: 6px; }
.stat > span { font-size: 14px; }
.about__cta { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.call-link { display: flex; align-items: center; gap: 12px; }
.call-link > span { width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--accent); display: grid; place-items: center; font-size: 20px; box-shadow: var(--shadow-sm); transition: .3s; }
.call-link:hover > span { background: var(--accent); color: #fff; }
.call-link small { display: block; font-size: 13px; }
.call-link strong { color: var(--ink); font-size: 17px; }

/* ---------- 9. Properties ---------- */
.filter { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 30px; padding: 6px; background: var(--sand); border-radius: 100px; }
.filter__btn { padding: 10px 22px; border-radius: 100px; font-weight: 600; font-size: 14.5px; color: var(--ink-soft); transition: .35s var(--ease); }
.filter__btn:hover { color: var(--ink); }
.filter__btn.active { background: #fff; color: var(--accent); box-shadow: var(--shadow-sm); }

.property-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.property-card { background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column;
  transition: transform .5s var(--ease), box-shadow .5s, border-color .4s, opacity .4s; }
.property-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.property-card.is-hidden { display: none; }
.property-card.is-filtering { animation: popIn .55s var(--ease) both; }
@keyframes popIn { from { opacity: 0; transform: translateY(24px) scale(.97); } to { opacity: 1; transform: none; } }

.property-card__media { position: relative; height: 260px; margin: 10px 10px 0; border-radius: var(--radius); overflow: hidden; }
.card-swiper { height: 100%; }
.card-swiper img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.property-card:hover .card-swiper .swiper-slide-active img { transform: scale(1.06); }
.card-swiper .swiper-pagination { bottom: 12px !important; opacity: 0; transition: opacity .3s; }
.property-card:hover .card-swiper .swiper-pagination { opacity: 1; }
.card-swiper .swiper-pagination-bullet { width: 7px; height: 7px; background: #fff; opacity: .6; transition: .3s; }
.card-swiper .swiper-pagination-bullet-active { width: 20px; border-radius: 4px; opacity: 1; }
.property-card__media::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(13, 19, 33, .35), transparent 35%, transparent 70%, rgba(13, 19, 33, .45)); pointer-events: none; }
.property-card__tags { position: absolute; top: 14px; left: 14px; z-index: 2; display: flex; gap: 6px; }
.property-card__tools { position: absolute; top: 14px; right: 14px; z-index: 2; display: flex; flex-direction: column; gap: 8px; }
.tool-btn { width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--ink); display: grid; place-items: center; font-size: 17px;
  transform: translateX(60px); transition: transform .45s var(--ease), background .3s, color .3s; }
.tool-btn:nth-child(2) { transition-delay: .05s; }
.property-card:hover .tool-btn, .tool-btn.active { transform: none; }
.tool-btn:hover { background: var(--accent); color: #fff; }
.fav-btn.active { background: var(--accent); color: #fff; }
.fav-btn.pop { animation: bump .45s var(--ease); }
.property-card__photos { position: absolute; bottom: 14px; right: 14px; z-index: 2; color: #fff; font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 4px; }

.property-card__body { padding: 20px 22px 18px; flex: 1; }
.property-card__type { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.property-card h3 { font-size: 21px; margin: 4px 0 6px; }
.property-card h3 a:hover { color: var(--accent); }
.property-card__loc { font-size: 14px; display: flex; align-items: center; gap: 5px; }
.property-card__meta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.property-card__meta li { display: flex; align-items: center; gap: 6px; padding: 7px 12px; background: var(--sand); border-radius: 100px; font-size: 13px; font-weight: 600; color: var(--ink); }
.property-card__meta i { color: var(--accent); font-size: 15px; }
.property-card__foot { display: flex; align-items: center; justify-content: space-between; padding: 16px 22px; border-top: 1px dashed var(--line); }
.agent-mini { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--ink); }
.agent-mini img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.price { font-size: 21px; color: var(--ink); font-weight: 800; letter-spacing: -.01em; }
.price small { font-size: 13px; font-weight: 500; color: var(--muted); }

/* ---------- 10. Steps ---------- */
.steps { background: var(--sand); }
.steps__grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.steps__grid::before { content: ""; position: absolute; top: 88px; left: 16%; right: 16%; height: 2px; background: repeating-linear-gradient(90deg, var(--accent) 0 10px, transparent 10px 20px); opacity: .35; }
.step { position: relative; text-align: center; padding: 50px 34px 40px; background: #fff; border-radius: var(--radius-lg); transition: transform .5s var(--ease), box-shadow .5s; }
.step:hover { transform: translateY(-10px); box-shadow: var(--shadow); }
.step__num { position: absolute; top: 18px; right: 24px; font-family: var(--font-display); font-size: 54px; font-weight: 600; color: transparent; -webkit-text-stroke: 1.5px var(--line); line-height: 1; transition: -webkit-text-stroke-color .4s; }
.step:hover .step__num { -webkit-text-stroke-color: var(--accent); }
.step__icon { position: relative; width: 80px; height: 80px; margin: 0 auto 26px; border-radius: 24px; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 34px; transition: transform .6s var(--ease), background .4s; }
.step:hover .step__icon { background: var(--accent); transform: rotateY(180deg); }
.step:hover .step__icon i { transform: rotateY(180deg); }
.step h3 { font-size: 22px; margin-bottom: 10px; }

/* ---------- 11. Spotlight ---------- */
.spotlight { position: relative; background: var(--ink); }
.spotlight-swiper { height: 760px; }
.spotlight__slide { position: relative; overflow: hidden; display: flex; align-items: center; }
.spotlight__bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.1); transition: transform 1.6s var(--ease); }
.spotlight__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13, 19, 33, .85), rgba(13, 19, 33, .2) 70%); }
.swiper-slide-active .spotlight__bg { transform: scale(1); }
.spotlight__inner { position: relative; z-index: 2; }
.spotlight__card { max-width: 500px; padding: 44px; border-radius: var(--radius-lg); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .15); backdrop-filter: blur(18px); color: #fff;
  opacity: 0; transform: translateX(-40px); transition: all 1s .3s var(--ease); }
.swiper-slide-active .spotlight__card { opacity: 1; transform: none; }
.spotlight__card h2 { font-size: clamp(32px, 4vw, 50px); color: #fff; font-family: var(--font-display); font-weight: 600; }
.spotlight__loc { display: flex; align-items: center; gap: 6px; margin: 8px 0 26px; color: rgba(255, 255, 255, .7); }
.spotlight__meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, .15); border-bottom: 1px solid rgba(255, 255, 255, .15); }
.spotlight__meta strong { display: block; font-size: 22px; }
.spotlight__meta span { font-size: 13px; color: rgba(255, 255, 255, .6); }
.spotlight__price { display: flex; align-items: baseline; gap: 14px; margin: 24px 0; }
.spotlight__price del { color: rgba(255, 255, 255, .5); font-size: 18px; }
.spotlight__price strong { font-size: 34px; color: var(--gold); font-weight: 800; }
.spotlight__nav { position: absolute; left: 0; right: 0; bottom: 50px; z-index: 5; display: flex; justify-content: space-between; align-items: center; }
.spotlight-pagination { display: flex; gap: 10px; }
.spotlight-pagination .swiper-pagination-bullet { width: 44px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .3); opacity: 1; margin: 0 !important; transition: .4s; }
.spotlight-pagination .swiper-pagination-bullet-active { width: 80px; background: var(--accent); }

/* ---------- 12. Cities / Why / Calculator ---------- */
.city-swiper { padding-left: max(24px, calc((100vw - var(--container)) / 2 + 24px)) !important; }
.city-card { position: relative; display: block; height: 460px; border-radius: var(--radius-lg); overflow: hidden; }
.city-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.city-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(13, 19, 33, .85), transparent 55%); transition: opacity .5s; }
.city-card:hover img { transform: scale(1.1); }
.city-card__info { position: absolute; left: 26px; bottom: 26px; z-index: 2; color: #fff; transition: transform .5s var(--ease); }
.city-card__info span { font-size: 14px; font-weight: 600; color: var(--gold); }
.city-card__info h3 { color: #fff; font-size: 30px; font-family: var(--font-display); font-weight: 600; }
.city-card__go { position: absolute; top: 22px; right: 22px; z-index: 2; width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; font-size: 22px;
  transform: scale(0) rotate(-90deg); transition: transform .5s var(--ease); }
.city-card:hover .city-card__go { transform: scale(1) rotate(0); }
.city-card:hover .city-card__info { transform: translateY(-6px); }
.city-swiper__bar { display: flex; align-items: center; gap: 30px; margin-top: 40px; }
.city-scrollbar { position: relative !important; flex: 1; height: 3px !important; background: var(--line) !important; left: 0 !important; bottom: 0 !important; width: auto !important; }
.city-scrollbar .swiper-scrollbar-drag { background: var(--accent); cursor: grab; }

.why { background: var(--ink); position: relative; overflow: hidden; }
.why::before { content: ""; position: absolute; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(242, 92, 43, .25), transparent 70%); top: -200px; right: -200px; }
.why__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.features { margin-top: 36px; display: grid; gap: 14px; }
.feature { display: flex; gap: 18px; padding: 20px; border-radius: var(--radius); border: 1px solid rgba(255, 255, 255, .08); transition: background .4s, border-color .4s, transform .4s var(--ease); }
.feature:hover { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .18); transform: translateX(8px); }
.feature__icon { width: 54px; height: 54px; flex-shrink: 0; border-radius: 16px; background: rgba(242, 92, 43, .15); color: var(--accent); display: grid; place-items: center; font-size: 24px; }
.feature h4 { color: #fff; font-size: 18px; margin-bottom: 4px; }
.feature p { color: rgba(255, 255, 255, .6); font-size: 14.5px; }

.calc { background: #fff; border-radius: var(--radius-lg); padding: 38px; box-shadow: var(--shadow-lg); }
.calc__title { display: flex; align-items: center; gap: 10px; font-size: 22px; margin-bottom: 26px; }
.calc__title i { color: var(--accent); }
.calc__row { margin-bottom: 22px; }
.calc__label { display: flex; justify-content: space-between; font-size: 14.5px; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.calc__label output { color: var(--accent); font-weight: 800; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; outline: none; cursor: pointer;
  background: linear-gradient(90deg, var(--accent) var(--fill, 50%), var(--sand-2) var(--fill, 50%)); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 5px solid var(--accent); box-shadow: 0 4px 10px rgba(242, 92, 43, .4); transition: transform .2s; }
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.2); }
input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 5px solid var(--accent); }
.calc__terms { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.term-btn { padding: 10px 0; border-radius: 12px; border: 1.5px solid var(--line); font-weight: 600; font-size: 14px; color: var(--ink); transition: .3s; }
.term-btn:hover { border-color: var(--accent); }
.term-btn.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.calc__result { display: flex; align-items: center; gap: 30px; margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); }
.donut { --a: 75; --b: 90; width: 150px; height: 150px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(var(--accent) 0 calc(var(--a) * 1%), var(--gold) 0 calc(var(--b) * 1%), var(--ink) 0); transition: background .4s; }
.donut__hole { width: 108px; height: 108px; border-radius: 50%; background: #fff; display: grid; place-content: center; text-align: center; }
.donut__hole small { font-size: 12px; color: var(--muted); }
.donut__hole strong { font-size: 22px; color: var(--ink); font-weight: 800; }
.calc__legend { flex: 1; display: grid; gap: 12px; }
.calc__legend li { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.calc__legend strong { margin-left: auto; color: var(--ink); }
.dot { width: 12px; height: 12px; border-radius: 4px; }
.dot--a { background: var(--accent); } .dot--b { background: var(--gold); } .dot--c { background: var(--ink); }

/* ---------- 13. Agents ---------- */
.agent-card { text-align: center; }
.agent-card__img { position: relative; height: 360px; border-radius: var(--radius-lg); overflow: hidden; background: var(--sand); }
.agent-card__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.25); transition: transform .9s var(--ease), filter .5s; }
.agent-card:hover .agent-card__img img { transform: scale(1.06); filter: none; }
.agent-card__social { position: absolute; left: 50%; bottom: 20px; display: flex; gap: 8px; transform: translate(-50%, 80px); transition: transform .5s var(--ease); }
.agent-card:hover .agent-card__social { transform: translate(-50%, 0); }
.agent-card__social a { width: 42px; height: 42px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; font-size: 17px; transition: .3s; }
.agent-card__social a:hover { background: var(--accent); color: #fff; }
.agent-card__body { padding: 20px 10px 0; }
.agent-card h3 { font-size: 21px; }
.agent-card p { font-size: 14.5px; margin: 2px 0 8px; }
.agent-card__body span { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--accent); background: var(--accent-soft); padding: 5px 12px; border-radius: 100px; }

/* ---------- 14. Testimonials ---------- */
.testimonials { background: var(--sand); }
.testimonials__grid { display: grid; grid-template-columns: 380px 1fr; gap: 60px; align-items: center; }
.rating-box { display: flex; align-items: center; gap: 16px; margin: 30px 0; padding: 20px 24px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.rating-box > strong { font-family: var(--font-display); font-size: 54px; color: var(--ink); line-height: 1; }
.rating-box span { font-size: 14px; }
.stars { color: var(--gold); font-size: 17px; display: flex; gap: 2px; }
.testi-swiper { width: 100%; padding-bottom: 50px !important; min-width: 0; }
.testi-card { background: #fff; border-radius: var(--radius-lg); padding: 38px; position: relative; height: auto !important; transition: transform .5s var(--ease), box-shadow .5s; }
.testi-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.testi-card__quote { position: absolute; top: 26px; right: 30px; font-size: 64px; color: var(--accent-soft); line-height: 1; }
.testi-card p { font-size: 17px; color: var(--ink); margin: 18px 0 26px; line-height: 1.7; }
.testi-card__author { display: flex; align-items: center; gap: 14px; padding-top: 22px; border-top: 1px solid var(--line); }
.testi-card__author img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; }
.testi-card__author h4 { font-size: 17px; }
.testi-card__author span { font-size: 13.5px; }
.testi-pagination { bottom: 0 !important; text-align: left; }
.testi-pagination .swiper-pagination-bullet { width: 10px; height: 10px; background: var(--ink); opacity: .2; transition: .3s; }
.testi-pagination .swiper-pagination-bullet-active { width: 30px; border-radius: 5px; background: var(--accent); opacity: 1; }

/* ---------- 15. Video CTA ---------- */
.video-cta { position: relative; padding: 170px 0; overflow: hidden; text-align: center; }
.video-cta__bg { position: absolute; inset: -35% 0; background-size: cover; background-position: center; will-change: transform; }
.video-cta::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(13, 19, 33, .65); }
.video-cta__inner { position: relative; z-index: 2; }
.video-cta__play { position: relative; width: 100px; height: 100px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 40px; display: grid; place-items: center; margin: 0 auto 34px; transition: transform .4s var(--ease); }
.video-cta__play::before, .video-cta__play::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--accent); animation: ripple 2.4s infinite; }
.video-cta__play::after { animation-delay: 1.2s; }
.video-cta__play:hover { transform: scale(1.1); }
.video-cta h2 { color: #fff; font-size: clamp(32px, 5vw, 60px); letter-spacing: -.02em; max-width: 760px; margin: 0 auto; }
.video-cta p { color: rgba(255, 255, 255, .75); font-size: 18px; margin-top: 16px; }

/* ---------- 16. Blog / CTA ---------- */
.blog__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.post-card { border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s; }
.post-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.post-card__img { position: relative; display: block; height: 240px; overflow: hidden; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.post-card:hover .post-card__img img { transform: scale(1.08); }
.post-card__date { position: absolute; top: 16px; left: 16px; width: 60px; padding: 8px 0; border-radius: 14px; background: #fff; text-align: center; font-size: 12px; font-weight: 600; text-transform: uppercase; color: var(--muted); line-height: 1.2; }
.post-card__date strong { display: block; font-size: 22px; color: var(--accent); font-family: var(--font-display); }
.post-card__body { padding: 24px; }
.post-card__meta { display: flex; align-items: center; gap: 14px; font-size: 13px; margin-bottom: 12px; }
.post-card__meta span:last-child { display: flex; align-items: center; gap: 4px; }
.post-card h3 { font-size: 21px; margin-bottom: 16px; }
.post-card h3 a { background: linear-gradient(var(--accent), var(--accent)) left bottom / 0 1.5px no-repeat; transition: background-size .5s var(--ease), color .3s; }
.post-card:hover h3 a { background-size: 100% 1.5px; }
.read-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14.5px; color: var(--ink); }
.read-more i { transition: transform .3s; }
.read-more:hover { color: var(--accent); }
.read-more:hover i { transform: translateX(5px); }

.cta-band { padding: 0 0 110px; }
.cta-band__box { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  padding: 60px 64px; border-radius: var(--radius-lg); background: linear-gradient(120deg, var(--accent) 0%, #ff8a4c 100%); }
.cta-band__text { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: clamp(26px, 3vw, 38px); max-width: 560px; }
.cta-band p { color: rgba(255, 255, 255, .85); margin-top: 8px; }
.cta-band__btns { position: relative; z-index: 1; display: flex; gap: 14px; flex-wrap: wrap; }
.cta-band__shape { position: absolute; right: 26%; top: -40px; width: 260px; fill: rgba(255, 255, 255, .1); animation: floaty 7s ease-in-out infinite; }

/* ---------- 17. Footer ---------- */
.footer { background: var(--ink); color: rgba(255, 255, 255, .6); padding-top: 90px; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.5fr; gap: 50px; padding-bottom: 60px; }
.footer__brand p { margin: 20px 0 24px; max-width: 320px; }
.footer__social { display: flex; gap: 10px; }
.footer__social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .15); display: grid; place-items: center; color: #fff; transition: .35s var(--ease); }
.footer__social a:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-4px); }
.footer h4 { color: #fff; font-size: 18px; margin-bottom: 22px; }
.footer__col li { margin-bottom: 12px; }
.footer__col a { position: relative; transition: color .3s, padding .3s; }
.footer__col a:hover { color: var(--accent); padding-left: 10px; }
.footer__col a::before { content: ""; position: absolute; left: 0; top: 50%; width: 0; height: 2px; background: var(--accent); transition: width .3s; }
.footer__col a:hover::before { width: 6px; }
.newsletter { display: flex; margin: 18px 0 22px; padding: 6px; border-radius: 100px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.newsletter input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; padding: 0 16px; color: #fff; }
.newsletter input::placeholder { color: rgba(255, 255, 255, .45); }
.newsletter .btn { width: 48px; height: 48px; padding: 0; }
.footer__contact li { display: flex; gap: 10px; align-items: center; margin-bottom: 8px; font-size: 14.5px; }
.footer__contact i { color: var(--accent); }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 26px 0; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; }
.footer__bottom div { display: flex; gap: 24px; }
.footer__bottom a:hover { color: var(--accent); }
.logo--light .logo__text { color: #fff; }

/* ---------- 18. Modal, to-top, reveal ---------- */
.modal { position: fixed; inset: 0; z-index: 1100; background: rgba(13, 19, 33, .9); display: grid; place-items: center; padding: 24px; opacity: 0; visibility: hidden; transition: .4s; }
.modal.show { opacity: 1; visibility: visible; }
.modal__box { position: relative; width: 100%; max-width: 960px; transform: scale(.9); transition: transform .5s var(--ease); }
.modal.show .modal__box { transform: none; }
.modal__frame { aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; }
.modal__frame iframe { width: 100%; height: 100%; border: 0; }
.modal__close { position: absolute; top: -56px; right: 0; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--ink); font-size: 22px; transition: transform .4s var(--ease); }
.modal__close:hover { transform: rotate(90deg); }

.to-top { position: fixed; right: 26px; bottom: 26px; z-index: 800; width: 54px; height: 54px; border-radius: 50%; background: #fff; box-shadow: var(--shadow);
  display: grid; place-items: center; color: var(--ink); font-size: 20px; opacity: 0; visibility: hidden; transform: translateY(20px); transition: .4s var(--ease); }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--accent); color: #fff; }
.to-top svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top circle { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-dasharray: 138.2; stroke-dashoffset: 138.2; stroke-linecap: round; }
.to-top i { position: relative; }

[data-reveal] { opacity: 0; transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0ms); }
[data-reveal="up"] { transform: translateY(50px); }
[data-reveal="left"] { transform: translateX(60px); }
[data-reveal="right"] { transform: translateX(-60px); }
[data-reveal="zoom"] { transform: scale(.7); }
[data-reveal].revealed { opacity: 1; transform: none; }

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

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
  .navbar__login { display: none; }
  .nav__link { padding: 10px 12px; }
  .search-box__form { grid-template-columns: 1fr 1fr; }
  .field:nth-child(2) { border-right: 0; }
  .field:nth-child(1), .field:nth-child(2) { border-bottom: 1px solid var(--line); }
  .search-box__actions { grid-column: 1 / -1; padding: 14px 12px 6px; }
  .search-box__actions .btn { flex: 1; }
  .field:nth-child(4) { border-right: 0; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 991px) {
  :root { --header-h: 74px; }
  /* backdrop-filter would make the fixed mobile menu position inside the bar */
  .navbar { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
  .header.scrolled .navbar { background: #fff; }
  .section { padding: 84px 0; }
  .topbar { display: none; }
  .burger { display: flex; }
  .navbar__cta { display: none; }

  .nav { position: fixed; top: 0; right: 0; bottom: 0; width: min(360px, 88vw); z-index: 1000; background: #fff; padding: 24px; overflow-y: auto;
    display: flex; flex-direction: column; transform: translateX(100%); transition: transform .5s var(--ease); }
  .nav.open { transform: none; }
  .nav__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; }
  .nav__head .logo__text { color: var(--ink); }
  .nav__close { width: 44px; height: 44px; border-radius: 50%; background: var(--sand); font-size: 22px; color: var(--ink); }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__item { border-bottom: 1px solid var(--line); }
  .nav__link { color: var(--ink) !important; justify-content: space-between; padding: 16px 4px; border-radius: 0; font-size: 16px; }
  .nav__link.active { color: var(--accent) !important; }
  .nav__item:hover > .nav__link i { transform: none; }
  .nav__item.open > .nav__link i { transform: rotate(180deg); }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0 0 0 10px; max-height: 0; overflow: hidden; transition: max-height .4s var(--ease), padding .4s; min-width: 0; }
  .dropdown::before { display: none; }
  .nav__item.open .dropdown { max-height: 400px; padding-bottom: 12px; }
  .nav__mobile-cta { display: block; margin-top: auto; padding-top: 30px; }

  .hero { min-height: 680px; }
  .hero__card { display: none; }
  .about__grid, .why__grid, .testimonials__grid { grid-template-columns: 1fr; gap: 60px; }
  .about__media { max-width: 560px; }
  .property-grid, .blog__grid { grid-template-columns: repeat(2, 1fr); }
  .steps__grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .steps__grid::before { display: none; }
  .spotlight-swiper { height: 720px; }
  .city-card { height: 400px; }
  .cta-band__box { padding: 48px 36px; }
  .cta-band__shape { right: -40px; }
}

@media (max-width: 767px) {
  .container { padding: 0 16px; }
  .section { padding: 70px 0; }
  [data-reveal="left"], [data-reveal="right"] { transform: translateY(40px); }
  .navbar__actions .icon-btn--badge { display: none; }
  .hero { height: 100svh; min-height: 640px; }
  .hero__content { padding-bottom: 140px; }
  .hero__text { font-size: 16px; }
  .hero__controls { bottom: 90px; }
  .hero__progress { width: 70px; }
  .arrow-btn { width: 46px; height: 46px; }
  .search-wrap { margin-top: -70px; }
  .search-box__form { grid-template-columns: 1fr; }
  .field { border-right: 0 !important; border-bottom: 1px solid var(--line); padding: 12px 16px; }
  .field:nth-child(4) { border-bottom: 0; }
  .search-box__tabs { margin-left: 4px; }
  .search-tab { padding: 8px 18px; }
  .marquee { margin-top: 60px; padding: 18px 0; }
  .categories { padding-top: 90px; }
  .cat-card { width: 240px !important; }
  .about__media { padding: 0 30px 60px 0; }
  .about__img--main { height: 400px; }
  .about__img--small { height: 170px; }
  .rotating-badge { width: 110px; height: 110px; right: 0; }
  .rotating-badge text { font-size: 18px; }
  .rotating-badge__center { width: 60px; height: 60px; }
  .about__clients { left: 0; bottom: 0; padding: 12px 14px; }
  .stats { gap: 10px; }
  .stat strong { font-size: 30px; }
  .stat > span { font-size: 12.5px; }
  .property-grid, .blog__grid { grid-template-columns: 1fr; }
  .tool-btn { transform: none; }
  .card-swiper .swiper-pagination { opacity: 1; }
  .spotlight-swiper { height: 760px; }
  .spotlight__card { padding: 28px 22px; }
  .spotlight__meta { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .city-swiper { padding-left: 16px !important; }
  .city-card { height: 360px; }
  .calc { padding: 26px 20px; }
  .calc__result { flex-direction: column; align-items: stretch; }
  .donut { margin: 0 auto; }
  .testi-card { padding: 28px 22px; }
  .video-cta { padding: 120px 0; }
  .cta-band__box { padding: 40px 24px; }
  .cta-band__btns, .cta-band__btns .btn { width: 100%; }
  .footer__top { grid-template-columns: 1fr; gap: 36px; }
  .footer__bottom { justify-content: center; text-align: center; }
  .to-top { right: 16px; bottom: 16px; }
}

/* ---------- Accessibility: keyboard focus + skip link ---------- */
:focus { outline: none; }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline-offset: 1px; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 10000; padding: 12px 18px; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 700; transform: translateY(-150%); transition: transform .25s; }
.lx .skip-link, .bx .skip-link { background: var(--accent); color: #0b0b0d; }
.skip-link:focus { transform: none; }

/* ---------- Form feedback (inline message + toast) ---------- */
.f-ok { display: none; align-items: center; gap: 8px; margin-top: 12px; padding: 11px 14px; border-radius: 10px; background: #e6f7ef; color: #0f7a52; font-weight: 700; font-size: 14px; }
.f-ok.show { display: flex; animation: fadeUp .4s var(--ease) both; }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 1300; display: flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 14px; background: #13213c; color: #fff; font-weight: 600; font-size: 15px; box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .4); transform: translate(-50%, 140%); opacity: 0; transition: transform .45s var(--ease), opacity .3s; pointer-events: none; max-width: calc(100% - 32px); }
.toast i { color: #4ade80; font-size: 20px; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }

/* ---------- Mega dropdown ("Elements" menu, shared by all pages) ---------- */
.dropdown.mega { left: 50%; width: 720px; padding: 18px; display: grid; grid-template-columns: 1fr 1fr 220px; gap: 6px 10px; transform: translate(-50%, 12px); }
.nav__item:hover .dropdown.mega { transform: translate(-50%, 0); }
.mega__title { grid-column: 1 / 3; padding: 4px 12px 8px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.dropdown.mega a.mega__link { display: flex; align-items: center; gap: 12px; padding: 10px 12px; }
.dropdown.mega a.mega__link:hover { padding-left: 12px; }
.mega__link i { width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-size: 20px; transition: background .3s, color .3s; }
.mega__link:hover i { background: var(--accent); color: #fff; }
.mega__link b { display: block; font-size: 14.5px; color: var(--ink); }
.mega__link small { display: block; font-size: 12.5px; color: var(--muted); font-weight: 500; }
.mega__promo { grid-column: 3; grid-row: 1 / span 4; position: relative; display: flex !important; flex-direction: column; justify-content: flex-end; min-height: 230px; padding: 18px !important; border-radius: 14px !important; overflow: hidden; color: #fff !important; background: #13213c center / cover; }
.mega__promo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 18, 36, .9), rgba(10, 18, 36, .1)); }
.mega__promo > * { position: relative; }
.mega__promo b { font-size: 17px; line-height: 1.25; }
.mega__promo small { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; font-weight: 700; font-size: 13px; }
.dropdown.mega a.mega__promo:hover { padding-left: 18px; background-color: #13213c; }
@media (max-width: 1199px) { .dropdown.mega { width: 560px; grid-template-columns: 1fr 1fr; } .mega__promo { display: none !important; } }
@media (max-width: 991px) {
  .dropdown.mega { width: auto; display: grid; grid-template-columns: 1fr; transform: none !important; left: 0; padding: 0 0 0 10px; gap: 0; }
  .nav__item.open .dropdown.mega { padding-bottom: 12px; max-height: 640px; }
  .mega__title { grid-column: auto; padding: 8px 4px; }
  .mega__link i { width: 34px; height: 34px; font-size: 17px; }
}
