/* ==========================================================================
   Edustart RN Computer And Vocational Training Institute
   Stylesheet
   ========================================================================== */

:root {
  --navy: #0b3d91;
  --blue: #1769e0;
  --blue-soft: #e8f0fe;
  --accent: #ff9f1c;
  --accent-dark: #f08700;
  --green: #1f9d55;
  --ink: #16202e;
  --body: #41505f;
  --muted: #74818f;
  --line: #e6ebf1;
  --bg: #ffffff;
  --bg-soft: #f5f8fc;
  --bg-navy: #0a2a63;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 8px 28px rgba(16, 38, 76, 0.08);
  --shadow-lg: 0 18px 50px rgba(16, 38, 76, 0.14);
  --maxw: 1180px;
  --font-head: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(1.9rem, 4.6vw, 3.1rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.3rem); letter-spacing: -0.01em; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; }
.ic { flex: none; vertical-align: middle; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 20px; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 10px; background: #fff; padding: 8px 14px; z-index: 999; border-radius: 8px; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  font-family: var(--font-head); font-weight: 600; font-size: .98rem;
  padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(23,105,224,.28); }
.btn-primary:hover { background: var(--navy); color: #fff; }
.btn-accent { background: var(--accent); color: #3a2600; box-shadow: 0 8px 20px rgba(255,159,28,.3); }
.btn-accent:hover { background: var(--accent-dark); color: #3a2600; }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: #f1f5fb; color: var(--navy); }
.btn-sm { padding: 9px 16px; font-size: .9rem; }
.btn-lg { padding: 15px 30px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ---- Top bar ---- */
.topbar { background: var(--bg-navy); color: #c9d7f0; font-size: .85rem; }
.topbar a { color: #dce6fa; }
.topbar a:hover { color: #fff; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 0; }
.topbar-contacts { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
.topbar-contacts a, .topbar-city { display: inline-flex; align-items: center; gap: 6px; }
.topbar-wa { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: #7ff0a8; }

/* ---- Header ---- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--navy), var(--blue)); color: #fff;
  font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; flex: none;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--font-head); font-size: 1.18rem; color: var(--ink); font-weight: 800; }
.brand-text small { font-size: .72rem; color: var(--muted); letter-spacing: .02em; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav > a { font-family: var(--font-head); font-weight: 600; color: var(--ink); padding: 10px 14px; border-radius: 8px; font-size: .97rem; }
.main-nav > a:hover { background: var(--bg-soft); color: var(--blue); }
.main-nav > a.active { color: var(--blue); }
.nav-cta { margin-left: 10px; }
.nav-cta.active { color: #fff !important; }
.nav-toggle { display: none; background: none; border: none; color: var(--ink); cursor: pointer; padding: 6px; }

/* ---- Flash ---- */
.flash { margin: 16px 0 0; padding: 13px 18px; border-radius: var(--radius-sm); font-weight: 500; border: 1px solid; }
.flash-success { background: #e9f8ef; color: #136c3a; border-color: #bfe8cf; }
.flash-error { background: #fdecec; color: #a62424; border-color: #f4c7c7; }
.flash-info { background: var(--blue-soft); color: var(--navy); border-color: #c5d9fb; }

/* ---- Hero ---- */
.hero { position: relative; background: radial-gradient(1200px 500px at 80% -10%, #1a4fb0 0%, transparent 60%), linear-gradient(160deg, #0a2a63 0%, #0b3d91 55%, #1458c6 100%); color: #fff; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.08) 1px, transparent 0); background-size: 22px 22px; opacity: .5; }
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; padding: 64px 0 72px; }
.hero h1 { color: #fff; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); color: #dfe9ff; padding: 7px 15px; border-radius: 999px; font-size: .85rem; font-weight: 600; margin-bottom: 20px; }
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #7ff0a8; box-shadow: 0 0 0 4px rgba(127,240,168,.25); }
.hero p.lead { color: #d6e2fb; font-size: 1.12rem; max-width: 540px; margin-bottom: 26px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 30px; margin-top: 38px; flex-wrap: wrap; }
.hero-stat strong { font-family: var(--font-head); font-size: 1.9rem; font-weight: 800; color: #fff; display: block; }
.hero-stat span { color: #b9caef; font-size: .85rem; }

.hero-card { background: #fff; border-radius: 18px; padding: 26px; box-shadow: var(--shadow-lg); color: var(--ink); }
.hero-card h3 { margin-bottom: 4px; }
.hero-card .muted { color: var(--muted); font-size: .9rem; margin-bottom: 18px; }
.hero-card .mini-list { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 12px; }
.hero-card .mini-list li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.hero-card .mini-list .tick { width: 22px; height: 22px; border-radius: 50%; background: #e9f8ef; color: var(--green); display: grid; place-items: center; flex: none; }

/* ---- Sections ---- */
section { padding: 64px 0; }
.section-soft { background: var(--bg-soft); }
.section-navy { background: var(--bg-navy); color: #d9e4fa; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.section-head .eyebrow { display: inline-block; color: var(--blue); font-weight: 700; font-family: var(--font-head); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px; }
.section-head.light .eyebrow { color: var(--accent); }
.section-head p { color: var(--muted); font-size: 1.05rem; }

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

.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.feature .fi { width: 52px; height: 52px; border-radius: 13px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; margin-bottom: 16px; }
.feature h3 { margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---- Course cards ---- */
.course-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease, border-color .2s; }
.course-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.course-top { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.course-icon { width: 54px; height: 54px; border-radius: 13px; display: grid; place-items: center; background: linear-gradient(135deg, var(--navy), var(--blue)); color: #fff; flex: none; }
.course-level { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--accent-dark); background: #fff4e3; padding: 4px 10px; border-radius: 999px; }
.course-card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.course-card .cc-desc { color: var(--muted); font-size: .92rem; flex: 1; }
.course-meta { display: flex; gap: 16px; margin: 16px 0; flex-wrap: wrap; }
.course-meta span { display: inline-flex; align-items: center; gap: 6px; font-size: .86rem; color: var(--body); font-weight: 500; }
.course-meta .fee { color: var(--green); font-weight: 700; }
.course-foot { display: flex; gap: 10px; align-items: center; border-top: 1px solid var(--line); padding-top: 16px; }
.course-foot a { font-weight: 600; font-family: var(--font-head); }
.course-foot .btn { flex: 1; }

/* ---- Course detail ---- */
.detail-hero { background: linear-gradient(160deg, #0a2a63, #0b3d91); color: #fff; padding: 48px 0; }
.detail-hero .crumb { color: #a9bff0; font-size: .85rem; margin-bottom: 14px; }
.detail-hero .crumb a { color: #cfdcf9; }
.detail-hero h1 { color: #fff; }
.detail-grid { display: grid; grid-template-columns: 1.6fr .9fr; gap: 34px; align-items: start; margin-top: 40px; }
.detail-body h2 { margin-top: 28px; }
.topic-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.topic-list li { display: flex; gap: 12px; align-items: flex-start; background: var(--bg-soft); padding: 14px 16px; border-radius: var(--radius-sm); }
.topic-list .tick { width: 24px; height: 24px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; flex: none; }
.detail-aside { position: sticky; top: 92px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; }
.detail-aside .price { font-family: var(--font-head); font-size: 2rem; font-weight: 800; color: var(--ink); }
.detail-aside .price small { font-size: .9rem; color: var(--muted); font-weight: 500; }
.aside-meta { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 12px; }
.aside-meta li { display: flex; justify-content: space-between; align-items: center; padding-bottom: 10px; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.aside-meta li span:first-child { color: var(--muted); }
.aside-meta li span:last-child { font-weight: 600; color: var(--ink); }

/* ---- Why / about blocks ---- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-points { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 16px; }
.about-points li { display: flex; gap: 14px; align-items: flex-start; }
.about-points .ap-ic { width: 42px; height: 42px; border-radius: 11px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; flex: none; }
.about-points strong { display: block; color: var(--ink); font-family: var(--font-head); }
.about-points p { margin: 2px 0 0; color: var(--muted); font-size: .93rem; }
.media-card { border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg); background: linear-gradient(160deg, #0a2a63, #1458c6); color: #fff; padding: 40px; }
.media-card .big { font-family: var(--font-head); font-size: 3.4rem; font-weight: 800; line-height: 1; }
.stat-row { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; margin-top: 28px; }
.stat-row .s strong { font-family: var(--font-head); font-size: 1.8rem; display: block; }
.stat-row .s span { color: #bcccee; font-size: .85rem; }

/* ---- Steps ---- */
.steps { counter-reset: step; display: grid; gap: 22px; grid-template-columns: repeat(4,1fr); }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; position: relative; }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: -16px; left: 22px; width: 38px; height: 38px; border-radius: 10px; background: var(--accent); color: #3a2600; font-family: var(--font-head); font-weight: 800; display: grid; place-items: center; }
.step h3 { margin: 10px 0 6px; font-size: 1.05rem; }
.step p { color: var(--muted); font-size: .92rem; margin: 0; }

/* ---- CTA band ---- */
.cta-band { background: linear-gradient(130deg, var(--accent), #ffb703); color: #3a2600; border-radius: 20px; padding: 44px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: #3a2600; margin-bottom: 6px; }
.cta-band p { margin: 0; color: #60450f; font-weight: 500; }

/* ---- Testimonials ---- */
.tcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.tstars { color: var(--accent); display: flex; gap: 3px; margin-bottom: 12px; }
.tcard p { color: var(--body); font-style: italic; }
.tperson { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.tavatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg,var(--navy),var(--blue)); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; }
.tperson strong { display: block; color: var(--ink); font-size: .95rem; }
.tperson span { color: var(--muted); font-size: .82rem; }

/* ---- Forms ---- */
.form-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--ink); }
.field label .req { color: #d64545; }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: .97rem; color: var(--ink);
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; transition: border-color .15s, box-shadow .15s; width: 100%;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(23,105,224,.12); }
.field .hint { font-size: .8rem; color: var(--muted); }
.form-note { font-size: .83rem; color: var(--muted); margin-top: 14px; }
.form-aside { background: linear-gradient(160deg,#0a2a63,#0b3d91); color: #fff; border-radius: var(--radius); padding: 30px; }
.form-aside h3 { color: #fff; }
.form-aside ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 14px; }
.form-aside li { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; color: #d6e2fb; }
.form-aside .tick { width: 24px; height: 24px; border-radius: 50%; background: rgba(127,240,168,.2); color: #7ff0a8; display: grid; place-items: center; flex: none; }
.apply-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 30px; align-items: start; }

/* ---- Success box ---- */
.success-box { text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 44px 30px; max-width: 560px; margin: 0 auto; }
.success-box .sc { width: 76px; height: 76px; border-radius: 50%; background: #e9f8ef; color: var(--green); display: grid; place-items: center; margin: 0 auto 20px; }
.enrol-pill { display: inline-block; background: var(--blue-soft); color: var(--navy); font-family: var(--font-head); font-weight: 800; letter-spacing: .04em; padding: 10px 20px; border-radius: 10px; font-size: 1.15rem; margin: 10px 0 20px; }

/* ---- Contact info cards ---- */
.contact-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-bottom: 40px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; text-align: center; }
.contact-card .ci { width: 56px; height: 56px; border-radius: 14px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; margin: 0 auto 14px; }
.contact-card h3 { font-size: 1.05rem; }
.contact-card a { font-weight: 600; }
.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); line-height: 0; }
.map-embed iframe { width: 100%; height: 360px; border: 0; }

/* ---- Page banner ---- */
.page-banner { background: linear-gradient(160deg,#0a2a63,#0b3d91); color: #fff; padding: 52px 0; text-align: center; }
.page-banner h1 { color: #fff; margin-bottom: 8px; }
.page-banner p { color: #cdd9f5; margin: 0; }
.page-banner .crumb { color: #a9bff0; font-size: .85rem; margin-top: 10px; }
.page-banner .crumb a { color: #cfdcf9; }

/* ---- Footer ---- */
.site-footer { background: #091b3d; color: #a9b8d4; margin-top: 10px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 36px; padding: 56px 0 40px; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col a { color: #a9b8d4; font-size: .93rem; }
.footer-col a:hover { color: #fff; }
.footer-about p { font-size: .92rem; color: #93a3c2; margin-top: 16px; }
.brand-footer .brand-text strong { color: #fff; }
.brand-footer .brand-text small { color: #8ea0c4; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #cdd9f5; }
.footer-social a:hover { background: var(--blue); color: #fff; }
.footer-contact p { display: flex; gap: 9px; align-items: flex-start; font-size: .92rem; color: #a9b8d4; margin-bottom: 10px; }
.footer-apply { margin-top: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 0; flex-wrap: wrap; }
.footer-bottom p { margin: 0; font-size: .85rem; color: #8ea0c4; }

/* ---- Codory free-plan bar ---- */
.codory-bar { background: #050f24; border-top: 1px solid rgba(255,255,255,.07); }
.codory-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; flex-wrap: wrap; }
.codory-left { display: flex; align-items: center; gap: 12px; }
.codory-logo { width: 38px; height: 38px; border-radius: 10px; background: linear-gradient(135deg,#6d28d9,#a855f7); color: #fff; font-family: var(--font-head); font-weight: 800; display: grid; place-items: center; flex: none; }
.codory-left strong { display: block; color: #fff; font-size: .9rem; font-family: var(--font-head); }
.codory-left small { color: #9fb0cf; font-size: .8rem; }
.codory-btn { display: inline-flex; align-items: center; gap: 6px; background: linear-gradient(135deg,#7c3aed,#a855f7); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: .85rem; padding: 10px 18px; border-radius: 999px; }
.codory-btn:hover { color: #fff; filter: brightness(1.08); transform: translateY(-1px); }

/* ---- WhatsApp float ---- */
.wa-float { position: fixed; right: 20px; bottom: 20px; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(37,211,102,.45); z-index: 60; transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); color: #fff; }

/* ---- Admin ---- */
.admin-body { background: var(--bg-soft); }
.login-wrap { min-height: 100vh; display: grid; place-items: center; padding: 20px; background: linear-gradient(160deg,#0a2a63,#0b3d91); }
.login-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 34px; width: 100%; max-width: 400px; }
.login-card .brand { justify-content: center; margin-bottom: 20px; }
.admin-shell { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.admin-side { background: #091b3d; color: #cdd9f5; padding: 22px 16px; }
.admin-side .brand { margin-bottom: 26px; }
.admin-side .brand-text strong { color: #fff; }
.admin-side .brand-text small { color: #8ea0c4; }
.admin-nav { display: grid; gap: 4px; }
.admin-nav a { display: flex; align-items: center; gap: 11px; padding: 11px 14px; border-radius: 9px; color: #b9c7e4; font-weight: 500; font-size: .95rem; }
.admin-nav a:hover { background: rgba(255,255,255,.06); color: #fff; }
.admin-nav a.active { background: var(--blue); color: #fff; }
.admin-main { padding: 26px 30px; }
.admin-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; gap: 14px; flex-wrap: wrap; }
.admin-topbar h1 { font-size: 1.5rem; margin: 0; }
.kpi-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; margin-bottom: 26px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.kpi .kv { font-family: var(--font-head); font-size: 1.9rem; font-weight: 800; color: var(--ink); }
.kpi .kl { color: var(--muted); font-size: .85rem; }
.kpi .ki { width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; margin-bottom: 12px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 24px; }
.panel-head { padding: 16px 20px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.panel-head h2 { font-size: 1.1rem; margin: 0; }
.table-scroll { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: .9rem; }
table.data th, table.data td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.data th { background: var(--bg-soft); font-family: var(--font-head); color: var(--ink); font-weight: 600; font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; }
table.data tr:hover td { background: #fafbfe; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .74rem; font-weight: 700; text-transform: capitalize; }
.badge-new { background: var(--blue-soft); color: var(--navy); }
.badge-contacted, .badge-read { background: #fff4e3; color: var(--accent-dark); }
.badge-enrolled, .badge-closed { background: #e9f8ef; color: #136c3a; }
.badge-rejected { background: #fdecec; color: #a62424; }
.admin-filters { display: flex; gap: 10px; flex-wrap: wrap; }
.admin-filters a { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: .85rem; font-weight: 600; color: var(--body); }
.admin-filters a.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.empty { text-align: center; padding: 50px 20px; color: var(--muted); }

/* ---- Utilities ---- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.muted { color: var(--muted); }
.pill { display: inline-flex; align-items: center; gap: 6px; background: var(--blue-soft); color: var(--navy); padding: 6px 14px; border-radius: 999px; font-size: .82rem; font-weight: 600; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 30px; }
  .hero-card { order: 2; }
  .split, .detail-grid, .apply-layout { grid-template-columns: 1fr; gap: 30px; }
  .detail-aside { position: static; }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .steps { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .contact-cards { grid-template-columns: 1fr; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side { display: none; }
  .kpi-row { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 760px) {
  .topbar-contacts .topbar-city { display: none; }
  .topbar { font-size: .78rem; }
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: fixed; inset: 0 0 0 auto; width: min(82vw, 320px);
    background: #fff; flex-direction: column; align-items: stretch; gap: 2px;
    padding: 80px 20px 30px; box-shadow: -12px 0 40px rgba(0,0,0,.18);
    transform: translateX(105%); transition: transform .28s ease; z-index: 55;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav > a { padding: 14px 12px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-cta { margin: 14px 0 0; }
  body.nav-open { overflow: hidden; }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(8,16,30,.5); z-index: 54; opacity: 0; pointer-events: none; transition: opacity .25s; }
  .nav-backdrop.show { opacity: 1; pointer-events: auto; }
}
@media (max-width: 640px) {
  section { padding: 48px 0; }
  .grid-2, .grid-3, .grid-4, .steps, .form-grid, .stat-row { grid-template-columns: 1fr; }
  .cta-band { padding: 30px; flex-direction: column; align-items: flex-start; text-align: left; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; }
  .kpi-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 22px; }
  .form-wrap, .form-aside { padding: 22px; }
  .topbar-contacts a span, .topbar-contacts { font-size: .76rem; }
}
