*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --charcoal: #1a1a1a;
  --charcoal-light: #2d2d2d;
  --charcoal-muted: #4a4a4a;
  --coral: #e86a5b;
  --coral-light: #f08074;
  --coral-pale: #fdf0ee;
  --white: #ffffff;
  --off-white: #fafafa;
  --gray-50: #f7f7f7;
  --gray-100: #f0f0f0;
  --gray-200: #e5e5e5;
  --gray-300: #d4d4d4;
  --gray-400: #a3a3a3;
  --gray-500: #737373;
  --gray-600: #525252;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

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

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

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

/* ─── Typography ─── */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.2;
}

.section-eyebrow {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--charcoal);
  margin-bottom: 1.5rem;
}

.section-title--center {
  text-align: center;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
}

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

.btn-primary:hover {
  background: var(--coral-light);
  border-color: var(--coral-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(232, 106, 91, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--charcoal);
}

.btn-outline:hover {
  background: var(--charcoal);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-white {
  background: var(--white);
  color: var(--charcoal);
  border-color: var(--white);
}

.btn-white:hover {
  background: var(--gray-50);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.btn-full {
  width: 100%;
}

/* ─── Header ─── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: all 0.4s var(--ease-out);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1rem 0;
  box-shadow: 0 1px 0 var(--gray-200);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.3s;
}

.header.scrolled .logo {
  color: var(--charcoal);
}

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

.nav-link {
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--coral);
  transition: width 0.3s var(--ease-out);
}

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

.nav-link:hover {
  color: var(--white);
}

.nav-cta {
  color: var(--coral);
  border: 1px solid var(--coral);
  padding: 0.5rem 1.25rem;
  border-radius: 3px;
  transition: all 0.3s var(--ease-out);
}

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

.nav-cta:hover {
  background: var(--coral);
  color: var(--white);
}

.header.scrolled .nav-link {
  color: var(--gray-500);
}

.header.scrolled .nav-link:hover {
  color: var(--charcoal);
}

.header.scrolled .nav-cta {
  color: var(--coral);
}

/* ─── Mobile Menu ─── */
.menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.menu-btn span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--white);
  transition: all 0.3s var(--ease-out);
  transform-origin: center;
}

.header.scrolled .menu-btn span {
  background: var(--charcoal);
}

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

.menu-btn.active span:nth-child(2) {
  opacity: 0;
}

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

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 26, 26, 0.6);
  backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out);
}

.overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* ─── Hero ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 30%, #3d2a26 60%, #e86a5b 100%);
  z-index: 0;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(232, 106, 91, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 20%, rgba(232, 106, 91, 0.1) 0%, transparent 50%);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 780px;
  padding: 8rem 2rem 6rem;
}

.hero-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: var(--white);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 1.75rem;
  letter-spacing: -0.01em;
}

.hero-title em {
  font-style: italic;
  color: var(--coral);
}

.hero-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  max-width: 560px;
  margin: 0 auto 2.5rem;
  font-weight: 300;
}

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

.hero-actions .btn-outline {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
}

.hero-actions .btn-outline:hover {
  background: var(--white);
  color: var(--charcoal);
  border-color: var(--white);
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.3s;
}

.hero-scroll:hover {
  color: var(--coral);
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.5; transform: scaleY(0.6); }
}

/* ─── About ─── */
.about {
  padding: 8rem 0;
}

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

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

.about-image::before {
  content: '';
  position: absolute;
  top: -16px;
  left: -16px;
  width: 100%;
  height: 100%;
  border: 1px solid var(--coral);
  border-radius: 4px;
  z-index: -1;
  opacity: 0.3;
}

.about-text {
  padding: 1rem 0;
}

.about-text p {
  color: var(--gray-600);
  margin-bottom: 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.85;
}

.about-text p:first-of-type {
  font-size: 1.0625rem;
  color: var(--charcoal-muted);
}

/* ─── Services ─── */
.services {
  padding: 8rem 0;
  background: var(--gray-50);
}

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

.service-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 4px;
  border: 1px solid var(--gray-100);
  transition: all 0.4s var(--ease-out);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
  border-color: transparent;
}

.service-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gray-200);
  border-radius: 4px;
  margin-bottom: 1.5rem;
  color: var(--coral);
  transition: all 0.3s;
}

.service-card:hover .service-icon {
  background: var(--coral);
  border-color: var(--coral);
  color: var(--white);
}

.service-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--charcoal);
}

