/* ============================================
   NIPPON VISTA - Premium Real Estate Website
   Modern, Luxury UI/UX Design
   ============================================ */

/* --- CSS Variables --- */
:root {
  --primary: #1a1a2e;
  --primary-light: #16213e;
  --accent: #c9a96e;
  --accent-light: #d4b87a;
  --accent-dark: #b8924f;
  --white: #ffffff;
  --off-white: #f8f6f3;
  --gray-100: #f5f5f5;
  --gray-200: #e8e8e8;
  --gray-300: #d1d1d1;
  --gray-400: #a0a0a0;
  --gray-500: #6b6b6b;
  --gray-600: #4a4a4a;
  --gray-700: #333333;
  --dark: #0a0a0a;
  --text: #2c2c2c;
  --text-light: #666666;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;
  --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: all 0.2s ease;
  --transition-slow: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --font-main: 'Inter', 'Noto Sans JP', sans-serif;
  --font-display: 'Playfair Display', 'Noto Serif JP', serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  touch-action: manipulation;
}

body {
  font-family: var(--font-main);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol { list-style: none; }

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 100px 0;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary);
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

.section-subtitle {
  display: inline-block;
  font-family: var(--font-main);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  position: relative;
  padding-left: 50px;
}

.section-subtitle::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 36px;
  height: 2px;
  background: var(--accent);
  transform: translateY(-50%);
}

.section-title {
  margin-bottom: 24px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 600px;
  line-height: 1.8;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  transition: width 0.5s, height 0.5s, top 0.5s, left 0.5s;
  transform: translate(-50%, -50%);
}

.btn:hover::after {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(201, 169, 110, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--primary);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-sm {
  padding: 10px 24px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 18px 42px;
  font-size: 1.05rem;
}

/* --- Loading Screen --- */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity 0.8s ease, visibility 0.8s ease;
  overflow: hidden;
}

.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.loader-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(8px) brightness(0.3);
  transform: scale(1.1);
}

.loader-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.loader-text {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 800;
  letter-spacing: 3px;
  line-height: 1;
  margin-bottom: 16px;
}

