/* ============================================================
   css/main.css — MFP Morocco Design System
   ============================================================ */

/* ── Google Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;700&display=swap');

/* ── CSS Variables ────────────────────────────────────────── */
:root {
  --black:       #07001f;
  --blue:        #1e3a8a;
  --blue-300:    #6b8ad8;
  --blue-200:    #a3b8e8;
  --blue-100:    #d1ddf3;
  --green:       #3dfd98;
  --green-300:   #8dfdc3;
  --green-200:   #b3fed7;
  --green-100:   #d9feeb;
  --neutral:     #9895a1;
  --dark-blue:   #080024;
  --white:       #ffffff;

  --font:        'Space Grotesk', Arial, sans-serif;
  --radius-sm:   6px;
  --radius:      12px;
  --radius-lg:   20px;
  --radius-full: 9999px;

  --nav-h:       72px;
  --container:   1200px;

  --transition:  0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);

  --shadow-blue: 0 0 40px rgba(30, 58, 138, 0.35);
  --shadow-green: 0 0 40px rgba(61, 253, 152, 0.25);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--black);
  color: var(--white);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  letter-spacing: 0.3px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ── Custom Scrollbar ─────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb {
  background: rgba(30, 58, 138, 0.45);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover { background: rgba(30, 58, 138, 0.7); }

/* ── Layout ───────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 768px) { .container { padding: 0 2.5rem; } }
@media (min-width: 1280px) { .container { padding: 0 2rem; } }

.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.section-lg { padding: 7rem 0; }

/* ── Typography ───────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.15rem; font-weight: 600; }

p { color: var(--neutral); line-height: 1.7; }
.text-white p { color: rgba(255,255,255,0.8); }

/* ── Gradient Text ────────────────────────────────────────── */
.gradient-text {
  background: linear-gradient(135deg, var(--blue-300) 0%, var(--green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-blue {
  background: linear-gradient(135deg, var(--blue-200) 0%, var(--blue-300) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Badge / Pill Labels ──────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  background: rgba(30, 58, 138, 0.15);
  border: 1px solid rgba(107, 138, 216, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--blue-300);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.badge-green {
  background: rgba(61, 253, 152, 0.1);
  border-color: rgba(61, 253, 152, 0.3);
  color: var(--green);
}

.badge-dot::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.2px;
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer;
}

.btn-primary {
  background: var(--green);
  color: var(--black);
  border: 2px solid transparent;
}
.btn-primary:hover {
  background: var(--green-300);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(61, 253, 152, 0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.25);
}
.btn-secondary:hover {
  border-color: var(--blue-300);
  color: var(--blue-300);
  transform: translateY(-2px);
}

.btn-blue {
  background: var(--blue);
  color: var(--white);
  border: 2px solid transparent;
}
.btn-blue:hover {
  background: #2a4fa0;
  transform: translateY(-2px);
  box-shadow: var(--shadow-blue);
}

.btn-ghost {
  background: transparent;
  color: var(--neutral);
  border: 2px solid rgba(255,255,255,0.1);
  padding: 0.6rem 1.2rem;
  font-size: 0.875rem;
}
.btn-ghost:hover {
  border-color: var(--blue-300);
  color: var(--white);
}

.btn-sm { padding: 0.5rem 1.1rem; font-size: 0.85rem; }
.btn-lg { padding: 1rem 2.2rem; font-size: 1.05rem; }

.btn-wa {
  background: #25d366;
  color: #fff;
  border: 2px solid transparent;
}
.btn-wa:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}
.btn-wa svg { width: 20px; height: 20px; }

/* ── Cards ────────────────────────────────────────────────── */
.card {
  background: rgba(30, 58, 138, 0.07);
  border: 1px solid rgba(107, 138, 216, 0.18);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.card:hover {
  border-color: rgba(107, 138, 216, 0.4);
  background: rgba(30, 58, 138, 0.12);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.card-glow::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  background: radial-gradient(circle at 50% 0%, rgba(107, 138, 216, 0.15), transparent 70%);
  transition: opacity var(--transition);
  pointer-events: none;
}
.card-glow:hover::after { opacity: 1; }

/* ── Divider ──────────────────────────────────────────────── */
.divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(107,138,216,0.3), transparent);
}

/* ─────────────────────────────────────────────────────────── */
/* NAVIGATION                                                  */
/* ─────────────────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background var(--transition), box-shadow var(--transition);
}

#navbar.scrolled {
  background: rgba(7, 0, 31, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(107,138,216,0.15);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 1rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}
.nav-logo img, .nav-logo svg { height: 36px; width: auto; }

.nav-links {
  display: none;
  align-items: center;
  gap: 0.25rem;
}
@media (min-width: 1024px) { .nav-links { display: flex; } }

.nav-links a {
  padding: 0.4rem 0.75rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--white);
  background: rgba(255,255,255,0.06);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Language toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.4rem 0.8rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-full);
  transition: all var(--transition);
  background: transparent;
}
.lang-toggle:hover {
  color: var(--white);
  border-color: rgba(107,138,216,0.5);
  background: rgba(30,58,138,0.15);
}
.lang-toggle span.flag { font-size: 1rem; }

/* Mobile hamburger */
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  background: transparent;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}
@media (min-width: 1024px) { .nav-toggle { display: none; } }

.nav-toggle:hover { background: rgba(255,255,255,0.06); }
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  background: rgba(7, 0, 31, 0.97);
  backdrop-filter: blur(20px);
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  padding: 1.5rem;
  border-bottom: 1px solid rgba(107,138,216,0.15);
  z-index: 99;
  animation: slideDown 0.25s ease-out;
}
.nav-mobile.open { display: flex; }

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.nav-mobile a {
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.nav-mobile a:hover {
  color: var(--white);
  background: rgba(30,58,138,0.2);
}

.nav-mobile-footer {
  margin-top: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(107,138,216,0.1);
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* ─────────────────────────────────────────────────────────── */
/* HERO SECTION                                                */
/* ─────────────────────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* Animated glow blobs */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
}
.hero-blob-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--blue) 0%, transparent 70%);
  top: -100px; right: -100px;
  animation: float 8s ease-in-out infinite;
}
.hero-blob-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(61,253,152,0.4) 0%, transparent 70%);
  bottom: 0; left: 10%;
  animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

