/* ========================================
   George & Jun Wei Real Estate
   Brand: Modern Artisan
   Colors: Muted Terra, Off-White, Warm Bisque, Charcoal
   Inspired by: TikTok Developers Portal
   ======================================== */

/* --- CSS Custom Properties --- */
:root {
  --terra: #A6634B;
  --terra-light: #c4896e;
  --terra-dark: #8a4f3a;
  --terra-10: rgba(166, 99, 75, 0.1);
  --terra-20: rgba(166, 99, 75, 0.2);

  --off-white: #FAF9F6;
  --bisque: #ECD1B4;
  --bisque-light: #f5e6d4;
  --charcoal: #2D2D2D;
  --charcoal-light: #4a4a4a;

  --sage: #d4ddd0;
  --cream: #f0e8dc;

  --text-primary: #1a1a1a;
  --text-secondary: #666;
  --text-muted: #999;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container-max: 1360px;
  --section-padding: clamp(64px, 10vw, 120px);
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--off-white);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: default;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

/* --- Noise Overlay --- */
.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  background-repeat: repeat;
}

/* --- Custom Cursor --- */
.custom-cursor {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  .custom-cursor {
    display: block;
    position: fixed;
    z-index: 10000;
    pointer-events: none;
    mix-blend-mode: difference;
  }

  .cursor-dot {
    width: 6px;
    height: 6px;
    background: var(--terra);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background 0.2s;
    z-index: 10001;
    pointer-events: none;
  }

  .cursor-ring {
    width: 36px;
    height: 36px;
    border: 1.5px solid var(--terra);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, border-color 0.3s;
    z-index: 10000;
    pointer-events: none;
    opacity: 0.5;
  }

  body:has(.magnetic:hover) .cursor-ring {
    width: 56px;
    height: 56px;
    border-color: var(--terra-light);
  }

  body:has(a:hover) .cursor-dot,
  body:has(button:hover) .cursor-dot {
    width: 10px;
    height: 10px;
    background: var(--terra-light);
  }
}

/* --- Container --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

/* --- Section Styles --- */
.section-header {
  margin-bottom: clamp(40px, 6vw, 80px);
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 16px;
  padding: 6px 16px;
  background: var(--terra-10);
  border-radius: var(--radius-full);
}

.section-tag--light {
  background: rgba(255, 255, 255, 0.15);
  color: var(--bisque);
}

.section-title {
  font-family: var(--font-body);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--charcoal);
}

.section-title em {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 500;
  color: var(--terra);
}

.section-subtitle {
  margin-top: 20px;
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.7;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: var(--radius-full);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--charcoal);
  color: #fff;
}

.btn-primary:hover {
  background: var(--terra);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(166, 99, 75, 0.3);
}

.btn-secondary {
  background: var(--terra-10);
  color: var(--charcoal);
  border: 1px solid var(--terra-20);
}

.btn-secondary:hover {
  background: var(--terra-20);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--charcoal);
  border: 1.5px solid var(--charcoal);
}

.btn-outline:hover {
  background: var(--charcoal);
  color: #fff;
  transform: translateY(-2px);
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: all var(--transition);
}

.navbar.scrolled {
  background: rgba(250, 249, 246, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 10px 0;
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 101;
}

.logo-mark {
  width: 44px;
  height: 36px;
  color: var(--terra);
}

.logo-divider {
  width: 1px;
  height: 28px;
  background: var(--terra-20);
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.logo-name {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--charcoal);
  line-height: 1.2;
}

.logo-amp {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 400;
  color: var(--terra);
}

.logo-tagline {
  font-size: 0.55rem;
  letter-spacing: 0.35em;
  color: var(--text-muted);
  font-weight: 400;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  letter-spacing: -0.01em;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--terra);
  transition: width var(--transition);
}

.nav-link:hover {
  color: var(--charcoal);
}

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

.nav-cta {
  font-size: 0.88rem;
  font-weight: 500;
  padding: 10px 24px;
  background: var(--charcoal);
  color: #fff;
  border-radius: var(--radius-full);
  transition: all var(--transition);
}

.nav-cta:hover {
  background: var(--terra);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  z-index: 101;
  padding: 4px;
}

.nav-toggle span {
  width: 22px;
  height: 1.5px;
  background: var(--charcoal);
  transition: all var(--transition);
  display: block;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--off-white);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-slow);
}

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

.mobile-link {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-style: italic;
  color: var(--charcoal);
  transition: color var(--transition);
}

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

.mobile-cta {
  margin-top: 16px;
  padding: 14px 32px;
  background: var(--charcoal);
  color: #fff;
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-weight: 500;
}

