:root {
  --color-ebony: #1A1714;
  --color-taupe: #8C7355;
  --color-cream: #FDFCF9;
  --color-sand: #F5F1EA;
  --color-sage: #E8EFEC;
  --color-text-muted: #6B5E4C;
  --transition-luxury: all 0.7s cubic-bezier(0.2, 1, 0.3, 1);
}


body {
  font-family: 'Inter', sans-serif;
  background-color: var(--color-cream);
  color: var(--color-ebony);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, .font-serif {
  /*font-family: 'Bodoni Moda', serif;*/
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif !important;
  letter-spacing: -0.02em;
}

.italic {
  font-style: italic;
}

.lowercase {
  text-transform: lowercase;
}

.tracking-widest {
  letter-spacing: 0.3em;
}

.tracking-tight {
  letter-spacing: -0.02em;
}

/* --- ANIMAZIONI REVEAL --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(0.25, 1, 0.5, 1), transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform, opacity;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.96) translateY(30px);
  transition: opacity 1.4s cubic-bezier(0.2, 1, 0.3, 1), transform 1.4s cubic-bezier(0.2, 1, 0.3, 1);
  will-change: transform, opacity;
}

.reveal-scale.active {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.delay-100 {
  transition-delay: 100ms;
}

.delay-200 {
  transition-delay: 200ms;
}

.delay-300 {
  transition-delay: 300ms;
}

.delay-500 {
  transition-delay: 500ms;
}

/* --- NAVBAR LUXURY --- */
.navbar-luxury {
  width: 100%;
  z-index: 1000;
  padding: 2rem 0;
  transition: var(--transition-luxury);
}

.navbar-luxury.nav-hidden {
  transform: translateY(-100%);
}

.navbar-luxury.scrolled,
.navbar-luxury.internal-page {
  background: rgba(253, 252, 249, 0.95);
  backdrop-filter: blur(12px);
  padding: 1rem 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
}

.navbar-container {
  max-width: 1800px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.nav-logo-box {
  max-width: 50px;
  transition: transform 0.5s ease;
}

.nav-brand-wrapper:hover .nav-logo-box {
  transform: scale(1.1);
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: var(--transition-luxury);
}

.scrolled .brand-logo-img, .internal-page .brand-logo-img {
  filter: brightness(0);
}

.nav-brand-text-group {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-name-serif {
  font-family: 'Bodoni Moda', serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: white;
  transition: color 0.5s ease;
}

.scrolled .brand-name-serif, .internal-page .brand-name-serif {
  color: var(--color-ebony);
}

.brand-tagline {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.5s ease;
}

.scrolled .brand-tagline, .internal-page .brand-tagline {
  color: var(--color-taupe);
}

.nav-links-desktop {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .nav-links-desktop {
    display: flex;
  }
}

.nav-link-luxury {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: white;
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
  padding: 0.5rem 0;
  background: transparent;
  border: none;
}

.scrolled .nav-link-luxury, .internal-page .nav-link-luxury {
  color: var(--color-ebony);
}

.nav-link-luxury:hover {
  color: var(--color-taupe) !important;
}

.nav-link-luxury::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background-color: var(--color-taupe);
  transition: width 0.4s cubic-bezier(0.2, 1, 0.3, 1);
}

.nav-link-luxury:hover::after {
  width: 100%;
}

.dropdown-trigger {
  position: relative;
}

.chevron-icon {
  width: 0.75rem;
  height: 0.75rem;
  display: inline-block;
  margin-left: 0.375rem;
  transition: transform 0.3s ease;
}

.luxury-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  padding-top: 1rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.dropdown-inner {
  background: white;
  border-radius: 0.75rem;
  min-width: 13rem;
  overflow: hidden;
  border: 1px solid var(--color-sand);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.dropdown-link {
  display: block;
  padding: 1rem 1.5rem;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-ebony);
  text-decoration: none;
  transition: all 0.3s ease;
}

.dropdown-link:hover {
  background-color: var(--color-sand);
  color: var(--color-taupe);
  padding-left: 1.75rem;
}

.dropdown-divider-custom {
  height: 1px;
  background-color: var(--color-sand);
}

.btn-cta-luxury {
  padding: 0.625rem 1.5rem;
  border-radius: 1rem;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border: none;
  cursor: pointer;
  background-color: white;
  color: var(--color-ebony);
  transition: var(--transition-luxury);
}

.scrolled .btn-cta-luxury, .internal-page .btn-cta-luxury {
  background-color: var(--color-ebony);
  color: white;
}

.btn-cta-luxury:hover {
  background-color: var(--color-taupe);
  color: white;
  transform: translateY(-2px);
}

/* --- MOBILE MENU --- */
body.mobile-menu-open {
  overflow: hidden;
}

.nav-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2rem;
  height: 2rem;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  position: relative;
}

.nav-hamburger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background-color: white;
  transition: transform 0.4s cubic-bezier(0.2, 1, 0.3, 1), opacity 0.3s ease;
  transform-origin: center;
}

