:root {
  --maroon: #6b0f1a;
  --maroon-dark: #4a0a12;
  --maroon-light: #8c1526;
  --maroon-pale: #f9eced;
  --maroon-soft: #e8c4c8;
  --gold: #c9a84c;
  --gold-light: #f0d080;
  --cream: #fdfaf5;
  --text: #1a1a1a;
  --text-muted: #5a5a5a;
  --text-light: #8a8a8a;
  --border: #e5e0d8;
  --white: #ffffff;
  --shadow: 0 2px 16px rgba(107, 15, 26, 0.08);
  --radius: 4px;
  --radius-lg: 8px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", sans-serif;
  background: var(--cream);
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
}

h1,
h2,
h3,
h4 {
  font-family: "Playfair Display", serif;
  line-height: 1.3;
}

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

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

/* ─── NAV ─── */
.topbar {
  background: var(--maroon-dark);
  color: var(--gold-light);
  font-size: 12.5px;
  padding: 6px 0;
  letter-spacing: 0.02em;
}
.topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.topbar a {
  color: var(--gold-light);
  opacity: 0.85;
  transition: opacity 0.2s;
}
.topbar a:hover {
  opacity: 1;
}
.topbar-links {
  display: flex;
  gap: 1.5rem;
}

nav {
  background: var(--maroon);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.nav-inner {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-logo {
  width: 44px;
  height: 44px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Playfair Display", serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--maroon-dark);
  flex-shrink: 0;
}

.nav-title h1 {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.01em;
  font-family: "DM Sans", sans-serif;
}
.nav-title span {
  font-size: 11.5px;
  color: var(--gold-light);
  opacity: 0.85;
  font-family: "DM Sans", sans-serif;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
}

.nav-links a {
  display: block;
  padding: 0 16px;
  height: 68px;
  line-height: 68px;
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  transition:
    background 0.2s,
    color 0.2s;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.nav-links a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--gold-light);
}
.nav-links a.active {
  background: rgba(255, 255, 255, 0.12);
  color: var(--gold-light);
}

.nav-pmb {
  background: var(--gold);
  color: var(--maroon-dark) !important;
  font-weight: 600 !important;
  padding: 10px 22px !important;
  height: auto !important;
  line-height: normal !important;
  border-radius: 2px;
  margin-left: 12px;
  transition: background 0.2s !important;
}
.nav-pmb:hover {
  background: var(--gold-light) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: white;
  transition: 0.3s;
  border-radius: 2px;
}

/* ─── HERO ─── */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

/* Background image */
#profil {
  position: relative;
  background-image: url("./src/FTIK_UCA/ftik.JPG");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  width: 100%;
  min-height: 100vh;
}

/* Overlay gelap */
#profil::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 0;
}

/* Pastikan konten berada di atas overlay */
.hero-inner {
  position: relative;
  z-index: 2;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 40px,
    rgba(255, 255, 255, 0.015) 40px,
    rgba(255, 255, 255, 0.015) 41px
  );
}

.hero-deco {
  position: absolute;
  right: -80px;
  top: -80px;
  width: 520px;
  height: 520px;
  border: 80px solid rgba(201, 168, 76, 0.08);
  border-radius: 50%;
}
.hero-deco2 {
  position: absolute;
  right: 100px;
  bottom: -120px;
  width: 320px;
  height: 320px;
  border: 50px solid rgba(201, 168, 76, 0.05);
  border-radius: 50%;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201, 168, 76, 0.15);
  border: 1px solid rgba(201, 168, 76, 0.3);
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 2px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: white;
  margin-bottom: 1rem;
  line-height: 1.2;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.6);
}

.hero p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 16.5px;
  margin-bottom: 2rem;
  line-height: 1.8;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.hero h1 span {
  color: var(--gold-light);
}

.hero p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 16.5px;
  margin-bottom: 2rem;
  line-height: 1.8;
}

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

.btn-primary {
  background: var(--gold);
  color: var(--maroon-dark);
  padding: 13px 28px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 2px;
  transition:
    background 0.2s,
    transform 0.15s;
  cursor: pointer;
  border: none;
  display: inline-block;
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: white;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 2px;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  transition:
    border-color 0.2s,
    background 0.2s;
  cursor: pointer;
  display: inline-block;
}
.btn-outline:hover {
  border-color: white;
  background: rgba(255, 255, 255, 0.07);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.stat-card {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
  border-radius: var(--radius-lg);
  padding: 20px;
  text-align: center;
}

.stat-number {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-light);
}

.stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 4px;
}

