/* ══════════════════════════════════════════════════════════
   MARGARET MENENDEZ — REAL ESTATE WEBSITE
   Custom Styles for Ocean Springs Real Estate
   ══════════════════════════════════════════════════════════ */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.7;
  color: #1a2a3a;
  background-color: #F5F0E8;
  overflow-x: hidden;
}

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

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

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

ul {
  list-style: none;
}

/* ── Utility ──────────────────────────────────────────── */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #B87F12;
  background: linear-gradient(135deg, #FBF0D0 0%, #F7E0A0 100%);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  font-weight: 600;
  line-height: 1.25;
  color: #1B3A5C;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.0625rem;
  color: #4a5f73;
  max-width: 600px;
  line-height: 1.75;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

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

/* ── Buttons ──────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 14px 28px;
  border-radius: 50px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #1B3A5C 0%, #16304D 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(27, 58, 92, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #16304D 0%, #11263E 100%);
  box-shadow: 0 6px 24px rgba(27, 58, 92, 0.4);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(4px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.7);
  transform: translateY(-2px);
}

.btn-gold {
  background: linear-gradient(135deg, #D49A1E 0%, #B87F12 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(212, 154, 30, 0.35);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #EBB03A 0%, #D49A1E 100%);
  box-shadow: 0 6px 24px rgba(212, 154, 30, 0.5);
  transform: translateY(-2px);
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1rem;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ── Navigation ──────────────────────────────────────── */
header.nav-scrolled {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(27, 58, 92, 0.06);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

header.nav-scrolled .nav-logo {
  color: #1B3A5C;
}

header.nav-scrolled .nav-link {
  color: #4a5f73;
}

header.nav-scrolled .nav-link:hover {
  color: #1B3A5C;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 1.125rem;
  transition: color 0.3s ease;
}

.nav-logo-icon {
  width: 32px;
  height: 32px;
}

.nav-logo-text {
  letter-spacing: -0.01em;
}

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

.nav-link {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color 0.2s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #D49A1E;
  border-radius: 2px;
  transition: width 0.3s ease;
}

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

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

.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #D49A1E 0%, #B87F12 100%);
  color: #fff !important;
  padding: 9px 20px;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 2px 12px rgba(212, 154, 30, 0.3);
}

.nav-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(212, 154, 30, 0.45);
}

.nav-cta-btn::after {
  display: none;
}

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

.nav-toggle-line {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

header.nav-scrolled .nav-toggle-line {
  background: #1B3A5C;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(7, 18, 32, 0.97);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.mobile-menu-link {
  color: rgba(255, 255, 255, 0.85);
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 500;
  padding: 12px 24px;
  transition: color 0.2s ease;
}

.mobile-menu-link:hover {
  color: #D49A1E;
}

.mobile-menu-divider {
  width: 48px;
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
  margin: 8px 0;
}

.mobile-menu-phone,
.mobile-menu-email {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
  padding: 8px 16px;
  margin-top: 4px;
  transition: color 0.2s ease;
}

.mobile-menu-phone:hover,
.mobile-menu-email:hover {
  color: #D49A1E;
}

/* ── Hero Section ─────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #071220 0%, #1B3A5C 50%, #16304D 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Subtle pattern overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(ellipse at 30% 50%, rgba(212, 154, 30, 0.06) 0%, transparent 60%),
                    radial-gradient(ellipse at 80% 20%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 24px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Hero Content */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 154, 30, 0.15);
  border: 1px solid rgba(212, 154, 30, 0.3);
  color: #F2CA6A;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 50px;
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}

.hero-headline {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 600;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 24px;
  max-width: 540px;
}

.hero-sub {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}

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

.hero-stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #F2CA6A;
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
}

/* Hero Image */
.hero-image-wrap {
  position: relative;
  display: flex;
  justify-content: flex-end;
}

.hero-image-main {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3);
  max-width: 480px;
  width: 100%;
}

.hero-image-main img {
  width: 100%;
  height: 820px;
  object-fit: cover;
  display: block;
}

.hero-float-card {
  position: absolute;
  bottom: 40px;
  left: -40px;
  background: #fff;
  border-radius: 20px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

.hero-float-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #D49A1E 0%, #B87F12 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.hero-float-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: #1B3A5C;
}

.hero-float-desc {
  display: block;
  font-size: 0.75rem;
  color: #6b7f94;
  margin-top: 2px;
}

.hero-deco-circle {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 154, 30, 0.12) 0%, transparent 70%);
  top: -40px;
  right: -60px;
  pointer-events: none;
}

/* Hero Wave */
.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  line-height: 0;
}

.hero-wave svg {
  width: 100%;
  height: 80px;
}

/* ── About Section ────────────────────────────────────── */
.about {
  padding: 100px 0;
  background: #F5F0E8;
}

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

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

.about-img-main {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(27, 58, 92, 0.12);
}

.about-img-main img {
  width: 100%;
  height: 640px;
  object-fit: cover;
  display: block;
}