@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .mobile-menu { display: flex; }
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 120px 24px 60px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(236, 209, 180, 0.3) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 80%, rgba(166, 99, 75, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 10% 60%, rgba(236, 209, 180, 0.15) 0%, transparent 50%);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(166, 99, 75, 0.04) 1px, transparent 0);
  background-size: 48px 48px;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--terra);
  background: var(--terra-10);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  margin-bottom: 32px;
  letter-spacing: 0.02em;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--terra);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.hero-title {
  font-family: var(--font-body);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--charcoal);
  margin-bottom: 24px;
}

.hero-line {
  display: block;
}

.hero-line--italic {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 500;
  color: var(--terra);
}

.hero-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
}

.hero-stat-number {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--charcoal);
  letter-spacing: -0.02em;
}

.hero-stat-suffix {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 600;
  color: var(--terra);
}

.hero-stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
  letter-spacing: 0.02em;
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: var(--terra-20);
}

/* Hero portraits */
.hero-portraits {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 48px;
}

.hero-portrait {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.hero-portrait img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 3px solid var(--off-white);
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  transition: transform var(--transition);
}

.hero-portrait:hover img {
  transform: scale(1.08);
}

.hero-portrait span {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--terra), transparent);
  animation: scrollLine 2s infinite;
}

@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  50.01% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

.hero-scroll-indicator span {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ===== MARQUEE ===== */
.marquee-section {
  padding: 24px 0;
  background: var(--charcoal);
  overflow: hidden;
}

.marquee-track {
  display: flex;
  width: max-content;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 32px;
  animation: marqueeScroll 30s linear infinite;
  white-space: nowrap;
}

.marquee-item {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.marquee-dot {
  width: 5px;
  height: 5px;
  background: var(--terra);
  border-radius: 50%;
  flex-shrink: 0;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== SERVICES ===== */
.services {
  padding: var(--section-padding) 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.service-card {
  background: #f0efec;
  border-radius: var(--radius-lg);
  padding: 0;
  overflow: hidden;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.service-card:hover {
  transform: scale(1.03);
}

.service-card[data-color="terra"]:hover { background: #f0ddd0; }
.service-card[data-color="bisque"]:hover { background: #f5e6d4; }
.service-card[data-color="sage"]:hover { background: var(--sage); }
.service-card[data-color="cream"]:hover { background: var(--cream); }

.service-card-inner {
  padding: 40px;
  position: relative;
  z-index: 1;
}

.service-icon {
  width: 48px;
  height: 48px;
  color: var(--terra);
  margin-bottom: 24px;
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: var(--terra);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.service-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.service-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--terra);
  transition: gap var(--transition);
}

.service-link:hover {
  gap: 10px;
}

/* Service card marquee on hover */
.service-marquee {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  overflow: hidden;
  height: 32px;
  opacity: 0;
  transition: opacity var(--transition);
}

.service-card:hover .service-marquee {
  opacity: 0.08;
}

.service-marquee span {
  display: inline-block;
  font-size: 1.2rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--charcoal);
  white-space: nowrap;
  animation: serviceMarquee 10s linear infinite;
}

@keyframes serviceMarquee {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0%); }
}

/* ===== ABOUT ===== */
.about {
  padding: var(--section-padding) 0;
  background: #fff;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
  margin-bottom: 64px;
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.about-card {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.about-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1;
  max-height: 480px;
  background: linear-gradient(135deg, var(--bisque-light) 0%, #e8ddd0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-photo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-card:hover .about-photo-img {
  transform: scale(1.04);
}

.about-photo-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--bisque-light) 0%, var(--bisque) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.photo-initial {
  font-family: var(--font-heading);
  font-size: 5rem;
  font-style: italic;
  color: var(--terra);
  opacity: 0.6;
}

.photo-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--terra);
  letter-spacing: 0.05em;
}

.about-photo-accent {
  position: absolute;
  bottom: -12px;
  right: -12px;
  width: 60%;
  height: 60%;
  background: var(--terra-10);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.about-info {
  flex: 1;
}

.about-name {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--charcoal);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.about-role {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--terra);
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.about-bio {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 20px;
}

.about-credentials {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.credential {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.credential-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.credential-value {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--charcoal);
  font-variant-numeric: tabular-nums;
}

.about-contact-links {
  display: flex;
  gap: 12px;
}

.about-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--terra);
  padding: 8px 16px;
  background: var(--terra-10);
  border-radius: var(--radius-full);
  transition: all var(--transition);
}

.about-link:hover {
  background: var(--terra-20);
  transform: translateY(-1px);
}

/* Specialty tags */
.about-specialties {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.specialty-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--terra);
  padding: 4px 12px;
  background: var(--terra-10);
  border-radius: var(--radius-full);
  letter-spacing: 0.02em;
}

/* Partnership */
.partnership {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 32px 40px;
  background: var(--off-white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(166, 99, 75, 0.1);
}

.partnership-logo {
  flex-shrink: 0;
}

.plb-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.plb-text {
  font-weight: 700;
  font-size: 1rem;
  color: var(--charcoal);
}

.partnership-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

@media (max-width: 640px) {
  .partnership {
    flex-direction: column;
    text-align: center;
    padding: 24px;
  }
}

/* ===== TRACK RECORD ===== */
.track-record {
  padding: var(--section-padding) 0;
  background: var(--charcoal);
  color: #fff;
}

.track-record .section-tag {
  color: var(--bisque);
  background: rgba(236, 209, 180, 0.15);
}

.track-record .section-title {
  color: #fff;
}

.track-record .section-title em {
  color: var(--bisque);
}

.track-record .section-subtitle {
  color: rgba(255,255,255,0.65);
}

.track-record-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 64px;
}

.track-stat {
  text-align: center;
  padding: 32px 16px;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.08);
  transition: all var(--transition);
}

