/* ============================================================
   MijnBuurt Theme — Main Stylesheet
   ============================================================ */

/* ── CSS Variables ── */
:root {
  --terracotta: #BA5127;
  --terracotta-light: #E8734A;
  --cream: #FDF6EC;
  --cream-dark: #F5E6D0;
  --forest: #2B4D3F;
  --forest-light: #3D6B57;
  --charcoal: #2A2420;
  --warm-gray: #7A6F66;
  --sage: #A8B99A;
  --sage-light: #D4DFC8;
  --gold: #D4A843;
  --white: #FFFCF7;
  --shadow: rgba(42, 36, 32, 0.08);
  --shadow-md: rgba(42, 36, 32, 0.12);
}

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--charcoal);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Noise texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
}

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

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.15;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}


/* ==============================================================
   NAVIGATION
   ============================================================== */

#site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(253, 246, 236, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(46, 125, 175, 0.08);
  transition: box-shadow 0.4s ease;
}

#site-nav.scrolled {
  box-shadow: 0 4px 24px rgba(42, 36, 32, 0.06);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.nav-logo .custom-logo-link {
  display: flex;
  align-items: center;
}

.nav-logo .custom-logo {
  max-height: 40px;
  width: auto;
}

.nav-logo-icon {
  width: 40px;
  height: 40px;
  background: var(--terracotta);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-weight: 900;
  font-size: 1.1rem;
  transform: rotate(-3deg);
  box-shadow: 0 2px 8px rgba(186, 81, 39, 0.3);
  flex-shrink: 0;
}

.nav-logo-text {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--charcoal);
  letter-spacing: -0.02em;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--warm-gray);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--terracotta);
  border-radius: 1px;
  transition: width 0.3s ease;
}

.nav-links a:hover { color: var(--charcoal); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: var(--forest) !important;
  color: var(--white) !important;
  padding: 0.65rem 1.5rem !important;
  border-radius: 100px !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 2px 12px rgba(43, 77, 63, 0.2);
}

.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: var(--forest-light) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(43, 77, 63, 0.3);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 24px;
  position: relative;
  z-index: 1001;
}

.nav-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  position: absolute;
  left: 0;
  transition: all 0.3s ease;
}

.nav-hamburger span:nth-child(1) { top: 0; }
.nav-hamburger span:nth-child(2) { top: 11px; }
.nav-hamburger span:nth-child(3) { top: 22px; }

.nav-hamburger.active span:nth-child(1) { top: 11px; transform: rotate(45deg); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { top: 11px; transform: rotate(-45deg); }


/* ==============================================================
   HERO
   ============================================================== */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 2.5rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0.5;
}

.hero-bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.hero-bg-blob:nth-child(1) {
  width: 600px; height: 600px;
  background: var(--sage-light);
  top: -10%; right: -5%;
  animation: blobFloat 20s ease-in-out infinite;
}

.hero-bg-blob:nth-child(2) {
  width: 400px; height: 400px;
  background: rgba(212, 168, 67, 0.15);
  bottom: 10%; left: -5%;
  animation: blobFloat 15s ease-in-out infinite reverse;
}

@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 15px) scale(0.95); }
}

.hero-content {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-left {
  animation: slideUp 0.8s ease-out both;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--sage-light);
  color: var(--forest);
  padding: 0.45rem 1rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 2rem;
  animation: slideUp 0.8s ease-out 0.1s both;
}

.hero-badge-dot {
  width: 8px; height: 8px;
  background: var(--forest);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero h1 {
  font-size: clamp(2.8rem, 5.5vw, 4.2rem);
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 1.5rem;
  animation: slideUp 0.8s ease-out 0.15s both;
}

.hero h1 span {
  color: var(--terracotta);
  font-style: italic;
  position: relative;
}

.hero h1 span::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--terracotta);
  opacity: 0.3;
  border-radius: 2px;
}

.hero-description {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--warm-gray);
  max-width: 480px;
  margin-bottom: 2.5rem;
  animation: slideUp 0.8s ease-out 0.25s both;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  animation: slideUp 0.8s ease-out 0.35s both;
}

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--terracotta);
  color: var(--white);
  padding: 1rem 2rem;
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(186, 81, 39, 0.3);
  border: none;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
}

