/* =============================================================================
   Héla Chérif — Modern · Clean Light Minimal + Emerald
   Plus Jakarta Sans (display) + Inter (body)
   ========================================================================== */

:root {
  /* Surfaces */
  --bg: #ffffff;
  --bg-soft: #f3f7f5;          /* light, faint cool-green for alt sections */
  --surface: #ffffff;

  /* Text */
  --ink: #0b1220;             /* headings */
  --text: #45505f;           /* body (~8:1 on white) */
  --muted: #66707e;          /* secondary (~5.6:1) */
  --line: #e7ebf0;
  --line-soft: #eef1f5;

  /* Emerald accent */
  --acc: #059669;            /* decorative / large / icons */
  --acc-strong: #047857;     /* buttons + links + accent text (AA on white) */
  --acc-ink: #064e3b;        /* deep emerald text on tints */
  --acc-bright: #34d399;     /* on dark grounds */
  --acc-soft: #ecfdf5;       /* tint background */
  --acc-soft2: #d9f5e9;

  /* Dark (footer/utility) */
  --dark: #0b1220;
  --on-dark: #e8edf4;

  /* Shape */
  --r-sm: 12px; --r: 16px; --r-lg: 22px; --r-pill: 999px;
  --sh-sm: 0 1px 2px rgba(15,23,42,.06), 0 1px 3px rgba(15,23,42,.05);
  --sh: 0 6px 20px rgba(15,23,42,.07);
  --sh-md: 0 14px 36px rgba(15,23,42,.10);
  --sh-lg: 0 28px 64px rgba(15,23,42,.14);

  /* Type */
  --display: "Plus Jakarta Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --sans: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;

  /* Layout */
  --maxw: 1200px;
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --pad: clamp(4rem, 9vw, 8rem);
  --hh: 74px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* --------------------------------- base -------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hh) + 12px); -webkit-text-size-adjust: 100%; }
body { font-family: var(--sans); font-size: 1.0625rem; line-height: 1.7; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3 { font-family: var(--display); color: var(--ink); letter-spacing: -0.02em; }
:focus-visible { outline: 2px solid var(--acc-strong); outline-offset: 2px; border-radius: 4px; }
.contact :focus-visible { outline-color: #fff; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--pad); }
.section--soft { background: var(--bg-soft); }

.skip-link { position: fixed; top: 12px; left: 50%; transform: translate(-50%, -150%); z-index: 200; background: var(--ink); color: #fff; padding: 0.7rem 1.2rem; border-radius: var(--r-pill); font-size: 0.9rem; transition: transform 0.2s var(--ease); }
.skip-link:focus { transform: translate(-50%, 0); }

/* ------------------------------- buttons ------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem; font-family: var(--sans); font-weight: 600; font-size: 0.95rem; letter-spacing: 0; min-height: 46px; padding: 0.75rem 1.4rem; border-radius: var(--r-pill); transition: transform 0.18s var(--ease), background-color 0.18s, box-shadow 0.18s, color 0.18s, border-color 0.18s; white-space: nowrap; }
.btn__i { width: 18px; height: 18px; }
.btn--primary { background: var(--acc-strong); color: #fff; box-shadow: 0 6px 16px rgba(4,120,87,.22); }
.btn--primary:hover { background: var(--acc-ink); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(4,120,87,.28); }
.btn--ghost { background: var(--bg); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn--ghost:hover { color: var(--acc-strong); box-shadow: inset 0 0 0 1px var(--acc); transform: translateY(-2px); }
.btn--ghost:hover .btn__i { transform: translateX(3px); }
.btn--ghost .btn__i { transition: transform 0.18s var(--ease); }
.btn--lg { min-height: 52px; padding: 0.9rem 1.8rem; font-size: 1rem; }
.btn:active { transform: translateY(0); }

.arrow { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: auto; padding-top: 0.4rem; font-weight: 600; font-size: 0.92rem; color: var(--acc-strong); align-self: flex-start; }
.arrow svg { width: 18px; height: 18px; transition: transform 0.18s var(--ease); }
.arrow:hover svg { transform: translateX(4px); }

/* ------------------------------- header -------------------------------- */
.header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.8); -webkit-backdrop-filter: saturate(160%) blur(12px); backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid transparent; transition: border-color 0.25s, box-shadow 0.25s, background-color 0.25s; }
.header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 20px rgba(15,23,42,.05); background: rgba(255,255,255,0.92); }
.header__inner { height: var(--hh); max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }

