/* ===========================================================
   PGRI Jakarta - Stylesheet
   Persatuan Guru Republik Indonesia - Pengurus Provinsi DKI Jakarta
   =========================================================== */

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

:root {
  --blue-900: #0a1f4d;
  --blue-800: #11337a;
  --blue-700: #1a47a3;
  --blue-600: #2358c9;
  --blue-500: #3b73e0;
  --gold: #f4b41a;
  --gold-dark: #d99a06;
  --red: #c0392b;
  --gray-50: #f6f8fb;
  --gray-100: #eef1f6;
  --gray-200: #dde3ec;
  --gray-400: #9aa6b8;
  --gray-600: #5a6678;
  --gray-800: #2c3445;
  --text: #283042;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(13, 31, 77, 0.06);
  --shadow-md: 0 8px 28px rgba(13, 31, 77, 0.10);
  --shadow-lg: 0 18px 50px rgba(13, 31, 77, 0.16);
  --radius: 14px;
  --radius-sm: 8px;
  --max: 1200px;
  --header-h: 132px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', 'Segoe UI', system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

h1, h2, h3, h4 {
  line-height: 1.25;
  color: var(--blue-900);
  font-weight: 700;
}

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

section {
  padding: 76px 0;
}

/* ---------- Utilities ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  font-family: inherit;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn-primary {
  background: var(--gold);
  color: var(--blue-900);
}

.btn-primary:hover {
  background: var(--gold-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(244, 180, 26, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--blue-800);
  transform: translateY(-3px);
}

.btn-blue {
  background: var(--blue-700);
  color: var(--white);
}

.btn-blue:hover {
  background: var(--blue-800);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.section-head {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 50px;
}

.section-head .eyebrow {
  display: inline-block;
  color: var(--blue-600);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  margin-bottom: 14px;
}

.section-head p {
  color: var(--gray-600);
  font-size: 1.02rem;
}

.section-head .bar {
  width: 64px;
  height: 4px;
  background: var(--gold);
  border-radius: 4px;
  margin: 16px auto 0;
}

.bg-gray {
  background: var(--gray-50);
}

/* ---------- Top Bar ---------- */
.topbar {
  background: var(--blue-900);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.82rem;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 42px;
}

.topbar-info {
  display: flex;
  gap: 22px;
}

.topbar-info span {
  display: flex;
  align-items: center;
  gap: 7px;
}

.topbar-social {
  display: flex;
  gap: 8px;
}

.topbar-social a {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.78rem;
  transition: background 0.2s ease;
}

.topbar-social a:hover {
  background: var(--gold);
  color: var(--blue-900);
}

/* ---------- Header / Nav ---------- */
.header {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
}

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

.brand-logo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--blue-700), var(--blue-900));
  color: var(--gold);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.brand-text strong {
  display: block;
  color: var(--blue-900);
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.2;
}

.brand-text span {
  font-size: 0.78rem;
  color: var(--gray-600);
  letter-spacing: 0.3px;
}

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

.nav-menu > li > a {
  display: block;
  padding: 10px 15px;
  font-weight: 600;
  font-size: 0.93rem;
  color: var(--gray-800);
  border-radius: var(--radius-sm);
  transition: color 0.18s ease, background 0.18s ease;
}

.nav-menu > li > a:hover,
.nav-menu > li.active > a {
  color: var(--blue-700);
  background: var(--gray-100);
}

/* Dropdown */
.has-drop {
  position: relative;
}

.has-drop > a::after {
  content: '\25be';
  font-size: 0.7rem;
  margin-left: 6px;
  opacity: 0.7;
}

.dropdown {
  position: absolute;
  top: 115%;
  left: 0;
  background: var(--white);
  min-width: 224px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
  border-top: 3px solid var(--gold);
}

.has-drop:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 9px 14px;
  font-size: 0.88rem;
  font-weight: 500;
  border-radius: 6px;
  color: var(--gray-800);
  transition: background 0.15s ease, color 0.15s ease;
}

.dropdown a:hover {
  background: var(--gray-100);
  color: var(--blue-700);
}

.nav-cta {
  margin-left: 10px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 26px;
  height: 3px;
  background: var(--blue-800);
  border-radius: 3px;
  transition: 0.25s;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ---------- Hero (Home) ---------- */
.hero {
  position: relative;
  background:
    linear-gradient(125deg, rgba(10, 31, 77, 0.95) 0%, rgba(26, 71, 163, 0.88) 100%),
    url("https://images.unsplash.com/photo-1523050854058-8df90110c9f1?auto=format&fit=crop&w=1600&q=80") center/cover;
  color: var(--white);
  padding: 0;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  min-height: 560px;
  padding: 70px 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(244, 180, 26, 0.18);
  border: 1px solid rgba(244, 180, 26, 0.5);
  color: var(--gold);
  font-weight: 600;
  font-size: 0.82rem;
  padding: 7px 16px;
  border-radius: 50px;
  margin-bottom: 22px;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4.6vw, 3.35rem);
  font-weight: 800;
  margin-bottom: 18px;
}

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

