/* ==========================================================================
   DZSIEC — DESIGN SYSTEM & MAIN STYLESHEET
   Driss ZUFRI · Freelance IT Support N1/N2 & B2B Customer Care
   Theme: Midnight Slate & Emerald Tech
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&family=Sora:wght@500;600;700;800&display=swap');

:root {
  /* Colors */
  --bg-main: #030712;
  --bg-surface: #0B0F17;
  --bg-card: #0B0F17;
  --bg-elevated: #111827;
  --bg-card-hover: #162032;
  --bg-glass: rgba(11, 15, 23, 0.85);

  --border-subtle: #1F2937;
  --border-light: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(16, 185, 129, 0.4);
  --border-focus: rgba(52, 211, 153, 0.6);

  --emerald: #10B981;
  --emerald-dark: #059669;
  --emerald-glow: rgba(16, 185, 129, 0.2);
  --emerald-glow-strong: rgba(16, 185, 129, 0.4);
  --mint: #34D399;

  --text-primary: #F9FAFB;
  --text-secondary: #9CA3AF;
  --text-muted: #6B7280;
  --text-inverse: #030712;

  /* Typography */
  --font-title: 'Sora', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Spacing & Radius */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 20px 40px -15px rgba(0, 0, 0, 0.8);
  --shadow-emerald: 0 8px 24px -4px rgba(16, 185, 129, 0.35);

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-main);
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

/* Typography elements */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  color: var(--text-primary);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
}

p + p {
  margin-top: 1.2rem;
}

.text-gradient {
  background: linear-gradient(135deg, #FFFFFF 20%, #34D399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-emerald {
  color: var(--emerald);
}

.text-mint {
  color: var(--mint);
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-narrow {
  max-width: 860px;
}

/* Reading Progress Bar (for articles) */
.reading-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--emerald), var(--mint));
  width: 0%;
  z-index: 999;
  transition: width 0.1s;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(3, 7, 18, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  background: rgba(3, 7, 18, 0.92);
  border-bottom-color: var(--border-subtle);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.brand-svg-logo,
.header-logo {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  object-fit: contain;
  flex-shrink: 0;
  display: block;
  background-color: #FFFFFF;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.25);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.brand:hover .brand-svg-logo,
.brand:hover .header-logo {
  transform: scale(1.06);
  box-shadow: 0 0 18px rgba(16, 185, 129, 0.45);
}

.brand-meta {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.brand-dot {
  width: 7px;
  height: 7px;
  background-color: var(--emerald);
  border-radius: var(--radius-full);
  display: inline-block;
  box-shadow: 0 0 10px var(--emerald);
}

.brand-tagline {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

/* Navigation Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 0.4rem 0.2rem;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--emerald);
  border-radius: var(--radius-full);
  box-shadow: 0 0 8px var(--emerald);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 3px;
  gap: 2px;
}

.lang-btn {
  font-family: var(--font-title);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-secondary);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  display: inline-block;
}

.lang-btn.active {
  background: var(--emerald);
  color: #030712;
  box-shadow: 0 2px 8px var(--emerald-glow);
}

.lang-btn:not(.active):hover {
  color: var(--text-primary);
}

/* Hamburger button */
.mobile-toggle {
  display: none;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.mobile-toggle svg {
  width: 22px;
  height: 22px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-title);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--emerald);
  color: #030712;
  box-shadow: var(--shadow-emerald);
}

.btn-primary:hover {
  background: var(--mint);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -4px rgba(52, 211, 153, 0.45);
}

.btn-secondary {
  background: var(--bg-elevated);
  color: var(--text-primary);
  border-color: var(--border-subtle);
}

.btn-secondary:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  color: var(--mint);
  transform: translateY(-2px);
}

.btn-sm {
  font-size: 0.82rem;
  padding: 0.45rem 1rem;
}

.btn-lg {
  font-size: 1.05rem;
  padding: 0.85rem 1.85rem;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 5rem 0 4.5rem;
  background: radial-gradient(ellipse 80% 50% at 50% -10%, rgba(16, 185, 129, 0.12), transparent 70%);
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
}

.hero-glow-blob {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 650px;
  height: 280px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

/* Status Badge */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.28);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--mint);
  margin-bottom: 1.8rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--emerald);
  border-radius: var(--radius-full);
  position: relative;
  box-shadow: 0 0 10px var(--emerald);
}

.pulse-dot::after {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  width: 14px;
  height: 14px;
  border-radius: var(--radius-full);
  background: var(--emerald);
  opacity: 0.6;
  animation: pulse 2s infinite ease-out;
}

@keyframes pulse {
  0% { transform: scale(0.8); opacity: 0.8; }
  100% { transform: scale(2.2); opacity: 0; }
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 780px;
  margin: 0 auto 2.5rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

/* Reassurance Pills */
.reassurance-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.reassurance-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.reassurance-pill svg {
  color: var(--emerald);
  flex-shrink: 0;
}

/* ==========================================================================
   SECTIONS GENERAL
   ========================================================================== */
.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-title);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 0.75rem;
}

.section-header {
  margin-bottom: 3.5rem;
}