.service-desc {
  font-size: 0.9375rem;
  color: var(--gray-500);
  line-height: 1.75;
}

/* ─── Neighborhoods ─── */
.neighborhoods {
  padding: 8rem 0;
}

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

.neighborhood-card {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 3 / 2;
}

.neighborhood-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-out);
}

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

.neighborhood-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 26, 26, 0.7) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  transition: background 0.3s;
}

.neighborhood-card:hover .neighborhood-overlay {
  background: linear-gradient(to top, rgba(26, 26, 26, 0.8) 0%, rgba(26, 26, 26, 0.2) 100%);
}

.neighborhood-tag {
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 0.375rem;
  font-weight: 400;
}

.neighborhood-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--white);
  font-weight: 400;
}

/* ─── Testimonials ─── */
.testimonials {
  padding: 8rem 0;
  background: var(--charcoal);
}

.testimonials .section-eyebrow {
  color: var(--coral);
}

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

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

.testimonial-card {
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  position: relative;
  transition: border-color 0.3s;
}

.testimonial-card:hover {
  border-color: rgba(232, 106, 91, 0.3);
}

.testimonial-quote {
  margin-bottom: 1rem;
  color: var(--coral);
}

.testimonial-text {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  font-size: 0.8125rem;
  color: var(--coral);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 400;
}

/* ─── CTA ─── */
.cta {
  padding: 8rem 0;
  background: linear-gradient(135deg, var(--coral) 0%, #d45547 100%);
  text-align: center;
}

.cta-eyebrow {
  color: rgba(255, 255, 255, 0.8);
}

.cta-title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  color: var(--white);
  margin-bottom: 1.25rem;
}

.cta-subtitle {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 480px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
}

/* ─── Contact ─── */
.contact {
  padding: 8rem 0;
}

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

.contact-desc {
  font-size: 0.9375rem;
  color: var(--gray-500);
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.contact-item svg {
  color: var(--coral);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-label {
  display: block;
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 0.25rem;
}

.contact-item a,
.contact-item span {
  font-size: 0.9375rem;
  color: var(--charcoal);
  text-decoration: none;
  transition: color 0.3s;
}

.contact-item a:hover {
  color: var(--coral);
}

/* ─── Form ─── */
.contact-form-wrap {
  background: var(--gray-50);
  padding: 2.5rem;
  border-radius: 4px;
  border: 1px solid var(--gray-100);
}

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

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

.form-group label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 0.5rem;
  font-weight: 400;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 300;
  color: var(--charcoal);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 4px;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(232, 106, 91, 0.1);
}

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

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

.form-success {
  display: none;
  text-align: center;
  padding: 1rem;
  margin-top: 1rem;
  font-size: 0.9375rem;
  color: var(--coral);
  background: var(--coral-pale);
  border-radius: 4px;
}

.form-success.visible {
  display: block;
}

/* ─── Footer ─── */
.footer {
  background: var(--charcoal);
  padding: 4rem 0 2rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2rem;
}

.footer-brand .logo {
  color: var(--white);
}

.footer-tagline {
  font-size: 0.8125rem;
  color: var(--gray-500);
  margin-top: 0.25rem;
  letter-spacing: 0.04em;
}

.footer-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  font-size: 0.8125rem;
  color: var(--gray-400);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.3s;
}

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

.footer-copy {
  font-size: 0.8125rem;
  color: var(--gray-500);
  line-height: 1.8;
}

.footer-copy a {
  color: var(--gray-400);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-copy a:hover {
  color: var(--coral);
}

/* ─── Scroll Animations ─── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .about-grid,
  .contact-grid {
    gap: 3rem;
  }

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

@media (max-width: 768px) {
  .menu-btn {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--charcoal);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transition: right 0.4s var(--ease-out);
    z-index: 1000;
  }

  .nav.open {
    right: 0;
  }

  .nav-link {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.9375rem;
  }

  .nav-link:hover {
    color: var(--white) !important;
  }

  .nav-cta {
    color: var(--coral) !important;
  }

  .hero-content {
    padding: 7rem 1.5rem 5rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

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

  .about-image {
    max-height: 400px;
  }

  .about-image::before {
    top: -10px;
    left: -10px;
  }

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

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

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

  .contact-form-wrap {
    padding: 1.5rem;
  }

  .footer-inner {
    gap: 1.5rem;
  }

  .footer-links {
    gap: 1.25rem;
  }
}

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

  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .cta-title {
    font-size: 1.75rem;
  }
}