/* ─── SECTION WRAPPER ─── */
.section {
  padding: 5rem 0;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-header {
  margin-bottom: 3rem;
}

.section-label {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--maroon);
  margin-bottom: 0.6rem;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--text);
  margin-bottom: 0.75rem;
}

.section-sub {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 560px;
}

.divider {
  width: 48px;
  height: 3px;
  background: var(--gold);
  margin: 1rem 0;
  border-radius: 2px;
}

/* ─── SAMBUTAN DEKAN ─── */
.dekan-section {
  background: var(--white);
}

.dekan-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 4rem;
  align-items: start;
}

.dekan-card {
  background: var(--maroon);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: sticky;
  top: 90px;
}

.dekan-photo {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--maroon-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Playfair Display", serif;
  font-size: 5rem;
  color: rgba(255, 255, 255, 0.2);
}

.dekan-info {
  padding: 20px;
  background: var(--maroon-dark);
}

.dekan-name {
  font-family: "Playfair Display", serif;
  font-size: 1.15rem;
  color: white;
  margin-bottom: 4px;
}

.dekan-role {
  font-size: 12.5px;
  color: var(--gold-light);
  letter-spacing: 0.05em;
  font-weight: 500;
}

.dekan-content blockquote {
  font-family: "Playfair Display", serif;
  font-size: 1.35rem;
  color: var(--maroon);
  line-height: 1.6;
  border-left: 4px solid var(--gold);
  padding-left: 1.5rem;
  margin-bottom: 2rem;
  font-style: italic;
}

.dekan-content p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: 15.5px;
  line-height: 1.85;
}

.dekan-signature {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
}

.sig-line {
  flex: 1;
  height: 1px;
  background: var(--border);
}

.sig-name {
  font-family: "Playfair Display", serif;
  font-size: 1rem;
  font-style: italic;
  color: var(--text-muted);
}

/* ─── VISI MISI ─── */
.visimisi-section {
  background: linear-gradient(
    135deg,
    var(--maroon-dark) 0%,
    var(--maroon) 100%
  );
  color: white;
  position: relative;
  overflow: hidden;
}

.visimisi-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 60px,
    rgba(255, 255, 255, 0.02) 60px,
    rgba(255, 255, 255, 0.02) 61px
  );
}

.visimisi-section .section-label {
  color: var(--gold-light);
}
.visimisi-section .section-title {
  color: white;
}
.visimisi-section .section-sub {
  color: rgba(255, 255, 255, 0.65);
}

.visimisi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  position: relative;
  z-index: 1;
}

.vm-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.vm-icon {
  width: 48px;
  height: 48px;
  background: rgba(201, 168, 76, 0.2);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 22px;
}

.vm-card h3 {
  font-size: 1.1rem;
  color: var(--gold-light);
  margin-bottom: 0.75rem;
}

.vm-card p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 14.5px;
  line-height: 1.85;
}

.misi-list {
  list-style: decimal;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 0.5rem;
}

.misi-list li {
  display: flex;
  gap: 12px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 14.5px;
  line-height: 1.7;
}

.misi-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 8px;
}

.nilai-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 2rem;
  position: relative;
  z-index: 1;
}

.nilai-item {
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: var(--radius);
  padding: 14px 16px;
  text-align: center;
}

.nilai-item strong {
  display: block;
  color: var(--gold-light);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.nilai-item span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

/* ─── PROGRAM STUDI ─── */
.prodi-section {
  background: var(--cream);
}

.prodi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

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

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

.prodi-header {
  padding: 1.75rem;
  background: var(--maroon);
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.prodi-icon {
  width: 48px;
  height: 48px;
  background: rgba(201, 168, 76, 0.2);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.prodi-header-info h3 {
  font-size: 1rem;
  color: white;
  margin-bottom: 4px;
}

.prodi-header-info span {
  font-size: 11.5px;
  color: var(--gold-light);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.prodi-body {
  padding: 1.5rem 1.75rem;
}

.prodi-body p {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.75;
}

.prodi-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.prodi-tag {
  font-size: 11.5px;
  padding: 4px 10px;
  border-radius: 2px;
  font-weight: 500;
}

.tag-akreditasi {
  background: #e8f5e9;
  color: #2e7d32;
}

.tag-jenjang {
  background: var(--maroon-pale);
  color: var(--maroon);
}

.prodi-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--maroon);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}

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

/* ─── DOSEN ─── */
.dosen-section {
  background: var(--white);
}

.dosen-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 2.5rem;
  background: var(--cream);
  padding: 4px;
  border-radius: var(--radius);
  width: fit-content;
}

.dosen-tab {
  padding: 8px 20px;
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  border-radius: var(--radius);
  transition:
    background 0.2s,
    color 0.2s;
  color: var(--text-muted);
  border: none;
  background: none;
}

.dosen-tab.active {
  background: var(--maroon);
  color: white;
}

.dosen-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.dosen-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.dosen-card:hover {
  box-shadow: var(--shadow);
}

.dosen-photo {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--maroon-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  color: var(--maroon-soft);
  font-weight: 700;
  position: relative;
}

.dosen-photo-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--maroon-pale), var(--maroon-soft));
}

