/* ============================================================
   file name: root/public/css/style.css
   Website  : www.inclusive-ubon3.org
   Theme    : White + Light Purple (#D0B1FF)
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Sarabun:wght@300;400;500;600;700;800&family=Mitr:wght@400;500;600;700&display=swap');

/* --- CSS Variables --- */
:root {
  --primary:        #9B6FE0;
  --primary-light:  #D0B1FF;
  --primary-soft:   #F0E6FF;
  --primary-dark:   #6B3FBF;
  --accent:         #F999FF;
  --accent-light:   #FEE8FF;
  --white:          #FFFFFF;
  --bg:             #FAF7FF;
  --bg-section:     #F5EEFF;
  --text-dark:      #2D1B69;
  --text-body:      #4A3F6B;
  --text-muted:     #8B7DAE;
  --border:         #E8D5FF;
  --border-light:   #F0E6FF;
  --shadow-sm:      0 2px 8px rgba(155,111,224,.08);
  --shadow-md:      0 6px 24px rgba(155,111,224,.15);
  --shadow-lg:      0 12px 40px rgba(155,111,224,.22);
  --radius:         12px;
  --radius-lg:      20px;
  --radius-xl:      28px;
  --font-head:      'Mitr', 'Sarabun', sans-serif;
  --font-body:      'Sarabun', sans-serif;
  --transition:     all .25s cubic-bezier(.4,0,.2,1);
}

/* --- 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);
  background: var(--bg);
  color: var(--text-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* --- Typography --- */
h1,h2,h3,h4,h5 {
  font-family: var(--font-head);
  color: var(--text-dark);
  line-height: 1.35;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1.5px solid var(--border);
  box-shadow: 0 2px 16px rgba(155,111,224,.08);
}

.navbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.navbar-logo {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg,var(--primary),var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(155,111,224,.35);
}

.navbar-logo svg { width: 26px; height: 26px; fill: #fff; }

.navbar-title { min-width: 0; }
.navbar-title h1 {
  font-size: .88rem;
  font-weight: 700;
  color: var(--text-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.navbar-title p {
  font-size: .72rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

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

.nav-link {
  font-size: .85rem;
  font-weight: 500;
  color: var(--text-body);
  padding: 8px 14px;
  border-radius: 8px;
  transition: var(--transition);
  white-space: nowrap;
}
.nav-link:hover { background: var(--primary-soft); color: var(--primary); }

.btn-login {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  border-radius: 10px;
  background: linear-gradient(135deg,var(--primary),var(--primary-dark));
  color: #fff !important;
  font-size: .85rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 3px 12px rgba(155,111,224,.35);
  transition: var(--transition);
}
.btn-login:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 18px rgba(155,111,224,.45);
}
.btn-login img { width: 18px; height: 18px; border-radius: 50%; }

.navbar-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  color: var(--text-dark);
}
.navbar-toggle svg { width: 22px; height: 22px; }

/* ============================================================
   HERO BANNER
   ============================================================ */
.hero {
  background: linear-gradient(135deg,#6B3FBF 0%,#9B6FE0 45%,#C490FF 75%,#F0D5FF 100%);
  padding: 64px 24px 56px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(249,153,255,.25) 0%, transparent 50%),
    radial-gradient(circle at 10% 80%, rgba(208,177,255,.2) 0%, transparent 45%);
}

.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.18);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.3);
  color: #fff;
  font-size: .78rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
  letter-spacing: .04em;
}

.hero h2 {
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0,0,0,.2);
  margin-bottom: 10px;
}

.hero p {
  font-size: 1rem;
  color: rgba(255,255,255,.88);
  margin-bottom: 28px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.hero-stat {
  background: rgba(255,255,255,.14);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--radius);
  padding: 14px 28px;
  color: #fff;
  text-align: center;
}
.hero-stat strong {
  display: block;
  font-size: 1.7rem;
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.1;
}
.hero-stat span { font-size: .78rem; opacity: .9; }

/* ============================================================
   SECTION COMMONS
   ============================================================ */
.section {
  padding: 56px 24px;
}

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

.container {
  max-width: 1280px;
  margin: 0 auto;
}

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

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .75rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 6px;
}
.section-label::before {
  content: '';
  width: 20px;
  height: 3px;
  background: var(--primary-light);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 700;
  color: var(--text-dark);
}

.see-all {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--primary);
  border: 1.5px solid var(--primary-light);
  padding: 7px 16px;
  border-radius: 8px;
  transition: var(--transition);
  white-space: nowrap;
}
.see-all:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.see-all svg { width: 14px; height: 14px; }

