/* =========================================================
   BELGIUM LEGALISATIONS – style.css
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500&display=swap');

/* =========================================================
   1. CSS VARIABLES
   ========================================================= */
:root {
  --navy:       #1a2e4c;
  --navy-deep:  #111d30;
  --navy-mid:   #243d61;
  --white:      #ffffff;
  --off-white:  #f9f9fb;
  --grey-light: #f4f4f7;
  --grey-mid:   #e2e4ea;
  --grey-text:  #8a8fa8;
  --gold:       #c9a84c;
  --gold-light: #e8c97a;
  --text:       #1a2e4c;
  --text-muted: #5a6280;

  --font-display: 'Cormorant Garamond', 'Georgia', serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --radius:     6px;
  --radius-lg:  14px;
  --shadow-sm:  0 2px 8px rgba(26,46,76,0.07);
  --shadow-md:  0 6px 24px rgba(26,46,76,0.10);
  --shadow-lg:  0 16px 48px rgba(26,46,76,0.14);

  --header-h:   72px;
  --transition: 0.25s cubic-bezier(0.4,0,0.2,1);
}

/* =========================================================
   2. RESET & BASE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

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

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

/* =========================================================
   3. TYPOGRAPHY
   ========================================================= */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  color: var(--navy);
}

/* =========================================================
   4. ANIMATIONS
   ========================================================= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes pulse-gold {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201,168,76,0.4); }
  50%       { box-shadow: 0 0 0 8px rgba(201,168,76,0); }
}
@keyframes doc-line-shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(-3deg); }
  50%       { transform: translateY(-12px) rotate(-3deg); }
}

.animate-in {
  opacity: 0;
  animation: fadeUp 0.7s ease forwards;
  animation-delay: var(--delay, 0s);
}

/* =========================================================
   5. UTILITY
   ========================================================= */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =========================================================
   6. BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}
.btn-primary { background: var(--navy); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--navy-deep); box-shadow: var(--shadow-md); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost { background: transparent; color: var(--navy); border: 1.5px solid var(--grey-mid); }
.btn-ghost:hover { border-color: var(--navy); background: rgba(26,46,76,0.04); }
.btn-full { width: 100%; justify-content: center; }

/* =========================================================
   7. HEADER
   ========================================================= */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.header.scrolled { border-bottom-color: var(--grey-mid); box-shadow: var(--shadow-sm); }

.header-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}

.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-mark {
  width: 38px; height: 38px;
  background: var(--navy); color: var(--white);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 15px; font-weight: 600; letter-spacing: 0.05em;
  flex-shrink: 0;
}
.logo-text { font-family: var(--font-body); font-size: 12px; line-height: 1.3; color: var(--navy); letter-spacing: 0.01em; }
.logo-text strong { display: block; font-size: 13.5px; font-weight: 600; }
.logo--light .logo-mark { background: rgba(255,255,255,0.15); color: var(--white); }
.logo--light .logo-text, .logo--light .logo-text strong { color: var(--white); }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-link { padding: 6px 12px; border-radius: var(--radius); font-size: 13.5px; font-weight: 400; color: var(--text-muted); transition: color var(--transition), background var(--transition); }
.nav-link:hover { color: var(--navy); background: var(--grey-light); }

.lang-switcher { display: flex; align-items: center; gap: 2px; margin-left: 8px; }
.lang-btn { padding: 5px 9px; border-radius: 4px; font-size: 12px; font-weight: 500; color: var(--text-muted); letter-spacing: 0.04em; transition: all var(--transition); }
.lang-btn:hover { color: var(--navy); background: var(--grey-light); }
.lang-btn.active { background: var(--navy); color: var(--white); }
.lang-btn--sm { padding: 4px 8px; font-size: 11px; }

.mobile-menu-toggle { display: none; color: var(--navy); padding: 6px; margin-left: auto; }

.mobile-nav {
  display: none;
  position: absolute; top: var(--header-h); left: 0; right: 0;
  background: var(--white); border-bottom: 1px solid var(--grey-mid);
  padding: 16px 24px 24px; flex-direction: column; gap: 4px;
  box-shadow: var(--shadow-md); animation: fadeIn 0.2s ease;
}
.mobile-nav.open { display: flex; }
.mobile-nav-link { padding: 10px 12px; font-size: 15px; color: var(--navy); border-radius: var(--radius); transition: background var(--transition); }
.mobile-nav-link:hover { background: var(--grey-light); }
.mobile-lang-switcher { display: flex; gap: 4px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--grey-mid); }

