/* ===================================
   AJ STAGG — ajstagg.com
   Brand Colors (Stagg Real Estate):
     Dark Navy:   #1B2A4A  (primary)
     Medium Blue: #2E6CB5  (accent)
     Warm Gray:   #8C8880  (secondary text)
     Light:       #F4F1EB  (warm off-white)
   Fonts: Montserrat (Bold / Regular)
   ================================= */

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

:root {
  --navy:   #1B2A4A;
  --blue:   #2E6CB5;
  --gray:   #8C8880;
  --light:  #F4F1EB;
  --white:  #FFFFFF;
  --text:   #1A1A1A;
  --muted:  #6B7280;
  --border: #E5E0D8;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(27, 42, 74, 0.10);
  --shadow-lg: 0 12px 40px rgba(27, 42, 74, 0.18);
  --font: 'Montserrat', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); background: var(--white); line-height: 1.6; }

/* ========== UTILS ========== */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.btn {
  display: inline-block; padding: 14px 28px; border-radius: 8px;
  font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: all .2s ease; white-space: nowrap;
  font-family: var(--font); letter-spacing: .02em;
}
.btn-primary { background: var(--blue); color: var(--white); border-color: var(--blue); }
.btn-primary:hover { background: #255c9e; border-color: #255c9e; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.6); }
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: var(--white); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-full { width: 100%; text-align: center; }

.section-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 12px;
}
.section-header { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-header h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; line-height: 1.2; margin-bottom: 16px; color: var(--navy); }
.section-sub { color: var(--muted); font-size: 17px; }
.section-header--light h2 { color: var(--white); }
.section-header--light .section-sub { color: rgba(255,255,255,.70); }
.section-header--light .section-eyebrow { color: #7aaee8; }

/* ========== NAV ========== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(27, 42, 74, 0.97); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(46, 108, 181, 0.25);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; }
.nav-logo { display: flex; align-items: center; gap: 0; text-decoration: none; }
.nav-logo-img { height: 40px; width: auto; mix-blend-mode: screen; filter: brightness(1.1); }
.nav-links { display: flex; list-style: none; gap: 32px; align-items: center; }
.nav-links a { text-decoration: none; color: rgba(255,255,255,.80); font-size: 13px; font-weight: 600; letter-spacing: .04em; transition: color .2s; }
.nav-links a:hover { color: var(--white); }
.nav-cta { background: var(--blue) !important; color: var(--white) !important; padding: 9px 22px; border-radius: 6px; font-weight: 700 !important; }
.nav-cta:hover { background: #255c9e !important; }
.nav-hamburger { display: none; background: none; border: none; color: var(--white); font-size: 22px; cursor: pointer; }

/* ========== HERO ========== */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden; background: var(--navy);
  padding-top: 80px;
}
.hero-bg {
  position: absolute; inset: 0;
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(27,42,74,.95) 0%, rgba(27,42,74,.75) 50%, rgba(27,42,74,.35) 100%);
  z-index: 1;
}
.hero-photo-placeholder {
  position: absolute; right: 0; top: 0; bottom: 0; width: 52%;
  background: linear-gradient(135deg, #243d6b 0%, #1b2a4a 100%);
}
.hero-photo-placeholder::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='%232e6cb5' fill-opacity='0.08'%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: 2;
  max-width: 580px;
}
.hero-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #7aaee8; margin-bottom: 20px; }
.hero-headline {
  font-size: clamp(52px, 7.5vw, 84px); font-weight: 800;
  line-height: 1.0; color: var(--white); margin-bottom: 24px; letter-spacing: -.02em;
}
.hero-sub { font-size: 18px; color: rgba(255,255,255,.78); max-width: 480px; margin-bottom: 40px; line-height: 1.7; font-weight: 400; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-scroll-hint {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.3); font-size: 22px; animation: bounce 2s infinite;
  z-index: 2;
}
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(8px)} }

