/* ============================================================
   IT CrossWorld – Stylesheet
   ============================================================ */

:root {
  /* ── Brand: IT CrossWorld crimson palette ── */
  --red:        #C8102E;   /* primary brand red  */
  --red-dk:     #A30D25;   /* hover / dark red   */
  --red-light:  #F9E8EB;   /* tint bg            */
  --charcoal:   #1A1A2E;   /* deep dark (hero bg)*/
  --charcoal2:  #2A2A3E;   /* secondary dark     */
  --dark-text:  #1F2937;   /* body text          */
  --gray:       #6B7280;   /* muted text         */
  --light-bg:   #F5F5F7;   /* section bg         */
  --white:      #FFFFFF;
  --border:     #E5E8EE;
  --radius:     8px;
  --shadow:     0 4px 24px rgba(0,0,0,.10);
  --transition: .28s ease;

  /* ── Legacy aliases used throughout sheet ── */
  --navy:      var(--charcoal);
  --navy-mid:  var(--charcoal2);
  --blue:      #8C1020;   /* mid red for gradients */
  --accent:    var(--red);
  --accent-dk: var(--red-dk);
  --text:      var(--dark-text);
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
}
img { max-width: 100%; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Typography ─────────────────────────────────────────────── */
h1,h2,h3,h4 { font-weight: 700; line-height: 1.25; }
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }
p  { max-width: 70ch; }

.section-label {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .75rem;
}
.section-title { color: var(--navy); margin-bottom: 1rem; }
.section-intro  { color: var(--gray); font-size: 1.08rem; max-width: 65ch; }

/* ── Layout helpers ─────────────────────────────────────────── */
.container      { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 1.5rem; }
.section-pad    { padding: 96px 0; }
.section-pad-sm { padding: 64px 0; }
.text-center    { text-align: center; }
.text-center p  { margin: 0 auto; }
.flex-center    { display: flex; align-items: center; justify-content: center; }

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 1.9rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}
.btn-primary   { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-dk); transform: translateY(-2px); }
.btn-outline   { background: transparent; border-color: var(--white); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--navy); transform: translateY(-2px); }
.btn-navy      { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-mid); transform: translateY(-2px); }

/* ══════════════════════════════════════════════════════════════
   NAVBAR  — white bar matching Wix site style
══════════════════════════════════════════════════════════════ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
#navbar.scrolled { box-shadow: 0 2px 16px rgba(0,0,0,.10); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-logo { display: flex; align-items: center; gap: .75rem; }
/* Real logo image */
.nav-logo-img {
  height: 52px;
  width: auto;
  display: block;
  object-fit: contain;
}
.footer-logo-img {
  height: 44px;
  /* On dark footer, the logo has a white bg — add slight padding */
  background: white;
  border-radius: 6px;
  padding: 3px 6px;
}
.nav-logo-text { font-weight: 700; font-size: 1.2rem; color: var(--red); line-height: 1.2; letter-spacing: -.01em; }
.nav-logo-sub  { font-size: .68rem; font-weight: 400; color: var(--gray); letter-spacing: .04em; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  color: var(--gray);
  font-size: .93rem;
  font-weight: 500;
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: var(--red);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--red); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-cta { margin-left: 1rem; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: .5rem;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ══════════════════════════════════════════════════════════════
   HERO  — photo bg with dark overlay (matches Wix site)
══════════════════════════════════════════════════════════════ */
#hero {
  min-height: 90vh;
  background:
    linear-gradient(to bottom, rgba(20,20,30,.32) 0%, rgba(20,20,30,.48) 100%),
    url('https://static.wixstatic.com/media/a9d5ae_ba33e5a10e2a4d51a12f24eb4fe51b86~mv2.png') center/cover no-repeat;
  background-color: var(--charcoal);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-top: 72px;
}
#hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(200,16,46,.12) 0%, transparent 60%);
  pointer-events: none;
}
#hero::after { content: none; }
.hero-inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 5rem 0;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(200,16,46,.18);
  border: 1px solid rgba(200,16,46,.40);
  border-radius: 50px;
  padding: .4rem 1rem;
  font-size: .82rem;
  font-weight: 600;
  color: #FF8A9A;
  margin-bottom: 1.5rem;
  letter-spacing: .04em;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: #FF8A9A; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.4} }