.hero p {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 540px;
  margin-bottom: 30px;
}

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

.hero-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  padding: 30px;
}

.hero-card h3 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.hero-card p {
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.hero-quote {
  border-left: 3px solid var(--gold);
  padding-left: 16px;
  font-style: italic;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.92);
}

.hero-quote span {
  display: block;
  margin-top: 8px;
  font-style: normal;
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--gold);
}

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  background:
    linear-gradient(120deg, rgba(10, 31, 77, 0.94), rgba(26, 71, 163, 0.86)),
    url("https://images.unsplash.com/photo-1577896851231-70ef18881754?auto=format&fit=crop&w=1600&q=80") center/cover;
  color: var(--white);
  padding: 64px 0;
  text-align: center;
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  margin-bottom: 12px;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 9px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.8);
}

.breadcrumb a:hover {
  color: var(--gold);
}

.breadcrumb .sep {
  opacity: 0.6;
}

/* ---------- Stats ---------- */
.stats {
  background: var(--blue-800);
  padding: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  text-align: center;
  padding: 44px 18px;
  color: var(--white);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.stat:last-child {
  border-right: none;
}

.stat .num {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}

.stat .label {
  margin-top: 8px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.85);
}

/* ---------- About preview ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-img {
  position: relative;
}

.about-img img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.about-img .floating {
  position: absolute;
  bottom: -26px;
  right: -20px;
  background: var(--gold);
  color: var(--blue-900);
  padding: 18px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  font-weight: 700;
}

.about-img .floating strong {
  display: block;
  font-size: 1.7rem;
  color: var(--blue-900);
}

.about-text .eyebrow {
  color: var(--blue-600);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.about-text h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  margin: 10px 0 16px;
}

.about-text p {
  color: var(--gray-600);
  margin-bottom: 16px;
}

.check-list li {
  display: flex;
  gap: 11px;
  margin-bottom: 11px;
  font-weight: 500;
  color: var(--gray-800);
}

.check-list li::before {
  content: '\2713';
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: var(--blue-700);
  color: var(--white);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 700;
}

/* ---------- Cards grid (programs / features) ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 26px;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.card-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(145deg, var(--blue-600), var(--blue-800));
  color: var(--gold);
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  margin-bottom: 18px;
}

.card h3 {
  font-size: 1.18rem;
  margin-bottom: 9px;
}

.card p {
  color: var(--gray-600);
  font-size: 0.94rem;
}

.card .more {
  display: inline-block;
  margin-top: 14px;
  color: var(--blue-700);
  font-weight: 600;
  font-size: 0.9rem;
}

.card .more:hover {
  color: var(--gold-dark);
}

/* ---------- News cards ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 28px;
}

.news-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

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

.news-thumb {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.news-card:hover .news-thumb img {
  transform: scale(1.08);
}

.news-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--gold);
  color: var(--blue-900);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.news-body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-meta {
  display: flex;
  gap: 16px;
  font-size: 0.79rem;
  color: var(--gray-400);
  margin-bottom: 10px;
}

.news-body h3 {
  font-size: 1.08rem;
  margin-bottom: 9px;
}

.news-body h3 a:hover {
  color: var(--blue-600);
}

.news-body p {
  color: var(--gray-600);
  font-size: 0.9rem;
  flex: 1;
}

.news-body .read {
  margin-top: 14px;
  color: var(--blue-700);
  font-weight: 600;
  font-size: 0.88rem;
}

.news-body .read:hover {
  color: var(--gold-dark);
}

/* ---------- Filter tabs ---------- */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 38px;
}

.filter-tabs button {
  padding: 9px 20px;
  border-radius: 50px;
  border: 1.5px solid var(--gray-200);
  background: var(--white);
  font-family: inherit;
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--gray-600);
  cursor: pointer;
  transition: all 0.18s ease;
}

.filter-tabs button:hover {
  border-color: var(--blue-500);
  color: var(--blue-700);
}

.filter-tabs button.active {
  background: var(--blue-700);
  border-color: var(--blue-700);
  color: var(--white);
}