.scrolled .nav-hamburger span,
.internal-page .nav-hamburger span {
  background-color: var(--color-ebony);
}

.nav-hamburger.is-open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-hamburger.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-hamburger.is-open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.nav-hamburger.is-open span {
  background-color: white !important;
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-ebony);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.5s cubic-bezier(0.2, 1, 0.3, 1), visibility 0.5s ease;
}

.mobile-menu-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
  text-align: center;
}

.mobile-menu-link {
  font-family: 'Bodoni Moda', serif;
  font-size: clamp(1.4rem, 5vw, 2.2rem);
  font-style: italic;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  letter-spacing: 0.04em;
  line-height: 1;
  transition: color 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
  transition: color 0.3s ease, opacity 0.5s ease, transform 0.5s cubic-bezier(0.2, 1, 0.3, 1);
}

.mobile-menu-overlay.is-open .mobile-menu-link {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu-overlay.is-open .mobile-menu-link:nth-child(1) {
  transition-delay: 0.1s;
}

.mobile-menu-overlay.is-open .mobile-menu-link:nth-child(2) {
  transition-delay: 0.15s;
}

.mobile-menu-overlay.is-open .mobile-menu-link:nth-child(3) {
  transition-delay: 0.2s;
}

.mobile-menu-overlay.is-open .mobile-menu-link:nth-child(4) {
  transition-delay: 0.25s;
}

.mobile-menu-overlay.is-open .mobile-menu-link:nth-child(5) {
  transition-delay: 0.3s;
}

.mobile-menu-overlay.is-open .mobile-menu-link:nth-child(6) {
  transition-delay: 0.35s;
}

.mobile-menu-overlay.is-open .mobile-menu-link:nth-child(7) {
  transition-delay: 0.4s;
}

.mobile-menu-link:hover {
  color: var(--color-taupe);
}

.mobile-menu-cta {
  margin-top: 0.5rem;
  padding: 0.75rem 2.5rem;
  border-radius: 1rem;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  background-color: var(--color-taupe);
  color: white;
  text-decoration: none;
  transition: background-color 0.3s ease, opacity 0.5s ease, transform 0.5s cubic-bezier(0.2, 1, 0.3, 1);
  opacity: 0;
  transform: translateY(20px);
}

.mobile-menu-overlay.is-open .mobile-menu-cta {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.45s;
}

.mobile-menu-cta:hover {
  background-color: white;
  color: var(--color-ebony);
}

/* --- HERO SECTION --- */
.hero-master {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  /*background-color: var(--color-ebony);*/
}

.hero-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /*opacity: 0.5;*/
  transform: scale(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgb(26 23 20 / 0%) 0%, rgb(26 23 20 / 6%) 50%, #fdfcf9d4 100%);
  /*background: linear-gradient(to bottom, rgba(26, 23, 20, 0.5) 0%, rgba(26, 23, 20, 0.2) 50%, #FDFCF9 100%);*/
}

.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1280px;
  padding: 0 1.5rem;
  text-align: center;
}

.hero-logo-large {
  width: 8rem;
  height: 8rem;
  margin: 0 auto 2.5rem;
}

.hero-logo-large img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.hero-title {
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: 1;
  color: white;
  margin-bottom: 5rem;
}

/* Search Bar Home */
.search-bar-home {
  max-width: 1024px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  padding: 0.75rem;
  border-radius: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  box-shadow: 0 20px 50px -20px rgba(26, 23, 20, 0.15);
}

@media (min-width: 768px) {
  .search-bar-home {
    flex-direction: row;
  }
}

