:root {
  --gold: #ba8b2e;
  --dark: #0c1018;
  --text: #222b3a;
  --muted: #687286;
  --page-gutter: max(1rem, env(safe-area-inset-left));
  --page-gutter-right: max(1rem, env(safe-area-inset-right));
}

* { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
}
body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  overflow-x: hidden;
  max-width: 100vw;
}
button,
.book-btn,
.nav-burger,
.nav-links a,
.ghost-btn {
  touch-action: manipulation;
}
h1, h2, h3, h4 { margin: 0; font-family: "Playfair Display", serif; }
.container {
  max-width: 1180px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--page-gutter);
  padding-right: var(--page-gutter-right);
}
.center { text-align: center; }
img,
video {
  max-width: 100%;
  height: auto;
}
iframe {
  max-width: 100%;
}

.topbar { font-size: 0.78rem; }
.topbar-wrap { display: flex; justify-content: space-between; gap: 1rem; padding: 0.2rem 0; flex-wrap: wrap; }
.topbar-tagline,
.topbar-contact { display: block; margin: 0; }
.topbar-contact { text-align: right; }
.topbar-phone { color: inherit; font-weight: 600; text-decoration: none; }
.topbar-phone:hover { text-decoration: underline; }
.topbar-sep { opacity: 0.75; font-weight: 400; }
.footer-address { margin-top: 0.75rem !important; white-space: pre-line; line-height: 1.55; max-width: 32ch; }

