/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 17px 34px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
  white-space: nowrap;
}

.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--gold);
  color: var(--black);
}
.btn-primary:hover { background: var(--gold-light); }

.btn-outline-dark {
  border-color: var(--line-on-dark-strong);
  color: var(--text-on-dark);
}
.btn-outline-dark:hover { border-color: var(--gold); color: var(--gold); }

.btn-outline-light {
  border-color: var(--line-on-light-strong);
  color: var(--text-on-light);
}
.btn-outline-light:hover { border-color: var(--gold-dim); color: var(--gold-dim); }

.btn-ghost {
  padding: 0;
  color: inherit;
  gap: 10px;
  font-size: 0.75rem;
}
.btn-ghost .arrow { transition: transform var(--dur-fast) var(--ease); }
.btn-ghost:hover .arrow { transform: translateX(6px); }

.btn-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--line-on-dark-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.btn-icon:hover { background: var(--gold); border-color: var(--gold); }
.btn-icon:hover svg { stroke: var(--black); }
.btn-icon svg { transition: stroke var(--dur-fast) var(--ease); }

/* ---------- Preloader ----------
   Two black curtain panels cover the screen; a big counter runs 0→100 at
   the centre seam, then the panels part like double doors to reveal the
   page underneath (instead of a plain slide-up + thin progress bar). */
.preloader {
  position: fixed;
  inset: 0;
  z-index: var(--z-preloader);
  overflow: hidden;
}

.preloader__panel {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  background: var(--black);
}

.preloader__panel--l { left: 0; }
.preloader__panel--r { right: 0; }

.preloader__center {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.preloader__mark {
  width: 38px;
  height: 38px;
  opacity: 0;
}

.preloader__count {
  display: flex;
  align-items: flex-start;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3.4rem, 9vw, 6.6rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--text-on-dark);
}

.preloader__count-sign {
  font-size: 0.36em;
  margin-top: 0.22em;
  margin-left: 0.08em;
  color: var(--gold);
}

.preloader__label {
  font-size: 0.66rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-on-dark-muted);
  opacity: 0;
}

/* ---------- Cursor ----------
   A single ring cursor (no separate dot). It grows and fills gold with a
   "View" label over clickable media (property cards, pillars, location
   panels); over ordinary links/buttons it just grows and outlines gold. */
.cursor {
  display: none;
}

.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid rgba(245, 242, 234, 0.7);
  background: transparent;
  pointer-events: none;
  z-index: var(--z-cursor);
  transform: translate(-50%, -50%);
  display: none;
  align-items: center;
  justify-content: center;
  transition: width 0.4s var(--ease-out), height 0.4s var(--ease-out),
    background-color 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
}

.cursor-ring__label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--black);
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out);
  white-space: nowrap;
}

.cursor-ring.is-active {
  width: 48px;
  height: 48px;
  border-color: var(--gold);
}

.cursor-ring.is-media {
  width: 92px;
  height: 92px;
  background: var(--gold);
  border-color: var(--gold);
}

.cursor-ring.is-media .cursor-ring__label {
  opacity: 1;
  transform: scale(1);
}

@media (hover: hover) and (pointer: fine) {
  .cursor-ring { display: flex; }
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  padding: 28px 0;
  transition: padding var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
  border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
  padding: 16px 0;
  background: rgba(10, 10, 11, 0.82);
  backdrop-filter: blur(14px);
  border-color: var(--line-on-dark);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav__logo svg { width: 26px; height: 26px; }

.nav__logo-text {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.05em;
}

.nav__logo-text b { color: var(--gold); font-weight: 500; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 44px;
}

.nav__links a {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 4px;
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--dur-fast) var(--ease);
}

.nav__links a:hover::after,
.nav__links a.is-active::after { width: 100%; }

.nav__right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 26px;
}

.nav__toggle span {
  height: 1px;
  background: var(--text-on-dark);
  width: 100%;
  transition: transform var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease);
}

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 190;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 var(--gutter);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-med) var(--ease);
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu__links {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.mobile-menu__links a {
  font-family: var(--font-display);
  font-size: clamp(2rem, 9vw, 3rem);
  color: var(--text-on-dark);
}

.mobile-menu__foot {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--text-on-dark-muted);
}

/* ---------- Property card ---------- */
.p-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
}

.p-card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--black-elev);
}

.p-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease-out);
}

.p-card:hover .p-card__media img {
  transform: scale(1.08);
}

.p-card__tag {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 7px 14px;
  background: rgba(10, 10, 11, 0.55);
  backdrop-filter: blur(6px);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid var(--line-on-dark);
}

.p-card__fav {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(10, 10, 11, 0.55);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.p-card__price {
  position: absolute;
  left: 18px;
  bottom: 18px;
  color: var(--white);
}

.p-card__price .amount {
  font-family: var(--font-display);
  font-size: 1.5rem;
  display: block;
}

.p-card__body {
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.p-card__name {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.p-card__loc {
  font-size: 0.8rem;
  color: var(--text-on-dark-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.p-card__specs {
  display: flex;
  gap: 14px;
  font-size: 0.76rem;
  color: var(--text-on-dark-muted);
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line-on-dark);
}

.p-card__specs span { display: flex; align-items: center; gap: 6px; }

/* ---------- Stat block ---------- */
.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat__num {
  font-size: clamp(2.4rem, 4.2vw, 3.6rem);
  display: flex;
  align-items: baseline;
  gap: 3px;
}

.stat__label {
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-on-dark-muted);
}

/* ---------- Pillar (service) card ---------- */
.pillar {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  min-height: 480px;
  display: flex;
  align-items: flex-end;
}

.pillar__media {
  position: absolute;
  inset: 0;
}

.pillar__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}

.pillar:hover .pillar__media img { transform: scale(1.06); }

.pillar__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 6, 7, 0.92) 0%, rgba(6, 6, 7, 0.35) 55%, rgba(6, 6, 7, 0.05) 100%);
}