/* =========================================================
   8. HERO
   ========================================================= */
.hero {
  min-height: 100vh;
  background: var(--off-white);
  position: relative;
  overflow: hidden;
  padding-left: max(24px, calc((100vw - 1140px)/2 + 24px));
  padding-right: max(24px, calc((100vw - 1140px)/2 + 24px));
  padding-top: calc(var(--header-h) + 64px);
  padding-bottom: 80px;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: center;
}

.hero-bg-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(26,46,76,0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(26,46,76,0.045) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero-accent-line { position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: linear-gradient(90deg, var(--navy) 0%, var(--gold) 50%, transparent 100%); }

.hero-content { position: relative; z-index: 2; }

.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); animation: pulse-gold 2.5s ease infinite; flex-shrink: 0; }

.hero-title { font-family: var(--font-display); font-size: clamp(36px, 4.5vw, 58px); font-weight: 500; line-height: 1.08; color: var(--navy); letter-spacing: -0.01em; margin-bottom: 22px; }

.hero-subtitle { font-size: 17px; line-height: 1.7; color: var(--text-muted); max-width: 500px; margin-bottom: 36px; }

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 52px; }

.hero-stats {
  display: flex; align-items: center;
  padding: 20px 24px; background: var(--white);
  border-radius: var(--radius-lg); border: 1px solid var(--grey-mid); box-shadow: var(--shadow-sm);
  width: fit-content;
}
.stat { text-align: center; padding: 0 20px; }
.stat:first-child { padding-left: 0; }
.stat:last-child { padding-right: 0; }
.stat-number { display: block; font-family: var(--font-display); font-size: 28px; font-weight: 600; color: var(--navy); line-height: 1; margin-bottom: 4px; }
.stat-label { display: block; font-size: 11.5px; color: var(--text-muted); letter-spacing: 0.02em; }
.stat-divider { width: 1px; height: 36px; background: var(--grey-mid); flex-shrink: 0; }

.hero-visual { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; }
.hero-card {
  background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--grey-mid);
  box-shadow: var(--shadow-lg); padding: 32px; width: 320px;
  animation: float 6s ease-in-out infinite; position: relative; z-index: 2;
}
.hero-card-shadow { position: absolute; bottom: -20px; left: 20px; right: 20px; height: 40px; background: radial-gradient(ellipse, rgba(26,46,76,0.18) 0%, transparent 70%); filter: blur(8px); z-index: 1; }
.hero-card-header { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 500; color: var(--text-muted); letter-spacing: 0.04em; text-transform: uppercase; padding-bottom: 16px; border-bottom: 1px solid var(--grey-mid); margin-bottom: 20px; }
.hero-card-body { display: flex; flex-direction: column; gap: 8px; }

.doc-line { height: 8px; border-radius: 4px; background: linear-gradient(90deg, var(--grey-mid) 25%, var(--grey-light) 50%, var(--grey-mid) 75%); background-size: 200% 100%; animation: doc-line-shimmer 2.5s ease infinite; }
.doc-line--title { height: 12px; width: 75%; background-color: var(--navy); background-image: none; opacity: 0.15; }
.doc-line--subtitle { height: 9px; width: 55%; }
.doc-line--text { width: 90%; }
.doc-line--text.short { width: 65%; }
.doc-seal { align-self: flex-end; margin: 8px 0; opacity: 0.85; }
.doc-signature { height: 2px; width: 80px; background: var(--navy); opacity: 0.3; border-radius: 1px; margin-top: 4px; }

/* =========================================================
   9. TRUST BAR
   ========================================================= */
.trust-bar { background: var(--navy); padding: 18px 24px; }
.trust-bar-inner { max-width: 1140px; margin: 0 auto; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 8px; padding: 6px 24px; font-size: 13px; color: rgba(255,255,255,0.8); white-space: nowrap; }
.trust-sep { width: 1px; height: 20px; background: rgba(255,255,255,0.18); flex-shrink: 0; }

/* =========================================================
   10. SECTION HEADERS
   ========================================================= */