.dosen-initials {
  position: relative;
  z-index: 1;
  color: var(--maroon);
  opacity: 0.4;
}

.dosen-info {
  padding: 14px 16px;
}

.dosen-name {
  font-family: "Playfair Display", serif;
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 3px;
}

.dosen-bid {
  font-size: 12px;
  color: var(--maroon);
  font-weight: 500;
  margin-bottom: 6px;
}

.dosen-nidn {
  font-size: 11.5px;
  color: var(--text-light);
}

/* ─── BERITA ─── */
.berita-section {
  background: var(--cream);
}

.berita-featured {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

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

.berita-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.berita-img {
  aspect-ratio: 16/9;
  background: var(--maroon-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  border-bottom: 1px solid var(--border);
}

.berita-img-sm {
  aspect-ratio: 4/3;
  background: var(--maroon-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  border-bottom: 1px solid var(--border);
}

.berita-body {
  padding: 1.25rem 1.5rem;
}

.berita-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.berita-cat {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--maroon);
  background: var(--maroon-pale);
  padding: 3px 10px;
  border-radius: 2px;
}

.berita-date {
  font-size: 12px;
  color: var(--text-light);
}

.berita-title {
  font-family: "Playfair Display", serif;
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--text);
  line-height: 1.45;
}

.berita-title-lg {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.berita-excerpt {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.75;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.berita-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ─── PENGUMUMAN ─── */
.pengumuman-section {
  background: var(--white);
}

.pengumuman-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 3rem;
}

.pengumuman-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pengumuman-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: padding-left 0.2s;
}

.pengumuman-item:hover {
  padding-left: 8px;
}

.peng-date {
  text-align: center;
  flex-shrink: 0;
  width: 52px;
  background: var(--maroon-pale);
  border-radius: var(--radius);
  padding: 8px 6px;
  border-top: 3px solid var(--maroon);
}

.peng-date .day {
  font-family: "Playfair Display", serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--maroon);
  line-height: 1;
}

.peng-date .mon {
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.peng-content h4 {
  font-family: "DM Sans", sans-serif;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 5px;
  line-height: 1.4;
}

.peng-content p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
}

.peng-tag {
  display: inline-block;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 2px;
  font-weight: 600;
  margin-top: 6px;
}

.peng-akademik {
  background: #e3f2fd;
  color: #1565c0;
}
.peng-keuangan {
  background: #fff3e0;
  color: #e65100;
}
.peng-umum {
  background: var(--maroon-pale);
  color: var(--maroon);
}

.kalender-widget {
  background: var(--maroon);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: sticky;
  top: 90px;
}

.kal-header {
  padding: 1.25rem 1.5rem;
  background: var(--maroon-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.kal-header h3 {
  font-size: 1rem;
  color: var(--gold-light);
}

.kal-nav {
  display: flex;
  gap: 8px;
}

.kal-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  width: 28px;
  height: 28px;
  border-radius: var(--radius);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: background 0.2s;
}
.kal-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.kal-body {
  padding: 1.25rem 1.5rem;
}

.kal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  margin-bottom: 6px;
}

.kal-day-name {
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--gold-light);
  opacity: 0.7;
  padding: 4px 0;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.kal-dates {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

.kal-date {
  text-align: center;
  padding: 5px 0;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  border-radius: var(--radius);
  transition: background 0.2s;
}

.kal-date:hover {
  background: rgba(255, 255, 255, 0.1);
}
.kal-date.today {
  background: var(--gold);
  color: var(--maroon-dark);
  font-weight: 700;
}
.kal-date.has-event {
  position: relative;
}
.kal-date.has-event::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background: var(--gold-light);
  border-radius: 50%;
}
.kal-date.empty {
  cursor: default;
}

.kal-events {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.kal-event-item {
  display: flex;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.kal-event-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 6px;
}

.kal-event-text {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
}

.kal-event-text strong {
  display: block;
  color: white;
  font-size: 12px;
  margin-bottom: 2px;
}

/* ─── PMB ─── */
.pmb-section {
  background: linear-gradient(
    135deg,
    var(--maroon-dark),
    var(--maroon) 60%,
    var(--maroon-light)
  );
  color: white;
  position: relative;
  overflow: hidden;
}

.pmb-section::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: rgba(201, 168, 76, 0.04);
  border-radius: 50%;
}

