/* ============================================================
   Prosper Media — style.css
   Global styles, variables, components, utilities
   ============================================================ */

/* ── Google Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;900&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,400&display=swap');

/* ── CSS Variables ─────────────────────────────────────────── */
/* ── Light Mode (Default) ──────────────────────────────────── */
:root {
  /* ── Brand colours — NEVER change in dark mode ── */
  --navy:   #0B132B;
  --cyan:   #00B4D8;
  --gold:   #FFB703;

  /* ── Semantic surface tokens ── */
  --bg-main:      #F8F9FA;
  --bg-surface:   #FFFFFF;
  --bg-elevated:  #FFFFFF;
  --text-main:    #2D3142;
  --text-muted:   #5E6472;
  --text-subtle:  #999999;
  --border-color: rgba(11,19,43,.09);
  --border-light: rgba(11,19,43,.05);

  /* ── Legacy aliases (keeps existing code working) ── */
  --cloud:  var(--bg-main);
  --slate:  var(--text-main);
  --white:  #ffffff;
  --gray:   var(--text-muted);
  --light-border: var(--border-color);

  /* ── Shadows ── */
  --shadow-sm: 0 2px 12px rgba(11,19,43,.08);
  --shadow-md: 0 8px 30px rgba(11,19,43,.12);
  --shadow-lg: 0 20px 60px rgba(11,19,43,.16);

  /* ── Shape & type ── */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --font-heading: 'Montserrat', sans-serif;
  --font-body:    'DM Sans', sans-serif;
  --transition:   all .28s ease;

  /* ── Theme toggle ── */
  --toggle-bg:     rgba(11,19,43,.08);
  --toggle-border: rgba(11,19,43,.15);
  --input-bg:      #FFFFFF;
  --input-border:  rgba(11,19,43,.13);
  --code-bg:       #f0f4f8;
  --gold-block-bg: #FFF8E7;
  --form-card-bg:  #F8F9FA;
  --contact-link-bg: #F8F9FA;
  --cat-pill-bg:   #FFFFFF;
  --cat-pill-border:#dddddd;
  --service-card-bg:#FFFFFF;
  --blog-card-bg:  #FFFFFF;
  --skeleton-from: #eeeeee;
  --skeleton-to:   #f8f8f8;
}



/* ── Reset & Base ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--bg-main);
  color: var(--text-main);
  overflow-x: hidden;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; }

/* ── Layout Container ──────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section-pad { padding: 5.5rem 1.5rem; }

/* ── Typography ────────────────────────────────────────────── */
.heading-xl {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.08;
  color: var(--text-main);
}
.heading-lg {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1.12;
  color: var(--navy);
}
.heading-md {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--navy);
}
.eyebrow {
  font-family: var(--font-heading);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cyan);
  display: block;
  margin-bottom: .75rem;
}
.underline-cyan {
  position: relative;
  display: inline-block;
}
.underline-cyan::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 55%;
  height: 4px;
  background: linear-gradient(90deg, var(--cyan), transparent);
  border-radius: 2px;
}
.text-cyan  { color: var(--cyan) !important; }
.text-gold  { color: var(--gold) !important; }
.text-navy  { color: var(--navy) !important; }
.text-white { color: var(--white) !important; }
.text-muted { color: rgba(255,255,255,.58); }

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .88rem;
  letter-spacing: .04em;
  border-radius: 5px;
  padding: .78rem 1.8rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--cyan);
  color: var(--white);
  border-color: var(--cyan);
}
.btn-primary:hover {
  background: transparent;
  color: var(--cyan);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,180,216,.28);
}
.btn-dark {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-dark:hover {
  background: transparent;
  color: var(--navy);
  transform: translateY(-2px);
}
.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: transparent;
  color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,183,3,.28);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.38);
}
.btn-outline-white:hover {
  border-color: var(--white);
  background: rgba(255,255,255,.1);
  transform: translateY(-2px);
}
.btn-sm { padding: .55rem 1.2rem; font-size: .8rem; }
.btn-lg { padding: .9rem 2.2rem; font-size: .95rem; }

