@import url('https://fonts.googleapis.com/css2?family=Lato:wght@100;300;400&display=swap');

:root {
  --bg: #0a121f;
  --bg-deep: #060a12;
  --bg-panel: #101c30;
  --glass: rgba(255, 255, 255, 0.055);
  --glass-strong: rgba(255, 255, 255, 0.09);
  --glass-border: rgba(241, 239, 233, 0.14);
  --hairline: rgba(241, 239, 233, 0.10);
  --gold: #c8a13c;
  --gold-light: #e6c874;
  --text: #f1efe9;
  --text-muted: #97a2b6;
  --text-dim: #6c778c;
  --available: #7fb88a;
  --reserved: #d8a857;
  --soldout: #b06a63;
  --radius-card: 18px;
  --radius-panel: 26px;
  --radius-pill: 999px;
  --ink: #1c2534;
  --ink-soft: #56617a;
  --ink-dim: #8991a4;
  --line: rgba(28, 37, 52, 0.12);
  --navy: #1c2534;
  --navy-deep: #12192a;
  --brass: #a9822f;
  --brass-deep: #7c5f22;
  --brass-tint: #f3ead4;
  --footer-top: #333e44;
  --footer-bottom: #1c2327;
  --line: rgba(241, 239, 233, 0.12);
  --text: #f1efe9;
  --text-muted: #a9b0b8;
  --text-dim: #757e85;
  --gold1: #c8a13c;
  --gold-light: #e6c874;
  --silver: #b9c0c6;
}

/* Removes default browser spacing */
body {
  margin: 0;
  padding: 0;
  font-family: 'lato', sans-serif;
  /* overflow: hidden; */
}

/* Navigation Bar Core Layout */
.navContainer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* padding: 20px 40px; */
  box-sizing: border-box;
  z-index: 100;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
}


.navMenu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 24px;
  /* border-bottom: 1px solid #e2e8f0; */
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

.companyLogo {
  display: flex;
  align-items: center;
  /* justify-content: center;
  flex: 0 0 auto; */
  gap: 10px;
}

.companyLogo img {
  height: 80px;
  width: auto;
}

.companyName {
  font-family: 'lato';
  font-size: 18px;
  font-weight: 600;
  color: #eeeeee;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.nav-right-group {
  display: flex;
  align-items: center;
  gap: 20px;
}

.accountMenu a {
  color: #eeeeee;
  padding: 9px 18px;
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.25s ease;
  display: inline-block;
}

.accountMenu a:hover {
  transform: scale(1.05);
  transition: all 0.2s ease;
}

/* -------------------------- */
/* --- Account Icon Container Positioning --- */
.accountMenuIcon {
  position: relative;
  display: inline-block;
}

.accountMenuIcon img {
  filter: brightness(0) invert(1);
}

.accountMenuIcon:hover {
  transform: scale(1.2);
  transition: all 0.2s ease;
}

/* Sign In*/
.account-menu-container {
  display: flex;
  align-items: flex-start;
  justify-self: center;
}

.account-icon-btn img {
  width: 24px;
  height: 24px;
  stroke: currentColor;

  display: block;
}

.account-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #0f172a;
  transition: all 0.5s ease;
  text-decoration: none;

  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 50%;
  transition: background-color 0.2s ease, transform 0.2s ease;
}


.account-icon-btn:hover,
.account-icon-btn:focus {
  background-color: rgba(255, 255, 255, 0.15);
  transform: scale(1.05);
  outline: none;
}

/* --- Glassmorphism Submenu Box --- */
.account-submenu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 190px;

  /* Frosted Glass Effect Styles */
  background: rgba(20, 20, 20, 0.116);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  border-radius: 12px;
  padding: 8px;
  box-sizing: border-box;

  /* Initial Hidden State */
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  z-index: 1000;
}

