/* ============================================================
   DARAN IT CONSULTING — Design System CSS
   Tokens, variables, typographie, composants
   @version 1.0 | 2025
   ============================================================ */

/* ─── @font-face Inter auto-hébergé ──────────────────────── */
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-Medium.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-SemiBold.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-Bold.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-ExtraBold.woff2') format('woff2');
  font-weight: 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('../fonts/JetBrainsMono-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}

/* ─── CSS Custom Properties ─────────────────────────────── */
:root {
  /* Palette DARAN */
  --color-navy:          #011627;
  --color-navy-medium:   #0F283C;
  --color-navy-light:    #1A3A55;
  --color-blue:          #4D69FA;
  --color-blue-light:    #7B8FFF;
  --color-blue-dark:     #3A56E8;
  --color-orange:        #FF6B00;
  --color-orange-light:  #FF8C33;
  --color-orange-pale:   rgba(255,107,0,.12);
  --color-white:         #FFFFFF;
  --color-text-muted:    #B7C5D3;
  --color-success:       #2ECC71;
  --color-error:         #E74C3C;
  --color-warning:       #F39C12;
  --color-neutral-900:   #1A202C;
  --color-neutral-800:   #2D3748;
  --color-neutral-300:   #E2E8F0;
  --color-neutral-200:   #F7F8FA;

  /* Glassmorphism */
  --glass-bg:            rgba(15, 40, 60, 0.60);
  --glass-border:        rgba(77, 105, 250, 0.15);
  --glass-border-hover:  rgba(77, 105, 250, 0.35);
  --glass-blur:          blur(12px);

  /* Typographie */
  --font-display:        'Inter', system-ui, sans-serif;
  --font-body:           'Inter', system-ui, sans-serif;
  --font-mono:           'JetBrains Mono', 'Fira Code', monospace;

  /* Typescale 1.25 Major Third */
  --text-xs:    clamp(0.688rem, 0.66rem + 0.14vw, 0.75rem);
  --text-sm:    clamp(0.813rem, 0.78rem + 0.17vw, 0.875rem);
  --text-base:  clamp(0.938rem, 0.9rem + 0.19vw, 1rem);
  --text-md:    clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --text-lg:    clamp(1.125rem, 1.07rem + 0.27vw, 1.25rem);
  --text-xl:    clamp(1.25rem, 1.17rem + 0.4vw, 1.563rem);
  --text-2xl:   clamp(1.563rem, 1.44rem + 0.61vw, 1.953rem);
  --text-3xl:   clamp(1.953rem, 1.76rem + 0.96vw, 2.441rem);
  --text-4xl:   clamp(2.441rem, 2.15rem + 1.45vw, 3.052rem);
  --text-5xl:   clamp(3.052rem, 2.55rem + 2.51vw, 3.815rem);
  --text-hero:  clamp(2.5rem, 1.8rem + 3.5vw, 4.5rem);

  /* Espacements base 8px */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  24px;
  --space-6:  32px;
  --space-8:  48px;
  --space-10: 64px;
  --space-12: 80px;
  --space-16: 96px;
  --space-20: 128px;

  /* Ombres */
  --shadow-1:     0 1px 3px rgba(0,0,0,.25);
  --shadow-2:     0 4px 16px rgba(0,0,0,.35);
  --shadow-3:     0 8px 32px rgba(0,0,0,.4);
  --shadow-4:     0 16px 64px rgba(0,0,0,.45);
  --shadow-blue:  0 0 24px rgba(77,105,250,.35);
  --shadow-orange: 0 0 32px rgba(255,107,0,.25);

  /* Bordures */
  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast:   150ms ease;
  --transition-base:   250ms ease;
  --transition-slow:   400ms ease;

  /* Layout */
  --max-width:  1200px;
  --header-h:   72px;
}

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

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

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-white);
  background-color: var(--color-navy);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

