/* ============================================
   THE ESTATE SALE HOUSE — WOW Factor Design
   ============================================ */

/* --- CSS Variables --- */
:root {
  --red: #e63946;
  --red-light: #ff6b6b;
  --red-dark: #c1121f;
  --red-soft: #fff0f0;
  --red-glow: rgba(230, 57, 70, 0.25);
  --black: #1c1c22;
  --black-light: #26262e;
  --white: #ffffff;
  --warm-bg: #faf8f6;
  --warm-light: #f5f0eb;
  --gray-50: #f9f9fb;
  --gray-100: #f0f0f3;
  --gray-200: #e4e4e9;
  --gray-300: #d1d1d8;
  --gray-400: #a0a0ad;
  --gray-500: #6e6e80;
  --gray-600: #4e4e5e;
  --font-display: 'Space Grotesk', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --font-accent: 'Playfair Display', Georgia, serif;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --radius: 10px;
  --radius-lg: 18px;
  --radius-xl: 28px;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--gray-600);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Scroll Progress Bar --- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--red-light), #ffab91);
  z-index: 10001;
  transition: width 0.05s linear;
  box-shadow: 0 0 10px var(--red-glow);
}

/* --- Accent text --- */
.text-accent {
  font-family: var(--font-accent);
  font-style: italic;
  color: var(--red);
  font-weight: 700;
}
.text-accent-light {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 700;
}

/* --- Preloader / Splash Screen --- */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}
#preloader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.preloader-inner { text-align: center; }
.preloader-icon {
  margin-bottom: 1.2rem;
  color: var(--red);
  animation: preloaderIconIn 0.6s var(--ease-out-expo) forwards;
  opacity: 0;
  transform: scale(0.5) translateY(10px);
}
.preloader-icon svg {
  width: 48px;
  height: 48px;
}
.preloader-house-roof {
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  animation: preloaderDraw 0.6s 0.2s ease forwards;
}
.preloader-house-body {
  stroke-dasharray: 30;
  stroke-dashoffset: 30;
  animation: preloaderDraw 0.5s 0.5s ease forwards;
}
.preloader-house-walls {
  stroke-dasharray: 50;
  stroke-dashoffset: 50;
  animation: preloaderDraw 0.5s 0.4s ease forwards;
}
@keyframes preloaderDraw { to { stroke-dashoffset: 0; } }
@keyframes preloaderIconIn {
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.preloader-logo {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 0.4rem;
  letter-spacing: -0.03em;
  opacity: 0;
  animation: preloaderFadeUp 0.5s 0.3s var(--ease-out-expo) forwards;
}
.preloader-tagline {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--gray-400);
  margin-bottom: 2rem;
  opacity: 0;
  animation: preloaderFadeUp 0.5s 0.5s var(--ease-out-expo) forwards;
}
@keyframes preloaderFadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.preloader-bar {
  width: 200px;
  height: 3px;
  background: var(--gray-100);
  border-radius: 3px;
  overflow: hidden;
  margin: 0 auto;
}
.preloader-bar-fill {
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--red), var(--red-light));
  border-radius: 3px;
  animation: preloaderFill 1s 0.4s var(--ease-out-expo) forwards;
}
@keyframes preloaderFill { to { width: 100%; } }

/* --- Custom Cursor --- */
.cursor-dot, .cursor-ring { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor-dot {
    display: block;
    position: fixed;
    width: 6px;
    height: 6px;
    background: var(--red);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease;
    mix-blend-mode: difference;
  }
  .cursor-ring {
    display: block;
    position: fixed;
    width: 40px;
    height: 40px;
    border: 1.5px solid var(--red-light);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: width 0.4s var(--ease-spring), height 0.4s var(--ease-spring), border-color 0.3s ease, opacity 0.3s ease;
    opacity: 0.3;
  }
  .cursor-ring.hover {
    width: 64px;
    height: 64px;
    border-color: var(--red);
    opacity: 0.6;
  }
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: all 0.5s var(--ease-out-expo);
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  padding: 10px 0;
  box-shadow: 0 1px 30px rgba(0,0,0,0.06);
}
.nav.scrolled .nav-logo-text { color: var(--black); }
.nav.scrolled .nav-logo-img { filter: brightness(0) saturate(100%); }
.nav.scrolled .nav-link { color: var(--gray-500); }
.nav.scrolled .nav-link:hover { color: var(--black); }
.nav.scrolled .nav-toggle span { background: var(--black); }
.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo-img {
  height: 44px;
  width: auto;
  transition: filter 0.3s ease;
}
.nav-logo-text {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  transition: color 0.3s ease;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-link {
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  position: relative;
  transition: color 0.3s ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width 0.4s var(--ease-out-expo);
}
.nav-link:hover { color: var(--white); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link.active { color: var(--white); }
.nav.scrolled .nav-link.active { color: var(--red); }

.nav-cta {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--white);
  background: var(--red);
  padding: 10px 24px;
  border-radius: 100px;
  transition: all 0.4s var(--ease-out-expo);
}
.nav-cta:hover {
  background: var(--red-dark);
  box-shadow: 0 8px 30px var(--red-glow);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  z-index: 1001;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--black);
}
.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-bg-video ~ .hero-bg-fallback { display: none; }
.hero-bg-image {
  position: absolute;
  inset: -20px;
  width: calc(100% + 40px);
  height: calc(100% + 40px);
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease-out;
}
.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(80, 80, 90, 0.88) 0%, rgba(160, 80, 80, 0.80) 25%, rgba(230, 120, 100, 0.78) 55%, rgba(255, 180, 150, 0.82) 100%);
}
.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-particle {
  position: absolute;
  background: rgba(255,255,255,0.8);
  border-radius: 50%;
  animation: particleFloat 8s infinite ease-in-out;
}
@keyframes particleFloat {
  0% { opacity: 0; transform: translateY(100vh) scale(0); }
  10% { opacity: 0.7; }
  90% { opacity: 0.7; }
  100% { opacity: 0; transform: translateY(-10vh) scale(1); }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 140px 24px 140px;
  max-width: 1000px;
}