.search-field {
  flex: 1;
  padding: 0.5rem 1.5rem;
  border-right: 1px solid var(--color-sand);
  text-align: left;
}

.search-field--wide {
  flex: 2;
}

@media (max-width: 767px) {
  .search-field {
    border-right: none;
    border-bottom: 1px solid var(--color-sand);
  }
}

.search-field label {
  display: block;
  font-size: 9px;
  font-weight: 700;
  color: var(--color-taupe);
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.search-field input, .search-field select {
  width: 100%;
  background: transparent;
  border: none;
  font-size: 0.875rem;
  outline: none;
}

.btn-search-home {
  background: var(--color-ebony);
  color: white;
  padding: 1.25rem 2.5rem;
  border-radius: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.2em;
  border: none;
  transition: var(--transition-luxury);
}

.btn-search-home:hover {
  background: var(--color-taupe);
  transform: scale(1.02);
}

/* --- PROPERTY CARD LUXURY --- */
.property-card-luxury {
  width: 100%;
  cursor: pointer;
  margin-bottom: 2rem;
}

.card-image-wrapper {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 2rem;
  box-shadow: 0 20px 50px -20px rgba(26, 23, 20, 0.08);
  margin-bottom: 1rem;
}

.card-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease;
}

.property-card-luxury:hover .card-image-wrapper img {
  transform: scale(1.1);
}

.card-badge {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-ebony);
}

.card-badge.development {
  background: var(--color-taupe);
  color: white;
}

.card-price-overlay {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: rgba(26, 23, 20, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  white-space: nowrap;
  z-index: 2;
}

/* FOR SALE / FOR RENT badge — top right */
.card-badge-status {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 0.3rem 0.7rem;
  border-radius: 4px;
  z-index: 2;
  white-space: nowrap;
}

.card-badge-sale {
  background: var(--color-taupe);
  color: #fff;
}

.card-badge-rent {
  background: var(--color-ebony);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.card-content {
  padding: 0 0.5rem;
}

.card-header-row {
  display: flex;
  align-items: baseline;
  margin-bottom: 1rem;
  gap: 1rem;
}

.card-title {
  font-size: 1.3rem;
  line-height: 1.2;
  color: var(--color-ebony);
  transition: color 0.3s;
}

.property-card-luxury:hover .card-title {
  color: var(--color-taupe);
}

.card-price {
  color: var(--color-taupe);
  font-weight: 700;
  font-size: 1.125rem;
  white-space: nowrap;
}

.card-location {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  font-style: italic;
  font-weight: 300;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.card-location svg {
  width: 1rem;
  height: 1rem;
  opacity: 0.4;
}

.card-specs-row {
  display: flex;
  gap: 2rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--color-sand);
  border-bottom: 1px solid var(--color-sand);
}

.spec-item {
  display: flex;
  flex-direction: column;
}

.spec-label {
  font-size: 9px;
  color: #A39788;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.15em;
  margin-bottom: 0.25rem;
}

.spec-value {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-ebony);
}

/* --- SECTIONS --- */
.section-padding {
  padding: 8rem 0;
}

.section-label {
  font-size: 0.95rem;
  color: var(--color-taupe);
  font-weight: 700;
  letter-spacing: 0.4em;
  display: block;
  margin-bottom: 1rem;
  font-style: italic;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(3rem, 5vw, 4rem);
  line-height: 1.1;
  color: var(--color-ebony);
  margin-bottom: 0;
  text-transform: uppercase;
}

.bg-cream {
  background-color: var(--color-cream);
}

.bg-sand-light {
  background-color: rgba(245, 241, 234, 0.3);
}

.banner-dream {
  border-top: 1px solid var(--color-sand);
  border-bottom: 1px solid var(--color-sand);
  text-align: center;
  overflow: hidden;
}

.banner-dream h2 {
  font-size: clamp(3rem, 7vw, 5rem);
  margin-bottom: 1.5rem;
}

.banner-dream p {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-weight: 300;
  line-height: 1.6;
  color: var(--color-text-muted);
  max-width: 48rem;
  margin: 0 auto;
}

/* Quote Section */
.quote-container {
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
}

.quote-mark {
  font-size: 4rem;
  color: rgba(140, 115, 85, 0.2);
  line-height: 1;
  margin-bottom: 2rem;
}

.quote-text {
  font-size: clamp(1.5rem, 4vw, 3rem);
  line-height: 1.4;
  font-style: italic;
  color: var(--color-ebony);
  margin-bottom: 2.5rem;
}

.quote-divider {
  width: 3rem;
  height: 1px;
  background: var(--color-taupe);
  margin: 0 auto 1.5rem;
}

.quote-author {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-ebony);
  display: block;
  margin-bottom: 0.25rem;
}

