/* ============================================
   ESWUZ - Energy Sector Workers Union of Zimbabwe
   Design: Matching Lovable React version
   Colors from ESWUZ logo: Red, Blue, Gold, Green
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&family=Source+Sans+3:wght@400;500;600;700&display=swap');

:root {
  --primary: #1a6b3c;
  --primary-dark: #0f4525;
  --primary-light: #2d8a52;
  --primary-fg: #ffffff;
  --secondary: #d4941a;
  --secondary-light: #e8b24a;
  --secondary-fg: #1a2e1a;
  --accent-bg: #fdf5e6;
  --accent-fg: #6b4a14;
  --bg: #ffffff;
  --fg: #122418;
  --card: #ffffff;
  --card-fg: #122418;
  --muted: #f3f5f4;
  --muted-fg: #5a6b5e;
  --border: #dfe5e1;
  --destructive: #dc3545;
  --radius: 0.75rem;
  --font-display: 'Montserrat', sans-serif;
  --font-body: 'Source Sans 3', sans-serif;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--fg); background: var(--bg); line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { color: var(--primary); text-decoration: none; transition: all 0.3s; }
a:hover { color: var(--secondary); }
img { max-width: 100%; height: auto; display: block; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-display); font-weight: 800; line-height: 1.15; color: var(--fg); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media(min-width:768px) { .container { padding: 0 32px; } }

/* ============================================ TOP BAR ============================================ */
.topbar { background: var(--primary); color: var(--primary-fg); font-size: 0.82rem; display: none; }
@media(min-width:768px) { .topbar { display: block; } }
.topbar .container { display: flex; justify-content: space-between; align-items: center; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: var(--primary-fg); }
.topbar a:hover { text-decoration: underline; }
.topbar__info { display: flex; gap: 20px; align-items: center; }
.topbar__info svg { width: 14px; height: 14px; margin-right: 4px; vertical-align: -2px; }

/* ============================================ NAVBAR ============================================ */
.navbar { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.97); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.navbar .container { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.navbar__brand { display: flex; align-items: center; gap: 12px; }
.navbar__brand img { height: 48px; width: 48px; border-radius: 50%; object-fit: cover; }
.navbar__brand-text { display: none; }
@media(min-width:640px) { .navbar__brand-text { display: block; } }
.navbar__brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; color: var(--fg); line-height: 1.1; }
.navbar__brand-sub { font-size: 0.72rem; color: var(--muted-fg); }
.navbar__links { display: none; align-items: center; gap: 2px; list-style: none; }
@media(min-width:1024px) { .navbar__links { display: flex; } }
.navbar__links a { display: flex; align-items: center; gap: 4px; padding: 8px 12px; border-radius: 6px; font-size: 0.85rem; font-weight: 600; color: var(--muted-fg); transition: all 0.2s; }
.navbar__links a:hover, .navbar__links a.active { color: var(--primary); background: rgba(26,107,60,0.05); }
.navbar__links .dropdown { position: relative; }
.navbar__links .dropdown-menu { display: none; position: absolute; top: 100%; left: 0; margin-top: 4px; background: var(--card); border: 1px solid var(--border); border-radius: 8px; box-shadow: var(--shadow-lg); padding: 8px 0; min-width: 200px; z-index: 50; }
.navbar__links .dropdown:hover .dropdown-menu { display: block; }
.navbar__links .dropdown-menu a { display: block; padding: 8px 16px; font-size: 0.85rem; color: var(--muted-fg); }
.navbar__links .dropdown-menu a:hover { color: var(--primary); background: rgba(26,107,60,0.05); }
.navbar__cta { display: none; }
@media(min-width:1024px) { .navbar__cta { display: inline-flex; align-items: center; gap: 6px; background: var(--secondary); color: var(--secondary-fg); padding: 10px 20px; border-radius: 999px; font-size: 0.85rem; font-weight: 700; } }
.navbar__cta:hover { opacity: 0.9; color: var(--secondary-fg); }
.navbar__toggle { display: block; padding: 8px; background: none; border: none; cursor: pointer; font-size: 1.5rem; color: var(--fg); }
@media(min-width:1024px) { .navbar__toggle { display: none; } }