.btn-primary:hover {
  background: var(--terracotta-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(186, 81, 39, 0.35);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--charcoal);
  padding: 1rem 1.5rem;
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid rgba(42, 36, 32, 0.12);
}

.btn-secondary:hover {
  border-color: var(--charcoal);
  transform: translateY(-1px);
}

/* ── Hero Cards ── */
.hero-right {
  position: relative;
  height: 520px;
  animation: slideUp 0.8s ease-out 0.4s both;
}

.hero-card {
  position: absolute;
  background: var(--white);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 8px 40px var(--shadow), 0 1px 3px var(--shadow);
  transition: transform 0.4s ease;
  border: 1px solid rgba(46, 125, 175, 0.06);
}

.hero-card:hover { transform: translateY(-4px) rotate(0deg) !important; }

.hero-card-1 {
  top: 20px; left: 10%;
  width: 280px;
  transform: rotate(-3deg);
  animation: cardFloat1 6s ease-in-out infinite;
  z-index: 3;
}

.hero-card-2 {
  top: 140px; right: 0;
  width: 260px;
  transform: rotate(2deg);
  animation: cardFloat2 7s ease-in-out infinite;
  z-index: 2;
}

.hero-card-3 {
  bottom: 20px; left: 20%;
  width: 270px;
  transform: rotate(-1deg);
  animation: cardFloat3 8s ease-in-out infinite;
  z-index: 1;
}

@keyframes cardFloat1 {
  0%, 100% { transform: rotate(-3deg) translateY(0); }
  50% { transform: rotate(-2deg) translateY(-8px); }
}
@keyframes cardFloat2 {
  0%, 100% { transform: rotate(2deg) translateY(0); }
  50% { transform: rotate(3deg) translateY(-6px); }
}
@keyframes cardFloat3 {
  0%, 100% { transform: rotate(-1deg) translateY(0); }
  50% { transform: rotate(0deg) translateY(-10px); }
}

.hero-card-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.hero-card-1 .hero-card-icon { background: rgba(46, 125, 175, 0.1); }
.hero-card-2 .hero-card-icon { background: rgba(43, 77, 63, 0.1); }
.hero-card-3 .hero-card-icon { background: rgba(212, 168, 67, 0.15); }

.hero-card h4 { font-size: 1rem; margin-bottom: 0.35rem; font-weight: 700; }
.hero-card p { font-size: 0.85rem; color: var(--warm-gray); line-height: 1.5; }

.hero-card-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  font-size: 0.78rem;
  color: var(--warm-gray);
}

.hero-card-avatar {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  flex-shrink: 0;
}


/* ==============================================================
   STATS BAR
   ============================================================== */

.stats-bar {
  background: var(--forest);
  padding: 3rem 2.5rem;
  position: relative;
  overflow: hidden;
}

.stats-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg, transparent, transparent 120px,
    rgba(255,255,255,0.03) 120px, rgba(255,255,255,0.03) 121px
  );
}

.stats-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.stat-item { text-align: center; }

.stat-number {
  font-family: 'DM Sans', sans-serif;
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat-label {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  font-weight: 500;
}


/* ==============================================================
   FEATURES
   ============================================================== */

.features {
  padding: 4rem 2.5rem;
  max-width: 1280px;
  margin: 0 auto;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--terracotta);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.section-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--terracotta);
  border-radius: 1px;
}

.features-header {
  max-width: 640px;
  margin-bottom: 4rem;
}

.features-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.features-header p {
  font-size: 1.1rem;
  color: var(--warm-gray);
  line-height: 1.7;
}

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

.feature-card {
  background: var(--white);
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid rgba(46, 125, 175, 0.06);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  cursor: default;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--terracotta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.feature-card:hover::before { transform: scaleX(1); }

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px var(--shadow-md);
}