.brand { display: inline-flex; align-items: center; gap: 0.65rem; }
.brand__mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: linear-gradient(140deg, var(--acc), var(--acc-ink)); color: #fff; font-family: var(--display); font-weight: 800; font-size: 0.95rem; letter-spacing: -0.03em; box-shadow: 0 4px 12px rgba(4,120,87,.25); }
.brand__name { font-family: var(--display); font-weight: 700; font-size: 1.12rem; color: var(--ink); }

.nav { position: relative; display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); }
.nav__link { font-weight: 500; font-size: 0.94rem; color: var(--muted); padding: 0.5rem 0; transition: color 0.18s; }
.nav__link:hover, .nav__link.is-current { color: var(--ink); }
.nav__underline { position: absolute; bottom: 2px; left: 0; width: 0; height: 2px; border-radius: 2px; background: var(--acc); transition: left 0.28s var(--ease), width 0.28s var(--ease); pointer-events: none; }

.header__right { display: flex; align-items: center; gap: 0.9rem; }
.lang { display: inline-flex; align-items: center; background: var(--bg-soft); border-radius: var(--r-pill); padding: 3px; }
.lang-btn { font-weight: 600; font-size: 0.82rem; letter-spacing: 0.02em; color: var(--muted); padding: 0.5rem 0.8rem; min-height: 40px; min-width: 42px; border-radius: var(--r-pill); transition: background-color 0.18s, color 0.18s; }
.lang-btn.is-active { background: #fff; color: var(--acc-strong); box-shadow: var(--sh-sm); }

.burger { display: none; width: 46px; height: 46px; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border-radius: 12px; }
.burger span { display: block; width: 22px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform 0.28s var(--ease), opacity 0.2s, width 0.2s; }
.burger.is-open span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.burger.is-open span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* mobile menu */
.menu-overlay { position: fixed; inset: 0; z-index: 110; background: rgba(11,18,32,.45); opacity: 0; transition: opacity 0.3s; }
.menu-overlay.is-open { opacity: 1; }
.mobile-menu { position: fixed; top: 0; right: 0; bottom: 0; z-index: 120; width: min(84vw, 360px); background: var(--bg); box-shadow: -20px 0 50px rgba(15,23,42,.18); transform: translateX(100%); transition: transform 0.32s var(--ease); display: flex; flex-direction: column; gap: 1.5rem; padding: calc(var(--hh) + 1.5rem) 1.75rem 2rem; overflow-y: auto; }
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu__nav { display: flex; flex-direction: column; }
.mobile-menu__nav a { font-family: var(--display); font-weight: 600; font-size: 1.3rem; color: var(--ink); padding: 0.85rem 0; border-bottom: 1px solid var(--line-soft); }
.mobile-menu .btn { width: 100%; margin-top: auto; }

/* -------------------------------- eyebrow / shead ---------------------- */
.eyebrow { display: inline-flex; align-items: center; gap: 0.55rem; font-family: var(--sans); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--acc-strong); }
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--acc); }
.eyebrow--on-dark { color: var(--acc-bright); }
.eyebrow--on-dark::before { background: var(--acc-bright); }

.shead { max-width: 60ch; margin-bottom: clamp(2.25rem, 5vw, 3.5rem); }
.shead--center { margin-inline: auto; text-align: center; }
.shead--center .eyebrow { justify-content: center; }
.shead__title { font-weight: 800; font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.1; margin-top: 0.9rem; }
.shead__lead { margin-top: 1.1rem; font-size: 1.15rem; line-height: 1.6; color: var(--muted); max-width: 56ch; }
.shead--center .shead__lead { margin-inline: auto; }

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

/* ================================ HERO ================================= */
.hero { position: relative; padding-top: clamp(3rem, 6vw, 5.5rem); padding-bottom: clamp(3rem, 6vw, 5rem); overflow: hidden; }
.hero__glow { position: absolute; top: -22%; right: -12%; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px; background: radial-gradient(circle, rgba(16,185,129,.16), rgba(16,185,129,0) 62%); pointer-events: none; z-index: 0; }
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--acc-soft); color: var(--acc-ink); font-weight: 600; font-size: 0.85rem; padding: 0.45rem 0.9rem; border-radius: var(--r-pill); }
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 0 4px rgba(5,150,105,.18); }
.hero__title { font-weight: 800; font-size: clamp(2.5rem, 6vw, 4.5rem); line-height: 1.04; margin-top: 1.4rem; }
.hero__title .accent { color: var(--acc-strong); }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); line-height: 1.65; color: var(--muted); margin-top: 1.4rem; max-width: 52ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }
.stats { display: flex; flex-wrap: wrap; gap: clamp(1.25rem, 4vw, 2.75rem); margin-top: 2.75rem; padding-top: 1.75rem; border-top: 1px solid var(--line); }
.stat__num { font-family: var(--display); font-weight: 800; font-size: 1.9rem; line-height: 1; color: var(--ink); letter-spacing: -0.02em; }
.stat__num span { color: var(--acc); }
.stat__label { font-size: 0.84rem; color: var(--muted); margin-top: 0.45rem; max-width: 18ch; }