/* Subtle grid pattern overlay */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(107,138,216,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(107,138,216,0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 75%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.hero-title { margin-top: 1.25rem; margin-bottom: 1.5rem; }
.hero-sub { font-size: 1.1rem; max-width: 600px; margin-bottom: 2.5rem; }

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.825rem;
  color: var(--neutral);
}
.hero-trust::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
}

/* Stats bar */
.stats-bar {
  padding: 3rem 0;
  border-top: 1px solid rgba(107,138,216,0.12);
  border-bottom: 1px solid rgba(107,138,216,0.12);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  text-align: center;
}
@media (min-width: 640px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }

.stat-item { }
.stat-number {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--white) 0%, var(--blue-300) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--neutral);
  margin-top: 0.4rem;
}

/* ─────────────────────────────────────────────────────────── */
/* SECTION HEADER                                              */
/* ─────────────────────────────────────────────────────────── */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 4rem;
}
.section-header .badge { margin-bottom: 1rem; }
.section-header h2 { margin-bottom: 1rem; }
.section-header p { font-size: 1.05rem; }

/* ─────────────────────────────────────────────────────────── */
/* SERVICES CARDS                                              */
/* ─────────────────────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}

.service-card {
  position: relative;
  overflow: hidden;
}

.service-card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius);
  background: rgba(30, 58, 138, 0.2);
  border: 1px solid rgba(107, 138, 216, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}
.service-icon svg { width: 26px; height: 26px; color: var(--blue-300); }

.service-tag {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--green);
  margin-bottom: 0.5rem;
}

.service-card h3 { margin-bottom: 0.85rem; font-size: 1.3rem; }
.service-card p { font-size: 0.95rem; flex: 1; }

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--blue-300);
  transition: gap var(--transition), color var(--transition);
}
.service-card-link:hover { gap: 0.7rem; color: var(--blue-200); }
.service-card-link svg { width: 16px; height: 16px; transition: transform var(--transition); }
.service-card-link:hover svg { transform: translateX(3px); }

/* Accent border on hover */
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  opacity: 0;
  transition: opacity var(--transition);
}
.service-card:hover::before { opacity: 1; }

/* ─────────────────────────────────────────────────────────── */
/* HOW IT WORKS / PROCESS                                      */
/* ─────────────────────────────────────────────────────────── */
.process-section { background: var(--dark-blue); }

.process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
@media (min-width: 768px) {
  .process-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    position: relative;
  }
  .process-steps::before {
    content: '';
    position: absolute;
    top: 28px;
    left: calc(16.666% + 1.5rem);
    right: calc(16.666% + 1.5rem);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(107,138,216,0.4), transparent);
  }
}

.step-card {
  padding: 2rem 1.5rem;
  position: relative;
}

.step-num {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, rgba(107,138,216,0.6), rgba(107,138,216,0.15));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.25rem;
}

.step-card h3 { font-size: 1.2rem; margin-bottom: 0.75rem; }
.step-card p { font-size: 0.925rem; }

/* Step connector dot */
.step-dot {
  display: none;
}
@media (min-width: 768px) {
  .step-dot {
    display: block;
    position: absolute;
    top: 22px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px; height: 12px;
    background: var(--blue-300);
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(107,138,216,0.6);
  }
}

/* ─────────────────────────────────────────────────────────── */
/* RESULTS / METRICS                                           */
/* ─────────────────────────────────────────────────────────── */
.metrics-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) { .metrics-grid { grid-template-columns: repeat(3, 1fr); } }

.metric-card {
  text-align: center;
  padding: 2.5rem 2rem;
}

.metric-number {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(135deg, var(--green) 0%, var(--blue-300) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.75rem;
}

.metric-label {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.35rem;
}

.metric-sub { font-size: 0.875rem; color: var(--neutral); }

/* ─────────────────────────────────────────────────────────── */
/* TESTIMONIALS                                                */
/* ─────────────────────────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) { .testimonials-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px) and (max-width: 1023px) {
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}

.testimonial-card { padding: 1.75rem; }

.stars {
  display: flex;
  gap: 3px;
  margin-bottom: 1rem;
}
.star { color: #f59e0b; font-size: 1.1rem; }

.testimonial-quote {
  font-size: 0.975rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.85);
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-300));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  flex-shrink: 0;
}
.author-name { font-size: 0.9rem; font-weight: 600; color: var(--white); }
.author-role { font-size: 0.8rem; color: var(--neutral); margin-top: 0.15rem; }

/* ─────────────────────────────────────────────────────────── */
/* CTA BANNER                                                  */
/* ─────────────────────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, rgba(30,58,138,0.25) 0%, rgba(61,253,152,0.05) 100%);
  border: 1px solid rgba(107,138,216,0.2);
  border-radius: var(--radius-lg);
  padding: 4rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(107,138,216,0.6), transparent);
}

.cta-banner h2 { margin-bottom: 1rem; }
.cta-banner p { font-size: 1.05rem; margin-bottom: 2rem; max-width: 520px; margin-left: auto; margin-right: auto; }

.cta-trust {
  margin-top: 1.25rem;
  font-size: 0.825rem;
  color: var(--neutral);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

/* ─────────────────────────────────────────────────────────── */
/* FOOTER                                                      */
/* ─────────────────────────────────────────────────────────── */
footer {
  background: var(--dark-blue);
  border-top: 1px solid rgba(107,138,216,0.12);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr 1fr; } }

