/* ============================================================
   AIT Computer Education — Stylesheet v2
   Palette: #2E4375 (navy) + #BA0203 (red)
   ============================================================ */

:root,
[data-theme="light"] {
  /* Brand — Navy primary */
  --brand:        #2E4375;
  --brand-hover:  #233457;
  --brand-soft:   rgba(46, 67, 117, 0.08);
  --brand-fg:     #ffffff;

  /* Accent — Red */
  --accent:       #BA0203;
  --accent-hover: #930102;
  --accent-soft:  rgba(186, 2, 3, 0.10);

  --bg:            #fafafa;
  --bg-alt:        #f1f2f5;
  --surface:       #ffffff;
  --surface-2:     #f4f5f8;
  --border:        #e1e4eb;
  --border-strong: #c4cad6;

  --text:        #12172a;
  --text-muted:  #4a5169;
  --text-subtle: #7a8199;

  --success:     #15803d;
  --success-bg:  #ecfdf5;
  --error:       #b91c1c;
  --error-bg:    #fef2f2;

  --shadow-xs: 0 1px 2px rgba(18, 23, 42, 0.04);
  --shadow-sm: 0 2px 6px rgba(18, 23, 42, 0.06);
  --shadow:    0 8px 24px rgba(18, 23, 42, 0.08);
  --shadow-lg: 0 20px 48px rgba(18, 23, 42, 0.12);

  --radius-sm: 6px;
  --radius:    10px;
  --radius-lg: 16px;

  --container: 1160px;
  --gutter: 20px;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Consolas, monospace;
}

[data-theme="dark"] {
  --brand:        #5B77B8;
  --brand-hover:  #7993D1;
  --brand-soft:   rgba(91, 119, 184, 0.14);
  --brand-fg:     #0e1220;

  --accent:       #E5393A;
  --accent-hover: #F25C5D;
  --accent-soft:  rgba(229, 57, 58, 0.14);

  --bg:            #0c0f1a;
  --bg-alt:        #131826;
  --surface:       #161b2c;
  --surface-2:     #1d2338;
  --border:        #262d44;
  --border-strong: #38415c;

  --text:        #eceffa;
  --text-muted:  #a8b0c8;
  --text-subtle: #78819b;

  --success:     #4ade80;
  --success-bg:  rgba(74, 222, 128, 0.12);
  --error:       #f87171;
  --error-bg:    rgba(248, 113, 113, 0.12);

  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.5);
  --shadow:    0 8px 24px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.65);
}

/* ───── Reset ───── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ───── Typography ───── */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; color: var(--text); }
h1 { font-size: clamp(2rem, 5.2vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.25rem); }
h3 { font-size: 1.15rem; }
p  { color: var(--text-muted); }
code { font-family: var(--font-mono); background: var(--surface-2); padding: 2px 6px; border-radius: 4px; font-size: 0.9em; }
.text-brand  { color: var(--brand); }
.text-accent { color: var(--accent); }

/* ───── Layout ───── */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container.narrow { max-width: 720px; }
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head h2 { margin: 12px 0; }
.section-sub { color: var(--text-muted); font-size: 1.05rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* ───── Buttons ───── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: var(--radius);
  font-weight: 600; font-size: 0.95rem; line-height: 1.2;
  border: 1.5px solid transparent; cursor: pointer;
  transition: background-color .18s, border-color .18s, color .18s, transform .12s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: var(--brand-fg); border-color: var(--brand); }