/* ============================================================
   NEWS CARDS (Section 1 & 3)
   ============================================================ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 22px;
}

.news-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.news-card-img {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg,var(--primary-soft),var(--accent-light));
  overflow: hidden;
  position: relative;
}
.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.news-card:hover .news-card-img img { transform: scale(1.04); }

.news-card-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.news-card-img-placeholder svg { width: 48px; height: 48px; opacity: .35; color: var(--primary); }

.news-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: linear-gradient(135deg,var(--primary),var(--primary-dark));
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 6px;
  letter-spacing: .04em;
}

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

.news-card-date {
  font-size: .75rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.news-card-date svg { width: 13px; height: 13px; }

.news-card-title {
  font-size: .95rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.5;
  margin-bottom: 10px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-excerpt {
  font-size: .82rem;
  color: var(--text-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 14px;
}

.news-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
}

.news-card-link {
  font-size: .8rem;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition);
}
.news-card-link:hover { gap: 7px; }
.news-card-link svg { width: 13px; height: 13px; }

.news-card-url-badge {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: .72rem;
  color: #1877f2;
  background: #e7f0ff;
  padding: 3px 8px;
  border-radius: 5px;
}
.news-card-url-badge svg { width: 12px; height: 12px; }

/* ============================================================
   SUPERVISION SECTION (Section 2)
   ============================================================ */
.supervision-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
}

.supervision-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}
.supervision-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.supervision-card-img {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg,#e8d5ff,#fad5ff);
  overflow: hidden;
  position: relative;
}
.supervision-card-img img { width:100%; height:100%; object-fit:cover; }

.supervision-card-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top,rgba(45,27,105,.75),transparent);
  padding: 24px 14px 12px;
}

.supervision-card-school {
  font-size: .82rem;
  font-weight: 700;
  color: #fff;
}
.supervision-card-date {
  font-size: .73rem;
  color: rgba(255,255,255,.85);
}

.supervision-card-body {
  padding: 14px 16px 16px;
}

.supervision-card-sup {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.sup-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg,var(--primary),var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  flex-shrink: 0;
  overflow: hidden;
}
.sup-avatar img { width:100%; height:100%; object-fit:cover; }

.sup-name { font-size: .82rem; font-weight: 600; color: var(--text-dark); }
.sup-role { font-size: .72rem; color: var(--text-muted); }

.supervision-card-note {
  font-size: .8rem;
  color: var(--text-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.supervision-card-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--primary);
  margin-top: 10px;
  transition: var(--transition);
}
.supervision-card-more:hover { gap: 7px; }
.supervision-card-more svg { width: 13px; height: 13px; }

/* ============================================================
   DOWNLOAD SECTION (Section 4)
   ============================================================ */
.download-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.download-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius);
  padding: 14px 18px;
  transition: var(--transition);
}
.download-item:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}

.download-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--primary-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.download-icon svg { width: 20px; height: 20px; color: var(--primary); }

.download-info { flex: 1; min-width: 0; }
.download-title {
  font-size: .88rem;
  font-weight: 600;
  color: var(--text-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.download-date { font-size: .74rem; color: var(--text-muted); }

.download-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--primary);
  border: 1.5px solid var(--primary-light);
  padding: 6px 12px;
  border-radius: 7px;
  transition: var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
}
.download-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.download-btn svg { width: 13px; height: 13px; }

/* ============================================================
   CALENDAR SECTION (Section 5)
   ============================================================ */
.calendar-wrapper {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--border-light);
}

#main-calendar { font-family: var(--font-body) !important; }

/* FullCalendar overrides */
.fc .fc-toolbar-title { font-family: var(--font-head) !important; font-size: 1.1rem !important; color: var(--text-dark) !important; }
.fc .fc-button { background: var(--primary) !important; border-color: var(--primary) !important; font-family: var(--font-body) !important; border-radius: 8px !important; }
.fc .fc-button:hover { background: var(--primary-dark) !important; border-color: var(--primary-dark) !important; }
.fc .fc-button-active { background: var(--primary-dark) !important; }
.fc .fc-daygrid-day-number { color: var(--text-body) !important; font-size: .85rem !important; }
.fc .fc-col-header-cell-cushion { color: var(--text-dark) !important; font-weight: 600 !important; font-size: .82rem !important; }
.fc .fc-daygrid-day.fc-day-today { background: var(--primary-soft) !important; }
.fc .fc-event { border-radius: 5px !important; font-size: .73rem !important; border: none !important; padding: 1px 5px !important; }
.fc .fc-event-title { font-weight: 600 !important; }
.fc .fc-daygrid-event { margin: 1px 3px !important; }

/* Calendar legend */
.calendar-legend {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .8rem;
  color: var(--text-body);
}
.legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  flex-shrink: 0;
}

/* ============================================================
   PERSONNEL SECTION (Section 6)
   ============================================================ */