/* Hero badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 22px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 3rem;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,0.1);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}
.hero-badge.visible { opacity: 1; transform: translateY(0); }
.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--white);
  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 — word-by-word reveal */
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.02;
  margin-bottom: 2rem;
  letter-spacing: -0.04em;
}
.hero-title-line {
  display: block;
  overflow: hidden;
}
.hero-title-accent {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 700;
  color: var(--white);
  text-shadow: 0 2px 40px rgba(0,0,0,0.15);
}
.hero-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}
.hero-word.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255,255,255,0.88);
  max-width: 540px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}
.hero-subtitle.visible { opacity: 1; transform: translateY(0); }

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 4rem;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}
.hero-actions.visible { opacity: 1; transform: translateY(0); }

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}
.hero-stats.visible { opacity: 1; transform: translateY(0); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 15px 34px;
  border-radius: 100px;
  transition: all 0.4s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--white);
  color: var(--red);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.15);
}
.btn-glow::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--red), var(--red-light), #ffab91, var(--red));
  background-size: 300% 300%;
  animation: glowShift 4s ease infinite;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.btn-glow:hover::before { opacity: 1; }
@keyframes glowShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.btn-ghost {
  border: 2px solid rgba(255,255,255,0.4);
  color: var(--white);
}
.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.12);
  transform: translateY(-3px);
}
.btn-light {
  background: var(--white);
  color: var(--red);
}
.btn-light:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.1);
}
.btn-red {
  background: var(--red);
  color: var(--white);
}
.btn-red:hover {
  background: var(--red-dark);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px var(--red-glow);
}
.btn-full { width: 100%; justify-content: center; }
.btn-magnetic { transition: all 0.3s var(--ease-out-expo); }

.hero-stat { text-align: center; }
.hero-stat-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
  display: inline;
  letter-spacing: -0.03em;
}
.hero-stat-plus {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: rgba(255,255,255,0.8);
  font-weight: 700;
}
.hero-stat-label {
  display: block;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 6px;
  font-weight: 500;
}
.hero-stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.2);
}

/* Hero Countdown Pill */
.hero-countdown-box {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 14px 28px;
  border-radius: 100px;
  margin-top: 24px;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
  animation: fadeInUp 1s ease 1.2s both;
}
.hero-countdown-box:hover {
  background: rgba(0, 0, 0, 0.9);
  border-color: var(--red);
  transform: translateY(-2px);
}
.hero-pill-dot {
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.hero-box-label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.hero-box-timer {
  display: flex;
  align-items: baseline;
  gap: 3px;
}
.hero-box-num {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.hero-box-sub {
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  margin-right: 5px;
}
.hero-box-cta {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--red);
  transition: transform 0.3s ease;
}
.hero-countdown-box:hover .hero-box-cta {
  transform: translateX(3px);
}
@media (max-width: 768px) {
  .hero-countdown-box {
    gap: 8px;
    padding: 10px 20px;
    margin-top: 16px;
  }
  .hero-box-num { font-size: 1rem; }
  .hero-box-sub { font-size: 0.5rem; margin-right: 3px; }
  .hero-box-label { font-size: 0.6rem; }
  .hero-box-cta { font-size: 0.85rem; }
}

.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.6);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
}
.hero-scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--white), transparent);
  animation: scrollLine 2s infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* --- Marquee --- */
.marquee {
  background: rgba(60, 35, 35, 0.65);
  backdrop-filter: blur(8px);
  padding: 16px 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee-track {
  display: flex;
  gap: 28px;
  animation: marqueeScroll 25s linear infinite;
}
.marquee-track span {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  flex-shrink: 0;
}
.marquee-dot {
  font-size: 0.5rem;
  opacity: 0.3;
  display: flex;
  align-items: center;
  color: var(--red-light);
}
@keyframes marqueeScroll { to { transform: translateX(-50%); } }

/* --- Wave Dividers --- */
.wave-divider {
  position: relative;
  margin-top: -2px;
  line-height: 0;
}
.wave-divider svg {
  width: 100%;
  height: 60px;
  display: block;
}
.wave-divider-flip {
  margin-top: 0;
  margin-bottom: -2px;
}

/* --- Section Styles --- */
.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-label::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
}
.section-header.center .section-label { justify-content: center; }
.section-header.center .section-label::after {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 700;
  color: var(--black);
  line-height: 1.1;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}