/* --- Trigger Submenu on Hover or Focus Within --- */
.accountMenuIcon:hover .account-submenu,
.accountMenuIcon:focus-within .account-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* --- Submenu Links Styling --- */
.account-submenu a {
  display: block;
  padding: 10px 14px;
  color: #ffffff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  border-radius: 8px;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

/* --- Hover and Selected Highlight Effect --- */
.account-submenu a:hover,
.account-submenu a:focus {
  background: rgba(255, 255, 255, 0.055);
  color: #93c5fd;
  /* Soft corporate blue highlight accent */
  transform: translateX(4px);
  /* Smooth slight shift to the right */
  outline: none;
}

/* -------------------------------------------- */
/* Responsive breakpoint for mobile screens */
@media (max-width: 768px) {
  .navContainer .navMenu {
    padding: 12px 16px;
  }

  .navContainer .companyLogo img {
    height: 36px;
  }

  .navContainer .nav-right-group {
    gap: 12px;
  }
}

/* ------------------- */
/* --- Carousel Main Container --- */
/* --- Carousel Main Container --- */
.carousel-container {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 100vh;
  margin: 0 auto;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Hide the radio inputs completely */
.carousel-radio {
  display: none;
}

.property-container {
  position: relative;
  width: 100%;
  height: 100%;
}

/* --- Slide Wrapper Defaults (Hidden by default) --- */
.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 1;
  pointer-events: none;
  transition: opacity 0.6s ease-in-out;
}

/* --- Background Image Zoom Animation --- */
.carousel-slide img.zoom-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  scale: 1;
}

@keyframes imageZoom {
  0% {
    scale: 1;
  }

  100% {
    scale: 1.15;
  }
}

/* --- Text Container Overlay --- */
.text-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  display: flex;
  align-items: center;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.75) 35%, rgba(0, 0, 0, 0.1) 100%);
  padding: 60px;
  box-sizing: border-box;
}

.text-container-details {
  max-width: 550px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* --- Base Style for Text Elements (Hidden before active) --- */
.carousel-slide .text-container-details>* {
  opacity: 0;
  translate: -50px 0;
  transition: opacity 0.5s ease, translate 0.5s ease;
}

/* --- SHOW ACTIVE SLIDE WHEN RADIO IS CHECKED --- */
#slide1:checked~.property-container .slide-1,
#slide2:checked~.property-container .slide-2,
#slide3:checked~.property-container .slide-3,
#slide4:checked~.property-container .slide-4,
#slide5:checked~.property-container .slide-5 {
  opacity: 1;
  z-index: 10;
  pointer-events: auto;
}

/* Trigger image zoom animation when active */
#slide1:checked~.property-container .slide-1 img.zoom-image,
#slide2:checked~.property-container .slide-2 img.zoom-image,
#slide3:checked~.property-container .slide-3 img.zoom-image,
#slide4:checked~.property-container .slide-4 img.zoom-image,
#slide5:checked~.property-container .slide-5 img.zoom-image {
  animation: imageZoom 5s linear forwards;
}

/* --- STAGGERED SLIDE-IN DELAYS FOR EACH TEXT ELEMENT ---
   text-container-details now holds 8 children in order:
   1 title, 2 developer, 3 location, 4 space area,
   5 total contract price, 6 monthly amortization, 7 financial scheme,
   8 inquire button.
   Kept the original ~0.15s cadence between each item. */

/* Element 1: Property Title */
#slide1:checked~.property-container .slide-1 .text-container-details>*:nth-child(1),
#slide2:checked~.property-container .slide-2 .text-container-details>*:nth-child(1),
#slide3:checked~.property-container .slide-3 .text-container-details>*:nth-child(1),
#slide4:checked~.property-container .slide-4 .text-container-details>*:nth-child(1),
#slide5:checked~.property-container .slide-5 .text-container-details>*:nth-child(1) {
  opacity: 1;
  translate: 0 0;
  transition-delay: 0.1s;
}

/* Element 2: Developer */
#slide1:checked~.property-container .slide-1 .text-container-details>*:nth-child(2),
#slide2:checked~.property-container .slide-2 .text-container-details>*:nth-child(2),
#slide3:checked~.property-container .slide-3 .text-container-details>*:nth-child(2),
#slide4:checked~.property-container .slide-4 .text-container-details>*:nth-child(2),
#slide5:checked~.property-container .slide-5 .text-container-details>*:nth-child(2) {
  opacity: 1;
  translate: 0 0;
  transition-delay: 0.25s;
}

/* Element 3: Project Location / Description */
#slide1:checked~.property-container .slide-1 .text-container-details>*:nth-child(3),
#slide2:checked~.property-container .slide-2 .text-container-details>*:nth-child(3),
#slide3:checked~.property-container .slide-3 .text-container-details>*:nth-child(3),
#slide4:checked~.property-container .slide-4 .text-container-details>*:nth-child(3),
#slide5:checked~.property-container .slide-5 .text-container-details>*:nth-child(3) {
  opacity: 1;
  translate: 0 0;
  transition-delay: 0.4s;
}