.hero__media { position: relative; }
.hero__photo { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-lg); aspect-ratio: 4 / 5; background: var(--bg-soft); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.hero__badge { position: absolute; left: -18px; bottom: 26px; display: flex; align-items: center; gap: 0.7rem; background: #fff; border-radius: var(--r); padding: 0.8rem 1rem; box-shadow: var(--sh-md); }
.hero__badge-i { width: 38px; height: 38px; padding: 9px; border-radius: 11px; background: var(--acc-soft); color: var(--acc-strong); flex: none; }
.hero__badge-t { display: block; font-family: var(--display); font-weight: 700; font-size: 0.95rem; color: var(--ink); }
.hero__badge-s { display: block; font-size: 0.8rem; color: var(--muted); }

.trust { position: relative; z-index: 1; display: flex; align-items: center; flex-wrap: wrap; gap: 0.8rem 1.5rem; margin-top: clamp(3rem, 6vw, 5rem); padding-top: 1.75rem; border-top: 1px solid var(--line); }
.trust__label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted); }
.trust__list { display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; }
.trust__list li { font-family: var(--display); font-weight: 600; font-size: 0.95rem; color: var(--ink); opacity: 0.62; }

/* ================================ CARDS (services) ===================== */
.card { display: flex; flex-direction: column; gap: 0.85rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.6rem, 3vw, 2.25rem); box-shadow: var(--sh-sm); transition: transform 0.22s var(--ease), box-shadow 0.22s, border-color 0.22s; }
.card:hover { transform: translateY(-5px); box-shadow: var(--sh-md); border-color: var(--acc-soft2); }
.card__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 15px; background: var(--acc-soft); color: var(--acc-strong); margin-bottom: 0.3rem; }
.card__icon svg { width: 28px; height: 28px; }
.card__title { font-weight: 700; font-size: 1.3rem; }
.card__text { color: var(--text); font-size: 1rem; line-height: 1.65; }
.card--feature { background: linear-gradient(160deg, var(--acc-soft), #fff 80%); border-color: var(--acc-soft2); }
.card--feature .card__icon { background: var(--acc-strong); color: #fff; }

/* ================================ ABOUT =============================== */
.about { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.about__photo { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-md); aspect-ratio: 4 / 5; }
.about__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; filter: grayscale(1) contrast(1.03); }
.about__lead { font-size: 1.18rem; line-height: 1.6; color: var(--text); margin-top: 1.2rem; }
.about__facets { display: flex; flex-direction: column; gap: 1.1rem; margin-top: 1.8rem; }
.about__facets li { display: flex; gap: 0.85rem; }
.about__facets .dot { flex: none; width: 10px; height: 10px; margin-top: 0.5rem; border-radius: 50%; background: var(--acc); box-shadow: 0 0 0 4px var(--acc-soft); }
.about__facets strong { display: block; font-family: var(--display); font-weight: 700; color: var(--ink); font-size: 1.02rem; }
.about__facets span { color: var(--muted); font-size: 0.97rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 2rem; }
.chip { font-size: 0.82rem; font-weight: 500; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 0.45rem 0.9rem; }
.section--soft .chip { background: #fff; }

/* ================================ VALUES ============================= */
.vcard { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.8rem; box-shadow: var(--sh-sm); transition: transform 0.22s var(--ease), box-shadow 0.22s; }
.vcard:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.vcard__n { font-family: var(--display); font-weight: 800; font-size: 1.1rem; color: var(--acc-strong); display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--acc-soft); margin-bottom: 1rem; }
.vcard h3 { font-weight: 700; font-size: 1.2rem; margin-bottom: 0.5rem; }
.vcard p { color: var(--text); font-size: 0.97rem; line-height: 1.6; }

/* ================================ STEPS (mediation) ================== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; counter-reset: step; }
.step { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.8rem; box-shadow: var(--sh-sm); overflow: hidden; transition: transform 0.22s var(--ease), box-shadow 0.22s; }
.step:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.step__n { position: absolute; top: 1rem; right: 1.3rem; font-family: var(--display); font-weight: 800; font-size: 2.6rem; color: var(--acc); opacity: 0.14; letter-spacing: -0.03em; }
.step__ic { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--acc-soft); color: var(--acc-strong); margin-bottom: 1rem; }
.step__ic svg { width: 26px; height: 26px; }
.step h3 { font-weight: 700; font-size: 1.18rem; margin-bottom: 0.45rem; }
.step p { color: var(--text); font-size: 0.96rem; line-height: 1.6; }

/* ================================ TIMELINE ========================== */
.timeline { position: relative; max-width: 780px; margin-inline: auto; padding-left: 0; }
.timeline::before { content: ""; position: absolute; left: 104px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--acc), var(--acc-soft2)); }
.tl { position: relative; display: grid; grid-template-columns: 88px 1fr; gap: 1.5rem; padding: 0.9rem 0; }
.tl__year { font-family: var(--display); font-weight: 700; font-size: 1.05rem; color: var(--acc-strong); text-align: right; padding-top: 0.15rem; }
.tl__dot { position: absolute; left: 104px; top: 1.1rem; width: 12px; height: 12px; border-radius: 50%; background: var(--acc); transform: translateX(-5px); box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--acc-soft); }
.tl__c { padding-left: 1.5rem; }
.tl__c h3 { font-weight: 700; font-size: 1.12rem; line-height: 1.35; }
.tl__c p { color: var(--muted); font-size: 0.95rem; margin-top: 0.25rem; }
.tl__tag { display: inline-block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--acc-strong); background: var(--acc-soft); border-radius: var(--r-pill); padding: 0.2rem 0.65rem; margin-bottom: 0.5rem; }
.tl--key .tl__dot { width: 16px; height: 16px; transform: translateX(-7px); box-shadow: 0 0 0 4px #fff, 0 0 0 7px var(--acc); }

/* ================================ SÉMINAIRES ======================== */
.sem { border-top: 1px solid var(--line); }
.sem__row { display: grid; grid-template-columns: 4.5rem 1fr 15rem; gap: 1.25rem; align-items: center; padding: 1.15rem 0.75rem; border-bottom: 1px solid var(--line); border-radius: 10px; transition: background-color 0.18s; }
.sem__row:hover { background: var(--bg); box-shadow: var(--sh-sm); }
.section--soft .sem__row:hover { background: #fff; }
.sem__y { font-family: var(--display); font-weight: 700; color: var(--acc-strong); }
.sem__t { font-family: var(--display); font-weight: 600; color: var(--ink); font-size: 1.05rem; display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem; }
.sem__p { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--muted); font-size: 0.9rem; }
.sem__p svg { width: 16px; height: 16px; color: var(--acc); flex: none; }
.badge-int { font-family: var(--sans); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--acc-ink); background: var(--acc-soft); border-radius: var(--r-pill); padding: 0.18rem 0.55rem; }

