/* ═══════════════════════════════════════════════════════════════
   TANARO INVESTMENT — STYLESHEET
   Colors: Dark Navy #0A2A4A | Medium Blue #1E5A8C | Sky Blue #6FAFE7
           Neutral Gray #7A7A7A | White #FFFFFF
   Fonts: Cormorant Garamond (display) | DM Sans (body)
═══════════════════════════════════════════════════════════════ */

/* ── TOKENS ── */
:root {
  --blue: #1E5A8C;
  --blue-dark: #0A2A4A;
  --silver: #6FAFE7;
  --silver-light: #D6E9F8;
  --off-white: #F4F8FC;
  --white: #FFFFFF;
  --black: #0D0D0D;
  --text: #0A2A4A;
  --text-muted: #7A7A7A;
  --border: rgba(111, 175, 231, 0.22);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;

  --radius: 4px;
  --radius-lg: 8px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --container: 1240px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ── PLACEHOLDER IMAGES ── */
.img-placeholder {
  background: var(--silver-light);
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.img-placeholder::after {
  content: '[ Image Placeholder ]';
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--silver);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* ── CONTAINER ── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: var(--transition);
  white-space: nowrap;
}
.btn--primary {
  background: var(--blue);
  color: var(--white);
  border: 1.5px solid var(--blue);
}
.btn--primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(30, 90, 140, 0.3);
}
.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.5);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
}
.btn--nav {
  background: var(--blue);
  color: var(--white);
  border: 1.5px solid var(--blue);
  padding: 11px 24px;
  font-size: 0.8rem;
}
.btn--nav:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
}
.btn--white {
  background: var(--white);
  color: var(--blue);
  border: 1.5px solid var(--white);
}
.btn--white:hover {
  background: var(--off-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.btn--full { width: 100%; justify-content: center; }

/* ── SECTION UTILITY ── */
.section { padding: 120px 0; }
.section-eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
  display: block;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 24px;
}
.section-title em {
  font-style: italic;
  color: var(--blue);
}
.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 520px;
}
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-header .section-sub { margin: 0 auto; }

/* ── ANIMATIONS ── */
.reveal-up {
  opacity: 0;
  transform: translateY(32px);
  animation: revealUp 0.9s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }

@keyframes revealUp {
  to { opacity: 1; transform: translateY(0); }
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.scroll-reveal.delay-1 { transition-delay: 0.1s; }
.scroll-reveal.delay-2 { transition-delay: 0.2s; }
.scroll-reveal.delay-3 { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  .reveal-up, .scroll-reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1;
    transform: none;
  }
}


/* ══════════════════════════════════════════════════════════════
   NAV — FLOATING PILL GLASS
══════════════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 900;
  width: calc(100% - 48px);
  max-width: 1100px;
  padding: 0;
  /* Glass pill */
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18), 0 1px 0 rgba(255,255,255,0.12) inset;
  transition: background var(--transition), box-shadow var(--transition), border-color var(--transition);
}
/* When scrolled on the home page — slightly more opaque */
.nav.scrolled {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(24px) saturate(2);
  -webkit-backdrop-filter: blur(24px) saturate(2);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), 0 1px 0 rgba(255,255,255,0.6) inset;
}
.nav.scrolled .nav__links a,
.nav.scrolled .nav__logo-fallback {
  color: var(--text);
}
.nav__inner {
  max-width: 100%;
  margin: 0;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav__logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
  display: block;
}
.nav__logo-fallback {
  display: none;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--white);
  transition: color var(--transition);
}
.nav.scrolled .nav__logo-fallback { color: var(--blue); }
.nav__links {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.nav__links a {
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.9);
  transition: color var(--transition);
  position: relative;
  white-space: nowrap;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: rgba(255,255,255,0.7);
  transition: width var(--transition);
}
.nav.scrolled .nav__links a { color: var(--text-muted); }
.nav.scrolled .nav__links a::after { background: var(--blue); }
.nav__links a:hover { color: var(--white); }
.nav.scrolled .nav__links a:hover { color: var(--blue); }
.nav__links a:hover::after { width: 100%; }
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  margin-left: auto; /* pushes burger to far right */
}
.nav__burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--white);
  transition: var(--transition);
}
.nav.scrolled .nav__burger span { background: var(--text); }

/* ── NAV LIGHT MODE (interior pages) ── */
.nav--light {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(20px) saturate(2);
  -webkit-backdrop-filter: blur(20px) saturate(2);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 1px 0 rgba(255,255,255,0.8) inset;
}
.nav--light .nav__links a { color: var(--text-muted); }
.nav--light .nav__links a::after { background: var(--blue); }
.nav--light .nav__links a:hover { color: var(--blue); }
.nav--light .nav__links a.active { color: var(--blue); font-weight: 500; }
.nav--light .nav__links a.active::after { width: 100%; }
.nav--light .nav__logo-fallback { color: var(--blue); }
.nav--light .nav__burger span { background: var(--text); }