.hero-title {
  color: var(--white);
  margin-bottom: .6rem;
  line-height: 1.1;
  font-size: clamp(2.6rem, 6vw, 4.2rem);
}
.hero-title span { color: var(--white); }
.hero-slogan {
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 600;
  color: rgba(255,255,255,.88);
  margin-bottom: .75rem;
  letter-spacing: .01em;
}
.hero-desc {
  color: rgba(255,255,255,.75);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  max-width: 52ch;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,.12);
}
.stat-item { text-align: center; }
.stat-num  { font-size: 2rem; font-weight: 800; color: var(--accent); }
.stat-label{ font-size: .82rem; color: rgba(255,255,255,.60); margin-top: .25rem; }

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
/* ── Hero cards: clean vertical stack ──────────────────────── */
.hero-cards-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  max-width: 380px;
}
.hero-cards-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.hero-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px;
  padding: 1.5rem;
  backdrop-filter: blur(12px);
}
.hero-card-main { padding: 1.75rem; }
.hero-card-sub  { padding: 1.1rem; }
.hero-card-icon {
  width: 44px; height: 44px;
  background: rgba(200,16,46,.22);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: .9rem;
}
.hero-card h4 { color: var(--white); margin-bottom: .35rem; font-size: .95rem; }
.hero-card-main h4 { font-size: 1.05rem; margin-bottom: .5rem; }
.hero-card p  { color: rgba(255,255,255,.62); font-size: .8rem; max-width: none; }
.tag-list { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .6rem; }
.tag {
  background: rgba(200,16,46,.15); border: 1px solid rgba(200,16,46,.25);
  color: var(--accent); border-radius: 20px;
  font-size: .72rem; font-weight: 600; padding: .2rem .6rem;
  text-decoration: none; cursor: pointer;
}
a.tag:hover { background: rgba(200,16,46,.28); }
.tag-blue {
  background: rgba(26,74,138,.25); border-color: rgba(26,74,138,.45);
  color: #7AADFF;
}

