/* ============================================================
   The Mother Daughter Realtors® – Refined Stylesheet
   Dockside Properties · Chincoteague Island
   ============================================================ */

/* ===========================
   DESIGN TOKENS
=========================== */
:root {
  --navy:        #001a3a;
  --navy-mid:    #002d5c;
  --navy-light:  #0a4080;
  --rose:        #e8547a;
  --rose-light:  #f07a97;
  --rose-pale:   #fde8ef;
  --rose-blush:  #fff0f5;
  --sand:        #f7f3ee;
  --white:       #ffffff;
  --text:        #1e2a38;
  --text-mid:    #4a5568;
  --text-light:  #7a8899;
  --border:      #e8dde5;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --radius-sm:   4px;
  --radius-md:   10px;
  --radius-lg:   18px;
  --radius-pill: 100px;

  --shadow-sm:   0 1px 4px rgba(0,26,58,0.07);
  --shadow-md:   0 4px 16px rgba(0,26,58,0.10);
  --shadow-lg:   0 12px 40px rgba(0,26,58,0.14);
  --shadow-rose: 0 6px 24px rgba(232,84,122,0.22);

  --ease-out:    cubic-bezier(.22,.68,0,1.2);
  --transition:  0.28s var(--ease-out);

  --max-w:       1280px;
  --header-h:    72px;
}

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

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

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  text-rendering: optimizeLegibility;
}

/* ===========================
   UTILITY
=========================== */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-mid);
  line-height: 1.7;
  max-width: 600px;
}

/* ===========================
   BUTTONS
=========================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  min-height: 48px;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-primary:hover {
  background: var(--navy-mid);
  border-color: var(--navy-mid);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-rose {
  background: var(--rose);
  color: var(--white);
  border-color: var(--rose);
}
.btn-rose:hover {
  background: var(--rose-light);
  border-color: var(--rose-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-rose);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: white;
  transform: translateY(-2px);
}

/* ===========================
   HEADER
=========================== */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,26,58,0.06);
  height: var(--header-h);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--rose-pale);
}

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

.logo-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}

.logo-sub {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--text-light);
}

.header-divider {
  width: 1px;
  height: 32px;
  background: var(--border);
  flex-shrink: 0;
}

nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

nav a.nav-link {
  text-decoration: none;
  color: var(--text-mid);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-pill);
  transition: all 0.2s ease;
  white-space: nowrap;
}

nav a.nav-link:hover {
  color: var(--navy);
  background: var(--rose-blush);
}

.nav-cta {
  margin-left: 0.5rem;
  padding: 0.6rem 1.3rem;
  font-size: 0.83rem;
  background: var(--rose);
  color: white;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-weight: 600;
  transition: all var(--transition);
}
.nav-cta:hover {
  background: var(--rose-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-rose);
}

.nav-social {
  display: flex;
  gap: 0.4rem;
  margin-left: 0.25rem;
}
.nav-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--rose-pale);
  color: var(--rose);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all var(--transition);
}
.nav-social a:hover {
  background: var(--rose);
  color: white;
  transform: scale(1.08);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--navy);
  font-size: 1.5rem;
  -webkit-tap-highlight-color: transparent;
}

/* ===========================
   HERO
=========================== */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  max-height: 800px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('https://res.cloudinary.com/dmr6z8xks/image/upload/w_1600,f_auto,q_auto/v1769717360/Wildcat1200x500_d1k3eq.jpg') center/cover no-repeat;
  opacity: 0.35;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(0,26,58,0.92) 0%,
    rgba(0,26,58,0.75) 45%,
    rgba(0,26,58,0.35) 100%
  );
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 4rem 2rem;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2rem;
}

.hero-content { max-width: 620px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(232,84,122,0.18);
  border: 1px solid rgba(232,84,122,0.4);
  color: var(--rose-light);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.5rem;
}

.hero-badge i { font-size: 0.85rem; }

.hero h2 {
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  font-weight: 700;
  color: white;
  line-height: 1.08;
  margin-bottom: 1.25rem;
  letter-spacing: -0.5px;
}

.hero h2 em {
  font-style: italic;
  color: var(--rose-light);
}

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  gap: 0.875rem;
  flex-wrap: wrap;
}

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

.hero-stat-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: white;
  line-height: 1;
  display: block;
}

.hero-stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.5px;
  margin-top: 0.3rem;
  display: block;
}

.hero-team-photo {
  position: relative;
  align-self: center;
  width: clamp(220px, 22vw, 300px);
  flex-shrink: 0;
}

.hero-team-photo img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 12px 32px rgba(0,0,0,0.45));
}

/* ===========================
   LEAD FORM SECTION
=========================== */
.lead-section {
  background: var(--sand);
  padding: 5rem 2rem;
  position: relative;
}