.section-header { text-align: center; margin-bottom: 56px; }
.section-eyebrow { font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.section-title { font-family: var(--font-display); font-size: clamp(26px, 3.5vw, 44px); font-weight: 500; color: var(--navy); margin-bottom: 14px; }
.section-subtitle { font-size: 16px; color: var(--text-muted); max-width: 520px; margin: 0 auto; line-height: 1.7; }

/* =========================================================
   11. ABOUT (NEW)
   ========================================================= */
.about { padding: 96px 0; background: var(--white); }

.about-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.about-title { text-align: left; margin-bottom: 20px; }
.about .section-eyebrow { text-align: left; }

.about-lead {
  font-size: 16px; line-height: 1.75; color: var(--text-muted);
  margin-bottom: 28px;
}

.about-quote {
  position: relative;
  padding: 24px 28px 24px 36px;
  background: var(--off-white);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 24px;
}
.quote-mark { position: absolute; top: 16px; left: 12px; }
.about-quote p {
  font-family: var(--font-display);
  font-size: 22px;
  font-style: italic;
  color: var(--navy);
  line-height: 1.3;
}

.about-body { font-size: 15px; line-height: 1.75; color: var(--text-muted); }

.about-card-stack { display: flex; flex-direction: column; gap: 16px; }

.about-feature-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 22px;
  background: var(--off-white);
  border: 1px solid var(--grey-mid);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}
.about-feature-card:hover { border-color: var(--gold); box-shadow: var(--shadow-sm); transform: translateX(4px); }
.about-feature-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: var(--white); border: 1px solid var(--grey-mid);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
}
.about-feature-card h4 { font-family: var(--font-display); font-size: 17px; font-weight: 600; color: var(--navy); margin-bottom: 4px; }
.about-feature-card p { font-size: 13.5px; color: var(--text-muted); line-height: 1.55; }

/* =========================================================
   12. SERVICES
   ========================================================= */
.services { padding: 96px 0 80px; background: var(--grey-light); border-top: 1px solid var(--grey-mid); }

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }

.service-card {
  background: var(--white); border: 1px solid var(--grey-mid);
  border-radius: var(--radius-lg); padding: 32px;
  transition: all var(--transition); position: relative; outline: none;
}
.service-card:hover, .service-card:focus-visible { border-color: var(--navy); box-shadow: var(--shadow-md); transform: translateY(-4px); }

.service-card--featured { background: var(--navy); border-color: var(--navy); color: var(--white); }
.service-card--featured h3, .service-card--featured .service-number { color: var(--white); }
.service-card--featured .service-desc { color: rgba(255,255,255,0.65); }
.service-card--featured .service-list li { color: rgba(255,255,255,0.75); }
.service-card--featured .service-list li::before { background: var(--gold); }
.service-card--featured .service-icon { color: var(--gold); border-color: rgba(255,255,255,0.15); background: rgba(255,255,255,0.05); }
.service-card--featured .service-cta { color: var(--gold); }
.service-card--featured .service-cta:hover { color: var(--gold-light); }

.service-card-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--gold); color: var(--white); font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 14px; border-radius: 20px; white-space: nowrap; }

.service-card-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 20px; }
.service-icon { width: 52px; height: 52px; border-radius: 10px; border: 1px solid var(--grey-mid); background: var(--off-white); display: flex; align-items: center; justify-content: center; color: var(--navy); flex-shrink: 0; }
.service-number { font-family: var(--font-display); font-size: 42px; font-weight: 400; color: var(--grey-mid); line-height: 1; }

.service-title { font-family: var(--font-display); font-size: 22px; font-weight: 600; margin-bottom: 10px; color: var(--navy); }
.service-desc { font-size: 14.5px; color: var(--text-muted); line-height: 1.65; margin-bottom: 20px; }
.service-desc em { font-style: italic; color: var(--gold); }
.service-card--featured .service-desc em { color: var(--gold-light); }

.service-list { display: flex; flex-direction: column; gap: 7px; margin-bottom: 24px; }
.service-list li { font-size: 13.5px; color: var(--text-muted); padding-left: 16px; position: relative; }
.service-list li::before { content: ''; position: absolute; left: 0; top: 8px; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }

.service-cta { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 500; color: var(--navy); transition: gap var(--transition), color var(--transition); }
.service-cta:hover { gap: 10px; color: var(--gold); }

/* =========================================================
   13. INSTITUTIONS (NEW)
   ========================================================= */
.institutions { padding: 96px 0; background: var(--off-white); border-top: 1px solid var(--grey-mid); }

.institutions-wrapper {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 72px;
  align-items: start;
}

.inst-title { text-align: left; margin-bottom: 16px; }
.institutions-left .section-eyebrow { text-align: left; }

.inst-lead { font-size: 15px; color: var(--text-muted); line-height: 1.75; margin-bottom: 32px; }

.inst-cta { margin-top: 0; }

