/* ============================================================
   DLSL ICH2P Conference Microsite — Design System
   De La Salle Lipa · 17th ICH2P 2026
   ============================================================ */

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

/* --- Design Tokens --- */
:root {
  /* Brand Colors */
  --g900: #1B5E20;
  --g800: #2E7D32;
  --g700: #388E3C;
  --g600: #43A047;
  --g500: #4CAF50;
  --g100: #E8F5E9;
  --g50:  #F1F8E9;
  --gold: #1F2937;
  --gold-dark: #000000;
  --gold-light: #6B7280;
  --gold-bg: #F3F4F6;

  /* Neutrals */
  --white: #ffffff;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;

  /* Typography */
  --font-heading: 'Montserrat', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --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;

  /* Spacing */
  --container-max: 1200px;
  --section-py: 80px;
  --nav-h: 72px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0,0,0,0.07);
  --shadow-sm: 0 2px 6px rgba(0,0,0,0.10);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.15);
  --shadow-xl: 0 16px 48px rgba(0,0,0,0.18);
  --shadow-gold: 0 4px 16px rgba(0,0,0,0.18);

  /* Border radius */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 12px;
  --r-xl: 16px;
  --r-2xl: 24px;
  --r-full: 9999px;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast: 150ms;
  --dur-base: 250ms;
  --dur-slow: 400ms;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: var(--section-py) 0; }
.section-sm { padding: 48px 0; }
.section-lg { padding: 100px 0; }

/* --- Typography --- */
h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; color: var(--gray-900); }
h1 { font-size: clamp(2rem, 5vw, var(--text-5xl)); }
h2 { font-size: clamp(1.5rem, 3.5vw, var(--text-4xl)); }
h3 { font-size: clamp(1.25rem, 2.5vw, var(--text-2xl)); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.section-title {
  font-size: clamp(1.75rem, 4vw, var(--text-4xl));
  color: var(--g900);
  margin-bottom: 12px;
}
.section-subtitle {
  font-size: var(--text-lg);
  color: var(--gray-500);
  margin-bottom: 48px;
  max-width: 640px;
}
.section-header { text-align: center; }
.section-header .section-subtitle { margin: 12px auto 48px; }

.text-gold { color: var(--gold); }
.text-green { color: var(--g900); }
.text-muted { color: var(--gray-500); }

/* --- Section Divider --- */
.section-divider {
  display: inline-block;
  width: 48px;
  height: 3px;
  background: var(--gold);
  border-radius: var(--r-full);
  margin-bottom: 16px;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: var(--white);
  border-bottom: 1px solid transparent;
  z-index: 1000;
  transition: border-color var(--dur-base) var(--ease),
              box-shadow var(--dur-base) var(--ease);
}
.navbar.scrolled {
  border-color: var(--gray-200);
  box-shadow: var(--shadow-sm);
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}
.nav-brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-brand .logo-dlsl { height: 40px; width: auto; }
.nav-brand .brand-divider {
  width: 1px; height: 28px; background: var(--gray-300); display: block;
}
.nav-brand .logo-icmet { height: 40px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: flex-end;
}
.nav-links > li { position: relative; }
.nav-links > li > a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--gray-700);
  border-radius: var(--r-md);
  transition: color var(--dur-fast) var(--ease),
              background var(--dur-fast) var(--ease);
}
.nav-links > li > a:hover { color: var(--g800); background: var(--g100); }
.nav-links > li > a.active { color: var(--g900); font-weight: 600; }

/* Dropdown */
.dropdown > a { cursor: pointer; }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 200px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity var(--dur-base) var(--ease),
              transform var(--dur-base) var(--ease);
  z-index: 100;
}
.dropdown:hover .dropdown-menu,
.dropdown.open .dropdown-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.dropdown-menu li a {
  display: block;
  padding: 8px 12px;
  font-size: var(--text-sm);
  color: var(--gray-700);
  border-radius: var(--r-md);
  transition: color var(--dur-fast) var(--ease),
              background var(--dur-fast) var(--ease);
}
.dropdown-menu li a:hover { color: var(--g900); background: var(--g100); }

/* Nav CTAs */
.nav-cta-secondary {
  color: var(--g800) !important;
  border: 1.5px solid var(--g700) !important;
  border-radius: var(--r-full) !important;
  padding: 7px 16px !important;
}
.nav-cta-secondary:hover { background: var(--g100) !important; }
.nav-cta-primary {
  background: var(--g900) !important;
  color: var(--white) !important;
  border-radius: var(--r-full) !important;
  padding: 7px 20px !important;
  font-weight: 600 !important;
}
.nav-cta-primary:hover { background: var(--g700) !important; color: var(--white) !important; }

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--r-md);
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gray-700);
  border-radius: var(--r-full);
  transition: all var(--dur-base) var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   PUBMAT BANNER
   ============================================================ */
