/* ============================================================
   NABORHOOD — Global Styles
   yournaborhoodagent.com
   ============================================================ */

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

:root {
  --white:      #FFFFFF;
  --navy:       #1C2B3A;
  --rose:       #C4837A;
  --lavender:   #9B8FAE;
  --blue:       #8AAFC4;
  --offwhite:   #F7F5F3;
  --gray:       #6B7280;
  --light-gray: #E5E7EB;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-bodoni: 'Bodoni Moda', Georgia, serif;
  --font-sans:  'Inter', 'Helvetica Neue', Arial, sans-serif;
  --radius:     4px;
  --shadow:     0 4px 24px rgba(28,43,58,.08);
  --transition: .35s ease;
  --nav-h:      72px;
}

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

body {
  font-family: var(--font-sans);
  color: var(--navy);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  line-height: 1.2;
  font-weight: 700;
  color: var(--navy);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1rem; color: var(--gray); }
p:last-child { margin-bottom: 0; }

/* ---------- Utility ---------- */
.container        { width: 90%; max-width: 1180px; margin: 0 auto; }
.section-pad      { padding: 90px 0; }
.section-pad-sm   { padding: 60px 0; }
.bg-off           { background: var(--offwhite); }
.text-center      { text-align: center; }
.eyebrow {
  font-family: var(--font-sans);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: .75rem;
  display: block;
}
.section-intro {
  max-width: 620px;
  margin: 0 auto 3rem;
}
.divider {
  width: 48px; height: 2px;
  background: var(--rose);
  margin: 1rem auto 2rem;
}
.divider-left {
  width: 48px; height: 2px;
  background: var(--rose);
  margin: 1rem 0 2rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: .85rem 2rem;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .04em;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--rose);
  color: var(--white);
  border-color: var(--rose);
}
.btn-primary:hover {
  background: #b5726a;
  border-color: #b5726a;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(196,131,122,.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
  transform: translateY(-2px);
}
.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover {
  background: #243548;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(28,43,58,.25);
}

/* ---------- Navigation ---------- */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background var(--transition), box-shadow var(--transition);
}
.site-nav.scrolled {
  background: var(--white);
  box-shadow: 0 2px 16px rgba(28,43,58,.08);
}
.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.nav-logo {
  font-family: var(--font-bodoni);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  transition: color var(--transition);
  letter-spacing: .01em;
}
.site-nav.scrolled .nav-logo { color: var(--navy); }

.nav-logo-footer {
  font-family: var(--font-bodoni);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-size: .875rem;
  font-weight: 500;
  color: rgba(255,255,255,.9);
  transition: color var(--transition);
  letter-spacing: .02em;
}
.site-nav.scrolled .nav-links a { color: var(--navy); }
.nav-links a:hover { color: var(--rose); }
.nav-links a.active { color: var(--rose); }
.nav-cta {
  background: var(--rose) !important;
  color: var(--white) !important;
  padding: .55rem 1.25rem;
  border-radius: var(--radius);
}
.nav-cta:hover { background: #b5726a !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  transition: var(--transition);
}
.site-nav.scrolled .hamburger span { background: var(--navy); }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(28,43,58,.1);
  z-index: 999;
  padding: 1.5rem 0;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  padding: .85rem 5%;
  font-size: 1rem;
  font-weight: 500;
  color: var(--navy);
  border-bottom: 1px solid var(--light-gray);
  transition: color var(--transition);
}
.mobile-menu a:hover { color: var(--rose); }
.mobile-menu a:last-child { border-bottom: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  will-change: transform;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(28,43,58,.55) 0%, rgba(28,43,58,.35) 60%, rgba(28,43,58,.55) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
  padding: 0 1rem;
  max-width: 780px;
}
.hero-content h1 {
  color: var(--white);
  margin-bottom: 1rem;
  text-shadow: 0 2px 16px rgba(0,0,0,.3);
}
.hero-content p {
  color: rgba(255,255,255,.88);
  font-size: 1.125rem;
  margin-bottom: 2rem;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}