.section-header.center { text-align: center; margin-bottom: 2.5rem; }
.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-500);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.8;
}

/* --- About Section --- */
.about {
  padding: 80px 0;
  background: var(--white);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--black);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}
.about-title em {
  font-family: var(--font-accent);
  font-style: italic;
  color: var(--red);
}
.about-text {
  font-size: 1rem;
  color: var(--gray-500);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}
.about-features {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 2rem;
}
.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px;
  border-radius: var(--radius-lg);
  transition: all 0.4s var(--ease-out-expo);
  border: 1px solid transparent;
}
.about-feature:hover {
  background: var(--red-soft);
  border-color: rgba(230, 57, 70, 0.08);
  transform: translateX(6px);
}
.about-feature-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: linear-gradient(135deg, var(--red), var(--red-light));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}
.about-feature h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 4px;
}
.about-feature p {
  font-size: 0.88rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* About Image Stack */
.about-right { position: relative; }
.about-image-stack {
  position: relative;
  height: 520px;
}
.about-image {
  position: absolute;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.12);
}
.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out-expo);
}
.about-image:hover img { transform: scale(1.06); }
.about-image-1 { width: 300px; height: 380px; top: 0; left: 0; z-index: 2; }
.about-image-2 { width: 280px; height: 340px; top: 80px; right: 0; z-index: 1; }
.about-badge-float {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 20px 28px;
  text-align: center;
  box-shadow: 0 16px 48px rgba(0,0,0,0.1);
  z-index: 3;
  border: 1px solid var(--gray-100);
  animation: badgeFloat 4s ease-in-out infinite;
}
@keyframes badgeFloat {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-12px); }
}
.about-badge-number {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--red);
  letter-spacing: -0.03em;
}
.about-badge-text {
  font-size: 0.72rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.4;
  font-weight: 600;
}

/* --- Services Section --- */
.services {
  padding: 80px 0;
  background: var(--warm-bg);
  position: relative;
  overflow: hidden;
}
.services-bg {
  position: absolute;
  top: -50%;
  right: -20%;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 57, 70, 0.04), transparent 70%);
  pointer-events: none;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  transition: all 0.5s var(--ease-out-expo);
  border: 1px solid var(--gray-100);
  will-change: transform;
}
.service-card:hover {
  box-shadow: 0 32px 80px rgba(0,0,0,0.08);
  border-color: transparent;
}
.service-card:hover .service-card-line { width: 100%; }
.service-card:hover .service-card-number { color: var(--red); opacity: 1; }
.service-card-number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--red);
  transition: all 0.5s ease;
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
  opacity: 0.15;
}
.service-card-icon {
  width: 54px;
  height: 54px;
  background: var(--red-soft);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  margin-bottom: 20px;
  transition: all 0.4s var(--ease-out-expo);
}
.service-card:hover .service-card-icon {
  background: var(--red);
  color: var(--white);
  transform: scale(1.1);
}
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 10px;
}
.service-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.7;
}
.service-card-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--red-light));
  transition: width 0.6s var(--ease-out-expo);
}

/* --- Upcoming Sales Section --- */
.upcoming-sales {
  padding: 70px 0;
  background: var(--white);
}
.upcoming-sales-embed {
  margin-top: 48px;
  background: var(--warm-bg);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
  min-height: 400px;
  overflow: hidden;
  border: 1px solid var(--gray-100);
}
.upcoming-sales-embed iframe {
  border-radius: 12px;
  width: 100%;
}

/* --- Gallery Section — Horizontal Scroll --- */
.gallery {
  padding: 70px 0 70px;
  background: var(--warm-bg);
  overflow: hidden;
}
.gallery-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0 24px 20px;
  cursor: grab;
}
.gallery-scroll::-webkit-scrollbar { display: none; }
.gallery-scroll-track {
  display: flex;
  gap: 20px;
  padding-bottom: 10px;
}
.gallery-card {
  position: relative;
  min-width: 380px;
  height: 460px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  flex-shrink: 0;
}
.gallery-card-tall {
  min-width: 320px;
  height: 520px;
}
.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out-expo);
}
.gallery-card:hover img { transform: scale(1.08); }
.gallery-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.8) 0%, rgba(10,10,10,0.1) 40%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.gallery-card:hover .gallery-card-overlay,
.gallery-card.in-view .gallery-card-overlay { opacity: 1; }
.gallery-tag {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 12px;
  width: fit-content;
}
.gallery-card-overlay h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.gallery-card-overlay p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
}