.lead-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--rose) 0%, var(--rose-light) 100%);
}

.lead-inner {
  max-width: 900px;
  margin: 0 auto;
}

.lead-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.lead-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: clamp(1.75rem, 4vw, 3rem);
  border: 1px solid var(--border);
}

.lead-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.lead-form .full-width { grid-column: 1 / -1; }

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-field label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-mid);
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  min-height: 48px;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  outline: none;
  border-color: var(--rose);
  box-shadow: 0 0 0 3px rgba(232,84,122,0.1);
}

.lead-form textarea {
  min-height: 110px;
  resize: vertical;
}

.lead-form .submit-btn {
  grid-column: 1 / -1;
  width: 100%;
  justify-content: center;
  font-size: 0.95rem;
  padding: 1rem;
  border: none;
  border-radius: var(--radius-pill);
}

.success-message {
  background: #edfaf3;
  color: #1d6a42;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  margin-top: 1rem;
  text-align: center;
  font-weight: 500;
  display: none;
  border: 1px solid #b6e8cf;
  animation: slideIn 0.3s ease-out;
}

.success-message.show { display: block; }

@keyframes slideIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===========================
   COMMUNITY SECTION
=========================== */
.community-section {
  padding: 6rem 2rem;
  background: var(--white);
}

.community-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.community-header .section-subtitle { margin: 0 auto; }

.community-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.community-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

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

.community-image {
  height: 200px;
  background-size: cover;
  background-position: center;
  background-color: var(--rose-pale);
  position: relative;
  overflow: hidden;
}

.community-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,26,58,0.35) 0%, transparent 60%);
}

.community-image.lazy-bg { opacity: 0; transition: opacity 0.4s; }
.community-image.lazy-bg.loaded { opacity: 1; }

.community-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.community-content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.6rem;
}

.community-content p {
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 1rem;
}

.community-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.community-tag {
  background: var(--rose-blush);
  color: var(--rose);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--rose-pale);
}

/* ===========================
   TEAM / ABOUT SECTION
=========================== */
.team-section {
  padding: 6rem 2rem;
  background: var(--sand);
}

.team-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.team-text .section-subtitle { margin-bottom: 1.75rem; }

.team-bio {
  font-size: 0.97rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.team-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}

.team-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 3px solid var(--rose-pale);
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-info h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.2rem;
}

.team-role {
  font-size: 0.8rem;
  color: var(--rose);
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.team-contact a {
  color: var(--text-mid);
  text-decoration: none;
  font-size: 0.88rem;
  display: block;
  transition: color 0.2s;
}
.team-contact a:hover { color: var(--rose); }

.team-exp-badge {
  margin-left: auto;
  background: var(--rose-blush);
  color: var(--rose);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--rose-pale);
  white-space: nowrap;
  flex-shrink: 0;
}

/* ===========================
   TESTIMONIALS SECTION
=========================== */
.testimonials-section {
  padding: 6rem 0 4rem;
  background: var(--sand);
  overflow: hidden;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 3rem;
}

.testimonials-header .section-subtitle {
  margin: 0 auto 1.5rem;
}

.testimonials-rating-bar {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 0.5rem 1.25rem;
  margin-top: 0.5rem;
}

.rating-stars {
  color: #f59e0b;
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.rating-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-mid);
}

.testimonials-track-wrap {
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 4rem;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  gap: 1.5rem;
  overflow: visible;
}

.testimonial-card {
  flex-shrink: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: -0.5rem;
  right: 1.5rem;
  font-family: var(--font-display);
  font-size: 6rem;
  color: var(--rose-pale);
  line-height: 1;
  pointer-events: none;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--rose-pale);
}

.testimonial-top {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.testimonial-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rose), var(--rose-light));
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0.5px;
}

.testimonial-meta {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.testimonial-meta strong {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy);
}

.testimonial-meta span {
  font-size: 0.75rem;
  color: var(--text-light);
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 0.85rem;
  letter-spacing: 1px;
  flex-shrink: 0;
}

.testimonial-card p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.75;
  flex: 1;
}

.testimonial-source {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--rose);
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: color 0.2s;
  margin-top: auto;
}

.testimonial-source:hover { color: var(--rose-light); }

.testimonial-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--white);
  color: var(--navy);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  z-index: 2;
}

.testimonial-nav:hover {
  background: var(--rose);
  color: white;
  border-color: var(--rose);
  box-shadow: var(--shadow-rose);
}

.testimonial-nav:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.testimonial-nav:disabled:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--border);
}

.testimonial-prev { left: 0; }
.testimonial-next { right: 0; }

.testimonials-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
  padding: 0 2rem;
}

.testimonials-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all var(--transition);
}