.footer-brand {}
.footer-logo { margin-bottom: 1rem; }
.footer-tagline { font-size: 0.9rem; color: var(--neutral); line-height: 1.6; max-width: 280px; }

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.social-link {
  width: 36px; height: 36px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  color: var(--neutral);
}
.social-link:hover {
  background: rgba(30,58,138,0.3);
  border-color: var(--blue-300);
  color: var(--white);
}
.social-link svg { width: 16px; height: 16px; }

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-links a {
  font-size: 0.9rem;
  color: var(--neutral);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(107,138,216,0.1);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.825rem;
  color: rgba(255,255,255,0.35);
}

/* ─────────────────────────────────────────────────────────── */
/* WHATSAPP WIDGET                                             */
/* ─────────────────────────────────────────────────────────── */
#wa-widget {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}

.wa-popup {
  background: #fff;
  color: #111;
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  width: 280px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
  display: none;
  animation: popupIn 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform-origin: bottom right;
}
.wa-popup.open { display: block; }

@keyframes popupIn {
  from { opacity: 0; transform: scale(0.85) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.wa-popup-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.wa-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--green));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
  flex-shrink: 0;
  overflow: hidden;
}
.wa-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; transform: translateX(-3px); }

.wa-name { font-size: 0.9rem; font-weight: 700; color: #111; }
.wa-role { font-size: 0.75rem; color: #666; margin-top: 0.1rem; }
.wa-status {
  font-size: 0.72rem;
  color: #25d366;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.2rem;
}
.wa-status::before {
  content: '';
  width: 6px; height: 6px;
  background: #25d366;
  border-radius: 50%;
  display: inline-block;
}

.wa-popup p {
  font-size: 0.85rem;
  color: #444;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.wa-popup-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.65rem 1rem;
  background: #25d366;
  color: #fff;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  transition: background var(--transition);
}
.wa-popup-cta:hover { background: #1ebe5d; }
.wa-popup-cta svg { width: 18px; height: 18px; }

.wa-close-btn {
  position: absolute;
  top: 0.75rem; right: 0.75rem;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(0,0,0,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  color: #666;
  transition: background var(--transition);
  cursor: pointer;
  border: none;
}
.wa-close-btn:hover { background: rgba(0,0,0,0.15); }

.wa-fab {
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  position: relative;
  animation: wa-pulse 3s ease-in-out infinite;
}

.wa-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.6);
  animation: none;
}

.wa-fab svg { width: 30px; height: 30px; color: #fff; }

@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45); }
  50% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45), 0 0 0 8px rgba(37, 211, 102, 0.12); }
}

/* Tooltip on hover when popup is closed */
.wa-tooltip {
  position: absolute;
  right: calc(100% + 0.75rem);
  top: 50%;
  transform: translateY(-50%);
  background: rgba(7,0,31,0.92);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
  border: 1px solid rgba(107,138,216,0.2);
}
.wa-fab:hover .wa-tooltip { opacity: 1; }


/* ─────────────────────────────────────────────────────────── */
/* ARTICLES                                                    */
/* ─────────────────────────────────────────────────────────── */
.articles-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  background: transparent;
  color: var(--neutral);
  border: 1px solid rgba(255,255,255,0.12);
  cursor: pointer;
  transition: all var(--transition);
}
.filter-btn.active, .filter-btn:hover {
  background: rgba(30,58,138,0.25);
  border-color: var(--blue-300);
  color: var(--white);
}

.articles-search {
  position: relative;
  max-width: 480px;
  margin-bottom: 2.5rem;
}
.articles-search input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.75rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-full);
  color: var(--white);
  font-size: 0.925rem;
  transition: border-color var(--transition);
}
.articles-search input::placeholder { color: var(--neutral); }
.articles-search input:focus {
  outline: none;
  border-color: var(--blue-300);
  background: rgba(30,58,138,0.1);
}
.articles-search .search-icon {
  position: absolute;
  left: 1rem; top: 50%;
  transform: translateY(-50%);
  color: var(--neutral);
  width: 18px; height: 18px;
  pointer-events: none;
}

.articles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}
@media (min-width: 640px) { .articles-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .articles-grid { grid-template-columns: repeat(3, 1fr); } }

.article-card { padding: 0; overflow: hidden; }
.article-card:hover { transform: translateY(-6px); }

.article-card-img {
  width: 100%;
  height: 200px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  background-color: var(--blue);
  background-size: cover;
  background-position: center;
}
.article-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(7,0,31,0.62) 0%, rgba(30,58,138,0.48) 100%);
  pointer-events: none;
}