/* Mobile menu */
.mobile-menu { display: none; background: var(--bg); border-bottom: 1px solid var(--border); padding: 16px; }
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: 10px 16px; border-radius: 6px; font-size: 1rem; font-weight: 600; color: var(--fg); }
.mobile-menu a:hover, .mobile-menu a.active { color: var(--primary); background: rgba(26,107,60,0.05); }
.mobile-menu__sub a { padding-left: 32px; font-size: 0.9rem; color: var(--muted-fg); }
.mobile-menu__cta { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--secondary); color: var(--secondary-fg); padding: 12px 20px; border-radius: 999px; font-weight: 700; margin-top: 12px; width: 100%; text-align: center; }

/* ============================================ HERO CAROUSEL ============================================ */
.hero { position: relative; height: 92vh; min-height: 650px; overflow: hidden; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease, transform 1s ease; transform: scale(1.05); }
.hero-slide.active { opacity: 1; transform: scale(1); z-index: 2; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-slide__overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(18,36,24,0.88), rgba(18,36,24,0.60), rgba(18,36,24,0.20)); }
.hero-slide__overlay2 { position: absolute; inset: 0; background: linear-gradient(to top, rgba(18,36,24,0.40), transparent, rgba(18,36,24,0.10)); }
.hero__content { position: relative; z-index: 10; height: 100%; display: flex; align-items: center; }
.hero__inner { max-width: 640px; }
.hero__badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(212,148,26,0.2); backdrop-filter: blur(8px); border: 1px solid rgba(212,148,26,0.3); color: var(--secondary); padding: 6px 16px; border-radius: 999px; font-size: 0.85rem; font-weight: 600; margin-bottom: 24px; animation: fadeInUp 0.8s ease both; }
.hero__title { font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 900; line-height: 1.1; margin-bottom: 24px; animation: fadeInUp 0.8s ease 0.1s both; }
.hero__title-main { color: var(--primary-fg); }
.hero__title-accent { color: var(--secondary); }
.hero__subtitle { font-size: clamp(1rem, 2vw, 1.2rem); color: rgba(255,255,255,0.75); line-height: 1.7; margin-bottom: 32px; max-width: 560px; animation: fadeInUp 0.8s ease 0.2s both; }
.hero__buttons { display: flex; flex-wrap: wrap; gap: 16px; animation: fadeInUp 0.8s ease 0.3s both; }
.hero__nav { position: absolute; bottom: 32px; right: 32px; z-index: 10; display: flex; gap: 12px; }
.hero__nav button { width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,0.1); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.2); color: white; font-size: 1.2rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.3s; }
.hero__nav button:hover { background: rgba(255,255,255,0.25); }
.hero__dots { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); z-index: 10; display: flex; gap: 12px; }
.hero__dot { width: 48px; height: 6px; border-radius: 999px; background: rgba(255,255,255,0.2); border: none; cursor: pointer; position: relative; overflow: hidden; }
.hero__dot.active { background: rgba(255,255,255,0.2); }
.hero__dot-fill { position: absolute; inset: 0; background: var(--secondary); border-radius: 999px; transform: scaleX(0); transform-origin: left; transition: none; }
.hero__dot.active .hero__dot-fill { animation: dotFill 7s linear forwards; }
.hero__dot.past .hero__dot-fill { transform: scaleX(1); background: rgba(212,148,26,0.6); }

@keyframes dotFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ============================================ BUTTONS ============================================ */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 32px; border: none; border-radius: 999px; font-family: var(--font-body); font-weight: 700; font-size: 0.95rem; cursor: pointer; transition: all 0.3s; text-decoration: none; }
.btn--primary { background: var(--secondary); color: var(--secondary-fg); box-shadow: 0 4px 20px rgba(212,148,26,0.3); }
.btn--primary:hover { transform: scale(1.05); color: var(--secondary-fg); box-shadow: 0 6px 28px rgba(212,148,26,0.4); }
.btn--outline { background: rgba(255,255,255,0.1); backdrop-filter: blur(8px); color: white; border: 1px solid rgba(255,255,255,0.2); }
.btn--outline:hover { background: rgba(255,255,255,0.2); color: white; }
.btn--dark { background: var(--primary); color: var(--primary-fg); }
.btn--dark:hover { background: var(--primary-dark); color: var(--primary-fg); }
.btn--sm { padding: 8px 20px; font-size: 0.82rem; }
.btn--danger { background: var(--destructive); color: white; }
.btn--ghost { background: transparent; color: var(--primary); border: 1px solid var(--border); border-radius: var(--radius); }
.btn--ghost:hover { background: var(--muted); color: var(--primary); }

