/* ============================================================
   Abenezer Digitalization & Automation Center
   Modern, responsive stylesheet — light & dark themes
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --blue: #2563eb;
  --sky: #0ea5e9;
  --green: #10b981;
  --violet: #7c3aed;
  --amber: #f59e0b;
  --rose: #f43f5e;
  --logo-ink: #0f2748; /* navy logo lettering (light theme) */

  --brand-grad: linear-gradient(120deg, #2563eb 0%, #0ea5e9 55%, #10b981 100%);

  /* Light theme */
  --bg: #ffffff;
  --bg-alt: #f5f8ff;
  --surface: #ffffff;
  --text: #0f1b33;
  --muted: #566079;
  --border: #e6ebf5;
  --shadow: 0 10px 30px -12px rgba(20, 40, 90, 0.18);
  --shadow-lg: 0 30px 60px -25px rgba(20, 40, 90, 0.35);
  --ring: rgba(37, 99, 235, 0.35);
  --header-bg: rgba(255, 255, 255, 0.75);

  --radius: 16px;
  --radius-lg: 24px;
  --maxw: 1160px;
  --font: "Plus Jakarta Sans", "Noto Sans Ethiopic", "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

:root[data-theme="dark"] {
  --bg: #0a1020;
  --bg-alt: #0e1526;
  --surface: #121a2e;
  --text: #e8edf9;
  --muted: #9aa6c2;
  --border: #1e2942;
  --shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, 0.7);
  --ring: rgba(56, 130, 246, 0.5);
  --header-bg: rgba(10, 16, 32, 0.72);
  --logo-ink: #eaf0fb; /* logo lettering flips light in dark theme */
}