.article-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }

.article-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.article-cat {
  font-size: 0.73rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--green);
}

.article-date, .article-readtime {
  font-size: 0.78rem;
  color: var(--neutral);
}

.article-card h3 {
  font-size: 1.05rem;
  line-height: 1.4;
  margin-bottom: 0.6rem;
  color: var(--white);
  transition: color var(--transition);
}
.article-card:hover h3 { color: var(--blue-200); }

.article-excerpt {
  font-size: 0.875rem;
  color: var(--neutral);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.article-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 1.25rem;
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--blue-300);
  transition: gap var(--transition);
}
.article-card:hover .article-read-more { gap: 0.55rem; }

.articles-empty {
  text-align: center;
  padding: 3rem;
  color: var(--neutral);
  grid-column: 1/-1;
  display: none;
}
.articles-empty.show { display: block; }

/* ─────────────────────────────────────────────────────────── */
/* SINGLE ARTICLE                                              */
/* ─────────────────────────────────────────────────────────── */
.article-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  padding-top: 2rem;
}
@media (min-width: 1024px) {
  .article-layout { grid-template-columns: 1fr 280px; }
}

.article-main { max-width: 720px; }

.article-hero-meta {
  margin-bottom: 2rem;
}

.article-hero-meta .badge { margin-bottom: 1rem; }
.article-hero-meta h1 { margin-bottom: 1.25rem; }

.article-byline {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1rem 0;
  border-top: 1px solid rgba(107,138,216,0.15);
  border-bottom: 1px solid rgba(107,138,216,0.15);
  margin-bottom: 2rem;
}
.byline-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-300));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.9rem;
  flex-shrink: 0;
  overflow: hidden;
}
.byline-avatar img { width: 100%; height: 100%; object-fit: cover; }
.byline-author { font-size: 0.875rem; font-weight: 600; color: var(--white); }
.byline-date { font-size: 0.8rem; color: var(--neutral); margin-top: 0.15rem; }
.byline-readtime {
  margin-left: auto;
  font-size: 0.8rem;
  color: var(--neutral);
  background: rgba(255,255,255,0.06);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
}

/* Article prose */
.article-prose { color: rgba(255,255,255,0.85); font-size: 1.05rem; line-height: 1.8; }
.article-prose h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  color: var(--white);
  margin: 2.5rem 0 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(107,138,216,0.12);
}
.article-prose h2:first-child { border-top: none; margin-top: 0; }
.article-prose h3 {
  font-size: 1.25rem;
  color: var(--white);
  margin: 2rem 0 0.75rem;
}
.article-prose p { margin-bottom: 1.5rem; color: rgba(255,255,255,0.8); }
.article-prose ul, .article-prose ol {
  margin: 1rem 0 1.5rem 1.5rem;
}
.article-prose ul { list-style: disc; }
.article-prose ol { list-style: decimal; }
.article-prose li { margin-bottom: 0.5rem; color: rgba(255,255,255,0.8); }
.article-prose strong { color: var(--white); font-weight: 600; }
.article-prose a { color: var(--blue-300); text-decoration: underline; transition: color var(--transition); }
.article-prose a:hover { color: var(--blue-200); }

.article-prose blockquote {
  border-left: 3px solid var(--blue-300);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: rgba(30,58,138,0.1);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: rgba(255,255,255,0.8);
}

.article-prose .callout {
  background: rgba(61,253,152,0.07);
  border: 1px solid rgba(61,253,152,0.2);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
}

/* Article sharing */
.article-share {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(107,138,216,0.15);
  margin-top: 2rem;
  flex-wrap: wrap;
}
.share-label { font-size: 0.875rem; color: var(--neutral); }
.share-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem; font-weight: 600;
  border: 1px solid rgba(107,138,216,0.25);
  color: var(--neutral);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.share-btn:hover { border-color: rgba(107,138,216,0.5); color: var(--white); }
.share-btn.share-linkedin:hover { border-color: #0a66c2; color: #0a66c2; }
.share-btn.share-twitter:hover { border-color: #1d9bf0; color: #1d9bf0; }
.share-btn.share-wa:hover { border-color: #25d366; color: #25d366; }

/* Author bio */
.author-bio-card {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem;
  border: 1px solid rgba(107,138,216,0.18);
  border-radius: var(--radius-lg);
  background: rgba(30,58,138,0.07);
  margin-top: 3rem;
  align-items: flex-start;
}
.author-bio-avatar {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-300));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.2rem; flex-shrink: 0;
  overflow: hidden;
}
.author-bio-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; transform: translateX(-3px); }
.author-bio-name { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 0.25rem; }
.author-bio-text { font-size: 0.875rem; color: var(--neutral); line-height: 1.6; }

/* Article sidebar */
.article-sidebar { position: sticky; top: calc(var(--nav-h) + 1.5rem); }
.sidebar-sticky {
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
}

/* Related articles */
.related-articles { margin-top: 4rem; }
.related-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}
@media (min-width: 640px) { .related-grid { grid-template-columns: repeat(2, 1fr); } }

/* ─────────────────────────────────────────────────────────── */
/* ARTICLE PAGE — supplemental styles (hero, header, meta,    */
/* highlight, share, sidebar card, related section/cards)     */
/* ─────────────────────────────────────────────────────────── */