/* Element 4: Space Area */
#slide1:checked~.property-container .slide-1 .text-container-details>*:nth-child(4),
#slide2:checked~.property-container .slide-2 .text-container-details>*:nth-child(4),
#slide3:checked~.property-container .slide-3 .text-container-details>*:nth-child(4),
#slide4:checked~.property-container .slide-4 .text-container-details>*:nth-child(4),
#slide5:checked~.property-container .slide-5 .text-container-details>*:nth-child(4) {
  opacity: 1;
  translate: 0 0;
  transition-delay: 0.55s;
}

/* Element 5: Total Contract Price (new) */
#slide1:checked~.property-container .slide-1 .text-container-details>*:nth-child(5),
#slide2:checked~.property-container .slide-2 .text-container-details>*:nth-child(5),
#slide3:checked~.property-container .slide-3 .text-container-details>*:nth-child(5),
#slide4:checked~.property-container .slide-4 .text-container-details>*:nth-child(5),
#slide5:checked~.property-container .slide-5 .text-container-details>*:nth-child(5) {
  opacity: 1;
  translate: 0 0;
  transition-delay: 0.7s;
}

/* Element 6: Monthly Amortization (new) */
#slide1:checked~.property-container .slide-1 .text-container-details>*:nth-child(6),
#slide2:checked~.property-container .slide-2 .text-container-details>*:nth-child(6),
#slide3:checked~.property-container .slide-3 .text-container-details>*:nth-child(6),
#slide4:checked~.property-container .slide-4 .text-container-details>*:nth-child(6),
#slide5:checked~.property-container .slide-5 .text-container-details>*:nth-child(6) {
  opacity: 1;
  translate: 0 0;
  transition-delay: 0.85s;
}

/* Element 7: Financial Scheme (new) */
#slide1:checked~.property-container .slide-1 .text-container-details>*:nth-child(7),
#slide2:checked~.property-container .slide-2 .text-container-details>*:nth-child(7),
#slide3:checked~.property-container .slide-3 .text-container-details>*:nth-child(7),
#slide4:checked~.property-container .slide-4 .text-container-details>*:nth-child(7),
#slide5:checked~.property-container .slide-5 .text-container-details>*:nth-child(7) {
  opacity: 1;
  translate: 0 0;
  transition-delay: 1s;
}

/* Element 8: Inquire Button (was position 5, now 8 — delay shifted to keep it last) */
#slide1:checked~.property-container .slide-1 .text-container-details>*:nth-child(8),
#slide2:checked~.property-container .slide-2 .text-container-details>*:nth-child(8),
#slide3:checked~.property-container .slide-3 .text-container-details>*:nth-child(8),
#slide4:checked~.property-container .slide-4 .text-container-details>*:nth-child(8),
#slide5:checked~.property-container .slide-5 .text-container-details>*:nth-child(8) {
  opacity: 1;
  translate: 0 0;
  transition-delay: 1.15s;
}

/* --- Typography Styling --- */
.property-title {
  font-size: 38px;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
}

.developer {
  font-size: 14px;
  font-weight: 600;
  color: #93c5fd;
  margin: 0;
}

.projectLocation,
.spaceArea {
  font-size: 15px;
  color: #e5e7eb;
  margin: 0;
}

/* --- New property-level facts: Total Contract Price / Monthly Amortization /
   Financial Scheme. Same as spaceArea in weight, TCP given a touch more
   emphasis since it's the headline figure. Identical on every slide since
   these describe the unit as a whole, not the individual room shown. --- */
.tcp,
.monthlyAmort,
.financialScheme {
  font-size: 15px;
  color: #e5e7eb;
  margin: 0;
}

.tcp {
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
}

.tcp span,
.monthlyAmort span,
.financialScheme span {
  color: #93c5fd;
  font-weight: 600;
}

/* Inquire Button & Hover Interaction — themed to match the AeroEstate
   brand used across the rest of the site (gold pill CTA, dark navy text)
   instead of the original blue rectangular button. */