/* ---------- Base ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background .3s ease, color .3s ease;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; }
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 20px; }

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 200;
  background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 10px;
}
.skip-link:focus { left: 12px; }

.grad {
  background: var(--brand-grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; font-weight: 700; font-size: 1rem;
  padding: 13px 22px; border-radius: 12px; border: 1px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand-grad); color: #fff; box-shadow: 0 12px 24px -12px rgba(37,99,235,.7); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 30px -12px rgba(37,99,235,.75); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { background: var(--bg-alt); border-color: var(--blue); }
.btn-sm { padding: 9px 16px; font-size: .92rem; border-radius: 10px; }
.btn-block { width: 100%; }

/* ---------- Header / Nav ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  background: var(--header-bg);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.header.scrolled { border-color: var(--border); box-shadow: var(--shadow); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { display: grid; place-items: center; }

/* ADA logo mark (theme-aware) */
.logo-mark { display: block; height: 40px; width: auto; }
.footer .logo-mark { height: 34px; }
.logo-mark .ink { fill: var(--logo-ink); transition: fill .3s ease; }
.logo-mark .d { fill: #2f6bef; }
.logo-mark .dot-g { fill: #16a34a; }
.logo-mark .dot-y { fill: #f0b400; }
.logo-mark .dot-r { fill: #ef4444; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-size: 1.12rem; letter-spacing: -.02em; }
.brand-text small { font-size: .68rem; color: var(--muted); font-weight: 600; letter-spacing: .02em; }

.nav-links { display: flex; gap: 4px; }
.nav-links a {
  padding: 9px 14px; border-radius: 10px; font-weight: 600; font-size: .95rem; color: var(--muted);
  transition: color .2s, background .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); background: var(--bg-alt); }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px;
  background: var(--bg-alt); color: var(--text); border: 1px solid var(--border); cursor: pointer;
  transition: background .2s, transform .15s;
}
.icon-btn:hover { transform: translateY(-2px); }
.i-moon { display: none; }
:root[data-theme="dark"] .i-sun { display: none; }
:root[data-theme="dark"] .i-moon { display: block; }

/* Language toggle */
.lang-toggle { width: auto; min-width: 42px; padding: 0 11px; font-weight: 800; font-size: .82rem; letter-spacing: .01em; }
.lang-toggle #langLabel { line-height: 1; }

.hamburger { display: none; flex-direction: column; gap: 5px; width: 42px; height: 42px;
  border: 1px solid var(--border); background: var(--bg-alt); border-radius: 10px; cursor: pointer; padding: 0 10px; }
.hamburger span { height: 2.5px; width: 100%; background: var(--text); border-radius: 3px; transition: .3s; }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 64px 0 40px; overflow: hidden; }
.hero-bg {
  position: absolute; inset: -20% -10% auto -10%; height: 620px; z-index: -1;
  background:
    radial-gradient(600px 320px at 15% 12%, rgba(37,99,235,.20), transparent 70%),
    radial-gradient(560px 300px at 85% 8%, rgba(16,185,129,.18), transparent 70%),
    radial-gradient(500px 380px at 60% 40%, rgba(14,165,233,.16), transparent 70%);
  filter: blur(6px);
}
.hero-inner {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center;
  padding-block: 24px 48px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .82rem;
  color: var(--blue); background: color-mix(in srgb, var(--blue) 12%, transparent);
  padding: 7px 14px; border-radius: 999px; margin-bottom: 20px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px color-mix(in srgb, var(--green) 25%, transparent); }
.hero h1 { font-size: clamp(2.2rem, 5.2vw, 3.9rem); letter-spacing: -0.03em; }
.lead { color: var(--muted); font-size: clamp(1.02rem, 1.6vw, 1.2rem); margin: 20px 0 28px; max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-badges { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; color: var(--muted); font-weight: 600; font-size: .92rem; }

/* Hero visual */
.hero-visual { position: relative; min-height: 400px; }
.glass-card {
  position: absolute; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 20px;
}
.float-a { inset: 20px 40px auto auto; width: min(340px, 78%); z-index: 2; }
.float-b { bottom: 30px; left: 0; width: 190px; z-index: 3; }
.float-c { top: 0; left: 8px; width: 160px; z-index: 1; }
.mini-header { display: flex; gap: 6px; margin-bottom: 16px; }
.mini-header span { width: 11px; height: 11px; border-radius: 50%; background: var(--border); }
.mini-header span:first-child { background: var(--rose); }
.mini-header span:nth-child(2) { background: var(--amber); }
.mini-header span:nth-child(3) { background: var(--green); }
.bar { height: 12px; border-radius: 6px; background: var(--bg-alt); margin-bottom: 10px; }
.bar-lg { width: 85%; background: var(--brand-grad); opacity: .85; }
.bar-md { width: 60%; }
.chip-row { display: flex; gap: 8px; margin: 14px 0; flex-wrap: wrap; }
.chip { font-size: .72rem; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: var(--bg-alt); color: var(--muted); }
.graph { display: flex; align-items: flex-end; gap: 8px; height: 90px; margin-top: 8px; }
.graph div { flex: 1; height: var(--h); border-radius: 6px 6px 3px 3px; background: var(--brand-grad); opacity: .9; }
.glass-card.small { padding: 16px; text-align: left; }
.glass-card.small p { font-weight: 700; margin-top: 6px; }
.glass-card.small .muted, .glass-card.small .status { color: var(--muted); font-size: .8rem; }
.ai-pulse {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  font-weight: 800; color: #fff; background: var(--brand-grad);
  box-shadow: 0 0 0 0 rgba(16,185,129,.5); animation: pulse 2.2s infinite;
}
.float-c strong { font-size: 1.8rem; color: var(--green); }
.status { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; }
.status i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: blink 1.5s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(16,185,129,.5);} 70%{box-shadow:0 0 0 14px rgba(16,185,129,0);} 100%{box-shadow:0 0 0 0 rgba(16,185,129,0);} }
@keyframes blink { 50% { opacity: .3; } }
.float-a { animation: floatY 6s ease-in-out infinite; }
.float-b { animation: floatY 5s ease-in-out infinite .4s; }
.float-c { animation: floatY 7s ease-in-out infinite .8s; }
@keyframes floatY { 50% { transform: translateY(-12px); } }