.quote-role {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-taupe);
  display: block;
}

/* Neighborhood Grid */
.neighborhood-card {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  cursor: pointer;
  height: 350px;
  box-shadow: 0 20px 50px -20px rgba(26, 23, 20, 0.08);
}

.neighborhood-card.large {
  height: 600px;
}

@media (max-width: 767px) {
  .neighborhood-card.large {
    height: 350px;
  }
}

.neighborhood-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease;
}

.neighborhood-card:hover img {
  transform: scale(1.1);
}

.neighborhood-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 23, 20, 0.8) 0%, transparent 60%);
  opacity: 0.8;
  transition: opacity 0.3s;
}

.neighborhood-card:hover .neighborhood-overlay {
  opacity: 0.9;
}

.neighborhood-info {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
}

.neighborhood-name {
  color: white;
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  display: block;
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif !important;
}

.neighborhood-count {
  color: rgba(255, 255, 255, 0.6);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

/* Agent Carousel */
.agent-carousel-dark {
  background-color: var(--color-ebony);
  padding: 8rem 0;
  overflow: hidden;
}

.scroll-container {
  display: flex;
  gap: 3rem;
  overflow-x: auto;
  padding: 0 1.5rem 3rem;
  margin: 0 -1.5rem;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.scroll-container::-webkit-scrollbar {
  display: none;
}

.agent-card-mini {
  flex: 0 0 20rem;
  cursor: pointer;
}

.agent-card-mini .img-box {
  aspect-ratio: 3/4;
  border-radius: 2rem;
  overflow: hidden;
  margin-bottom: 2rem;
}

.agent-card-mini img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transition: all 1s ease;
  object-position: top;
}

.agent-card-mini:hover img {
  filter: grayscale(0);
  transform: scale(1.1);
}

.agent-name-light {
  font-size: 1.875rem;
  color: rgba(255, 255, 255, 0.9);
  font-style: italic;
  margin-bottom: 0.5rem;
  transition: color 0.3s;
  text-transform: capitalize;
}

.agent-card-mini:hover .agent-name-light {
  color: var(--color-taupe);
}

/* --- FOOTER MASTER --- */
.footer-master {
  background-color: var(--color-ebony);
  padding: 6rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-inner-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  margin-bottom: 5rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.footer-logo-img {
  height: 3rem;
  width: 3rem;
  filter: brightness(0) invert(1);
}

.footer-brand-title {
  font-family: 'Bodoni Moda', serif;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: white;
}

.footer-mission-statement {
  max-width: 28rem;
  font-size: 1.125rem;
  font-weight: 300;
  line-height: 1.6;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
}

.footer-contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.4);
}

.footer-col-heading {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  color: white;
  font-style: italic;
  margin-bottom: 2rem;
}

.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-nav-list a {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-nav-list a:hover {
  color: var(--color-taupe);
}

.footer-bottom-bar {
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .footer-bottom-bar {
    flex-direction: row;
  }
}

.copyright-text {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.3);
}

.footer-legal-links {
  display: flex;
  gap: 2.5rem;
}

.footer-legal-links a {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.3);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-legal-links a:hover {
  color: white;
}


/* --- ABOUT US SPECIFIC STYLES --- */

/* Statistics Layout */
.about-stats-container {
  padding: 6rem 0;
  border-top: 1px solid var(--color-sand);
  border-bottom: 1px solid var(--color-sand);
}

.stats-number {
  font-size: clamp(3.5rem, 6vw, 5rem);
  font-family: 'Bodoni Moda', serif;
  font-style: italic;
  color: var(--color-taupe);
  line-height: 1;
  margin-bottom: 0.5rem;
  display: block;
}

.stats-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--color-ebony);
}

/* Boutique Layout Overlay */
.boutique-experience-row {
  margin-top: -2rem;
}

