/* Palet mengikuti isimupacitan.ac.id: marun #660e1d, merah #b80f0a, emas #f5c13a, navy #252f76 */
:root {
  --maroon: #660e1d;
  --maroon-deep: #4a0914;
  --red: #b80f0a;
  --gold: #f5c13a;
  --gold-deep: #c8961a;
  --navy: #252f76;
  --ink: #1f1a1c;
  --text: #3a3a3a;
  --muted: #6b6468;
  --line: #ece6e7;
  --bg: #f7f4f2;
  --surface: #ffffff;
  --rose: #fbf1f2;
  --ok: #157347;
  --ok-soft: #e4f4ec;
  --gold-soft: #fdf3d6;
  --no: #8b8487;
  --no-soft: #f1eeef;
  --bad: #b80f0a;
  --bad-soft: #fde6e5;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(74, 9, 20, .05), 0 6px 20px rgba(74, 9, 20, .06);
  --shadow-lg: 0 10px 30px rgba(74, 9, 20, .14);
  --head: "Montserrat", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15.5px/1.6 "Lato", system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--red); text-decoration: none; }
a:hover { color: var(--maroon); }
h1, h2, h3, h4 { font-family: var(--head); color: var(--ink); letter-spacing: -.01em; }
h1 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); line-height: 1.18; margin: .3rem 0 .7rem; font-weight: 800; }
h2 { font-size: 1.55rem; margin: .2rem 0 0; font-weight: 700; }
h3 { font-size: 1.02rem; margin: 0 0 1rem; font-weight: 700; display: flex; align-items: center; gap: .5rem; }
h4 { font-size: .9rem; margin: 1.1rem 0 .35rem; font-weight: 700; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.sm { font-size: .85rem; }
.mt { margin-top: 1.25rem; }
.ik { flex: none; vertical-align: middle; }

/* ---------- Header ---------- */
.strip { background: var(--maroon-deep); color: rgba(255,255,255,.75); font-size: .78rem; letter-spacing: .02em; }
.strip-in { display: flex; justify-content: space-between; gap: 1rem; padding-top: .4rem; padding-bottom: .4rem; }
.strip-in span:first-child { font-family: var(--head); font-weight: 600; color: var(--gold); text-transform: uppercase; letter-spacing: .12em; font-size: .7rem; }
.topbar { background: var(--maroon); position: sticky; top: 0; z-index: 10; box-shadow: 0 2px 12px rgba(0,0,0,.18); }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: .75rem; padding-bottom: .75rem; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 1rem; color: #fff; }
.brand:hover { color: #fff; }
.brand img { height: 40px; width: auto; display: block; }
.brand-txt { border-left: 1px solid rgba(255,255,255,.25); padding-left: 1rem; line-height: 1.25; }
.brand-txt strong { display: block; font-family: var(--head); font-size: .95rem; font-weight: 700; }
.brand-txt small { color: rgba(255,255,255,.7); font-size: .76rem; }
.topbar nav { display: flex; align-items: center; gap: .25rem; flex-wrap: wrap; }
.topbar nav a { color: #fff; font-family: var(--head); font-weight: 600; font-size: .86rem; padding: .5rem .8rem; border-radius: 8px; position: relative; }
.topbar nav a:hover { color: var(--gold); }
.topbar nav a.on { color: var(--gold); }
.topbar nav a.on::after { content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .2rem; height: 2px; background: var(--gold); border-radius: 2px; }
.topbar nav a.nav-btn { background: var(--gold); color: var(--maroon-deep); margin-left: .4rem; }
.topbar nav a.nav-btn:hover { background: #ffd35a; color: var(--maroon-deep); }

/* ---------- Hero ---------- */
.hero-band {
  background:
    radial-gradient(1000px 400px at 85% -10%, rgba(245,193,58,.18), transparent 60%),
    radial-gradient(700px 380px at 0% 120%, rgba(184,15,10,.45), transparent 60%),
    linear-gradient(135deg, var(--maroon) 0%, #7d1224 55%, var(--maroon-deep) 100%);
  color: #fff; padding: 3.2rem 0 5rem; position: relative; overflow: hidden;
}
.hero-band::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(to left, #000, transparent 70%); pointer-events: none; }
.hero-band > .wrap { position: relative; z-index: 1; }
.hero-band h1 { color: #fff; }
.hero-band a { color: #fff; }
.hero-sm { padding: 1.8rem 0 4.2rem; }
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 3rem; align-items: center; }
.eyebrow { display: inline-block; font-family: var(--head); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.eyebrow.dark { color: var(--red); }
.lead { font-size: 1.08rem; color: rgba(255,255,255,.85); max-width: 40rem; margin: 0 0 1.6rem; }
.lead.sm { font-size: .98rem; margin: 0; }
.cta { display: flex; gap: .8rem; flex-wrap: wrap; }
.kpi { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.kpi-i { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 14px; padding: 1rem 1.1rem; backdrop-filter: blur(4px); }
.kpi-i b { display: block; font-family: var(--head); font-size: 1.9rem; font-weight: 800; color: #fff; line-height: 1.1; font-variant-numeric: tabular-nums; }
.kpi-i span { font-size: .8rem; color: rgba(255,255,255,.75); }
.kpi-i:first-child { background: var(--gold); border-color: var(--gold); }
.kpi-i:first-child b, .kpi-i:first-child span { color: var(--maroon-deep); }
.kpi-wide b { font-size: 1.35rem; }
.crumb { font-size: .84rem; color: rgba(255,255,255,.7); margin: 0 0 1rem; }
.crumb a { color: rgba(255,255,255,.9); }
.crumb a:hover { color: var(--gold); }
.ph { display: flex; gap: 1.2rem; align-items: center; }
.ph h1 { margin: 0 0 .5rem; }
.ph-abbr { flex: none; width: 72px; height: 72px; border-radius: 18px; background: var(--gold); color: var(--maroon-deep); display: grid; place-items: center; font-family: var(--head); font-weight: 800; font-size: 1.15rem; box-shadow: 0 6px 20px rgba(0,0,0,.2); }
.ph-meta { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; margin: 0; font-size: .9rem; color: rgba(255,255,255,.82); }

/* ---------- Buttons & pills ---------- */
.btn { display: inline-flex; align-items: center; gap: .45rem; font-family: var(--head); font-weight: 700; font-size: .88rem; padding: .7rem 1.2rem; border-radius: 10px; background: var(--red); color: #fff !important; transition: transform .15s, box-shadow .15s, background .15s; border: 1px solid transparent; }
.btn:hover { background: var(--maroon); transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.btn-gold { background: var(--gold); color: var(--maroon-deep) !important; }
.btn-gold:hover { background: #ffd35a; }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.4); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-sm { padding: .4rem .8rem; font-size: .8rem; border-radius: 8px; }
.pill { display: inline-flex; align-items: center; gap: .3rem; font-family: var(--head); font-size: .7rem; font-weight: 700; padding: .25rem .65rem; border-radius: 999px; white-space: nowrap; letter-spacing: .01em; }
.pill-ok, .pill-lengkap { background: var(--ok-soft); color: var(--ok); }
.pill-gold, .pill-proses, .pill-saran { background: var(--gold-soft); color: #8a6210; }
.pill-belum { background: var(--no-soft); color: var(--no); }
.pill-perlu { background: var(--bad-soft); color: var(--bad); }
.pill-light { background: rgba(255,255,255,.16); color: #fff; }
.hero-band .pill-gold { background: var(--gold); color: var(--maroon-deep); }
.tag { display: inline-block; font-family: var(--head); font-size: .7rem; font-weight: 800; padding: .15rem .5rem; border-radius: 6px; background: var(--rose); color: var(--maroon); }
.count { display: inline-grid; place-items: center; min-width: 1.4rem; height: 1.4rem; padding: 0 .35rem; border-radius: 999px; background: var(--rose); color: var(--maroon); font-size: .72rem; font-weight: 800; }

/* ---------- Layout ---------- */
main { padding-bottom: 3rem; }
.lift { margin-top: -2.6rem; position: relative; z-index: 2; }
.block { margin: 3rem 0; }
.block:first-child { margin-top: -2.6rem; position: relative; z-index: 2; }
.sec-title { background: var(--surface); border-radius: var(--radius) var(--radius) 0 0; padding: 1.6rem 1.6rem 0; box-shadow: var(--shadow); }
.sec-title p { margin: .4rem 0 0; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.5rem; margin-bottom: 1.25rem; box-shadow: var(--shadow); }
.card.empty { text-align: center; color: var(--muted); padding: 3rem 1rem; }
.card.empty .ik { color: var(--gold-deep); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.two > .card { margin-bottom: 0; }
.two + .tabs, .two + .card { margin-top: 2rem; }
.sec-head { display: flex; justify-content: space-between; align-items: center; gap: .8rem 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.sec-head h3 { margin: 0; }
.total { font-size: .9rem; color: var(--muted); }
.total b { color: var(--maroon); font-family: var(--head); font-size: 1.1rem; }
.note { font-size: .86rem; color: var(--muted); background: var(--bg); border-left: 3px solid var(--gold); padding: .6rem .9rem; border-radius: 0 8px 8px 0; margin: 1rem 0 0; }
.desc { font-size: .9rem; color: var(--muted); margin: 1.2rem 0 0; padding-top: 1rem; border-top: 1px solid var(--line); }
.int-note { display: flex; gap: .4rem; align-items: flex-start; font-size: .8rem; color: var(--bad); background: var(--bad-soft); padding: .45rem .7rem; border-radius: 8px; margin: .6rem 0 0; }

/* ---------- Flow ---------- */
.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; align-items: stretch; gap: .6rem; background: var(--surface); padding: 1.4rem 1.6rem 1.6rem; border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow); }
.flow-i { background: var(--rose); border-radius: 12px; padding: 1.1rem; display: flex; flex-direction: column; gap: .25rem; }
.flow-i b { font-family: var(--head); font-size: .92rem; color: var(--ink); }
.flow-i small { color: var(--muted); font-size: .82rem; line-height: 1.4; }
.flow-ik { width: 44px; height: 44px; border-radius: 12px; background: var(--maroon); color: var(--gold); display: grid; place-items: center; margin-bottom: .4rem; }
.flow-ar { align-self: center; color: var(--gold-deep); }
.flow-i:last-child { background: var(--maroon); }
.flow-i:last-child b { color: #fff; }
.flow-i:last-child small { color: rgba(255,255,255,.75); }
.flow-i:last-child .flow-ik { background: var(--gold); color: var(--maroon); }

/* ---------- Jenjang ---------- */
.jen-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.stats { display: flex; gap: .6rem; }
.stats div { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: .55rem 1rem; text-align: center; min-width: 88px; }
.stats b { display: block; font-family: var(--head); font-size: 1.3rem; color: var(--maroon); font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stats span { font-size: .75rem; color: var(--muted); }
.fak { margin: 2rem 0 .9rem; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--maroon); }
.fak .ik { color: var(--gold-deep); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(265px, 1fr)); gap: 1.1rem; }
.pcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.3rem 1rem; display: flex; flex-direction: column; color: var(--text); box-shadow: var(--shadow); position: relative; overflow: hidden; transition: transform .18s, box-shadow .18s, border-color .18s; }
.pcard::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--maroon), var(--red) 60%, var(--gold)); }
.pcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #e3d3d5; color: var(--text); }
.pcard-top { display: flex; justify-content: space-between; align-items: center; }
.abbr { font-family: var(--head); font-weight: 800; color: var(--red); font-size: .95rem; }
.pcard h4 { font-size: 1.05rem; margin: .6rem 0 .35rem; line-height: 1.3; }
.clamp { font-size: .86rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin: 0 0 1rem; }
.pcard-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: .4rem; margin-top: auto; padding: .8rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pcard-stats div { text-align: center; }
.pcard-stats b { display: block; font-family: var(--head); font-size: 1.1rem; color: var(--ink); }
.pcard-stats span { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.pcard-sync { margin-top: auto; display: flex; align-items: center; gap: .5rem; padding: .75rem .8rem; border-radius: 10px; background: var(--ok-soft); color: var(--ok); font-size: .82rem; font-weight: 700; }
.pcard-foot { display: flex; justify-content: space-between; align-items: center; padding-top: .75rem; font-size: .82rem; }
.go { font-family: var(--head); font-weight: 700; color: var(--red); display: inline-flex; align-items: center; gap: .3rem; transition: gap .15s; }
.pcard:hover .go { gap: .55rem; }
.warn { color: var(--bad); font-weight: 700; }

/* ---------- Modul ---------- */
.modul { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; }
.lift .modul, .two .modul { grid-template-columns: repeat(2, 1fr); }
.mod { display: flex; gap: .75rem; padding: .9rem; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); }
.mod-ik { flex: none; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--rose); color: var(--maroon); }
.mod-siap .mod-ik { background: var(--ok-soft); color: var(--ok); }
.mod-sinkron .mod-ik { background: var(--gold-soft); color: #8a6210; }
.mod-body { flex: 1; min-width: 0; }
.mod-head { display: flex; justify-content: space-between; align-items: center; gap: .4rem; }
.mod-head b { font-family: var(--head); font-size: .9rem; color: var(--ink); }
.num { font-family: var(--head); font-weight: 800; color: var(--maroon); font-variant-numeric: tabular-nums; }
.num small { color: var(--muted); font-weight: 600; }
.mod small { font-size: .78rem; color: var(--muted); }
.bar { height: 6px; background: #eadfe1; border-radius: 99px; overflow: hidden; margin: .45rem 0 .3rem; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--red), var(--gold)); border-radius: 99px; }

/* ---------- Checklist ---------- */
.check { list-style: none; margin: 0; padding: 0; }
.check li { display: flex; gap: .85rem; padding: .7rem 0; border-top: 1px dashed var(--line); }
.check li:first-child { border-top: 0; padding-top: 0; }
.check-ik { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; }
.check .ok .check-ik { background: var(--ok); color: #fff; }
.check .no .check-ik { background: var(--no-soft); color: var(--no); }
.check small { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--red); font-family: var(--head); font-weight: 700; }
.check b { display: block; font-family: var(--head); font-size: .9rem; color: var(--ink); }
.check span { font-size: .85rem; color: var(--muted); }

/* ---------- Sistem ---------- */
.sys { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: .8rem; }
.sys-item { display: flex; align-items: center; gap: .9rem; padding: .9rem 1rem; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); }
.sys-ik { flex: none; width: 42px; height: 42px; border-radius: 10px; background: var(--maroon); color: var(--gold); display: grid; place-items: center; }
.sys-body { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.35; }
.sys-body strong { font-family: var(--head); color: var(--ink); }
.sys-body small { font-size: .8rem; }

/* ---------- Tabs ---------- */
.tabs { display: flex; gap: .3rem; margin: 2rem 0 1.25rem; overflow-x: auto; background: var(--surface); padding: .35rem; border-radius: 12px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.tabs a { padding: .6rem 1rem; color: var(--muted); white-space: nowrap; font-family: var(--head); font-weight: 600; font-size: .86rem; border-radius: 9px; display: inline-flex; align-items: center; gap: .4rem; }
.tabs a:hover { color: var(--maroon); background: var(--rose); }
.tabs a.on { color: #fff; background: var(--maroon); }
.tabs a.on .count { background: var(--gold); color: var(--maroon-deep); }
.seg { display: inline-flex; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: 10px; padding: .25rem; }
.seg a { padding: .45rem 1.1rem; border-radius: 8px; font-family: var(--head); font-weight: 700; font-size: .85rem; color: rgba(255,255,255,.85); }
.seg a.on { background: var(--gold); color: var(--maroon-deep); }

/* ---------- Tables ---------- */
.tbl-wrap { overflow-x: auto; margin: 0 -.3rem; }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
th { text-align: left; font-family: var(--head); font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--maroon); font-weight: 700; padding: .75rem .7rem; background: var(--rose); white-space: nowrap; }
th:first-child { border-radius: 8px 0 0 8px; }
th:last-child { border-radius: 0 8px 8px 0; }
td { padding: .7rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
tbody tr:hover td { background: #fdfafa; }
tbody + tbody td { border-top: 1px solid #dcd2d4; }
.c { text-align: center; font-variant-numeric: tabular-nums; }
.smt { text-align: center; width: 3.2rem; }
.smt span { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--maroon); color: var(--gold); font-family: var(--head); font-weight: 800; font-size: .82rem; }
.mk { color: var(--ink); font-weight: 700; }
.mk:hover { color: var(--red); }
.dot { display: inline-block; width: 13px; height: 13px; border-radius: 50%; vertical-align: middle; }
.dot-lengkap { background: var(--ok); box-shadow: 0 0 0 3px var(--ok-soft); }
.dot-proses { background: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
.dot-belum { border: 2px solid #cfc6c8; }
.legend { font-size: .82rem; color: var(--muted); display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; margin: 1.1rem 0 0; }
.legend .dot { margin-left: .8rem; }
.legend .dot:first-child { margin-left: 0; }

/* ---------- Profil / CPL / Dosen ---------- */
blockquote { margin: 0 0 1.2rem; padding: 1rem 1.2rem; background: var(--rose); border-left: 4px solid var(--red); border-radius: 0 10px 10px 0; font-family: var(--head); font-weight: 600; color: var(--maroon); line-height: 1.5; }
.misi { padding-left: 1.2rem; margin: 0; }
.misi li { margin: .4rem 0; }
.misi li::marker { color: var(--red); font-weight: 800; }
.profil { display: grid; gap: .6rem; }
.profil div { padding: .7rem .9rem; border-radius: 10px; background: var(--bg); }
.profil b { font-family: var(--head); color: var(--red); font-size: .85rem; }
.profil p { margin: .2rem 0 0; font-size: .88rem; }
.chips { display: flex; gap: .45rem; flex-wrap: wrap; }
.chips span { background: var(--gold-soft); color: #7a560c; padding: .3rem .75rem; border-radius: 999px; font-size: .82rem; font-weight: 700; }
details { border-top: 1px solid var(--line); padding: .8rem 0; }
details:first-of-type { border-top: 0; }
summary { cursor: pointer; font-family: var(--head); font-weight: 700; color: var(--ink); display: flex; align-items: center; gap: .5rem; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::before { content: "+"; width: 22px; height: 22px; border-radius: 6px; background: var(--rose); color: var(--maroon); display: grid; place-items: center; font-weight: 800; }
details[open] summary::before { content: "–"; background: var(--maroon); color: var(--gold); }
.cpl { list-style: none; padding: 0; margin: .8rem 0 0; display: grid; gap: .45rem; }
.cpl li { display: flex; gap: .8rem; font-size: .9rem; padding: .55rem .7rem; border-radius: 8px; background: var(--bg); }
.cpl b { flex: none; min-width: 2.6rem; font-family: var(--head); color: var(--red); font-size: .8rem; padding-top: .1rem; }
.dgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 1.1rem; }
.dcard { margin: 0; }
.dhead { display: flex; gap: .9rem; align-items: center; margin-bottom: .8rem; }
.dhead b { display: block; font-family: var(--head); color: var(--ink); }
.dhead small { color: var(--muted); }
.avatar { flex: none; width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, var(--maroon), var(--red)); color: var(--gold); display: grid; place-items: center; font-family: var(--head); font-weight: 800; font-size: 1.15rem; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: .45rem 1rem; font-size: .88rem; margin: .4rem 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; color: var(--ink); }
.kul + .kul { border-top: 1px solid var(--line); padding-top: 1rem; margin-top: 1rem; }
.ref { padding-left: 1.1rem; font-size: .88rem; }
.notes { list-style: none; padding: 0; margin: 0; }
.notes li { display: flex; gap: .9rem; align-items: flex-start; padding: .85rem 0; border-top: 1px solid var(--line); }
.notes li:first-child { border-top: 0; }
.notes p { margin: .15rem 0 0; }
.notes .done { opacity: .45; }

/* ---------- Footer ---------- */
.foot { background: var(--maroon-deep); color: rgba(255,255,255,.72); font-size: .86rem; margin-top: 2rem; }
.foot-in { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2rem; padding-top: 2.6rem; padding-bottom: 2rem; }
.foot img { height: 42px; width: auto; }
.foot h4 { color: var(--gold); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; margin: .4rem 0 .7rem; }
.foot p { margin: .7rem 0 0; line-height: 1.7; }
.foot-bot { border-top: 1px solid rgba(255,255,255,.1); padding-top: 1rem; padding-bottom: 1.2rem; font-size: .78rem; color: rgba(255,255,255,.5); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .two, .foot-in { grid-template-columns: 1fr; }
  .hero-grid { gap: 2rem; }
  .flow { grid-template-columns: 1fr; }
  .flow-ar { transform: rotate(90deg); justify-self: center; }
  .modul { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .topbar-in { gap: .4rem; }
  .topbar nav { flex-wrap: nowrap; overflow-x: auto; width: 100%; margin: 0 -.4rem; }
  .topbar nav a { padding: .45rem .6rem; font-size: .82rem; }
  .cta .btn { flex: 1 1 auto; justify-content: center; }
  .brand-txt, .strip-in span:last-child { display: none; }
  .kpi { grid-template-columns: repeat(2, 1fr); }
  .modul, .lift .modul, .two .modul { grid-template-columns: 1fr; }
  .ph { flex-direction: column; align-items: flex-start; }
  .stats div { min-width: 0; padding: .5rem .7rem; }
  .card { padding: 1.1rem; }
  .dgrid { grid-template-columns: 1fr; }
}

[id] { scroll-margin-top: 90px; }