.feature-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.feature-card:nth-child(1) .feature-icon { background: rgba(46, 125, 175, 0.08); }
.feature-card:nth-child(2) .feature-icon { background: rgba(43, 77, 63, 0.08); }
.feature-card:nth-child(3) .feature-icon { background: rgba(212, 168, 67, 0.12); }
.feature-card:nth-child(4) .feature-icon { background: rgba(168, 185, 154, 0.25); }
.feature-card:nth-child(5) .feature-icon { background: rgba(46, 125, 175, 0.08); }
.feature-card:nth-child(6) .feature-icon { background: rgba(43, 77, 63, 0.08); }

.feature-card h3 { font-size: 1.15rem; margin-bottom: 0.6rem; font-weight: 700; }
.feature-card p { font-size: 0.92rem; color: var(--warm-gray); line-height: 1.65; }


/* ==============================================================
   HOW IT WORKS
   ============================================================== */

.how-it-works {
  padding: 7rem 2.5rem;
  background: var(--white);
}

.how-it-works-inner { max-width: 1280px; margin: 0 auto; }

.how-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 4rem;
}

.how-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.how-header p {
  font-size: 1.05rem;
  color: var(--warm-gray);
  line-height: 1.7;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 44px;
  left: 16.66%;
  right: 16.66%;
  height: 2px;
  background: linear-gradient(90deg, var(--terracotta), var(--forest));
  opacity: 0.2;
}

.step { text-align: center; position: relative; }

.step-number {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Sans', sans-serif;
  font-size: 1.3rem;
  font-weight: 900;
  margin: 0 auto 1.5rem;
  position: relative;
  z-index: 1;
}

.step:nth-child(1) .step-number {
  background: var(--terracotta);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(186, 81, 39, 0.3);
}
.step:nth-child(2) .step-number {
  background: var(--gold);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(212, 168, 67, 0.3);
}
.step:nth-child(3) .step-number {
  background: var(--forest);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(43, 77, 63, 0.3);
}

.step h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.step p {
  font-size: 0.92rem;
  color: var(--warm-gray);
  line-height: 1.65;
  max-width: 300px;
  margin: 0 auto;
}


/* ==============================================================
   DIFFERENTIATORS
   ============================================================== */

.differentiators {
  padding: 7rem 2.5rem;
  max-width: 1280px;
  margin: 0 auto;
}

.diff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 4rem;
}

.diff-card {
  border-radius: 24px;
  padding: 3rem;
  position: relative;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.diff-card-1 { background: var(--forest); color: var(--white); }

.diff-card-1::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 240px; height: 240px;
  border: 40px solid rgba(255,255,255,0.04);
  border-radius: 50%;
}

.diff-card-1::after {
  content: '';
  position: absolute;
  bottom: -40px; left: -40px;
  width: 180px; height: 180px;
  border: 30px solid rgba(255,255,255,0.03);
  border-radius: 50%;
}

.diff-card-2 {
  background: linear-gradient(135deg, var(--cream-dark), var(--cream));
  border: 1px solid rgba(46, 125, 175, 0.1);
}

.diff-card-2::before {
  content: '';
  position: absolute;
  top: 2rem; right: 2rem;
  width: 120px; height: 120px;
  background: repeating-linear-gradient(
    45deg, transparent, transparent 8px,
    rgba(46, 125, 175, 0.04) 8px, rgba(46, 125, 175, 0.04) 9px
  );
  border-radius: 20px;
}

.diff-card-emoji {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.diff-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
}

.diff-card-1 h3 { color: var(--white); }

.diff-card p {
  font-size: 1rem;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.diff-card-1 p { color: rgba(255,255,255,0.75); }
.diff-card-2 p { color: var(--warm-gray); }


/* ==============================================================
   TESTIMONIAL
   ============================================================== */

.testimonial {
  padding: 7rem 2.5rem;
  background: var(--white);
}

.testimonial-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.testimonial-quote-mark {
  font-family: 'DM Sans', sans-serif;
  font-size: 8rem;
  color: var(--terracotta);
  opacity: 0.12;
  line-height: 0;
  position: absolute;
  top: -1rem;
  left: 50%;
  transform: translateX(-50%);
}

.testimonial blockquote {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  font-weight: 300;
  line-height: 1.65;
  color: var(--charcoal);
  font-style: italic;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.testimonial-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sage-light), var(--sage));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  color: var(--forest);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.testimonial-author-info strong {
  display: block;
  font-size: 1rem;
  color: var(--charcoal);
}