/* ========== SERVICES ========== */
.services { padding: 96px 0; background: var(--light); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.service-card {
  background: var(--white); border-radius: var(--radius); padding: 36px 28px;
  box-shadow: var(--shadow); border: 1px solid var(--border);
  transition: transform .2s, box-shadow .2s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-icon { font-size: 34px; margin-bottom: 18px; }
.service-card h3 { font-size: 18px; font-weight: 800; margin-bottom: 12px; color: var(--navy); letter-spacing: -.01em; }
.service-card p { color: var(--muted); font-size: 14px; margin-bottom: 20px; line-height: 1.65; }
.service-bullets { list-style: none; }
.service-bullets li { font-size: 13px; color: var(--text); padding: 5px 0; padding-left: 18px; position: relative; }
.service-bullets li::before { content: '→'; position: absolute; left: 0; color: var(--blue); font-weight: 700; }

/* ========== ABOUT ========== */
.about { padding: 96px 0; background: var(--white); }
.about-inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; }
.about-photos { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 12px; }
.about-photo { border-radius: var(--radius); overflow: hidden; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-photo--main { grid-column: 1 / -1; aspect-ratio: 4/3; }
.about-photo--accent { aspect-ratio: 1; }
.photo-placeholder {
  background: linear-gradient(135deg, #dde4ef 0%, #c8d3e5 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--muted); font-size: 13px; text-align: center; padding: 16px; gap: 6px;
}
.about-text h2 { font-size: clamp(26px, 3.5vw, 38px); font-weight: 800; margin-bottom: 20px; color: var(--navy); letter-spacing: -.02em; }
.about-text p { color: #444; font-size: 16px; margin-bottom: 18px; line-height: 1.75; }
.about-text strong { color: var(--navy); }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; padding-top: 32px; border-top: 2px solid var(--border); }
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-num { font-size: 20px; font-weight: 800; color: var(--blue); letter-spacing: -.01em; }
.stat-label { font-size: 11px; color: var(--muted); line-height: 1.4; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }

/* ========== PROJECTS ========== */
.projects { padding: 96px 0; background: var(--navy); }
.projects-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 20px; }
.project-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.10); border-radius: var(--radius); padding: 32px 28px; }
.project-card--featured { border-color: var(--blue); background: rgba(46,108,181,.12); }
.project-tag { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #7aaee8; background: rgba(46,108,181,.2); padding: 4px 12px; border-radius: 100px; margin-bottom: 16px; }
.project-card h3 { font-size: 17px; font-weight: 700; color: var(--white); margin-bottom: 12px; letter-spacing: -.01em; }
.project-card p { color: rgba(255,255,255,.65); font-size: 14px; line-height: 1.65; margin-bottom: 16px; }
.project-details { margin-bottom: 16px; display: flex; flex-direction: column; gap: 8px; }
.project-detail { display: flex; gap: 12px; font-size: 14px; }
.detail-label { color: #7aaee8; font-weight: 700; min-width: 96px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.project-detail span:last-child { color: rgba(255,255,255,.8); }
.project-note { font-size: 13px !important; color: rgba(255,255,255,.45) !important; font-style: italic; }
.project-note a { color: #7aaee8; }

/* ========== INSTAGRAM ========== */
.instagram { padding: 80px 0; background: var(--light); text-align: center; }
.instagram-feed { }
.instagram-placeholder {
  background: var(--white); border: 2px dashed var(--border); border-radius: var(--radius);
  padding: 60px 40px; color: var(--muted); display: flex; flex-direction: column;
  align-items: center; gap: 12px;
}
.instagram-placeholder p { font-size: 16px; }
.instagram-sub { font-size: 13px; color: #aaa; }

/* ========== CONTACT ========== */
.contact { padding: 96px 0; background: var(--white); }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.contact-text h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; margin-bottom: 20px; color: var(--navy); letter-spacing: -.02em; }
.contact-text p { color: var(--muted); font-size: 16px; margin-bottom: 32px; line-height: 1.7; }
.contact-methods { display: flex; flex-direction: column; gap: 14px; }
.contact-method { display: flex; align-items: center; gap: 16px; text-decoration: none; color: var(--text); padding: 16px; border-radius: 10px; border: 1.5px solid var(--border); transition: border-color .2s, box-shadow .2s; }
.contact-method:hover { border-color: var(--blue); box-shadow: 0 2px 16px rgba(46,108,181,.15); }
.contact-icon { font-size: 22px; flex-shrink: 0; }
.contact-label { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .10em; color: var(--muted); }
.contact-value { display: block; font-size: 15px; font-weight: 700; color: var(--navy); }
.contact-form { background: var(--light); border-radius: var(--radius); padding: 40px 36px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 12px; font-weight: 700; color: var(--navy); margin-bottom: 8px; text-transform: uppercase; letter-spacing: .08em; }
.form-group input, .form-group textarea {
  width: 100%; padding: 12px 16px; border: 1.5px solid var(--border);
  border-radius: 8px; font-size: 15px; font-family: var(--font);
  background: var(--white); color: var(--text); transition: border-color .2s;
  outline: none;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(46,108,181,.1); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 12px; color: var(--muted); text-align: center; margin-top: 12px; }

/* ========== FOOTER ========== */
.footer { background: var(--navy); padding: 44px 0; border-top: 1px solid rgba(46,108,181,.2); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; }
.footer-left { display: flex; align-items: center; gap: 20px; }
.footer-logo { height: 36px; width: auto; mix-blend-mode: screen; filter: brightness(1.1); }
.footer-brand { display: flex; flex-direction: column; gap: 4px; }
.footer-brand-name { color: rgba(255,255,255,.90); font-size: 14px; font-weight: 700; letter-spacing: .02em; }
.footer-brokerage { color: rgba(255,255,255,.45); font-size: 12px; font-weight: 500; }
.footer-legal { color: rgba(255,255,255,.35); font-size: 11px; text-align: right; line-height: 1.6; }

/* ========== MOBILE NAV ========== */
.mobile-nav {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: var(--navy); z-index: 200; flex-direction: column;
  align-items: center; justify-content: center; gap: 32px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a { font-size: 22px; font-weight: 700; color: var(--white); text-decoration: none; }
.mobile-nav a:hover { color: #7aaee8; }
.mobile-nav-close { position: absolute; top: 20px; right: 24px; background: none; border: none; color: var(--white); font-size: 28px; cursor: pointer; }

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .about-photos { order: -1; }
  .projects-grid { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .about-stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .nav-links { display: none; }
  .nav-hamburger { display: block; }
  .hero-photo-placeholder { display: none; }
  .hero-content { max-width: 100%; }
  .hero-actions { flex-direction: column; }
  .services-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-legal { text-align: left; }
  .about-stats { grid-template-columns: 1fr 1fr; }
}