.pillar__body {
  position: relative;
  padding: 40px;
  z-index: 1;
}


.pillar__title {
  margin-bottom: 12px;
}

.pillar__desc {
  max-width: 320px;
  color: var(--text-on-dark-muted);
  margin-bottom: 20px;
}

/* ---------- Badge / chip ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  border: 1px solid var(--line-on-dark-strong);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 100px;
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}

.chip.is-active,
.chip:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
}

.chip--light {
  border-color: var(--line-on-light-strong);
  color: var(--text-on-light);
}
.chip--light.is-active,
.chip--light:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--ivory);
}

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line-on-dark);
  border-bottom: 1px solid var(--line-on-dark);
  padding: 26px 0;
}

.marquee__track {
  display: flex;
  gap: 60px;
  width: max-content;
  animation: marquee 32s linear infinite;
}

.marquee__track span {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  color: var(--text-on-dark-muted);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 60px;
}

.marquee__track span i {
  color: var(--gold);
  font-style: normal;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Testimonial ---------- */
.testi {
  display: none;
}
.testi.is-active { display: block; }

.testi__quote {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  line-height: 1.4;
  max-width: 880px;
}

.testi__author {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.testi__author-name { font-weight: 600; font-size: 0.9rem; }
.testi__author-role { font-size: 0.8rem; color: var(--text-on-dark-muted); }

.testi__nav {
  display: flex;
  gap: 12px;
  margin-top: 44px;
}

.testi__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line-on-dark-strong);
  transition: background var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.testi__dot.is-active { background: var(--gold); transform: scale(1.3); }

/* ---------- Footer ---------- */
.footer {
  background: var(--black);
  color: var(--text-on-dark);
  padding-top: clamp(70px, 9vw, 120px);
  border-top: 1px solid var(--line-on-dark);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 70px;
}

.footer__brand-text {
  max-width: 320px;
  color: var(--text-on-dark-muted);
  margin-top: 20px;
}

.footer__heading {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-on-dark-muted);
  margin-bottom: 22px;
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.footer__list a { font-size: 0.92rem; }
.footer__list a:hover { color: var(--gold); }

.footer__bottom {
  border-top: 1px solid var(--line-on-dark);
  padding: 26px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-on-dark-muted);
}

.footer__socials { display: flex; gap: 18px; }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed;
  right: 28px;
  bottom: 28px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 150;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: transform var(--dur-fast) var(--ease);
}
.wa-float:hover { transform: scale(1.08); }

/* ---------- Forms ---------- */
.field {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 30px;
}

.field label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-on-dark-muted);
}

.field input,
.field select,
.field textarea {
  border-bottom: 1px solid var(--line-on-dark-strong);
  padding: 12px 2px;
  font-size: 1rem;
  color: var(--text-on-dark);
  transition: border-color var(--dur-fast) var(--ease);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--gold);
  outline: none;
}

.field textarea { resize: vertical; min-height: 110px; }

.field--light input,
.field--light select,
.field--light textarea {
  color: var(--text-on-light);
  border-bottom-color: var(--line-on-light-strong);
}
.field--light label { color: var(--text-on-light-muted); }

/* ---------- Office card ---------- */
.office-card {
  padding: 40px;
  border: 1px solid var(--line-on-dark);
}

.office-card__flag {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
  display: block;
}

.office-card__line {
  color: var(--text-on-dark-muted);
  margin-top: 4px;
}

.office-card__divider {
  height: 1px;
  background: var(--line-on-dark);
  margin: 26px 0;
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  color: var(--text-on-dark-muted);
}
.breadcrumb a:hover { color: var(--gold); }

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 14px;
  height: clamp(340px, 60vh, 640px);
}

.gallery__main {
  overflow: hidden;
  border-radius: var(--radius);
  position: relative;
}

.gallery__side {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
}

.gallery__side div {
  overflow: hidden;
  border-radius: var(--radius);
  position: relative;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery__count {
  position: absolute;
  right: 16px;
  bottom: 16px;
  background: rgba(10, 10, 11, 0.6);
  backdrop-filter: blur(6px);
  padding: 8px 16px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  border: 1px solid var(--line-on-dark);
}

/* ---------- Spec table ---------- */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-on-dark);
  border-left: 1px solid var(--line-on-dark);
}

.spec-cell {
  padding: 28px 26px;
  border-right: 1px solid var(--line-on-dark);
  border-bottom: 1px solid var(--line-on-dark);
}

.spec-cell__label {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-on-dark-muted);
  margin-bottom: 10px;
}

.spec-cell__value {
  font-family: var(--font-display);
  font-size: 1.4rem;
}

/* ---------- Agent card ---------- */
.agent-card {
  padding: 36px;
  background: var(--black-soft);
  border: 1px solid var(--line-on-dark);
}

.agent-card__top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 26px;
}

.agent-card__avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--black);
}

/* ---------- Split panel ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.split__panel {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 48px;
}

.split__panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}

.split__panel:hover img { transform: scale(1.06); }

.split__panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 6, 7, 0.85), rgba(6, 6, 7, 0.15) 60%);
}

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

/* ---------- Reveal utility ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
}

.reveal-line {
  overflow: hidden;
  display: block;
}