.border-boutique {
  border-left: 4px solid var(--color-taupe);
  padding-left: 3rem;
  margin: 3rem 0;
  background-color: rgba(245, 241, 234, 0.4);
  border-radius: 0 2.5rem 2.5rem 0;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.boutique-quote-text {
  font-family: 'Bodoni Moda', serif;
  font-style: italic;
  font-size: 1.75rem;
  line-height: 1.4;
  color: var(--color-ebony);
  text-transform: uppercase;
}

/* Image Grayscale Effect (Overriding global) */
.about-team-img-wrapper img {
  filter: grayscale(1);
  transition: filter 1.2s cubic-bezier(0.2, 1, 0.3, 1), transform 1.2s cubic-bezier(0.2, 1, 0.3, 1);
}

.about-team-img-wrapper:hover img {
  filter: grayscale(0);
}

/* Innovation Section */
.bg-innovation-sand {
  background-color: rgba(245, 241, 234, 0.3);
  position: relative;
  overflow: hidden;
}

.innovation-text {
  font-size: 1.25rem;
  line-height: 2;
  font-weight: 300;
  color: var(--color-text-muted);
}

/* Founder Specifics */
.quote-container-large {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.quote-mark-large {
  font-size: 5rem;
  color: rgba(140, 115, 85, 0.15);
  font-family: 'Bodoni Moda', serif;
  line-height: 1;
}

.quote-author-group {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.quote-author-name {
  font-weight: 800;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 0.25rem;
}

.quote-author-role {
  font-size: 10px;
  color: var(--color-taupe);
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.media-card-image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 2rem;
  box-shadow: 0 20px 50px -20px rgba(26, 23, 20, 0.08);
  margin-bottom: 2rem;
}

.media-image {
  max-height: 333px;
  width: 100%;
  object-fit: cover;
}


.news-card-wrapper {
  padding: 3rem;
  border: 1px solid var(--color-sand);
  border-radius: 2rem;
  background-color: transparent;
  transition: all 0.6s cubic-bezier(0.2, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none !important;
  position: relative;
  overflow: hidden;
}

.news-card-wrapper:hover {
  background-color: rgba(245, 241, 234, 0.6);
  border-color: var(--color-taupe);
  transform: translateY(-5px);
}

.news-category-label {
  font-family: 'Bodoni Moda', serif;
  font-size: 2.5rem;
  color: var(--color-taupe);
  font-style: italic;
  line-height: 1;
  text-transform: lowercase;
  letter-spacing: -0.02em;
}

.news-card-content h3 {
  font-size: 2rem;
  color: var(--color-ebony);
  margin-bottom: 1.5rem;
  line-height: 1.2;
  transition: color 0.4s ease;
  text-transform: uppercase;
}

.news-card-wrapper:hover h3 {
  color: var(--color-taupe);
}

.news-date-badge {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: #A39788;
  display: block;
}

.news-card-footer-icon {
  position: absolute;
  bottom: 3rem;
  right: 3rem;
  width: 1.5rem;
  height: 1.5rem;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.5s ease;
  color: var(--color-taupe);
}

.news-card-wrapper:hover .news-card-footer-icon {
  opacity: 1;
  transform: translateX(0);
}

/* Map Browser Frame */
.dev-map-browser {
  background: var(--color-ebony);
  border-radius: 3rem;
  overflow: hidden;
  box-shadow: 0 40px 100px -20px rgba(26, 23, 20, 0.3);
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.dev-map-top-bar {
  background: #25221F;
  padding: 1.25rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dev-browser-dots {
  display: flex;
  gap: 8px;
}

.dev-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.dev-browser-status {
  font-size: 9px;
  font-weight: 700;
  color: var(--color-taupe);
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.dev-map-iframe-container {
  height: 80vh;
  width: 100%;
  background: #f0f0f0;
  position: relative;
}

/* Value Cards */
.dev-value-card {
  padding: 3rem;
  border-radius: 2rem;
  background: white;
  border: 1px solid var(--color-sand);
  transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1);
  height: 100%;
}

.dev-value-card:hover {
  border-color: var(--color-taupe);
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(140, 115, 85, 0.05);
}

.dev-value-icon {
  width: 3rem;
  height: 3rem;
  color: var(--color-taupe);
  margin-bottom: 2rem;
  opacity: 0.8;
}

.dev-value-title {
  font-size: 1.5rem;
  font-family: 'Bodoni Moda', serif;
  font-style: italic;
  color: var(--color-ebony);
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.dev-value-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  font-weight: 300;
}

/* Floating Badge */
.dev-floating-label {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-ebony);
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  z-index: 10;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  pointer-events: none;
}

/* Custom Header spacing */
.dev-header-offset {
  padding-top: 14rem;
  padding-bottom: 6rem;
}


/* --- AGENT DETAIL SPECIFIC STYLES --- */

.agent-header-section {
  padding-top: 8rem;
  padding-bottom: 8rem;
}

.agent-profile-frame {
  aspect-ratio: 3/4;
  border-radius: 3rem;
  overflow: hidden;
  box-shadow: 0 40px 100px -30px rgba(26, 23, 20, 0.15);
  background-color: var(--color-sand);
}

.agent-profile-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.2);
  transition: filter 0.8s ease;
  object-position: top;
}

.agent-profile-frame:hover img {
  filter: grayscale(0);
}

.agent-bio-text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-text-muted);
  font-weight: 300;
  text-align: justify;
}

.agent-contact-info-block {
  padding: 1rem 0;
  border-top: 1px solid var(--color-sand);
  border-bottom: 1px solid var(--color-sand);
  margin-top: 1rem;
}

.agent-contact-link {
  display: block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--color-ebony);
  text-decoration: none;
  transition: color 0.3s ease;
}

