/* =========================================
   UMJ – sipemi-umj.org | Global Stylesheet
   Universitas Muhammadiyah Jakarta
   ========================================= */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;900&family=Inter:wght@300;400;500;600;700&family=Source+Serif+4:ital,wght@0,300;0,400;0,600;1,400&display=swap');

/* --- CSS Custom Properties (Design Tokens) --- */
:root {
  /* Brand Colors */
  --umj-green-dark:   #1a4d2e;
  --umj-green-mid:    #2d7a4f;
  --umj-green-light:  #4caf50;
  --umj-green-pale:   #e8f5e9;
  --umj-gold:         #c9a227;
  --umj-gold-light:   #f5e6a3;

  /* Neutral */
  --neutral-900: #0f1a14;
  --neutral-700: #2e4035;
  --neutral-500: #5a7263;
  --neutral-300: #adc4b2;
  --neutral-100: #f0f7f2;
  --neutral-50:  #f8fcf9;
  --white:       #ffffff;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;
  --font-serif:   'Source Serif 4', Georgia, serif;

  /* Type Scale */
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-5xl:  3rem;
  --text-6xl:  3.75rem;

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Borders & Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow-md:  0 4px 12px rgba(0,0,0,.10), 0 2px 4px rgba(0,0,0,.06);
  --shadow-lg:  0 10px 30px rgba(0,0,0,.12), 0 4px 8px rgba(0,0,0,.06);
  --shadow-xl:  0 20px 60px rgba(0,0,0,.15);

  /* Transitions */
  --transition: all 0.25s ease;
  --transition-slow: all 0.4s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--neutral-700);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--umj-green-mid); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--umj-green-dark); }

ul, ol { list-style: none; }

/* --- Container --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.container-sm {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

/* =========================================
   TOPBAR
   ========================================= */
.topbar {
  background: var(--umj-green-dark);
  color: var(--white);
  font-size: var(--text-xs);
  padding: var(--space-2) 0;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar-links a {
  color: var(--neutral-300);
  margin-left: var(--space-4);
  font-size: var(--text-xs);
  letter-spacing: 0.03em;
}
.topbar-links a:hover { color: var(--umj-gold-light); }

.topbar-info {
  font-size: var(--text-xs);
  color: var(--neutral-300);
  letter-spacing: 0.02em;
}

/* =========================================
   HEADER / NAVBAR
   ========================================= */
.site-header {
  background: var(--white);
  border-bottom: 1px solid #e0ece4;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: var(--space-8);
}

.site-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
}

.site-logo img {
  height: 52px;
  width: auto;
}

.site-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.site-logo-abbr {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-xl);
  color: var(--umj-green-dark);
  letter-spacing: -0.02em;
}

.site-logo-name {
  font-size: 0.65rem;
  color: var(--neutral-500);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Primary Nav */
.primary-nav {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.primary-nav a {
  color: var(--neutral-700);
  font-size: var(--text-sm);
  font-weight: 500;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  letter-spacing: 0.01em;
}

.primary-nav a:hover,
.primary-nav a.active {
  color: var(--umj-green-dark);
  background: var(--umj-green-pale);
}

.primary-nav a.active {
  font-weight: 600;
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown > a::after {
  content: ' ▾';
  font-size: 0.65em;
  opacity: 0.6;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border: 1px solid #e0ece4;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  padding: var(--space-2) 0;
  z-index: 200;
}

.nav-dropdown:hover .dropdown-menu { display: block; }

.dropdown-menu a {
  display: block;
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
  color: var(--neutral-700);
  border-radius: 0;
}

.dropdown-menu a:hover { background: var(--umj-green-pale); color: var(--umj-green-dark); }

/* CTA Button in Nav */
.btn-nav {
  background: var(--umj-green-mid);
  color: var(--white) !important;
  padding: var(--space-2) var(--space-5) !important;
  border-radius: var(--radius-full) !important;
  font-weight: 600 !important;
  font-size: var(--text-sm) !important;
  letter-spacing: 0.02em;
}
.btn-nav:hover { background: var(--umj-green-dark) !important; transform: translateY(-1px); box-shadow: var(--shadow-md); }

/* Mobile menu toggle */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: var(--space-2); }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--umj-green-dark); border-radius: 2px; transition: var(--transition); }

/* =========================================
   PAGE HERO / BANNER
   ========================================= */
.page-hero {
  background: linear-gradient(135deg, var(--umj-green-dark) 0%, var(--umj-green-mid) 60%, #3a8f5a 100%);
  color: var(--white);
  padding: var(--space-16) 0 var(--space-12);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--umj-gold), var(--umj-gold-light), var(--umj-gold));
}

