/* =============================================
   Nexus Property Solutions
   Palette: Stone Cream #F5F0E8 | Heritage Teal #3E9E9A | Deep Ridge #1C2B3A
   Fonts:   DM Serif Display | Manrope | Cinzel
   ============================================= */

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

:root {
  --teal:        #3E9E9A;
  --teal-dark:   #2e7a76;
  --teal-mid:    #4db3af;
  --teal-light:  #e4f4f3;
  --cream:       #F5F0E8;
  --cream-dark:  #ece5d8;
  --cream-mid:   #faf7f2;
  --navy:        #1C2B3A;
  --navy-mid:    #243547;
  --ink:         #2A3540;
  --muted:       #6B7B8A;
  --slate:       #B0A090;
  --border:      #ddd5c8;
  --border-light:#ede8e0;
  --white:       #ffffff;
  --radius:      6px;
  --radius-lg:   12px;
  --shadow:      0 2px 16px rgba(28,43,58,0.09);
  --shadow-lg:   0 8px 40px rgba(28,43,58,0.14);
}

body {
  font-family: 'Manrope', sans-serif;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
  background: var(--cream-mid);
}

h1, h2, h3, h4 {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  line-height: 1.2;
  color: var(--navy);
}

a { color: var(--teal-dark); text-decoration: none; }
a:hover { color: var(--teal); text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

/* ---- Layout ---- */
.container        { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
.container-narrow { max-width: 780px; }
.text-center      { text-align: center; }
.bg-cream         { background: var(--cream); }
.bg-white         { background: var(--white); }

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: var(--radius);
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.3px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.18s ease;
  text-decoration: none;
}
.btn-primary {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}
.btn-primary:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  color: var(--white);
  text-decoration: none;
}
.btn-secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-secondary:hover {
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
}
.btn-cream {
  background: var(--cream);
  color: var(--navy);
  border-color: var(--cream);
}
.btn-cream:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--navy);
  text-decoration: none;
}
.btn-outline-teal {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}
.btn-outline-teal:hover {
  background: var(--teal);
  color: var(--white);
  text-decoration: none;
}
.btn-lg   { padding: 17px 38px; font-size: 17px; }
.btn-full { width: 100%; text-align: center; display: block; }

/* ---- Nav ---- */
.nav {
  background: #b0a090;
  border-bottom: none;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(28,43,58,0.15);
}
.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-logo img { height: 40px; width: auto; display: block; }
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--navy);
  text-decoration: none;
}
.nav-links a:hover { color: var(--white); text-decoration: none; }
.nav-cta {
  background: var(--teal) !important;
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: var(--radius);
}
.nav-cta:hover { background: var(--teal-dark) !important; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: var(--navy);
}

/* ---- Hero ---- */
.hero {
  background: var(--teal);
  background: linear-gradient(135deg, #2e7a76 0%, #3E9E9A 50%, #4db3af 100%);
  color: var(--white);
  padding: 96px 28px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 6px;
  background: var(--cream);
}
.hero-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 64px;
  align-items: center;
  position: relative;
}
.hero h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(36px, 4.5vw, 58px);
  font-weight: 400;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 22px;
}
.hero h1 em {
  font-style: normal;
  color: var(--cream);
}
.hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.88);
  margin-bottom: 32px;
  line-height: 1.65;
  max-width: 500px;
}
.hero-trust {
  list-style: none;
  margin-bottom: 40px;
}
.hero-trust li {
  padding: 7px 0;
  font-size: 15px;
  color: rgba(255,255,255,0.9);
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-trust li::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: rgba(255,255,255,0.25);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ---- Lead Form ---- */
.lead-form-wrap {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg);
  border-top: 4px solid var(--navy);
}
.form-title {
  font-family: 'DM Serif Display', serif;
  color: var(--navy);
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 6px;
}
.form-sub {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 22px;
  line-height: 1.5;
}
.form-group { margin-bottom: 15px; }
.form-group label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.7px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: 'Manrope', sans-serif;
  color: var(--ink);
  background: var(--white);
  transition: border-color 0.18s;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--teal);
}
.form-disclaimer {
  font-size: 11px;
  color: var(--muted);
  margin-top: 12px;
  text-align: center;
  line-height: 1.5;
}