/* Stats */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 26px; box-shadow: var(--shadow); margin-top: 20px;
}
.stat { text-align: center; }
.stat .num { display: block; font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat small { color: var(--muted); font-weight: 600; font-size: .88rem; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.kicker { display: inline-block; font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.section-head h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
.section-head p { color: var(--muted); margin-top: 14px; font-size: 1.06rem; }

.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* Service cards */
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 30px 26px; box-shadow: var(--shadow); transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--blue) 40%, var(--border)); }
.card-ico { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; color: #fff; margin-bottom: 18px; }
.ico-blue { background: linear-gradient(135deg, #2563eb, #4f83f7); }
.ico-cyan { background: linear-gradient(135deg, #0891b2, #22d3ee); }
.ico-green { background: linear-gradient(135deg, #059669, #34d399); }
.ico-violet { background: linear-gradient(135deg, #7c3aed, #a78bfa); }
.ico-amber { background: linear-gradient(135deg, #d97706, #fbbf24); }
.ico-rose { background: linear-gradient(135deg, #e11d48, #fb7185); }
.card h3 { font-size: 1.22rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .98rem; }

/* Industries */
.industries .ind {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px 24px; text-align: center; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s;
}
.industries .ind:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.ind-emoji { font-size: 2.4rem; display: block; margin-bottom: 12px; }
.ind h3 { font-size: 1.2rem; margin-bottom: 6px; }
.ind p { color: var(--muted); font-size: .94rem; }

/* Why us */
.why-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 56px; align-items: start; }
.why-copy h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin: 8px 0 16px; }
.why-copy p { color: var(--muted); font-size: 1.06rem; margin-bottom: 26px; }
.why-list { list-style: none; display: grid; gap: 18px; }
.why-list li { display: flex; gap: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow); }
.tick { flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: #fff; font-weight: 800; background: var(--brand-grad); }
.why-list h3 { font-size: 1.1rem; margin-bottom: 4px; }
.why-list p { color: var(--muted); font-size: .95rem; }

/* Process */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; }
.steps li { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px 24px; box-shadow: var(--shadow); }
.step-n { font-size: 1.4rem; font-weight: 800; background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.steps h3 { font-size: 1.15rem; margin: 12px 0 6px; }
.steps p { color: var(--muted); font-size: .94rem; }

/* Work cards */
.work-card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); position: relative; overflow: hidden;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.work-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--blue) 40%, var(--border)); }

/* Work thumbnail (live screenshot) */
.work-thumb {
  position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden;
  background: var(--bg-alt); border-bottom: 1px solid var(--border);
}
.work-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .5s ease; }
a.work-card:hover .work-thumb img { transform: scale(1.05); }
.work-body { display: flex; flex-direction: column; flex: 1; padding: 24px 26px; }
.work-tag { display: inline-block; align-self: flex-start; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); background: color-mix(in srgb, var(--blue) 12%, transparent); padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }
.work-card h3 { font-size: 1.18rem; margin-bottom: 8px; }
.work-card p { color: var(--muted); font-size: .95rem; }

/* Live badge on featured work */
.work-live {
  position: absolute; top: 14px; right: 14px;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .7rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  color: var(--green); background: color-mix(in srgb, var(--surface) 82%, transparent);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border: 1px solid var(--border);
  padding: 5px 11px; border-radius: 999px; box-shadow: var(--shadow);
}
.work-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(16,185,129,.5); animation: pulse 2.2s infinite; }

/* Live-site link inside a work card */
a.work-card { cursor: pointer; }
.work-link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 18px;
  font-weight: 800; font-size: .92rem; color: var(--blue);
}
.work-link svg { transition: transform .2s ease; }
a.work-card:hover .work-link svg { transform: translate(2px, -2px); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact-copy h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin: 8px 0 14px; }
.contact-copy > p { color: var(--muted); font-size: 1.06rem; margin-bottom: 28px; }
.contact-info { list-style: none; display: grid; gap: 16px; }
.contact-info li { display: flex; align-items: center; gap: 14px; }
.ci-ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 1.2rem; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); }
.contact-info small { display: block; color: var(--muted); font-size: .8rem; font-weight: 600; }
.contact-info a, .contact-info span { font-weight: 700; }

.contact-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-lg); }
.field { margin-bottom: 16px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { display: block; font-weight: 700; font-size: .88rem; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: .98rem; color: var(--text);
  background: var(--bg); border: 1px solid var(--border); border-radius: 11px; padding: 12px 14px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px var(--ring); }
.field.invalid input, .field.invalid textarea { border-color: var(--rose); }
.err { color: var(--rose); font-size: .8rem; font-weight: 600; display: block; margin-top: 5px; min-height: 1px; }
.form-note { text-align: center; margin-top: 14px; font-weight: 700; }
.form-note.ok { color: var(--green); }
.form-note.error { color: var(--rose); }

/* ---------- Footer ---------- */
.footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding-top: 64px; }
.footer-inner { display: grid; grid-template-columns: 1.3fr 2fr; gap: 48px; padding-bottom: 44px; }
.footer-brand p { color: var(--muted); margin-top: 16px; max-width: 34ch; font-size: .96rem; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.footer-cols h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 14px; }
.footer-cols a { display: block; color: var(--text); font-weight: 600; font-size: .95rem; padding: 5px 0; opacity: .85; transition: opacity .2s, color .2s; }
.footer-cols a:hover { opacity: 1; color: var(--blue); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 24px 0; border-top: 1px solid var(--border); color: var(--muted); font-size: .88rem; }

