/* ===== FIRST נדל"ן — Design System ===== */
/* Motif: Editorial-luxury | Shape: Architectural sharp | Motion: Slow cinematic */

@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

:root {
  /* Palette */
  --color-primary: #1C1C2E;
  --color-secondary: #C4A265;
  --color-accent: #8B7355;
  --color-bg: #FAF6F0;
  --color-bg-alt: #F0EBE3;
  --color-surface: #FFFFFF;
  --color-text: #2A2A3A;
  --color-text-light: #6B6B7B;
  --color-text-muted: #9A9AAA;
  --color-border: #E5DFD5;
  --color-gold-light: rgba(196, 162, 101, 0.12);

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Heebo', 'Segoe UI', sans-serif;

  /* Spacing */
  --section-padding: 100px 0;
  --container-width: 1200px;
  --gap: 2rem;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.7;
  font-weight: 400;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-primary);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.8rem); }
h4 { font-size: 1.2rem; }

p {
  margin-bottom: 1rem;
  color: var(--color-text);
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===== Section Numbers (Layout Twist) ===== */
.section-number {
  font-family: var(--font-display);
  font-size: clamp(4rem, 8vw, 7rem);
  font-weight: 700;
  color: var(--color-gold-light);
  line-height: 1;
  margin-bottom: -0.5rem;
  display: block;
  user-select: none;
}

.section-header {
  margin-bottom: 3rem;
}

.section-header h2 {
  margin-top: -1rem;
  position: relative;
}

.section-subtitle {
  color: var(--color-text-light);
  font-size: 1.05rem;
  margin-top: 0.5rem;
  font-weight: 300;
}

/* ===== Navigation ===== */
.navbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  transition: all 0.4s ease;
}

.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

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

.navbar-brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar-brand span {
  color: var(--color-secondary);
}

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

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text);
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--color-secondary);
  transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-secondary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  background: var(--color-primary);
  color: #fff !important;
  padding: 0.6rem 1.5rem;
  border-radius: 2px;
  font-weight: 500;
  transition: background 0.3s ease !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--color-secondary) !important;
}

/* Mobile Menu */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  transition: all 0.3s ease;
}

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

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

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

/* ===== Hero Sections ===== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: 0;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(28, 28, 46, 0.65) 0%, rgba(28, 28, 46, 0.8) 100%);
}

.hero-home .hero-bg {
  background-image: url('_uploads/ai_0ce888c1b5a2beb4.jpg');
}

.hero-about .hero-bg {
  background-image: url('_uploads/ai_7511a8271b083a7d.jpg');
}

.hero-services .hero-bg {
  background-image: url('_uploads/ai_31a2b68edb669de4.jpg');
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  max-width: 800px;
  padding: 2rem;
}

.hero-content h1 {
  color: #fff;
  margin-bottom: 1.2rem;
  font-weight: 700;
}

.hero-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.15rem;
  font-weight: 300;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.hero-badge {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: 1rem;
  border: 1px solid rgba(196, 162, 101, 0.4);
  padding: 0.4rem 1.2rem;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

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

.hero-stat .number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-secondary);
  display: block;
}

.hero-stat .label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.25rem;
}

/* Sub-page Hero (smaller) */
.hero-sub {
  min-height: 50vh;
}

.hero-mini {
  min-height: 40vh;
  background: var(--color-primary);
}

.hero-mini .hero-content h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.85rem 2rem;
  border: none;
  cursor: pointer;
  transition: all 0.4s ease;
  text-align: center;
}

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