/* ---- Section Labels ---- */
.section-label {
  display: block;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 10px;
  font-family: 'Cinzel', serif;
}

/* ---- Section Shared ---- */
.section-how,
.section-situations,
.section-blog { padding: 96px 0; }

.section-how    { background: var(--white); }
.section-situations { background: var(--cream); }
.section-blog   { background: var(--cream-mid); }

.section-sub {
  text-align: center;
  color: var(--muted);
  font-size: 17px;
  margin-bottom: 56px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
}

/* ---- CTA Band ---- */
.section-cta {
  background: var(--navy);
  padding: 88px 0;
}
.section-cta h2 {
  color: var(--white);
  font-size: clamp(28px, 3.5vw, 44px);
  text-align: center;
  margin-bottom: 14px;
}
.section-cta p {
  color: rgba(255,255,255,0.65);
  font-size: 17px;
  margin-bottom: 36px;
  text-align: center;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ---- Steps ---- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 52px;
}
.step {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 44px 32px;
  text-align: center;
  border-bottom: 3px solid var(--teal);
  position: relative;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--teal);
  color: var(--white);
  border-radius: 50%;
  font-family: 'DM Serif Display', serif;
  font-size: 26px;
  margin-bottom: 20px;
}
.step h3 { font-size: 20px; margin-bottom: 12px; color: var(--navy); }
.step p  { color: var(--muted); font-size: 15px; line-height: 1.65; }

/* ---- Situations ---- */
.situations-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 44px;
}
.situation-item {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 14px;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.18s;
  cursor: pointer;
}
.situation-item:hover {
  border-color: var(--teal);
  background: var(--teal-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.situation-item a {
  color: var(--ink);
  text-decoration: none;
  display: block;
}
.situation-item:hover a { color: var(--teal-dark); }

/* ---- Post / Blog Cards ---- */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 44px;
}
.post-card {
  background: var(--white);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: box-shadow 0.18s, border-color 0.18s, transform 0.18s;
}
.post-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--teal);
  transform: translateY(-2px);
}
.post-date {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 600;
}
.post-card h2 {
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 12px;
  line-height: 1.3;
  color: var(--navy);
}
.post-card h2 a { color: var(--navy); }
.post-card h2 a:hover { color: var(--teal-dark); text-decoration: none; }
.post-card p  { color: var(--muted); font-size: 14px; margin-bottom: 18px; line-height: 1.65; }
.read-more    { font-size: 13px; font-weight: 700; color: var(--teal-dark); }
.read-more:hover { color: var(--teal); }

.cta-center { text-align: center; margin-top: 48px; }

/* ---- Pagination ---- */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--border-light);
}
.pagination-info { font-size: 14px; font-weight: 600; color: var(--muted); }

/* ---- Page Header ---- */
.page-header {
  background: var(--navy);
  padding: 64px 28px;
}
.page-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.page-header-text { flex: 1; min-width: 0; }
.page-header h1 {
  font-size: clamp(28px, 3.5vw, 48px);
  color: var(--white);
  margin-bottom: 12px;
}
.page-header .post-meta {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
  color: var(--teal-mid);
  margin-bottom: 14px;
  font-family: 'Cinzel', serif;
  display: block;
}
.page-header .page-desc { font-size: 16px; color: rgba(255,255,255,0.65); }

/* ---- Animated Icon ---- */
.icon-in-header {
  width: 100px;
  height: auto;
  flex-shrink: 0;
  opacity: 0.9;
}
@media (max-width: 640px) {
  .page-header-inner { flex-direction: column; align-items: flex-start; gap: 24px; }
  .icon-in-header { width: 72px; align-self: flex-end; margin-top: -24px; }
}