/* --- Process Section --- */
.process {
  padding: 80px 0;
  background: var(--white);
}
.process-timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}
.process-line {
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gray-200);
}
.process-step {
  display: flex;
  gap: 32px;
  padding-bottom: 48px;
  position: relative;
}
.process-step:last-child { padding-bottom: 0; }
.process-step-marker {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  transition: all 0.5s var(--ease-out-expo);
}
.process-step-marker span {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-400);
  transition: color 0.5s ease;
}
.process-step.in-view .process-step-marker {
  border-color: var(--red);
  background: var(--red);
  box-shadow: 0 8px 30px var(--red-glow);
  transform: scale(1.1);
}
.process-step.in-view .process-step-marker span { color: var(--white); }
.process-step-content h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 8px;
  margin-top: 10px;
}
.process-step-content p {
  font-size: 0.92rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* --- FAQ Section --- */
.faq {
  padding: 80px 0;
  background: var(--warm-bg);
}
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.4s var(--ease-out-expo);
}
.faq-item:hover {
  border-color: rgba(230, 57, 70, 0.15);
  box-shadow: 0 8px 30px rgba(0,0,0,0.04);
}
.faq-item.open {
  border-color: rgba(230, 57, 70, 0.2);
  box-shadow: 0 12px 40px rgba(0,0,0,0.06);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--black);
  text-align: left;
  cursor: pointer;
  transition: color 0.3s ease;
}
.faq-question:hover { color: var(--red); }
.faq-icon {
  flex-shrink: 0;
  color: var(--red);
  transition: transform 0.4s var(--ease-out-expo);
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease-out-expo), padding 0.5s var(--ease-out-expo);
  padding: 0 28px;
}
.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 28px 24px;
}
.faq-answer p {
  font-size: 0.92rem;
  color: var(--gray-500);
  line-height: 1.8;
}

/* --- Market Report Section --- */
.market-report {
  padding: 100px 0;
  background: var(--warm-bg);
}
.report-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 60px;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
}
.report-cover {
  position: relative;
}
.report-cover img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0,0,0,0.15), 0 6px 20px rgba(0,0,0,0.08);
  transition: transform 0.4s var(--ease-out-expo);
}
.report-cover:hover img {
  transform: translateY(-4px) scale(1.02);
}
.report-info .section-label { margin-bottom: 12px; }
.report-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--black);
  line-height: 1.2;
  margin-bottom: 16px;
}
.report-title em {
  font-family: var(--font-accent);
  font-style: italic;
  color: var(--red);
}
.report-text {
  font-size: 1rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 20px;
}
.report-highlights {
  list-style: none;
  margin-bottom: 20px;
}
.report-highlights li {
  position: relative;
  padding-left: 22px;
  font-size: 0.92rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 8px;
}
.report-highlights li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
}
.report-note {
  font-size: 0.85rem;
  color: var(--gray-400);
  font-style: italic;
  margin-bottom: 28px;
  line-height: 1.5;
}
.report-dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* Report Download Modal */
.report-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.report-modal.active { display: flex; }
.report-modal-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  max-width: 420px;
  width: 100%;
  box-shadow: 0 24px 80px rgba(0,0,0,0.3);
  position: relative;
}
.report-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--gray-400);
  cursor: pointer;
  line-height: 1;
}
.report-modal-close:hover { color: var(--black); }
.report-modal h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 6px;
}
.report-modal p {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-bottom: 24px;
  line-height: 1.5;
}
.report-modal label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 5px;
}
.report-modal input[type="text"],
.report-modal input[type="email"] {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: var(--font-body);
  margin-bottom: 16px;
  transition: border-color 0.2s;
}
.report-modal input:focus {
  outline: none;
  border-color: var(--red);
}
.report-submit {
  width: 100%;
  padding: 14px;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: background 0.2s;
}
.report-submit:hover { background: var(--red-dark); }
.report-submit:disabled { opacity: 0.6; cursor: wait; }
.report-privacy {
  font-size: 0.72rem;
  color: var(--gray-400);
  text-align: center;
  margin-top: 14px;
}

@media (max-width: 768px) {
  .market-report { padding: 60px 0; }
  .report-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  .report-cover {
    max-width: 260px;
    margin: 0 auto;
  }
  .report-highlights { text-align: left; }
  .report-title { font-size: 1.6rem; }
  .report-dl-btn { width: 100%; justify-content: center; }
  .report-modal-card { padding: 28px 20px; }
}

/* --- Testimonials Section --- */
.testimonials {
  padding: 80px 0;
  background: linear-gradient(135deg, #e63946 0%, #ff6b6b 60%, #ff8a80 100%);
  overflow: hidden;
  position: relative;
}
.testimonials::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  pointer-events: none;
}
.testimonials::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
  pointer-events: none;
}
.testimonials .section-label { color: rgba(255,255,255,0.85); }
.testimonials .section-label::before { background: rgba(255,255,255,0.5); }
.testimonials .section-header.center .section-label::after { background: rgba(255,255,255,0.5); }
.testimonials .section-title { color: var(--white); }
.testimonials .text-accent-light { color: var(--white); }

.google-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 100px;
  padding: 10px 24px;
  margin-top: 1rem;
  backdrop-filter: blur(10px);
}
.google-badge-icon {
  display: flex;
  align-items: center;
}
.google-badge-stars {
  color: #fbbf24;
  font-size: 1.1rem;
  letter-spacing: 2px;
}
.google-badge-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
}
.google-review-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 2rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  border-bottom: 1px solid rgba(255,255,255,0.3);
  padding-bottom: 2px;
  transition: all 0.3s ease;
}
.google-review-link:hover {
  color: var(--white);
  border-color: var(--white);
}