/* ============================================ SECTIONS ============================================ */
.section { padding: 80px 0; }
.section--muted { background: var(--muted); }
.section--primary { background: var(--primary); color: var(--primary-fg); }
.section--primary h2, .section--primary h3 { color: var(--primary-fg); }
.section--primary p { color: rgba(255,255,255,0.7); }
.section__header { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section__badge { display: inline-block; background: var(--accent-bg); color: var(--accent-fg); padding: 6px 16px; border-radius: 999px; font-size: 0.82rem; font-weight: 600; margin-bottom: 16px; }
.section__title { font-size: clamp(1.8rem, 3vw, 2.8rem); margin-bottom: 12px; }
.section__subtitle { font-size: 1.05rem; color: var(--muted-fg); line-height: 1.7; }

/* ============================================ PAGE HERO ============================================ */
.page-hero { position: relative; padding: 112px 0 144px; overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to right, rgba(18,36,24,0.92), rgba(18,36,24,0.75), rgba(18,36,24,0.50)); }
.page-hero__bg::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(18,36,24,0.30), transparent, rgba(18,36,24,0.20)); z-index: 1; }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); color: var(--primary-fg); margin-bottom: 12px; animation: fadeInUp 0.6s ease; }
.page-hero p { color: rgba(255,255,255,0.7); font-size: clamp(1rem, 2vw, 1.2rem); max-width: 640px; animation: fadeInUp 0.6s ease 0.1s both; }