.pmb-section .section-label {
  color: var(--gold-light);
}
.pmb-section .section-title {
  color: white;
}
.pmb-section .divider {
  background: var(--gold);
}

.pmb-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.pmb-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 2rem;
}

.pmb-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.pmb-step-num {
  width: 36px;
  height: 36px;
  background: rgba(201, 168, 76, 0.2);
  border: 1.5px solid rgba(201, 168, 76, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--gold-light);
  flex-shrink: 0;
}

.pmb-step-text h4 {
  font-family: "DM Sans", sans-serif;
  font-size: 14.5px;
  font-weight: 600;
  color: white;
  margin-bottom: 3px;
}

.pmb-step-text p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.pmb-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.pmb-card h3 {
  font-size: 1.25rem;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
}

.pmb-info-item {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 14px;
}

.pmb-info-item:last-child {
  border-bottom: none;
}

.pmb-info-label {
  color: rgba(255, 255, 255, 0.6);
}
.pmb-info-value {
  color: white;
  font-weight: 500;
}

.pmb-cta {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-pmb-primary {
  background: var(--gold);
  color: var(--maroon-dark);
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius);
  text-align: center;
  transition:
    background 0.2s,
    transform 0.15s;
  cursor: pointer;
  display: block;
  border: none;
}
.btn-pmb-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

.btn-pmb-outline {
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 13px 24px;
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius);
  text-align: center;
  transition: border-color 0.2s;
  cursor: pointer;
  display: block;
}
.btn-pmb-outline:hover {
  border-color: white;
}

/* ─── KONTAK ─── */
.kontak-section {
  background: var(--cream);
}

.kontak-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
}

.kontak-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.kontak-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.kontak-icon {
  width: 44px;
  height: 44px;
  background: var(--maroon-pale);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  border: 1px solid var(--maroon-soft);
}

.kontak-detail h4 {
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.kontak-detail p {
  font-size: 14.5px;
  color: var(--text);
  line-height: 1.6;
}

.kontak-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.kontak-form h3 {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: var(--maroon);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.form-group label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: "DM Sans", sans-serif;
  color: var(--text);
  background: var(--cream);
  transition: border-color 0.2s;
  outline: none;
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--maroon);
  background: white;
}

.btn-submit {
  background: var(--maroon);
  color: white;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  width: 100%;
  transition: background 0.2s;
  font-family: "DM Sans", sans-serif;
}
.btn-submit:hover {
  background: var(--maroon-dark);
}

/* ─── FOOTER ─── */
footer {
  background: var(--maroon-dark);
  color: white;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3.5rem 2rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
}

.footer-brand h2 {
  font-size: 1.15rem;
  color: white;
  margin-bottom: 8px;
}

.footer-brand p {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.social-btn {
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  transition: background 0.2s;
  text-decoration: none;
}

.social-btn:hover {
  background: var(--maroon);
  color: white;
}

.footer-col h4 {
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-light);
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col a {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  background: rgba(0, 0, 0, 0.25);
  padding: 1rem 2rem;
}

.footer-bottom-inner {
  max-width: 1200px;
  margin: 0 auto;
  /* display: flex; */
  /* justify-content: space-between; */
  text-align: center;
  align-items: center;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.4);
}

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

/* ─── SCROLLTOP ─── */
.scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--maroon);
  border: 2px solid var(--gold);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition:
    opacity 0.3s,
    transform 0.3s;
  transform: translateY(10px);
  z-index: 999;
  font-size: 18px;
}

.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-stats {
    display: none;
  }
  .dekan-grid {
    grid-template-columns: 1fr;
  }
  .dekan-card {
    position: static;
    max-width: 300px;
  }
  .prodi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .dosen-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .berita-featured {
    grid-template-columns: 1fr;
  }
  .berita-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pengumuman-layout {
    grid-template-columns: 1fr;
  }
  .kalender-widget {
    position: static;
  }
  .pmb-grid {
    grid-template-columns: 1fr;
  }
  .kontak-grid {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  .nilai-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .mobile-menu {
    display: block;
  }
  .topbar {
    display: none;
  }
  .prodi-grid {
    grid-template-columns: 1fr;
  }
  .dosen-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .visimisi-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .berita-grid {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    grid-template-columns: 1fr;
  }
}

.mobile-menu {
  display: none;
  background: var(--maroon-dark);
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu.open {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 10px 2rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s;
}

.mobile-menu a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--gold-light);
}