.inquireHere {
  display: inline-block;
  align-self: flex-start;
  margin-top: 10px;
  padding: 12px 28px;
  background-color: #c8a13c;
  color: #1a1406;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  border-radius: 999px;
  scale: 1;
  transition: background-color 0.2s ease, scale 0.2s ease;
}

.inquireHere:hover {
  background-color: #e6c874;
  scale: 1.05;
  /* Toned down from the original 1.2 — matches the subtler lift used by
     buttons elsewhere on the site. Bump this back up if you'd rather keep
     the punchier original scale. */
}

/* Pause zoom animation when hovering over the Inquire button.
   !important is needed here: the zoom-trigger rule above includes an #id
   selector (#slide1:checked ...), which always outranks a class-only
   selector regardless of how many classes it chains — so without this,
   the animation shorthand's implicit "running" silently wins and the
   pause never visibly takes effect. Verified: without !important, hovering
   the button does not pause the zoom. */
.carousel-container:has(.inquireHere:hover) .carousel-slide img.zoom-image {
  animation-play-state: paused !important;
}

/* --- Pagination Dots Styling --- */
.carousel-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 20;
}

.dot {
  width: 10px;
  height: 10px;
  background-color: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease, scale 0.3s ease, width 0.3s ease;
}

.dot:hover {
  background-color: rgba(255, 255, 255, 0.8);
}

/* --- ACTIVE DOT STATES BASED ON CHECKED RADIO --- */
#slide1:checked~.carousel-dots .dot[for="slide1"],
#slide2:checked~.carousel-dots .dot[for="slide2"],
#slide3:checked~.carousel-dots .dot[for="slide3"],
#slide4:checked~.carousel-dots .dot[for="slide4"],
#slide5:checked~.carousel-dots .dot[for="slide5"] {
  background-color: #ffffff;
  scale: 1.25;
  width: 24px;
  border-radius: 5px;
}


/* -------------------- */

/* Next Project Section Styling */
.nextProject {
  padding: 80px 20px;
  background: #f4f4f4;
  text-align: center;
}

/* 30-Second Total Loop (6 Seconds Per Image) */
.img-1 {
  animation: zoomFade 30s infinite;
  animation-delay: 0s;
}

.img-2 {
  animation: zoomFade 30s infinite;
  animation-delay: 6s;
}

.img-3 {
  animation: zoomFade 30s infinite;
  animation-delay: 12s;
}

.img-4 {
  animation: zoomFade 30s infinite;
  animation-delay: 18s;
}

.img-5 {
  animation: zoomFade 30s infinite;
  animation-delay: 24s;
}

@keyframes zoomFade {
  0% {
    opacity: 0;
    transform: scale(1);
  }

  4% {
    opacity: 1;
  }

  16% {
    opacity: 1;
  }

  20% {
    opacity: 0;
    transform: scale(1.15);
  }

  100% {
    opacity: 0;
    transform: scale(1);
  }
}

/* ---------------------- */
/* Accreited Develeper */
#accreDeveloper {
  height: 100vh;
}

.dev-container {
  background-image: linear-gradient(180deg, rgba(6,10,18,0.55) 0%, rgba(6,10,18,0.35) 45%, rgba(6,10,18,0.7) 100%), url(/img/bg/accredited-bg.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

.hero {
  padding: 108px 0 76px;
  text-align: center;
  /* position: relative; */
}

.hero .kicker-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-light);
  font-size: 14px;
  letter-spacing: 0.02em;
  margin-bottom: 22px;
}

.hero-banner {
  display: flex;
  flex-direction: column;
  flex: 1;
  align-items: center;
}

.hero .kicker-mark svg {
  width: 18px;
  height: 18px;
}

.hero h1 {
  font-size: clamp(34px, 5.4vw, 58px);
  line-height: 1.08;
  color: var(--text);
  max-width: 780px;
  margin: 0 auto;
  letter-spacing: -0.01em;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold-light);
  font-weight: 500;
}