.testimonials-dot.active {
  background: var(--rose);
  width: 24px;
  border-radius: var(--radius-pill);
}

.testimonials-cta {
  text-align: center;
  margin-top: 2.5rem;
}

/* ===========================
   FEATURES SECTION
=========================== */
.features-section {
  padding: 6rem 2rem;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.features-section::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,84,122,0.08) 0%, transparent 70%);
  top: -200px;
  right: -100px;
  pointer-events: none;
}

.features-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.features-header .section-title { color: var(--white); }
.features-header .section-subtitle { color: rgba(255,255,255,0.6); margin: 0 auto; }

.features-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.feature-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--rose), var(--rose-light));
  transform: scaleX(0);
  transition: transform var(--transition);
}

.feature-card:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-5px);
  border-color: rgba(232,84,122,0.3);
}

.feature-card:hover::before { transform: scaleX(1); }

.feature-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(232,84,122,0.15);
  border: 1px solid rgba(232,84,122,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.4rem;
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.feature-card p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.58);
  line-height: 1.7;
}

/* ===========================
   LISTINGS CTA SECTION
=========================== */
.listings-section {
  padding: 6rem 2rem;
  background: var(--rose-blush);
  text-align: center;
}

.listings-inner {
  max-width: 700px;
  margin: 0 auto;
}

.listings-section .section-title  { margin-bottom: 1rem; }
.listings-section .section-subtitle { margin: 0 auto 2.5rem; }

.listings-btn-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===========================
   LISTINGS PREVIEW SECTION
=========================== */
.listings-preview {
  padding: 5rem 2rem 6rem;
  background: var(--sand);
  position: relative;
  overflow: hidden;
}

/* Top accent bar */
.listings-preview::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--navy), var(--rose), var(--navy));
}

/* Decorative radial glow */
.listings-preview::after {
  content: '';
  position: absolute;
  bottom: -60px; right: -60px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,84,122,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.listings-preview__header {
  text-align: center;
  margin-bottom: 2rem;
}

.listings-preview__status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 500;
}

.status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34,197,94,0.2);
  animation: lp-pulse 2s infinite;
  flex-shrink: 0;
}

@keyframes lp-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(34,197,94,0.2); }
  50%       { box-shadow: 0 0 0 6px rgba(34,197,94,0.08); }
}

/* Grid */
.listings-preview__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

/* Card */
.lp-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
  opacity: 0;
  transform: translateY(20px);
  animation: lp-card-in 0.5s var(--ease-out) forwards;
}

@keyframes lp-card-in {
  to { opacity: 1; transform: translateY(0); }
}

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

/* Card image */
.lp-card__img {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: var(--rose-pale);
}

.lp-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.lp-card:hover .lp-card__img img {
  transform: scale(1.06);
}

.lp-no-photo {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem;
  color: var(--rose-light);
}

/* Badges */
.lp-badge {
  position: absolute;
  top: 10px; left: 10px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: var(--radius-sm);
  color: white;
  z-index: 2;
}

