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

:root {
  --midnight: #0A1628;
  --midnight-light: #132238;
  --midnight-mid: #1A2D47;
  --mint: #7ECFC0;
  --mint-light: #B5E5D9;
  --mint-pale: #E2F5F0;
  --mint-ghost: #F0FAF7;
  --cream: #FAFBF9;
  --surface: #F7F9F7;
  --warm-white: #FDFCFA;
  --sand: #E8E4DD;
  --sand-light: #F2EFE9;
  --text: #1A1A1A;
  --text-muted: #5A5A5A;
  --text-light: #8A8A8A;
  --white: #FFFFFF;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-sm: 0 2px 8px rgba(10,22,40,0.06);
  --shadow-md: 0 8px 30px rgba(10,22,40,0.10);
  --shadow-lg: 0 20px 60px rgba(10,22,40,0.14);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --font-accent: 'Lora', Georgia, serif;
}

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

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--surface);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }
label { font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.03em; text-transform: uppercase; color: var(--text-muted); }

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

/* ── Typography ── */
.section-eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--midnight);
  margin-bottom: 24px;
}

.section-title em {
  font-style: italic;
  color: var(--mint);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: var(--transition);
  white-space: nowrap;
}

.btn--mint {
  background: var(--mint);
  color: var(--midnight);
}
.btn--mint:hover {
  background: var(--mint-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(126,207,192,0.35);
}

.btn--small {
  padding: 10px 22px;
  font-size: 0.875rem;
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.4);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
}

.btn--white {
  background: var(--white);
  color: var(--midnight);
}
.btn--white:hover {
  background: var(--mint-pale);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn--outline-white {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.5);
}
.btn--outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}

.btn--full { width: 100%; }

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 24px;
  transition: var(--transition);
}

.nav.scrolled {
  background: rgba(250,251,249,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(10,22,40,0.06);
}

.nav.scrolled .nav-logo { color: var(--midnight); }
.nav.scrolled .nav-links a { color: var(--text); }
.nav.scrolled .nav-links .btn--small {
  background: var(--mint);
  color: var(--midnight);
  border-color: var(--mint);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--white);
  transition: var(--transition);
}

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

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  transition: var(--transition);
  position: relative;
}

.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--mint);
  transition: var(--transition);
}

.nav-links a:not(.btn):hover::after { width: 100%; }
.nav-links a:not(.btn):hover { color: var(--white); }

/* Mobile Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.nav.scrolled .nav-toggle span { background: var(--midnight); }

/* Mobile Nav */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.mobile-nav nav a {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--midnight);
}
.mobile-nav-close {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 2rem;
  color: var(--midnight);
  line-height: 1;
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--midnight);
  overflow: hidden;
  padding: 120px 0 0;
}

.hero-bg { position: absolute; inset: 0; }

.hero-gradient {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 50%, rgba(126,207,192,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 80% at 80% 20%, rgba(126,207,192,0.08) 0%, transparent 50%),
    linear-gradient(160deg, var(--midnight) 0%, var(--midnight-light) 50%, var(--midnight-mid) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content { padding-right: 20px; }

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 24px;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 5.5vw, 4.5rem);
  font-weight: 400;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 28px;
}

.hero-headline em {
  font-style: italic;
  color: var(--mint);
}

.hero-body {
  font-family: var(--font-accent);
  font-size: 1.125rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.7);
  max-width: 480px;
  margin-bottom: 40px;
}

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

/* Hero Visual */
.hero-visual { position: relative; }

.hero-img-stack { position: relative; height: 680px; }

.hero-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-img--main {
  width: 100%;
  height: 520px;
  position: relative;
  z-index: 1;
}

.hero-img--main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-img--accent {
  position: absolute;
  bottom: 0;
  left: -60px;
  width: 260px;
  z-index: 2;
  border: 6px solid var(--midnight);
}

.hero-img--accent img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-badge {
  position: absolute;
  top: 40px;
  right: -30px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  z-index: 3;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
}

.hero-badge-num {
  font-family: var(--font-display);
  font-size: 2.25rem;
  color: var(--mint);
  line-height: 1;
}

.hero-badge-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.4;
}

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

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

/* ── Trust Bar ── */
.trust-bar {
  background: var(--surface);
  padding: 48px 0;
  border-bottom: 1px solid var(--sand-light);
}

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

.trust-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
  padding: 16px;
}

.trust-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--mint);
}

.trust-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* ── About ── */
.about {
  background: var(--surface);
  padding: 120px 0;
}

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

.about-visual { position: relative; }

.about-img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

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

.about-img-float {
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 240px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 5px solid var(--surface);
}

.about-img-float img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.about-content { max-width: 520px; }