.testimonials-slider {
  position: relative;
  overflow: hidden;
  margin-top: 1rem;
}
.testimonials-track {
  display: flex;
  transition: transform 0.7s var(--ease-out-expo);
}
.testimonial-card {
  flex: 0 0 100%;
  padding: 48px 56px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(20px);
  text-align: center;
  box-sizing: border-box;
}
.testimonial-stars {
  display: flex;
  gap: 4px;
  justify-content: center;
  color: #ffd700;
  margin-bottom: 24px;
}
.testimonial-text {
  font-size: 1.12rem;
  color: rgba(255,255,255,0.95);
  line-height: 1.9;
  margin-bottom: 32px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.testimonial-avatar {
  width: 46px;
  height: 46px;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--white);
}
.testimonial-name { font-weight: 600; color: var(--white); font-size: 0.95rem; }
.testimonial-role { font-size: 0.82rem; color: rgba(255,255,255,0.7); }

.testimonials-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}
.testimonials-btn {
  width: 48px;
  height: 48px;
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: all 0.4s var(--ease-out-expo);
}
.testimonials-btn:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.15);
  transform: scale(1.1);
}
.testimonials-dots { display: flex; gap: 8px; }
.testimonials-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: all 0.4s var(--ease-out-expo);
}
.testimonials-dot.active {
  background: var(--white);
  width: 32px;
  border-radius: 4px;
}
.testimonials-progress {
  width: 120px;
  height: 3px;
  background: rgba(255,255,255,0.2);
  border-radius: 3px;
  margin: 1rem auto 0;
  overflow: hidden;
}
.testimonials-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--white);
  border-radius: 3px;
}
.testimonials-progress-bar.running {
  animation: progressFill 6s linear forwards;
}
@keyframes progressFill {
  from { width: 0%; }
  to { width: 100%; }
}

/* --- CTA Banner --- */
.cta-banner {
  position: relative;
  padding: 60px 0;
  background: linear-gradient(135deg, #3d3d44 0%, #5a3a3a 40%, #8b5e5e 70%, #c49080 100%);
  overflow: hidden;
}
.cta-banner-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(255, 255, 255, 0.06), transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(255, 255, 255, 0.04), transparent 50%);
}
.cta-banner-content {
  position: relative;
  text-align: center;
  z-index: 2;
}
.cta-banner-content h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}
.cta-banner-content p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.5);
  max-width: 520px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.cta-banner .btn-light {
  background: var(--white);
  color: var(--red);
}
.cta-banner .btn-light:hover {
  background: var(--white);
  box-shadow: 0 16px 40px rgba(255,255,255,0.2);
  transform: translateY(-3px);
}

/* --- Contact Section --- */
.contact {
  padding: 80px 0;
  background: var(--white);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-text {
  font-size: 1rem;
  color: var(--gray-500);
  margin-bottom: 2.5rem;
  line-height: 1.8;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  border-radius: var(--radius-lg);
  transition: all 0.4s var(--ease-out-expo);
}
.contact-detail:hover {
  background: var(--red-soft);
  transform: translateX(6px);
}
.contact-detail-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--red-soft);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
}
.contact-detail-label {
  font-size: 0.72rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  font-weight: 600;
}
.contact-detail-value {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--black);
  display: block;
  margin-top: 2px;
}
.contact-social {
  display: flex;
  gap: 10px;
  margin-top: 2rem;
}
.contact-social-link {
  width: 46px;
  height: 46px;
  border: 1px solid var(--gray-200);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
  transition: all 0.4s var(--ease-out-expo);
}
.contact-social-link:hover {
  border-color: var(--red);
  color: var(--white);
  background: var(--red);
  transform: translateY(-3px);
}

/* Contact Form */
.contact-form-wrap {
  background: var(--warm-bg);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-xl);
  padding: 52px;
}
.contact-form-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 2rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.form-group {
  position: relative;
  margin-bottom: 16px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 0.92rem;
  color: var(--black);
  transition: all 0.3s ease;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(230, 57, 70, 0.08);
}
.form-group label {
  position: absolute;
  left: 16px;
  top: 14px;
  font-size: 0.92rem;
  color: var(--gray-400);
  pointer-events: none;
  transition: all 0.3s ease;
}
.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
  top: -10px;
  left: 12px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--red);
  background: var(--warm-bg);
  padding: 0 6px;
}
.form-group select {
  width: 100%;
  padding: 14px 16px;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 0.92rem;
  color: var(--gray-400);
  outline: none;
  appearance: none;
  cursor: pointer;
  transition: all 0.3s ease;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23a0a0ad' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.form-group select:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(230, 57, 70, 0.08);
}
.contact-form .btn-primary {
  background: var(--red);
  color: var(--white);
}
.contact-form .btn-primary:hover {
  background: var(--red-dark);
  box-shadow: 0 16px 40px var(--red-glow);
}