/* ---- Page Body ---- */
.page-body { padding: 64px 28px; background: var(--cream-mid); }
.page-body h2 { font-size: 28px; margin: 40px 0 14px; color: var(--navy); }
.page-body h3 { font-size: 22px; margin: 30px 0 10px; color: var(--navy); }
.page-body p  { margin-bottom: 20px; color: var(--ink); line-height: 1.75; }
.page-body ul, .page-body ol { margin: 0 0 20px 26px; }
.page-body li { margin-bottom: 10px; line-height: 1.65; }
.page-body blockquote {
  border-left: 4px solid var(--teal);
  padding: 18px 28px;
  background: var(--teal-light);
  margin: 28px 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--navy);
}
.page-body hr    { border: none; border-top: 1px solid var(--border); margin: 40px 0; }
.page-body strong { color: var(--navy); }
.page-body a     { color: var(--teal-dark); font-weight: 500; }
.page-body a:hover { color: var(--teal); }

/* ---- Page CTA Box ---- */
.page-cta-box {
  background: var(--teal);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  margin-top: 56px;
}
.page-cta-box h3  { font-size: 28px; color: var(--white); margin-bottom: 12px; }
.page-cta-box p   { color: rgba(255,255,255,0.8); margin-bottom: 26px; }

/* ---- Blog with Sidebar ---- */
.blog-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 56px;
  align-items: start;
}
.blog-content { min-width: 0; }
.blog-sidebar { position: sticky; top: 92px; }

.sidebar-links {
  margin-top: 24px;
  background: var(--cream);
  border-radius: var(--radius);
  padding: 26px;
  border-left: 3px solid var(--teal);
}
.sidebar-links h4 {
  font-family: 'DM Serif Display', serif;
  font-size: 17px;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 16px;
}
.sidebar-links ul  { list-style: none; }
.sidebar-links li  { margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--border-light); }
.sidebar-links li:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.sidebar-links a   { font-size: 14px; font-weight: 600; color: var(--ink); }
.sidebar-links a:hover { color: var(--teal-dark); }

/* ---- Footer ---- */
.footer { background: var(--navy); color: rgba(255,255,255,0.72); padding: 80px 28px 0; }
.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 64px;
}
.footer-logo {
  height: 34px;
  width: auto;
  margin-bottom: 18px;
  opacity: 0.85;
  filter: brightness(0) invert(1);
}
.footer-brand p { font-size: 14px; line-height: 1.75; color: rgba(255,255,255,0.55); max-width: 280px; }

.footer-heading {
  font-family: 'Cinzel', serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--teal-mid);
  margin-bottom: 20px;
  display: block;
}
.footer-links ul  { list-style: none; }
.footer-links li  { margin-bottom: 10px; }
.footer-links a   { color: rgba(255,255,255,0.6); font-size: 14px; }
.footer-links a:hover { color: var(--cream); text-decoration: none; }
.footer-cta p     { font-size: 14px; color: rgba(255,255,255,0.55); margin-bottom: 20px; line-height: 1.65; }
.footer-email     { display: block; margin-top: 16px; color: var(--teal-mid); font-size: 13px; font-weight: 600; }
.footer-email:hover { color: var(--cream); text-decoration: none; }

.footer-divider   { border: none; border-top: 1px solid rgba(245,240,232,0.1); max-width: 1160px; margin: 0 auto; }
.footer-bottom    { max-width: 1160px; margin: 0 auto; text-align: center; padding: 22px 0; font-size: 12px; color: rgba(255,255,255,0.28); letter-spacing: 0.3px; }

