/* ============================================
   Scott Leo, Realtor — Custom Styles
   Palette: Midnight Blue (#0B1D3A) + Mint (#2DD4A8)
   Fonts: Playfair Display (headlines) + Inter (body)
   ============================================ */

*, *::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;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  color: #0B1D3A;
  background-color: #FAFBFC;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

/* ---- Typography ---- */
h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.section-eyebrow {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #2DD4A8;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #0B1D3A;
  margin-bottom: 24px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.04em;
  padding: 14px 32px;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-primary {
  background: #0B1D3A;
  color: #FAFBFC;
  border-color: #0B1D3A;
}

.btn-primary:hover {
  background: #132D52;
  border-color: #132D52;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(11, 29, 58, 0.2);
}

.btn-outline {
  background: transparent;
  color: #0B1D3A;
  border-color: #0B1D3A;
}

.btn-outline:hover {
  background: #0B1D3A;
  color: #FAFBFC;
  transform: translateY(-1px);
}

.btn-white {
  background: #FAFBFC;
  color: #0B1D3A;
  border-color: #FAFBFC;
}

.btn-white:hover {
  background: #2DD4A8;
  border-color: #2DD4A8;
  color: #0B1D3A;
  transform: translateY(-1px);
}

.btn-outline-white {
  background: transparent;
  color: #FAFBFC;
  border-color: rgba(250, 251, 252, 0.5);
}

.btn-outline-white:hover {
  border-color: #FAFBFC;
  background: rgba(250, 251, 252, 0.1);
  transform: translateY(-1px);
}

.btn-full {
  width: 100%;
}

/* ---- Navigation ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(250, 251, 252, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(11, 29, 58, 0.08);
  transition: box-shadow 0.3s ease;
}

.nav.scrolled {
  box-shadow: 0 1px 20px rgba(11, 29, 58, 0.08);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  color: #0B1D3A;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.nav-logo:hover {
  opacity: 0.7;
}

.nav-logo-icon {
  color: #2DD4A8;
}

.nav-divider {
  color: #2DD4A8;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-menu a {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: #0B1D3A;
  position: relative;
  transition: color 0.3s ease;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: #2DD4A8;
  transition: width 0.3s ease;
}

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

.nav-menu a:hover {
  color: #2DD4A8;
}

.nav-cta {
  font-size: 13px !important;
  padding: 10px 24px;
  border: 1px solid #0B1D3A;
  border-radius: 2px;
  transition: all 0.3s ease !important;
}

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

.nav-cta:hover {
  background: #0B1D3A;
  color: #FAFBFC !important;
}

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

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

.nav-toggle-line {
  display: block;
  width: 22px;
  height: 1.5px;
  background: #0B1D3A;
  transition: all 0.3s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
  transform: rotate(45deg) translate(4px, 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(4px, -5px);
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(11, 29, 58, 0.5);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-overlay.active {
  opacity: 1;
}

/* ---- Hero ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  background: #FAFBFC;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 212, 168, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #2DD4A8;
  margin-bottom: 24px;
  font-weight: 400;
}

.hero-headline {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.15;
  margin-bottom: 28px;
  color: #0B1D3A;
}

.hero-headline em {
  font-style: italic;
  color: #2DD4A8;
}

.hero-body {
  font-size: 17px;
  line-height: 1.8;
  color: #3A4F65;
  max-width: 480px;
  margin-bottom: 40px;
}

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

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

.hero-stat-num {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: #0B1D3A;
  line-height: 1;
  margin-bottom: 6px;
}

.hero-stat-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6B7F94;
  font-weight: 400;
}

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

.hero-image {
  position: relative;
}

.hero-img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}

.hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-img-wrap:hover img {
  transform: scale(1.02);
}

.hero-img-accent {
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 120px;
  height: 120px;
  border: 1px solid #2DD4A8;
  border-radius: 2px;
  z-index: -1;
  opacity: 0.5;
}

/* ---- About ---- */
.about {
  padding: 120px 0;
  background: #FAFBFC;
}

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

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

.about-image-col img {
  width: 100%;
  height: 700px;
  object-fit: cover;
  border-radius: 2px;
}

.about-img-border {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 100%;
  height: 100%;
  border: 1px solid #2DD4A8;
  border-radius: 2px;
  z-index: -1;
  opacity: 0.4;
}

.about-text-col p {
  font-size: 16px;
  line-height: 1.8;
  color: #3A4F65;
  margin-bottom: 20px;
}

.about-signature {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(11, 29, 58, 0.1);
}

.about-signature-img {
  opacity: 0.6;
}

.about-signature-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-style: italic;
  color: #0B1D3A;
}