.loader-letter {
  display: inline-block;
  color: var(--white);
  opacity: 0;
  transform: translateY(30px);
  animation: letterReveal 0.6s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.loader-letter.accent {
  color: var(--accent);
}

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

.loader-tagline {
  font-family: var(--font-main);
  font-size: 0.9rem;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 48px;
  opacity: 0;
  animation: fadeInSoft 1s ease 1s forwards;
}

@keyframes fadeInSoft {
  to { opacity: 1; }
}

.loader-waves {
  display: flex;
  justify-content: center;
  gap: 6px;
  align-items: center;
  height: 40px;
}

.loader-wave {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  border-radius: 2px;
  opacity: 0;
  animation: waveFlow 2s ease-in-out infinite;
}

.loader-wave:nth-child(1) { animation-delay: 0s; width: 40px; }
.loader-wave:nth-child(2) { animation-delay: 0.3s; width: 70px; }
.loader-wave:nth-child(3) { animation-delay: 0.6s; width: 40px; }

@keyframes waveFlow {
  0% { opacity: 0; transform: scaleX(0.3); }
  50% { opacity: 1; transform: scaleX(1); }
  100% { opacity: 0; transform: scaleX(0.3); }
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(26, 26, 46, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.2);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo img {
  height: 40px;
  width: auto;
}

.nav-logo-text {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 1px;
}

.nav-logo-text span {
  color: var(--accent);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  position: relative;
  padding: 10px 18px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.5px;
  transition: var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
  transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 60%;
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 16px;
  padding: 6px 12px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255,255,255,0.15);
}

.lang-btn {
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  border-radius: var(--radius-xl);
  cursor: pointer;
  transition: var(--transition-fast);
  border: none;
  background: none;
  letter-spacing: 1px;
}

.lang-btn.active,
.lang-btn:hover {
  background: var(--accent);
  color: var(--white);
}

/* Mobile Menu Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
  border-radius: 2px;
}

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

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

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

/* --- Hero Section --- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: heroZoom 8s ease-in-out forwards;
}

@keyframes heroZoom {
  0% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(10, 10, 10, 0.85) 0%,
    rgba(26, 26, 46, 0.7) 50%,
    rgba(10, 10, 10, 0.6) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 750px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(201, 169, 110, 0.15);
  border: 1px solid rgba(201, 169, 110, 0.3);
  border-radius: var(--radius-xl);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 28px;
  animation: fadeInUp 0.8s ease forwards;
  opacity: 0;
}

.hero-title {
  color: var(--white);
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease 0.2s forwards;
  opacity: 0;
}

.hero-title .highlight {
  color: var(--accent);
  position: relative;
}

.hero-desc {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 40px;
  line-height: 1.8;
  max-width: 550px;
  animation: fadeInUp 0.8s ease 0.4s forwards;
  opacity: 0;
}

.hero-actions {
  display: flex;
  gap: 16px;
  animation: fadeInUp 0.8s ease 0.6s forwards;
  opacity: 0;
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.12);
  animation: fadeInUp 0.8s ease 0.8s forwards;
  opacity: 0;
}

.hero-stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin-top: 8px;
  letter-spacing: 0.5px;
}

/* Hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

/* --- About Section --- */
.about-section {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

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

.about-image:hover img {
  transform: scale(1.03);
}

.about-image-accent {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 200px;
  height: 200px;
  border: 3px solid var(--accent);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.about-experience-badge {
  position: absolute;
  top: -20px;
  right: -20px;
  background: var(--accent);
  color: var(--white);
  padding: 24px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-lg);
  z-index: 2;
}

.about-experience-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
}

.about-experience-text {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 4px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  background: var(--off-white);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.about-feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.about-feature-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-size: 1.2rem;
}

.about-feature-title {
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.about-feature-text {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* --- Services Section --- */
.services-section {
  background: var(--off-white);
  position: relative;
  overflow: hidden;
}

.services-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border: 2px solid rgba(201, 169, 110, 0.1);
  border-radius: 50%;
}

.services-header {
  text-align: center;
  margin-bottom: 60px;
}

.services-header .section-desc {
  margin: 0 auto;
}

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

.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.service-card-image {
  position: relative;
  height: 240px;
  overflow: hidden;
}

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

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

.service-card-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60%;
  background: linear-gradient(to top, rgba(26,26,46,0.8), transparent);
}

.service-card-number {
  position: absolute;
  top: 16px;
  right: 16px;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(255,255,255,0.15);
  line-height: 1;
}

.service-card-body {
  padding: 28px;
}

.service-card-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 169, 110, 0.12);
  color: var(--accent);
  border-radius: var(--radius-sm);
  font-size: 1.4rem;
  margin-bottom: 18px;
  margin-top: -42px;
  position: relative;
  z-index: 2;
  border: 3px solid var(--white);
}

.service-card-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

.service-card-text {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 20px;
}

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

.service-card-link:hover {
  gap: 14px;
  color: var(--accent-dark);
}

/* --- Properties / Listings Section --- */
.properties-section {
  background: var(--white);
}

.properties-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 50px;
}

.properties-filter {
  display: flex;
  gap: 8px;
}

.filter-btn {
  padding: 10px 24px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light);
  background: var(--gray-100);
  border: none;
  border-radius: var(--radius-xl);
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--primary);
  color: var(--white);
}

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

.property-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--gray-200);
}

.property-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.property-card-image {
  position: relative;
  height: 260px;
  overflow: hidden;
}

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

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

.property-card-badges {
  position: absolute;
  top: 16px;
  left: 16px;
  display: flex;
  gap: 8px;
}

.property-badge {
  padding: 5px 14px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: var(--radius-xl);
}

.property-badge.sale {
  background: var(--accent);
  color: var(--white);
}

.property-badge.rent {
  background: var(--primary);
  color: var(--white);
}

.property-card-favorite {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition-fast);
  border: none;
  font-size: 1.1rem;
  color: var(--gray-400);
}

.property-card-favorite:hover,
.property-card-favorite.active {
  background: var(--accent);
  color: var(--white);
}