.btn-primary:hover { background: var(--brand-hover); border-color: var(--brand-hover); }
.btn-accent { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-accent:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { background: var(--surface-2); border-color: var(--text-subtle); }
.btn-whatsapp { background: #25d366; color: #fff; border-color: #25d366; }
.btn-whatsapp:hover { background: #1ebe5b; border-color: #1ebe5b; }
.btn-sm { padding: 8px 14px; font-size: 0.88rem; }
.btn-lg { padding: 14px 24px; font-size: 1rem; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; color: var(--accent); font-size: 0.9rem;
}
.link-arrow:hover { color: var(--accent-hover); }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: var(--radius);
  color: var(--text-muted); border: 1.5px solid transparent;
  transition: background-color .18s, color .18s, border-color .18s;
}
.icon-btn:hover { background: var(--surface-2); color: var(--text); border-color: var(--border); }

/* ───── Skip link ───── */
.skip-link {
  position: absolute; left: 12px; top: -48px;
  padding: 10px 16px; background: var(--brand); color: var(--brand-fg);
  border-radius: var(--radius); z-index: 999;
  transition: top .18s;
}
.skip-link:focus { top: 12px; }

/* ───── ISO Badge ───── */
.iso-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
}
.iso-badge svg { width: 14px; height: 14px; }
.iso-badge-inline { margin-top: 18px; }

/* ───── Header ───── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--border); box-shadow: var(--shadow-xs); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 68px; }

.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-logo { border-radius: 8px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-size: 1.05rem; font-weight: 800; letter-spacing: 0.06em; color: var(--brand); }
.brand-text small { font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-subtle); }

.main-nav ul { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  display: inline-block; padding: 8px 12px; border-radius: var(--radius-sm);
  font-size: 0.92rem; font-weight: 500; color: var(--text-muted);
  transition: background-color .15s, color .15s;
}
.main-nav a:hover { background: var(--surface-2); color: var(--text); }
.main-nav a.is-active { color: var(--accent); font-weight: 600; }

.header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

.theme-toggle .icon-moon { display: none; }
.theme-toggle .icon-sun  { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: block; }
[data-theme="dark"] .theme-toggle .icon-sun  { display: none; }

.nav-toggle { display: none; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open  { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ───── Hero ───── */
.hero { padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 8vw, 88px); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto;
  width: 520px; height: 520px;
  background: radial-gradient(circle, var(--brand-soft), transparent 68%);
  pointer-events: none; z-index: 0;
}
.hero::after {
  content: ""; position: absolute; inset: auto auto -25% -15%;
  width: 420px; height: 420px;
  background: radial-gradient(circle, var(--accent-soft), transparent 70%);
  pointer-events: none; z-index: 0;
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.45fr 1fr;
  gap: 56px; align-items: center;
}
.hero-content h1 { margin: 16px 0 20px; }
.hero-sub { font-size: 1.08rem; color: var(--text-muted); max-width: 56ch; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 0.92rem; color: var(--text-muted); }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points svg { color: var(--success); flex-shrink: 0; }

.hero-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow);
}
.hero-card h2 { font-size: 1.25rem; margin-bottom: 6px; }
.hero-card p { font-size: 0.92rem; margin-bottom: 18px; }
.hero-card .btn + .btn { margin-top: 10px; }
.hero-card-meta {
  display: flex; align-items: flex-start; gap: 8px;
  margin-top: 18px; padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 0.85rem; color: var(--text-subtle);
}
.hero-card-meta svg { flex-shrink: 0; margin-top: 2px; }

/* ───── Stats ───── */
.stats { background: var(--surface); border-block: 1px solid var(--border); padding: 32px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-num { display: block; font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800; color: var(--accent); letter-spacing: -0.02em; }
.stat-label { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-subtle); }

/* ───── Courses ───── */
.course-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.course-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 26px;
  display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.course-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--border-strong); }
.course-icon {
  width: 48px; height: 48px; border-radius: var(--radius);
  background: var(--brand-soft); color: var(--brand);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.course-card h3 { margin-bottom: 10px; }
.course-card h3 a { color: inherit; }
.course-card h3 a:hover { color: var(--accent); }
.course-card p { font-size: 0.94rem; flex-grow: 1; margin-bottom: 18px; }
.course-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 16px; border-top: 1px solid var(--border);
}
.chip {
  display: inline-block; padding: 4px 10px; border-radius: 999px;
  background: var(--surface-2); font-size: 0.78rem;
  font-weight: 600; color: var(--text-muted);
}
.chip-accent { background: var(--accent-soft); color: var(--accent); }
.chip-brand { background: var(--brand-soft); color: var(--brand); }

/* Category filter tabs */
.course-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.course-tabs button {
  padding: 8px 16px; border-radius: 999px;
  background: var(--surface); border: 1.5px solid var(--border);
  font-size: 0.88rem; font-weight: 600; color: var(--text-muted);
  transition: background .15s, color .15s, border-color .15s;
}
.course-tabs button:hover { border-color: var(--border-strong); color: var(--text); }
.course-tabs button.is-active {
  background: var(--brand); border-color: var(--brand); color: var(--brand-fg);
}

/* ───── Features ───── */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.feature { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px; }
.feature svg { color: var(--accent); margin-bottom: 14px; }
.feature h3 { margin-bottom: 8px; }
.feature p { font-size: 0.94rem; }

/* ───── Course detail page ───── */
.course-detail-hero { padding: clamp(40px, 6vw, 72px) 0; background: var(--bg-alt); border-bottom: 1px solid var(--border); }
.course-detail-hero h1 { margin: 12px 0 16px; }
.course-detail-hero .lead { font-size: 1.08rem; max-width: 70ch; color: var(--text-muted); margin-bottom: 20px; }
.course-detail-meta { display: flex; flex-wrap: wrap; gap: 10px; }
.course-body { padding: clamp(40px, 6vw, 72px) 0; }
.course-body h2 { margin-bottom: 20px; }
.topic-list {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px; margin-bottom: 40px;
}
.topic-list li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 16px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.94rem; color: var(--text);
}
.topic-list li::before {
  content: ""; flex-shrink: 0;
  width: 18px; height: 18px; margin-top: 2px;
  background: var(--accent-soft);
  border-radius: 50%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23BA0203' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12l5 5L20 7'/></svg>");
  background-size: 60%; background-position: center; background-repeat: no-repeat;
}

/* ───── Verify promo ───── */
.verify-promo {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px;
}
.verify-promo-text { max-width: 560px; }
.verify-promo h2 { margin: 10px 0 8px; }

/* ───── Students ───── */
.student-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.student-card {
  display: flex; align-items: center; gap: 14px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px;
}
.student-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--brand); color: var(--brand-fg);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.1rem; flex-shrink: 0;
}
.student-info { min-width: 0; }
.student-name { font-weight: 600; color: var(--text); font-size: 0.95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.student-cert { font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-subtle); }
.student-date { font-size: 0.78rem; color: var(--text-subtle); }

/* ───── Contact ───── */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
.contact-info h2 { margin: 12px 0; }
.contact-info > p { margin-bottom: 24px; }
.contact-list { display: flex; flex-direction: column; gap: 14px; }
.contact-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 0.95rem; color: var(--text-muted); }
.contact-list svg { color: var(--accent); flex-shrink: 0; margin-top: 3px; }
.contact-list a:hover { color: var(--accent); }

.contact-form, .verify-form {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm);
}
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.field input, .field textarea {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--border); border-radius: var(--radius);
  background: var(--bg); color: var(--text); font-size: 0.95rem;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}
.field textarea { resize: vertical; min-height: 110px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.form-note { font-size: 0.82rem; color: var(--text-subtle); margin-top: 12px; text-align: center; }
.form-alert { padding: 12px 16px; border-radius: var(--radius); font-size: 0.92rem; margin-bottom: 18px; border: 1px solid transparent; }
.form-alert-success { background: var(--success-bg); color: var(--success); border-color: color-mix(in srgb, var(--success) 25%, transparent); }
.form-alert-error   { background: var(--error-bg);   color: var(--error);   border-color: color-mix(in srgb, var(--error) 25%, transparent); }

/* ───── Verify ───── */
.verify-page .section-head { margin-bottom: 32px; }
.verify-form { margin-bottom: 28px; }
.verify-form .field { margin-bottom: 18px; }
.verify-form input { font-family: var(--font-mono); letter-spacing: 0.03em; text-transform: uppercase; }
.cert-result { border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: 28px; background: var(--surface); }
.cert-result-valid {
  border-color: color-mix(in srgb, var(--success) 40%, transparent);
  background: linear-gradient(180deg, var(--success-bg), var(--surface) 60%);
}
.cert-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; background: var(--success); color: #fff;
  border-radius: 999px; font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 22px;
}
.cert-details { display: grid; gap: 14px; }
.cert-details > div {
  display: grid; grid-template-columns: 140px 1fr; gap: 14px;
  align-items: baseline; padding-bottom: 14px;
  border-bottom: 1px dashed var(--border);
}
.cert-details > div:last-child { border-bottom: 0; padding-bottom: 0; }
.cert-details dt { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-subtle); }
.cert-details dd { font-size: 1rem; font-weight: 600; color: var(--text); }
.cert-preview { margin-top: 24px; }
.cert-preview img { border-radius: var(--radius); border: 1px solid var(--border); max-width: 100%; }