.page-hero-label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--umj-gold-light);
  background: rgba(201,162,39,.15);
  border: 1px solid rgba(201,162,39,.3);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: var(--space-4);
  max-width: 760px;
}

.page-hero p {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.82);
  max-width: 600px;
  line-height: 1.65;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.65);
  margin-top: var(--space-8);
}

.breadcrumb a { color: rgba(255,255,255,0.65); }
.breadcrumb a:hover { color: var(--umj-gold-light); }
.breadcrumb-sep { opacity: 0.4; }
.breadcrumb-current { color: var(--white); font-weight: 500; }

/* =========================================
   SECTION UTILITIES
   ========================================= */
.section { padding: var(--space-20) 0; }
.section-sm { padding: var(--space-12) 0; }
.section-lg { padding: var(--space-24) 0; }

.section-alt { background: var(--neutral-50); }
.section-green-pale { background: var(--umj-green-pale); }
.section-dark { background: var(--umj-green-dark); color: var(--white); }

/* Section Header */
.section-header { margin-bottom: var(--space-12); }
.section-header.center { text-align: center; }

.section-label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--umj-green-mid);
  margin-bottom: var(--space-3);
}

.section-header.section-dark-header .section-label { color: var(--umj-gold-light); }

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--umj-green-dark);
  line-height: 1.15;
  margin-bottom: var(--space-4);
}

.section-dark .section-title { color: var(--white); }

.section-desc {
  font-size: var(--text-lg);
  color: var(--neutral-500);
  max-width: 620px;
  line-height: 1.7;
}

.section-desc.center { margin: 0 auto; }
.section-dark .section-desc { color: rgba(255,255,255,0.72); }

/* Ornamental rule */
.ornament {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.ornament::before, .ornament::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--umj-gold);
  max-width: 60px;
}

.ornament-text {
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--umj-gold);
  font-weight: 600;
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  border: 2px solid transparent;
  letter-spacing: 0.02em;
  line-height: 1;
}

.btn-primary {
  background: var(--umj-green-mid);
  color: var(--white);
  border-color: var(--umj-green-mid);
}
.btn-primary:hover { background: var(--umj-green-dark); border-color: var(--umj-green-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); color: var(--white); }

.btn-outline {
  background: transparent;
  color: var(--umj-green-mid);
  border-color: var(--umj-green-mid);
}
.btn-outline:hover { background: var(--umj-green-mid); color: var(--white); transform: translateY(-2px); }

.btn-white {
  background: var(--white);
  color: var(--umj-green-dark);
  border-color: var(--white);
}
.btn-white:hover { background: var(--umj-gold-light); border-color: var(--umj-gold-light); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-gold {
  background: var(--umj-gold);
  color: var(--neutral-900);
  border-color: var(--umj-gold);
}
.btn-gold:hover { background: #a8861f; border-color: #a8861f; color: var(--white); transform: translateY(-2px); }

.btn-lg { padding: var(--space-4) var(--space-8); font-size: var(--text-base); border-radius: var(--radius-md); }
.btn-sm { padding: var(--space-2) var(--space-4); font-size: var(--text-xs); }

/* Arrow icon */
.btn-arrow::after { content: '→'; font-size: 1.1em; }

/* =========================================
   CARDS
   ========================================= */
.card {
  background: var(--white);
  border: 1px solid #e0ece4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-slow);
  display: flex;
  flex-direction: column;
}

.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--neutral-300); }

.card-img { width: 100%; height: 200px; object-fit: cover; }
.card-body { padding: var(--space-6); flex: 1; display: flex; flex-direction: column; }
.card-category {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--umj-green-mid);
  margin-bottom: var(--space-2);
}
.card-title { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 600; color: var(--umj-green-dark); line-height: 1.3; margin-bottom: var(--space-3); }
.card-title a { color: inherit; }
.card-title a:hover { color: var(--umj-green-mid); }
.card-text { font-size: var(--text-sm); color: var(--neutral-500); line-height: 1.7; margin-bottom: var(--space-4); flex: 1; }
.card-meta { font-size: var(--text-xs); color: var(--neutral-300); display: flex; align-items: center; gap: var(--space-2); }

/* Stat Card */
.stat-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  text-align: center;
  border: 1px solid #e0ece4;
  transition: var(--transition-slow);
}
.stat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.stat-number { font-family: var(--font-display); font-size: var(--text-5xl); font-weight: 900; color: var(--umj-green-dark); line-height: 1; margin-bottom: var(--space-2); }
.stat-label { font-size: var(--text-sm); color: var(--neutral-500); font-weight: 500; }
.stat-icon { font-size: 2.5rem; margin-bottom: var(--space-4); }