.property-card-body {
  padding: 24px;
}

.property-card-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 8px;
}

.property-card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

.property-card-price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 16px;
}

.property-card-price .old-price {
  font-size: 0.9rem;
  color: var(--gray-400);
  text-decoration: line-through;
  margin-left: 8px;
  font-weight: 400;
}

.property-card-features {
  display: flex;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-200);
}

.property-feature {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--text-light);
}

.property-feature i {
  color: var(--accent);
}

/* --- Statistics Section --- */
.stats-section {
  background: var(--primary);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(201,169,110,0.05)" stroke-width="1"/></svg>') repeat;
  background-size: 200px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
  padding: 30px;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.5px;
}

/* --- Team Section --- */
.team-section {
  background: var(--off-white);
}

.team-header {
  text-align: center;
  margin-bottom: 60px;
}

.team-header .section-desc {
  margin: 0 auto;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.team-card-image {
  height: 280px;
  overflow: hidden;
  position: relative;
}

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

.team-card:hover .team-card-image img {
  transform: scale(1.05);
}

.team-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(to top, rgba(26,26,46,0.9), transparent);
  display: flex;
  justify-content: center;
  gap: 10px;
  opacity: 0;
  transition: var(--transition);
}

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

.team-social-link {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.2);
  color: var(--white);
  border-radius: 50%;
  font-size: 0.85rem;
  transition: var(--transition-fast);
}

.team-social-link:hover {
  background: var(--accent);
}

.team-card-body {
  padding: 20px;
}

.team-card-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.team-card-role {
  font-size: 0.82rem;
  color: var(--accent);
  font-weight: 500;
}

/* --- Director's Message --- */
.director-message {
  background: var(--white);
}

.director-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 60px;
  align-items: start;
}

.director-photo-wrapper {
  position: relative;
}

.director-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 3/4;
}

.director-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.director-name-badge {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--white);
  padding: 16px 32px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-lg);
  white-space: nowrap;
}

.director-badge-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.director-badge-role {
  font-size: 0.78rem;
  color: var(--accent);
  letter-spacing: 1px;
}

.director-content {
  padding-top: 10px;
}

.director-message-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 28px;
}

.director-msg-bubble {
  background: var(--off-white);
  padding: 20px 28px;
  border-radius: 4px 20px 20px 20px;
  position: relative;
  line-height: 1.85;
  font-size: 0.95rem;
  color: var(--text);
  border-left: 3px solid var(--accent);
}

.director-signature {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--gray-200);
}

.director-sign-line {
  width: 50px;
  height: 2px;
  background: var(--accent);
}

.director-sign-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
}

.director-sign-title {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 2px;
}

/* --- Team Horizontal Scroll --- */
.team-showcase {
  margin-top: 40px;
}

.team-scroll-container {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
  padding: 20px 0 30px;
}

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

.team-scroll-track {
  display: flex;
  gap: 24px;
  width: max-content;
  padding: 0 4px;
}

.team-member-card {
  width: 260px;
  flex-shrink: 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.team-member-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.team-member-img {
  height: 300px;
  overflow: hidden;
  position: relative;
}

.team-member-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s ease;
}

.team-member-card:hover .team-member-img img {
  transform: scale(1.08);
}

.team-member-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 24px;
  background: linear-gradient(to top, rgba(26,26,46,0.9), transparent);
  display: flex;
  justify-content: center;
  gap: 12px;
  opacity: 0;
  transition: var(--transition);
}

.team-member-card:hover .team-member-overlay {
  opacity: 1;
}

.team-member-overlay a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  color: var(--white);
  border-radius: 50%;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.team-member-overlay a:hover {
  background: var(--accent);
  transform: scale(1.1);
}

.team-member-info {
  padding: 20px 24px;
  text-align: center;
}

.team-member-info h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.team-member-info span {
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: 0.5px;
}

.team-scroll-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 10px;
}

.team-scroll-btn {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--gray-300);
  background: transparent;
  color: var(--primary);
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition-fast);
  font-size: 1rem;
}