.pubmat-banner {
  aspect-ratio: 3 / 1;
  max-height: 340px;
  background-color: var(--gray-100);
  background-image: url('../assets/banner-ich2p-2026.jpg');
  background-size: cover;
  background-position: center;
}
@media (max-width: 640px) {
  .pubmat-banner { aspect-ratio: 16 / 9; max-height: 220px; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--g900) 0%, #0D3A11 40%, #14421A 70%, var(--g800) 100%);
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 80% 20%, rgba(201,168,76,0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(255,255,255,0.04) 0%, transparent 40%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}
.hero-logos {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.hero-logos .logo-dlsl-hero,
.hero-logos .logo-icmet-hero {
  height: 52px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.hero-logos .hero-logo-divider {
  width: 1px; height: 36px;
  background: rgba(255,255,255,0.3);
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  padding: 6px 16px;
  border-radius: var(--r-full);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
}
.hero-badge i { font-size: 10px; }
.hero-title {
  font-size: clamp(2rem, 5.5vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 16px;
}
.hero-title .highlight { color: var(--g100); }
.hero-subtitle {
  font-size: var(--text-xl);
  color: rgba(255,255,255,0.75);
  margin-bottom: 32px;
  max-width: 600px;
  line-height: 1.5;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 40px;
}
.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.85);
  font-size: var(--text-sm);
  font-weight: 500;
}
.hero-meta-item i { color: var(--g100); width: 16px; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* Countdown */
.hero-countdown {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.countdown-unit {
  text-align: center;
  min-width: 64px;
}
.countdown-num {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--white);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--r-md);
  padding: 12px 16px;
  min-width: 64px;
  line-height: 1;
}
.countdown-label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 6px;
}

/* ============================================================
   PAGE HEADER (inner pages)
   ============================================================ */
.page-header {
  background: linear-gradient(135deg, var(--g900), #0D3A11);
  padding: calc(var(--nav-h) + 48px) 0 56px;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 100% 0%, rgba(201,168,76,0.10) 0%, transparent 50%);
}
.page-header-content { position: relative; z-index: 1; }
.page-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.55);
  margin-bottom: 12px;
}
.page-breadcrumb a { color: rgba(255,255,255,0.55); }
.page-breadcrumb a:hover { color: var(--g100); }
.page-breadcrumb i { font-size: 10px; }
.page-header h1 {
  color: var(--white);
  font-size: clamp(1.75rem, 4vw, var(--text-4xl));
  margin-bottom: 12px;
}
.page-header .lead {
  color: rgba(255,255,255,0.70);
  font-size: var(--text-lg);
  max-width: 560px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--r-full);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: all var(--dur-base) var(--ease);
  white-space: nowrap;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  box-shadow: var(--shadow-gold);
  transform: translateY(-1px);
}
.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
}
.btn-green {
  background: var(--g900);
  color: var(--white);
  border-color: var(--g900);
}
.btn-green:hover {
  background: var(--g700);
  border-color: var(--g700);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(27,94,32,0.3);
}
.btn-outline-green {
  background: transparent;
  color: var(--g900);
  border-color: var(--g700);
}
.btn-outline-green:hover {
  background: var(--g100);
}
.btn-lg { padding: 14px 32px; font-size: var(--text-base); }
.btn-sm { padding: 8px 16px; font-size: var(--text-xs); }

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: box-shadow var(--dur-base) var(--ease),
              transform var(--dur-base) var(--ease);
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.card-body { padding: 24px; }
.card-header-img { height: 200px; background: var(--g100); overflow: hidden; }
.card-header-img img { width: 100%; height: 100%; object-fit: cover; }