.testimonial-author-info span {
  font-size: 0.85rem;
  color: var(--warm-gray);
}


/* ==============================================================
   CTA
   ============================================================== */

.cta {
  padding: 7rem 2.5rem;
  position: relative;
  overflow: hidden;
}

.cta-inner {
  max-width: 900px;
  margin: 0 auto;
  background: var(--forest);
  border-radius: 32px;
  padding: 5rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(168, 185, 154, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(212, 168, 67, 0.1) 0%, transparent 50%);
}

.cta-inner h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.cta-inner p {
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto 2.5rem;
  position: relative;
  z-index: 1;
}

.cta-form {
  display: flex;
  gap: 0.75rem;
  max-width: 460px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-input {
  flex: 1;
  padding: 1rem 1.5rem;
  border-radius: 100px;
  border: 2px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.08);
  color: var(--white);
  font-size: 1rem;
  font-family: 'DM Sans', sans-serif;
  outline: none;
  transition: all 0.3s ease;
}

.cta-input::placeholder { color: rgba(255,255,255,0.4); }
.cta-input:focus {
  border-color: rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.12);
}

.cta-btn {
  background: var(--terracotta);
  color: var(--white);
  padding: 1rem 2rem;
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: all 0.3s ease;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(46, 125, 175, 0.4);
}

.cta-btn:hover {
  background: var(--terracotta-light);
  transform: translateY(-2px);
}


/* ==============================================================
   FOOTER
   ============================================================== */

footer {
  padding: 4rem 2.5rem 2rem;
  max-width: 1280px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(42, 36, 32, 0.08);
}

.footer-brand p {
  color: var(--warm-gray);
  font-size: 0.9rem;
  line-height: 1.65;
  margin-top: 0.75rem;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--charcoal);
  margin-bottom: 1rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
}

.footer-col a {
  display: block;
  color: var(--warm-gray);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
  transition: color 0.3s ease;
}

.footer-col a:hover { color: var(--terracotta); }

/* WP default menu items in footer */
.footer-col .menu-item a { display: block; }
.footer-col li { list-style: none; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  font-size: 0.82rem;
  color: var(--warm-gray);
}


/* ==============================================================
   BLOG / POSTS
   ============================================================== */

.site-main {
  padding-top: 6rem;
  min-height: 60vh;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
  padding: 2rem 2.5rem 4rem;
  max-width: 1280px;
  margin: 0 auto;
}

.post-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(46, 125, 175, 0.06);
  transition: all 0.4s ease;
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px var(--shadow-md);
}

.post-card-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.post-card-content { padding: 1.5rem; }

.post-card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: var(--warm-gray);
  margin-bottom: 0.75rem;
}

.post-card-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.post-card-title a {
  text-decoration: none;
  color: var(--charcoal);
  transition: color 0.3s ease;
}

.post-card-title a:hover { color: var(--terracotta); }

.post-card-excerpt {
  font-size: 0.92rem;
  color: var(--warm-gray);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.post-card-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--terracotta);
  text-decoration: none;
  transition: gap 0.3s ease;
}

.post-card-link:hover { text-decoration: underline; }

/* ── Single Post ── */
.single-post {
  max-width: 780px;
  padding: 2rem 2.5rem 5rem;
}

.single-post-header {
  margin-bottom: 2.5rem;
}

.single-post-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.single-post-image {
  border-radius: 16px;
  overflow: hidden;
  margin-top: 1.5rem;
}

.single-post-image img {
  width: 100%;
  height: auto;
}

.single-post-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--charcoal);
}

.single-post-content p { margin-bottom: 1.5rem; }
.single-post-content h2 { font-size: 1.6rem; margin: 2.5rem 0 1rem; }
.single-post-content h3 { font-size: 1.3rem; margin: 2rem 0 0.75rem; }
.single-post-content ul,
.single-post-content ol { margin-bottom: 1.5rem; padding-left: 1.5rem; }
.single-post-content li { margin-bottom: 0.5rem; }