/* ══════════════════════════════════════════════════════════════
   TRUST BAR
══════════════════════════════════════════════════════════════ */
#trust {
  background: var(--light-bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2rem 0;
}
.trust-inner {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.trust-label { font-size: .82rem; font-weight: 600; color: var(--gray); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.trust-divider { width: 1px; height: 28px; background: var(--border); }
.trust-logos { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; justify-content: center; }
.trust-logo-item {
  font-weight: 700; font-size: .95rem; color: #9CA3AF;
  letter-spacing: .04em;
  transition: color var(--transition);
  text-decoration: none; cursor: pointer;
}
.trust-logo-item:hover { color: var(--accent); }

/* ══════════════════════════════════════════════════════════════
   SERVICES
══════════════════════════════════════════════════════════════ */
#services { background: var(--white); }
.services-header { margin-bottom: 4rem; }

.axes-grid {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.axe-block {
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.axe-photo {
  height: 550px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.axe-photo::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.05) 0%, rgba(0,0,0,.30) 55%, rgba(0,0,0,.65) 100%);
}
.axe-header {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 2rem 2.5rem;
  background: linear-gradient(105deg, rgba(13,27,62,.72) 0%, rgba(200,16,46,.72) 55%, rgba(90,10,30,.72) 100%);
  color: var(--white);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
}
.axe-num {
  font-size: 3rem; font-weight: 900;
  color: rgba(255,255,255,.95);
  line-height: 1;
  min-width: 60px;
  text-shadow: 0 2px 12px rgba(0,0,0,.6);
}
.axe-header h3 { font-size: 1.4rem; margin-bottom: .4rem; text-shadow: 0 1px 8px rgba(0,0,0,.6); }
.axe-header p  { color: rgba(255,255,255,.85); font-size: .95rem; max-width: 60ch; text-shadow: 0 1px 6px rgba(0,0,0,.5); }

.axe-body { padding: 2.5rem; }

/* Cards grid inside an axe */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.cards-grid-2 { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }

.service-card {
  background: var(--light-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(200,16,46,.3); }
.service-card:hover::before { transform: scaleX(1); }

.card-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(200,16,46,.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}
.service-card h4 { color: var(--navy); margin-bottom: .5rem; }
.service-card p  { color: var(--gray); font-size: .9rem; max-width: none; }

.service-card .deliverables {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.service-card .deliverables strong { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--navy); }
.service-card .deliverables ul { margin-top: .4rem; }
.service-card .deliverables li {
  font-size: .85rem; color: var(--gray);
  padding: .2rem 0 .2rem 1.1rem;
  position: relative;
}
.service-card .deliverables li::before {
  content: '✓';
  position: absolute; left: 0;
  color: var(--accent); font-weight: 700; font-size: .75rem;
}

/* Diagnostic highlight card */
.diag-card {
  border: 2px solid var(--accent);
  background: linear-gradient(135deg, #fffaf4 0%, var(--light-bg) 100%);
}
.diag-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-size: .75rem; font-weight: 700;
  padding: .25rem .75rem;
  border-radius: 20px;
  margin-bottom: .75rem;
  letter-spacing: .04em;
}
.diag-price {
  font-size: 1.5rem; font-weight: 800; color: var(--navy);
  margin: .75rem 0 .5rem;
}
.diag-duration { font-size: .85rem; color: var(--gray); margin-bottom: 1rem; }

/* Formation cards */
.formation-card {
  background: var(--light-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  transition: var(--transition);
}
.formation-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.formation-num {
  min-width: 36px; height: 36px;
  background: var(--navy);
  color: var(--white);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: .9rem;
}
.formation-content h4 { color: var(--navy); margin-bottom: .3rem; }
.formation-meta {
  display: flex; flex-wrap: wrap; gap: .5rem;
  margin: .5rem 0;
}
.meta-tag {
  background: rgba(13,27,62,.08);
  color: var(--navy);
  font-size: .75rem; font-weight: 600;
  padding: .2rem .6rem;
  border-radius: 20px;
}
.formation-content p { font-size: .87rem; color: var(--gray); max-width: none; }

/* ══════════════════════════════════════════════════════════════
   ABOUT US
══════════════════════════════════════════════════════════════ */
#about { background: var(--light-bg); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.about-left p { color: var(--gray); margin-bottom: 1.2rem; }
.about-caps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}
.cap-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: .75rem;
}
.cap-icon { font-size: 1.4rem; }
.cap-item h4 { font-size: .9rem; color: var(--navy); margin-bottom: .2rem; }
.cap-item p  { font-size: .82rem; color: var(--gray); max-width: none; }

.sectors {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}
.sector-badge {
  display: flex; align-items: center; gap: .5rem;
  background: rgba(13,27,62,.06);
  border: 1px solid rgba(13,27,62,.12);
  border-radius: 8px;
  padding: .5rem 1rem;
  font-size: .88rem; font-weight: 600; color: var(--navy);
}

.vision-card {
  background: linear-gradient(140deg, #1A1A2E 0%, #3D0A16 60%, #5A1020 100%);
  border-radius: 16px;
  padding: 2.5rem;
  color: var(--white);
  position: sticky;
  top: 90px;
}
.vision-icon {
  width: 52px; height: 52px;
  background: rgba(200,16,46,.2);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
}
.vision-card h3 { font-size: 1.4rem; margin-bottom: 1.2rem; }
.vision-card p  { color: rgba(255,255,255,.78); line-height: 1.8; max-width: none; margin-bottom: 1rem; }
.vision-pillars {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.vision-pillar {
  display: flex; align-items: flex-start; gap: .75rem;
  padding: .75rem 1rem;
  background: rgba(255,255,255,.07);
  border-radius: 8px;
  border-left: 3px solid var(--accent);
}
.vision-pillar-text h5 { color: var(--white); font-size: .9rem; margin-bottom: .15rem; }
.vision-pillar-text p  { color: rgba(255,255,255,.6); font-size: .82rem; max-width: none; margin: 0; }

/* ══════════════════════════════════════════════════════════════
   REFERENCES
══════════════════════════════════════════════════════════════ */
#references { background: var(--white); }
.references-header { margin-bottom: 3rem; }
.ref-placeholder {
  background: var(--light-bg);
  border: 2px dashed var(--border);
  border-radius: 16px;
  padding: 4rem 2rem;
  text-align: center;
  color: var(--gray);
}
.ref-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}
.ref-card {
  background: var(--light-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  transition: var(--transition);
}
.ref-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.ref-quote {
  font-size: 2.5rem; color: var(--accent); line-height: 1;
  margin-bottom: .5rem;
}
.ref-text { color: var(--gray); font-style: italic; margin-bottom: 1.5rem; max-width: none; }
.ref-client { display: flex; align-items: center; gap: .75rem; }
.ref-avatar {
  width: 42px; height: 42px;
  background: var(--navy);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-weight: 700; font-size: .9rem;
}
.ref-name   { font-weight: 700; color: var(--navy); font-size: .95rem; }
.ref-role   { font-size: .82rem; color: var(--gray); }
.ref-sector {
  display: inline-block;
  margin-bottom: .5rem;
  background: rgba(200,16,46,.12);
  border: 1px solid rgba(200,16,46,.25);
  color: var(--accent);
  font-size: .75rem; font-weight: 700;
  padding: .25rem .8rem;
  border-radius: 20px;
  letter-spacing: .03em;
}
.ref-engagement {
  font-size: .7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .07em; color: var(--gray); margin-bottom: .6rem;
}
.ref-card-title {
  font-size: 1rem; font-weight: 700; color: var(--navy);
  margin: 0 0 1rem; line-height: 1.4;
}
.ref-metrics-row {
  display: flex; gap: .6rem; flex-wrap: wrap; margin-bottom: 1.1rem;
}
.ref-metric-item {
  background: rgba(200,16,46,.07);
  border: 1px solid rgba(200,16,46,.18);
  border-radius: 8px;
  padding: .35rem .7rem;
  font-size: .78rem; line-height: 1.3;
}
.ref-metric-item strong {
  display: block; font-size: 1.1rem; font-weight: 800;
  color: var(--accent); line-height: 1.15;
}
.ref-tech-list {
  margin-top: 1.1rem; padding-top: .9rem;
  border-top: 1px solid var(--border);
  font-size: .78rem; color: var(--gray);
}
.ref-tech-list strong { color: var(--navy); }

/* ══════════════════════════════════════════════════════════════
   CTA BANNER
══════════════════════════════════════════════════════════════ */
#cta-banner {
  background: linear-gradient(120deg, #1A1A2E 0%, #5A0A1E 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
#cta-banner::before {
  content: '';
  position: absolute; top: -50%; right: -10%;
  width: 60vw; height: 200%;
  background: radial-gradient(ellipse, rgba(200,16,46,.12) 0%, transparent 65%);
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; text-align: center; }
.cta-inner h2 { color: var(--white); margin-bottom: 1rem; }
.cta-inner p  { color: rgba(255,255,255,.72); font-size: 1.1rem; max-width: 60ch; margin: 0 auto 2rem; }
.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ══════════════════════════════════════════════════════════════
   CONTACT
══════════════════════════════════════════════════════════════ */
#contact { background: var(--light-bg); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
  align-items: start;
}
.contact-info h3 { color: var(--navy); margin-bottom: 1rem; }
.contact-info p  { color: var(--gray); margin-bottom: 2rem; }
.contact-items { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-item {
  display: flex; align-items: flex-start; gap: 1rem;
}
.contact-item-icon {
  width: 44px; height: 44px; min-width: 44px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.contact-item-text strong { color: var(--navy); display: block; font-size: .88rem; margin-bottom: .1rem; }
.contact-item-text span   { color: var(--gray); font-size: .92rem; }

.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: .88rem; font-weight: 600; color: var(--navy); margin-bottom: .4rem; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: .95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
  font-family: inherit;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--blue); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit { width: 100%; padding: .95rem; font-size: 1rem; }

.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
  color: #059669;
}

/* ══════════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════════ */
footer {
  background: #111122;
  color: rgba(255,255,255,.65);
  padding: 60px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand .nav-logo-text { color: var(--white); }
.footer-brand p { margin-top: 1rem; font-size: .88rem; max-width: 30ch; line-height: 1.7; }
.footer-col h5 { color: var(--white); font-size: .92rem; margin-bottom: 1.25rem; letter-spacing: .02em; }
.footer-col a  { display: block; color: rgba(255,255,255,.60); font-size: .88rem; margin-bottom: .6rem; transition: color var(--transition); }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 1.5rem;
  font-size: .82rem;
  flex-wrap: wrap; gap: .5rem;
}
.footer-bottom a { color: rgba(255,255,255,.5); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--accent); }

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid  { grid-template-columns: 1fr; }
  .vision-card { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .hero-inner  { grid-template-columns: 1fr; text-align: center; }
  .hero-visual { display: none; }
  .hero-cards-col { max-width: 100%; }
  .hero-btns   { justify-content: center; }
  .hero-stats  { grid-template-columns: repeat(3, 1fr); }

  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: var(--navy);
    padding: 1.5rem;
    gap: 1.2rem;
    border-top: 1px solid rgba(255,255,255,.1);
  }
  .nav-cta.open { display: block; margin: 0; }

  .axe-header { padding: 1.5rem; flex-direction: column; gap: .5rem; }
  .axe-body   { padding: 1.5rem; }
  .axe-num    { font-size: 2rem; }

  .about-caps { grid-template-columns: 1fr; }
  .form-row   { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .trust-divider { display: none; }
  .hero-stats { gap: 1rem; }
  .stat-num { font-size: 1.5rem; }
}

@media (max-width: 480px) {
  .section-pad { padding: 64px 0; }
  .cards-grid  { grid-template-columns: 1fr; }
  .cta-btns    { flex-direction: column; align-items: center; }
}

/* ── Language toggle ───────────────────────────────────────── */
.nav-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.lang-toggle {
  display: flex;
  align-items: center;
  gap: .25rem;
}
.lang-btn {
  background: none;
  border: none;
  color: var(--gray);
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  padding: .2rem .4rem;
  border-radius: 4px;
  transition: var(--transition);
  letter-spacing: .04em;
  font-family: inherit;
}
.lang-btn.active { color: var(--red); font-weight: 700; }
.lang-btn:hover  { color: var(--red); }
.lang-sep {
  color: var(--border);
  font-size: .9rem;
  font-weight: 300;
}

/* ── Phase label inside axe ────────────────────────────────── */
.phase-label {
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--navy);
  margin-bottom: 1.25rem;
  padding-left: .75rem;
  border-left: 3px solid var(--accent);
}

/* ── Training note ─────────────────────────────────────────── */
.training-note {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--light-bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

/* ── Loi 09-08 annotation ──────────────────────────────────── */
.law-note {
  font-size: .78em;
  font-weight: 400;
  color: inherit;
  opacity: .65;
  letter-spacing: 0;
}

/* ── Scroll animations ─────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }
