/* SIMNANGKIS DIY Landing — design tokens */
:root {
  --navy: #0f2a4a;
  --navy-dark: #0a1e36;
  --navy-mid: #1a3a5c;
  --green: #c62828;
  --green-dark: #b71c1c;
  --green-light: #ffebee;
  --text: #2c3e50;
  --text-muted: #5a6a7a;
  --border: #e2e8f0;
  --bg-light: #f4f7fa;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(15, 42, 74, 0.08);
  --shadow-md: 0 4px 20px rgba(15, 42, 74, 0.12);
  --shadow-lg: 0 8px 32px rgba(15, 42, 74, 0.15);
  --radius: 10px;
  --radius-lg: 14px;
  --container: 1200px;
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { text-decoration: none; color: inherit; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── HEADER ─── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 1px 0 var(--border), var(--shadow-sm);
}

.site-header .container { position: relative; }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand img { width: 48px; height: 48px; object-fit: contain; }

.brand-text strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.brand-text span {
  font-size: 10px;
  color: var(--text-muted);
  line-height: 1.3;
  max-width: 200px;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  padding: 8px 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
  border-radius: 6px;
  transition: color 0.2s;
  white-space: nowrap;
}

.main-nav a:hover { color: var(--green); }

.main-nav a.active {
  color: var(--green);
  position: relative;
}

.main-nav a.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 14px;
  right: 14px;
  height: 2.5px;
  background: var(--green);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.search-box {
  display: flex;
  align-items: center;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0 12px;
  height: 38px;
  width: 160px;
}

.search-box i { color: var(--text-muted); font-size: 13px; margin-right: 8px; }

.search-box input {
  border: none;
  background: transparent;
  font-size: 13px;
  font-family: var(--font);
  width: 100%;
  outline: none;
  color: var(--text);
}

.search-box input::placeholder { color: #aab4c0; }

.btn-masuk {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  font-family: var(--font);
}

.btn-masuk:hover { background: var(--green-dark); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  color: var(--navy);
  cursor: pointer;
  padding: 4px;
}

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../../landing/images/simnangkis-2.webp') center/cover no-repeat;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(255, 255, 255, 0.97) 0%,
    rgba(255, 255, 255, 0.88) 42%,
    rgba(255, 255, 255, 0.35) 68%,
    rgba(255, 255, 255, 0.05) 100%
  );
}

.hero .container {
  position: relative;
  z-index: 1;
  padding-top: 48px;
  padding-bottom: 48px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 800;
  line-height: 1.25;
  color: var(--navy);
  margin-bottom: 16px;
}

.hero h1 .accent { color: var(--green); }

.hero-desc {
  font-size: 14.5px;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 28px;
  line-height: 1.7;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}

.stat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 14px 16px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(226, 232, 240, 0.8);
  display: flex;
  align-items: center;
  gap: 12px;
}

.stat-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.stat-icon.green { background: #ffebee; color: var(--green); }
.stat-icon.blue { background: #e3f0fa; color: #1976d2; }
.stat-icon.gold { background: #fef6e3; color: #e6a817; }
.stat-icon.purple { background: #f0e8fa; color: #7b3fbf; }

.stat-info strong {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
}

.stat-info span {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-primary-navy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: var(--white);
  font-size: 13.5px;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 8px;
  border: 2px solid var(--navy);
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  font-family: var(--font);
}

.btn-primary-navy:hover { background: var(--navy-mid); transform: translateY(-1px); }

.btn-outline-navy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--navy);
  font-size: 13.5px;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 8px;
  border: 2px solid var(--navy);
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  font-family: var(--font);
}

.btn-outline-navy:hover { background: var(--bg-light); transform: translateY(-1px); }

.hero-feature-box {
  background: rgba(15, 42, 74, 0.92);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

.hero-feature-box h3 {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 20px;
  color: var(--white);
}

.hero-feature-box ul { list-style: none; }

.hero-feature-box li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  margin-bottom: 12px;
  line-height: 1.5;
  opacity: 0.95;
}

.hero-feature-box li i {
  color: #e53935;
  margin-top: 3px;
  font-size: 14px;
  flex-shrink: 0;
}

/* ─── SECTION COMMON ─── */
.section {
  padding: 64px 0;
}

.section-alt { background: var(--bg-light); }

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 16px;
}

.section-title-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.section-bar {
  width: 4px;
  height: 32px;
  background: var(--green);
  border-radius: 2px;
  flex-shrink: 0;
}

.section-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
}

.section-subtitle {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-top: 4px;
}

.link-more {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--green);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}

.link-more:hover { gap: 10px; }