.lp-badge--residential    { background: var(--navy); }
.lp-badge--commercial     { background: #7c3aed; }
.lp-badge--commerciallease { background: #7c3aed; }
.lp-badge--land           { background: #059669; }
.lp-badge--rental         { background: #d97706; }
.lp-badge--pending        { left: auto; right: 10px; background: rgba(245,158,11,0.85); }

/* Save button */
.lp-save {
  position: absolute;
  top: 10px; right: 10px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  color: var(--text-light);
  transition: color 0.2s, transform 0.2s;
  z-index: 2;
}

.lp-save:hover, .lp-save.saved { color: var(--rose); transform: scale(1.12); }
.lp-badge--pending ~ .lp-save  { right: 10px; top: 38px; } /* shift down if pending badge */

/* Card body */
.lp-card__body {
  padding: 1.2rem 1.2rem 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.lp-price {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.lp-price small {
  font-size: 0.55em;
  font-weight: 500;
  color: var(--text-mid);
}

.lp-addr {
  font-size: 0.82rem;
  color: var(--text-mid);
  margin-bottom: 0.9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lp-addr i {
  color: var(--rose);
  font-size: 0.7rem;
  margin-right: 4px;
}

/* Stats row */
.lp-stats {
  display: flex;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0.55rem 0;
  margin-bottom: 0.9rem;
}

.lp-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.72rem;
  color: var(--text-light);
  font-weight: 500;
  text-align: center;
  gap: 2px;
  position: relative;
}

.lp-stat + .lp-stat::before {
  content: '';
  position: absolute;
  left: 0; top: 10%; bottom: 10%;
  width: 1px;
  background: var(--border);
}

.lp-stat i { color: var(--rose); font-size: 0.65rem; }

.lp-stat__val {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}

/* Card CTA */
.lp-cta {
  display: block;
  text-align: center;
  padding: 0.6rem 1rem;
  background: transparent;
  border: 1.5px solid var(--navy);
  border-radius: var(--radius-md);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
  margin-top: auto;
  cursor: pointer;
}

.lp-card:hover .lp-cta {
  background: var(--navy);
  color: var(--white);
}

/* Section footer */
.listings-preview__footer { text-align: center; }

.listings-preview__cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.listings-preview__shuffle {
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-mid);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-md);
  transition: color var(--transition), background var(--transition);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.listings-preview__shuffle:hover {
  color: var(--navy);
  background: var(--rose-pale);
}

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

@media (max-width: 600px) {
  .listings-preview { padding: 3.5rem 1.25rem 4rem; }
  .listings-preview__grid { grid-template-columns: 1fr; gap: 1rem; }
  .listings-preview__cta-group { flex-direction: column; gap: 0.75rem; }
  .listings-preview__cta-group .btn { width: 100%; justify-content: center; }
}

/* ===========================
   FOOTER
=========================== */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 4rem 2rem 2rem;
}

.footer-grid {
  max-width: var(--max-w);
  margin: 0 auto 3rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: white;
  display: block;
  margin-bottom: 0.25rem;
}

.footer-brand-sub {
  font-size: 0.65rem;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

.footer-brand-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 1.25rem 0 1.5rem;
  color: rgba(255,255,255,0.55);
}

.footer-logos {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.footer-logos img {
  height: 42px;
  width: auto;
  opacity: 0.8;
  filter: brightness(1.2);
  border-radius: 4px;
}

.footer-social {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all var(--transition);
  font-size: 0.95rem;
}

.footer-social a:hover {
  background: var(--rose);
  color: white;
  transform: translateY(-2px);
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--rose-light); }

.footer-contact-item {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.5rem;
}

.footer-contact-item strong {
  color: rgba(255,255,255,0.9);
  display: block;
}

.footer-contact-item a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s;
  display: block;
}

.footer-contact-item a:hover { color: var(--rose-light); }

.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.38);
}

/* ===========================
   ANIMATIONS
=========================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero .hero-content > * {
  animation: fadeUp 0.6s var(--ease-out) both;
}
.hero .hero-badge     { animation-delay: 0.05s; }
.hero h2              { animation-delay: 0.15s; }
.hero .hero-desc      { animation-delay: 0.25s; }
.hero .hero-buttons   { animation-delay: 0.35s; }
.hero .hero-stats     { animation-delay: 0.45s; }
.hero-team-photo      { animation: fadeUp 0.7s 0.5s var(--ease-out) both; }

/* ===========================
   RESPONSIVE – MOBILE
=========================== */
@media (max-width: 768px) {
  .header-divider,
  .nav-social { display: none; }

  .mobile-menu-btn { display: block; }

  nav {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0;
    width: 100%;
    background: var(--white);
    padding: 1.5rem;
    flex-direction: column;
    border-top: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    gap: 0.25rem;
    z-index: 999;
  }

  nav.open { display: flex; }

  nav a.nav-link {
    width: 100%;
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
  }

  .nav-cta {
    margin-left: 0;
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .hero-inner { grid-template-columns: 1fr; }
  .hero-team-photo { display: none; }
  .hero { max-height: none; min-height: 90vh; }

  .community-grid { grid-template-columns: 1fr; }
  .features-grid  { grid-template-columns: 1fr 1fr; }
  .team-inner     { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-grid    { grid-template-columns: 1fr; gap: 2rem; }
  .lead-form      { grid-template-columns: 1fr; }

  .team-card { flex-wrap: wrap; }
  .team-exp-badge { margin-left: 0; }
}

@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
  .hero-stats    { gap: 1.25rem; }
  .hero-buttons  { flex-direction: column; width: 100%; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
}

/* ===========================
   RESPONSIVE – TABLET
=========================== */
@media (min-width: 769px) and (max-width: 1024px) {
  .community-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid  { grid-template-columns: repeat(2, 1fr); }
  .team-inner     { gap: 3rem; }
  .footer-grid    { grid-template-columns: 1fr 1fr; }
  .footer-brand   { grid-column: 1 / -1; }
}

/* ===========================
   ACCESSIBILITY
=========================== */
@media (prefers-reduced-motion: reduce) {
  *, .hero-content > *, .hero-team-photo {
    animation: none !important;
    transition: none !important;
  }
  html { scroll-behavior: auto; }
}

/* ===========================
   PRINT
=========================== */
@media print {
  header { position: static; }
  .mobile-menu-btn,
  .hero-buttons,
  .lead-section,
  footer { display: none; }
}