/* --- Footer --- */
.footer {
  background: var(--black);
  padding: 80px 0 0;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.footer-tagline {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.35);
  margin-bottom: 1rem;
}
.footer-desc {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.25);
  line-height: 1.7;
  max-width: 320px;
}
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 1.2rem;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.5);
  transition: all 0.3s ease;
}
.footer-social a:hover {
  background: var(--red);
  color: var(--white);
  transform: translateY(-2px);
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1.2rem;
}
.footer-col a {
  display: block;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.35);
  padding: 5px 0;
  transition: all 0.4s var(--ease-out-expo);
}
.footer-col a:hover {
  color: var(--red-light);
  transform: translateX(6px);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.2);
}
.footer-badges {
  display: flex;
  gap: 12px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.2);
}

/* --- Reveal Animations --- */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
  transition-delay: var(--delay, 0s);
}
.reveal-up.revealed {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
  transition-delay: var(--delay, 0s);
}
.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
  transition-delay: var(--delay, 0s);
}
.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}
.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
  transition-delay: var(--delay, 0s);
}
.reveal-scale.revealed {
  opacity: 1;
  transform: scale(1);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 60px; }
  .about-right { order: -1; }
  .about-image-stack { height: 400px; display: flex; justify-content: center; }
  .about-image-1 { position: relative; top: auto; left: auto; width: 260px; height: 340px; }
  .about-image-2 { position: absolute; right: 10%; top: 40px; width: 240px; height: 300px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 60px; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .gallery-card { min-width: 300px; height: 380px; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    transform: translateX(100%);
    transition: transform 0.5s var(--ease-out-expo);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links.open .nav-link { color: var(--black); }
  .nav-cta { margin-top: 16px; }
  .nav-toggle { display: flex; }
  .nav-toggle.active span { background: var(--black); }

  .hero-content { padding: 120px 20px 80px; }
  .hero-stats { flex-direction: column; gap: 24px; }
  .hero-stat-divider { width: 40px; height: 1px; }
  .hero-scroll { display: none; }

  .services-grid { grid-template-columns: 1fr; }

  .gallery-card { min-width: 260px; height: 340px; }

  .testimonial-card { padding: 32px 20px; max-width: 100%; }
  .testimonial-text { font-size: 0.95rem; line-height: 1.75; }

  .contact-form-wrap { padding: 32px 20px; }
  .form-row { grid-template-columns: 1fr; }

  .footer-links { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

  .wave-divider svg { height: 40px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.8rem; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .about-image-stack { height: 320px; }
  .about-image-1 { width: 200px; height: 260px; }
  .about-image-2 { width: 180px; height: 230px; right: 5%; }
  .gallery-card { min-width: 240px; height: 300px; }
}

/* --- Past Sales Page --- */
.past-sales-page {
  padding-top: 100px;
}
.past-sales-hero {
  padding: 60px 0;
  background: var(--warm-bg);
}
.past-sales-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 700;
  color: var(--black);
  letter-spacing: -0.03em;
  text-align: center;
}
.past-sales-hero p {
  font-size: 1.05rem;
  color: var(--gray-500);
  text-align: center;
  max-width: 580px;
  margin: 1rem auto 0;
  line-height: 1.8;
}
.past-sales-content {
  padding: 60px 0 120px;
}
.past-sales-embed {
  background: var(--warm-bg);
  border-radius: var(--radius-xl);
  padding: 32px;
  min-height: 500px;
  border: 1px solid var(--gray-100);
}

/* --- Blog Listing --- */
.blog-listing {
  padding: 60px 0 120px;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.blog-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all 0.5s var(--ease-out-expo);
  display: block;
}
.blog-card:hover {
  box-shadow: 0 24px 60px rgba(0,0,0,0.08);
  border-color: transparent;
  transform: translateY(-6px);
}
.blog-card-image {
  height: 220px;
  overflow: hidden;
}
.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out-expo);
}
.blog-card:hover .blog-card-image img { transform: scale(1.06); }
.blog-card-content {
  padding: 28px;
}
.blog-card-date {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.blog-card-content h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--black);
  line-height: 1.3;
  margin: 10px 0 12px;
  letter-spacing: -0.02em;
}
.blog-card-content p {
  font-size: 0.88rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 16px;
}
.blog-card-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--red);
  transition: gap 0.3s ease;
}

/* --- Blog Post Page --- */
.blog-post-content {
  padding: 60px 0 120px;
}
.blog-post-article {
  max-width: 760px;
  margin: 0 auto;
}
.blog-post-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 2rem;
  font-size: 0.82rem;
  color: var(--gray-400);
}
.blog-post-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.blog-post-article h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--black);
  margin: 2.5rem 0 1rem;
  letter-spacing: -0.02em;
}
.blog-post-article h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--black);
  margin: 2rem 0 0.8rem;
}
.blog-post-article p {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.9;
  margin-bottom: 1.2rem;
}
.blog-post-article ul, .blog-post-article ol {
  margin: 1rem 0 1.5rem 1.5rem;
}
.blog-post-article li {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 0.5rem;
}
.blog-post-article strong {
  color: var(--black);
}
.blog-post-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--red);
  margin-bottom: 2rem;
  transition: gap 0.3s ease;
}
.blog-post-back:hover { gap: 12px; }
.blog-post-cta {
  background: var(--warm-bg);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-xl);
  padding: 40px;
  text-align: center;
  margin-top: 3rem;
}
.blog-post-cta h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}
.blog-post-cta p {
  margin-bottom: 1.5rem;
}