/* ---------- Agenda list ---------- */
.agenda-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.agenda-item {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 24px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-left: 5px solid var(--gold);
  border-radius: var(--radius);
  padding: 22px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.agenda-item:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-md);
}

.agenda-date {
  text-align: center;
  background: linear-gradient(145deg, var(--blue-700), var(--blue-900));
  color: var(--white);
  border-radius: var(--radius-sm);
  padding: 14px 6px;
}

.agenda-date .day {
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1;
  color: var(--gold);
}

.agenda-date .mon {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.agenda-info h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.agenda-info .meta {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.84rem;
  color: var(--gray-600);
}

.agenda-status {
  font-size: 0.76rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 50px;
  text-transform: uppercase;
  white-space: nowrap;
}

.status-open {
  background: #e3f6ec;
  color: #1b8a4b;
}

.status-soon {
  background: #fff2d6;
  color: #b07d05;
}

.status-done {
  background: var(--gray-100);
  color: var(--gray-600);
}

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item .cap {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 31, 77, 0.85), transparent 55%);
  display: flex;
  align-items: flex-end;
  padding: 16px;
  color: var(--white);
  font-weight: 600;
  font-size: 0.92rem;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.gallery-item:hover .cap {
  opacity: 1;
}

/* ---------- Timeline (Profil - Sejarah) ---------- */
.timeline {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding-left: 36px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 6px;
  bottom: 6px;
  width: 3px;
  background: var(--gray-200);
}

.timeline-item {
  position: relative;
  margin-bottom: 32px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -35px;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold);
  border: 4px solid var(--white);
  box-shadow: 0 0 0 2px var(--blue-700);
}

.timeline-item .year {
  font-weight: 800;
  color: var(--blue-700);
  font-size: 1.05rem;
}

.timeline-item h3 {
  font-size: 1.08rem;
  margin: 3px 0 6px;
}

.timeline-item p {
  color: var(--gray-600);
  font-size: 0.93rem;
}

/* ---------- Vision Mission ---------- */
.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

.vm-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--blue-700);
}

.vm-card.mission {
  border-top-color: var(--gold);
}

.vm-card .vm-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.vm-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.vm-card p {
  color: var(--gray-600);
}

.vm-card ol {
  margin: 12px 0 0 18px;
  color: var(--gray-600);
}

.vm-card ol li {
  margin-bottom: 8px;
  padding-left: 4px;
}

/* ---------- Org structure ---------- */
.org-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}

.org-card {
  background: var(--white);
  border-radius: var(--radius);
  text-align: center;
  padding: 28px 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.org-avatar {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  margin: 0 auto 14px;
  background: linear-gradient(145deg, var(--blue-600), var(--blue-900));
  color: var(--gold);
  display: grid;
  place-items: center;
  font-size: 1.9rem;
  font-weight: 800;
}

.org-card h3 {
  font-size: 1.04rem;
  margin-bottom: 3px;
}

.org-card .role {
  color: var(--blue-600);
  font-weight: 600;
  font-size: 0.86rem;
}

.org-card .unit {
  color: var(--gray-400);
  font-size: 0.8rem;
  margin-top: 4px;
}

/* ---------- Membership ---------- */
.member-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  counter-reset: step;
}

.step-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  position: relative;
}

.step-card::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -18px;
  left: 24px;
  width: 44px;
  height: 44px;
  background: var(--gold);
  color: var(--blue-900);
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.2rem;
  box-shadow: var(--shadow-sm);
}

.step-card h3 {
  font-size: 1.08rem;
  margin: 14px 0 7px;
}

.step-card p {
  color: var(--gray-600);
  font-size: 0.92rem;
}

.benefit-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}

.benefit-item {
  display: flex;
  gap: 14px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
}

.benefit-item .b-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--gray-100);
  color: var(--blue-700);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
}

.benefit-item h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.benefit-item p {
  font-size: 0.88rem;
  color: var(--gray-600);
}

/* ---------- Forms ---------- */
.form-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 38px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
}

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

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 7px;
  color: var(--gray-800);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--text);
  background: var(--gray-50);
  transition: border 0.18s ease, background 0.18s ease;
}

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

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-note {
  font-size: 0.85rem;
  color: var(--gray-600);
  margin-top: 4px;
}

.form-feedback {
  display: none;
  margin-top: 16px;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  background: #e3f6ec;
  color: #1b8a4b;
  font-size: 0.9rem;
  font-weight: 600;
}

.form-feedback.show {
  display: block;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 40px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 26px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-info-item .ci-icon {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--blue-600), var(--blue-900));
  color: var(--gold);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
}

.contact-info-item h3 {
  font-size: 1rem;
  margin-bottom: 2px;
}