/* ---- Services ---- */
.services {
  padding: 120px 0;
  background: #F4F7F9;
}

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

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

.service-card {
  background: #FAFBFC;
  border-radius: 2px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(11, 29, 58, 0.06);
}

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

.service-num {
  font-family: 'Playfair Display', serif;
  font-size: 0.85rem;
  color: #2DD4A8;
  letter-spacing: 0.05em;
  padding: 32px 32px 0;
}

.service-title {
  font-size: 1.5rem;
  margin: 8px 0 12px;
  padding: 0 32px;
}

.service-desc {
  font-size: 15px;
  line-height: 1.7;
  color: #3A4F65;
  padding: 0 32px 24px;
}

.service-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 0;
}

/* ---- Areas ---- */
.areas {
  padding: 120px 0;
  background: #FAFBFC;
}

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

.areas-text p {
  font-size: 16px;
  line-height: 1.8;
  color: #3A4F65;
  margin-bottom: 32px;
}

.areas-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 32px;
  margin-bottom: 40px;
}

.areas-list li {
  font-size: 15px;
  color: #0B1D3A;
  display: flex;
  align-items: center;
  gap: 10px;
}

.areas-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2DD4A8;
  flex-shrink: 0;
}

.areas-visual {
  position: relative;
}

.areas-visual img {
  width: 100%;
  height: 680px;
  object-fit: cover;
  border-radius: 2px;
}

.areas-map-pin {
  position: absolute;
  bottom: 24px;
  left: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #FAFBFC;
  padding: 12px 20px;
  border-radius: 2px;
  font-size: 13px;
  font-weight: 500;
  color: #0B1D3A;
  box-shadow: 0 4px 16px rgba(11, 29, 58, 0.12);
}

.areas-map-pin svg {
  color: #2DD4A8;
}

/* ---- Testimonials ---- */
.testimonials {
  padding: 120px 0;
  background: #0B1D3A;
}

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

.testimonials-header .section-eyebrow {
  color: #2DD4A8;
}

.testimonials-header .section-title {
  color: #FAFBFC;
}

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