.btn-primary:hover {
  background: #B08D4A;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(196, 162, 101, 0.3);
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

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

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

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

.btn-dark:hover {
  background: #2a2a42;
  transform: translateY(-2px);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Section Styles ===== */
section {
  padding: var(--section-padding);
}

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

.section-white {
  background: var(--color-surface);
}

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

.section-dark {
  background: var(--color-primary);
  color: #fff;
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: #fff;
}

.section-dark p {
  color: rgba(255, 255, 255, 0.8);
}

.section-dark .section-number {
  color: rgba(196, 162, 101, 0.2);
}

/* ===== Listings Grid ===== */
.listings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.listing-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: all 0.4s ease;
}

.listing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.listing-image {
  height: 220px;
  background: var(--color-bg-alt);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.listing-image .placeholder-icon {
  font-size: 3rem;
  opacity: 0.3;
}

.listing-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--color-secondary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.8rem;
}

.listing-info {
  padding: 1.5rem;
}

.listing-price {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.listing-address {
  color: var(--color-text-light);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.listing-details {
  display: flex;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
}

.listing-details span {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* ===== Stats Section ===== */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item {
  padding: 2rem;
}

.stat-item .stat-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-secondary);
  display: block;
  margin-bottom: 0.5rem;
}

.stat-item .stat-label {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ===== Agent Section ===== */
.agent-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.agent-image {
  width: 100%;
  aspect-ratio: 4/5;
  background: var(--color-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
}

.agent-image .placeholder-icon {
  font-size: 4rem;
  opacity: 0.3;
}

.agent-info h2 {
  margin-bottom: 1rem;
}

.agent-credentials {
  display: flex;
  gap: 1.5rem;
  margin: 1.5rem 0;
  flex-wrap: wrap;
}

.credential {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--color-text-light);
}

.credential svg {
  width: 18px;
  height: 18px;
  color: var(--color-secondary);
}

/* ===== Testimonials ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.testimonial-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: 2rem;
  position: relative;
  transition: all 0.4s ease;
}

.testimonial-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.testimonial-quote {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--color-text);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-quote::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--color-secondary);
  opacity: 0.4;
  display: block;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.testimonial-author {
  font-weight: 600;
  font-size: 0.9rem;
}

.testimonial-role {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* ===== Services Grid ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: 2.5rem;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 4px;
  height: 0;
  background: var(--color-secondary);
  transition: height 0.4s ease;
}

.service-card:hover::before {
  height: 100%;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.service-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-gold-light);
  margin-bottom: 1rem;
}

.service-card h3 {
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--color-text-light);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.service-link {
  color: var(--color-secondary);
  font-weight: 500;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.3s ease;
}

.service-link:hover {
  gap: 0.8rem;
}

/* ===== Contact Form ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  margin-top: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--color-text);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text);
  transition: border-color 0.3s ease;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--color-secondary);
}

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

.contact-info-card {
  background: var(--color-primary);
  color: #fff;
  padding: 2.5rem;
}

.contact-info-card h3 {
  color: #fff;
  margin-bottom: 2rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-info-item svg {
  width: 22px;
  height: 22px;
  color: var(--color-secondary);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-info-item .info-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.25rem;
}

.contact-info-item .info-value {
  font-size: 1rem;
  color: #fff;
}

/* ===== CTA Section ===== */
.cta-section {
  background: var(--color-primary);
  padding: 80px 0;
  text-align: center;
}

.cta-section h2 {
  color: #fff;
  margin-bottom: 1rem;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== FAQ Accordion ===== */
.faq-list {
  max-width: 800px;
  margin: 2rem auto 0;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-question {
  width: 100%;
  text-align: right;
  padding: 1.5rem 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: var(--color-secondary);
}

.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-bottom: 1.5rem;
}

.faq-answer p {
  color: var(--color-text-light);
  line-height: 1.8;
}

/* ===== Funnel / Quote Steps ===== */
.funnel-page {
  display: none;
}

.funnel-page.active {
  display: block;
}

.quote-step {
  display: none;
}

.quote-step.active {
  display: block;
}

.step-indicators {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 3rem;
}

.step-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.step-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  border: 2px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-muted);
  transition: all 0.3s ease;
}

.step-indicator.active .step-dot {
  background: var(--color-secondary);
  border-color: var(--color-secondary);
  color: #fff;
}

.step-indicator.completed .step-dot {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.step-line {
  width: 60px;
  height: 2px;
  background: var(--color-border);
  margin: 0 0.5rem;
}

.step-indicator.completed + .step-indicator .step-line,
.step-indicator.active ~ .step-indicator .step-line {
  background: var(--color-border);
}

.step-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.step-content h3 {
  margin-bottom: 0.5rem;
}

.step-content p {
  color: var(--color-text-light);
  margin-bottom: 2rem;
}

.step-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.option-card {
  border: 2px solid var(--color-border);
  padding: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.option-card:hover,
.option-card.selected {
  border-color: var(--color-secondary);
  background: var(--color-gold-light);
}

.option-card h4 {
  margin-bottom: 0.25rem;
}

.option-card p {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin: 0;
}

/* ===== About Page ===== */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.value-card {
  text-align: center;
  padding: 2rem;
}

.value-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.value-card h4 {
  margin-bottom: 0.5rem;
}

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

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  max-width: 800px;
  margin: 2rem auto 0;
}

.team-member {
  text-align: center;
}

.team-avatar {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  border: 3px solid var(--color-border);
}

.team-member h4 {
  margin-bottom: 0.25rem;
}

.team-member .role {
  color: var(--color-secondary);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.team-member p {
  font-size: 0.9rem;
  color: var(--color-text-light);
}

/* ===== Privacy Page ===== */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.6rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.legal-content h3 {
  font-size: 1.2rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.legal-content p {
  color: var(--color-text-light);
  margin-bottom: 1rem;
}

.legal-content ul {
  padding-right: 1.5rem;
  margin-bottom: 1rem;
}

.legal-content ul li {
  list-style: disc;
  margin-bottom: 0.5rem;
  color: var(--color-text-light);
}

/* ===== Service Detail Page ===== */
.service-detail-content {
  max-width: 900px;
  margin: 0 auto;
}

.service-detail-content h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.benefit-list {
  margin: 1.5rem 0;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.benefit-icon {
  width: 28px;
  height: 28px;
  background: var(--color-gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-secondary);
  font-weight: 700;
  font-size: 0.8rem;
}

.benefit-item p {
  margin: 0;
}

/* ===== Alert/Notification Bar ===== */
.alert-section {
  background: var(--color-secondary);
  padding: 60px 0;
  text-align: center;
}

.alert-section h3 {
  color: #fff;
  margin-bottom: 0.5rem;
}

.alert-section p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.5rem;
}

.alert-form {
  display: flex;
  gap: 0.75rem;
  max-width: 500px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}

.alert-form input {
  flex: 1;
  min-width: 200px;
  padding: 0.85rem 1rem;
  border: none;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
}

.alert-form .btn {
  background: var(--color-primary);
  color: #fff;
  white-space: nowrap;
}

.alert-form .btn:hover {
  background: #2a2a42;
}

/* ===== Footer ===== */
.footer {
  background: var(--color-primary);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 30px;
}

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

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}

.footer-brand span {
  color: var(--color-secondary);
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
}

.footer h4 {
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
}

.footer-links a {
  display: block;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.6rem;
  transition: color 0.3s ease;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-signature {
  font-size: 0.75rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 1rem;
}

.footer-signature a {
  color: rgba(255, 255, 255, 0.4);
  border-bottom: 1px dotted currentColor;
  transition: opacity 0.3s ease;
}

.footer-signature a:hover {
  opacity: 1;
  color: rgba(255, 255, 255, 0.7);
}

/* ===== Form Messages ===== */
.form-message {
  padding: 1rem 1.5rem;
  margin-top: 1rem;
  font-size: 0.95rem;
  display: none;
}

.form-message.success {
  background: #E8F5E9;
  color: #2E7D32;
  border: 1px solid #A5D6A7;
  display: block;
}

.form-message.error {
  background: #FFEBEE;
  color: #C62828;
  border: 1px solid #EF9A9A;
  display: block;
}

/* ===== Reveal Animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* ===== Why Choose Us ===== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.why-card {
  padding: 2rem;
  text-align: center;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  transition: all 0.4s ease;
}

.why-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.why-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.why-card h4 {
  margin-bottom: 0.5rem;
}

.why-card p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin: 0;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .listings-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .mobile-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 80px;
    right: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--color-surface);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    transition: right 0.4s ease;
    z-index: 999;
  }

  .nav-links.active {
    right: 0;
  }

  .hero {
    min-height: 70vh;
  }

  .hero-bg {
    background-attachment: scroll;
  }

  .hero-sub {
    min-height: 40vh;
  }

  .hero-mini {
    min-height: 35vh;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }

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

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

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

  .agent-section {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .about-story {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

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

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

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

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

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

  .section-number {
    font-size: clamp(3rem, 6vw, 5rem);
  }

  h1 {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1.2rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
  }

  .alert-form {
    flex-direction: column;
  }

  .alert-form input,
  .alert-form .btn {
    width: 100%;
  }
}