/* Speaker card */
.speaker-card { text-align: center; cursor: pointer; }
.speaker-photo {
  width: 120px; height: 120px;
  border-radius: 50%;
  margin: 24px auto 16px;
  background: var(--g100);
  border: 3px solid var(--g100);
  display: flex; align-items: center; justify-content: center;
  font-size: 48px; color: var(--g600);
  overflow: hidden;
}
.speaker-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.speaker-name { font-size: var(--text-lg); font-weight: 700; color: var(--gray-900); margin-bottom: 4px; }
.speaker-affiliation { font-size: var(--text-sm); color: var(--gray-500); margin-bottom: 12px; }
.speaker-track-badge {
  display: inline-block;
  padding: 3px 12px;
  border-radius: var(--r-full);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.badge-ieees { background: rgba(27,94,32,0.1); color: var(--g800); }
.badge-ich2p { background: rgba(201,168,76,0.15); color: var(--gold-dark); }
.badge-plenary { background: rgba(67,160,71,0.12); color: var(--g700); }

/* Committee card */
.committee-section { margin-bottom: 56px; }
.committee-section h3 {
  color: var(--g900);
  font-size: var(--text-2xl);
  margin-bottom: 8px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}
.committee-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; margin-top: 24px; }
.committee-member {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: 16px 20px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  transition: border-color var(--dur-fast) var(--ease);
}
.committee-member:hover { border-color: var(--g600); }
.member-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--g100);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: var(--g700);
  flex-shrink: 0;
}
.member-name { font-weight: 600; font-size: var(--text-sm); color: var(--gray-900); }
.member-role { font-size: var(--text-xs); color: var(--gray-500); margin-top: 2px; }

/* ============================================================
   TOPICS
   ============================================================ */
.topics-tracks { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.track-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-xl);
  overflow: hidden;
}
.track-header {
  padding: 28px 28px 20px;
}
.track-header.ieees { background: linear-gradient(135deg, var(--g900), var(--g700)); }
.track-header.ich2p { background: linear-gradient(135deg, #5D4037, #8D6E63); }
.track-label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 6px;
}
.track-header h3 { color: var(--white); font-size: var(--text-xl); margin-bottom: 0; }
.track-header p { color: rgba(255,255,255,0.7); font-size: var(--text-sm); margin-top: 6px; }
.track-topics { padding: 24px 28px; }
.topic-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: var(--text-sm);
  color: var(--gray-700);
}
.topic-item:last-child { border-bottom: none; }
.topic-item::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  margin-top: 6px;
}

/* ============================================================
   PROGRAMME / SCHEDULE
   ============================================================ */
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}
.schedule-table th {
  background: var(--g900);
  color: var(--white);
  padding: 14px 16px;
  text-align: left;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.schedule-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--gray-200);
  vertical-align: top;
}
.schedule-table tr:hover td { background: var(--g50); }
.schedule-table tr.special td { background: var(--gold-bg); }
.schedule-time { font-weight: 600; color: var(--g800); white-space: nowrap; }
.schedule-event { font-weight: 600; }
.schedule-detail { font-size: var(--text-xs); color: var(--gray-500); margin-top: 2px; }
.schedule-location { font-size: var(--text-xs); color: var(--gray-400); }

.schedule-day-tab {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.day-tab-btn {
  padding: 8px 20px;
  border-radius: var(--r-full);
  border: 1.5px solid var(--gray-300);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--gray-600);
  cursor: pointer;
  transition: all var(--dur-base) var(--ease);
  background: var(--white);
}
.day-tab-btn.active {
  background: var(--g900);
  color: var(--white);
  border-color: var(--g900);
}

/* Key dates */
.key-dates { display: flex; flex-direction: column; gap: 0; }
.key-date-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--gray-200);
  position: relative;
}
.key-date-item:last-child { border-bottom: none; }
.kd-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--g100);
  color: var(--g800);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.kd-date { font-size: var(--text-sm); font-weight: 700; color: var(--gold-dark); }
.kd-title { font-weight: 600; font-size: var(--text-base); color: var(--gray-900); margin-bottom: 2px; }
.kd-desc { font-size: var(--text-sm); color: var(--gray-500); }

/* ============================================================
   VENUE
   ============================================================ */
.venue-map-embed {
  width: 100%;
  height: 400px;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--gray-200);
}
.venue-map-embed iframe { width: 100%; height: 100%; border: none; }
.hotel-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: 20px 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: border-color var(--dur-fast) var(--ease);
}
.hotel-card:hover { border-color: var(--g600); }
.hotel-icon {
  width: 44px; height: 44px;
  background: var(--g100);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--g800);
  font-size: 20px;
  flex-shrink: 0;
}
.hotel-name { font-weight: 700; color: var(--gray-900); margin-bottom: 2px; }
.hotel-stars { color: var(--gold); font-size: var(--text-xs); }
.hotel-detail { font-size: var(--text-sm); color: var(--gray-500); margin-top: 4px; }

/* ============================================================
   FORMS
   ============================================================ */