.section-header.text-center {
  text-align: center;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  text-wrap: balance;
}

/* ==========================================================================
   SECTION 01: À PROPOS & PHILOSOPHIE
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.about-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}

.about-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--emerald), var(--mint));
}

.philosophy-quote {
  font-family: var(--font-title);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.4;
  margin-bottom: 1.75rem;
  position: relative;
}

.philosophy-pillars {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

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

.pillar-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.pillar-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.pillar-desc {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   SECTION 02: RÉFÉRENCES & SECTEURS
   ========================================================================== */
.references-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.reference-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.reference-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
  background: var(--bg-card-hover);
}

.ref-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--mint);
  background: rgba(16, 185, 129, 0.1);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.ref-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.ref-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-top: auto;
}

/* ==========================================================================
   SECTION 03: SERVICES (6 BLOCS)
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.service-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  transition: all var(--transition-normal);
  position: relative;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-hover);
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.7), 0 0 25px -5px var(--emerald-glow);
  background: var(--bg-card-hover);
}

.service-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all var(--transition-normal);
}

.service-card:hover .service-icon-box {
  background: var(--emerald);
  color: #030712;
  box-shadow: 0 0 20px var(--emerald-glow-strong);
  border-color: var(--emerald);
}

.service-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
}

.service-card-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.service-tags {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.service-tag-pill {
  font-size: 0.75rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

/* ==========================================================================
   STATS BAR
   ========================================================================== */
.stats-banner {
  margin: 4.5rem 0 0;
  background: linear-gradient(135deg, var(--bg-surface) 0%, var(--bg-elevated) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-md);
}

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

.stat-item {
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -1rem;
  top: 15%;
  height: 70%;
  width: 1px;
  background: var(--border-subtle);
}

.stat-number {
  font-family: var(--font-title);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--emerald);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
}

/* ==========================================================================
   SECTION 04: BLOG HIGHLIGHT
   ========================================================================== */
.blog-featured-card {
  background: linear-gradient(135deg, rgba(17, 24, 39, 0.95) 0%, rgba(15, 23, 42, 0.92) 100%);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-normal);
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  margin-bottom: 2.5rem;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.7);
}

.blog-featured-card:hover {
  border-color: rgba(16, 185, 129, 0.45);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), 0 0 35px -8px var(--emerald-glow);
}

.blog-featured-body {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-meta-strip {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.blog-cat-badge {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--mint);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.badge-dot {
  width: 7px;
  height: 7px;
  background: var(--emerald);
  border-radius: var(--radius-full);
  display: inline-block;
  box-shadow: 0 0 8px var(--emerald);
  animation: pulseEmeraldDot 2.5s infinite ease-in-out;
}

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

.blog-date {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
}

.blog-reading-time {
  font-size: 0.85rem;
  color: var(--mint);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(16, 185, 129, 0.08);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(16, 185, 129, 0.15);
}

.blog-featured-title {
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 1rem;
}

.blog-featured-title a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.blog-featured-title a:hover {
  color: var(--mint);
}

.blog-featured-excerpt {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 2rem;
}

.blog-featured-actions {
  margin-top: auto;
}

.btn-featured {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all var(--transition-normal);
}

.btn-featured .btn-arrow {
  transition: transform var(--transition-normal);
}

.btn-featured:hover .btn-arrow {
  transform: translateX(5px);
}

/* Highlights Panel (replaces fake terminal widget) */
.blog-featured-highlights {
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.06) 0%, rgba(11, 15, 23, 0.85) 100%);
  border-left: 1px solid rgba(16, 185, 129, 0.15);
  padding: 2.75rem 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.highlights-panel {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.highlights-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.highlights-title-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--mint);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.highlights-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.highlights-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: rgba(17, 24, 39, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.highlights-item:hover {
  border-color: rgba(16, 185, 129, 0.35);
  background: rgba(17, 24, 39, 0.85);
}

.check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.2);
  color: var(--emerald);
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.highlights-item strong {
  display: block;
  font-size: 0.92rem;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}

.highlights-item p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin: 0;
}

.highlights-metric {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.metric-val {
  font-family: var(--font-title);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--mint);
}

.metric-lbl {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.35;
}