.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  color: rgba(255,255,255,.7);
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}
.hero-scroll svg { width: 20px; height: 20px; }
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(6px); }
}

/* Page hero (inner pages) */
.page-hero {
  position: relative;
  height: 50vh;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: var(--nav-h);
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.page-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(28,43,58,.5);
}
.page-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
  padding: 0 1rem;
}
.page-hero-content h1 { color: var(--white); margin-bottom: .75rem; }
.page-hero-content p  { color: rgba(255,255,255,.85); font-size: 1.1rem; }

/* ---------- Fade-in on scroll ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-delay-1 { transition-delay: .1s; }
.fade-in-delay-2 { transition-delay: .2s; }
.fade-in-delay-3 { transition-delay: .3s; }

/* ---------- Value Props (Home) ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}
.value-card {
  text-align: center;
  padding: 2.5rem 2rem;
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(28,43,58,.12);
}
.value-icon {
  width: 64px; height: 64px;
  margin: 0 auto 1.5rem;
  background: var(--offwhite);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.value-icon svg { width: 28px; height: 28px; stroke: var(--rose); fill: none; stroke-width: 1.5; }
.value-card h3 { margin-bottom: .75rem; }

/* ---------- Market Section ---------- */
.market-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.market-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.5rem;
}
.tag {
  background: var(--offwhite);
  color: var(--navy);
  padding: .4rem 1rem;
  border-radius: 100px;
  font-size: .85rem;
  font-weight: 500;
  border: 1px solid var(--light-gray);
  transition: var(--transition);
}
.tag:hover { background: var(--rose); color: var(--white); border-color: var(--rose); }
.market-img {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.market-img img { width: 100%; height: 480px; object-fit: cover; }

/* ---------- Lifestyle Duo ---------- */
.lifestyle-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.lifestyle-duo img {
  width: 100%; height: 440px;
  object-fit: cover;
  border-radius: 8px;
}

/* ---------- Blog Cards ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.blog-card {
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(28,43,58,.12);
}
.blog-card-img {
  width: 100%; height: 200px;
  object-fit: cover;
}
.blog-card-body { padding: 1.5rem; }
.blog-card-cat {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: .5rem;
  display: block;
}
.blog-card h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.blog-card p  { font-size: .9rem; margin-bottom: 1rem; }
.blog-card-meta {
  font-size: .8rem;
  color: var(--gray);
  margin-bottom: 1rem;
}
.read-more {
  font-size: .85rem;
  font-weight: 600;
  color: var(--rose);
  transition: color var(--transition);
}
.read-more:hover { color: #b5726a; }

/* ---------- Steps ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  counter-reset: step;
}
.step-card {
  text-align: center;
  padding: 2rem 1.5rem;
  position: relative;
}
.step-number {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--rose);
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}
.step-card h3 { font-size: 1.05rem; margin-bottom: .5rem; }
.steps-connector {
  display: none;
}

/* ---------- About Layout ---------- */
.about-hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-headshot {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.about-headshot img {
  width: 100%; height: 560px;
  object-fit: cover;
}
.about-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 4rem;
}
.about-duo img {
  width: 100%; height: 340px;
  object-fit: cover;
  border-radius: 8px;
}

/* ---------- HubSpot Form Wrapper ---------- */
.form-section {
  background: var(--offwhite);
  padding: 80px 0;
}
.form-wrapper {
  max-width: 680px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 3rem;
}
.form-wrapper h2 { margin-bottom: .5rem; }
.form-wrapper p  { margin-bottom: 2rem; }

/* ---------- Contact Page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
  align-items: start;
}
.contact-info h2 { margin-bottom: 1rem; }
.contact-detail {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}
.contact-detail svg { width: 22px; height: 22px; stroke: var(--rose); flex-shrink: 0; margin-top: 2px; }
.contact-detail strong { display: block; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--rose); margin-bottom: .2rem; }

/* ---------- Blog Single ---------- */
.blog-single-hero {
  margin-top: var(--nav-h);
  height: 420px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.blog-single-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(28,43,58,.4);
}
.blog-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 4rem 1rem;
}
.blog-body h2 { margin: 2rem 0 .75rem; font-size: 1.5rem; }
.blog-body h3 { margin: 1.5rem 0 .5rem; font-size: 1.2rem; }
.blog-body p  { margin-bottom: 1.25rem; color: var(--navy); line-height: 1.8; }
.blog-body ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
  color: var(--navy);
}
.blog-body ul li { margin-bottom: .4rem; }
.blog-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--offwhite);
  border-radius: 8px;
  margin-top: 3rem;
}
.blog-author img {
  width: 60px; height: 60px;
  border-radius: 50%;
  object-fit: cover;
}
.share-btns {
  display: flex;
  gap: .75rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .5rem 1rem;
  border-radius: var(--radius);
  font-size: .8rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}
