/* Infomatics — site styles
   Layout: light content page framed by dark "terminal" bands (header, hero, roadmap, footer). */
:root {
  --bg: #F7F8F5;
  --surface: #FFFFFF;
  --fg: #0F172A;
  --muted: #475569;
  --line: #E2E8F0;
  --chip: #F1F5F9;
  --chip-fg: #334155;
  --accent: #15803D;
  --accent-hover: #14532D;
  --accent-fg: #FFFFFF;
  --soft-green: #ECFDF5;
  --soft-green-line: #A7F3D0;
  --soft-green-fg: #166534;
  --soft-blue: #EFF6FF;
  --soft-blue-line: #BFDBFE;
  --soft-blue-fg: #1E40AF;
  --warn: #B45309;
  --avatar: #DCFCE7;
  --avatar-fg: #14532D;

  --band: #0B1220;
  --band-2: #111A2E;
  --band-line: #1F2A44;
  --band-fg: #CBD5E1;
  --band-muted: #94A3B8;
  --band-strong: #F8FAFC;
  --term: #4ADE80;
  --term-ink: #052E16;
  --star: #FBBF24;

  --f-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --radius: 14px;
  --shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0A0F1A; --surface: #111827; --fg: #E5E7EB; --muted: #9CA3AF; --line: #1F2937;
    --chip: #1F2937; --chip-fg: #CBD5E1; --accent: #4ADE80; --accent-hover: #86EFAC; --accent-fg: #052E16;
    --soft-green: #052E16; --soft-green-line: #166534; --soft-green-fg: #86EFAC;
    --soft-blue: #0C1A33; --soft-blue-line: #1E3A8A; --soft-blue-fg: #93C5FD;
    --warn: #FBBF24; --avatar: #14532D; --avatar-fg: #DCFCE7;
    --band: #060A12; --band-2: #0D1424; --shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0A0F1A; --surface: #111827; --fg: #E5E7EB; --muted: #9CA3AF; --line: #1F2937;
  --chip: #1F2937; --chip-fg: #CBD5E1; --accent: #4ADE80; --accent-hover: #86EFAC; --accent-fg: #052E16;
  --soft-green: #052E16; --soft-green-line: #166534; --soft-green-fg: #86EFAC;
  --soft-blue: #0C1A33; --soft-blue-line: #1E3A8A; --soft-blue-fg: #93C5FD;
  --warn: #FBBF24; --avatar: #14532D; --avatar-fg: #DCFCE7;
  --band: #060A12; --band-2: #0D1424; --shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--f-sans); font-size: 16px; line-height: 1.6; }
img { max-width: 100%; }
a { color: var(--accent); }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 3px solid var(--term); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { text-wrap: balance; line-height: 1.15; margin: 0; }
p { margin: 0; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--surface); padding: 8px 12px; }

.wrap {
  max-width: 1240px; margin: 0 auto;
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px));
}
@media (max-width: 480px) {
  .wrap { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
}
.mono { font-family: var(--f-mono); }
.eyebrow { font-family: var(--f-mono); color: var(--accent); font-size: 15px; }
.band .eyebrow { color: var(--term); }
.section { padding-block: 80px 0; }
.section:last-of-type { padding-bottom: 88px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 28px; }
.section-head > div { display: flex; flex-direction: column; gap: 10px; max-width: 700px; }
.section-head h2 { font-size: clamp(28px, 4vw, 38px); font-weight: 800; letter-spacing: -0.01em; }
.section-head p { color: var(--muted); font-size: 18px; }
.more { font-weight: 600; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 10px; font: inherit; font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer; border: 1px solid transparent; }
.btn-term { background: var(--term); color: var(--term-ink); }
.btn-term:hover { background: #86EFAC; color: var(--term-ink); }
.btn-ghost { border-color: #334155; color: var(--band-strong); }
.btn-ghost:hover { border-color: var(--term); color: var(--band-strong); }
.btn-accent { background: var(--accent); color: var(--accent-fg); }
.btn-accent:hover { background: var(--accent-hover); color: var(--accent-fg); }
.btn-line { border-color: var(--line); color: var(--fg); background: var(--surface); }
.btn-line:hover { border-color: var(--accent); color: var(--fg); }
.btn-lg { font-size: 17px; padding: 16px 24px; }

/* Announcement + header */
.announce { background: var(--term-ink); color: #DCFCE7; font-family: var(--f-mono); font-size: 14px; text-align: center; padding-block: 10px; }
.announce a { color: #86EFAC; font-weight: 700; }
.band { background: var(--band); color: var(--band-fg); }
.site-header { border-bottom: 1px solid var(--band-line); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; flex-wrap: wrap; }
.logo { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-mono); font-size: 22px; font-weight: 700; color: var(--band-strong); text-decoration: none; }
.logo:hover { color: var(--band-strong); }
.logo span { color: var(--term); }
.logo i { display: inline-block; width: 10px; height: 22px; background: var(--term); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.nav { display: flex; flex-wrap: wrap; gap: 22px; font-size: 15px; }
.nav a { color: var(--band-fg); text-decoration: none; padding-block: 8px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--term); }
.header-cta { display: flex; align-items: center; gap: 12px; }
.header-cta .phone { color: var(--band-strong); font-weight: 600; text-decoration: none; font-size: 15px; }
.nav-toggle { display: none; background: none; border: 1px solid #334155; color: var(--band-strong); border-radius: 8px; min-height: 44px; padding: 8px 14px; font: inherit; font-weight: 600; cursor: pointer; }
@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav { display: none; width: 100%; flex-direction: column; gap: 0; order: 3; border-top: 1px solid var(--band-line); padding-top: 8px; }
  .nav.open { display: flex; }
  .nav a { padding-block: 12px; }
  .header-cta .phone { display: none; }
}
@media (max-width: 520px) { .header-cta { display: none; } }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--band); }

/* Hero */
.hero { padding-block: 80px 88px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 56px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.hero h1 { font-size: clamp(38px, 6vw, 60px); font-weight: 800; letter-spacing: -0.02em; color: var(--band-strong); }
.hero .lead { font-size: 19px; color: var(--band-muted); max-width: 560px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.rating { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 15px; }
.rating .stars { color: var(--star); letter-spacing: 2px; font-size: 18px; }
.rating strong { color: var(--band-strong); }
.terminal { background: var(--band-2); border: 1px solid var(--band-line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45); min-width: 0; }
.terminal-bar { display: flex; gap: 8px; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--band-line); background: #0E1626; }
.terminal-bar b { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.terminal-bar span { margin-left: 10px; font-family: var(--f-mono); font-size: 13px; color: var(--band-muted); }
.terminal pre { margin: 0; padding: 24px; font-family: var(--f-mono); font-size: 15px; line-height: 2; color: var(--band-muted); white-space: pre-wrap; overflow-x: auto; }
.terminal .p { color: var(--term); }
.terminal .w { color: var(--band-strong); }

/* Stats */
.stats { background: var(--surface); border-bottom: 1px solid var(--line); }
.stats-row { padding-block: 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 24px; }
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat strong { font-size: 38px; font-weight: 800; font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); font-size: 15px; }

/* Batches */
.table-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow-x: auto; }
.batch { display: grid; grid-template-columns: minmax(220px, 2fr) repeat(3, minmax(130px, 1fr)) minmax(140px, auto); gap: 16px; align-items: center; padding: 18px 24px; border-bottom: 1px solid var(--line); min-width: 820px; }
.batch:last-child { border-bottom: 0; }
.batch .name { display: flex; flex-direction: column; }
.batch .name strong { font-size: 17px; }
.batch small, .label { color: var(--muted); font-size: 14px; }
.seats-low { color: var(--warn); font-weight: 600; }

/* Course filter + cards */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.pill { font: inherit; font-size: 15px; font-weight: 600; min-height: 44px; padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--fg); cursor: pointer; }
.pill[aria-pressed="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); }
.grid-2 { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.grid-3 { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.course-card .top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.chip { font-family: var(--f-mono); font-size: 12px; background: var(--chip); color: var(--chip-fg); padding: 4px 10px; border-radius: 999px; }
.course-card h3 { font-size: 21px; }
.course-card h3 a { color: var(--fg); text-decoration: none; }
.course-card h3 a::after { content: ""; position: absolute; inset: 0; }
.course-card { position: relative; transition: border-color .15s, transform .15s; }
.course-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.course-card p { color: var(--muted); font-size: 15px; flex-grow: 1; }
.course-card .foot { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-top: 14px; }
.fee { font-size: 17px; font-weight: 800; font-variant-numeric: tabular-nums; }
.go { font-weight: 700; color: var(--accent); font-size: 15px; }

/* Roadmap */
.roadmap { border-radius: 20px; padding: 44px clamp(20px, 4vw, 40px); display: flex; flex-direction: column; gap: 28px; }
.roadmap h2 { color: var(--band-strong); font-size: clamp(26px, 3.5vw, 36px); font-weight: 800; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.steps li { background: var(--band-2); border: 1px solid var(--band-line); border-radius: 12px; padding: 18px; display: flex; flex-direction: column; gap: 4px; }
.steps li span { font-family: var(--f-mono); color: var(--term); font-size: 14px; }
.steps li strong { color: var(--band-strong); font-size: 18px; }
.steps li small { color: var(--band-muted); font-size: 14px; }
.steps li.goal { background: var(--term-ink); border-color: var(--term); }

/* Training formats */
.format .big { font-family: var(--f-mono); font-size: 30px; font-weight: 700; color: var(--accent); }
.format h3 { font-size: 21px; }
.format p { color: var(--muted); }
.format.featured { border: 2px solid var(--accent); }

/* Companies, trainers, reviews */
.logos { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.logos div { height: 88px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 800; color: var(--fg); }
.trainer { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 22px; }
.avatar { width: 112px; height: 112px; border-radius: 50%; background: var(--avatar); color: var(--avatar-fg); display: flex; align-items: center; justify-content: center; font-family: var(--f-mono); font-weight: 700; font-size: 34px; flex-shrink: 0; }
.trainer .info { flex: 1 1 200px; display: flex; flex-direction: column; gap: 6px; }
.trainer h3 { font-size: 22px; }
.trainer .role { font-weight: 600; color: var(--chip-fg); }
.trainer .stack { font-family: var(--f-mono); font-size: 13px; color: var(--accent); }
.review { margin: 0; }
.review .stars { color: var(--warn); letter-spacing: 2px; }
.review blockquote { margin: 0; font-size: 16px; line-height: 1.65; }
.review figcaption { color: var(--muted); font-size: 14px; }

.promo { border-radius: 16px; padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.promo h3 { font-size: 26px; font-weight: 800; }
.promo.green { background: var(--soft-green); border: 1px solid var(--soft-green-line); }
.promo.green .eyebrow, .promo.green a { color: var(--soft-green-fg); }
.promo.blue { background: var(--soft-blue); border: 1px solid var(--soft-blue-line); }
.promo.blue .eyebrow, .promo.blue a { color: var(--soft-blue-fg); }
.promo p { color: var(--muted); }
.promo a { font-weight: 700; }

/* Forms + contact */
.form { display: flex; flex-direction: column; gap: 16px; padding: 32px; }
.form h2 { font-size: 30px; font-weight: 800; }
.form p { color: var(--muted); }
.field { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14px; }
.field input, .field select { font: inherit; font-weight: 400; font-size: 16px; padding: 12px 14px; border: 1px solid var(--muted); border-radius: 8px; background: var(--surface); color: var(--fg); min-height: 48px; }
.row-2 { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.form-note { font-size: 14px; color: var(--muted); }
.form-done { background: var(--soft-green); border: 1px solid var(--soft-green-line); color: var(--soft-green-fg); border-radius: 10px; padding: 14px 16px; font-size: 15px; }
.contact-list { display: flex; flex-direction: column; gap: 18px; }
.contact-list div { display: flex; flex-direction: column; gap: 2px; }
.contact-list strong, .contact-list a { font-size: 17px; }
.map-card { background: var(--band); color: var(--band-fg); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.map-card .pin { font-family: var(--f-mono); color: var(--term); }
.map-card strong { color: var(--band-strong); font-size: 19px; line-height: 1.4; }

/* Footer + floating WhatsApp */
.site-footer .cols { padding-block: 48px; display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); font-size: 15px; }
.site-footer .cols div { display: flex; flex-direction: column; gap: 8px; }
.site-footer strong { color: var(--band-strong); }
.site-footer a { color: var(--band-muted); text-decoration: none; }
.site-footer a:hover { color: var(--term); }
.site-footer .legal { border-top: 1px solid var(--band-line); padding-block: 18px; font-size: 14px; text-align: center; color: var(--band-muted); }
.wa-float { position: fixed; right: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); width: 60px; height: 60px; border-radius: 50%; background: #15803D; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); z-index: 40; }
.wa-float:hover { background: #14532D; }

/* Course page */
.crumbs { font-family: var(--f-mono); font-size: 14px; color: var(--band-muted); }
.crumbs a { color: var(--band-muted); }
.course-hero { padding-block: 40px 72px; display: flex; flex-direction: column; gap: 20px; }
.course-hero h1 { font-size: clamp(36px, 5.5vw, 56px); font-weight: 800; letter-spacing: -0.02em; color: var(--band-strong); max-width: 860px; }
.course-hero .lead { font-size: 19px; color: var(--band-muted); max-width: 740px; }
.facts { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); max-width: 940px; }
.facts div { background: var(--band-2); border: 1px solid var(--band-line); border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; }
.facts span { font-size: 13px; color: var(--band-muted); }
.facts strong { color: var(--band-strong); font-size: 18px; }
.course-layout { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; padding-block: 56px 88px; }
.course-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 60px; }
.course-main section { display: flex; flex-direction: column; gap: 16px; }
.course-main h2 { font-size: clamp(26px, 3.5vw, 34px); font-weight: 800; }
.aside { flex: 1 1 320px; position: sticky; top: calc(96px + env(safe-area-inset-top, 0px)); box-shadow: var(--shadow); }
@media (max-width: 960px) { .aside { position: static; } }
.aside .price { font-size: 34px; font-weight: 800; font-variant-numeric: tabular-nums; }
.aside .ok { color: var(--accent); font-weight: 600; font-size: 14px; }
.aside hr { border: 0; border-top: 1px solid var(--line); margin: 4px 0; width: 100%; }
.project { padding: 0; overflow: hidden; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 0; }
.project .visual { min-height: 220px; background: var(--band); padding: 24px; font-family: var(--f-mono); font-size: 14px; color: var(--band-muted); display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.project .visual b { color: var(--term); font-weight: 500; }
.project .body { padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.project h3 { font-size: 22px; }
.project p { color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.modules { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; counter-reset: m; }
.modules li { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px; display: flex; gap: 18px; align-items: flex-start; counter-increment: m; }
.modules li::before { content: counter(m, decimal-leading-zero); font-family: var(--f-mono); color: var(--accent); font-weight: 700; min-width: 30px; }
.modules li div { display: flex; flex-direction: column; gap: 2px; }
.modules li strong { font-size: 18px; }
.modules li span { color: var(--muted); font-size: 15px; }
.modules li.final { background: var(--term-ink); border-color: #166534; }
.modules li.final::before { color: #86EFAC; }
.modules li.final strong { color: #F8FAFC; }
.modules li.final span { color: #BBF7D0; }
.who .card strong { font-size: 17px; }
.who .card span { color: var(--muted); font-size: 15px; }
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px 22px; }
.faq summary { font-weight: 700; font-size: 17px; cursor: pointer; min-height: 28px; }
.faq details p { margin-top: 10px; color: var(--muted); }

/* Contact tiles + certificate QR */
.contact-tile { text-decoration: none; color: var(--fg); transition: border-color .15s, transform .15s; }
.contact-tile:hover { border-color: var(--accent); color: var(--fg); transform: translateY(-2px); }
.contact-tile strong { font-size: 19px; overflow-wrap: anywhere; }
.qr { background: #FFFFFF; border: 1px solid var(--line); border-radius: 12px; padding: 12px; width: min(100%, 240px); align-self: center; }
.qr svg { display: block; width: 100%; height: auto; }
.qr svg path { fill: #000000; }
.modules li span a { font-weight: 600; }