.nav { background: #141414; border-bottom: 3px solid var(--gold); position: sticky; top: 0; z-index: 5; }
.nav.nav-open { z-index: 200; }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.25rem 0; position: relative; }
.brand { display: flex; align-items: center; gap: 0.6rem; font-weight: 800; }
.brand-mark { width: 34px; height: 34px; border-radius: 50%; background: var(--gold); color: #221503; display: grid; place-items: center; font-weight: 800; font-size: 0.78rem; font-family: "Manrope", sans-serif; }
.brand-logo { height: 36px; width: auto; }
.nav-menu { display: contents; }
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  margin: 0;
  border: 1px solid rgba(19, 26, 42, 0.2);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  flex-shrink: 0;
  margin-right: 5px;
}
.nav-burger-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: #131a2a;
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-open .nav-burger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-open .nav-burger-bar:nth-child(2) {
  opacity: 0;
}
.nav-open .nav-burger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.nav-links { display: flex; list-style: none; padding: 0; margin: 0; gap: 1.2rem; }
.nav-links a { text-decoration: none; color: #fff; font-size: 0.82rem; font-weight: 700; text-transform: uppercase; }
.book-btn { background: linear-gradient(165deg, #c9a03d 0%, var(--gold) 45%, #9a7024 100%); color: black; text-decoration: none; padding: 0.55rem 0.95rem; border-radius: 3px; font-size: 0.8rem; }
.nav-menu > .nav-cta {
  flex-shrink: 0;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .nav-burger {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .topbar {
    display: none;
  }
  .nav-burger {
    display: inline-flex;
  }
  .nav-menu {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin-top: 0;
    background: #141414;
    border-bottom: 3px solid var(--gold);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    max-height: min(70vh, 520px);
    overflow-y: auto;
  }
  .nav.nav-open .nav-menu {
    display: block;
  }
  .nav-links {
    flex-direction: column;
    gap: 0;
    width: 100%;
    padding: 0.35rem 0 0.75rem;
    overflow-x: visible;
  }
  .nav-links li {
    width: 100%;
  }
  .nav-links a {
    display: block;
    padding: 0.85rem 1rem;
    font-size: 0.88rem;
    border-bottom: 1px solid #eceef2;
  }
  .nav-links li:last-child a {
    border-bottom: 1px solid #eceef2;
  }
  .nav-menu > .nav-cta {
    display: block;
    width: calc(100% - 2rem);
    margin: 0.35rem 1rem 1rem;
    text-align: center;
    box-sizing: border-box;
    white-space: normal;
  }
}

.hero {
  position: relative;
  overflow: hidden;
  background-image: linear-gradient(rgba(11, 15, 24, 0.64), rgba(11, 15, 24, 0.78)),
    url("./assets/images/transaction-banner3.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  min-height: 600px;
  padding: clamp(3.5rem, 12vw, 6rem) 0;
}
.hero--video {
  background-image: none;
  background-color: #0b0f18;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(rgba(11, 15, 24, 0.64), rgba(11, 15, 24, 0.78));
}
@media (prefers-reduced-motion: reduce) {
  .hero--video .hero-media {
    display: none;
  }
  .hero--video {
    background-image: linear-gradient(rgba(11, 15, 24, 0.64), rgba(11, 15, 24, 0.78)),
      url("./assets/images/transaction-banner3.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
  .hero--video .hero-overlay {
    display: none;
  }
}
.hero-inner {
  display: grid;
  gap: 1.35rem;
  width: 100%;
  position: relative;
  z-index: 2;
}
.service-tabs { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 0.55rem; background: rgba(255, 255, 255, 0.94); padding: 0.65rem; border-radius: 4px; margin-bottom: 1.2rem;}
.service-tabs article { text-align: center; border: 1px solid #e2e6ee; padding: 0.55rem 0.25rem; font-size: 0.73rem; font-weight: 700; background: #fff; color: #394258; }
.service-tabs img { width: 26px; height: 26px; object-fit: contain; margin: 0 auto 0.25rem; }
.service-tabs span { display: block; }
.search-box {
  display: flex;
  flex-wrap: wrap;
  width: min(760px, 100%);
  margin: 0 auto;
  position: relative;
  z-index: 2;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.04),
    0 22px 48px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.12);
}
.search-box-inner {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  align-items: stretch;
}
.search-box select {
  flex: 0 0 140px;
  width: 140px;
  border: 0;
  padding: 0.85rem 0.8rem;
  font-size: max(16px, 0.9rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  background: #fafbfc;
  color: var(--text);
  border-right: 1px solid #e2e6ee;
  min-height: 52px;
  cursor: pointer;
  appearance: auto;
  outline: none;
}
.search-box select:focus {
  outline: none;
  box-shadow: none;
}
.search-box input[type="search"] {
  flex: 1;
  min-width: 0;
  border: 0;
  padding: 0.85rem 1rem;
  font-size: max(16px, 0.92rem);
  min-height: 52px;
  outline: none;
  background: #fff;
  color: var(--text);
  -webkit-appearance: none;
  appearance: none;
}
.search-box input[type="search"]::placeholder {
  color: var(--muted);
  opacity: 1;
}
.search-box input[type="search"]:focus {
  outline: none;
  box-shadow: none;
}
.search-box button {
  border: 0;
  background: linear-gradient(165deg, #c9a03d 0%, var(--gold) 45%, #9a7024 100%);
  color: #1a1205;
  font-weight: 800;
  padding: 0.85rem 1.35rem;
  min-height: 52px;
  min-width: 52px;
  cursor: pointer;
  transition: filter 0.2s ease, transform 0.15s ease;
  outline: none;
}
.search-box button:focus,
.search-box button:focus-visible {
  outline: none;
}
.search-box button:hover {
  filter: brightness(1.06);
}
.search-box button:active {
  transform: scale(0.98);
}
.search-box button .search-box__icon {
  display: block;
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
}
.search-box-button {
  flex: 0 0 auto;
  display: flex;
}
.search-box-button button {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.special-strip { background: #090c13; }
.special-grid { display: grid; grid-template-columns: repeat(var(--special-grid-count, 6), minmax(0, 1fr)); justify-content: space-between; color: #fff; font-size: 0.74rem; }
.special-grid div { text-align: center; padding: 0.7rem 0.4rem; border-right: 1px solid #1f2534; }
.special-grid div:last-child { border-right: 0; }
.special-grid img { width: 28px; height: 28px; object-fit: contain; margin-bottom: 0.25rem; }
.special-grid span { display: block; }

.block { padding: 2.3rem 0; }
.soft { background: #f7f7f9; }
.title { text-align: center; font-size: clamp(1.3rem, 3vw, 2rem); margin-bottom: 1.1rem; text-shadow: 1px 3px 2px rgba(186, 139, 46, 0.25); }

.dealers-swiper {
  border-top: 1px solid #eceff4;
  border-bottom: 1px solid #eceff4;
  padding: 0.45rem 0;
}
.dealers-swiper .swiper-slide {
  height: auto;
}
.dealers-swiper .swiper-slide span {
  width: 100%;
  background: #fff;
  border: 1px solid #eaedf3;
  text-align: center;
  padding: 0.8rem 0.5rem;
  display: grid;
  place-items: center;
  min-height: 96px;
}
.dealers-swiper img { max-width: 170px; max-height: 62px; width: 100%; object-fit: contain; }
.dealers-controls {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 0.85rem;
}
.dealers-prev,
.dealers-next {
  border: 1px solid #d7dce7;
  background: #fff;
  color: #2b3448;
  padding: 0.42rem 0.86rem;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}
.dealers-prev:hover,
.dealers-next:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.investment-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.8rem; }
.mini-card { background: #fff; border: 1px solid #e9ecf1; }
.mini-card h4 { font-family: "Manrope", sans-serif; font-size: 0.86rem; text-align: center; padding: 0.65rem; }

.img { height: 220px; width: 100%; object-fit: cover; display: block; }

.featured-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.8rem; }
.feature-tile { background: #fff; border: 1px solid #ebedf2; }
.feature-tile p { margin: 0; padding: 0.62rem; text-align: center; font-size: 0.79rem; font-weight: 700; }

.promise { background: url("./assets/images/transaction-banner5.jpg") no-repeat center center; background-size: cover; color: #fff; padding: 2.4rem 0; box-shadow: inset 0px 0px 2000px 2000px #000000b8;}
.promise h3 { font-size: 1.35rem; margin-bottom: 0.5rem; }
.promise h2 { font-size: clamp(1.5rem, 4vw, 2.2rem); margin-bottom: 1rem; }
.ghost-btn { display: inline-block; color: #fff; text-decoration: none; border: 1px solid #fff6; padding: 0.6rem 1rem; font-size: 0.82rem; border-radius: 3px; }

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}
.project.project-card {
  background: #fff;
  border: 1px solid rgba(12, 16, 24, 0.06);
  border-radius: 14px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 46% 54%;
  align-items: stretch;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 22px rgba(12, 16, 24, 0.07);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.project.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 44px rgba(12, 16, 24, 0.12);
}
.project.project-card:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.project.project-card.project--reverse {
  grid-template-columns: 54% 46%;
}
.project.project-card.project--reverse .project-card__media {
  order: 2;
}
.project.project-card.project--reverse .project-card__body {
  order: 1;
}
.project-card__media {
  position: relative;
  min-height: 220px;
  background: linear-gradient(145deg, #1a1510 0%, #3d3024 55%, #2a2118 100%);
  overflow: hidden;
}
.project-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 16, 24, 0.35), transparent 45%);
  pointer-events: none;
  opacity: 0.85;
}
.project-card__media .img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}
.project.project-card:hover .project-card__media .img {
  transform: scale(1.05);
}
.project-card__body {
  padding: 1.15rem 1.2rem 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  border-left: 3px solid var(--gold);
  background: linear-gradient(180deg, #fff 0%, #fafbfc 100%);
}
.project.project-card.project--reverse .project-card__body {
  border-left: none;
  border-right: 3px solid var(--gold);
}
.project-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.55rem;
}
.project-card__tag {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.45rem;
  border: 1px solid rgba(186, 139, 46, 0.55);
  color: #4a3a28;
  border-radius: 3px;
}
.project-card__tag--muted {
  border-color: #dde2eb;
  color: var(--muted);
  font-weight: 700;
}
.project-card__body h4 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 0.35rem;
  color: #2a1f14;
}
.project-card__price {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--dark);
  font-family: "Manrope", sans-serif;
}
.project-card__loc {
  margin: 0.45rem 0 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--muted);
}
.project-card__cta {
  margin-top: auto;
  padding-top: 1rem;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
}
.project.project-card:hover .project-card__cta {
  color: #9a7324;
}

.explore { background: linear-gradient(rgba(10, 15, 24, 0.72), rgba(10, 15, 24, 0.72)), linear-gradient(120deg, #437593, #1f3a5b); color: #fff; padding: 1.9rem 0; }
.explore h2 { font-size: clamp(1rem, 3vw, 1.45rem); }

.welcome { background: #f7f7f9; padding: 2.5rem 0; }
.welcome h2 span { color: var(--gold); }
.welcome h4 { margin-top: 0.4rem; font-size: 0.96rem; font-family: "Manrope", sans-serif; letter-spacing: 0.03em; }
.welcome p { margin: 0.75rem auto 0; max-width: 74ch; color: #566177; }

/* Contact form + map */
.contact-block { padding: 3rem 0; background: #fff; }
.contact-kicker { margin: 0.5rem 0 1.25rem; color: #566177; max-width: 70ch; }
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 1.5rem; align-items: start; }
.contact-map { border-radius: 14px; overflow: hidden; border: 1px solid rgba(0,0,0,.08); background: #f7f7f9; }
.contact-map iframe { display: block; }
.contact-map-fallback { padding: 1.5rem; }
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.footer { background: #090d14; color: #fff; padding-top: 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 1rem; }
.footer h4 { font-size: 1rem; margin-bottom: 0.6rem; font-family: "Manrope", sans-serif; }
.footer p { margin: 0.35rem 0; color: #bec8d7; font-size: 0.85rem; }
.footer a,
.footer a:visited {
  color: #bec8d7;
  text-decoration: none;
}
.footer a:hover {
  color: #fff;
  text-decoration: none;
}
.copyright { border-top: 1px solid #1f2736; margin-top: 1.3rem; text-align: center; padding: 0.9rem; font-size: 0.8rem; color: #99a5b8; }

@media (max-width: 1020px) {
  .nav-wrap { flex-wrap: wrap; }
  .service-tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .special-grid { grid-template-columns: repeat(var(--special-grid-tablet-count, 3), minmax(0, 1fr)); }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .search-box {
    flex-direction: row;
    flex-wrap: nowrap;
    width: 100%;
    border-radius: 10px;
    box-shadow:
      0 1px 3px rgba(0, 0, 0, 0.06),
      0 12px 28px rgba(0, 0, 0, 0.22),
      0 0 0 1px rgba(255, 255, 255, 0.1);
  }
  .search-box-inner {
    flex-direction: row;
    flex-wrap: nowrap;
    width: 100%;
    min-width: 0;
  }
  .search-box select {
    flex: 0 0 auto;
    width: auto;
    min-width: 3.85rem;
    max-width: 28%;
    border-right: 1px solid #e2e6ee;
    border-bottom: 0;
    padding: 0.45rem 0.3rem 0.45rem 0.4rem;
    font-size: max(16px, 0.78rem);
    min-height: 44px;
    font-weight: 600;
  }
  .search-box input[type="search"] {
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    padding: 0.45rem 0.4rem;
    font-size: max(16px, 0.82rem);
    min-height: 44px;
  }
  .search-box-button {
    flex: 0 0 auto;
    width: auto;
  }
  .search-box button {
    width: auto;
    min-width: 44px;
    min-height: 44px;
    padding: 0.45rem 0.55rem;
  }
  .search-box button .search-box__icon {
    width: 1rem;
    height: 1rem;
  }
  .service-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
    padding: 0.55rem;
    display: none;
  }
  .service-tabs article {
    font-size: 0.68rem;
    padding: 0.45rem 0.2rem;
  }
  .special-grid div {
    border-right: none;
    border-bottom: 1px solid #1f2534;
    padding: 0.65rem 0.5rem;
  }
  .special-grid div:last-child {
    border-bottom: 0;
  }
  .block {
    padding: 1.65rem 0;
  }
  .welcome {
    padding: 1.75rem 0;
  }
  .welcome p {
    padding-left: 0;
    padding-right: 0;
  }
  .promise {
    padding: 1.75rem 0;
  }
  .explore {
    padding: 1.35rem 0;
  }
  .title {
    margin-bottom: 0.85rem;
  }
  .dealers-controls {
    flex-wrap: wrap;
    justify-content: center;
  }
  .contact-block {
    padding: 2rem 0;
  }
  .contact-form .form-control {
    font-size: max(16px, 1rem);
  }
  .project-card__body {
    padding: 1rem 1rem 1.15rem;
  }
}

@media (max-width: 700px) {
  .featured-grid,
  .investment-grid,
  .project-grid,
  .special-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .project.project-card,
  .project.project-card.project--reverse {
    grid-template-columns: 1fr;
  }
  .project.project-card.project--reverse .project-card__media,
  .project.project-card.project--reverse .project-card__body {
    order: unset;
  }
  .project.project-card.project--reverse .project-card__body {
    border-right: none;
    border-left: 3px solid var(--gold);
  }
  .project-card__media,
  .project-card__media .img {
    min-height: 200px;
  }
}

/* Fixed social strip — desktop: right edge; mobile: bottom row */
.pd-social {
  position: fixed;
  right: 0;
  top: 40%;
  z-index: 30;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.pd-social a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: var(--dark);
  color: #fff;
  text-decoration: none;
  font-size: 0.7rem;
  font-weight: 800;
  border-radius: 4px 0 0 4px;
}
.pd-social a img,
.pd-social a svg {
  width: 24px;
  height: 24px;
  display: block;
  object-fit: contain;
}
.pd-social__link--whatsapp {
  background: #25d366 !important;
}
.pd-social__link--facebook {
  background: #1877f2 !important;
}
.pd-social__link--linkedin {
  background: #0a66c2 !important;
}
.pd-social a:hover {
  opacity: 0.92;
}
@media (max-width: 600px) {
  .pd-social {
    top: auto;
    right: 0.65rem;
    bottom: 0;
    flex-direction: row;
    gap: 0.4rem;
    padding-bottom: max(0.65rem, env(safe-area-inset-bottom));
  }
  .pd-social a {
    border-radius: 6px 6px 0 0;
    width: 44px;
    height: 44px;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.12);
  }
}