/* ── Navigation ────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1rem 1.5rem;
  transition: background .35s, box-shadow .35s, padding .35s;
}
.navbar.scrolled {
  background: var(--navy);
  box-shadow: 0 2px 28px rgba(0,0,0,.45);
  padding: .65rem 1.5rem;
}
.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: .6rem;
}
.nav-logo-text {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--white);
  letter-spacing: -.01em;
}
.nav-logo-text span { color: var(--cyan); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  list-style: none;
}
.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.78);
  position: relative;
  padding-bottom: .2rem;
  transition: color .22s;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--cyan);
  transition: width .3s;
}
.nav-link:hover,
.nav-link.active { color: var(--white); }
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

/* hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: .25rem;
}
.hamburger span {
  display: block;
  width: 24px; height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.mobile-menu {
  display: none;
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1.25rem 1.5rem 1.5rem;
  flex-direction: column;
  gap: 1rem;
}
.mobile-menu.open { display: flex; }

/* ── Hero Section ──────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 7rem 1.5rem 5rem;
  background: linear-gradient(135deg, var(--navy) 0%, #0d1f48 50%, var(--navy) 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 72% 38%, rgba(0,180,216,.18) 0%, transparent 68%),
    radial-gradient(ellipse 50% 40% at 18% 82%, rgba(255,183,3,.12) 0%, transparent 60%);
  pointer-events: none;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,180,216,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,180,216,.07) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridScroll 22s linear infinite;
  pointer-events: none;
}
@keyframes gridScroll { from { background-position: 0 0; } to { background-position: 60px 60px; } }

.hero-content { position: relative; z-index: 2; max-width: 700px; }
.hero-divider  { width: 42px; height: 2px; background: var(--cyan); display: inline-block; vertical-align: middle; margin-right: .75rem; }
.hero-eyebrow  { display: flex; align-items: center; margin-bottom: 1.4rem; }
.hero-eyebrow-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .75rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cyan);
}
.hero-title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  line-height: 1.07;
  color: var(--white);
  margin-bottom: 1.4rem;
}
.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,.72);
  max-width: 540px;
  line-height: 1.75;
  margin-bottom: .7rem;
}
.hero-slogan {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .92rem;
  color: var(--gold);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 2.4rem;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3.5rem; }
.trust-bar  { display: flex; flex-wrap: wrap; gap: .65rem; }
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-sm);
  padding: .42rem .9rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .78rem;
  color: rgba(255,255,255,.78);
  backdrop-filter: blur(4px);
}
.badge-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  opacity: .55;
  z-index: 2;
}

/* particles */
.particle {
  position: absolute;
  border-radius: 50%;
  opacity: .35;
  animation: floatUp linear infinite;
  pointer-events: none;
}
@keyframes floatUp {
  0%   { transform: translateY(0) scale(1); opacity: .35; }
  100% { transform: translateY(-110vh) scale(.3); opacity: 0; }
}

/* ── Ticker ────────────────────────────────────────────────── */
.ticker-wrap {
  background: var(--cyan);
  padding: .6rem 0;
  overflow: hidden;
  white-space: nowrap;
}
.ticker-track {
  display: inline-block;
  animation: ticker 28s linear infinite;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.ticker-item {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .75rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--navy);
  margin: 0 2rem;
}

/* ── Section: Why Us ───────────────────────────────────────── */
.why-us { background: var(--navy); }
.why-card {
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(0,180,216,.2);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: var(--transition);
  backdrop-filter: blur(8px);
}
.why-card:hover {
  background: rgba(0,180,216,.1);
  border-color: var(--cyan);
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0,0,0,.3);
}
.why-card-icon { font-size: 2.2rem; margin-bottom: 1.1rem; }
.why-card-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: .8rem;
}
.why-card-text { color: rgba(255,255,255,.6); font-size: .94rem; line-height: 1.72; }
.why-card-bar {
  margin-top: 1.4rem;
  width: 38px; height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--gold));
  border-radius: 2px;
}