.team-scroll-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.team-scroll-indicator {
  width: 200px;
  height: 3px;
  background: var(--gray-200);
  border-radius: 3px;
  overflow: hidden;
}

.team-scroll-progress {
  height: 100%;
  width: 30%;
  background: var(--accent);
  border-radius: 3px;
  transition: transform 0.2s ease;
}

/* --- Team Values --- */
.team-values {
  background: var(--white);
}

.team-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.team-value-card {
  text-align: center;
  padding: 40px 28px;
  border-radius: var(--radius-lg);
  background: var(--off-white);
  transition: var(--transition);
}

.team-value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.team-value-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 169, 110, 0.12);
  color: var(--accent);
  border-radius: 50%;
  font-size: 1.5rem;
  margin: 0 auto 20px;
}

.team-value-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

.team-value-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* --- Testimonials Section --- */
.testimonials-section {
  background: var(--white);
  position: relative;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 60px;
}

.testimonials-header .section-desc {
  margin: 0 auto;
}

.testimonials-slider {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.testimonial-card {
  background: var(--off-white);
  padding: 48px;
  border-radius: var(--radius-lg);
  text-align: center;
  position: relative;
  display: none;
}

.testimonial-card.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.testimonial-stars {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 16px;
  color: #f59e0b;
  font-size: 1rem;
}

.testimonial-quote-icon {
  font-size: 3rem;
  color: var(--accent);
  opacity: 0.3;
  margin-bottom: 20px;
  font-family: var(--font-display);
}

.testimonial-text {
  font-size: 1.15rem;
  line-height: 1.9;
  color: var(--text);
  font-style: italic;
  margin-bottom: 28px;
}

.testimonial-author {
  font-weight: 700;
  color: var(--primary);
  font-size: 1.05rem;
}

.testimonial-role {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 4px;
}

.testimonials-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.testimonials-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gray-300);
  cursor: pointer;
  transition: var(--transition-fast);
  border: none;
}

.testimonials-dot.active {
  background: var(--accent);
  width: 30px;
  border-radius: 5px;
}

/* --- CTA Section --- */
.cta-section {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.92), rgba(26, 26, 46, 0.8));
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  color: var(--white);
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 36px;
  line-height: 1.8;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
}

/* --- Contact Section --- */
.contact-section {
  background: var(--off-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.contact-info-card:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-md);
}

.contact-info-icon {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 169, 110, 0.12);
  color: var(--accent);
  border-radius: var(--radius-sm);
  font-size: 1.2rem;
}

.contact-info-title {
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.contact-info-text {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

.contact-form-wrapper {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--font-main);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--off-white);
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  outline: none;
}

.form-control:focus {
  border-color: var(--accent);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(201, 169, 110, 0.1);
}

.form-control::placeholder {
  color: var(--gray-400);
}

textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* --- Footer --- */
.footer {
  background: var(--primary);
  color: rgba(255,255,255,0.7);
  padding-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand p {
  margin-top: 20px;
  font-size: 0.9rem;
  line-height: 1.8;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.footer-social-link {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,0.6);
  font-size: 1rem;
  transition: var(--transition-fast);
}

.footer-social-link:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 24px;
}

.footer-links li {
  margin-bottom: 12px;
}

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

.footer-links a:hover {
  color: var(--accent);
  padding-left: 6px;
}

.footer-newsletter-text {
  font-size: 0.9rem;
  margin-bottom: 20px;
  line-height: 1.7;
}

.footer-newsletter-form {
  display: flex;
  gap: 8px;
}

.footer-newsletter-input {
  flex: 1;
  padding: 12px 16px;
  font-family: var(--font-main);
  font-size: 0.9rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  color: var(--white);
  outline: none;
  transition: var(--transition-fast);
}

.footer-newsletter-input:focus {
  border-color: var(--accent);
}

.footer-newsletter-input::placeholder {
  color: rgba(255,255,255,0.3);
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  color: rgba(255,255,255,0.5);
}

.footer-bottom-links a:hover {
  color: var(--accent);
}

/* --- Page Header (for inner pages) --- */
.page-header {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.page-header-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.page-header-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-header-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(26,26,46,0.9), rgba(26,26,46,0.7));
}