.about-img-accent {
  position: absolute;
  bottom: -32px;
  right: -32px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(27, 58, 92, 0.15);
  border: 4px solid #F5F0E8;
}

.about-img-accent img {
  width: 300px;
  height: 200px;
  object-fit: cover;
  display: block;
}

.about-badge {
  position: absolute;
  top: -20px;
  left: 24px;
  background: linear-gradient(135deg, #D49A1E 0%, #B87F12 100%);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(212, 154, 30, 0.3);
}

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

.about-body {
  font-size: 1.0625rem;
  color: #4a5f73;
  line-height: 1.85;
  margin-bottom: 20px;
}

.about-values {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}

.about-value {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.about-value-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, rgba(27, 58, 92, 0.06) 0%, rgba(27, 58, 92, 0.12) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1B3A5C;
  flex-shrink: 0;
}

.about-value-title {
  display: block;
  font-weight: 600;
  color: #1B3A5C;
  font-size: 0.9375rem;
}

.about-value-desc {
  display: block;
  font-size: 0.875rem;
  color: #6b7f94;
  margin-top: 2px;
}

.mt-6 { margin-top: 24px; }

/* ── Services Section ─────────────────────────────────── */
.services {
  padding: 100px 0;
  background: #fff;
}

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

.service-card {
  background: #F5F0E8;
  border-radius: 24px;
  padding: 40px 32px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  border: 1px solid transparent;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(27, 58, 92, 0.1);
  border-color: rgba(212, 154, 30, 0.2);
}

.service-card-featured {
  background: linear-gradient(135deg, #1B3A5C 0%, #071220 100%);
  color: #fff;
  border: none;
}

.service-card-featured:hover {
  box-shadow: 0 20px 48px rgba(27, 58, 92, 0.3);
}

.service-card-featured-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: linear-gradient(135deg, #D49A1E 0%, #B87F12 100%);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 50px;
  letter-spacing: 0.04em;
}

.service-card-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(27, 58, 92, 0.08) 0%, rgba(27, 58, 92, 0.15) 100%);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1B3A5C;
  margin-bottom: 24px;
  transition: all 0.3s ease;
}

.service-card-featured .service-card-icon {
  background: rgba(212, 154, 30, 0.2);
  color: #F2CA6A;
}

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

.service-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.375rem;
  font-weight: 600;
  color: #1B3A5C;
  margin-bottom: 12px;
}

.service-card-featured .service-card-title {
  color: #fff;
}

.service-card-desc {
  font-size: 0.9375rem;
  color: #6b7f94;
  line-height: 1.75;
  margin-bottom: 24px;
}

.service-card-featured .service-card-desc {
  color: rgba(255, 255, 255, 0.65);
}

.service-card-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-card-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: #4a5f73;
}

.service-card-featured .service-card-list li {
  color: rgba(255, 255, 255, 0.75);
}

.service-card-list li svg {
  color: #D49A1E;
  flex-shrink: 0;
}

/* ── Neighborhoods Section ────────────────────────────── */
.neighborhoods {
  padding: 100px 0;
  background: #F5F0E8;
}

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

.neighborhood-card {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(27, 58, 92, 0.06);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.neighborhood-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(27, 58, 92, 0.12);
}

.neighborhood-card-img {
  overflow: hidden;
  height: 240px;
}

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

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

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

.neighborhood-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #1B3A5C;
  margin-bottom: 8px;
}

.neighborhood-card-desc {
  font-size: 0.9375rem;
  color: #6b7f94;
  line-height: 1.7;
}

/* ── Testimonials Section ─────────────────────────────── */
.testimonials {
  padding: 100px 0;
  background: #fff;
}

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

.testimonial-card {
  background: #F5F0E8;
  border-radius: 24px;
  padding: 36px;
  position: relative;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(27, 58, 92, 0.08);
  border-color: rgba(212, 154, 30, 0.2);
}

.testimonial-quote-mark {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  line-height: 1;
  color: #D49A1E;
  opacity: 0.3;
  position: absolute;
  top: 16px;
  left: 28px;
}

.testimonial-text {
  font-size: 1rem;
  color: #4a5f73;
  line-height: 1.8;
  margin-bottom: 24px;
  margin-top: 20px;
  position: relative;
  z-index: 1;
}

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

.testimonial-author-avatar {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #1B3A5C 0%, #16304D 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  flex-shrink: 0;
}

.testimonial-author-name {
  display: block;
  font-weight: 600;
  font-size: 0.9375rem;
  color: #1B3A5C;
}

.testimonial-author-detail {
  display: block;
  font-size: 0.8125rem;
  color: #6b7f94;
  margin-top: 2px;
}