/* ─── Skip Link ──────────────────────────────────────────── */
.skip-link {
  position: absolute; top: -100%; left: var(--space-4);
  background: var(--color-blue); color: var(--color-white);
  padding: var(--space-2) var(--space-4); border-radius: var(--radius-sm);
  font-weight: 600; z-index: 9999;
  transition: top var(--transition-fast);
}
.skip-link:focus { top: var(--space-4); }

/* ─── Particles background ───────────────────────────────── */
#particles-js {
  position: fixed; inset: 0; z-index: -1;
  width: 100%; height: 100%;
}

/* ─── Container ──────────────────────────────────────────── */
.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* ─── Header ─────────────────────────────────────────────── */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--header-h);
  background: rgba(1,22,39,.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: background var(--transition-base), box-shadow var(--transition-base);
}
.header.scrolled {
  background: rgba(1,22,39,.97);
  box-shadow: var(--shadow-2);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%;
}
.header__logo { display: flex; align-items: center; gap: var(--space-3); }
.header__logo svg { width: 160px; height: auto; }
.header__logo-ring { animation: pulse-ring 3s ease-in-out infinite; }
@keyframes pulse-ring {
  0%, 100% { transform-origin: center; transform: scale(1); opacity: 1; }
  50%        { transform: scale(1.08); opacity: .85; }
}

/* ─── Navigation ─────────────────────────────────────────── */
.nav__list { display: flex; gap: var(--space-1); align-items: center; }
.nav__link {
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm); font-weight: 500;
  color: var(--color-text-muted);
  transition: color var(--transition-fast), background var(--transition-fast);
  position: relative;
}
.nav__link::after {
  content: ''; position: absolute; bottom: 0; left: 50%; right: 50%;
  height: 2px; background: var(--color-orange);
  border-radius: var(--radius-full);
  transition: left var(--transition-base), right var(--transition-base);
}
.nav__link:hover,
.nav__link.active { color: var(--color-white); }
.nav__link.active::after { left: var(--space-3); right: var(--space-3); }

/* CTA nav */
.nav__cta {
  margin-left: var(--space-3);
  background: var(--color-orange);
  color: var(--color-white) !important;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-weight: 600; font-size: var(--text-sm);
  transition: background var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}
.nav__cta:hover {
  background: var(--color-orange-light);
  box-shadow: var(--shadow-orange);
  transform: translateY(-1px);
}
.nav__cta::after { display: none !important; }

/* Mobile menu toggle */
.nav__toggle {
  display: none;
  flex-direction: column; gap: 5px; padding: var(--space-2);
}
.nav__toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--color-white); border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-fast);
}
.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); }

/* ─── Hero ───────────────────────────────────────────────── */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: calc(var(--header-h) + var(--space-16)) 0 var(--space-16);
  position: relative; overflow: hidden;
}
.hero__glow {
  position: absolute; top: 20%; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 600px;
  background: radial-gradient(ellipse at center, rgba(255,107,0,.08) 0%, rgba(77,105,250,.06) 40%, transparent 70%);
  pointer-events: none;
}
.hero__content { text-align: center; max-width: 820px; margin: 0 auto; position: relative; }
.hero__badge {
  display: inline-flex; align-items: center; gap: var(--space-2);
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  padding: var(--space-2) var(--space-4); border-radius: var(--radius-full);
  font-size: var(--text-xs); color: var(--color-text-muted);
  backdrop-filter: blur(8px); margin-bottom: var(--space-5);
}
.hero__badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--color-success); animation: blink 2s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }

.hero__title {
  font-size: var(--text-hero); font-weight: 800; line-height: 1.1;
  letter-spacing: -.03em; margin-bottom: var(--space-5);
}
.hero__title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--color-orange) 0%, var(--color-orange-light) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__subtitle {
  font-size: var(--text-lg); color: var(--color-text-muted); line-height: 1.7;
  max-width: 620px; margin: 0 auto var(--space-8);
}
.hero__actions { display: flex; gap: var(--space-4); justify-content: center; flex-wrap: wrap; }