/* ================================ PUBLICATIONS ====================== */
.pub { display: flex; flex-direction: column; gap: 0.6rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.8rem; box-shadow: var(--sh-sm); transition: transform 0.22s var(--ease), box-shadow 0.22s, border-color 0.22s; }
.pub:hover { transform: translateY(-5px); box-shadow: var(--sh-md); border-color: var(--acc-soft2); }
.pub__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.4rem; }
.pub__lang { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; color: var(--acc-ink); background: var(--acc-soft); border-radius: 8px; padding: 0.25rem 0.55rem; }
.pub__year { font-family: var(--display); font-weight: 700; color: var(--muted); }
.pub__title { font-weight: 700; font-size: 1.18rem; line-height: 1.3; }
.pub__meta { font-size: 0.82rem; font-weight: 600; color: var(--acc-strong); }
.pub__text { color: var(--text); font-size: 0.96rem; line-height: 1.6; margin-top: 0.3rem; }

/* ================================ CONTACT =========================== */
.contact { position: relative; color: #fff; background: linear-gradient(135deg, #064e3b 0%, #0b7a5e 52%, #0f766e 100%); overflow: hidden; }
.contact__glow { position: absolute; top: -30%; right: -10%; width: 50vw; height: 50vw; max-width: 620px; background: radial-gradient(circle, rgba(52,211,153,.30), rgba(52,211,153,0) 60%); pointer-events: none; }
.contact__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.contact__title { font-weight: 800; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; color: #fff; margin-top: 0.9rem; }
.contact__lead { font-size: 1.18rem; line-height: 1.6; color: rgba(255,255,255,.85); margin: 1.2rem 0 2rem; max-width: 44ch; }
.contact .btn--primary { background: #fff; color: var(--acc-ink); box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.contact .btn--primary:hover { background: var(--acc-soft); color: var(--acc-ink); }
.contact__note { font-size: 0.88rem; color: rgba(255,255,255,.7); margin-top: 1rem; }
.contact__cards { display: flex; flex-direction: column; gap: 1rem; }
.ccard { display: grid; grid-template-columns: 48px 1fr; grid-template-rows: auto auto; column-gap: 1rem; align-items: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: var(--r); padding: 1.1rem 1.3rem; transition: background-color 0.18s, border-color 0.18s, transform 0.18s var(--ease); }
a.ccard:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.3); transform: translateY(-2px); }
.ccard__i { grid-row: 1 / 3; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 13px; background: rgba(255,255,255,.12); color: var(--acc-bright); }
.ccard__i svg { width: 24px; height: 24px; }
.ccard__l { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,.65); }
.ccard__v { font-family: var(--display); font-weight: 600; font-size: 1.1rem; color: #fff; }

/* ================================ FOOTER =========================== */
.footer { background: var(--bg); border-top: 1px solid var(--line); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2.5rem; }
.brand--footer { margin-bottom: 1rem; }
.footer__role { color: var(--ink); font-weight: 600; font-size: 0.95rem; }
.footer__tag { font-family: var(--display); color: var(--acc-strong); font-weight: 600; margin-top: 0.5rem; }
.footer__h { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.footer__col { display: flex; flex-direction: column; gap: 0.65rem; }
.footer__col a { color: var(--text); font-size: 0.95rem; width: fit-content; transition: color 0.18s; }
.footer__col a:hover { color: var(--acc-strong); }
.footer__loc { color: var(--muted); font-size: 0.95rem; }
.footer__bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.85rem; }

/* ================================ REVEAL ========================== */
html.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
html.js .reveal.is-in { opacity: 1; transform: none; }

/* ================================ RESPONSIVE ====================== */
/* keep the mobile sheet fully out of the desktop tab order */
@media (min-width: 1001px) { .mobile-menu, .menu-overlay { display: none !important; } }

@media (max-width: 1140px) { .header__cta { display: none; } }

@media (max-width: 1024px) {
  .grid-3, .steps { grid-template-columns: repeat(2, 1fr); }
  .sem__row { grid-template-columns: 4rem 1fr 12rem; }
}

/* collapse the bar to a hamburger before the links can crowd (esp. in English) */
@media (max-width: 1000px) {
  .nav { display: none; }
  .header__cta { display: none; }
  .burger { display: flex; }
}

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__media { order: -1; max-width: 420px; margin-inline: auto; }
  .about { grid-template-columns: 1fr; }
  .about__media { max-width: 420px; margin-inline: auto; }
  .contact__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  .grid-3, .steps { grid-template-columns: 1fr; }
  .hero__title { font-size: clamp(2.2rem, 9vw, 3rem); }
  .hero__cta .btn { width: 100%; }
  .stats { gap: 1.25rem 2rem; }
  .timeline::before { left: 5px; }
  .tl { grid-template-columns: 1fr; gap: 0.15rem; padding-left: 1.75rem; }
  .tl__year { text-align: left; }
  .tl__dot { left: 5px; top: 0.4rem; }
  .tl__c { padding-left: 0; }
  .sem__row { grid-template-columns: 1fr; gap: 0.3rem; }
  .sem__y { font-size: 0.85rem; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__badge { left: 8px; }
}

/* ================================ REDUCED MOTION ================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  html.js .reveal { opacity: 1; transform: none; }
}

/* ================================ PRINT ========================== */
@media print {
  .header, .mobile-menu, .menu-overlay, .skip-link, .hero__glow, .contact__glow, .hero__badge { display: none !important; }
  body { color: #000; }
  .contact { background: #fff !important; color: #000 !important; }
  .contact__title, .contact__lead, .ccard__v { color: #000 !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .section { padding-block: 1.5rem; }
}