.page-header-content {
  position: relative;
  z-index: 2;
}

.page-header-content h1 {
  color: var(--white);
  margin-bottom: 16px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 0.9rem;
}

.breadcrumb a {
  color: rgba(255,255,255,0.6);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb span {
  color: var(--accent);
}

.breadcrumb-separator {
  color: rgba(255,255,255,0.3);
}

/* --- Company Info Section --- */
.company-info {
  background: var(--white);
}

.company-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
}

.company-table tr {
  border-bottom: 1px solid var(--gray-200);
}

.company-table th,
.company-table td {
  padding: 18px 0;
  font-size: 0.95rem;
  text-align: left;
  vertical-align: top;
}

.company-table th {
  font-weight: 700;
  color: var(--primary);
  width: 35%;
  font-family: var(--font-main);
}

.company-table td {
  color: var(--text-light);
}

/* --- Map --- */
.map-section {
  height: 450px;
  position: relative;
}

.map-section iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* --- Scroll Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* --- Animations --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}

/* --- Back to Top --- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  border: none;
  box-shadow: 0 4px 15px rgba(201, 169, 110, 0.4);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(201, 169, 110, 0.5);
}

/* --- Mobile Responsive --- */
@media (max-width: 1200px) {
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-grid > *:last-child { grid-column: 1 / -1; }
}