.form-wrapper {
  max-width: 760px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-2xl);
  padding: 40px 48px;
  box-shadow: var(--shadow-md);
}
.form-section-title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--g900);
  border-bottom: 2px solid var(--g100);
  padding-bottom: 10px;
  margin-bottom: 20px;
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.form-section-title:first-of-type { margin-top: 0; }
.form-section-title i { color: var(--gold); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-row.full { grid-template-columns: 1fr; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 4px; }
.form-group label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--gray-700);
}
.form-group label .required { color: #DC2626; margin-left: 2px; }
.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--r-md);
  font-size: var(--text-sm);
  color: var(--gray-800);
  background: var(--white);
  transition: border-color var(--dur-fast) var(--ease),
              box-shadow var(--dur-fast) var(--ease);
  outline: none;
}
.form-control:focus {
  border-color: var(--g700);
  box-shadow: 0 0 0 3px rgba(56,142,60,0.12);
}
input.form-control:invalid:not(:placeholder-shown) { border-color: #DC2626; }
textarea.form-control:invalid:not(:placeholder-shown) { border-color: #DC2626; }
.form-control::placeholder { color: var(--gray-400); }
textarea.form-control { resize: vertical; min-height: 100px; }
select.form-control { cursor: pointer; }
.form-help { font-size: var(--text-xs); color: var(--gray-400); margin-top: 2px; }
.char-count { text-align: right; font-size: var(--text-xs); color: var(--gray-400); }

/* File upload */
.file-upload-zone {
  border: 2px dashed var(--gray-300);
  border-radius: var(--r-lg);
  padding: 32px 24px;
  text-align: center;
  cursor: pointer;
  transition: all var(--dur-base) var(--ease);
  background: var(--gray-50);
}
.file-upload-zone:hover,
.file-upload-zone.drag-over {
  border-color: var(--g700);
  background: var(--g50);
}
.file-upload-zone i { font-size: 32px; color: var(--gray-300); margin-bottom: 8px; }
.file-upload-zone p { font-size: var(--text-sm); color: var(--gray-500); margin: 0; }
.file-upload-zone .file-hint { font-size: var(--text-xs); color: var(--gray-400); margin-top: 4px; }
.file-selected-name { font-size: var(--text-sm); color: var(--g800); font-weight: 500; margin-top: 8px; }
.file-input-hidden { display: none; }

/* Fee table */
.fee-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
  margin-bottom: 24px;
}
.fee-table th {
  background: var(--g900);
  color: var(--white);
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
}
.fee-table td { padding: 12px 16px; border-bottom: 1px solid var(--gray-200); }
.fee-table tr:last-child td { border-bottom: none; }
.fee-table .selected td { background: var(--g50); border-left: 3px solid var(--g700); }
.fee-highlight { font-weight: 700; color: var(--g800); }

/* Form success/error states */
.form-alert {
  padding: 16px 20px;
  border-radius: var(--r-lg);
  font-size: var(--text-sm);
  font-weight: 500;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 24px;
}
.alert-success { background: var(--g50); border: 1px solid var(--g600); color: var(--g800); }
.alert-error { background: #FEF2F2; border: 1px solid #DC2626; color: #991B1B; }
.alert-info { background: var(--gold-bg); border: 1px solid var(--gold); color: var(--gold-dark); }

/* Checkout / payment steps */
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: var(--r-full);
  background: var(--g900);
  color: var(--white);
  font-size: var(--text-sm);
  font-weight: 700;
  margin-right: 4px;
}

/* Status badges — used on checkout confirmation and the admin dashboard */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--r-full);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.status-pending  { background: var(--gold-bg); color: var(--gold-dark); }
.status-verified { background: var(--g50); color: var(--g800); }
.status-rejected { background: #FEF2F2; color: #991B1B; }

.form-submit-row {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-200);
}

/* Bank transfer info box */
.bank-transfer-box {
  background: var(--g50);
  border: 1.5px solid var(--g600);
  border-radius: var(--r-lg);
  padding: 24px;
  margin: 24px 0;
}
.bank-transfer-box h4 {
  color: var(--g900);
  font-size: var(--text-base);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.bank-detail-row {
  display: flex;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(67,160,71,0.15);
  font-size: var(--text-sm);
}
.bank-detail-row:last-child { border-bottom: none; }
.bank-detail-label { font-weight: 600; color: var(--g800); min-width: 160px; }
.bank-detail-value { color: var(--gray-700); font-family: monospace; }
.iban-text { letter-spacing: 2px; }

/* ============================================================
   NEWS
   ============================================================ */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 24px; }