/* ── Section: Stats ────────────────────────────────────────── */
.stats-section {
  background: linear-gradient(90deg, var(--navy) 0%, #0d2055 50%, var(--navy) 100%);
  border-top: 1px solid rgba(0,180,216,.2);
  border-bottom: 1px solid rgba(0,180,216,.2);
}
.stat-num {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 900;
  color: var(--cyan);
  line-height: 1;
  margin-bottom: .4rem;
}
.stat-label {
  font-family: var(--font-heading);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
}

/* ── Section: About ────────────────────────────────────────── */
.about-section { background: var(--bg-main); }
.skill-bar-wrap { display: flex; flex-direction: column; gap: 1.1rem; }
.skill-bar-header { display: flex; justify-content: space-between; margin-bottom: .35rem; }
.skill-bar-name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .85rem;
  color: var(--white);
}
.skill-bar-pct {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .85rem;
  color: var(--gold);
}
.skill-bar-track {
  background: rgba(255,255,255,.1);
  border-radius: 4px;
  height: 6px;
  overflow: hidden;
}
.skill-bar-fill {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--cyan), var(--gold));
  width: 0;
  transition: width 1.2s ease;
}
.about-card {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}
.about-deco-1 {
  position: absolute; top: -40px; right: -40px;
  width: 200px; height: 200px; border-radius: 50%;
  background: rgba(0,180,216,.1); pointer-events: none;
}
.about-deco-2 {
  position: absolute; bottom: -30px; left: -30px;
  width: 140px; height: 140px; border-radius: 50%;
  background: rgba(255,183,3,.08); pointer-events: none;
}
.quote-block {
  background: rgba(0,180,216,.12);
  border: 1px solid rgba(0,180,216,.3);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  margin-top: 2rem;
}

/* ── Section: Services ─────────────────────────────────────── */
.services-section { background: var(--bg-surface); }
.service-card {
  background: var(--service-card-bg);
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1px solid var(--light-border);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: linear-gradient(180deg, var(--cyan), var(--gold));
  border-radius: 0 2px 2px 0;
  transition: width .3s;
}
.service-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-lg);
}
.service-card:hover::before { width: 6px; }
.service-card.featured { background: var(--navy); }
.service-icon {
  width: 54px; height: 54px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
}
.service-cat {
  font-family: var(--font-heading);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: .4rem;
}
.service-check { display: flex; align-items: center; gap: .5rem; font-size: .9rem; }
.check-icon { font-weight: 700; flex-shrink: 0; }

/* ── Section: Blog ─────────────────────────────────────────── */
.blog-section { background: var(--bg-main); }
.category-pills { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2.5rem; }
.cat-pill {
  padding: .38rem 1rem;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-size: .76rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid var(--cat-pill-border);
  background: var(--cat-pill-bg);
  color: var(--text-main);
  transition: var(--transition);
}
.cat-pill:hover  { border-color: var(--cyan); color: var(--cyan); }
.cat-pill.active { background: var(--navy); color: var(--white); border-color: var(--navy); }

.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.75rem; }
.blog-card {
  background: var(--blog-card-bg);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(11,19,43,.07);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.blog-card-cover {
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.blog-card-cover-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 60% 40%, rgba(0,180,216,.28), transparent);
}
.blog-card-cover-emoji { font-size: 3rem; position: relative; z-index: 1; }
.blog-cat-badge {
  position: absolute;
  top: .9rem; left: .9rem;
  padding: .22rem .65rem;
  border-radius: 4px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .66rem;
  letter-spacing: .04em;
  z-index: 2;
}
.blog-card-body { padding: 1.4rem; display: flex; flex-direction: column; flex: 1; }
.blog-meta {
  font-size: .78rem;
  color: var(--text-subtle);
  font-family: var(--font-heading);
  font-weight: 600;
  margin-bottom: .7rem;
}
.blog-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.02rem;
  color: var(--navy);
  line-height: 1.42;
  margin-bottom: .7rem;
}
.blog-excerpt { color: var(--text-muted); font-size: .9rem; line-height: 1.65; flex: 1; margin-bottom: 1.2rem; }
.blog-read-more {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .84rem;
  color: var(--cyan);
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  transition: gap .22s;
}
.blog-read-more:hover { gap: .6rem; }

/* loading / empty states */
.blog-loading, .blog-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 2rem;
  color: var(--gray);
  font-family: var(--font-heading);
  font-weight: 600;
}
.blog-skeleton {
  background: linear-gradient(90deg, var(--skeleton-from) 25%, var(--skeleton-to) 50%, var(--skeleton-from) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 6px;
}
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* Subscribe box */
.subscribe-box {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-top: 4rem;
}
.subscribe-box-deco1 {
  position: absolute; top: -60px; right: -60px;
  width: 240px; height: 240px; border-radius: 50%;
  background: rgba(0,180,216,.1); pointer-events: none;
}
.subscribe-box-deco2 {
  position: absolute; bottom: -40px; left: -40px;
  width: 180px; height: 180px; border-radius: 50%;
  background: rgba(255,183,3,.08); pointer-events: none;
}
.subscribe-row {
  display: flex;
  gap: .8rem;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 500px;
  margin: 1.25rem auto 0;
  position: relative;
}

/* ── Section: Contact ──────────────────────────────────────── */
.contact-section { background: var(--bg-surface); }
.contact-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--contact-link-bg);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}
.contact-link:hover { border-color: var(--cyan); transform: translateX(4px); }
.contact-link-icon { font-size: 1.5rem; }
.contact-link-title { font-family: var(--font-heading); font-weight: 700; font-size: .9rem; color: var(--text-main); }
.contact-link-sub   { font-size: .8rem; color: var(--text-muted); }