/* Push page content down so it doesn't hide behind the floating nav */
body { padding-top: 0; }
.hero { /* hero is full-height so no padding needed */ }
.page-hero { padding-top: 104px; }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(10, 42, 74, 0.97);
  backdrop-filter: blur(20px);
  z-index: 950;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}
.mobile-menu ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.mobile-menu ul a {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--white);
  font-weight: 300;
}
.mobile-menu__close {
  position: absolute;
  top: 28px;
  right: 32px;
  color: var(--silver);
  font-size: 1.4rem;
}

@media (max-width: 768px) {
  .nav {
    top: 12px;
    width: calc(100% - 24px);
    border-radius: 14px;
  }
  .nav__inner { height: 56px; padding: 0 16px; }
  .nav__links { display: none; }
  .btn--nav { display: none; }
  .nav__burger { display: flex; }
}


/* ══════════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  height: 100svh;
  min-height: 640px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
/* When no video loads, fallback to dark blue background */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--blue-dark);
  z-index: 0;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 42, 74, 0.35);
  z-index: 1;
}
.hero__wordmark {
  position: absolute;
  font-family: var(--font-display);
  font-size: clamp(6rem, 16vw, 18rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.03);
  user-select: none;
  z-index: 2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  line-height: 1;
}
.hero__content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 0 20px;
  max-width: 840px;
}
.hero__eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 20px;
  display: block;
}
.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 600;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 24px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.hero__headline em {
  font-style: italic;
  color: var(--silver);
}
.hero__sub {
  font-size: 1.05rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 1px 6px rgba(0,0,0,0.3);
}
.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero__scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 3;
  opacity: 0.5;
}
.hero__scroll-hint span {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--silver);
}
.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: var(--silver);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 0.5; }
  50% { transform: scaleY(0.4); opacity: 1; }
}
.hero__stats {
  position: absolute;
  bottom: 40px;
  right: 48px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.hero__stat {
  text-align: right;
}
.hero__stat-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--white);
  line-height: 1;
}
.hero__stat span:not(.hero__stat-num) {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--silver);
}
.hero__stat p {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-top: 2px;
}


/* ══════════════════════════════════════════════════════════════
   TICKER
══════════════════════════════════════════════════════════════ */
.ticker {
  background: var(--blue);
  overflow: hidden;
  padding: 14px 0;
  white-space: nowrap;
}
.ticker__track {
  display: inline-flex;
  gap: 48px;
  animation: ticker 28s linear infinite;
}
.ticker__track span {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
}
.ticker__dot {
  color: var(--silver) !important;
  font-size: 0.5rem !important;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}


/* ══════════════════════════════════════════════════════════════
   ABOUT
══════════════════════════════════════════════════════════════ */
.about { background: var(--white); }
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about__image-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
  position: relative;
}
.about__image-wrap {
  grid-column: 1 / -1;
  height: 380px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}
.about__img { border-radius: var(--radius-lg); }
.about__image-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--blue);
  color: var(--white);
  padding: 16px 20px;
  border-radius: var(--radius);
}
.about__badge-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 600;
  line-height: 1;
}
.about__badge-label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.8;
}
.about__image-secondary {
  grid-column: 1 / -1;
  height: 200px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.about__body {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
}
.about__pillars {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.about__pillar {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.pillar-icon {
  color: var(--blue);
  font-size: 1rem;
  margin-top: 3px;
  flex-shrink: 0;
}
.about__pillar strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 2px;
}
.about__pillar p {
  font-size: 0.85rem;
  color: var(--text-muted);
}


/* ══════════════════════════════════════════════════════════════
   PROPERTIES
══════════════════════════════════════════════════════════════ */
.properties { background: var(--off-white); }
.properties__filter {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.filter-btn {
  padding: 9px 24px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1.5px solid var(--silver);
  border-radius: 100px;
  color: var(--text-muted);
  background: transparent;
  transition: var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}
.properties__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.property-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.property-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(30, 90, 140, 0.1);
  border-color: rgba(30, 90, 140, 0.15);
}
.property-card.hidden { display: none; }
.property-card__img-wrap {
  height: 220px;
  position: relative;
  overflow: hidden;
}
.property-card__img-wrap img {
  transition: transform 0.5s ease;
}
.property-card:hover .property-card__img-wrap img {
  transform: scale(1.05);
}
.property-card__tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--blue);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
}
.property-card__body { padding: 24px; }
.property-card__body h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 10px;
}
.property-card__body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}
.property-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--silver-light);
}
.property-card__meta span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--blue);
}
.property-card__link {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  transition: color var(--transition);
}
.property-card__link:hover { color: var(--blue); }