.track-stat:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-4px);
}

.track-stat-icon {
  margin-bottom: 16px;
  color: var(--bisque);
}

.track-stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.track-stat-suffix {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--bisque);
  font-weight: 500;
}

.track-stat-label {
  display: block;
  margin-top: 8px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Achievements */
.achievements-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.achievement-card {
  padding: 28px;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.08);
  transition: all var(--transition);
}

.achievement-card:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-4px);
}

.achievement-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(166, 99, 75, 0.15);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
}

.achievement-icon svg {
  stroke: var(--bisque);
}

.achievement-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.achievement-desc {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}

/* Expertise bar */
.expertise-bar {
  text-align: center;
  padding: 40px;
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.08);
}

.expertise-bar .section-tag {
  margin-bottom: 20px;
}

.expertise-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.expertise-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 500;
  color: #fff;
  padding: 8px 20px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-full);
  transition: all var(--transition);
}

.expertise-tag:hover {
  background: rgba(236, 209, 180, 0.15);
  border-color: rgba(236, 209, 180, 0.3);
  color: var(--bisque);
}

@media (max-width: 1024px) {
  .track-record-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .achievements-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .track-record-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .achievements-grid {
    grid-template-columns: 1fr;
  }
  .track-stat-number {
    font-size: 2rem;
  }
}

/* ===== PROPERTIES ===== */
.properties {
  padding: var(--section-padding) 0;
}

.properties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.property-card--large {
  grid-column: span 2;
}

@media (max-width: 900px) {
  .properties-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .property-card--large {
    grid-column: span 2;
  }
}

@media (max-width: 600px) {
  .properties-grid {
    grid-template-columns: 1fr;
  }
  .property-card--large {
    grid-column: span 1;
  }
}

.property-card {
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.property-card:hover {
  transform: scale(1.03);
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

.property-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.property-card--large .property-image {
  aspect-ratio: 2/1;
}

.property-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.property-card:hover .property-image img {
  transform: scale(1.08);
}

.property-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}

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

.property-play {
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--charcoal);
  transform: scale(0.8);
  transition: transform var(--transition);
}

.property-card:hover .property-play {
  transform: scale(1);
}

.property-info {
  padding: 20px 24px;
}

.property-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.property-tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.tag-type {
  background: var(--terra-10);
  color: var(--terra);
}

.tag-district {
  background: rgba(45, 45, 45, 0.06);
  color: var(--text-secondary);
}

.property-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.property-price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--terra);
}

.properties-cta {
  text-align: center;
}

/* ===== WEBINARS ===== */
.webinars {
  padding: var(--section-padding) 0;
  background: #fff;
}

.webinars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

@media (max-width: 900px) {
  .webinars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .webinars-grid {
    grid-template-columns: 1fr;
  }
}

.webinar-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--off-white);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.webinar-card:hover {
  transform: scale(1.03);
  box-shadow: 0 16px 48px rgba(0,0,0,0.06);
}

.webinar-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.webinar-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.webinar-card:hover .webinar-image img {
  transform: scale(1.06);
}

.webinar-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  background: var(--terra);
  color: #fff;
  border-radius: var(--radius-full);
}

.webinar-info {
  padding: 24px;
}

.webinar-category {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 8px;
}

.webinar-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.webinar-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.webinar-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.webinar-duration {
  display: flex;
  align-items: center;
  gap: 4px;
}