.article-hero {
  padding: 7rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.article-hero .hero-blob {
  position: absolute; border-radius: 50%;
  filter: blur(80px); pointer-events: none;
}
.article-hero .hero-blob-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(30,58,138,0.25) 0%, transparent 70%);
  top: -150px; right: -100px;
}

.article-header { max-width: 780px; }
.article-cat-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.3rem 0.8rem;
  background: rgba(30,58,138,0.2);
  border: 1px solid rgba(107,138,216,0.3);
  border-radius: var(--radius-full);
  font-size: 0.75rem; font-weight: 700;
  color: var(--blue-300);
  letter-spacing: 0.5px; text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.article-title {
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 1.5rem;
}
.article-meta-row {
  display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(107,138,216,0.15);
  margin-bottom: 2rem;
}
.article-author { display: flex; align-items: center; gap: 0.65rem; }
.article-author-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-300) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700; color: var(--white);
  flex-shrink: 0; overflow: hidden;
}
.article-author-avatar img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top; display: block;
  transform: translateX(-3px);
}
.article-author-name { font-size: 0.9rem; font-weight: 600; color: var(--white); }
.article-meta-item { display: flex; align-items: center; gap: 0.4rem; font-size: 0.82rem; color: var(--neutral); }
.article-meta-item svg { color: var(--blue-300); flex-shrink: 0; }

.article-highlight {
  padding: 1.5rem;
  background: rgba(30,58,138,0.12);
  border: 1px solid rgba(107,138,216,0.2);
  border-radius: var(--radius);
  margin: 1.75rem 0;
}
.article-highlight p { margin: 0; color: rgba(255,255,255,0.8); }

.share-section {
  margin: 2.5rem 0; padding: 1.5rem;
  background: rgba(30,58,138,0.07);
  border: 1px solid rgba(107,138,216,0.15);
  border-radius: var(--radius);
}
.share-btns { display: flex; gap: 0.6rem; flex-wrap: wrap; }

.author-bio-role { font-size: 0.82rem; color: var(--blue-300); margin-bottom: 0.75rem; }

.sidebar-card {
  padding: 1.5rem;
  background: rgba(30,58,138,0.07);
  border: 1px solid rgba(107,138,216,0.15);
  border-radius: var(--radius-lg);
  margin-bottom: 1.5rem;
}
.sidebar-card h4 { font-size: 0.95rem; color: var(--white); margin-bottom: 1rem; }

.related-section { padding: 4rem 0; }
.related-card { padding: 1.5rem; transition: all var(--transition); }
.related-card-cat {
  font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.5px;
  color: var(--blue-300); margin-bottom: 0.6rem;
}
.related-card h4 { font-size: 0.95rem; color: var(--white); line-height: 1.4; margin-bottom: 0.75rem; }
.related-card-meta { font-size: 0.78rem; color: var(--neutral); }
.related-card-link {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: 0.82rem; font-weight: 600;
  color: var(--blue-300); margin-top: 0.75rem;
  transition: gap var(--transition), color var(--transition);
}
.related-card:hover .related-card-link { gap: 0.55rem; color: var(--green); }

/* ─────────────────────────────────────────────────────────── */
/* SERVICES DETAIL PAGE (features list)                        */
/* ─────────────────────────────────────────────────────────── */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius);
  background: rgba(30,58,138,0.2);
  border: 1px solid rgba(107,138,216,0.25);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.feature-icon svg { width: 20px; height: 20px; color: var(--green); }

.feature-text h4 { font-size: 1rem; margin-bottom: 0.3rem; }
.feature-text p { font-size: 0.875rem; }

/* Check list */
.check-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 1rem;
}
.check-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.925rem;
  color: rgba(255,255,255,0.85);
}
.check-item::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
  line-height: 1.5;
}

/* Numbered steps (services detail) */
.numbered-steps { display: flex; flex-direction: column; gap: 2rem; }
.numbered-step { display: flex; gap: 1.25rem; align-items: flex-start; }
.step-number {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(30,58,138,0.3);
  border: 1px solid rgba(107,138,216,0.4);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1rem;
  color: var(--blue-300);
  flex-shrink: 0;
}

/* ─────────────────────────────────────────────────────────── */
/* CONTACT PAGE                                                */
/* ─────────────────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 768px) { .contact-grid { grid-template-columns: 1fr 1fr; } }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-label { font-size: 0.85rem; font-weight: 500; color: rgba(255,255,255,0.7); }
.form-input, .form-select, .form-textarea {
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  color: var(--white);
  font-size: 0.925rem;
  transition: border-color var(--transition), background var(--transition);
  font-family: var(--font);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--neutral); }
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--blue-300);
  background: rgba(30,58,138,0.1);
}
.form-select { cursor: pointer; }
.form-select option { background: var(--black); }
.form-textarea { resize: vertical; min-height: 140px; }
.form-privacy { font-size: 0.78rem; color: var(--neutral); }

/* ─────────────────────────────────────────────────────────── */
/* FAQ                                                         */
/* ─────────────────────────────────────────────────────────── */
.faq-list { max-width: 780px; margin: 0 auto; }

.faq-item {
  border-bottom: 1px solid rgba(107,138,216,0.12);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  transition: color var(--transition);
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
}
.faq-question:hover { color: var(--blue-300); }