/* ───── Legal pages ───── */
.legal-content h2 { font-size: 1.2rem; margin: 32px 0 12px; color: var(--text); }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { margin-bottom: 14px; }
.legal-content ul { margin: 0 0 16px 20px; list-style: disc; }
.legal-content ul li { color: var(--text-muted); margin-bottom: 6px; }
.legal-content a { color: var(--accent); text-decoration: underline; }
.legal-content a:hover { color: var(--accent-hover); }

/* ───── Footer ───── */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--border); margin-top: 40px; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px; padding: 56px 0 40px;
}
.footer-col h3 {
  font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--text-subtle); margin-bottom: 16px;
}
.footer-about { font-size: 0.92rem; margin-top: 16px; max-width: 40ch; }
.footer-col ul { display: grid; gap: 8px; }
.footer-col ul a { font-size: 0.92rem; color: var(--text-muted); }
.footer-col ul a:hover { color: var(--accent); }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9rem; color: var(--text-muted); }
.footer-contact svg { flex-shrink: 0; margin-top: 3px; color: var(--accent); }
.footer-contact a:hover { color: var(--accent); }
.footer-hours { font-style: italic; }
.footer-col .btn { margin-top: 16px; }
.footer-iso { margin-top: 14px; }

.footer-bottom { border-top: 1px solid var(--border); padding: 20px 0; font-size: 0.82rem; color: var(--text-subtle); }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-meta { display: inline-flex; gap: 10px; }
.footer-meta a:hover { color: var(--accent); }
.brand-footer .brand-text strong { font-size: 1rem; }

/* ───── Cookie banner ───── */
.cookie-banner {
  position: fixed; left: 20px; right: 20px; bottom: 20px;
  max-width: 560px; margin-inline: auto;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 18px 20px;
  box-shadow: var(--shadow-lg); z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { font-size: 0.88rem; margin: 0; flex: 1 1 220px; }
.cookie-banner a { color: var(--accent); text-decoration: underline; }
.cookie-actions { display: flex; gap: 8px; }

/* ───── Reveal ───── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ───── Theme transition ───── */
.theme-ready body,
.theme-ready .site-header,
.theme-ready .course-card,
.theme-ready .feature,
.theme-ready .student-card,
.theme-ready .contact-form,
.theme-ready .verify-form,
.theme-ready .cert-result,
.theme-ready .cookie-banner {
  transition: background-color .25s ease, border-color .25s ease, color .25s ease;
}

/* ───── Responsive ───── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .contact-wrap { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .header-inner { height: 62px; }
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: fixed; top: 62px; left: 0; right: 0;
    background: var(--surface); border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow); padding: 12px 20px 20px;
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: opacity .18s, transform .18s, visibility .18s;
    z-index: 99;
  }
  .main-nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .main-nav a { padding: 12px 14px; font-size: 1rem; }
  .verify-promo { flex-direction: column; align-items: flex-start; }
  .cert-details > div { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 520px) {
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-card { padding: 22px; }
}

/* ───── Motion preferences ───── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* Desktop pe show, mobile pe hide text */
@media (max-width: 720px) {
  .header-actions .btn span { display: none; }
  .header-actions .btn { padding: 8px 10px; }
}
/* ───── Founder ───── */
.founder-card {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 48px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}

.founder-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-2);
  aspect-ratio: 4/5;
}
.founder-photo img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.founder-badge {
  position: absolute;
  left: 12px; bottom: 12px;
  background: var(--accent);
  color: #fff;
  padding: 10px 14px;
  border-radius: var(--radius);
  display: flex; flex-direction: column;
  line-height: 1.1;
  box-shadow: var(--shadow);
}
.founder-badge strong { font-size: 1rem; font-weight: 800; }
.founder-badge span { font-size: 0.72rem; opacity: 0.9; letter-spacing: 0.04em; }

.founder-text h2 { margin: 10px 0 4px; }
.founder-role {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 24px;
}
.founder-text blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 20px;
  margin: 0;
}
.founder-text blockquote p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 14px;
  color: var(--text-muted);
}
.founder-text blockquote footer {
  display: flex; flex-direction: column; gap: 2px;
  margin-top: 18px;
}
.founder-text blockquote footer strong { color: var(--text); font-size: 1rem; }
.founder-text blockquote footer span { font-size: 0.85rem; color: var(--text-subtle); }

@media (max-width: 900px) {
  .founder-card { grid-template-columns: 1fr; gap: 28px; padding: 26px; }
  .founder-photo { max-width: 260px; margin-inline: auto; }
}