.hero p {
  max-width: 540px;
  margin: 22px auto 0;
  color: var(--text);
  font-size: 17px;
  line-height: 1.65;

  /* glass background */
  background: var(--glass, rgba(255, 255, 255, 0.055));
  border: 1px solid var(--glass-border, rgba(241, 239, 233, 0.14));
  border-radius: 16px;
  padding: 18px 24px;
  backdrop-filter: blur(5px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}

/* ----------------- */
/* marquee (pure CSS: hover on any child pauses the ancestor track) */
.marquee-section {
  padding: 8px 0 120px;
  position: relative;
}

.marquee-viewport {
  overflow: hidden;
  padding: 34px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 26px;
  animation: scroll-x 46s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

@keyframes scroll-x {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.dev-card {
  --card-w: 236px;
  width: var(--card-w);
  flex: 0 0 auto;
  display: block;
  cursor: pointer;
  /* padding: 28px 22px 24px; */
  border-radius: var(--radius-card);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  /* box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 18px 40px -22px rgba(0, 0, 0, 0.65); */
  transition: transform 0.42s cubic-bezier(.2, .8, .2, 1), border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  text-align: center;
}

.dev-card:hover,
.dev-card:focus-visible {
  transform: scale(1.08);
  border-color: var(--gold);
  background: var(--glass-strong);
  /* box-shadow: 0 0 0 1px rgba(200, 161, 60, 0.35), 0 24px 46px -18px rgba(0, 0, 0, 0.75), 0 0 34px -6px rgba(200, 161, 60, 0.35); */
  z-index: 2;
  outline: none;
}

.dev-card .logo-plate {
  height: 78px;
  /* border-radius: 12px; */
  /* background: #f6f4ee; */
  display: flex;
  align-items: center;
  justify-content: center;
  /* padding: 12px 16px; */
  /* margin-bottom: 16px; */
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.dev-card .logo-plate {
  display: flex;
}

.dev-card .logo-plate img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

/* .dev-card .dev-name {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
} */

/* .dev-card .dev-hint {
  display: block;
  font-size: 12.5px;
  color: var(--text-dim);
  transition: color 0.3s ease;
  text-decoration: none;
}

.dev-card:hover .dev-hint {
  color: var(--gold-light);
} */

/* ------------------------- */
/* Broker section */
h1,
h2,
h3 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  margin: 0;
}

.broker-section {
  padding: 96px 32px 108px;
}

.broker-wrap {
  max-width: 1140px;
  margin: 0 auto;
}

.broker-intro {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 76px;
}

.broker-intro .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--brass-deep);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 18px;
}

.broker-intro .eyebrow svg {
  width: 16px;
  height: 16px;
}

.broker-wrap .broker-intro h2 {
  font-size: clamp(30px 4vw, 42px);
  line-height: 1.15;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.broker-wrap .broker-intro h2 em {
  font-style: italic;
  color: var(--brass-deep);
  font-weight: 500;
}

.broker-intro p {
  margin: 18px auto 0;
  color: var(--ink-soft);
  font-size: 16.5px;
  line-height: 1.7;
}

.broker-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 70px;
  align-items: start;
}

.broker-photo {
  position: relative;
}

.broker-photo::before {
  content: "";
  position: absolute;
  top: 26px;
  left: -26px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--brass);
  border-radius: 18px;
  z-index: 0;
}

.broker-photo .frame {
  position: relative;
  z-index: 1;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 60px -28px rgba(28, 37, 52, 0.35);
  aspect-ratio: 4 / 5;
  background: #e5e1d8;
}

.broker-photo .frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.broker-photo .badge {
  position: relative;
  z-index: 2;
  margin: -30px auto 0;
  width: calc(100% - 40px);
  background: var(--navy);
  color: #fff;
  border-radius: 12px;
  padding: 14px 18px;
  text-align: center;
  box-shadow: 0 18px 34px -16px rgbe(18, 25, 42, 0.55);
}

.broker-photo .badge .name {
  font-family: 'Fraunces', serif;
  font-size: 17px;
  font-weight: 500;
}

.broker-photo .badge .title {
  font-size: 12.5px;
  color: var(--brass);
  margin-top: 3px;
  letter-spacing: 0.02em;
}

.name-row h3 {
  font-size: clamp(24px, 2.6vw, 30px);
  color: var(--navy);
}

.name-row .role {
  font-size: 15.5px;
  color: var(--brass-deep);
  font-weight: 600;
  margin-top: 4px;
}

.cred-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 18px 0 28px;
}

.cred-chips span {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--navy);
  background: var(--brass-tint);
  border: 1px solid rgba(169, 130, 47, 0.35);
  padding: 6px 13px;
  border-radius: 999px;
}