/* ─── Boutons ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-full); font-weight: 600;
  font-size: var(--text-sm); line-height: 1;
  transition: all var(--transition-base);
  cursor: pointer; white-space: nowrap;
}
.btn--primary {
  background: var(--color-blue); color: var(--color-white);
  box-shadow: 0 4px 20px rgba(77,105,250,.35);
}
.btn--primary:hover {
  background: var(--color-blue-dark);
  box-shadow: var(--shadow-blue);
  transform: translateY(-2px) scale(1.02);
}
.btn--accent {
  background: var(--color-orange); color: var(--color-white);
  box-shadow: 0 4px 20px rgba(255,107,0,.3);
}
.btn--accent:hover {
  background: var(--color-orange-light);
  box-shadow: var(--shadow-orange);
  transform: translateY(-2px) scale(1.02);
}
.btn--outline {
  background: transparent; color: var(--color-white);
  border: 1.5px solid rgba(255,255,255,.25);
}
.btn--outline:hover {
  border-color: var(--color-blue);
  background: rgba(77,105,250,.1);
  transform: translateY(-2px);
}
.btn--ghost {
  background: transparent; color: var(--color-blue);
  padding: var(--space-2) 0;
}
.btn--ghost:hover { text-decoration: underline; }
.btn--sm { padding: var(--space-2) var(--space-4); font-size: var(--text-xs); }
.btn--lg { padding: var(--space-4) var(--space-8); font-size: var(--text-md); }

/* ─── Stats banner ───────────────────────────────────────── */
.stats {
  padding: var(--space-8) 0;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}
.stats__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: var(--space-5); }
.stats__item { text-align: center; padding: var(--space-4); }
.stats__number {
  font-size: var(--text-4xl); font-weight: 800; line-height: 1;
  background: linear-gradient(135deg, var(--color-orange), var(--color-orange-light));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block; margin-bottom: var(--space-2);
}
.stats__label { font-size: var(--text-sm); color: var(--color-text-muted); }

/* ─── Section titre ──────────────────────────────────────── */
.section { padding: var(--space-16) 0; }
.section--alt {
  background: rgba(1,22,39,.55);
  backdrop-filter: blur(6px);
}
.section__header { text-align: center; max-width: 700px; margin: 0 auto var(--space-10); }
.section__eyebrow {
  display: inline-block; font-size: var(--text-xs); font-weight: 600;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--color-orange); margin-bottom: var(--space-3);
}
.section__title {
  font-size: var(--text-4xl); font-weight: 700; line-height: 1.2;
  margin-bottom: var(--space-4);
}
.section__subtitle { font-size: var(--text-md); color: var(--color-text-muted); line-height: 1.7; }