.agent-contact-link:hover {
  color: var(--color-taupe);
}

.section-divider-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-family: 'Bodoni Moda', serif;
  font-style: italic;
  color: var(--color-ebony);
  margin-bottom: 4rem;
}

.closing-card {
  border: 1px solid var(--color-sand);
  border-radius: 2rem;
  padding: 2.5rem;
  transition: all 0.5s ease;
  height: 100%;
}

.closing-card:hover {
  background-color: white;
  border-color: var(--color-taupe);
  box-shadow: 0 20px 40px rgba(140, 115, 85, 0.05);
}

.closing-status {
  font-size: 9px;
  font-weight: 800;
  color: var(--color-taupe);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 1rem;
}

/* Override breadcrumb style */
.back-nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--color-taupe);
  text-decoration: none;
  margin-bottom: 4rem;
  transition: opacity 0.3s ease;
}

.back-nav:hover {
  opacity: 0.7;
}


/* Custom Styles to match TSX precisely */
.pd-hero-ambient {
  height: 85vh;
  background: #0D0C0B;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.pd-ambient-blur {
  position: absolute;
  inset: -5%;
  background-image: url('https://images.unsplash.com/photo-1512917774080-9991f1c4c750?auto=format&fit=crop&q=80&w=1200');
  background-size: cover;
  background-position: center;
  filter: blur(100px) saturate(1.6);
  opacity: 0.4;
  transform: scale(1.1);
}

.pd-hero-frame {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1200px;
  height: 65vh;
  border-radius: 3.5rem;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.pd-back-btn {
  position: absolute;
  top: 8rem;
  left: 6rem;
  z-index: 30;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  padding: 1rem 2rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-decoration: none;
  transition: all 0.4s ease;
}

.pd-back-btn:hover {
  color: var(--color-taupe);
  border-color: var(--color-taupe);
}

/* Main Content Grid */
.pd-overlap-content {
  max-width: 1800px;
  margin: -8rem auto 0;
  padding: 0 6rem 5rem;
  position: relative;
  z-index: 20;
}

.pd-main-card {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(30px);
  border-radius: 4rem;
  padding: 4rem;
  border: 1px solid var(--color-sand);
  box-shadow: 0 40px 100px rgba(26, 23, 20, 0.05);
}

.pd-price-text {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--color-taupe);
}

.pd-price-sqft {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
}

.pd-tax-label {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  opacity: 0.7;
  margin-top: 0.2rem;
}

/* Virtual tour button in hero */
/* Agent initials fallback avatar */
.agent-initials-avatar {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-taupe);
  color: white;
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  user-select: none;
}