.broker-bio {
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.75;
  max-width: 640px;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 34px 0 36px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat {
  padding: 22px 18px 22px 0;
  border-right: 1px solid var(--line);
}

.stat:last-child {
  border-right: none;
  padding-right: 0;
}

.stat:not(:first-child) {
  padding-left: 18px;
}

.stat .num {
  font-family: 'Fraunces', serif;
  font-size: clamp(24px, 26vw, 30px);
  color: var(--navy);
  line-height: 1;
}

.stat .num span {
  color: var(--brass-deep);
}

.stat .label {
  font-size: 12.5px;
  color: var(--ink-dim);
  margin-top: 8px;
  line-height: 1.4;
}

.broker-cta {
  margin-top: 34px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: #fff;
  font-size: 14.5px;
  font-weight: 600;
  padding: 14px 26px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.25s ease, transform 0.25s ease;
}

.btn-primary:hover {
  background: var(--brass-deep);
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--navy);
  font-size: 14.5px;
  font-weight: 600;
  padding: 14px 26px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.25s ease, color 0.25 ease;
}

.btn-secondary:hover {
  border-color: var(--brass);
  color: var(--brass-deep);
}

@media (max-width: 880px) {
  .broker-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .broker-photo {
    max-width: 340px;
    margin: 0 auto;
  }

  .broker-info {
    margin-top: 46px;
  }

  .stat-row {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 20px;
  }

  .stat:nth-child(2n) {
    border-right: none;
  }

  .stat:nth-child(3),
  .stat:nth-child(4) {
    border-top: 1px solid var(--line);
    padding-top: 20px;
  }
}

@media (max-width: 480px) {
  .broker-section {
    padding: 64px 20px 72px;
  }
}

/* ----------------- */
/* Why Choose Us */
.choose-section {
  position: relative;
  padding: 110px 32px 100px;
  overflow: hidden;
}

.choose-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  /* background:
    radial-gradient(1000px 560px at 85% -10%, rgba(200, 161, 60, 0.16), transparent 60%),
    radial-gradient(800px 460px at 5% 110%, rgba(46, 74, 102, 0.35), transparent 60%),
    linear-gradient(180deg, var(--bg-deep) 0%, var(--bg) 50%, var(--bg-panel) 100%); */
}

.choose-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(241, 239, 233, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(241, 239, 233, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(closest-side, #000 60%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 60%, transparent 100%);
}

.choose-wrap {
  position: relative;
  z-index: 1;
  max-width: 1140px;
  margin: 0 auto;
}

.choose-banner {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 74px;
}

.choose-banner .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--gold-light);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
}

.choose-banner .eyebrow svg {
  width: 17px;
  height: 17px;
}

.choose-banner h2 {
  font-size: clamp(32px, 5vw, 50px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--text);
}

.choose-banner h2 em {
  font-style: italic;
  color: var(--gold-light);
  font-weight: 500;
}

.choose-banner p {
  margin: 20px auto 0;
  color: var(--text-muted);
  font-size: 16.5px;
  line-height: 1.7;
}

.choose-content {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}

.choose-image {
  position: relative;
}

.choose-image::before {
  content: "";
  position: absolute;
  top: 22px;
  right: -22px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--gold);
  border-radius: 20px;
  z-index: 0;
}

.choose-image .frame {
  position: relative;
  z-index: 1;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 30px 60px -26px rgba(0, 0, 0, 0.6);
  border: 1px solid var(--glass-border);
}

.choose-image .frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.choose-image .frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 10, 18, 0) 55%, rgba(6, 10, 18, 0.55) 100%);
}

.choose-image .caption {
  position: absolute;
  z-index: 2;
  left: 24px;
  right: 24px;
  bottom: 20px;
  color: var(--text);
  font-size: 13.5px;
}

.choose-image .caption strong {
  color: var(--gold-light);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-bottom: 40px;
}

/* .stat-grid .stat-card:nth-child(3) .icon {
  margin: 0;
  flex: 0 0 auto;
}

.stat-grid .stat-card:nth-child(3) .stat-num {
  font-size: clamp(30px, 3.4vw, 38px);
} */

.stat-card {
  padding: 40px 28px;
  text-align: center;
  border-radius: 20px;
  /* background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 20px 46px -26px rgba(0, 0, 0, 0.65);
  transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease; */
}