.faq-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(30,58,138,0.2);
  border: 1px solid rgba(107,138,216,0.2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition), background var(--transition);
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: rgba(30,58,138,0.4);
}
.faq-icon svg { width: 14px; height: 14px; color: var(--blue-300); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow), padding var(--transition);
}
.faq-item.open .faq-answer { max-height: 500px; }
.faq-answer-inner {
  padding-bottom: 1.5rem;
  font-size: 0.95rem;
  color: var(--neutral);
  line-height: 1.75;
}

/* ─────────────────────────────────────────────────────────── */
/* ABOUT PAGE                                                  */
/* ─────────────────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 768px) { .about-grid { grid-template-columns: 1fr 1fr; } }

.founder-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2.5rem;
  gap: 1.25rem;
}
.founder-photo {
  width: 120px; height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-300));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 2rem; color: var(--white);
  overflow: hidden;
  box-shadow: 0 0 0 4px rgba(107,138,216,0.2);
}
.founder-photo img { width: calc(100% + 10px); height: 100%; object-fit: cover; object-position: center top; margin-left: -10px; display: block; }
.founder-name { font-size: 1.4rem; font-weight: 700; }
.founder-role { font-size: 0.9rem; color: var(--neutral); }

.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }

.value-card { padding: 1.5rem; }
.value-card h4 { font-size: 1rem; margin-bottom: 0.4rem; color: var(--white); }
.value-card p { font-size: 0.875rem; }

/* ─────────────────────────────────────────────────────────── */
/* 404 PAGE                                                    */
/* ─────────────────────────────────────────────────────────── */
.not-found {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--nav-h) 2rem 4rem;
}
.not-found-number {
  font-size: clamp(6rem, 20vw, 14rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.06em;
  background: linear-gradient(135deg, rgba(107,138,216,0.4) 0%, rgba(107,138,216,0.05) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

/* ─────────────────────────────────────────────────────────── */
/* ANIMATIONS (Scroll-triggered)                               */
/* ─────────────────────────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }

/* ─────────────────────────────────────────────────────────── */
/* HERO PAGE HEADER (inner pages)                              */
/* ─────────────────────────────────────────────────────────── */
.page-hero {
  padding: calc(var(--nav-h) + 4rem) 0 4rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top center, rgba(30,58,138,0.2) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-content { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.page-hero .badge { margin-bottom: 1rem; }
.page-hero h1 { margin-bottom: 1.25rem; }
.page-hero p { font-size: 1.1rem; }

/* ─────────────────────────────────────────────────────────── */
/* UTILITY CLASSES                                             */
/* ─────────────────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-green { color: var(--green); }
.text-blue { color: var(--blue-300); }
.text-neutral { color: var(--neutral); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-6 { margin-top: 3rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.hidden { display: none !important; }

.section-alt { background: var(--dark-blue); }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.825rem;
  color: var(--neutral);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--neutral); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: rgba(107,138,216,0.5); }
.breadcrumb .current { color: rgba(255,255,255,0.6); }

/* ─────────────────────────────────────────────────────────── */
/* RESPONSIVE ADJUSTMENTS                                      */
/* ─────────────────────────────────────────────────────────── */
@media (max-width: 767px) {
  .section { padding: 3.5rem 0; }
  .section-lg { padding: 4rem 0; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .cta-banner { padding: 2.5rem 1.5rem; }
  .stats-grid { gap: 1.5rem; }
  #wa-widget { bottom: 1rem; right: 1rem; }
  .wa-fab { width: 50px; height: 50px; }
  .wa-fab svg { width: 24px; height: 24px; }
  .wa-popup { width: 260px; }
}

@media (max-width: 479px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .nav-actions .btn { display: none; }
}

/* ═══════════════════════════════════════════════════════════════
   BLOG LIGHT THEME
   Scoped to body.blog-page — applies to blog index + all posts.
   Nav (#navbar) and footer keep their explicit dark backgrounds.
   ═══════════════════════════════════════════════════════════════ */

body.blog-page {
  --blog-bg:                  #FFFFFF;
  --blog-text:                #111111;
  --blog-text-muted:          #555555;
  --blog-heading:             #000000;
  --blog-accent:              #1e3a8a;
  --blog-accent-hover:        #15296b;
  --blog-cta-bg:              #1e3a8a;
  --blog-cta-text:            #FFFFFF;
  --blog-border:              #e5e5e5;
  --blog-pullquote-border:    #1e3a8a;
  --blog-category-pill-bg:    #1e3a8a;
  --blog-category-pill-text:  #FFFFFF;
  background-color: var(--blog-bg);
  color: var(--blog-text);
}

/* Headings & paragraphs */
body.blog-page h1,
body.blog-page h2,
body.blog-page h3,
body.blog-page h4 { color: var(--blog-heading); }
body.blog-page p { color: var(--blog-text-muted); }

/* ── Nav: force dark background (nav starts transparent on dark pages) */
body.blog-page #navbar,
body.blog-page #navbar.scrolled {
  background: rgba(7, 0, 31, 0.97) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* ── Section backgrounds */
body.blog-page .section { background-color: var(--blog-bg); }
body.blog-page .section-alt { background: #f5f5f8; }

/* ── BLOG INDEX ──────────────────────────────────────────────── */

body.blog-page .articles-hero { background: var(--blog-bg); }
body.blog-page .articles-hero .hero-blob { display: none; }
body.blog-page .articles-hero h1 { color: var(--blog-heading); }
body.blog-page .articles-hero p { color: var(--blog-text-muted); }
body.blog-page .articles-hero .badge {
  background: rgba(30,58,138,0.08);
  border-color: rgba(30,58,138,0.2);
  color: var(--blog-accent);
}
body.blog-page .articles-hero .badge-dot::before { background: var(--blog-accent); }
body.blog-page .articles-hero .gradient-text {
  background: linear-gradient(135deg, var(--blog-accent), #2a4fa0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Search */
body.blog-page #blog-search {
  background: #f5f5f5;
  border-color: var(--blog-border);
  color: var(--blog-text);
}
body.blog-page #blog-search::placeholder { color: #999; }
body.blog-page #blog-search:focus {
  border-color: var(--blog-accent);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(30,58,138,0.08);
}
body.blog-page .search-wrap svg { color: #999; }

/* Filter pills */
body.blog-page .filter-btn {
  background: #f0f0f0;
  border-color: var(--blog-border);
  color: var(--blog-text-muted);
}
body.blog-page .filter-btn:hover {
  background: rgba(30,58,138,0.06);
  border-color: var(--blog-accent);
  color: var(--blog-accent);
}
body.blog-page .filter-btn.active {
  background: var(--blog-accent);
  border-color: var(--blog-accent);
  color: #fff;
}

/* Article cards */
body.blog-page .card.article-card {
  background: #fff;
  border-color: var(--blog-border);
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
body.blog-page .card.article-card:hover {
  border-color: rgba(30,58,138,0.22);
  background: #fff;
  box-shadow: 0 8px 32px rgba(0,0,0,0.09);
}
body.blog-page .article-card-img {
  border-bottom-color: var(--blog-border);
}

/* Category pills on cards */
body.blog-page .article-cat,
body.blog-page .article-cat.cat-corporate,
body.blog-page .article-cat.cat-documentation {
  background: var(--blog-category-pill-bg);
  border-color: var(--blog-category-pill-bg);
  color: var(--blog-category-pill-text);
}

body.blog-page .article-date,
body.blog-page .article-readtime { color: var(--blog-text-muted); }
body.blog-page .article-date::before { color: var(--blog-text-muted); }
body.blog-page .article-card h3 { color: var(--blog-heading); }
body.blog-page .article-card:hover h3 { color: var(--blog-accent); }
body.blog-page .article-excerpt { color: var(--blog-text-muted); }
body.blog-page .article-read-more { color: var(--blog-accent); }
body.blog-page .article-read-more:hover { color: var(--blog-accent-hover); gap: 0.65rem; }
body.blog-page .blog-empty { color: var(--blog-text-muted); }

/* ── BLOG POST PAGES ─────────────────────────────────────────── */

body.blog-page .article-hero { background: var(--blog-bg); }
body.blog-page .article-hero .hero-blob { display: none; }

/* Breadcrumb */
body.blog-page .breadcrumb { color: var(--blog-text-muted); }
body.blog-page .breadcrumb a { color: var(--blog-text-muted); }
body.blog-page .breadcrumb a:hover { color: var(--blog-accent); }
body.blog-page .breadcrumb-sep { color: #ccc; }
body.blog-page .breadcrumb-current { color: var(--blog-text); }

/* Article header */
body.blog-page .article-cat-badge {
  background: var(--blog-category-pill-bg);
  border-color: var(--blog-category-pill-bg);
  color: var(--blog-category-pill-text);
}
body.blog-page .article-title { color: var(--blog-heading); }
body.blog-page .article-meta-row { border-bottom-color: var(--blog-border); }
body.blog-page .article-author-name { color: var(--blog-text); }
body.blog-page .article-meta-item { color: var(--blog-text-muted); }
body.blog-page .article-meta-item svg { color: var(--blog-accent); }

/* Prose — VaynerMedia-inspired editorial type scale */
body.blog-page .article-prose {
  font-size: clamp(0.9375rem, 0.875rem + 0.179vw, 1rem);
  max-width: 792px;
}
body.blog-page .article-prose p {
  color: var(--blog-text);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
body.blog-page .article-prose h2 {
  color: var(--blog-heading);
  border-top-color: var(--blog-border);
  font-size: clamp(1.4rem, 1.4rem + 1.5vw, 2rem);
  margin-top: 4rem;
  line-height: 1.2;
}
body.blog-page .article-prose h3 {
  color: var(--blog-heading);
  margin-top: 2.5rem;
  font-size: clamp(1.1rem, 1.1rem + 0.5vw, 1.35rem);
}
body.blog-page .article-prose strong { color: var(--blog-text); font-weight: 700; }
body.blog-page .article-prose a {
  color: var(--blog-accent);
  text-decoration: none;
}
body.blog-page .article-prose a:hover {
  color: var(--blog-accent-hover);
  text-decoration: underline;
}
body.blog-page .article-prose li { color: var(--blog-text); }

/* Blockquote / pull quote */
body.blog-page .article-prose blockquote {
  border-left: 4px solid var(--blog-pullquote-border);
  background: rgba(30,58,138,0.04);
  border-radius: 0 4px 4px 0;
  font-style: italic;
  font-size: 1.375rem;
  line-height: 1.5;
}
body.blog-page .article-prose blockquote p {
  color: var(--blog-text);
  margin: 0;
}

/* Highlight / callout box */
body.blog-page .article-highlight {
  background: rgba(30,58,138,0.05);
  border-color: rgba(30,58,138,0.15);
}
body.blog-page .article-highlight p { color: var(--blog-text); }

/* Share section */
body.blog-page .share-section {
  background: #f5f5f8;
  border-color: var(--blog-border);
}
body.blog-page .share-label { color: var(--blog-text-muted); }
body.blog-page .share-btn {
  color: var(--blog-text-muted);
  border-color: var(--blog-border);
  background: #fff;
}
body.blog-page .share-btn:hover { color: var(--blog-text); border-color: #bbb; background: #f0f0f0; }

/* Author bio card */
body.blog-page .author-bio-card {
  background: #f5f5f8;
  border-color: var(--blog-border);
}
body.blog-page .author-bio-name { color: var(--blog-heading); }
body.blog-page .author-bio-role { color: var(--blog-accent); }
body.blog-page .author-bio-text { color: var(--blog-text-muted); }

/* Sidebar */
body.blog-page .sidebar-card {
  background: #f5f5f8;
  border-color: var(--blog-border);
}
body.blog-page .sidebar-card h4 { color: var(--blog-heading); }
body.blog-page .sidebar-card p { color: var(--blog-text-muted); }

/* CTA banner — stays MFP navy on white section wrapper */
body.blog-page .cta-banner {
  background: var(--blog-cta-bg);
  border-color: transparent;
  box-shadow: 0 8px 40px rgba(30,58,138,0.25);
}
body.blog-page .cta-banner h2 { color: var(--blog-cta-text); }
body.blog-page .cta-banner p { color: rgba(255,255,255,0.85); }
body.blog-page .cta-banner::before {
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

/* Related section + related cards */
body.blog-page .related-section { background: var(--blog-bg); }
body.blog-page .related-section h2 { color: var(--blog-heading); }
body.blog-page .card.related-card {
  background: #fff;
  border-color: var(--blog-border);
}
body.blog-page .card.related-card:hover {
  border-color: rgba(30,58,138,0.22);
  background: #fff;
}
body.blog-page .related-card-cat { color: var(--blog-accent); }
body.blog-page .related-card h4 { color: var(--blog-heading); }
body.blog-page .related-card-meta { color: var(--blog-text-muted); }
body.blog-page .related-card-link { color: var(--blog-accent); }
body.blog-page .related-card:hover .related-card-link { color: var(--blog-accent-hover); }

/* === LEGAL PAGES === */

.legal-page {
  background: var(--black);
  color: rgba(255,255,255,0.85);
  min-height: 100vh;
  padding: calc(var(--nav-h) + 4rem) 1.5rem 5rem;
}

.legal-container {
  max-width: 800px;
  margin: 0 auto;
}

.legal-header {
  margin-bottom: 3rem;
  border-bottom: 1px solid rgba(107,138,216,0.2);
  padding-bottom: 2rem;
}

.legal-header h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.legal-updated {
  font-size: 0.875rem;
  color: var(--neutral);
  font-style: italic;
}

.legal-body section {
  margin-bottom: 2.5rem;
}

.legal-body h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--white);
  margin-top: 3rem;
  margin-bottom: 1rem;
}

.legal-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.legal-body p {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.75);
  margin-bottom: 1.25rem;
}

.legal-list {
  list-style: disc;
  padding-left: 1.5rem;
  margin: 1rem 0 1.25rem;
}

.legal-list li {
  margin-bottom: 0.5rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.65;
}

.legal-list li strong {
  color: var(--white);
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9rem;
}

.legal-table th {
  background: var(--blue);
  color: var(--white);
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 600;
}

.legal-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.75);
}

.legal-body a {
  color: var(--blue-300);
  transition: color var(--transition);
}
.legal-body a:hover {
  color: var(--green);
  text-decoration: underline;
  text-decoration-color: rgba(61,253,152,0.4);
}

/* ── TRUSTPILOT TRUST BAND ─────────────────────────────────── */
.trustpilot-band {
  padding: 4rem 0;
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.trustpilot-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}

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

.tp-star {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.tp-wordmark {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  letter-spacing: -0.04em;
  line-height: 1;
}

.tp-headline {
  font-size: 1.25rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  max-width: 480px;
  line-height: 1.5;
  margin: 0;
}

.tp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #00B67A;
  color: #07001f;
  font-size: 0.9375rem;
  font-weight: 700;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  text-decoration: none;
  transition: filter var(--transition), transform var(--transition);
}

.tp-btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  color: #07001f;
  text-decoration: none;
}

/* ── COOKIE CONSENT BANNER ─────────────────────────────────── */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--dark-blue);
  border-top: 1px solid rgba(30,58,138,0.6);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  box-shadow: 0 -4px 24px rgba(0,0,0,0.4);
}

#cookie-banner.cookie-banner--visible {
  transform: translateY(0);
}

#cookie-banner.cookie-banner--out {
  transform: translateY(100%);
}

.cookie-msg {
  flex: 1;
  min-width: 200px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.8);
  margin: 0;
  line-height: 1.5;
}

.cookie-btns {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.btn-cookie-accept {
  background: var(--green);
  color: var(--black);
  border: none;
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity var(--transition);
}

.btn-cookie-accept:hover { opacity: 0.85; }

.btn-cookie-reject {
  background: transparent;
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition);
}

.btn-cookie-reject:hover {
  border-color: rgba(255,255,255,0.6);
  color: rgba(255,255,255,0.9);
}

@media (max-width: 480px) {
  #cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 1rem;
  }
  .cookie-btns { width: 100%; }
  .btn-cookie-accept, .btn-cookie-reject { flex: 1; text-align: center; }
}