/* ─── Service Cards ──────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-5);
}
.service-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  backdrop-filter: var(--glass-blur);
  transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
  position: relative; overflow: hidden;
  text-decoration: none; display: block; color: inherit;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-blue), transparent);
  opacity: 0; transition: opacity var(--transition-base);
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--glass-border-hover);
  box-shadow: var(--shadow-2), var(--shadow-blue);
}
.service-card:hover::before { opacity: 1; }

.service-card__icon {
  width: 60px; height: 60px; border-radius: var(--radius-md);
  background: rgba(77,105,250,.15); display: flex;
  align-items: center; justify-content: center;
  font-size: 1.75rem; margin-bottom: var(--space-4);
  transition: background var(--transition-base);
}
.service-card:hover .service-card__icon { background: rgba(77,105,250,.25); }
.service-card__title { font-size: var(--text-xl); font-weight: 600; margin-bottom: var(--space-3); }
.service-card__desc { font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.7; margin-bottom: var(--space-4); }
.service-card__link {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-size: var(--text-sm); font-weight: 600; color: var(--color-blue);
  transition: gap var(--transition-fast);
}
.service-card:hover .service-card__link { gap: var(--space-3); }

/* ─── Blog card ──────────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-5);
}
.article-card {
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg); overflow: hidden;
  backdrop-filter: var(--glass-blur);
  transition: transform var(--transition-base), border-color var(--transition-base);
}
.article-card:hover { transform: translateY(-4px); border-color: var(--glass-border-hover); }
.article-card__img { aspect-ratio: 16/9; overflow: hidden; background: var(--color-navy-medium); }
.article-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); }
.article-card:hover .article-card__img img { transform: scale(1.05); }
.article-card__body { padding: var(--space-5); }
.article-card__category {
  display: inline-block; font-size: var(--text-xs); font-weight: 600;
  text-transform: uppercase; letter-spacing: .08em;
  padding: 3px var(--space-3); border-radius: var(--radius-full);
  margin-bottom: var(--space-3);
}
.article-card__title { font-size: var(--text-lg); font-weight: 600; line-height: 1.35; margin-bottom: var(--space-3); }
.article-card__excerpt { font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.6; margin-bottom: var(--space-4); }
.article-card__meta {
  display: flex; align-items: center; gap: var(--space-3);
  font-size: var(--text-xs); color: var(--color-text-muted);
}

/* ─── Forms ──────────────────────────────────────────────── */
.form-group { margin-bottom: var(--space-5); }
.form-label {
  display: block; font-size: var(--text-sm); font-weight: 500;
  margin-bottom: var(--space-2); color: var(--color-white);
}
.form-label .required { color: var(--color-orange); margin-left: 3px; }
.form-control {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  background: rgba(1,22,39,.6);
  border: 1.5px solid rgba(77,105,250,.25);
  border-radius: var(--radius-md);
  color: var(--color-white); font-size: var(--text-base);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  appearance: none;
}
.form-control::placeholder { color: rgba(183,197,211,.5); }
.form-control:focus {
  outline: none;
  border-color: var(--color-blue);
  box-shadow: 0 0 0 3px rgba(77,105,250,.2);
}
.form-control.error { border-color: var(--color-error); }
textarea.form-control { resize: vertical; min-height: 140px; }
.form-hint { font-size: var(--text-xs); color: var(--color-text-muted); margin-top: var(--space-1); }
.form-error { font-size: var(--text-xs); color: var(--color-error); margin-top: var(--space-1); }
.hp-field { display: none !important; position: absolute; left: -9999px; }

/* ─── Toast notifications ───────────────────────────────── */
.toast-container {
  position: fixed; top: calc(var(--header-h) + var(--space-4)); right: var(--space-5);
  z-index: 9000; display: flex; flex-direction: column; gap: var(--space-3);
  pointer-events: none;
}
.toast {
  display: flex; align-items: center; gap: var(--space-3);
  min-width: 300px; max-width: 420px;
  background: var(--color-navy-medium); border: 1px solid var(--glass-border);
  border-radius: var(--radius-md); padding: var(--space-3) var(--space-4);
  box-shadow: var(--shadow-3); pointer-events: all;
  animation: toast-in var(--transition-base) ease both;
}
.toast.removing { animation: toast-out var(--transition-base) ease both; }
@keyframes toast-in  { from{transform:translateX(120%);opacity:0} to{transform:translateX(0);opacity:1} }
@keyframes toast-out { from{transform:translateX(0);opacity:1}    to{transform:translateX(120%);opacity:0} }
.toast--success .toast__icon { color: var(--color-success); }
.toast--error   .toast__icon { color: var(--color-error); }
.toast--info    .toast__icon { color: var(--color-blue); }
.toast--warning .toast__icon { color: var(--color-warning); }

/* ─── Cookie banner ──────────────────────────────────────── */
.cookie-banner {
  position: fixed; bottom: var(--space-4); left: 50%;
  transform: translateX(-50%);
  width: calc(100% - var(--space-8)); max-width: 900px;
  background: var(--color-navy-medium);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg); padding: var(--space-5) var(--space-6);
  z-index: 8000; box-shadow: var(--shadow-3);
  display: none;
}
.cookie-banner.visible { display: flex; align-items: center; gap: var(--space-6); flex-wrap: wrap; }
.cookie-banner__text { flex: 1; font-size: var(--text-sm); color: var(--color-text-muted); }
.cookie-banner__text a { color: var(--color-blue); text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: var(--space-3); flex-wrap: wrap; }