.inst-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.inst-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--grey-mid);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}
.inst-card:hover { border-color: var(--navy); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.inst-card--highlight { border-color: rgba(201,168,76,0.35); background: rgba(201,168,76,0.04); }
.inst-card--highlight:hover { border-color: var(--gold); }

.inst-card-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: var(--grey-light); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--navy);
}
.inst-card--highlight .inst-card-icon { background: rgba(201,168,76,0.1); }

.inst-card h4 { font-family: var(--font-display); font-size: 15.5px; font-weight: 600; color: var(--navy); margin-bottom: 4px; line-height: 1.2; }
.inst-card p { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

/* =========================================================
   14. WHY US (NEW)
   ========================================================= */
.why-us { padding: 96px 0; background: var(--navy); }
.why-us .section-eyebrow { color: var(--gold); }
.why-us .section-title { color: var(--white); }
.why-us .section-subtitle { color: rgba(255,255,255,0.6); }

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.pillar-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: all var(--transition);
  position: relative;
}
.pillar-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(201,168,76,0.4);
  transform: translateY(-4px);
}

.pillar-num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 400;
  color: rgba(255,255,255,0.07);
  line-height: 1;
  margin-bottom: 12px;
  position: absolute;
  top: 20px; right: 20px;
}

.pillar-icon {
  width: 52px; height: 52px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.pillar-icon svg path, .pillar-icon svg circle, .pillar-icon svg rect {
  stroke: rgba(255,255,255,0.7);
}
/* override fill for circle badges inside pillar */
.pillar-icon svg circle[fill] { fill: var(--gold); stroke: none; }
.pillar-icon svg path[fill] { fill: white; stroke: none; }

.pillar-card h3 { font-family: var(--font-display); font-size: 20px; font-weight: 600; color: var(--white); margin-bottom: 10px; }
.pillar-card p { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.65; }

/* =========================================================
   15. PROCESS
   ========================================================= */
.process { padding: 80px 0 96px; background: var(--grey-light); border-top: 1px solid var(--grey-mid); border-bottom: 1px solid var(--grey-mid); }

.process-steps { display: flex; align-items: flex-start; }
.process-step { flex: 1; text-align: center; padding: 32px 24px; }
.process-step-num { font-family: var(--font-display); font-size: 56px; font-weight: 400; color: #243d61; line-height: 1; margin-bottom: 12px; }
.process-step-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--white); border: 1px solid var(--grey-mid); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; box-shadow: var(--shadow-sm); transition: all var(--transition); }
.process-step:hover .process-step-icon { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201,168,76,0.1); }
.process-step h4 { font-family: var(--font-display); font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.process-step p { font-size: 14px; color: var(--text-muted); max-width: 220px; margin: 0 auto; line-height: 1.65; }

.process-connector { flex-shrink: 0; width: 60px; height: 1px; background: linear-gradient(90deg, var(--grey-mid), var(--gold), var(--grey-mid)); align-self: center; margin-bottom: 12px; opacity: 0.6; }

/* =========================================================
   16. QUOTE SECTION
   ========================================================= */
.quote-section { padding: 96px 0; background: var(--white); }

.quote-wrapper { display: grid; grid-template-columns: 380px 1fr; gap: 72px; align-items: start; }

.quote-info .section-title, .quote-info .section-eyebrow { text-align: left; }

.quote-info-text { font-size: 15px; color: var(--text-muted); line-height: 1.75; margin-bottom: 32px; }

.quote-contact-links { display: flex; flex-direction: column; gap: 16px; }

.quote-contact-item { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--radius); border: 1px solid var(--grey-mid); transition: all var(--transition); cursor: pointer; }
.quote-contact-item:hover { border-color: var(--navy); background: var(--off-white); }
.quote-contact-item--static { cursor: default; }
.quote-contact-item--static:hover { border-color: var(--grey-mid); background: transparent; }

.quote-contact-icon { width: 36px; height: 36px; border-radius: 8px; background: var(--grey-light); display: flex; align-items: center; justify-content: center; color: var(--navy); flex-shrink: 0; }
.quote-contact-label { display: block; font-size: 11px; color: var(--text-muted); letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 2px; }
.quote-contact-value { display: block; font-size: 14px; font-weight: 500; color: var(--navy); }