.contact-info-item p {
  color: var(--gray-600);
  font-size: 0.92rem;
}

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  height: 280px;
  margin-top: 26px;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- CTA band ---------- */
.cta-band {
  background:
    linear-gradient(120deg, rgba(10, 31, 77, 0.95), rgba(26, 71, 163, 0.9)),
    url("https://images.unsplash.com/photo-1427504494785-3a9ca7044f45?auto=format&fit=crop&w=1600&q=80") center/cover fixed;
  color: var(--white);
  text-align: center;
}

.cta-band h2 {
  color: var(--white);
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  margin-bottom: 14px;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.88);
  max-width: 580px;
  margin: 0 auto 26px;
}

.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Partners ---------- */
.partners {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.partner-logo {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-sm);
  padding: 18px 30px;
  font-weight: 700;
  color: var(--gray-600);
  box-shadow: var(--shadow-sm);
}

/* ---------- Article content ---------- */
.article-body {
  max-width: 760px;
  margin: 0 auto;
}

.article-body h2 {
  margin: 28px 0 12px;
  font-size: 1.45rem;
}

.article-body p {
  color: var(--gray-700, #44506a);
  margin-bottom: 16px;
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 780px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 18px 22px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--blue-900);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.faq-q .ic {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--gray-100);
  color: var(--blue-700);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  transition: transform 0.2s ease;
}

.faq-item.open .faq-q .ic {
  transform: rotate(45deg);
  background: var(--blue-700);
  color: var(--white);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
}

.faq-a p {
  padding: 0 22px 18px;
  color: var(--gray-600);
  font-size: 0.93rem;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--blue-900);
  color: rgba(255, 255, 255, 0.72);
  padding-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 36px;
  padding-bottom: 44px;
}

.footer h4 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 18px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-brand .brand-logo {
  width: 48px;
  height: 48px;
  font-size: 1rem;
}

.footer-brand strong {
  color: var(--white);
  font-size: 1.05rem;
}

.footer-brand span {
  font-size: 0.76rem;
}

.footer p {
  font-size: 0.9rem;
  margin-bottom: 14px;
}

.footer-links li {
  margin-bottom: 9px;
}

.footer-links a {
  font-size: 0.9rem;
  transition: color 0.16s ease, padding 0.16s ease;
}

.footer-links a:hover {
  color: var(--gold);
  padding-left: 5px;
}

.footer-contact li {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.89rem;
}

.footer-contact .ic {
  color: var(--gold);
  flex-shrink: 0;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: grid;
  place-items: center;
  transition: background 0.18s ease, transform 0.18s ease;
}

.footer-social a:hover {
  background: var(--gold);
  color: var(--blue-900);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.84rem;
}

.footer-newsletter input {
  width: 100%;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-family: inherit;
  font-size: 0.88rem;
  margin-bottom: 10px;
}

.footer-newsletter input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.footer-newsletter .btn {
  width: 100%;
  justify-content: center;
}

/* ---------- Pagination ---------- */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 44px;
}

.pagination a {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gray-600);
  transition: all 0.16s ease;
}

.pagination a:hover,
.pagination a.active {
  background: var(--blue-700);
  border-color: var(--blue-700);
  color: var(--white);
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 31, 77, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 30px;
  cursor: zoom-out;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: 90%;
  max-height: 88vh;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--blue-700);
  color: var(--white);
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.25s ease;
  z-index: 90;
}

.to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top:hover {
  background: var(--blue-900);
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner {
    grid-template-columns: 1fr;
    padding: 56px 0;
  }
  .about-grid,
  .contact-grid,
  .vm-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat:nth-child(2) {
    border-right: none;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: flex;
  }
  .nav-menu {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-lg);
  }
  .nav-menu.open {
    transform: translateX(0);
  }
  .nav-menu > li > a {
    padding: 14px 12px;
    border-bottom: 1px solid var(--gray-100);
    border-radius: 0;
    font-size: 1rem;
  }
  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-top: none;
    padding: 0 0 8px 16px;
    display: none;
  }
  .has-drop.open .dropdown {
    display: block;
  }
  .nav-cta {
    margin: 12px 0 0;
  }
  .nav-cta .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 620px) {
  section {
    padding: 52px 0;
  }
  .topbar-info {
    gap: 12px;
  }
  .topbar-info span:nth-child(2) {
    display: none;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .stat {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .agenda-item {
    grid-template-columns: 70px 1fr;
  }
  .agenda-status {
    grid-column: 2;
  }
  .footer-bottom {
    justify-content: center;
    text-align: center;
  }
}