.personnel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 22px;
}

.personnel-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px 16px 20px;
  text-align: center;
  border: 1.5px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.personnel-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.personnel-photo {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin: 0 auto 14px;
  background: linear-gradient(135deg,var(--primary),var(--accent));
  border: 3px solid var(--primary-light);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.6rem;
  font-weight: 700;
  font-family: var(--font-head);
}
.personnel-photo img { width:100%; height:100%; object-fit:cover; }

.personnel-name {
  font-size: .9rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.personnel-position {
  font-size: .76rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.5;
}

.personnel-contact {
  display: flex;
  justify-content: center;
  gap: 8px;
}
.contact-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--primary-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: var(--transition);
}
.contact-icon:hover { background: var(--primary); color: #fff; }
.contact-icon svg { width: 15px; height: 15px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: linear-gradient(135deg,#2D1B69 0%,#3D2B8A 100%);
  color: rgba(255,255,255,.85);
  padding: 48px 24px 0;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-logo-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg,var(--primary-light),var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-logo-icon svg { width: 24px; height: 24px; fill: #fff; }

.footer-org { font-size: .88rem; font-weight: 600; color: #fff; }
.footer-sub { font-size: .76rem; opacity: .7; }

.footer-desc {
  font-size: .82rem;
  line-height: 1.8;
  opacity: .75;
  margin-bottom: 18px;
}

.footer-socials { display: flex; gap: 10px; }
.social-btn {
  width: 36px; height: 36px;
  border-radius: 9px;
  background: rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.8);
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,.12);
}
.social-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.social-btn svg { width: 16px; height: 16px; }

.footer-col-title {
  font-size: .82rem;
  font-weight: 700;
  color: var(--primary-light);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-links a {
  font-size: .82rem;
  color: rgba(255,255,255,.72);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-links a::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--primary-light);
  border-radius: 50%;
  flex-shrink: 0;
  opacity: .5;
}
.footer-links a:hover { color: var(--primary-light); padding-left: 4px; }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .82rem;
  color: rgba(255,255,255,.72);
  margin-bottom: 10px;
}
.footer-contact-item svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 3px; color: var(--primary-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 16px 0;
  text-align: center;
  font-size: .78rem;
  color: rgba(255,255,255,.45);
  max-width: 1280px;
  margin: 0 auto;
}

/* ============================================================
   EMPTY STATE
   ============================================================ */
.empty-state {
  text-align: center;
  padding: 48px 24px;
  color: var(--text-muted);
}
.empty-state svg { width: 56px; height: 56px; margin: 0 auto 14px; opacity: .35; }
.empty-state p { font-size: .88rem; }

/* ============================================================
   MOBILE NAV DRAWER
   ============================================================ */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(45,27,105,.5);
  backdrop-filter: blur(4px);
}
.mobile-nav.open { display: flex; }

.mobile-nav-drawer {
  background: #fff;
  width: 280px;
  height: 100%;
  padding: 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  animation: slideIn .25s ease;
}
@keyframes slideIn { from { transform: translateX(-100%); } to { transform: translateX(0); } }

.mobile-nav-close {
  align-self: flex-end;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-dark);
  padding: 4px;
  margin-bottom: 8px;
}
.mobile-nav-close svg { width: 22px; height: 22px; }

.mobile-nav-link {
  display: block;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-body);
  transition: var(--transition);
}
.mobile-nav-link:hover { background: var(--primary-soft); color: var(--primary); }

/* ============================================================
   SCROLL TO TOP
   ============================================================ */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg,var(--primary),var(--primary-dark));
  color: #fff;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  z-index: 500;
}
.scroll-top.visible { display: flex; }
.scroll-top:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.scroll-top svg { width: 20px; height: 20px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .navbar-menu { display: none; }
  .navbar-toggle { display: flex; }
  .hero { padding: 48px 20px 40px; }
  .hero-stats { gap: 16px; }
  .hero-stat { padding: 12px 20px; }
  .hero-stat strong { font-size: 1.4rem; }
  .section { padding: 40px 20px; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .personnel-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
}

@media (max-width: 480px) {
  .news-grid { grid-template-columns: 1fr; }
  .supervision-grid { grid-template-columns: 1fr; }
  .download-item { flex-wrap: wrap; }
}

/* ============================================================
   ANIMATION
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-up {
  animation: fadeUp .5s ease forwards;
  opacity: 0;
}
.fade-up-1 { animation-delay: .05s; }
.fade-up-2 { animation-delay: .12s; }
.fade-up-3 { animation-delay: .19s; }
.fade-up-4 { animation-delay: .26s; }
.fade-up-5 { animation-delay: .33s; }
.fade-up-6 { animation-delay: .40s; }