.webinars-cta {
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* NOTG Featured Videos */
.notg-featured {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.notg-video {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--charcoal);
}

.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: var(--radius-lg);
}

@media (max-width: 768px) {
  .notg-featured {
    grid-template-columns: 1fr;
  }
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  padding: var(--section-padding) 0;
  overflow: hidden;
}

.testimonials-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

@media (max-width: 1100px) {
  .testimonials-track {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .testimonials-track {
    grid-template-columns: 1fr;
  }
}

.testimonials-cta {
  text-align: center;
}

.testimonial-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.06);
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 16px;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  background: var(--terra-10);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--terra);
}

.testimonial-name {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--charcoal);
}

.testimonial-detail {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ===== SOCIAL SECTION ===== */
.social-section {
  padding: var(--section-padding) 0;
  background: #fff;
}

.social-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 56px;
  background: var(--charcoal);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

@media (max-width: 768px) {
  .social-banner {
    grid-template-columns: 1fr;
    padding: 36px;
  }
}

.social-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-style: italic;
  color: #fff;
  margin-bottom: 12px;
}

.social-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  margin-bottom: 24px;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.social-tile {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1;
}

.social-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.social-tile:hover img {
  transform: scale(1.08);
}

/* ===== CONTACT CTA ===== */
.contact-cta {
  padding: var(--section-padding) 0;
}

.cta-wrapper {
  position: relative;
  background: var(--charcoal);
  border-radius: var(--radius-xl);
  padding: 80px 64px;
  overflow: hidden;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
}

.cta-title {
  font-family: var(--font-body);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.cta-title em {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 500;
  color: var(--bisque);
}

.cta-desc {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  margin-bottom: 32px;
}

.cta-contacts {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  transition: all var(--transition);
  flex: 1;
  min-width: 220px;
}

.cta-contact-card:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.cta-contact-name {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
}

.cta-contact-phone {
  display: block;
  font-size: 0.85rem;
  color: var(--bisque);
  font-variant-numeric: tabular-nums;
}

.cta-contact-icon {
  color: var(--bisque);
  flex-shrink: 0;
}

/* CTA Decorative shapes */
.cta-visual {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 50%;
  pointer-events: none;
}

.cta-shape {
  position: absolute;
  border-radius: 50%;
}

.cta-shape--1 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(166, 99, 75, 0.15), transparent 70%);
  top: -80px;
  right: -40px;
}

.cta-shape--2 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(236, 209, 180, 0.1), transparent 70%);
  bottom: -40px;
  right: 30%;
}

.cta-shape--3 {
  width: 120px;
  height: 120px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  top: 40%;
  right: 15%;
}

@media (max-width: 768px) {
  .cta-wrapper {
    padding: 48px 32px;
  }
  .cta-visual {
    display: none;
  }
}

/* ===== FOOTER ===== */
.footer {
  background: #1a1a1a;
  padding: 80px 0 40px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-logo .logo-mark {
  color: var(--terra-light);
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 20px;
  max-width: 320px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-social {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  transition: all var(--transition);
}

.footer-social:hover {
  border-color: var(--terra);
  color: var(--terra);
  background: rgba(166, 99, 75, 0.1);
}

.footer-heading {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 20px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition);
}

.footer-link:hover {
  color: #fff;
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

.footer-legal {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.3);
  line-height: 1.6;
  margin-bottom: 8px;
}

.footer-cea {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.25);
  font-variant-numeric: tabular-nums;
}

/* ===== ANIMATIONS ===== */
[data-animate] {
  opacity: 0;
  transform: translateY(32px);
}

[data-animate].animated {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Stagger delays */
[data-animate][data-delay="0.1"].animated { transition-delay: 0.1s; }
[data-animate][data-delay="0.2"].animated { transition-delay: 0.2s; }
[data-animate][data-delay="0.3"].animated { transition-delay: 0.3s; }
[data-animate][data-delay="0.4"].animated { transition-delay: 0.4s; }
[data-animate][data-delay="0.6"].animated { transition-delay: 0.6s; }
[data-animate][data-delay="0.8"].animated { transition-delay: 0.8s; }
[data-animate][data-delay="1.0"].animated { transition-delay: 1.0s; }
[data-animate][data-delay="1.2"].animated { transition-delay: 1.2s; }

/* ===== SMOOTH SCROLL ===== */
html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

/* ===== SELECTION ===== */
::selection {
  background: var(--terra);
  color: #fff;
}

::-moz-selection {
  background: var(--terra);
  color: #fff;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--off-white);
}

::-webkit-scrollbar-thumb {
  background: var(--terra-20);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--terra);
}