/* ─── Breadcrumb ─────────────────────────────────────────── */
.breadcrumb {
  display: flex; align-items: center; gap: var(--space-2);
  font-size: var(--text-xs); color: var(--color-text-muted);
  margin-bottom: var(--space-6);
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--color-text-muted); transition: color var(--transition-fast); }
.breadcrumb a:hover { color: var(--color-white); }
.breadcrumb__sep { color: rgba(183,197,211,.4); }
.breadcrumb__current { color: var(--color-white); }

/* ─── Pagination ─────────────────────────────────────────── */
.pagination {
  display: flex; justify-content: center; gap: var(--space-2);
  margin-top: var(--space-10);
}
.pagination a, .pagination span {
  min-width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius-md); font-size: var(--text-sm);
  border: 1px solid var(--glass-border);
  background: var(--glass-bg); color: var(--color-text-muted);
  transition: all var(--transition-fast);
}
.pagination a:hover { border-color: var(--color-blue); color: var(--color-white); }
.pagination .active { background: var(--color-blue); border-color: var(--color-blue); color: var(--color-white); }

/* ─── Tech badges ────────────────────────────────────────── */
.tech-badge {
  display: inline-flex; align-items: center; gap: var(--space-2);
  background: rgba(77,105,250,.12); border: 1px solid rgba(77,105,250,.25);
  padding: var(--space-1) var(--space-3); border-radius: var(--radius-full);
  font-size: var(--text-xs); font-weight: 500; color: var(--color-blue-light);
}

/* ─── Footer ─────────────────────────────────────────────── */
.footer {
  background: rgba(0,10,20,.96);
  border-top: 1px solid rgba(255,255,255,.06);
  padding: var(--space-16) 0 var(--space-8);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-10);
}
.footer__brand p { font-size: var(--text-sm); color: var(--color-text-muted); margin-top: var(--space-4); line-height: 1.7; }
.footer__col h4 { font-size: var(--text-sm); font-weight: 600; margin-bottom: var(--space-4); color: var(--color-white); }
.footer__col ul li { margin-bottom: var(--space-2); }
.footer__col ul li a { font-size: var(--text-sm); color: var(--color-text-muted); transition: color var(--transition-fast); }
.footer__col ul li a:hover { color: var(--color-orange); }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: var(--space-6); border-top: 1px solid rgba(255,255,255,.06);
  font-size: var(--text-xs); color: var(--color-text-muted); flex-wrap: wrap; gap: var(--space-4);
}
.footer__bottom a { color: var(--color-text-muted); }
.footer__bottom a:hover { color: var(--color-white); }

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .stats__grid  { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav__list { display: none; position: fixed; inset: var(--header-h) 0 0 0;
    background: rgba(1,22,39,.97); backdrop-filter: blur(20px);
    flex-direction: column; padding: var(--space-8) var(--space-5);
    gap: var(--space-2); overflow-y: auto; z-index: 999; }
  .nav__list.open { display: flex; }
  .nav__link { font-size: var(--text-md); padding: var(--space-4); }
  .nav__toggle { display: flex; }
  .hero__actions { flex-direction: column; align-items: center; }
  .stats__grid { grid-template-columns: repeat(2,1fr); }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .stats__grid { grid-template-columns: 1fr; }
  .services-grid, .blog-grid { grid-template-columns: 1fr; }
}

/* ─── Animations & utilities ────────────────────────────── */
.fade-in-up {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in-up.visible { opacity: 1; transform: translateY(0); }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ─── Progress bar lecture ───────────────────────────────── */
.reading-progress {
  position: fixed; top: 0; left: 0; z-index: 9999;
  height: 3px; width: 0; background: var(--color-orange);
  transition: width 50ms linear; pointer-events: none;
}