/* Back to top */
.to-top {
  position: fixed; right: 22px; bottom: 94px; z-index: 90;
  width: 48px; height: 48px; border-radius: 14px; border: none; cursor: pointer;
  background: var(--brand-grad); color: #fff; font-size: 1.3rem; font-weight: 800;
  box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s, transform .3s, visibility .3s;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { transform: translateY(-4px); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Sub-page hero ---------- */
.page-hero { position: relative; padding: 72px 0 10px; text-align: center; overflow: hidden; }
.page-hero .eyebrow { margin-bottom: 16px; }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.3rem); letter-spacing: -.03em; }
.page-hero > .container > p { color: var(--muted); max-width: 42em; margin: 18px auto 0; font-size: clamp(1.02rem, 1.5vw, 1.18rem); }
.breadcrumb { display: flex; justify-content: center; gap: 8px; color: var(--muted); font-size: .88rem; font-weight: 600; margin-top: 24px; }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb span { opacity: .5; }

/* ---------- Teaser "view all" ---------- */
.section-more { text-align: center; margin-top: 42px; }

/* ---------- Leadership / team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1040px; margin: 0 auto; }
.leader {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 34px 30px; box-shadow: var(--shadow); text-align: center;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.leader:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--blue) 40%, var(--border)); }
.leader-avatar {
  width: 108px; height: 108px; border-radius: 30px; margin: 0 auto 20px;
  display: grid; place-items: center; font-size: 2rem; font-weight: 800; color: #fff;
  background: var(--brand-grad); box-shadow: 0 14px 26px -12px rgba(37,99,235,.7); letter-spacing: .02em;
  padding: 3px; overflow: hidden;
}
.leader-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: top center; border-radius: 27px; display: block; }
.leader h3 { font-size: 1.32rem; }
.leader .role {
  display: inline-block; color: var(--blue); font-weight: 700; font-size: .9rem;
  background: color-mix(in srgb, var(--blue) 12%, transparent); padding: 4px 13px; border-radius: 999px; margin: 12px 0 14px;
}
.leader p { color: var(--muted); font-size: .97rem; }
.leader-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 18px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--border); }
.leader-links a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .9rem; color: var(--text); }
.leader-links a:hover { color: var(--blue); }
.leader-links svg { color: var(--blue); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; background: var(--brand-grad); color: #fff;
  border-radius: var(--radius-lg); padding: 58px 40px; text-align: center; box-shadow: var(--shadow-lg);
}
.cta-band::after { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 200px at 80% -20%, rgba(255,255,255,.25), transparent 70%); pointer-events: none; }
.cta-band h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); color: #fff; position: relative; }
.cta-band p { max-width: 40em; margin: 14px auto 26px; color: rgba(255,255,255,.92); font-size: 1.08rem; position: relative; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; position: relative; }
.btn-white { background: #fff; color: var(--blue); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 18px 30px -12px rgba(0,0,0,.35); }
.btn-outline-white { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.55); }
.btn-outline-white:hover { background: rgba(255,255,255,.22); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 12px; }
  .hero-visual { min-height: 340px; margin-top: 12px; order: 2; }
  .why-grid, .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-inner { grid-template-columns: 1fr; gap: 30px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 800px) {
  .nav-links {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; gap: 6px;
    background: var(--surface); border-bottom: 1px solid var(--border);
    padding: 16px 20px 24px; box-shadow: var(--shadow-lg);
    transform: translateY(-140%); transition: transform .35s ease; z-index: 99;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 12px 14px; font-size: 1rem; }
  .hamburger { display: flex; }
  .nav-cta { display: none; }
  .grid-3 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .section { padding: 66px 0; }
  .team-grid { grid-template-columns: 1fr; max-width: 480px; }
  .cta-band { padding: 44px 26px; }
}

@media (max-width: 520px) {
  .container { padding-inline: 16px; }
  .hero { padding-top: 40px; }
  .hero-cta .btn { flex: 1; }
  .two-col { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; padding: 20px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  /* Compact header so the tagline shows AND the menu button stays visible */
  .nav { gap: 8px; }
  .brand { gap: 9px; min-width: 0; }
  .brand-text { min-width: 0; }
  .logo-mark { height: 32px; }
  .brand-text strong { font-size: 1rem; }
  .brand-text small { font-size: .6rem; white-space: nowrap; }
  .nav-actions { gap: 8px; flex: 0 0 auto; }
  .icon-btn { width: 38px; height: 38px; }
  .hamburger { width: 40px; }
  .float-a { width: 88%; inset: 10px 0 auto auto; }
  .float-b { width: 150px; }
  .float-c { display: none; }
}