/* ══════════════════════════════════════════════════════════════
   AMENITIES
══════════════════════════════════════════════════════════════ */
.amenities {
  background: var(--text);
  position: relative;
  overflow: hidden;
}
.amenities__bg-img {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.07;
}
.amenities__bg-img img { object-position: center; }
.amenities__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.amenities__text .section-eyebrow { color: var(--silver); }
.amenities__text .section-title { color: var(--white); }
.amenities__text .section-sub { color: rgba(255,255,255,0.55); margin-bottom: 40px; }
.amenities__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.amenity {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  border: 1px solid rgba(192, 198, 212, 0.12);
  border-radius: var(--radius);
  transition: var(--transition);
}
.amenity:hover {
  background: rgba(192, 198, 212, 0.06);
  border-color: rgba(192, 198, 212, 0.22);
}
.amenity__icon {
  color: var(--silver);
  flex-shrink: 0;
  margin-top: 2px;
}
.amenity__text strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 4px;
}
.amenity__text p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.5;
}


/* ══════════════════════════════════════════════════════════════
   BANNER
══════════════════════════════════════════════════════════════ */
.banner {
  position: relative;
  overflow: hidden;
  height: 340px;
  display: flex;
  align-items: center;
}
.banner__bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  z-index: 0;
}
.banner__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 42, 74, 0.78);
  z-index: 1;
}
.banner__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.banner__headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.1;
}
/* When no banner image, use blue background */
.banner { background: var(--blue); }


/* ══════════════════════════════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════════════════════════════ */
.testimonials { background: var(--white); }

.testimonials__track-wrap {
  overflow: hidden;
  width: 100%;
}
.testimonials__track {
  display: flex;
  gap: 24px;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.testimonial-card {
  min-width: calc(50% - 12px);
  flex-shrink: 0;
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}
.testimonial-card__stars {
  color: var(--blue);
  font-size: 0.9rem;
  letter-spacing: 4px;
  margin-bottom: 20px;
  flex-shrink: 0;
}
.testimonial-card__quote {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 300;
  font-style: italic;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 24px;
  flex: 1; /* pushes author to bottom */
}
.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  min-width: 0; /* allows text truncation to work correctly */
}
.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  min-width: 44px; /* prevents image from shrinking */
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.testimonial-card__author > div {
  min-width: 0; /* allows inner text to wrap/truncate */
  flex: 1;
}
.testimonial-card__author strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.testimonial-card__author span {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 2px;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.testimonials__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 36px;
}
.t-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--silver);
  color: var(--text);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.t-btn:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}
.t-dots { display: flex; gap: 8px; }
.t-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--silver);
  border: none;
  transition: var(--transition);
  cursor: pointer;
}
.t-dot.active {
  background: var(--blue);
  transform: scale(1.3);
}

@media (max-width: 768px) {
  .testimonial-card { min-width: 100%; }
}


/* ══════════════════════════════════════════════════════════════
   CONTACT
══════════════════════════════════════════════════════════════ */
.contact { background: var(--off-white); }
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.contact__body {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
}
.contact__details { display: flex; flex-direction: column; gap: 16px; }
.contact__detail {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-muted);
}
.contact__detail svg { color: var(--blue); flex-shrink: 0; }
.contact__form {
  background: var(--white);
  padding: 48px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: 0 4px 32px rgba(0,0,0,0.05);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.form-group label {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text);
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--silver-light);
  border-radius: var(--radius);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--off-white);
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  background: var(--white);
}
.form-group select { appearance: none; cursor: pointer; }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 12px;
}


/* ══════════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════════ */
.footer { background: var(--text); padding: 80px 0 0; }
.footer__inner {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer__logo { height: 36px; width: auto; object-fit: contain; display: block; }
.footer__logo-fallback {
  display: none;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--white);
}
.footer__brand p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
  margin-top: 16px;
  max-width: 260px;
}
.footer__links h4,
.footer__contact h4 {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 20px;
}
.footer__links ul { display: flex; flex-direction: column; gap: 12px; }
.footer__links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.45);
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--white); }
.footer__contact p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.9;
}
.footer__social {
  display: flex;
  gap: 14px;
  margin-top: 20px;
}
.footer__social a {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.45);
  transition: var(--transition);
}
.footer__social a:hover {
  border-color: var(--silver);
  color: var(--silver);
}
.footer__bottom {
  padding: 20px 32px;
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.footer__bottom p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.2);
}
.footer__powered {
  font-size: 0.72rem !important;
  color: rgba(255,255,255,0.15) !important;
}
.footer__powered a {
  color: rgba(255,255,255,0.2);
  transition: color var(--transition);
}
.footer__powered a:hover { color: rgba(255,255,255,0.4); }