.pd-virtual-tour-btn {
  position: absolute;
  top: 8rem;
  right: 6rem;
  z-index: 30;
  background: rgba(140, 115, 85, 0.85);
  backdrop-filter: blur(10px);
  padding: 1rem 2rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-decoration: none;
  transition: all 0.4s ease;
  display: flex;
  align-items: center;
}

.pd-virtual-tour-btn:hover {
  background: var(--color-taupe);
  color: white;
}

/* Stats row below description */
.pd-stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.pd-stat-item {
  flex: 1;
  min-width: 6rem;
}

/* Technical Specifications */
.tech-spec-section {
  padding: 8rem 0;
  background: white;
  border-top: 1px solid var(--color-sand);
  border-bottom: 1px solid var(--color-sand);
}

.spec-label {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: #A39788;
  margin-bottom: 0.5rem;
  display: block;
}

.spec-value {
  font-family: 'Bodoni Moda', serif;
  font-style: italic;
  font-size: 1.25rem;
  color: var(--color-ebony);
}

.spec-tag {
  padding: 0.25rem 0.75rem;
  background: var(--color-sand);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
  border-radius: 999px;
}

/* Gallery Mosaic precisely like TSX */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2.5rem;
}

.g-span-8 {
  grid-column: span 8;
  aspect-ratio: 16/9;
}

.g-span-4 {
  grid-column: span 4;
  aspect-ratio: 3/4;
}

.g-span-4-sq {
  grid-column: span 4;
  aspect-ratio: 1/1;
}

.g-span-8-pan {
  grid-column: span 8;
  aspect-ratio: 21/9;
}

.g-item {
  border-radius: 4rem;
  overflow: hidden;
  border: 1px solid white;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.g-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s ease;
}

.g-item:hover img {
  transform: scale(1.05);
}

/* --- DETAIL PAGE MOBILE --- */
@media (max-width: 767px) {
  .pd-back-btn {
    top: 5rem;
    left: 1rem;
    padding: 0.5rem 1rem;
  }

  .pd-virtual-tour-btn {
    top: 5rem;
    right: 1rem;
    padding: 0.5rem 1rem;
  }

  .pd-hero-frame {
    border-radius: 1.25rem;
    height: 45vh;
  }

  .pd-overlap-content {
    margin: -3rem auto 0;
    padding: 0 1rem 2.5rem;
  }

  .pd-main-card {
    border-radius: 1.5rem;
    padding: 1.5rem;
  }

  .tech-spec-section {
    padding: 3rem 0;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .g-span-8,
  .g-span-4,
  .g-span-4-sq,
  .g-span-8-pan {
    grid-column: span 1;
    aspect-ratio: 4/3;
  }

  .agent-sidebar-card {
    border-radius: 1.5rem;
    padding: 1.5rem;
  }
}

/* Sidebar Agent Card */
.agent-sidebar-card {
  position: sticky;
  top: 10rem;
  background: var(--color-ebony);
  padding: 2.5rem;
  border-radius: 3rem;
  color: white;
}


.social-sidebar-static {
  position: fixed;
  right: 30px;
  bottom: 30px;
  /*transform: translateY(-50%);*/
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 25px;
  align-items: center;
}

.sidebar-line {
  width: 1px;
  height: 80px;
  background: rgba(140, 115, 85, 0.3);
}

.sidebar-text {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5em;
  color: var(--color-taupe);
  margin-top: 15px;
}

.social-icon-link {
  color: var(--color-ebony);
  transition: all 0.3s ease;
}

.social-icon-link.white {
  color: var(--color-taupe);
}

.social-icon-link:hover {
  color: var(--color-taupe);
  transform: scale(1.1);
}


.btn-black {
  background-color: var(--color-sand);
  color: var(--color-ebony);
  padding: 1.25rem 1.5rem;
  border-radius: 1rem;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  transition: all 0.4s ease;
  border: none;
}

.btn-black:hover {
  background-color: var(--color-taupe);
  color: white;
  transform: translateY(-2px);
}

.img-founder-home {
  max-width: 190px;
  justify-self: center;
}

.text-justify {
  text-align: justify;
}

.video-card-image-wrapper {
  position: relative;
  /* aspect-ratio: 4 / 3; */
  overflow: hidden;
  border-radius: 2rem;
  margin: 0px auto;
  max-width: 420px;
  margin-bottom: 1rem;
}