.quote-form-wrapper { background: var(--off-white); border: 1px solid var(--grey-mid); border-radius: var(--radius-lg); padding: 40px; }
.quote-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-group { display: flex; flex-direction: column; gap: 6px; position: relative; }
.form-label { font-size: 13px; font-weight: 500; color: var(--navy); letter-spacing: 0.01em; }
.form-input { padding: 11px 14px; border: 1.5px solid var(--grey-mid); border-radius: var(--radius); background: var(--white); font-family: var(--font-body); font-size: 14.5px; color: var(--text); transition: border-color var(--transition), box-shadow var(--transition); outline: none; width: 100%; }
.form-input:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(26,46,76,0.08); }
.form-input.error { border-color: #c0392b; }
.form-input::placeholder { color: var(--grey-text); }

.form-select-wrapper { position: relative; }
.form-select { appearance: none; -webkit-appearance: none; padding-right: 36px; }
.select-arrow { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--text-muted); pointer-events: none; }

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

.form-error { font-size: 12px; color: #c0392b; display: none; }
.form-group.has-error .form-error { display: block; }

.form-success { display: none; align-items: center; gap: 10px; padding: 14px 18px; background: #edf7f1; border: 1px solid #a8d5b7; border-radius: var(--radius); font-size: 14px; color: #1e6b3e; margin-top: 4px; }
.form-success.visible { display: flex; animation: fadeIn 0.4s ease; }

/* =========================================================
   17. FOOTER
   ========================================================= */
.footer { background: var(--navy-deep); color: rgba(255,255,255,0.75); }

.footer-inner { max-width: 1140px; margin: 0 auto; padding: 64px 24px 48px; display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 48px; }

.footer-tagline { font-size: 14px; color: rgba(255,255,255,0.45); margin-top: 14px; line-height: 1.65; max-width: 280px; }
.footer-heading { font-family: var(--font-body); font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.footer-links ul, .footer-contact ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a, .footer-contact a { font-size: 14px; color: rgba(255,255,255,0.6); transition: color var(--transition); }
.footer-links a:hover, .footer-contact a:hover { color: var(--white); }
.footer-contact li { display: flex; align-items: flex-start; gap: 8px; font-size: 13.5px; color: rgba(255,255,255,0.6); }
.footer-contact li svg { flex-shrink: 0; margin-top: 2px; color: var(--gold); }

.footer-bottom { max-width: 1140px; margin: 0 auto; padding: 20px 24px; border-top: 1px solid rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom p { font-size: 12.5px; color: rgba(255,255,255,0.35); }
.footer-lang-switcher { display: flex; gap: 2px; }
.footer-lang-switcher .lang-btn { color: rgba(255,255,255,0.45); }
.footer-lang-switcher .lang-btn:hover { color: var(--white); background: rgba(255,255,255,0.08); }
.footer-lang-switcher .lang-btn.active { background: rgba(255,255,255,0.12); color: var(--white); }

/* =========================================================
   18. BACK TO TOP
   ========================================================= */
.back-to-top { position: fixed; bottom: 28px; right: 28px; width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: var(--white); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-md); opacity: 0; pointer-events: none; transform: translateY(12px); transition: all var(--transition); z-index: 50; }
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background: var(--navy-deep); transform: translateY(-2px); }

/* =========================================================
   19. RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .institutions-wrapper { grid-template-columns: 1fr; gap: 40px; }
  .inst-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; padding-left: 24px; padding-right: 24px; }
  .hero-visual { display: none; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .about-wrapper { grid-template-columns: 1fr; gap: 40px; }
  .quote-wrapper { grid-template-columns: 1fr; gap: 48px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  :root { --header-h: 62px; }

  .nav, .lang-switcher { display: none; }
  .mobile-menu-toggle { display: flex; }

  .hero { padding-top: calc(var(--header-h) + 40px); padding-bottom: 60px; }
  .hero-stats { flex-wrap: wrap; gap: 12px; }
  .stat-divider { display: none; }
  .stat { padding: 0 12px; }

  .services { padding: 64px 0; }
  .services-grid { grid-template-columns: 1fr; }

  .about { padding: 64px 0; }

  .inst-grid { grid-template-columns: 1fr 1fr; }

  .pillars-grid { grid-template-columns: 1fr 1fr; }

  .process-steps { flex-direction: column; align-items: center; }
  .process-connector { width: 1px; height: 32px; background: var(--grey-mid); }

  .form-row { grid-template-columns: 1fr; }
  .quote-form-wrapper { padding: 28px 20px; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .trust-bar-inner { flex-direction: column; gap: 4px; }
  .trust-sep { display: none; }
  .trust-item { padding: 4px 16px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .hero-stats { width: 100%; justify-content: space-around; }
  .inst-grid { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: 1fr; }
}