/* ══════════════════════════════════════════════════════════════
   BACK TO TOP
══════════════════════════════════════════════════════════════ */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 800;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(30, 90, 140, 0.35);
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.back-to-top:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
}


/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .about__grid { grid-template-columns: 1fr; gap: 48px; }
  .about__image-col { max-width: 600px; }
  .properties__grid { grid-template-columns: repeat(2, 1fr); }
  .amenities__inner { grid-template-columns: 1fr; gap: 48px; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 40px; }
  .contact__grid { grid-template-columns: 1fr; gap: 48px; }
  .hero__stats { display: none; }
}

@media (max-width: 768px) {
  .section { padding: 80px 0; }
  .container { padding: 0 20px; }

  .properties__grid { grid-template-columns: 1fr; }
  .testimonial-card { min-width: 100%; }
  .amenities__list { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 36px; }
  .contact__form { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .banner__inner { flex-direction: column; text-align: center; }
  .footer__bottom { flex-direction: column; align-items: center; text-align: center; }
  .hero__scroll-hint { display: none; }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; align-items: center; }
  .hero__actions .btn { width: 100%; max-width: 300px; justify-content: center; }
}


/* ══════════════════════════════════════════════════════════════
   MULTI-PAGE ADDITIONS
══════════════════════════════════════════════════════════════ */

/* ── PAGE HERO (used on interior pages) ── */
.page-hero {
  position: relative;
  height: 420px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--blue-dark);
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 42, 74, 0.72);
  z-index: 1;
}
.page-hero__content {
  position: relative;
  z-index: 2;
  padding-bottom: 64px;
}
.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--white);
  margin-top: 16px;
}
.page-hero__title em {
  font-style: italic;
  color: var(--silver);
}

/* ── QUICK LINKS GRID (home page) ── */
.quick-links { background: var(--off-white); }
.quick-links__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.quick-link-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 36px 28px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: var(--transition);
  color: var(--text);
}
.quick-link-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(30, 90, 140, 0.1);
  border-color: rgba(30, 90, 140, 0.2);
}
.quick-link-card__icon {
  color: var(--blue);
  margin-bottom: 4px;
}
.quick-link-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
}
.quick-link-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
}
.quick-link-card__cta {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--blue);
  margin-top: 8px;
}

/* ── VALUES GRID (about page) ── */
.values__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.value-card {
  padding: 40px 36px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.value-card:hover {
  border-color: rgba(30, 90, 140, 0.2);
  box-shadow: 0 8px 32px rgba(30, 90, 140, 0.07);
}
.value-card__num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 300;
  color: var(--silver-light);
  line-height: 1;
  margin-bottom: 16px;
}
.value-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 12px;
}
.value-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── RESPONSIVE — multi-page ── */
@media (max-width: 1024px) {
  .quick-links__grid { grid-template-columns: repeat(2, 1fr); }
  .values__grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .quick-links__grid { grid-template-columns: 1fr; }
  .page-hero { height: 340px; }
}


/* ══════════════════════════════════════════════════════════════
   PREMIUM ENHANCEMENTS
   1. Custom Cursor
   2. Page Transitions
   3. Split-Text Hero Headline
   4. Glassmorphism Property Cards
   5. Horizontal Scroll — Properties
══════════════════════════════════════════════════════════════ */


/* ── 1. CUSTOM CURSOR ── */
.cursor-dot {
  display: none;
}



/* ── 2. PAGE TRANSITION OVERLAY ── */
#pageTransition {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: var(--blue-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  /* Start visible (pre-load state) */
  transform: translateY(0);
  transition: transform 0.6s cubic-bezier(0.76, 0, 0.24, 1);
}

#pageTransition.transition-out {
  transform: translateY(-100%);
}

#pageTransition.transition-in {
  transform: translateY(0) !important;
  pointer-events: all;
}

.transition__wordmark {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 600;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.08);
  user-select: none;
}


/* ── 3. SPLIT-TEXT HERO HEADLINE ── */
.hero__headline {
  /* Reset the block-level reveal-up — words handle their own animation */
  opacity: 1 !important;
  transform: none !important;
}

.split-word {
  display: inline-block;
  overflow: hidden;
  /* Clip the slide-up within each word */
}