/* Secondary blog cards grid */
.blog-grid-secondary {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.blog-card-small {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.blog-card-small:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.blog-card-small-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0.85rem 0;
  line-height: 1.35;
}

.blog-card-small-title a:hover {
  color: var(--mint);
}

/* ==========================================================================
   SECTION 05: CONTACT
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 3rem;
  align-items: flex-start;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.contact-method-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  transition: all var(--transition-normal);
}

.contact-method-card:hover {
  border-color: var(--border-hover);
  transform: translateX(4px);
  background: var(--bg-card-hover);
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-method-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.contact-method-value {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* Contact Form */
.contact-form-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.75rem;
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: 1.4rem;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.15rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--emerald);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
  background: #131c2e;
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-alert-success {
  display: none;
  padding: 1.2rem;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid var(--emerald);
  border-radius: var(--radius-sm);
  color: var(--mint);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.form-alert-error {
  display: none;
  padding: 1.2rem;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid #ef4444;
  border-radius: var(--radius-sm);
  color: #fca5a5;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.form-alert-error a {
  color: #ffffff;
  text-decoration: underline;
  font-weight: 600;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   BLOG POST & ARTICLE STYLES
   ========================================================================== */
.article-header {
  padding: 4.5rem 0 3rem;
  border-bottom: 1px solid var(--border-light);
  background: radial-gradient(ellipse 70% 40% at 50% 0%, rgba(16, 185, 129, 0.1), transparent 70%);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.breadcrumb a:hover {
  color: var(--emerald);
}

.article-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.article-meta-bar {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 1rem 0;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.article-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.article-body {
  padding: 3.5rem 0 5rem;
}

.article-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #D1D5DB;
}

.article-content h2 {
  font-size: 1.85rem;
  margin: 3rem 0 1.25rem;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.75rem;
}

.article-content h3 {
  font-size: 1.4rem;
  margin: 2rem 0 0.85rem;
  color: var(--mint);
}

.article-content p {
  color: #D1D5DB;
  margin-bottom: 1.5rem;
  font-size: 1.08rem;
}

.article-content ul, .article-content ol {
  margin: 1.25rem 0 1.75rem 1.5rem;
  color: #D1D5DB;
}

.article-content li {
  margin-bottom: 0.6rem;
  padding-left: 0.35rem;
}

/* Callouts */
.callout {
  background: var(--bg-surface);
  border-left: 4px solid var(--emerald);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.5rem;
  margin: 2rem 0;
  box-shadow: var(--shadow-sm);
}

.callout-title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--mint);
  margin-bottom: 0.5rem;
}

.callout p {
  margin-bottom: 0;
  font-size: 0.98rem;
  color: var(--text-secondary);
}

/* Comparison Tables */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin: 2rem 0;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--bg-surface);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.data-table th {
  background: var(--bg-elevated);
  color: var(--mint);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

.data-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.95rem;
  color: #E5E7EB;
}

.data-table tr:last-child td {
  border-bottom: none;
}

.data-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

/* Author Box */
.author-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  margin-top: 4rem;
  display: flex;
  gap: 1.75rem;
  align-items: center;
}

.author-avatar-wrap {
  flex-shrink: 0;
}

.author-name {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.author-role {
  font-size: 0.85rem;
  color: var(--emerald);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.author-bio {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #02050c;
  border-top: 1px solid var(--border-subtle);
  padding: 4.5rem 0 2.5rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin: 1.2rem 0;
  line-height: 1.6;
  max-width: 320px;
}

.footer-heading {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.footer-link:hover {
  color: var(--emerald);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .references-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 76px;
    left: 0;
    width: 100%;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-subtle);
    padding: 1.5rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    transform: translateY(-150%);
    transition: transform var(--transition-normal);
    box-shadow: var(--shadow-lg);
  }

  .nav-menu.open {
    transform: translateY(0);
  }

  .mobile-toggle {
    display: inline-flex;
  }

  .about-grid,
  .contact-grid,
  .blog-featured-card {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .references-grid,
  .stats-grid,
  .blog-grid-secondary,
  .form-row {
    grid-template-columns: 1fr;
  }

  .stat-item:not(:last-child)::after {
    display: none;
  }

  .blog-featured-highlights {
    border-left: none;
    border-top: 1px solid rgba(16, 185, 129, 0.15);
    padding: 2rem 1.5rem;
  }

  .author-box {
    flex-direction: column;
    text-align: center;
  }
}
/* Localized service detail pages and contextual resource links */
.service-detail-link { display: inline-block; margin-top: 1.1rem; color: var(--mint); font-weight: 700; }
.service-detail-link:hover, .related-resources a:hover, .service-sibling-links a:hover { color: var(--text-primary); }
.service-page-lead { margin: 1.25rem 0 1.75rem; color: var(--text-secondary); font-size: 1.15rem; line-height: 1.8; }
.service-detail-content { max-width: 820px; margin: 0 auto; }
.service-detail-block { padding: 1.4rem 0; border-bottom: 1px solid var(--border-subtle); }
.service-detail-block h2 { margin-bottom: .8rem; }
.service-detail-block p, .service-detail-block li { color: var(--text-secondary); }
.service-sibling-links { margin: .8rem 0 0 1.25rem; }
.service-sibling-links li { margin: .45rem 0; }
.service-sibling-links a, .service-detail-block > p a { color: var(--mint); font-weight: 600; }
.service-contact-cta { margin-top: 2rem; padding: 2rem; border: 1px solid var(--border-hover); border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--bg-surface), var(--bg-elevated)); }
.service-contact-cta h1, .service-contact-cta h2 { margin-bottom: .8rem; }
.service-contact-cta p { margin-bottom: 1.2rem; }
.related-resources { margin: 2.5rem 0; padding: 1.5rem; border: 1px solid var(--border-subtle); border-radius: var(--radius-md); background: var(--bg-surface); }
.related-resources h2 { margin: 0 0 .8rem; font-size: 1.25rem; }
.related-resources ul { margin-left: 1.25rem; }
.related-resources li { margin: .45rem 0; }
.related-resources a { color: var(--mint); font-weight: 600; }