.testimonial-card {
  padding: 40px 32px;
  border: 1px solid rgba(45, 212, 168, 0.2);
  border-radius: 2px;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.testimonial-card:hover {
  border-color: #2DD4A8;
  background: rgba(45, 212, 168, 0.04);
}

.testimonial-quote {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.7;
  color: rgba(250, 251, 252, 0.85);
  margin-bottom: 28px;
}

.testimonial-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.testimonial-name {
  font-size: 14px;
  font-weight: 500;
  color: #FAFBFC;
}

.testimonial-detail {
  font-size: 12px;
  color: #2DD4A8;
  letter-spacing: 0.04em;
}

/* ---- CTA Banner ---- */
.cta-banner {
  padding: 100px 0;
  background: linear-gradient(135deg, #0F2744 0%, #0B1D3A 100%);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 212, 168, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

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

.cta-eyebrow {
  color: #2DD4A8 !important;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #FAFBFC;
  margin-bottom: 20px;
}

.cta-body {
  font-size: 17px;
  line-height: 1.8;
  color: rgba(250, 251, 252, 0.7);
  margin-bottom: 40px;
}

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

/* ---- Contact ---- */
.contact {
  padding: 120px 0;
  background: #FAFBFC;
}

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

.contact-intro {
  font-size: 16px;
  line-height: 1.8;
  color: #3A4F65;
  margin-bottom: 40px;
}

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

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

.contact-icon {
  color: #2DD4A8;
  flex-shrink: 0;
  margin-top: 3px;
}

.contact-detail-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6B7F94;
  margin-bottom: 4px;
  font-weight: 400;
}

.contact-detail a {
  font-size: 15px;
  color: #0B1D3A;
  line-height: 1.6;
  transition: color 0.3s ease;
}

.contact-detail a:hover {
  color: #2DD4A8;
}

/* Form */
.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 label {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6B7F94;
  font-weight: 400;
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 300;
  color: #0B1D3A;
  background: #fff;
  border: 1px solid rgba(11, 29, 58, 0.15);
  border-radius: 2px;
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #2DD4A8;
  box-shadow: 0 0 0 3px rgba(45, 212, 168, 0.1);
}

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

.form-group select {
  cursor: pointer;
  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'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%236B7F94' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-note {
  font-size: 12px;
  color: #6B7F94;
  text-align: center;
}

.form-success {
  text-align: center;
  padding: 60px 20px;
  color: #0B1D3A;
}

.form-success svg {
  color: #2DD4A8;
  margin-bottom: 20px;
}

.form-success h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.form-success p {
  font-size: 15px;
  color: #3A4F65;
  line-height: 1.7;
}

/* ---- Footer ---- */
.footer {
  background: #0B1D3A;
  padding: 64px 0 40px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(250, 251, 252, 0.1);
  margin-bottom: 32px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #FAFBFC;
  font-family: 'Playfair Display', serif;
  font-size: 17px;
}

.footer-logo-icon {
  color: #2DD4A8;
}

.footer-links {
  display: flex;
  gap: 32px;
}

.footer-links a {
  font-size: 13px;
  color: rgba(250, 251, 252, 0.6);
  letter-spacing: 0.04em;
  transition: color 0.3s ease;
}

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

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

.footer-bottom p {
  font-size: 13px;
  color: rgba(250, 251, 252, 0.4);
}

.footer-bottom a {
  color: rgba(250, 251, 252, 0.4);
  transition: color 0.3s ease;
}

.footer-bottom a:hover {
  color: #2DD4A8;
}

/* ---- Scroll Animations ---- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .hero-layout,
  .about-layout,
  .areas-layout,
  .contact-layout {
    gap: 48px;
  }

  .hero-img-wrap img,
  .about-image-col img {
    height: 560px;
  }

  .areas-visual img {
    height: 500px;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(250, 251, 252, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .nav-menu.open {
    transform: translateX(0);
  }

  .nav-menu a {
    font-size: 18px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-overlay {
    display: block;
  }

  .hero {
    padding: 100px 0 60px;
    min-height: auto;
  }

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

  .hero-image {
    order: -1;
  }

  .hero-img-wrap img {
    height: 400px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    text-align: center;
  }

  .hero-stats {
    gap: 20px;
  }

  .hero-stat-num {
    font-size: 1.5rem;
  }

  .about,
  .services,
  .areas,
  .testimonials,
  .contact {
    padding: 80px 0;
  }

  .about-layout,
  .areas-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-image-col {
    order: -1;
  }

  .about-image-col img {
    height: 400px;
  }

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

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

  .areas-visual img {
    height: 400px;
  }

  .areas-list {
    grid-template-columns: 1fr;
  }

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

  .footer-top {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

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

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

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

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

  .hero-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .hero-stat-divider {
    display: none;
  }

  .cta-actions {
    flex-direction: column;
  }

  .cta-actions .btn {
    width: 100%;
    text-align: center;
  }
}