.split-word > * {
  display: inline-block;
}

.split-word {
  animation: wordSlideIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes wordSlideIn {
  from {
    opacity: 0;
    transform: translateY(60%) skewY(4deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) skewY(0deg);
  }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .split-word { animation: none !important; opacity: 1 !important; transform: none !important; }
}


/* ── 4. GLASSMORPHISM PROPERTY CARDS ── */

/* Dark background context needed for glass — we add a gradient wash */
.properties {
  background: linear-gradient(160deg, #0A2A4A 0%, #1E5A8C 40%, #0A2A4A 100%);
  position: relative;
}

/* Subtle animated grain overlay on the section */
.properties::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}

.properties .container { position: relative; z-index: 1; }

/* Section text adapts to dark background */
.properties .section-eyebrow { color: var(--silver); }
.properties .section-title   { color: var(--white); }
.properties .section-sub     { color: rgba(255,255,255,0.55); }

/* Filter buttons on dark bg */
.properties .filter-btn {
  border-color: rgba(192, 198, 212, 0.25);
  color: rgba(255,255,255,0.6);
}
.properties .filter-btn:hover,
.properties .filter-btn.active {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

/* Glass card base */
.property-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1),
              box-shadow 0.4s cubic-bezier(0.22,1,0.36,1),
              border-color 0.4s;
  position: relative;
}

/* Glow shimmer on the top edge */
.property-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(111,175,231,0.5), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.property-card:hover::before { opacity: 1; }

.property-card:hover {
  transform: translateY(-10px) scale(1.01);
  box-shadow:
    0 0 0 1px rgba(30,90,140,0.4),
    0 24px 64px rgba(0, 0, 0, 0.45),
    0 0 40px rgba(30, 90, 140, 0.25);
  border-color: rgba(111, 175, 231, 0.28);
}

/* Card text on dark glass */
.property-card__body h3      { color: var(--white); }
.property-card__body p       { color: rgba(255,255,255,0.55); }
.property-card__meta         { border-top-color: rgba(255,255,255,0.1); }
.property-card__meta span    { color: var(--silver); }
.property-card__link         { color: rgba(255,255,255,0.45); }
.property-card__link:hover   { color: var(--white); }

/* img placeholder in dark context */
.properties .img-placeholder { background: rgba(255,255,255,0.04); }
.properties .img-placeholder::after { color: rgba(255,255,255,0.2); }


/* ── 5. HORIZONTAL SCROLL SECTION — properties page ── */

/*
  .properties__scroll-section  — normal flow container
  .properties__sticky-inner    — standard block layout
  .properties__h-viewport      — clips and enables drag scroll
  .properties__h-track         — the row of cards
*/

.properties__scroll-section {
  height: auto;
  position: relative;
}

.properties__sticky-inner {
  position: static;
  height: auto;
  overflow: visible;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 0 80px;
}

.properties__sticky-header {
  padding: 0 clamp(20px, 4vw, 80px);
  margin-bottom: 48px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.properties__h-viewport {
  overflow-x: auto;
  overflow-y: visible;
  width: 100%;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
}
.properties__h-viewport::-webkit-scrollbar { display: none; }
.properties__h-viewport.is-dragging { cursor: grabbing; }

.properties__h-track {
  display: flex;
  gap: 24px;
  padding: 0 clamp(20px, 4vw, 80px) 32px;
  width: max-content;
}

/* Cards inside horizontal track: fixed width */
.properties__h-track .property-card {
  flex-shrink: 0;
  width: clamp(300px, 33vw, 420px);
}

/* Progress bar at the bottom */
.h-scroll-progress {
  position: relative;
  bottom: auto;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--blue), var(--silver));
  transition: width 0.1s linear;
  z-index: 2;
  margin: 0 clamp(20px, 4vw, 80px);
}

/* On mobile, fall back to normal grid */
@media (max-width: 1023px) {
  .properties__sticky-inner {
    padding: 80px 0;
  }
  .properties__sticky-header {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 40px;
  }
  .properties__h-track {
    flex-wrap: wrap;
    width: auto;
    padding: 0 clamp(20px, 4vw, 40px) 32px;
  }
  .properties__h-track .property-card {
    width: 100%;
    flex-shrink: unset;
  }
  .h-scroll-progress { display: none; }
}

@media (min-width: 1024px) and (max-width: 1280px) {
  .properties__h-track .property-card {
    width: 340px;
  }
}


/* ══════════════════════════════════════════════════════════════
   HOME PAGE STATS BAR — RESPONSIVE
══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .stats-bar-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 480px) {
  .stats-bar-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 32px !important;
  }
}