/* Faculty Card */
.faculty-card {
  background: var(--white);
  border: 1px solid #e0ece4;
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: var(--transition-slow);
  position: relative;
  overflow: hidden;
}
.faculty-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--umj-green-mid), var(--umj-gold));
}
.faculty-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }

.faculty-abbr {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 900;
  color: var(--umj-green-dark);
  margin-bottom: var(--space-1);
  letter-spacing: -0.02em;
}
.faculty-name { font-size: var(--text-sm); font-weight: 600; color: var(--umj-green-mid); margin-bottom: var(--space-3); }
.faculty-desc { font-size: var(--text-sm); color: var(--neutral-500); line-height: 1.65; margin-bottom: var(--space-4); }
.faculty-prodi-count { font-size: var(--text-xs); color: var(--neutral-300); font-weight: 500; }
.faculty-card a.btn-sm { margin-top: var(--space-4); }

/* News Card */
.news-card {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 0;
  background: var(--white);
  border: 1px solid #e0ece4;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-slow);
}
.news-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.news-card-img { width: 240px; height: 100%; object-fit: cover; }
.news-card-body { padding: var(--space-6); }
.news-card-date { font-size: var(--text-xs); color: var(--neutral-300); font-weight: 500; margin-bottom: var(--space-2); }
.news-card-title { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 600; color: var(--umj-green-dark); line-height: 1.3; margin-bottom: var(--space-3); }
.news-card-title a { color: inherit; }
.news-card-title a:hover { color: var(--umj-green-mid); }
.news-card-excerpt { font-size: var(--text-sm); color: var(--neutral-500); line-height: 1.7; }

/* =========================================
   GRIDS
   ========================================= */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-8); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: var(--space-6); }

/* =========================================
   TAGS / BADGES
   ========================================= */
.tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
}
.tag-green { background: var(--umj-green-pale); color: var(--umj-green-mid); }
.tag-gold  { background: var(--umj-gold-light); color: #7a6010; }
.tag-gray  { background: #f0f0f0; color: var(--neutral-500); }

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
  background: var(--neutral-900);
  color: rgba(255,255,255,0.75);
}

.footer-main {
  padding: var(--space-16) 0 var(--space-10);
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: var(--space-10);
}

.footer-brand img { height: 56px; margin-bottom: var(--space-4); filter: brightness(0) invert(1); }
.footer-brand p { font-size: var(--text-sm); line-height: 1.8; opacity: 0.7; max-width: 280px; }

.footer-col-title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-links a {
  display: block;
  color: rgba(255,255,255,0.6);
  font-size: var(--text-sm);
  padding: var(--space-1) 0;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--umj-gold-light); padding-left: var(--space-2); }

.footer-contact-item {
  display: flex;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.6);
  margin-bottom: var(--space-3);
  line-height: 1.6;
}

.footer-contact-icon { font-size: 1rem; flex-shrink: 0; opacity: 0.7; margin-top: 2px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: var(--space-6) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.4);
}

.footer-bottom a { color: var(--umj-gold-light); }
.footer-bottom a:hover { color: var(--white); }

/* Social Icons */
.social-links { display: flex; gap: var(--space-3); margin-top: var(--space-5); }
.social-link {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  transition: var(--transition);
  text-decoration: none;
}
.social-link:hover { background: var(--umj-green-mid); color: var(--white); transform: translateY(-2px); }

/* =========================================
   PROSE / ARTICLE CONTENT
   ========================================= */
.prose {
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  line-height: 1.85;
  color: var(--neutral-700);
  max-width: 760px;
}

.prose h2 {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--umj-green-dark);
  margin: var(--space-10) 0 var(--space-4);
  line-height: 1.2;
}

.prose h3 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--umj-green-dark);
  margin: var(--space-8) 0 var(--space-3);
}

.prose p { margin-bottom: var(--space-5); }

.prose ul, .prose ol {
  margin: var(--space-4) 0 var(--space-6) var(--space-6);
}
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: var(--space-2); }

.prose strong { color: var(--umj-green-dark); font-weight: 700; }
.prose em { font-style: italic; }
.prose blockquote {
  border-left: 4px solid var(--umj-green-mid);
  padding: var(--space-4) var(--space-6);
  background: var(--umj-green-pale);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: var(--space-6) 0;
  font-style: italic;
  color: var(--umj-green-dark);
}

/* =========================================
   TABLE
   ========================================= */
.table-wrapper { overflow-x: auto; border-radius: var(--radius-md); border: 1px solid #e0ece4; }

table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}

