/* Geliya Consultant — site, member portal and admin styles. */
[hidden] { display: none !important; }
:root {
    --navy: #12233f; --navy-2: #0c1930; --ink: #14223a; --ink-2: #44506a; --muted: #6b7690;
    --blue: #1f5fae; --blue-d: #184d8f; --blue-l: #e8f0fb; --sky: #3d8bfd;
    --orange: #ef7d32; --orange-d: #d9661c; --orange-l: #fff1e6;
    --line: #e4e8f0; --bg: #f6f8fb; --white: #fff;
    --ok: #15803d; --ok-l: #e7f6ec; --warn: #a16207; --warn-l: #fdf3d9; --bad: #c0262d; --bad-l: #fdeceb; --info: #1f5fae; --info-l: #e8f0fb;
    --r: 14px; --r-lg: 22px; --shadow: 0 8px 28px rgba(18, 35, 63, .08);
    --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.6 var(--font); color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
body.portal-body { background: var(--bg); }
img { max-width: 100%; display: block; }
a { color: var(--blue); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; color: var(--ink); letter-spacing: -.01em; }
h1 { font-size: 2rem; font-weight: 700; } h2 { font-size: 1.6rem; font-weight: 700; } h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); } .small { font-size: .88rem; } .center { text-align: center; } .num { text-align: right; font-variant-numeric: tabular-nums; }
.section { margin-top: 26px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------------- top bar + header (like the reference: black strip, navy bar, blue pill) */
.topbar { background: #05070b; color: #d8dee9; font-size: .9rem; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 46px; flex-wrap: wrap; }
.topbar b { color: #6ea8ff; font-weight: 700; }
.topbar .tb-r { display: flex; gap: 22px; align-items: center; }
.topbar .tb-r span { display: inline-flex; gap: 8px; align-items: center; }
.topbar a { color: #fff; }
.header { background: var(--navy); position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 14px rgba(0,0,0,.18); }
.header-in { display: flex; align-items: center; gap: 22px; min-height: 92px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 56px; width: auto; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav > a, .nav .dd > button { color: #e9eef7; text-decoration: none; font-size: 1.02rem; font-weight: 500; padding: 10px 14px; border-radius: 10px; background: none; border: 0; font-family: inherit; cursor: pointer; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.nav > a:hover, .nav .dd > button:hover, .nav > a.on { color: #fff; background: rgba(255,255,255,.07); }
.nav .dd { position: relative; }
.nav .dd-menu { position: absolute; top: calc(100% + 8px); left: 0; min-width: 250px; background: #fff; border-radius: 12px; box-shadow: 0 18px 40px rgba(0,0,0,.18); padding: 8px; display: none; }
.nav .dd:hover .dd-menu, .nav .dd.open .dd-menu, .nav .dd:focus-within .dd-menu { display: block; }
.nav .dd-menu a { display: flex; gap: 10px; align-items: center; padding: 9px 12px; color: var(--ink); text-decoration: none; border-radius: 8px; font-size: .95rem; font-weight: 600; }
.nav .dd-menu a:hover { background: var(--blue-l); color: var(--blue-d); }
.nav .dd-menu .ic { color: var(--orange); }
.nav .cta { margin-left: 20px; }
.navtoggle { display: none; margin-left: auto; background: rgba(255,255,255,.1); border: 0; color: #fff; width: 46px; height: 46px; border-radius: 12px; font-size: 1.4rem; cursor: pointer; }

/* ---------------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 22px; border-radius: 999px; border: 1px solid transparent; font: 700 .98rem/1.2 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .15s, transform .15s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue); color: #fff; } .btn-primary:hover { background: var(--blue-d); }
.btn-orange { background: var(--orange); color: #fff; } .btn-orange:hover { background: var(--orange-d); }
.btn-white { background: #fff; color: var(--navy); } .btn-white:hover { background: #eef3fb; }
.btn-navy { background: var(--navy); color: #fff; border-radius: 8px; } .btn-navy:hover { background: #1b3460; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); } .btn-ghost:hover { border-color: #c7cfdd; }
.btn-outline-w { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); } .btn-outline-w:hover { background: rgba(255,255,255,.1); }
.btn-ok { background: var(--ok); color: #fff; } .btn-danger { background: var(--bad-l); color: var(--bad); border-color: #f4c7c4; }
.btn-lg { padding: 17px 32px; font-size: 1.05rem; } .btn-sm { padding: 7px 14px; font-size: .86rem; } .btn-block { width: 100%; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.header .btn-primary { padding: 16px 34px; font-size: 1.02rem; }

/* ---------------- hero slider */
.hero { position: relative; min-height: 640px; background: var(--navy-2); color: #fff; overflow: hidden; }
.hero .slide { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease; display: flex; align-items: center; background-size: cover; background-position: center; }
.hero .slide.on { opacity: 1; z-index: 1; }
.hero .slide::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,12,24,.86) 0%, rgba(6,12,24,.62) 55%, rgba(6,12,24,.35) 100%); }
.hero .slide.no-img { background: radial-gradient(circle at 78% 35%, #1d4f93 0%, rgba(18,35,63,0) 46%), radial-gradient(circle at 10% 90%, rgba(239,125,50,.25) 0%, rgba(18,35,63,0) 40%), linear-gradient(135deg, #0b1830, #12233f 60%, #162d52); }
.hero .slide.no-img::before { background: url("../img/grid.svg") center/56px; opacity: .5; }
.hero .slide-in { position: relative; z-index: 2; width: 100%; }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 5.6vw, 5.1rem); font-weight: 700; line-height: 1.06; max-width: 1050px; margin-bottom: 28px; letter-spacing: -.02em; }
.hero p { font-size: clamp(1.05rem, 1.6vw, 1.35rem); color: #d4dae6; max-width: 820px; margin-bottom: 38px; line-height: 1.6; }
.hero-art { position: absolute; right: 6%; top: 50%; transform: translateY(-50%); width: 34%; max-width: 440px; z-index: 1; opacity: .95; }
.hero-ctl { position: absolute; right: 48px; top: 50%; transform: translateY(-50%); z-index: 5; display: flex; flex-direction: column; gap: 18px; }
.hero-ctl button { width: 68px; height: 68px; border-radius: 50%; border: 0; background: #1d2433; color: #fff; display: grid; place-items: center; cursor: pointer; transition: background .2s; }
.hero-ctl button:hover, .hero-ctl button.hot { background: var(--orange); }
.hero-dots { position: absolute; left: 0; right: 0; bottom: 30px; z-index: 5; }
.hero-dots .wrap { display: flex; gap: 8px; }
.hero-dots i { width: 28px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.3); }
.hero-dots i.on { background: var(--orange); }

/* ---------------- sections */
.sec { padding: 96px 0; }
.sec.alt { background: var(--bg); }
.sec.dark { background: var(--navy); color: #d6deeb; }
.sec.dark h2, .sec.dark h3 { color: #fff; }
.sec-head { text-align: center; max-width: 760px; margin: 0 auto 54px; }
.sec-head.left { text-align: left; margin-left: 0; display: flex; justify-content: space-between; align-items: end; max-width: none; gap: 20px; flex-wrap: wrap; }
.sec-head h2 { font-size: clamp(1.9rem, 3.6vw, 3.1rem); font-weight: 700; }
.sec-head p { color: var(--muted); font-size: 1.12rem; margin: 0; }
.chip { display: inline-block; padding: 6px 18px; border-radius: 999px; background: var(--blue-l); color: var(--blue-d); font-size: .95rem; font-weight: 600; margin-bottom: 18px; }
.chip.on-dark { background: transparent; border: 1px solid rgba(255,255,255,.55); color: #fff; }
.chip.orange { background: var(--orange-l); color: var(--orange-d); }
.grid { display: grid; gap: 26px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* stats strip */
.stats-strip { background: var(--navy); color: #fff; }
.stats-strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats-strip div { padding: 34px 20px; border-left: 1px solid rgba(255,255,255,.08); }
.stats-strip div:first-child { border-left: 0; }
.stats-strip strong { display: block; font-size: 2.4rem; font-weight: 800; color: #fff; line-height: 1; }
.stats-strip span { color: #a9b6cc; font-size: .95rem; }

/* cards */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; box-shadow: 0 1px 2px rgba(18,35,63,.04); }
.card.flush { padding: 0; overflow: hidden; }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.card-head h3 { margin: 0; }
.svc { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 34px 30px; transition: transform .2s, box-shadow .2s, border-color .2s; text-decoration: none; color: inherit; display: flex; flex-direction: column; }
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cfdcf0; }
.svc .ico { width: 64px; height: 64px; border-radius: 18px; background: var(--blue-l); color: var(--blue); display: grid; place-items: center; margin-bottom: 22px; }
.svc:nth-child(3n+2) .ico { background: var(--orange-l); color: var(--orange-d); }
.svc h3 { font-size: 1.3rem; margin-bottom: 10px; }
.svc p { color: var(--muted); margin: 0 0 18px; }
.svc .more { margin-top: auto; font-weight: 700; color: var(--blue); display: inline-flex; gap: 8px; align-items: center; }
.mod { display: flex; gap: 18px; padding: 26px; border-radius: var(--r-lg); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09); text-decoration: none; color: inherit; transition: background .2s; }
.mod:hover { background: rgba(255,255,255,.08); }
.mod .ico { flex: 0 0 54px; height: 54px; border-radius: 14px; background: rgba(239,125,50,.15); color: #ffb37a; display: grid; place-items: center; }
.mod h3 { font-size: 1.15rem; margin-bottom: 6px; }
.mod p { margin: 0; color: #b6c2d6; font-size: .96rem; }
.course { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.course:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.course .thumb { aspect-ratio: 16/9; background: linear-gradient(135deg, var(--navy), var(--blue)); display: grid; place-items: center; color: rgba(255,255,255,.85); position: relative; }
.course .thumb img { width: 100%; height: 100%; object-fit: cover; }
.course .thumb .tag { position: absolute; left: 14px; top: 14px; background: #fff; color: var(--navy); font-size: .78rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.course .body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.course h3 { font-size: 1.18rem; } .course h3 a { color: inherit; text-decoration: none; }
.course .meta { display: flex; gap: 14px; flex-wrap: wrap; color: var(--muted); font-size: .88rem; margin-bottom: 12px; }
.course .foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
.course .price { font-weight: 800; font-size: 1.15rem; color: var(--navy); }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 34px 30px; display: flex; flex-direction: column; position: relative; }
.plan.featured { border: 2px solid var(--blue); box-shadow: 0 20px 50px rgba(31,95,174,.16); }
.plan .ribbon { position: absolute; top: -14px; left: 30px; background: var(--orange); color: #fff; font-size: .78rem; font-weight: 800; padding: 5px 14px; border-radius: 999px; letter-spacing: .04em; text-transform: uppercase; }
.plan .kind { color: var(--orange-d); font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; }
.plan h3 { font-size: 1.45rem; margin: 6px 0 8px; }
.plan .price { font-size: 2.5rem; font-weight: 800; color: var(--navy); line-height: 1.1; margin: 10px 0 4px; }
.plan .price small { font-size: 1rem; color: var(--muted); font-weight: 600; }
.plan ul { list-style: none; padding: 0; margin: 18px 0 26px; }
.plan li { display: flex; gap: 10px; padding: 7px 0; color: var(--ink-2); }
.plan li .ic { color: var(--ok); flex-shrink: 0; margin-top: 3px; }
.plan .btn { margin-top: auto; }

/* consultation band */
.band { position: relative; color: #fff; background: linear-gradient(100deg, rgba(31,95,174,.96), rgba(31,95,174,.82)), var(--band-img, none) center/cover; padding: 120px 0; overflow: hidden; }
.band::after { content: ''; position: absolute; right: -120px; top: -120px; width: 520px; height: 520px; border-radius: 50%; border: 70px solid rgba(255,255,255,.05); }
.band h2 { color: #fff; font-size: clamp(2rem, 4.2vw, 3.7rem); max-width: 820px; line-height: 1.15; }
.band p { color: #e3ecfa; font-size: 1.18rem; max-width: 820px; margin-bottom: 38px; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 60px; }
.faq-grid h3 { font-size: 1.32rem; font-weight: 600; margin: 26px 0 10px; }
.faq-grid p { color: var(--ink-2); font-size: 1.08rem; margin: 0; }

/* blog cards */
.post-card { text-decoration: none; color: inherit; display: flex; flex-direction: column; }
.post-card .img { aspect-ratio: 3/2; border-radius: var(--r-lg); overflow: hidden; background: linear-gradient(135deg, #1b3460, #1f5fae); display: grid; place-items: center; color: rgba(255,255,255,.7); }
.post-card .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-card:hover .img img { transform: scale(1.04); }
.post-card .meta { display: flex; gap: 12px; align-items: center; padding: 18px 0 16px; border-bottom: 1px solid var(--line); margin-bottom: 16px; color: var(--muted); }
.post-card .meta b { color: var(--blue); font-weight: 600; }
.post-card .meta i { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.post-card h3 { font-size: 1.5rem; font-weight: 600; margin-bottom: 14px; }
.post-card .rm { color: var(--blue); font-weight: 600; display: inline-flex; gap: 8px; align-items: center; margin-top: auto; }

/* testimonials */
.tst-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 52px) / 3); gap: 26px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; }
.tst-track::-webkit-scrollbar { display: none; }
.tst { scroll-snap-align: start; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 44px 40px; text-align: center; align-self: start; }
.tst .q { font-size: 4.5rem; line-height: .7; color: #b8cdee; font-family: Georgia, serif; font-weight: 700; height: 40px; }
.tst p { color: var(--ink-2); font-size: 1.12rem; margin: 22px 0 24px; }
.tst .who { display: grid; justify-items: center; gap: 4px; }
.tst .who strong { font-size: 1.15rem; margin-top: 8px; }
.tst .who span { color: var(--muted); }
.round-ctl { display: flex; gap: 14px; }
.round-ctl button { width: 64px; height: 64px; border-radius: 50%; border: 1px solid #cfd6e3; background: #fff; color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.round-ctl button:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

/* team, about */
.person { text-align: center; }
.person .ph { aspect-ratio: 4/5; border-radius: var(--r-lg); overflow: hidden; background: var(--blue-l); display: grid; place-items: center; font-size: 2.6rem; font-weight: 800; color: var(--blue); margin-bottom: 14px; }
.person .ph img { width: 100%; height: 100%; object-fit: cover; }
.person strong { display: block; font-size: 1.1rem; } .person span { color: var(--muted); }
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.feature-list li { display: flex; gap: 14px; align-items: flex-start; }
.feature-list .ic { flex-shrink: 0; color: #fff; background: var(--blue); border-radius: 50%; padding: 5px; }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.art-box { border-radius: 28px; background: linear-gradient(135deg, #12233f, #1f5fae); min-height: 420px; position: relative; overflow: hidden; display: grid; place-items: center; }
.art-box img.cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.art-box .badge-float { position: absolute; left: 24px; bottom: 24px; background: #fff; border-radius: 16px; padding: 16px 20px; box-shadow: var(--shadow); display: flex; gap: 14px; align-items: center; }
.art-box .badge-float strong { font-size: 1.7rem; color: var(--navy); line-height: 1; display: block; }

/* page hero (inner pages) */
.page-hero { background: linear-gradient(120deg, #0b1830, #12233f 55%, #1b3c6e); color: #fff; padding: 80px 0 70px; position: relative; overflow: hidden; }
.page-hero::after { content: ''; position: absolute; inset: 0; background: url("../img/grid.svg") center/56px; opacity: .35; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.4rem); margin-bottom: 10px; }
.page-hero p { color: #c3cee2; font-size: 1.12rem; max-width: 760px; margin: 0; }
.crumbs { font-size: .9rem; color: #9fb0cc; margin-bottom: 14px; } .crumbs a { color: #fff; text-decoration: none; }
.prose { font-size: 1.08rem; color: var(--ink-2); max-width: 820px; } .prose p { margin-bottom: 1.1em; } .prose h2, .prose h3 { margin-top: 1.4em; }
.page { padding: 70px 0 90px; }
.side-card { position: sticky; top: 120px; }

/* contact */
.info-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; }
.info-card .ico { width: 54px; height: 54px; border-radius: 14px; background: var(--blue-l); color: var(--blue); display: grid; place-items: center; margin-bottom: 16px; }
.info-card h3 { font-size: 1.05rem; margin-bottom: 6px; } .info-card p { margin: 0; color: var(--ink-2); word-break: break-word; }
.map { border: 0; width: 100%; height: 360px; border-radius: var(--r-lg); }

/* footer */
.footer { background: var(--navy-2); color: #aeb9cc; padding-top: 80px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; }
.footer h4 { color: #fff; font-size: 1.1rem; margin-bottom: 18px; }
.footer a { color: #c7d1e2; text-decoration: none; } .footer a:hover { color: #fff; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer .foot-brand img { height: 52px; margin-bottom: 18px; }
.footer .contact-line { display: flex; gap: 10px; margin-bottom: 12px; } .footer .contact-line .ic { color: var(--orange); flex-shrink: 0; margin-top: 3px; }
.foot-base { border-top: 1px solid rgba(255,255,255,.08); margin-top: 60px; padding: 22px 0; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .9rem; }
.newsletter { display: flex; gap: 8px; margin-top: 14px; } .newsletter input { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: #fff; }
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.25); }

/* ---------------- forms */
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; } .field label, .label { font-weight: 700; font-size: .9rem; color: var(--ink-2); }
input:not([type]), input[type=text], input[type=email], input[type=password], input[type=number], input[type=tel], input[type=date], input[type=time], input[type=month], input[type=search], input[type=url], input[type=datetime-local], select, textarea {
    width: 100%; font: inherit; font-size: .98rem; color: var(--ink); padding: 12px 14px; border: 1px solid #d3d9e5; border-radius: 10px; background: #fff; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(31,95,174,.14); }
input[type=file] { width: 100%; font: inherit; font-size: .9rem; border: 1px dashed #b9c4d6; border-radius: 10px; padding: 12px; background: #fbfcfe; }
input[type=checkbox], input[type=radio] { accent-color: var(--blue); width: 17px; height: 17px; vertical-align: middle; }
.check { display: flex; gap: 10px; align-items: center; font-weight: 600; font-size: .95rem; cursor: pointer; }
.row-2, .row-3, .row-4 { display: grid; gap: 16px; } .row-2 { grid-template-columns: 1fr 1fr; } .row-3 { grid-template-columns: repeat(3, 1fr); } .row-4 { grid-template-columns: repeat(4, 1fr); }
.help { font-size: .84rem; color: var(--muted); }
fieldset { border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; margin: 0; } legend { font-weight: 800; padding: 0 6px; color: var(--navy); }
.choice-grid { display: grid; gap: 10px; margin-top: 8px; }
.choice { display: flex; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; cursor: pointer; font-weight: 600; }
.choice:has(input:checked) { border-color: var(--blue); background: var(--blue-l); }
.form-card { background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 34px; border: 1px solid var(--line); }

/* ---------------- alerts, badges, tables */
.alert { padding: 12px 16px; border-radius: 10px; margin-bottom: 16px; font-size: .95rem; border: 1px solid transparent; }
.alert-success { background: var(--ok-l); color: #14532d; border-color: #bfe6cb; } .alert-error { background: var(--bad-l); color: #8c1d22; border-color: #f4c7c4; }
.alert-info { background: var(--info-l); color: #173f75; border-color: #c9dbf3; } .alert-warn { background: var(--warn-l); color: #713f12; border-color: #f1dca1; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .76rem; font-weight: 800; white-space: nowrap; }
.badge-ok { background: var(--ok-l); color: var(--ok); } .badge-warn { background: var(--warn-l); color: var(--warn); } .badge-bad { background: var(--bad-l); color: var(--bad); }
.badge-info { background: var(--info-l); color: var(--info); } .badge-muted { background: #eef1f6; color: var(--muted); }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.table th { text-align: left; font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-d); background: #f1f5fb; padding: 11px 14px; white-space: nowrap; }
.table td { padding: 11px 14px; border-top: 1px solid var(--line); vertical-align: middle; }
.table tr:hover td { background: #fafcff; }
.table tfoot td { font-weight: 800; background: #f8fafc; }
.table input[type=number] { width: 92px; padding: 6px 8px; text-align: right; }
.empty { text-align: center; padding: 40px 20px; color: var(--muted); background: #fff; border: 1px dashed #cfd6e3; border-radius: var(--r); }
.kv { display: grid; grid-template-columns: 170px 1fr; gap: 8px 16px; margin: 0; } .kv dt { color: var(--muted); } .kv dd { margin: 0; font-weight: 600; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 18px; overflow-x: auto; }
.tabs a { padding: 10px 14px; color: var(--ink-2); font-weight: 700; text-decoration: none; border-bottom: 2px solid transparent; white-space: nowrap; }
.tabs a.on { color: var(--blue); border-color: var(--blue); }
.filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; }
.filters input, .filters select { width: auto; min-width: 150px; padding: 8px 10px; }
.pager { display: flex; gap: 6px; margin-top: 16px; flex-wrap: wrap; } .pager a { padding: 6px 12px; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; background: #fff; } .pager a.on { background: var(--blue); color: #fff; border-color: var(--blue); }
.pill { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--blue-l); color: var(--blue-d); font-size: .78rem; font-weight: 700; }
.avatar { border-radius: 50%; object-fit: cover; flex-shrink: 0; display: inline-block; }
.avatar-txt { display: inline-grid !important; place-items: center; background: var(--navy); color: #fff !important; font-weight: 700; }

/* ---------------- portal (member + admin) */
.portal { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 26px; padding: 26px 24px 60px; max-width: 1440px; margin: 0 auto; align-items: start; }
.sidebar { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 14px; position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow-y: auto; }
.sidebar .who { display: flex; gap: 10px; align-items: center; padding: 6px 6px 14px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.sidebar .who strong { display: block; font-size: .95rem; line-height: 1.2; } .sidebar .who small { color: var(--muted); font-size: .8rem; }
.sidebar nav a { display: flex; gap: 10px; align-items: center; padding: 9px 12px; border-radius: 9px; color: var(--ink-2); font-weight: 600; font-size: .93rem; text-decoration: none; }
.sidebar nav a:hover { background: var(--bg); color: var(--ink); }
.sidebar nav a.on { background: var(--blue); color: #fff; }
.sidebar nav a .ic { opacity: .8; }
.sidebar .grp { font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #9aa4b8; padding: 14px 12px 4px; }
.portal-top { background: var(--navy); }
.portal-top .header-in { min-height: 70px; }
.portal-top .brand img { height: 42px; }
.portal-main h1 { font-size: 1.6rem; }
.page-head { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.page-head h1 { margin: 0; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; display: grid; gap: 4px; position: relative; overflow: hidden; }
.stat::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--blue); }
.stat:nth-child(2)::before { background: var(--orange); } .stat:nth-child(3)::before { background: var(--ok); } .stat:nth-child(4)::before { background: #7c3aed; }
.stat span { color: var(--muted); font-size: .84rem; font-weight: 700; } .stat strong { font-size: 1.7rem; font-weight: 800; color: var(--navy); line-height: 1.15; }
.welcome { background: linear-gradient(110deg, var(--navy), #1b3c6e 70%, var(--blue)); color: #fff; border-radius: var(--r-lg); padding: 24px 26px; display: flex; gap: 18px; align-items: center; margin-bottom: 20px; flex-wrap: wrap; }
.welcome h1 { color: #fff; margin: 0 0 4px; font-size: 1.5rem; } .welcome p { margin: 0; color: #c8d4ea; }
.welcome .btn-row { margin-left: auto; }
.clock-box { text-align: center; padding: 26px; } .clock-box .time { font-size: 2.6rem; font-weight: 800; color: var(--navy); font-variant-numeric: tabular-nums; }
.att-grid td.c { text-align: center; font-weight: 800; font-size: .8rem; padding: 6px 4px; min-width: 28px; }
.att-P { color: var(--ok); } .att-L { color: var(--warn); } .att-A { color: var(--bad); } .att-H { color: #b45309; } .att-LV { color: var(--info); } .att-HO, .att-– { color: #9aa4b8; }
.auth-wrap { min-height: calc(100vh - 140px); display: grid; place-items: center; padding: 60px 20px; background: var(--bg); }
.auth-card { width: 100%; max-width: 480px; }

@media (max-width: 1180px) {
    .navtoggle { display: block; }
    .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--navy); flex-direction: column; align-items: stretch; padding: 10px 20px 20px; border-top: 1px solid rgba(255,255,255,.08); }
    body.nav-open .nav { display: flex; }
    .header-in { position: relative; min-height: 76px; }
    .nav .dd-menu { position: static; display: block; box-shadow: none; background: rgba(255,255,255,.05); }
    .nav .dd-menu a { color: #e9eef7; }
    .nav .cta { margin: 10px 0 0; }
    .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .foot-grid { grid-template-columns: 1fr 1fr; }
    .info-cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
    .portal { grid-template-columns: minmax(0, 1fr); padding: 16px; }
    .sidebar { position: static; max-height: none; }
    .sidebar nav { display: flex; flex-wrap: wrap; gap: 4px; } .sidebar .grp { width: 100%; padding-top: 8px; }
    .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .g3 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .split { grid-template-columns: minmax(0, 1fr); gap: 34px; }
    .faq-grid { grid-template-columns: minmax(0, 1fr); }
    .tst-track { grid-auto-columns: calc((100% - 26px) / 2); }
    .hero-art { display: none; }
    .row-3, .row-4 { grid-template-columns: 1fr 1fr; }
    .stats-strip .wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    body { font-size: 15px; }
    .wrap { padding: 0 16px; }
    .topbar-in { justify-content: center; font-size: .82rem; padding: 6px 0; } .topbar .tb-l { display: none; } .topbar .tb-r { gap: 14px; flex-wrap: wrap; justify-content: center; }
    .brand img { height: 42px; }
    .hero { min-height: 560px; } .hero-ctl { right: 16px; top: auto; bottom: 24px; transform: none; flex-direction: row; gap: 10px; } .hero-ctl button { width: 48px; height: 48px; }
    .hero-dots { display: none; }
    .sec { padding: 64px 0; } .band { padding: 80px 0; }
    .g2, .g3, .g4, .row-2, .row-3, .row-4, .foot-grid, .info-cards { grid-template-columns: minmax(0, 1fr); }
    .tst-track { grid-auto-columns: 88%; }
    .tst { padding: 32px 24px; }
    .stats { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .kv { grid-template-columns: 1fr; gap: 0; } .kv dd { margin-bottom: 8px; }
    .form-card { padding: 22px; }
    .round-ctl button { width: 48px; height: 48px; }
    .welcome .btn-row { margin-left: 0; }
}

/* hero pillars (right side of a slide without a photo) */
.hero-art.pillars { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; width: auto; right: 9%; }
.hero-art.pillars li { display: flex; align-items: center; gap: 22px; color: rgba(214,224,240,.55); font-weight: 800; font-size: clamp(1.2rem, 2vw, 1.9rem); letter-spacing: .04em; text-transform: uppercase; }
.hero-art.pillars li .ic { color: rgba(214,224,240,.5); }
.hero-art.pillars li:nth-child(2) { color: rgba(255,177,122,.75); } .hero-art.pillars li:nth-child(2) .ic { color: rgba(255,177,122,.7); }
@media (max-width: 1180px) { .hero-art.pillars { display: none; } }
.hero .slide.no-img .slide-in h1, .hero .slide.no-img .slide-in h2, .hero .slide.no-img .slide-in p { max-width: min(860px, 62%); }
@media (max-width: 1180px) { .hero .slide.no-img .slide-in h1, .hero .slide.no-img .slide-in h2, .hero .slide.no-img .slide-in p { max-width: 100%; } }
.hero .slide-in h2.hero-title { color: #fff; font-size: clamp(2.3rem, 5.6vw, 5.1rem); font-weight: 700; line-height: 1.06; margin-bottom: 28px; letter-spacing: -.02em; }
.nav > a.btn-primary { background: var(--blue); color: #fff; padding: 15px 30px; border-radius: 999px; font-weight: 700; }
.nav > a.btn-primary:hover { background: var(--blue-d); }
.hero-art.pillars { right: 200px; }
.plan-preview .plan .btn { display: none; }