/* --- Color morph text animation --- */
.hero-shimmer .hero-word {
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: none;
  background-color: #fff;
  animation: colorMorph 8s ease-in-out infinite;
}
@keyframes colorMorph {
  0%   { background-color: #ffffff; }
  20%  { background-color: #f4c6b8; }
  40%  { background-color: #e8a0a0; }
  60%  { background-color: #f0d0c0; }
  80%  { background-color: #d4a9a0; }
  100% { background-color: #ffffff; }
}

/* --- Stats Section --- */
.stats-section {
  padding: 80px 0;
  background: var(--warm-bg);
}
.stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
}
.stat-item {
  text-align: center;
  flex: 1;
  max-width: 260px;
}
.stat-number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--red);
  line-height: 1.1;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}
.stat-label {
  font-size: 0.95rem;
  color: var(--gray-500);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.stat-divider {
  width: 1px;
  height: 60px;
  background: var(--gray-200);
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .stats-section { padding: 60px 0; }
  .stats-grid { gap: 24px; }
  .stat-number { font-size: 2.5rem; }
  .stat-label { font-size: 0.8rem; }
  .stat-divider { height: 40px; }
}
@media (max-width: 480px) {
  .stats-grid { flex-direction: column; gap: 32px; }
  .stat-divider { width: 40px; height: 1px; }
}

/* --- Sticky Mobile Buttons --- */
.sticky-mobile-btns {
  display: none;
  position: fixed;
  bottom: 24px;
  right: 24px;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}
.sticky-call-btn,
.sticky-sms-btn {
  display: flex;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: all 0.3s ease;
}
.sticky-call-btn {
  background: var(--red);
  box-shadow: 0 4px 20px rgba(193, 39, 45, 0.4);
  animation: callPulse 2s ease-in-out infinite;
}
.sticky-sms-btn {
  background: #2c2c34;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}
.sticky-call-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(193, 39, 45, 0.5);
}
.sticky-sms-btn:hover {
  transform: scale(1.1);
  background: #3a3a42;
}
@keyframes callPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(193, 39, 45, 0.4); }
  50% { box-shadow: 0 4px 30px rgba(193, 39, 45, 0.6), 0 0 0 8px rgba(193, 39, 45, 0.1); }
}
@media (max-width: 768px) {
  .sticky-mobile-btns { display: flex; }
}

@media (max-width: 768px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-card-image { height: 180px; }
}

/* --- Countdown Timer --- */
.countdown-banner {
  background: linear-gradient(135deg, var(--black) 0%, #2a1a1a 100%);
  border-radius: var(--radius-xl);
  padding: 28px 36px;
  margin-bottom: 32px;
}
.countdown-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.countdown-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.5);
  display: block;
  margin-bottom: 8px;
}
.countdown-timer {
  display: flex;
  align-items: center;
  gap: 8px;
}
.countdown-unit { text-align: center; }
.countdown-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  display: block;
  letter-spacing: -0.02em;
  min-width: 48px;
}
.countdown-text {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
}
.countdown-sep {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--red);
  font-weight: 700;
  margin-top: -12px;
}
@media (max-width: 768px) {
  .countdown-inner { flex-direction: column; text-align: center; }
  .countdown-info { width: 100%; }
  .countdown-timer { justify-content: center; }
  .countdown-banner { padding: 24px 20px; }
}

/* --- Mini Countdown Pill (Homepage) --- */
.mini-countdown {
  background: var(--dark);
  padding: 16px 0;
  position: relative;
  overflow: hidden;
}
.mini-countdown::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--red) 0%, transparent 40%, transparent 60%, var(--red) 100%);
  opacity: 0.12;
}
.mini-countdown .container {
  position: relative;
  z-index: 1;
}
.mini-countdown-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.mini-countdown-text {
  color: rgba(255,255,255,0.85);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}