thead {
  background: var(--umj-green-dark);
  color: var(--white);
}

th {
  padding: var(--space-3) var(--space-4);
  text-align: left;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

td {
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid #e0ece4;
  color: var(--neutral-700);
}

tbody tr:last-child td { border-bottom: none; }
tbody tr:nth-child(even) { background: var(--neutral-50); }
tbody tr:hover { background: var(--umj-green-pale); }

/* =========================================
   ACCORDION
   ========================================= */
.accordion-item {
  border: 1px solid #e0ece4;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-3);
  overflow: hidden;
}

.accordion-header {
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  padding: var(--space-5) var(--space-6);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--umj-green-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.accordion-header:hover { background: var(--umj-green-pale); }
.accordion-header::after { content: '+'; font-size: 1.4em; font-weight: 300; color: var(--umj-green-mid); }
.accordion-item.open .accordion-header { background: var(--umj-green-pale); }
.accordion-item.open .accordion-header::after { content: '−'; }

.accordion-body {
  display: none;
  padding: 0 var(--space-6) var(--space-5);
  background: var(--umj-green-pale);
  font-size: var(--text-sm);
  color: var(--neutral-700);
  line-height: 1.75;
}
.accordion-item.open .accordion-body { display: block; }

/* =========================================
   HERO HOMEPAGE (special)
   ========================================= */
.home-hero {
  background: linear-gradient(135deg, var(--umj-green-dark) 0%, #1e5c38 50%, #2d7a4f 100%);
  min-height: 85vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.home-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(201,162,39,0.08) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(255,255,255,0.04) 0%, transparent 50%);
}

.home-hero-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: var(--space-16);
  align-items: center;
  position: relative;
  z-index: 1;
}

.home-hero-content {}

.home-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(201,162,39,0.15);
  border: 1px solid rgba(201,162,39,0.35);
  color: var(--umj-gold-light);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-5);
}

.home-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.08;
  margin-bottom: var(--space-5);
  letter-spacing: -0.02em;
}

.home-hero h1 em {
  font-style: normal;
  color: var(--umj-gold-light);
}

.home-hero-desc {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.78);
  line-height: 1.7;
  margin-bottom: var(--space-8);
  max-width: 520px;
}

.home-hero-actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  align-items: center;
}

.home-hero-stats {
  display: flex;
  gap: var(--space-8);
  margin-top: var(--space-10);
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255,255,255,0.12);
}

.home-hero-stat-num {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}
.home-hero-stat-label {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.6);
  margin-top: var(--space-1);
}

/* Hero card/image side */
.home-hero-visual {
  position: relative;
}

.hero-card {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  color: var(--white);
}

.hero-card-logo {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.hero-card-logo img { height: 64px; width: auto; }
.hero-card-logo-text .abbr { font-family: var(--font-display); font-size: var(--text-3xl); font-weight: 900; line-height: 1; }
.hero-card-logo-text .name { font-size: var(--text-xs); opacity: 0.7; letter-spacing: 0.03em; }

.hero-highlights { display: flex; flex-direction: column; gap: var(--space-4); }

.hero-highlight-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}
.hero-hi-icon { font-size: 1.4rem; flex-shrink: 0; }
.hero-hi-text strong { display: block; font-weight: 600; font-size: var(--text-sm); margin-bottom: 2px; }
.hero-hi-text span { font-size: var(--text-xs); opacity: 0.65; }

.hero-card-footer {
  margin-top: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hero-card-footer .accredit {
  font-size: var(--text-xs);
  opacity: 0.7;
}
.accredit-badge {
  background: var(--umj-gold);
  color: var(--neutral-900);
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

/* =========================================
   TESTIMONIAL
   ========================================= */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  border: 1px solid #e0ece4;
  position: relative;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: var(--space-4);
  left: var(--space-6);
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--umj-green-pale);
  line-height: 1;
}
.testimonial-text {
  font-family: var(--font-serif);
  font-size: var(--text-base);
  line-height: 1.8;
  color: var(--neutral-700);
  margin-bottom: var(--space-5);
  padding-top: var(--space-4);
  font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: var(--space-3); }
.testimonial-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--umj-green-pale);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--umj-green-dark);
  font-size: var(--text-lg);
  flex-shrink: 0;
}
.testimonial-name { font-weight: 600; color: var(--umj-green-dark); font-size: var(--text-sm); }
.testimonial-role { font-size: var(--text-xs); color: var(--neutral-500); }

/* =========================================
   ANNOUNCEMENT BANNER
   ========================================= */