.news-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--dur-base) var(--ease),
              transform var(--dur-base) var(--ease);
}
.news-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.news-card-body { padding: 24px; flex: 1; }
.news-date { font-size: var(--text-xs); color: var(--gray-400); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; }
.news-title { font-size: var(--text-lg); font-weight: 700; color: var(--gray-900); margin-bottom: 10px; }
.news-excerpt { font-size: var(--text-sm); color: var(--gray-500); line-height: 1.6; }
.news-tag {
  display: inline-block;
  padding: 2px 10px;
  border-radius: var(--r-full);
  font-size: 11px;
  font-weight: 600;
  background: var(--g100);
  color: var(--g800);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

/* Loading skeleton */
.skeleton {
  background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-200) 50%, var(--gray-100) 75%);
  background-size: 400% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--r-md);
}
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: var(--g900);
  padding: 32px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-num {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--white);
  display: block;
}
.stat-label {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
  display: block;
}

/* ============================================================
   PARTNERS / LOGOS
   ============================================================ */
.partners-strip {
  background: var(--gray-50);
  padding: 40px 0;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}
.partners-label {
  text-align: center;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gray-400);
  margin-bottom: 24px;
}
.partners-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
}
.partner-logo-placeholder {
  height: 44px;
  padding: 0 24px;
  background: var(--gray-200);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--gray-500);
  letter-spacing: 1px;
}

/* ============================================================
   INFO BOXES
   ============================================================ */
.info-box {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-left: 4px solid var(--g700);
  border-radius: var(--r-lg);
  padding: 20px 24px;
  font-size: var(--text-sm);
  color: var(--gray-700);
  margin: 20px 0;
}
.info-box-gold {
  background: var(--gold-bg);
  border-color: var(--gold-light);
  border-left-color: var(--gold);
}
.info-box-title {
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.info-box-title i { color: var(--gold); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--gray-900);
  color: rgba(255,255,255,0.7);
}
.footer-main {
  padding: 64px 0 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
}
.footer-brand .footer-logo {
  height: 44px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.8;
  margin-bottom: 16px;
}
.footer-brand p {
  font-size: var(--text-sm);
  line-height: 1.6;
  color: rgba(255,255,255,0.55);
  margin: 0;
}
.footer-col h5 {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li { font-size: var(--text-sm); color: rgba(255,255,255,0.55); }
.footer-col ul li a { color: rgba(255,255,255,0.55); transition: color var(--dur-fast) var(--ease); }
.footer-col ul li a:hover { color: var(--g500); }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.55);
  margin-bottom: 10px;
}
.footer-contact-item i { color: var(--g500); margin-top: 2px; width: 14px; flex-shrink: 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.35);
}
.footer-bottom a { color: rgba(255,255,255,0.35); }
.footer-bottom a:hover { color: var(--g500); }

/* ============================================================
   MODAL
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-base) var(--ease);
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal-box {
  background: var(--white);
  border-radius: var(--r-2xl);
  padding: 40px;
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  transform: translateY(16px) scale(0.97);
  transition: transform var(--dur-base) var(--ease);
}
.modal-overlay.open .modal-box { transform: translateY(0) scale(1); }
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  color: var(--gray-500);
  background: var(--gray-100);
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease);
}
.modal-close:hover { background: var(--gray-200); color: var(--gray-800); }
.modal-box { position: relative; }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-item {
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  padding-top: 66%;
  background: var(--gray-200);
  cursor: pointer;
}
.gallery-item-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--g100);
  color: var(--g600);
  font-size: 40px;
}
.gallery-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease),
              transform 0.6s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================================
   UTILITY
   ============================================================ */
.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-0 { margin-top: 0; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }
.gap-6 { gap: 24px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.w-full { width: 100%; }
.spinner {
  width: 20px; height: 20px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  :root { --section-py: 64px; }
  .topics-tracks { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --section-py: 48px; }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 4px;
    box-shadow: var(--shadow-lg);
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-links > li > a { justify-content: space-between; }
  .nav-toggle { display: flex; }
  .dropdown-menu { position: static; opacity: 1; pointer-events: all; transform: none; box-shadow: none; border: none; padding: 0 0 0 16px; background: transparent; display: none; }
  .dropdown.open .dropdown-menu { display: block; }

  .hero-countdown { gap: 10px; }
  .countdown-num { font-size: var(--text-2xl); padding: 10px 12px; min-width: 52px; }
  .form-wrapper { padding: 24px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .committee-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
  .hero-logos { gap: 12px; }
  .hero-logos .logo-dlsl-hero,
  .hero-logos .logo-icmet-hero { height: 36px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { text-align: center; justify-content: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
}