/* .stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(200, 161, 60, 0.45);
  background: var(--glass-strong);
} */

.stat-card .icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 20px;
  border-radius: 14px;
  background: rgba(200, 161, 60, 0.12);
  border: 1px solid rgba(200, 161, 60, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-card .icon svg {
  width: 24px;
  height: 24px;
  color: var(--gold-light);
}

.stat-num {
  font-family: 'Fraunces', serif;
  font-size: clamp(38px, 5vw, 54px);
  color: var(--text);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  margin-top: 12px;
  font-size: 14.5px;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}


@media (max-width: 900px) {
  .choose-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .choose-image {
    order: -1;
    max-width: 520px;
    margin: 0 auto;
    width: 100%;
  }

  .choose-image::before {
    display: none;
  }

  .choose-image .frame {
    border-color: rgba(200, 161, 60, 0.4);
  }
}

@media (max-width: 560px) {
  .stat-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .stat-grid .stat-card:nth-child(3) {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .choose-section {
    padding: 80px 20px 72px;
  }
}

@media (prefers-reduced-motion: reduce) {

  .stat-card,
  .btn-find-more,
  .btn-find-more svg {
    transition: none;
  }
}

/* ------------------- */
/* Modern & Professional Footer Styling */
footer {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #94a3b8;
  padding: 40px 20px;
  text-align: center;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 28px;
  box-sizing: border-box;
}

footer *,
footer *::before,
footer *::after {
  box-sizing: border-box;
}

/* Styling the raw text nodes/items transformed into interactive links */

footer {
  background: linear-gradient(180deg, var(--footer-top) 0%, var(--footer-bottom) 100%);
  color: var(--text-muted);
  position: relative;
  padding: 64px 48px 0;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 45%, var(--silver) 75%, var(--gold) 100%);
  opacity: 0.9;
}

.footer-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.85fr 1.25fr 1.25fr 1.05fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-heading {
  color: var(--text);
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 20px;
}

.footer-link {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-link a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14.5px;
  width: fit-content;
  position: relative;
  transition: color 0.25s ease;
}

.footer-link a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1px;
  background: var(--gold-light);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.footer-link a:hover {
  color: var(--text);
}

.footer-link a:hover::after {
  transform: scaleX(1);
}

/* ---- column 2: contacts ---- */
.contacts {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contacts span {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-muted);
}


/* ---- column 3: certifications ---- */
.certification-row {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.cert-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 76px;
}

.cert-badge .seal {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1.4px solid rgba(201, 166, 79, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: rgba(255, 255, 255, 0.03);
}

.cert-badge .seal::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px dashed rgba(201, 166, 79, 0.35);
  border-radius: 50%;
}

.cert-badge .seal span {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--gold-light);
}

.cert-badge .cert-label {
  margin-top: 9px;
  font-size: 11.5px;
  color: var(--text-dim);
  line-height: 1.35;
}

/* ---- column 4: social + logo ---- */
.comp-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.social-row {
  display: flex;
  gap: 12px;
}

.social-row a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.social-row a:hover {
  border-color: var(--gold);
  color: var(--gold-light);
  background: rgba(200, 161, 60, 0.08);
}

.social-row svg {
  width: 16px;
  height: 16px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-lockup img {
  width: 116px;
  height: auto;
  display: block;
  -webkit-mask-image: radial-gradient(ellipse 68% 70% at 50% 50%, #000 60%, transparent 100%);
  mask-image: radial-gradient(ellipse 68% 70% at 50% 50%, #000 60%, transparent 100%);
}

.brand-lockup .brand-text {
  line-height: 1.25;
}

.brand-lockup .brand-name {
  font-size: 16.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--text);
}

.brand-lockup .brand-tag {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-top: 2px;
}

/* ---- bottom bar ---- */
.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 22px 0 26px;
  max-width: 1240px;
  margin: 0 auto;
  text-align: center;
  font-size: 13px;
  color: var(--text-dim);
}

/* ---- responsive ---- */
@media (max-width: 980px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    row-gap: 44px;
  }
}

@media (max-width: 560px) {
  footer {
    padding: 52px 24px 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    row-gap: 38px;
  }

  .comp-link {
    align-items: flex-start;
  }
}