/* ============================================================
   Chat widget (ADA Assistant)
   ============================================================ */
.chat-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 120;
  width: 60px; height: 60px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--brand-grad); color: #fff; box-shadow: var(--shadow-lg);
  display: grid; place-items: center; transition: transform .2s ease, box-shadow .2s ease;
}
.chat-fab:hover { transform: translateY(-3px) scale(1.03); }
.chat-fab .chat-fab-close { display: none; }
.chat-fab.open .chat-fab-open { display: none; }
.chat-fab.open .chat-fab-close { display: block; }
.chat-fab::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(37,99,235,.5); animation: chatPulse 2.8s infinite;
}
@keyframes chatPulse { 0%{box-shadow:0 0 0 0 rgba(37,99,235,.45);} 70%{box-shadow:0 0 0 16px rgba(37,99,235,0);} 100%{box-shadow:0 0 0 0 rgba(37,99,235,0);} }
.chat-fab.open::after { animation: none; }

/* welcome teaser beside the chat button */
.chat-teaser {
  position: fixed; right: 94px; bottom: 30px; z-index: 119;
  max-width: 234px; padding: 12px 34px 12px 15px;
  background: var(--surface); color: var(--text);
  border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-lg);
  font-size: .9rem; font-weight: 600; line-height: 1.35; cursor: pointer;
  opacity: 0; transform: translateX(12px) scale(.96); transform-origin: right center;
  pointer-events: none; transition: opacity .3s ease, transform .3s ease;
}
.chat-teaser.show { opacity: 1; transform: none; pointer-events: auto; }
.chat-teaser::after {
  content: ""; position: absolute; right: -7px; bottom: 22px; width: 13px; height: 13px;
  background: var(--surface); border-right: 1px solid var(--border); border-top: 1px solid var(--border);
  transform: rotate(45deg);
}
.chat-teaser-close {
  position: absolute; top: 5px; right: 5px; width: 22px; height: 22px; padding: 0;
  border: none; background: transparent; color: var(--muted); cursor: pointer;
  border-radius: 6px; display: grid; place-items: center; line-height: 1;
}
.chat-teaser-close:hover { background: var(--bg-alt); color: var(--text); }