@media (max-width: 992px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    height: 100dvh;
    background: rgba(26, 26, 46, 0.98);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 32px 40px;
    transition: right 0.35s ease;
    gap: 4px;
    overflow-y: auto;
    z-index: 1000;
  }

  .nav-menu.open {
    right: 0;
    box-shadow: -10px 0 40px rgba(0,0,0,0.5);
  }

  .nav-toggle { display: flex; }

  .nav-link {
    font-size: 1.05rem;
    padding: 14px 0;
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .nav-link::after { display: none; }

  .lang-switcher {
    margin-left: 0;
    margin-top: 20px;
    width: 100%;
    justify-content: center;
  }

  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-image-accent { display: none; }
  .about-experience-badge { right: 16px; top: 16px; }
  .about-image img { height: 350px; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .properties-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .company-info-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  .properties-header { flex-direction: column; align-items: flex-start; gap: 20px; }

  .hero-scroll { display: none; }

  .cta-actions { flex-wrap: wrap; }

  .director-grid { grid-template-columns: 1fr; gap: 50px; }
  .director-photo-wrapper { max-width: 340px; margin: 0 auto; }
  .team-values-grid { grid-template-columns: repeat(3, 1fr); }
  .team-member-card { width: 230px; }
  .team-member-img { height: 260px; }
}

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

  h1 { font-size: clamp(1.8rem, 7vw, 2.8rem); }
  h2 { font-size: clamp(1.5rem, 5vw, 2.2rem); }

  .hero { min-height: auto; height: 100vh; height: 100dvh; }
  .hero-content { max-width: 100%; }
  .hero-badge { font-size: 0.7rem; padding: 6px 14px; letter-spacing: 1px; margin-bottom: 16px; }
  .hero-desc { font-size: 0.95rem; margin-bottom: 24px; }
  .hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
    padding-top: 24px;
  }
  .hero-stat-number { font-size: 1.8rem; }
  .hero-stat-label { font-size: 0.75rem; }
  .hero-actions { flex-direction: column; gap: 12px; }
  .hero-actions .btn { width: 100%; justify-content: center; padding: 14px 24px; }

  .btn-lg { padding: 14px 28px; font-size: 0.95rem; }

  .section-subtitle { font-size: 0.75rem; padding-left: 40px; letter-spacing: 2px; }
  .section-subtitle::before { width: 28px; }
  .section-desc { font-size: 0.95rem; }

  .about-image img { height: 280px; }
  .about-experience-badge { padding: 16px; }
  .about-experience-number { font-size: 1.8rem; }
  .about-features { grid-template-columns: 1fr; }

  .services-grid { grid-template-columns: 1fr; }
  .service-card-image { height: 200px; }

  .properties-grid { grid-template-columns: 1fr; }
  .property-card-image { height: 220px; }

  .stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .stat-item { padding: 20px 10px; }
  .stat-number { font-size: 2.2rem; }
  .stat-label { font-size: 0.8rem; }

  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .team-card-image { height: 200px; }

  .director-grid { gap: 36px; }
  .director-photo-wrapper { max-width: 280px; }
  .director-photo { aspect-ratio: 3/3.5; }
  .director-msg-bubble { padding: 16px 20px; font-size: 0.9rem; }
  .director-name-badge { padding: 12px 24px; }
  .director-badge-name { font-size: 1rem; }
  .team-values-grid { grid-template-columns: 1fr; }
  .team-value-card { padding: 28px 20px; }
  .team-member-card { width: 200px; }
  .team-member-img { height: 230px; }
  .team-member-info { padding: 14px 16px; }
  .team-member-info h3 { font-size: 0.92rem; }
  .team-scroll-indicator { width: 140px; }

  .form-row { grid-template-columns: 1fr; gap: 0; }

  .contact-form-wrapper { padding: 24px; }

  .testimonial-card { padding: 28px 20px; }
  .testimonial-text { font-size: 1rem; }

  .cta-section { padding: 80px 0; }
  .cta-actions { flex-direction: column; gap: 12px; }
  .cta-actions .btn { width: 100%; justify-content: center; }

  .page-header { height: 280px; }
  .page-header-content h1 { font-size: 1.8rem; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .footer-newsletter-form { flex-direction: column; }
  .footer-newsletter-form .btn { width: 100%; justify-content: center; }

  .map-section { height: 300px; }

  /* Reduce reveal animation translateX on mobile to prevent overflow */
  .reveal-left { transform: translateX(-20px); }
  .reveal-right { transform: translateX(20px); }
  .reveal { transform: translateY(20px); }

  .section-desc { word-break: break-word; overflow-wrap: break-word; }

  .company-table th,
  .company-table td { font-size: 0.85rem; padding: 14px 0; }
  .company-table th { width: 40%; }

  .contact-info-card { padding: 16px; }
  .contact-info-icon { width: 42px; height: 42px; font-size: 1rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section-padding { padding: 44px 0; }

  .nav-logo-text { font-size: 1.1rem; }

  .hero-stats { gap: 12px; }
  .hero-stat-number { font-size: 1.5rem; }

  .team-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .team-card-image { height: 160px; }
  .team-card-body { padding: 12px; }
  .team-card-name { font-size: 0.9rem; }
  .team-card-role { font-size: 0.72rem; }

  .properties-filter { flex-wrap: wrap; gap: 6px; }
  .filter-btn { padding: 8px 16px; font-size: 0.8rem; }

  .service-card-body { padding: 20px; }
  .service-card-title { font-size: 1.1rem; }
  .service-card-text { font-size: 0.85rem; }

  .property-card-body { padding: 16px; }
  .property-card-title { font-size: 1.05rem; }
  .property-card-price { font-size: 1.2rem; }
  .property-card-features { gap: 10px; }
  .property-feature { font-size: 0.75rem; }

  .about-feature { padding: 12px; gap: 10px; }
  .about-feature-icon { width: 36px; height: 36px; font-size: 1rem; }
  .about-feature-title { font-size: 0.85rem; }
  .about-feature-text { font-size: 0.78rem; }

  .back-to-top { width: 42px; height: 42px; bottom: 20px; right: 16px; font-size: 1rem; }
}

/* --- Mobile Menu Backdrop --- */
.nav-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.nav-backdrop.visible {
  opacity: 1;
  visibility: visible;
}

/* --- Services detail order fix for mobile --- */
@media (max-width: 992px) {
  .about-grid [style*="order:2"] { order: 0 !important; }
  .about-grid [style*="order:1"] { order: 0 !important; }
}

/* --- Smooth parallax --- */
@media (prefers-reduced-motion: no-preference) {
  .parallax-bg {
    will-change: transform;
  }
}

/* --- Selection color --- */
::selection {
  background: var(--accent);
  color: var(--white);
}

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

::-webkit-scrollbar-track {
  background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 4px;
}

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