.about-content p {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.about-content p:last-of-type { margin-bottom: 32px; }

.about-content em {
  font-family: var(--font-accent);
  font-style: italic;
  color: var(--midnight);
}

.about-signature {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--sand);
}

.sig-name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--midnight);
  margin-bottom: 4px;
}

.sig-title {
  font-size: 0.8125rem;
  color: var(--text-light);
  letter-spacing: 0.04em;
}

/* ── Services ── */
.services {
  background: var(--warm-white);
  padding: 120px 0;
}

.services-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px;
}

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

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  transition: var(--transition);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--mint);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: var(--mint-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--midnight);
  margin-bottom: 24px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--mint);
  color: var(--midnight);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--midnight);
  margin-bottom: 14px;
}

.service-card p {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.service-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--midnight);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.service-link:hover { color: var(--mint); gap: 10px; }

/* ── Neighborhoods ── */
.neighborhoods {
  background: var(--surface);
  padding: 120px 0;
}

.neighborhoods-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px;
}

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

.neighborhood-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

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

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

.neighborhood-info {
  padding: 28px 28px 32px;
}

.neighborhood-info h3 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  color: var(--midnight);
  margin-bottom: 10px;
}

.neighborhood-info p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-muted);
}

/* ── Testimonials ── */
.testimonials {
  background: var(--midnight);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(126,207,192,0.1) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 10% 80%, rgba(126,207,192,0.06) 0%, transparent 50%);
}

.testimonials .container { position: relative; z-index: 1; }

.testimonials-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px;
}

.testimonials-header .section-eyebrow { color: var(--mint); }
.testimonials-header .section-title { color: var(--white); }

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

.testimonial-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: var(--transition);
}

.testimonial-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(126,207,192,0.3);
  transform: translateY(-4px);
}

.testimonial-quote {
  color: var(--mint);
  margin-bottom: 20px;
  opacity: 0.6;
}

.testimonial-text {
  font-family: var(--font-accent);
  font-size: 1.0625rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.8);
  margin-bottom: 24px;
}

.testimonial-author {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--mint);
  letter-spacing: 0.04em;
}

/* ── CTA ── */
.cta {
  position: relative;
  padding: 140px 0;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
}

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

.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10,22,40,0.88) 0%,
    rgba(10,22,40,0.72) 50%,
    rgba(126,207,192,0.25) 100%
  );
}

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

.cta-eyebrow { color: var(--mint-light); }

.cta-title { color: var(--white); }

.cta-body {
  font-family: var(--font-accent);
  font-size: 1.125rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.75);
  margin-bottom: 40px;
}

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

/* ── Contact ── */
.contact {
  background: var(--warm-white);
  padding: 120px 0;
}

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

.contact-intro {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 40px;
}

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

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

.contact-detail dt {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--mint-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--midnight);
}

.contact-detail dd {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text);
}

.contact-detail a {
  color: var(--midnight);
  font-weight: 500;
  transition: var(--transition);
}

.contact-detail a:hover { color: var(--mint); }

/* Form */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--sand-light);
}

.contact-form { display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form-group { display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  padding: 14px 16px;
  border: 1.5px solid var(--sand);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  transition: var(--transition);
  outline: none;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--mint);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(126,207,192,0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-light);
}

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

.form-note {
  font-size: 0.8125rem;
  color: var(--text-light);
  text-align: center;
  margin-top: 4px;
}

.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  gap: 16px;
}

.form-success h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--midnight);
}

.form-success p {
  font-size: 1rem;
  color: var(--text-muted);
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 60px;
  padding-bottom: 60px;
}

.footer .nav-logo { color: var(--white); margin-bottom: 16px; }

.footer-brand p {
  font-size: 0.9375rem;
  line-height: 1.7;
  max-width: 280px;
}

.footer h4 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  color: var(--white);
  margin-bottom: 20px;
}

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

.footer-links a {
  font-size: 0.9375rem;
  transition: var(--transition);
}

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

.footer-contact p {
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 4px;
}

.footer-contact a {
  transition: var(--transition);
}

.footer-contact a:hover { color: var(--mint); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

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

/* ── Scroll Animations ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { display: none; }
  .hero-content { padding-right: 0; text-align: center; max-width: 640px; margin: 0 auto; }
  .hero-body { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .about-grid { grid-template-columns: 1fr; gap: 60px; }
  .about-visual { max-width: 480px; margin: 0 auto; }
  .about-content { max-width: 100%; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .neighborhoods-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
  .testimonials-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 32px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; gap: 8px; }
  .about-img-float { right: -10px; width: 180px; }
  .about-img-main img { height: 480px; }
  .hero { padding-top: 100px; min-height: auto; padding-bottom: 80px; }
  .cta { padding: 100px 0; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 2.25rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .trust-grid { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: column; align-items: center; }
  .cta-actions .btn { width: 100%; justify-content: center; }
}