.single-post-content a {
  color: var(--terracotta);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.single-post-content a:hover { text-decoration-thickness: 2px; }

.single-post-content img {
  border-radius: 12px;
  margin: 2rem 0;
}

.single-post-content blockquote {
  border-left: 3px solid var(--terracotta);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--warm-gray);
  background: var(--white);
  border-radius: 0 12px 12px 0;
}

.single-post-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(42, 36, 32, 0.08);
}

/* ── Post Navigation ── */
.post-navigation {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}

.post-navigation a {
  text-decoration: none;
  color: var(--charcoal);
  transition: color 0.3s ease;
}

.post-navigation a:hover { color: var(--terracotta); }

.nav-subtitle {
  display: block;
  font-size: 0.82rem;
  color: var(--warm-gray);
  margin-bottom: 0.25rem;
}

.nav-title {
  font-weight: 600;
}

/* ── Pagination ── */
.pagination {
  padding: 2rem 2.5rem;
  text-align: center;
}

.pagination .nav-links {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.pagination a,
.pagination span {
  padding: 0.5rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.9rem;
}

.pagination a {
  color: var(--charcoal);
  background: var(--white);
  border: 1px solid rgba(42, 36, 32, 0.1);
  transition: all 0.3s ease;
}

.pagination a:hover {
  background: var(--terracotta);
  color: var(--white);
  border-color: var(--terracotta);
}

.pagination .current {
  background: var(--terracotta);
  color: var(--white);
}

/* ── 404 Page ── */
.error-404 {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2.5rem;
}

.error-404-content { text-align: center; }

.error-404-number {
  font-family: 'DM Sans', sans-serif;
  font-size: 8rem;
  font-weight: 900;
  color: var(--terracotta);
  opacity: 0.15;
  line-height: 1;
  margin-bottom: -1rem;
}

.error-404-content h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.error-404-content p {
  color: var(--warm-gray);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  max-width: 420px;
}

/* ── No Posts ── */
.no-posts {
  text-align: center;
  padding: 6rem 2rem;
}

.no-posts h2 { margin-bottom: 0.75rem; }
.no-posts p { color: var(--warm-gray); }

/* ── WordPress-specific resets ── */
.post-category a { color: var(--terracotta); text-decoration: none; font-weight: 600; }
.wp-block-image { margin: 2rem 0; }
.wp-block-image img { border-radius: 12px; }
.aligncenter { margin-left: auto; margin-right: auto; }
.alignleft { float: left; margin-right: 1.5rem; }
.alignright { float: right; margin-left: 1.5rem; }
.wp-caption-text { font-size: 0.85rem; color: var(--warm-gray); margin-top: 0.5rem; }


/* ==============================================================
   SCROLL ANIMATIONS
   ============================================================== */

@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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


/* ==============================================================
   RESPONSIVE
   ============================================================== */

@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .diff-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  #site-nav { padding: 1rem 1.5rem; }

  .nav-links {
	height: 280px;
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--cream);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 999;
  }

  .nav-links.active { display: flex; }

  .nav-links a {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--charcoal);
  }

  .nav-hamburger { display: block; }

  .hero { padding: 7rem 1.5rem 3rem; }
  .hero h1 { font-size: 2.4rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn-primary,
  .hero-actions .btn-secondary { justify-content: center; }

  .features { padding: 4rem 1.5rem; }
  .features-grid { grid-template-columns: 1fr; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .stat-number { font-size: 2rem; }

  .steps { grid-template-columns: 1fr; gap: 2.5rem; }

  .how-it-works,
  .differentiators,
  .testimonial,
  .cta { padding: 4rem 1.5rem; }

  .cta-inner { padding: 3rem 2rem; }
  .cta-form { flex-direction: column; }

  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }

  .posts-grid { grid-template-columns: 1fr; padding: 2rem 1.5rem; }
  .single-post { padding: 2rem 1.5rem 4rem; }
}