.mini-countdown-timer {
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.mini-cd-num {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  min-width: 26px;
  text-align: center;
}
.mini-cd-label {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  margin-right: 4px;
}
.mini-cd-sep {
  color: var(--red);
  font-weight: 700;
  font-size: 1rem;
  margin: 0 1px;
}
.mini-countdown-btn {
  background: var(--red);
  color: var(--white);
  padding: 8px 22px;
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease;
  white-space: nowrap;
}
.mini-countdown-btn:hover {
  background: #e00b0b;
  transform: scale(1.05);
}
@media (max-width: 600px) {
  .mini-countdown { padding: 12px 0; }
  .mini-countdown-inner { gap: 10px; }
  .mini-countdown-text { font-size: 0.7rem; }
  .mini-cd-num { font-size: 1rem; min-width: 20px; }
  .mini-countdown-btn { padding: 7px 16px; font-size: 0.72rem; }
}

/* --- Estate Worth Calculator --- */
.calculator-section {
  padding: 80px 0;
  background: var(--white);
}
.calculator-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.calc-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 2rem;
  padding: 16px;
  background: var(--warm-bg);
  border-radius: var(--radius);
  font-size: 0.82rem;
  color: var(--gray-400);
  line-height: 1.6;
}
.calc-disclaimer svg {
  flex-shrink: 0;
  color: var(--gray-400);
  margin-top: 2px;
}
.calculator-card {
  background: var(--warm-bg);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-xl);
  padding: 48px;
}
.calculator-card-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 2rem;
}
.calc-field {
  margin-bottom: 20px;
}
.calc-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-600);
  margin-bottom: 8px;
}
.calc-range-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}
.calc-range {
  flex: 1;
  -webkit-appearance: none;
  height: 6px;
  background: var(--gray-200);
  border-radius: 3px;
  outline: none;
}
.calc-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  background: var(--red);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(230, 57, 70, 0.3);
}
.calc-range-value {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--red);
  min-width: 24px;
  text-align: center;
}
.calc-select {
  width: 100%;
  padding: 12px 16px;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--gray-600);
  outline: none;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23a0a0ad' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  transition: border-color 0.3s ease;
}
.calc-select:focus {
  border-color: var(--red);
}
.calc-result {
  background: var(--white);
  border: 2px solid var(--red);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  margin: 28px 0 20px;
}
.calc-result-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-400);
  margin-bottom: 4px;
}
.calc-result-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--red);
  letter-spacing: -0.02em;
}
@media (max-width: 1024px) {
  .calculator-grid { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 768px) {
  .calculator-card { padding: 32px 20px; }
  .calc-result-value { font-size: 1.5rem; }
}

/* --- Social Follow Section --- */
.social-follow {
  padding: 60px 0;
  background: var(--warm-bg);
}
.social-follow-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-xl);
  padding: 40px 48px;
}
.social-follow-text h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 4px;
}
.social-follow-text p {
  font-size: 0.92rem;
  color: var(--gray-500);
}
.social-follow-btns {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}
.social-follow-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--white);
  transition: all 0.4s var(--ease-out-expo);
}
.social-follow-fb { background: #1877f2; }
.social-follow-fb:hover { background: #0d65d9; transform: translateY(-3px); box-shadow: 0 8px 24px rgba(24,119,242,0.3); }
.social-follow-ig { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-follow-ig:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(220, 39, 67, 0.3); }
@media (max-width: 768px) {
  .social-follow-inner { flex-direction: column; text-align: center; padding: 32px 24px; }
  .social-follow-btns { flex-direction: column; width: 100%; }
  .social-follow-btn { justify-content: center; }
}

/* --- Service Area Map --- */
.area-map {
  padding: 70px 0;
  background: var(--warm-bg);
}
.area-map-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.area-map-embed {
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 420px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.1);
  border: 1px solid var(--gray-200);
}
.area-map-embed iframe {
  width: 100%;
  height: 100%;
}
.area-cities {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 2rem;
}
.area-region {
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
}
.area-region h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 6px;
}
.area-region p {
  font-size: 0.88rem;
  color: var(--gray-500);
  line-height: 1.6;
}
@media (max-width: 1024px) {
  .area-map-grid { grid-template-columns: 1fr; }
  .area-map-embed { height: 350px; }
}

/* --- Animated SVG Draw-In --- */
.svg-draw path {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset 1.2s ease;
}
.service-card.revealed .svg-draw path,
.service-card:hover .svg-draw path {
  stroke-dashoffset: 0;
}

/* --- Partners / As Featured On Bar --- */
.partners-bar {
  padding: 60px 0;
  background: var(--white);
  text-align: center;
}
.partners-label {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 2rem;
}
.partners-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}
.partner-logo {
  opacity: 0.7;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.partner-logo:hover {
  opacity: 1;
  transform: scale(1.05);
}
.partner-logo img {
  max-height: 55px;
  width: auto;
  object-fit: contain;
}
@media (max-width: 768px) {
  .partners-logos { gap: 30px; flex-direction: column; }
  .partner-logo img { max-height: 45px; }
}

/* --- Page Transition Overlay --- */
.page-transition {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--red);
  transform: scaleY(0);
  transform-origin: bottom;
  pointer-events: none;
}
.page-transition.active {
  animation: pageTransitionIn 0.5s ease forwards;
}
@keyframes pageTransitionIn {
  0% { transform: scaleY(0); transform-origin: bottom; }
  50% { transform: scaleY(1); transform-origin: bottom; }
  50.1% { transform-origin: top; }
  100% { transform: scaleY(0); transform-origin: top; }
}

/* --- Mobile Overscroll Bounce --- */
@supports (-webkit-overflow-scrolling: touch) {
  html { overscroll-behavior-y: none; }
  body { overscroll-behavior-y: none; }
}
.mobile-bounce {
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.mobile-bounce.bouncing {
  animation: pullBounce 0.6s ease;
}
@keyframes pullBounce {
  0% { transform: translateY(0); }
  30% { transform: translateY(12px); }
  50% { transform: translateY(-4px); }
  70% { transform: translateY(2px); }
  100% { transform: translateY(0); }
}