.form-card {
  background: var(--form-card-bg);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--light-border);
}
.form-group { display: flex; flex-direction: column; gap: 1.3rem; }
.form-label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--text-muted);
  margin-bottom: .45rem;
}
.form-control {
  width: 100%;
  background: var(--input-bg);
  border: 1.5px solid var(--input-border);
  border-radius: var(--radius-sm);
  padding: .82rem 1rem;
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--text-main);
  outline: none;
  transition: border-color .25s, box-shadow .25s;
}
.form-control:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0,180,216,.15);
}
.form-control::placeholder { color: var(--text-subtle); }
textarea.form-control { resize: vertical; min-height: 120px; }

.form-success {
  display: none;
  background: #e6fdf5;
  border: 1px solid #00C896;
  border-radius: var(--radius-sm);
  padding: 1.2rem;
  text-align: center;
  margin-top: 1rem;
}
.form-success-text {
  font-family: var(--font-heading);
  font-weight: 700;
  color: #00875A;
  font-size: .95rem;
}
.form-error-msg {
  display: none;
  background: #fef0f0;
  border: 1px solid #e57373;
  border-radius: var(--radius-sm);
  padding: .8rem 1rem;
  color: #c62828;
  font-size: .88rem;
  margin-top: .75rem;
  font-family: var(--font-heading);
  font-weight: 600;
}

/* ── Gold highlight block ──────────────────────────────────── */
.gold-block {
  padding: 1.4rem 1.5rem;
  background: var(--gold-block-bg);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.gold-block p {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .92rem;
  color: var(--navy);
}

/* ── Footer ────────────────────────────────────────────────── */
.footer { background: var(--navy); color: rgba(255,255,255,.62); }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: 2rem;
}
.footer-heading {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.footer-link {
  font-size: .9rem;
  color: rgba(255,255,255,.5);
  display: block;
  margin-bottom: .75rem;
  transition: color .22s;
}
.footer-link:hover { color: var(--cyan); }
.footer-social {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .9rem;
  color: rgba(255,255,255,.5);
  margin-bottom: .75rem;
  transition: color .22s;
}
.footer-social:hover { color: var(--cyan); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.footer-copy { font-size: .82rem; color: rgba(255,255,255,.35); }
.footer-slogan {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .1em;
  color: rgba(255,255,255,.28);
  text-transform: uppercase;
}

/* ── Blog Single Post Page ─────────────────────────────────── */
.post-hero {
  background: var(--navy);
  padding: 8rem 1.5rem 4rem;
  position: relative;
  overflow: hidden;
}
.post-content {
  max-width: 780px;
  margin: 3rem auto;
  padding: 0 1.5rem;
}
.post-content h2 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text-main);
  margin: 2rem 0 .9rem;
}
.post-content p {
  line-height: 1.82;
  color: var(--text-muted);
  margin-bottom: 1.1rem;
  font-size: 1rem;
}
.post-content pre {
  background: var(--code-bg);
  border-radius: var(--radius-sm);
  padding: 1.2rem;
  overflow-x: auto;
  font-size: .88rem;
  margin: 1.2rem 0;
  border-left: 4px solid var(--cyan);
}
.post-content code { font-family: 'Courier New', monospace; }
.post-content strong { color: var(--text-main); }

/* ── Scroll reveal ─────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ── Grids ─────────────────────────────────────────────────── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .nav-links, .nav-cta-desktop { display: none; }
  .hamburger { display: flex; }
  .blog-grid { grid-template-columns: 1fr; }
  .section-pad { padding: 4rem 1rem; }
}
@media (max-width: 480px) {
  .hero-title { font-size: 2rem; }
  .btn-lg { width: 100%; justify-content: center; }
}