/* ─── QUICK ACCESS ─── */
.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.quick-card {
  border-radius: var(--radius-lg);
  padding: 22px 18px 0;
  position: relative;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
  border: 1px solid transparent;
}

.quick-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.quick-card .card-arrow {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--navy);
}

.quick-card .card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 14px;
}

.quick-card h4 {
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}

.quick-card p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 14px;
  flex: 1;
}

.quick-card .btn-card {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  margin-bottom: 12px;
  font-family: var(--font);
  transition: opacity 0.2s;
  width: fit-content;
}

.quick-card .btn-card:hover { opacity: 0.85; }

.quick-card a.btn-card {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.quick-card .card-illus {
  margin-top: auto;
  height: 100px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.quick-card .card-illus svg { width: 100%; max-height: 100px; }

.quick-card.pronangkis { background: #fff0f0; border-color: #f5c6c6; }
.quick-card.pronangkis .card-icon { background: var(--green); color: white; }
.quick-card.pronangkis .btn-card { background: var(--green); color: white; }

.quick-card.csr { background: #eaf2fb; border-color: #c5daf0; }
.quick-card.csr .card-icon { background: #1976d2; color: white; }
.quick-card.csr .btn-card { background: #1976d2; color: white; }

.quick-card.sdgs { background: #fef8e8; border-color: #f5e6b8; }
.quick-card.sdgs .card-icon { background: #e6a817; color: white; }
.quick-card.sdgs .btn-card { background: #e6a817; color: white; }

.quick-card.peta { background: #f3eef9; border-color: #d9c8f0; }
.quick-card.peta .card-icon { background: #7b3fbf; color: white; }
.quick-card.peta .btn-card { background: #7b3fbf; color: white; }

.quick-card.publikasi { background: #d5f0d4; border-color: #c5e8cc; }
.quick-card.publikasi .card-icon { background: #43a047; color: white; }
.quick-card.publikasi .btn-card { background: #43a047; color: white; }

/* ─── PROGRAM PRIORITAS ─── */
.program-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.program-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform 0.25s, box-shadow 0.25s;
}

.program-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.program-card .prog-img {
  height: 150px;
  overflow: hidden;
}

.program-card .prog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.program-card:hover .prog-img img { transform: scale(1.05); }

.program-card .prog-body { padding: 18px 20px 22px; }

.prog-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.prog-badge .badge-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: white;
}

.prog-badge .badge-icon.green { background: var(--green); }
.prog-badge .badge-icon.blue { background: #1976d2; }
.prog-badge .badge-icon.red { background: #d32f2f; }
.prog-badge .badge-icon.orange { background: #f57c00; }

.program-card h4 {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.35;
}

.program-card p {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 14px;
}

.program-card .link-selengkapnya {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ─── BERITA & PUBLIKASI ─── */
.news-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.85fr;
  gap: 24px;
  align-items: start;
}

.featured-news {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.featured-news .feat-img { height: 220px; overflow: hidden; }

.featured-news .feat-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-news .feat-body { padding: 22px 24px 26px; }

.tag-utama {
  display: inline-block;
  background: var(--green);
  color: white;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.featured-news h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: 10px;
}

.featured-news .feat-excerpt {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 14px;
}

.featured-news .feat-date {
  font-size: 12px;
  color: #8896a6;
  margin-bottom: 14px;
}

.featured-news .link-baca {
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.news-list { display: flex; flex-direction: column; gap: 16px; }

.news-item {
  display: flex;
  gap: 14px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 12px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: box-shadow 0.2s;
}

.news-item:hover { box-shadow: var(--shadow-md); }

.news-item .thumb {
  width: 100px;
  height: 72px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.news-item .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-item .news-content { flex: 1; min-width: 0; }

.news-item .news-date {
  font-size: 11px;
  color: #8896a6;
  margin-bottom: 4px;
}

.news-item h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: 6px;
}

.news-item .link-baca-sm {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--green);
}

.pub-panel {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  border: 1px solid var(--border);
}

.pub-panel h4 {
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
}

.pub-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.pub-item:last-of-type { border-bottom: none; }

.pub-item .pdf-icon {
  width: 36px;
  height: 36px;
  background: #fdecea;
  color: #d32f2f;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.pub-item .pub-info { flex: 1; min-width: 0; }

.pub-item .pub-info strong {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 2px;
}

.pub-item .pub-info span {
  font-size: 11px;
  color: #8896a6;
}

.pub-item .btn-dl {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  flex-shrink: 0;
}

.pub-item .btn-dl:hover { background: var(--green-light); color: var(--green); }

.pub-panel .link-more {
  margin-top: 16px;
  display: inline-flex;
}

/* ─── FOOTER ─── */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.85);
  padding-top: 56px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-brand img { width: 52px; margin-bottom: 14px; }

.footer-brand strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: white;
  margin-bottom: 4px;
}

.footer-brand p {
  font-size: 12.5px;
  line-height: 1.65;
  opacity: 0.75;
  margin-bottom: 18px;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: white;
  transition: background 0.2s, border-color 0.2s;
}

.social-links a:hover {
  background: var(--green);
  border-color: var(--green);
}

.footer-col h5 {
  font-size: 14px;
  font-weight: 800;
  color: white;
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; }

.footer-col ul li { margin-bottom: 10px; }

.footer-col ul a {
  font-size: 13px;
  opacity: 0.75;
  transition: opacity 0.2s, color 0.2s;
}

.footer-col ul a:hover { opacity: 1; color: white; }

.contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 13px;
  line-height: 1.55;
  opacity: 0.8;
}

.contact-item i {
  color: var(--green);
  margin-top: 3px;
  flex-shrink: 0;
  width: 16px;
}

.footer-support {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-support img { width: 48px; }

.footer-support span {
  font-size: 12.5px;
  font-weight: 700;
  color: white;
  line-height: 1.4;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 20px 0;
  text-align: center;
  font-size: 12.5px;
  opacity: 0.6;
}

/* ─── LOGIN MODAL ─── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 30, 54, 0.65);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(4px);
}

.modal-overlay.open { display: flex; }

.login-modal {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-width: 760px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  box-shadow: var(--shadow-lg);
  animation: modalIn 0.3s ease;
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to { opacity: 1; transform: none; }
}

.login-modal-cover {
  background: url('../../landing/images/simnangkis-2.webp') center/cover;
  min-height: 400px;
}

.login-modal-form {
  padding: 36px 32px;
  position: relative;
}

.login-modal-form h2 {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 6px;
}

.login-modal-form .sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.form-group { margin-bottom: 16px; text-align: left; }

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--navy);
}

.input-wrap {
  display: flex;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.input-wrap span {
  background: var(--bg-light);
  padding: 0 12px;
  display: flex;
  align-items: center;
  color: var(--text-muted);
  border-right: 1px solid var(--border);
}

.input-wrap input {
  flex: 1;
  border: none;
  padding: 10px 14px;
  font-size: 14px;
  font-family: var(--font);
  outline: none;
}

.captcha-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px;
  align-items: center;
  margin-bottom: 20px;
}

.captcha-row img {
  width: 100%;
  border-radius: 8px;
  cursor: pointer;
  border: 1px solid var(--border);
}

.captcha-row .eq { font-size: 20px; font-weight: 700; color: var(--navy); }

.captcha-row input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  font-family: var(--font);
  outline: none;
}

.captcha-row input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(198, 40, 40, 0.12);
}

.c-info { font-size: 11px; color: var(--text-muted); margin-top: 4px; }

.btn-login {
  background: var(--green);
  color: white;
  border: none;
  padding: 11px 28px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font);
  transition: background 0.2s;
}

.btn-login:hover { background: var(--green-dark); }

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--bg-light);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
}

.captcha-hidden { display: none; }

/* Error login overlay */
.error-overlay { z-index: 3000; }

.error-modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 420px;
  width: 100%;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 2px solid #d32f2f;
  animation: modalIn 0.25s ease;
}

.error-modal-header {
  background: #d32f2f;
  color: var(--white);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.error-modal-header h3 {
  font-size: 16px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
}

.error-modal-header .modal-close {
  position: static;
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
}

.error-modal-body {
  padding: 22px 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.6;
  text-align: center;
}

.error-modal-footer {
  padding: 0 24px 22px;
  text-align: center;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1100px) {
  .quick-grid { grid-template-columns: repeat(3, 1fr); }
  .program-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .news-grid .pub-panel { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .main-nav { display: none; }
  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: white;
    padding: 16px 24px 24px;
    box-shadow: var(--shadow-md);
    border-top: 1px solid var(--border);
  }
  .nav-toggle { display: block; }
  .search-box { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-feature-box { max-width: 400px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .login-modal { grid-template-columns: 1fr; }
  .login-modal-cover { min-height: 180px; }
}

@media (max-width: 640px) {
  .quick-grid { grid-template-columns: 1fr; }
  .program-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section-header { flex-direction: column; align-items: flex-start; }
  .hero-btns { flex-direction: column; }
  .hero-btns a, .hero-btns button { width: 100%; justify-content: center; }
}