.chat-panel {
  position: fixed; right: 22px; bottom: 94px; z-index: 120;
  width: min(380px, calc(100vw - 32px));
  height: min(560px, calc(100vh - 130px));
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border); border-radius: 20px;
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(16px) scale(.98);
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
}
.chat-panel.open { opacity: 1; visibility: visible; transform: none; }

.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--brand-grad); color: #fff; }
.chat-avatar { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.18); color: #fff; flex: none; }
.chat-head-info { display: flex; flex-direction: column; line-height: 1.15; flex: 1; min-width: 0; }
.chat-title { font-size: 1rem; font-weight: 800; }
.chat-subtitle { font-size: .8rem; opacity: .92; display: inline-flex; align-items: center; gap: 6px; }
.chat-dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 3px rgba(74,222,128,.3); }
.chat-close { background: rgba(255,255,255,.15); border: none; color: #fff; width: 34px; height: 34px; border-radius: 10px; cursor: pointer; display: grid; place-items: center; flex: none; transition: background .2s; }
.chat-close:hover { background: rgba(255,255,255,.28); }

.chat-msgs { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--bg-alt); }
.chat-msg { max-width: 85%; padding: 10px 13px; border-radius: 14px; font-size: .93rem; line-height: 1.5; overflow-wrap: anywhere; }
.chat-msg.bot { align-self: flex-start; background: var(--surface); border: 1px solid var(--border); color: var(--text); border-bottom-left-radius: 5px; }
.chat-msg.user { align-self: flex-end; background: var(--brand-grad); color: #fff; border-bottom-right-radius: 5px; }
.chat-msg.bot a { color: var(--blue); }
.chat-msg.user a { color: #fff; text-decoration: underline; }
.chat-quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; align-self: flex-start; }
.chat-qr { border: 1px solid var(--blue); background: var(--surface); color: var(--blue); font-family: inherit; font-size: .84rem; font-weight: 600; line-height: 1.2; padding: 7px 13px; border-radius: 999px; cursor: pointer; transition: background .18s, color .18s, transform .15s; }
.chat-qr:hover { background: var(--blue); color: #fff; transform: translateY(-1px); }
.chat-qr:active { transform: none; }

.chat-typing { display: inline-flex; gap: 4px; align-items: center; }
.chat-typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: chatBlink 1.2s infinite; }
.chat-typing span:nth-child(2) { animation-delay: .2s; }
.chat-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes chatBlink { 0%,100%{opacity:.3;transform:translateY(0);} 50%{opacity:1;transform:translateY(-2px);} }

.chat-input-row { display: flex; align-items: flex-end; gap: 8px; padding: 10px; border-top: 1px solid var(--border); background: var(--surface); }
.chat-input { flex: 1; resize: none; border: 1px solid var(--border); border-radius: 12px; padding: 10px 12px; font-family: inherit; font-size: .93rem; color: var(--text); background: var(--bg); max-height: 120px; line-height: 1.4; }
.chat-input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--ring); }
.chat-send { flex: none; width: 42px; height: 42px; border-radius: 12px; border: none; cursor: pointer; background: var(--brand-grad); color: #fff; display: grid; place-items: center; transition: transform .15s, opacity .2s; }
.chat-send:hover { transform: translateY(-2px); }
.chat-send:disabled { opacity: .5; cursor: default; transform: none; }
.chat-foot { text-align: center; font-size: .72rem; color: var(--muted); padding: 6px 10px 10px; background: var(--surface); }

@media (max-width: 520px) {
  .chat-panel { right: 12px; left: 12px; width: auto; bottom: 86px; height: min(72vh, 540px); }
  .chat-fab { right: 16px; bottom: 16px; }
  .to-top { right: 16px; bottom: 88px; }
  .chat-teaser { right: 84px; bottom: 24px; max-width: min(64vw, 210px); font-size: .85rem; padding: 10px 30px 10px 13px; }
}