/* ============================================ STATS BAR ============================================ */
.stats-bar { background: var(--primary); padding: 32px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media(min-width:768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat { text-align: center; color: var(--primary-fg); }
.stat__icon { color: var(--secondary); margin: 0 auto 8px; font-size: 1.3rem; }
.stat__value { font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 900; }
.stat__label { font-size: 0.82rem; color: rgba(255,255,255,0.6); }

/* ============================================ CARDS ============================================ */
.card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; transition: all 0.35s; }
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.card__body { padding: 24px; }
.card__icon { width: 56px; height: 56px; background: rgba(26,107,60,0.08); border-radius: 16px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; font-size: 1.5rem; color: var(--primary); }
.card__title { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; margin-bottom: 8px; }
.card__text { font-size: 0.9rem; color: var(--muted-fg); line-height: 1.65; }

/* Grid layouts */
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media(min-width:768px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media(min-width:768px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media(min-width:1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.grid-4 { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media(min-width:768px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media(min-width:1024px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* ============================================ NEWS CARDS ============================================ */
.news-card { display: flex; flex-direction: column; }
.news-card__image { height: 192px; background: linear-gradient(135deg, rgba(26,107,60,0.1), rgba(212,148,26,0.1)); display: flex; align-items: center; justify-content: center; color: rgba(26,107,60,0.2); font-size: 2.5rem; overflow: hidden; }
.news-card__image img { width: 100%; height: 100%; object-fit: cover; }
.news-card__body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.news-card__meta { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.news-card__tag { font-size: 0.72rem; background: var(--accent-bg); color: var(--accent-fg); padding: 4px 10px; border-radius: 999px; font-weight: 600; }
.news-card__date { font-size: 0.72rem; color: var(--muted-fg); }
.news-card__title { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; margin-bottom: 8px; line-height: 1.35; }
.news-card__title a { color: var(--fg); }
.news-card__title a:hover { color: var(--primary); }
.news-card__excerpt { font-size: 0.88rem; color: var(--muted-fg); line-height: 1.65; flex: 1; }
.news-card__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 0.85rem; font-weight: 600; color: var(--primary); }
.news-card__link:hover { gap: 10px; }

/* ============================================ EVENTS ============================================ */
.event-card { display: flex; flex-direction: column; }
@media(min-width:768px) { .event-card { flex-direction: row; } }
.event-card__date { background: var(--primary); color: var(--primary-fg); padding: 20px 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 100px; }
.event-card__day { font-family: var(--font-display); font-size: 2.2rem; font-weight: 900; color: var(--secondary); line-height: 1; }
.event-card__month { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; margin-top: 4px; }
.event-card__body { padding: 20px; flex: 1; }
.event-card__title { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; margin-bottom: 8px; }
.event-card__meta { display: flex; gap: 16px; font-size: 0.82rem; color: var(--muted-fg); margin-bottom: 8px; }
.event-card__desc { font-size: 0.9rem; color: var(--muted-fg); line-height: 1.6; }
.event-card__countdown { margin-top: 12px; display: flex; gap: 12px; }
.countdown-unit { text-align: center; background: var(--muted); padding: 8px 12px; border-radius: 8px; min-width: 56px; }
.countdown-unit__value { font-family: var(--font-display); font-weight: 900; font-size: 1.3rem; color: var(--primary); display: block; }
.countdown-unit__label { font-size: 0.65rem; color: var(--muted-fg); text-transform: uppercase; letter-spacing: 0.05em; }

/* ============================================ LEADERSHIP CAROUSEL ============================================ */
.leaders-scroll { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding-bottom: 16px; scroll-behavior: smooth; }
.leaders-scroll::-webkit-scrollbar { height: 4px; }
.leaders-scroll::-webkit-scrollbar-track { background: var(--muted); border-radius: 4px; }
.leaders-scroll::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 4px; }
.leader-card { scroll-snap-align: start; min-width: 260px; max-width: 300px; flex-shrink: 0; text-align: center; background: var(--card); padding: 32px 24px; border-radius: 16px; border: 1px solid var(--border); transition: all 0.35s; }
.leader-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.leader-card__avatar { width: 120px; height: 120px; border-radius: 50%; margin: 0 auto 16px; overflow: hidden; border: 3px solid var(--secondary); background: var(--muted); }
.leader-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.leader-card__initials { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: var(--secondary); font-family: var(--font-display); font-size: 2rem; font-weight: 900; }
.leader-card__name { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; margin-bottom: 4px; }
.leader-card__position { font-size: 0.82rem; color: var(--secondary); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 8px; }
.leader-card__bio { font-size: 0.85rem; color: var(--muted-fg); line-height: 1.6; }
.leaders-nav { display: flex; justify-content: center; gap: 12px; margin-top: 24px; }
.leaders-nav button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border); background: var(--card); cursor: pointer; font-size: 1rem; color: var(--fg); transition: all 0.2s; }
.leaders-nav button:hover { border-color: var(--primary); color: var(--primary); }

/* ============================================ TIMELINE ============================================ */
.timeline { max-width: 768px; margin: 0 auto; position: relative; }
.timeline__line { position: absolute; left: 32px; top: 0; bottom: 0; width: 2px; background: var(--border); }
.timeline__item { position: relative; padding-left: 80px; padding-bottom: 40px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__dot { position: absolute; left: 21px; width: 24px; height: 24px; background: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--primary-fg); font-size: 0.7rem; }
.timeline__content { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 24px; transition: box-shadow 0.3s; }
.timeline__content:hover { box-shadow: var(--shadow-md); }
.timeline__year { font-family: var(--font-display); font-weight: 700; color: var(--primary); font-size: 1.15rem; }
.timeline__badge { display: inline-block; font-size: 0.72rem; background: var(--accent-bg); color: var(--accent-fg); padding: 2px 10px; border-radius: 999px; font-weight: 600; margin-left: 12px; }
.timeline__title { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; margin-top: 4px; }
.timeline__desc { font-size: 0.88rem; color: var(--muted-fg); margin-top: 8px; line-height: 1.65; }

/* ============================================ GALLERY ============================================ */
.gallery-item { position: relative; overflow: hidden; border-radius: 16px; cursor: pointer; }
.gallery-item img { width: 100%; height: 256px; object-fit: cover; transition: transform 0.5s; }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item__overlay { position: absolute; inset: 0; background: rgba(18,36,24,0.30); display: flex; align-items: center; justify-content: center; opacity: 0; transition: all 0.35s; }
.gallery-item:hover .gallery-item__overlay { opacity: 1; background: rgba(18,36,24,0.55); }
.gallery-item__zoom { width: 56px; height: 56px; background: rgba(255,255,255,0.2); backdrop-filter: blur(4px); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 1.3rem; }
.gallery-item__info { padding: 16px; }
.gallery-item__title { font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; margin-bottom: 2px; }
.gallery-item__caption { font-size: 0.82rem; color: var(--muted-fg); }

/* ============================================ CONTACT ============================================ */
.contact-info__item { display: flex; gap: 16px; margin-bottom: 24px; }
.contact-info__icon { width: 48px; height: 48px; background: rgba(26,107,60,0.08); border-radius: 16px; display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 1.2rem; flex-shrink: 0; }
.contact-info__label { font-family: var(--font-display); font-weight: 700; font-size: 0.92rem; margin-bottom: 2px; }
.contact-info__value { font-size: 0.88rem; color: var(--muted-fg); }
.contact-info__value a { color: var(--muted-fg); }
.contact-info__value a:hover { color: var(--primary); }

/* ============================================ FORMS ============================================ */
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--fg); margin-bottom: 6px; }
.form-control { width: 100%; padding: 12px 16px; background: var(--muted); border: none; border-radius: 12px; font-family: var(--font-body); font-size: 0.9rem; color: var(--fg); outline: none; transition: box-shadow 0.25s; }
.form-control:focus { box-shadow: 0 0 0 3px rgba(26,107,60,0.15); }
textarea.form-control { min-height: 120px; resize: vertical; }
select.form-control { appearance: auto; }

/* ============================================ ALERTS ============================================ */
.alert { padding: 14px 20px; border-radius: 12px; margin-bottom: 20px; font-size: 0.88rem; font-weight: 500; }
.alert--success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert--error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

/* ============================================ TESTIMONIALS ============================================ */
.testimonial { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 32px; position: relative; }
.testimonial__quote { font-size: 3rem; color: var(--primary); opacity: 0.15; position: absolute; top: 12px; left: 20px; font-family: serif; line-height: 1; }
.testimonial__text { font-size: 0.95rem; color: var(--fg); line-height: 1.7; font-style: italic; margin-bottom: 16px; position: relative; z-index: 1; }
.testimonial__author { font-size: 0.82rem; color: var(--muted-fg); }
.testimonial__author strong { color: var(--primary); font-weight: 600; }

/* ============================================ COMPARISON TABLE ============================================ */
.compare-table { width: 100%; border-radius: 16px; overflow: hidden; border: 1px solid var(--border); background: var(--card); }
.compare-table__header { display: grid; grid-template-columns: 2fr 1fr 1fr; background: var(--primary); color: var(--primary-fg); padding: 16px; font-family: var(--font-display); font-weight: 700; font-size: 0.85rem; }
.compare-table__row { display: grid; grid-template-columns: 2fr 1fr 1fr; padding: 16px; font-size: 0.88rem; border-top: 1px solid var(--border); align-items: center; }
.compare-table__row:nth-child(even) { background: rgba(243,245,244,0.5); }
.compare-table__check { color: var(--primary); text-align: center; font-size: 1.2rem; }
.compare-table__x { color: var(--muted-fg); opacity: 0.3; text-align: center; font-size: 1.2rem; }

/* ============================================ FOOTER ============================================ */
.footer { background: var(--fg); color: rgba(255,255,255,0.8); }
.footer__grid { display: grid; grid-template-columns: 1fr; gap: 40px; padding: 64px 0; }
@media(min-width:768px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media(min-width:1024px) { .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; } }
.footer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer__brand img { height: 48px; width: 48px; border-radius: 50%; }
.footer__brand-name { font-family: var(--font-display); font-weight: 800; color: white; font-size: 1.1rem; }
.footer__brand-sub { font-size: 0.72rem; color: rgba(255,255,255,0.5); }
.footer__about p { font-size: 0.88rem; line-height: 1.7; color: rgba(255,255,255,0.6); margin-bottom: 12px; }
.footer__motto { color: var(--secondary); font-weight: 600; font-size: 0.88rem; }
.footer h4 { font-family: var(--font-display); font-weight: 700; color: white; margin-bottom: 16px; font-size: 0.95rem; }
.footer__links { list-style: none; }
.footer__links li { margin-bottom: 10px; }
.footer__links a { color: rgba(255,255,255,0.6); font-size: 0.88rem; transition: all 0.25s; }
.footer__links a:hover { color: var(--secondary); padding-left: 4px; }
.footer__contact-item { display: flex; align-items: flex-start; gap: 10px; font-size: 0.88rem; margin-bottom: 12px; }
.footer__contact-icon { color: var(--secondary); font-size: 1rem; margin-top: 2px; flex-shrink: 0; }
.footer__contact-item a { color: rgba(255,255,255,0.6); }
.footer__contact-item a:hover { color: var(--secondary); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 0; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; font-size: 0.78rem; color: rgba(255,255,255,0.4); }
.footer__bottom a { color: var(--secondary); }
.footer__bottom a:hover { text-decoration: underline; }

/* ============================================ CTA SECTION ============================================ */
.cta-section { background: var(--primary); padding: 80px 0; text-align: center; }
.cta-section h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); color: var(--primary-fg); margin-bottom: 12px; }
.cta-section p { color: rgba(255,255,255,0.7); font-size: 1.05rem; max-width: 540px; margin: 0 auto 32px; }