.announcement-bar {
  background: linear-gradient(90deg, var(--umj-gold), #e8b92e);
  color: var(--neutral-900);
  padding: var(--space-3) 0;
  font-size: var(--text-sm);
  font-weight: 600;
  text-align: center;
}
.announcement-bar a { color: var(--neutral-900); text-decoration: underline; }

/* =========================================
   SIDEBAR LAYOUT
   ========================================= */
.sidebar-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--space-10);
  align-items: start;
}

.sidebar { position: sticky; top: 100px; }

.sidebar-card {
  background: var(--neutral-50);
  border: 1px solid #e0ece4;
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  margin-bottom: var(--space-5);
}

.sidebar-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--umj-green-dark);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 2px solid var(--umj-green-mid);
}

/* =========================================
   CONTACT FORM
   ========================================= */
.form-group { margin-bottom: var(--space-5); }

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--umj-green-dark);
  margin-bottom: var(--space-2);
}

.form-control {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 1.5px solid #d0e4d6;
  border-radius: var(--radius-sm);
  font-size: var(--text-base);
  font-family: var(--font-body);
  color: var(--neutral-700);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--umj-green-mid);
  box-shadow: 0 0 0 3px rgba(45,122,79,0.12);
}

textarea.form-control { min-height: 140px; resize: vertical; }

/* =========================================
   PAGINATION
   ========================================= */
.pagination {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  justify-content: center;
  margin-top: var(--space-10);
}

.page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--neutral-700);
  border: 1px solid #e0ece4;
  transition: var(--transition);
  text-decoration: none;
}

.page-link:hover { background: var(--umj-green-pale); border-color: var(--umj-green-mid); color: var(--umj-green-dark); }
.page-link.active { background: var(--umj-green-mid); border-color: var(--umj-green-mid); color: var(--white); }

/* =========================================
   UTILITIES
   ========================================= */
.text-center  { text-align: center; }
.text-right   { text-align: right; }
.text-green   { color: var(--umj-green-mid); }
.text-gold    { color: var(--umj-gold); }
.text-white   { color: var(--white); }
.text-muted   { color: var(--neutral-500); }

.mt-2 { margin-top: var(--space-2); }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.flex-wrap { flex-wrap: wrap; }

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

.divider { border: none; border-top: 1px solid #e0ece4; margin: var(--space-10) 0; }

.gold-line {
  height: 3px;
  background: linear-gradient(90deg, var(--umj-gold), var(--umj-gold-light), var(--umj-gold));
  border-radius: var(--radius-full);
  width: 60px;
  margin-bottom: var(--space-5);
}

/* =========================================
   BACK TO TOP
   ========================================= */
.back-to-top {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  width: 44px; height: 44px;
  background: var(--umj-green-mid);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transition: var(--transition);
  text-decoration: none;
  z-index: 50;
}
.back-to-top.visible { opacity: 1; }
.back-to-top:hover { background: var(--umj-green-dark); color: var(--white); transform: translateY(-3px); }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
  .home-hero-grid { grid-template-columns: 1fr; }
  .home-hero-visual { display: none; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .sidebar-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .news-card { grid-template-columns: 1fr; }
  .news-card-img { width: 100%; height: 200px; }
}

@media (max-width: 768px) {
  .page-hero h1 { font-size: var(--text-4xl); }
  .section-title { font-size: var(--text-3xl); }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .home-hero-stats { flex-wrap: wrap; gap: var(--space-5); }

  .primary-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--white); flex-direction: column; padding: var(--space-4); border-bottom: 1px solid #e0ece4; box-shadow: var(--shadow-lg); }
  .primary-nav.open { display: flex; }
  .primary-nav a { padding: var(--space-3) var(--space-4); width: 100%; }
  .dropdown-menu { position: static; box-shadow: none; border: none; background: var(--neutral-50); border-radius: var(--radius-md); display: block; }
  .hamburger { display: flex; }

  .footer-main { grid-template-columns: 1fr; gap: var(--space-6); }
  .footer-bottom { flex-direction: column; gap: var(--space-3); text-align: center; }
  .topbar-links { display: none; }
}

@media (max-width: 480px) {
  .container { padding: 0 var(--space-4); }
  .page-hero { padding: var(--space-12) 0 var(--space-10); }
  .page-hero h1 { font-size: var(--text-3xl); }
  .home-hero h1 { font-size: 2rem; }
  .home-hero-actions { flex-direction: column; align-items: stretch; }
}

/* =========================================
   PRINT
   ========================================= */
@media print {
  .site-header, .site-footer, .topbar, .announcement-bar, .back-to-top { display: none; }
  body { font-size: 12pt; }
  a { color: inherit; text-decoration: underline; }
}