/* ── CTA Banner ───────────────────────────────────────── */
.cta-banner {
  padding: 100px 0;
  background: linear-gradient(135deg, #071220 0%, #1B3A5C 60%, #16304D 100%);
  position: relative;
  overflow: hidden;
}

.cta-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(ellipse at 70% 30%, rgba(212, 154, 30, 0.08) 0%, transparent 50%),
                    radial-gradient(ellipse at 20% 80%, rgba(255, 255, 255, 0.03) 0%, transparent 40%);
  pointer-events: none;
}

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

.cta-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 20px;
}

.cta-text {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.8;
  margin-bottom: 40px;
}

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

/* ── Contact Section ──────────────────────────────────── */
.contact {
  padding: 100px 0;
  background: #F5F0E8;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-info-col .section-title {
  margin-bottom: 16px;
}

.contact-info-desc {
  font-size: 1.0625rem;
  color: #6b7f94;
  line-height: 1.75;
  margin-bottom: 36px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-detail-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(27, 58, 92, 0.06) 0%, rgba(27, 58, 92, 0.12) 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1B3A5C;
  flex-shrink: 0;
}

.contact-detail-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b7f94;
  margin-bottom: 4px;
}

.contact-detail-value {
  display: block;
  font-size: 0.9375rem;
  color: #1B3A5C;
  line-height: 1.6;
}

.contact-detail-link {
  display: block;
  font-size: 0.9375rem;
  color: #1B3A5C;
  font-weight: 500;
  transition: color 0.2s ease;
}

.contact-detail-link:hover {
  color: #D49A1E;
}

/* Contact Form */
.contact-form-card {
  background: #fff;
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 8px 40px rgba(27, 58, 92, 0.08);
}

.contact-form-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #1B3A5C;
  margin-bottom: 28px;
}

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

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

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #1B3A5C;
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid #e0d9cf;
  border-radius: 14px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  color: #1a2a3a;
  background: #F5F0E8;
  transition: all 0.2s ease;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #D49A1E;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(212, 154, 30, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #9aa8b8;
}

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

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7f94' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
  cursor: pointer;
}

/* Form Success */
.form-success {
  text-align: center;
  padding: 40px 20px;
}

.form-success-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, rgba(212, 154, 30, 0.1) 0%, rgba(212, 154, 30, 0.2) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: #B87F12;
}

.form-success-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #1B3A5C;
  margin-bottom: 12px;
}

.form-success-text {
  font-size: 1rem;
  color: #6b7f94;
  line-height: 1.7;
}

/* ── Footer ───────────────────────────────────────────── */
.footer {
  background: #071220;
  color: rgba(255, 255, 255, 0.6);
  padding: 72px 0 0;
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 1.125rem;
  margin-bottom: 16px;
}

.footer-logo svg {
  width: 28px;
  height: 28px;
}

.footer-desc {
  font-size: 0.9375rem;
  line-height: 1.75;
  margin-bottom: 16px;
  max-width: 280px;
}

.footer-license {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer-heading {
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 20px;
}

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

.footer-links a {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #F2CA6A;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  line-height: 1.6;
}

.footer-contact li svg {
  flex-shrink: 0;
  margin-top: 3px;
  opacity: 0.5;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s ease;
}

.footer-contact a:hover {
  color: #F2CA6A;
}

.footer-bottom {
  padding: 28px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copyright {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer-disclaimer {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.25);
}

/* ── Back to Top ──────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #1B3A5C 0%, #16304D 100%);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(27, 58, 92, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: all 0.3s ease;
  z-index: 900;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(27, 58, 92, 0.4);
}

/* ── Animations ───────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.stagger-children .fade-in {
  transition-delay: calc(var(--i, 0) * 0.1s);
}

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-container {
    gap: 40px;
  }

  .hero-image-main img {
    height: 600px;
  }

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-container {
    grid-template-columns: 1fr;
    padding: 100px 24px 60px;
    gap: 40px;
    text-align: center;
  }

  .hero-headline {
    max-width: 100%;
  }

  .hero-sub {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-image-wrap {
    justify-content: center;
  }

  .hero-image-main {
    max-width: 360px;
  }

  .hero-image-main img {
    height: 480px;
  }

  .hero-float-card {
    left: 50%;
    transform: translateX(-50%);
    bottom: -20px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-img-main img {
    height: 400px;
  }

  .about-img-accent {
    right: 0;
    bottom: -24px;
  }

  .about-badge {
    left: 16px;
  }

  .services-grid,
  .neighborhoods-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }

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

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .section-container {
    padding: 0 20px;
  }

  .about,
  .services,
  .neighborhoods,
  .testimonials,
  .contact {
    padding: 72px 0;
  }

  .cta-banner {
    padding: 72px 0;
  }
}

@media (max-width: 480px) {
  .hero-float-card {
    padding: 14px 18px;
  }

  .hero-float-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .hero-float-label {
    font-size: 0.8125rem;
  }

  .hero-float-desc {
    font-size: 0.6875rem;
  }

  .contact-form-card {
    padding: 28px 20px;
  }

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

  .testimonial-card {
    padding: 28px;
  }
}