/* ---- Offer Page ---- */
.offer-hero {
  background: var(--navy);
  padding: 80px 28px;
}
.offer-hero-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 64px;
  align-items: start;
}
.offer-copy h1 {
  font-size: clamp(32px, 4vw, 52px);
  color: var(--white);
  margin-bottom: 16px;
}
.offer-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.78);
  margin-bottom: 32px;
  line-height: 1.65;
}
.offer-checklist {
  list-style: none;
  margin: 0;
}
.offer-checklist li {
  padding: 9px 0;
  font-size: 15px;
  color: rgba(255,255,255,0.85);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.offer-checklist li:last-child { border-bottom: none; }
.offer-checklist li::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  min-width: 22px;
  background: var(--teal);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  color: var(--white);
  margin-top: 1px;
}

/* ---- Contact Layout ---- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 56px;
  align-items: start;
}
.contact-content h2 { margin-top: 0; }
.contact-form-col { position: sticky; top: 92px; }
.contact-direct {
  margin-top: 20px;
  text-align: center;
}
.contact-direct-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  margin-bottom: 8px;
}
.contact-email-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--teal-dark);
}

/* ---- Trust Bar ---- */
.trust-bar {
  background: var(--cream);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 28px;
}
.trust-bar-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}
.trust-item-icon {
  font-size: 20px;
}
.trust-item-stars {
  color: #f5a623;
  font-size: 15px;
  letter-spacing: 1px;
}

/* ---- Locations Band ---- */
.section-locations {
  background: var(--navy);
  padding: 64px 0;
}
.section-locations h2 { color: var(--white); text-align: center; margin-bottom: 8px; }
.section-locations .section-sub { color: rgba(255,255,255,0.6); }
.locations-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 40px;
}
.location-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 24px 18px;
  text-align: center;
  transition: all 0.18s;
}
.location-card:hover {
  background: rgba(62,158,154,0.15);
  border-color: var(--teal);
}
.location-card a {
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  display: block;
}
.location-card:hover a { color: var(--white); }
.location-card-sub {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  margin-top: 4px;
}

/* ---- Breadcrumb ---- */
.breadcrumb {
  background: var(--cream);
  border-bottom: 1px solid var(--border-light);
  padding: 12px 28px;
  font-size: 13px;
  color: var(--muted);
}
.breadcrumb-inner { max-width: 1160px; margin: 0 auto; }
.breadcrumb a { color: var(--muted); font-weight: 500; }
.breadcrumb a:hover { color: var(--teal-dark); text-decoration: none; }
.breadcrumb span { margin: 0 6px; color: var(--border); }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 960px) {
  .offer-hero-inner { grid-template-columns: 1fr; }
  .offer-form       { max-width: 500px; }
  .contact-layout   { grid-template-columns: 1fr; }
  .contact-form-col { position: static; }
  .locations-grid   { grid-template-columns: repeat(2, 1fr); }
  .hero-inner       { grid-template-columns: 1fr; }
  .hero-form        { max-width: 500px; }
  .steps            { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .situations-grid  { grid-template-columns: repeat(2, 1fr); }
  .post-grid        { grid-template-columns: repeat(2, 1fr); }
  .blog-layout      { grid-template-columns: 1fr; }
  .blog-sidebar     { position: static; }
  .footer-inner     { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: #b0a090;
    border-bottom: none;
    padding: 20px 28px;
    gap: 18px;
    box-shadow: var(--shadow);
  }
  .nav-links.open   { display: flex; }
  .nav-toggle       { display: block; }
  .hero             { padding: 60px 28px; }
  .hero h1          { font-size: 36px; }
  .hero-actions     { flex-direction: column; align-items: flex-start; }
  .situations-grid  { grid-template-columns: repeat(2, 1fr); }
  .post-grid        { grid-template-columns: 1fr; }
  .footer-inner     { grid-template-columns: 1fr; gap: 36px; }
  .section-how, .section-blog, .section-situations { padding: 60px 0; }
  .section-cta      { padding: 60px 0; }
  .page-cta-box     { padding: 32px 24px; }
  .lead-form-wrap   { padding: 28px 22px; }
}