.share-btn.fb  { background: #1877F2; color: #fff; }
.share-btn.tw  { background: #1DA1F2; color: #fff; }
.share-btn.wa  { background: #25D366; color: #fff; }
.share-btn.cp  { background: var(--navy); color: #fff; }
.share-btn:hover { opacity: .88; transform: translateY(-1px); }

/* ---------- TREC Bar ---------- */
.trec-bar {
  background: var(--offwhite);
  border-top: 1px solid var(--light-gray);
  padding: .85rem 0;
  text-align: center;
  font-size: .8rem;
}
.trec-bar a {
  color: var(--navy);
  text-decoration: underline;
  margin: 0 .75rem;
  font-size: 10pt;
  transition: color var(--transition);
}
.trec-bar a:hover { color: var(--rose); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.7);
  padding: 3rem 0 2rem;
  font-size: .85rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}
.footer-brand .nav-logo-footer {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--white);
  display: block;
  margin-bottom: .75rem;
}
.footer-brand p { color: rgba(255,255,255,.6); font-size: .85rem; }
.footer-col h4 {
  font-family: var(--font-sans);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-bottom: 1rem;
}
.footer-col a {
  display: block;
  color: rgba(255,255,255,.7);
  margin-bottom: .5rem;
  transition: color var(--transition);
  font-size: .85rem;
}
.footer-col a:hover { color: var(--rose); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.5rem;
  font-size: .78rem;
  color: rgba(255,255,255,.45);
  text-align: center;
  line-height: 1.8;
}
.footer-bottom a {
  color: rgba(255,255,255,.55);
  text-decoration: underline;
  transition: color var(--transition);
}
.footer-bottom a:hover { color: var(--rose); }
.social-links {
  display: flex;
  gap: .75rem;
  margin-top: .75rem;
}
.social-links a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.7);
  transition: var(--transition);
}
.social-links a:hover {
  background: var(--rose);
  border-color: var(--rose);
  color: var(--white);
}
.social-links svg { width: 16px; height: 16px; }

/* ---------- Blog Page Filters ---------- */
.blog-filters {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  justify-content: center;
}
.filter-btn {
  padding: .45rem 1.1rem;
  border-radius: 100px;
  border: 1px solid var(--light-gray);
  background: var(--white);
  color: var(--navy);
  font-size: .85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--rose);
  color: var(--white);
  border-color: var(--rose);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .values-grid    { grid-template-columns: 1fr 1fr; }
  .steps-grid     { grid-template-columns: repeat(2, 1fr); }
  .blog-grid      { grid-template-columns: 1fr 1fr; }
  .footer-inner   { grid-template-columns: 1fr 1fr; }
  .market-section { grid-template-columns: 1fr; }
  .market-img img { height: 340px; }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .nav-links  { display: none; }
  .hamburger  { display: flex; }
  .values-grid { grid-template-columns: 1fr; }
  .steps-grid  { grid-template-columns: 1fr 1fr; }
  .blog-grid   { grid-template-columns: 1fr; }
  .lifestyle-duo { grid-template-columns: 1fr; }
  .lifestyle-duo img { height: 300px; }
  .about-hero-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-headshot img { height: 400px; }
  .about-duo  { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .form-wrapper { padding: 2rem 1.25rem; }
  .hero-btns  { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .steps-grid { grid-template-columns: 1fr; }
}