/* ============================================ MEMBERSHIP ============================================ */
.grade-item { display: flex; align-items: center; gap: 16px; padding: 12px; border-radius: 12px; transition: background 0.2s; }
.grade-item:hover { background: var(--muted); }
.grade-letter { width: 40px; height: 40px; background: var(--primary); color: var(--primary-fg); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 900; font-size: 1.1rem; flex-shrink: 0; }
.grade-name { font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; }
.grade-desc { font-size: 0.82rem; color: var(--muted-fg); }

.step-card { text-align: center; padding: 24px; }
.step-number { width: 48px; height: 48px; background: var(--primary); color: var(--primary-fg); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 900; font-size: 1.2rem; margin: 0 auto 16px; }

/* ============================================ ARTICLE SINGLE ============================================ */
.article { max-width: 760px; margin: 0 auto; }
.article__meta { display: flex; gap: 16px; font-size: 0.85rem; color: var(--muted-fg); margin-bottom: 32px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.article__content { font-size: 1.05rem; line-height: 1.85; color: var(--muted-fg); }
.article__content p { margin-bottom: 20px; }
.article__content h2 { margin: 36px 0 16px; font-size: 1.5rem; color: var(--fg); }

/* ============================================ PAGINATION ============================================ */
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 48px; }
.pagination a, .pagination span { padding: 10px 16px; border: 1px solid var(--border); border-radius: 8px; font-size: 0.85rem; font-weight: 600; color: var(--muted-fg); }
.pagination a:hover { border-color: var(--primary); color: var(--primary); }
.pagination .active { background: var(--primary); color: var(--primary-fg); border-color: var(--primary); }

/* ============================================ ANIMATIONS ============================================ */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.animate-on-scroll { opacity: 0; transform: translateY(20px); transition: all 0.6s ease; }
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }

/* ============================================ UTILITIES ============================================ */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-muted { color: var(--muted-fg); }
.mb-0 { margin-bottom: 0; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.gap-4 { gap: 16px; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.max-w-md { max-width: 448px; }
.max-w-lg { max-width: 512px; }
.max-w-xl { max-width: 576px; }
.max-w-3xl { max-width: 768px; }
.max-w-5xl { max-width: 1024px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.w-full { width: 100%; }
.rounded-2xl { border-radius: 16px; }
.overflow-hidden { overflow: hidden; }
.shadow-2xl { box-shadow: var(--shadow-xl); }
.check-icon { color: var(--primary); }
.x-icon { color: var(--muted-fg); opacity: 0.3; }

/* ============================================ RESPONSIVE ============================================ */
@media(max-width:768px) {
  .hero { height: 75vh; min-height: 500px; }
  .page-hero { padding: 80px 0 100px; }
  .section { padding: 60px 0; }
  .hero__nav { bottom: 80px; right: 16px; }
  .hero__dots { bottom: 24px; }
}
