:root {
  --green-900: #0d3319;
  --green-800: #14532d;
  --green-700: #1b6b38;
  --green-600: #227d42;
  --green-100: #e7f3ea;
  --gold: #d4a017;
  --ink: #1b2a1f;
  --muted: #5a6b5e;
  --bg: #f6f8f6;
  --card: #ffffff;
  --border: #e1e8e2;
  --radius: 10px;
  --shadow: 0 2px 10px rgba(13, 51, 25, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
img { max-width: 100%; display: block; }
a { color: var(--green-700); text-decoration: none; }
a:hover { color: var(--green-900); }
h1, h2, h3, h4 { color: var(--green-900); line-height: 1.25; }

/* Header */
.site-header { background: #fff; border-bottom: 3px solid var(--green-700); position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: #f4f0e2; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; }
.brand-mark { font-size: 1.5rem; font-weight: 800; color: var(--green-800); letter-spacing: 1px; }
.brand-sub { font-size: 0.72rem; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }
.main-nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.main-nav a { padding: 8px 12px; border-radius: 6px; font-weight: 500; font-size: 0.95rem; }
.main-nav a.active, .main-nav a:hover { background: var(--green-100); color: var(--green-900); }
.main-nav a.btn-nav { background: var(--green-700); color: #fff; }
.main-nav a.btn-nav:hover { background: var(--green-900); color: #fff; }
.nav-toggle { display: none; background: none; border: none; font-size: 1.6rem; cursor: pointer; color: var(--green-800); }

/* Hero */
.hero { background: linear-gradient(135deg, var(--green-900), var(--green-700)); color: #fff; padding: 70px 0; }
.hero h1 { color: #fff; font-size: 2.4rem; margin: 0 0 14px; }
.hero p { font-size: 1.1rem; max-width: 640px; color: #dceee0; }
.hero-buttons { margin-top: 24px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-slider { position: relative; overflow: hidden; min-height: 520px; display: flex; align-items: center; padding: 90px 0 110px; background: var(--green-900); }
.hero-slides, .hero-slide, .hero-overlay { position: absolute; inset: 0; }
.hero-slide { background-size: cover; background-position: center; opacity: 0; transform: scale(1); transition: opacity 1.2s ease; }
.hero-slide.active { opacity: 1; animation: heroZoom 7s ease-out forwards; }
@keyframes heroZoom { from { transform: scale(1); } to { transform: scale(1.1); } }
.hero-overlay { background: linear-gradient(90deg, rgba(13, 51, 25, 0.88) 0%, rgba(13, 51, 25, 0.6) 55%, rgba(13, 51, 25, 0.3) 100%); }
.hero-content { position: relative; z-index: 2; width: 100%; }
.hero-content h1, .hero-content p { text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35); }
.hero-caption { display: inline-block; margin-top: 30px; padding: 6px 14px; border-left: 4px solid var(--gold); background: rgba(0, 0, 0, 0.35); font-weight: 600; font-size: 0.95rem; color: #fff; }
.hero-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.18); color: #fff; font-size: 1.9rem; line-height: 1; cursor: pointer; transition: background .2s; }
.hero-nav:hover, .hero-nav:focus-visible { background: rgba(255, 255, 255, 0.35); outline: none; }
.hero-prev { left: 14px; }
.hero-next { right: 14px; }
.hero-dots { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; gap: 8px; }
.hero-dots button { width: 11px; height: 11px; padding: 0; border-radius: 999px; border: 0; background: rgba(255, 255, 255, 0.5); cursor: pointer; transition: width .3s, background .3s; }
.hero-dots button.active { width: 28px; background: var(--gold); }
.hero-credit { position: absolute; right: 12px; bottom: 6px; z-index: 3; font-size: 0.7rem; color: rgba(255, 255, 255, 0.75); }
.hero-credit:hover { color: #fff; }
@media (prefers-reduced-motion: reduce) { .hero-slide.active { animation: none; } .hero-slide { transition: none; } }
.btn { display: inline-block; padding: 12px 24px; border-radius: 6px; font-weight: 600; cursor: pointer; border: none; font-size: 0.95rem; }
.btn-primary { background: var(--gold); color: #2a2205; }
.btn-primary:hover { background: #b9880f; color: #2a2205; }
.btn-outline { background: transparent; color: #fff; border: 2px solid #fff; }
.btn-outline:hover { background: #fff; color: var(--green-900); }
.btn-green { background: var(--green-700); color: #fff; }
.btn-green:hover { background: var(--green-900); color: #fff; }

/* Sections */
.section { padding: 60px 0; }
.section-alt { background: #fff; }
.section-title { text-align: center; margin-bottom: 40px; }
.section-title h2 { font-size: 1.9rem; margin-bottom: 8px; }
.section-title p { color: var(--muted); max-width: 620px; margin: 0 auto; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card h3 { margin-top: 0; }

.stat-card { text-align: center; }
.stat-icon { width: 58px; height: 58px; margin: 0 auto 10px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--green-600), var(--green-900)); box-shadow: 0 0 0 5px var(--green-100); }
.stat-icon svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.aim-card { padding: 0; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.aim-card:hover { transform: translateY(-4px); box-shadow: 0 8px 22px rgba(13, 51, 25, 0.14); }
.aim-card img { width: 100%; height: 160px; object-fit: cover; }
.aim-card .body { padding: 18px 20px 20px; }
.aim-card h3 { margin: 0 0 6px; }
.aim-card p { margin: 0; }
.committee-card .body p + p { margin-top: 8px; }
.committee-link { display: inline-block; margin-top: 12px; font-weight: 600; font-size: 0.9rem; }
.stat-number { font-size: 2.2rem; font-weight: 800; color: var(--green-700); }
.stat-label { color: var(--muted); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.5px; }

.exec-card { text-align: center; }
button.exec-card { display: flex; flex-direction: column; align-items: center; width: 100%; font: inherit; color: inherit; cursor: pointer; transition: transform .2s, box-shadow .2s, border-color .2s; }
button.exec-card:hover, button.exec-card:focus-visible { transform: translateY(-4px); box-shadow: 0 8px 22px rgba(13, 51, 25, 0.16); border-color: var(--gold); outline: none; }
.exec-frame { display: inline-block; padding: 5px; border-radius: 50%; background: linear-gradient(135deg, #4ade80, var(--green-900)); box-shadow: 0 4px 12px rgba(13, 51, 25, 0.18); margin: 0 auto 14px; }
.exec-frame .exec-photo { border: 4px solid #fff; margin: 0; }
.exec-frame-lg .exec-photo { width: 150px; height: 150px; }
.exec-photo { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; margin: 0 auto 14px; background: var(--green-100); }
.exec-position { display: block; color: var(--gold); font-weight: 700; font-size: 0.85rem; text-transform: uppercase; }
.exec-name { display: block; font-size: 1.1rem; margin: 4px 0 8px; color: var(--green-900); font-weight: 600; }
.exec-more { font-size: 0.82rem; color: var(--green-700); font-weight: 600; }
.exec-term { color: var(--muted); font-size: 0.85rem; margin-bottom: 10px; }

.founder-icon { display: inline-flex; align-items: center; justify-content: center; width: 120px; height: 120px; padding: 5px; border-radius: 50%; background: linear-gradient(135deg, #4ade80, var(--green-900)); box-shadow: 0 4px 12px rgba(13, 51, 25, 0.18); flex-shrink: 0; }
.founder-icon img, .founder-initials { width: 100%; height: 100%; border-radius: 50%; border: 4px solid #fff; object-fit: cover; }
.founder-initials { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--green-700), var(--green-900)); color: #fff; font-weight: 800; font-size: 2rem; letter-spacing: 1px; }
.founder-icon-sm { width: 72px; height: 72px; padding: 3px; }
.founder-icon-sm .founder-initials { font-size: 1.2rem; border-width: 3px; }
.founder-icon-sm img { border-width: 3px; }
.founders-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 22px; }
.founder-card { text-align: center; display: flex; flex-direction: column; align-items: center; transition: transform .2s, box-shadow .2s; }
.founder-card:hover { transform: translateY(-4px); box-shadow: 0 8px 22px rgba(13, 51, 25, 0.14); }
.founder-card .founder-icon { margin-bottom: 14px; }
.founder-name { font-weight: 700; font-size: 1.05rem; color: var(--green-900); }
.founder-role { color: var(--gold); font-weight: 700; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.5px; margin-top: 2px; }
.founders-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px 18px; }
.founder-chip { width: 110px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; color: var(--green-900); font-size: 0.85rem; font-weight: 600; line-height: 1.3; }
.founder-chip:hover .founder-icon { transform: scale(1.06); }
.founder-chip .founder-icon { transition: transform .2s; }

.founder-icon-xs { width: 44px; height: 44px; padding: 2px; }
.founder-icon-xs .founder-initials { font-size: 0.8rem; border-width: 2px; }
.founder-icon-xs img { border-width: 2px; }

.founders-folder { max-width: 900px; margin: 0 auto; }
.founders-folder > summary { list-style: none; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 14px; outline: none; }
.founders-folder > summary::-webkit-details-marker { display: none; }
.folder-graphic { position: relative; width: 210px; height: 150px; display: block; transition: transform .25s; }
.founders-folder > summary:hover .folder-graphic, .founders-folder > summary:focus-visible .folder-graphic { transform: translateY(-4px); }
.folder-back { position: absolute; inset: 14px 0 0 0; border-radius: 10px; background: var(--green-800); }
.folder-back::before { content: ''; position: absolute; top: -14px; left: 0; width: 80px; height: 24px; border-radius: 10px 10px 0 0; background: var(--green-800); }
.folder-papers { position: absolute; left: 14px; right: 14px; top: 26px; height: 90px; border-radius: 6px; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15); display: flex; justify-content: center; align-items: flex-start; padding-top: 8px; gap: 0; transition: transform .35s ease; }
.folder-papers .founder-icon { margin-left: -8px; }
.folder-papers .founder-icon:first-child { margin-left: 0; }
.folder-front { position: absolute; left: 0; right: 0; bottom: 0; height: 92px; border-radius: 10px; background: linear-gradient(160deg, var(--green-600), var(--green-900)); box-shadow: 0 8px 20px rgba(13, 51, 25, 0.22); display: flex; align-items: center; justify-content: center; transform-origin: bottom; transition: transform .35s ease; }
.folder-front svg { width: 44px; height: 44px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.founders-folder[open] .folder-front { transform: perspective(500px) rotateX(-35deg); }
.founders-folder[open] .folder-papers { transform: translateY(-14px); }
.folder-label { display: flex; flex-direction: column; align-items: center; text-align: center; }
.folder-label strong { font-size: 1.15rem; color: var(--green-900); }
.folder-label > span { color: var(--muted); font-size: 0.9rem; }
.folder-label em { font-style: normal; color: var(--green-700); font-weight: 600; }
.folder-hint-open, .founders-folder[open] .folder-hint-closed { display: none; }
.founders-folder[open] .folder-hint-open { display: inline; }
.founders-folder[open] .founders-strip { margin-top: 30px; padding: 28px 20px; border-radius: var(--radius); background: var(--green-100); border: 1px solid #bfe3c8; animation: folderOpen .35s ease-out; }
@keyframes folderOpen { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .folder-front, .folder-papers, .folder-graphic { transition: none; } .founders-folder[open] .founders-strip { animation: none; } }

.member-login { max-width: 440px; margin: 0 auto; }
.member-login-note { font-size: 0.88rem; color: var(--muted); margin: 14px 0 0; text-align: center; }
.member-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.member-nav a { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--border); background: var(--card); font-weight: 600; font-size: 0.9rem; }
.member-nav a.active { background: var(--green-700); border-color: var(--green-700); color: #fff; }
.member-summary { display: flex; align-items: center; gap: 24px; margin-bottom: 22px; flex-wrap: wrap; }
.member-summary-info h2 { margin: 0; }
.member-summary-info p { margin: 6px 0 0; color: var(--muted); max-width: 640px; }
.member-id { display: inline-block; margin-top: 4px; font-family: monospace; font-size: 0.95rem; font-weight: 700; color: var(--green-800); background: var(--green-100); padding: 2px 10px; border-radius: 6px; }
.member-stats { margin-bottom: 22px; }
.member-stat { font-size: 1.05rem; font-weight: 700; color: var(--green-900); margin-top: 6px; }
.member-actions a.card { color: inherit; transition: transform .2s, box-shadow .2s, border-color .2s; }
.member-actions a.card:hover { transform: translateY(-3px); border-color: var(--gold); box-shadow: 0 8px 22px rgba(13, 51, 25, 0.14); }
.member-actions h3 { margin-top: 0; }

.exec-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 16px; }
.exec-modal[hidden] { display: none; }
.exec-modal-backdrop { position: absolute; inset: 0; background: rgba(13, 51, 25, 0.6); }
.exec-modal-box { position: relative; background: var(--card); border-radius: var(--radius); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25); max-width: 460px; width: 100%; max-height: 90vh; overflow-y: auto; padding: 32px 26px 26px; text-align: center; animation: execPop .2s ease-out; }
.exec-modal-box h4 { margin: 18px 0 6px; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.5px; color: var(--green-700); border-top: 1px solid var(--border); padding-top: 16px; }
.exec-modal-box p { margin: 0; color: var(--ink); }
.exec-modal-close { position: absolute; top: 8px; right: 12px; background: none; border: 0; font-size: 1.8rem; line-height: 1; color: var(--muted); cursor: pointer; }
.exec-modal-close:hover { color: var(--green-900); }
@keyframes execPop { from { opacity: 0; transform: scale(.95); } to { opacity: 1; transform: none; } }

.news-card img, .project-card img { border-radius: var(--radius) var(--radius) 0 0; height: 180px; width: 100%; object-fit: cover; }
.news-card, .project-card { padding: 0; overflow: hidden; }
.news-card .body, .project-card .body { padding: 20px; }
.news-date { color: var(--muted); font-size: 0.85rem; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 0.75rem; font-weight: 700; background: var(--green-100); color: var(--green-800); text-transform: uppercase; }
.badge-gold { background: #fbeecb; color: #7a5a08; }
.badge-ongoing { background: #dbeafe; color: #1e40af; }
.badge-proposed { background: #fbeecb; color: #7a5a08; }
.badge-completed { background: var(--green-100); color: var(--green-800); }

.project-filter { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 36px; }
.chip { font: inherit; font-size: 0.88rem; font-weight: 600; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--card); color: var(--green-800); cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.chip span { display: inline-block; min-width: 20px; margin-left: 4px; padding: 0 6px; border-radius: 999px; background: var(--green-100); font-size: 0.75rem; }
.chip:hover { border-color: var(--green-700); }
.chip.active { background: var(--green-700); border-color: var(--green-700); color: #fff; }
.chip.active span { background: rgba(255, 255, 255, 0.2); }
.project-group { margin-bottom: 48px; scroll-margin-top: 90px; }
.project-group[hidden] { display: none; }
.project-group-head { border-left: 4px solid var(--gold); padding-left: 14px; margin-bottom: 20px; }
.project-group-head h2 { margin: 0 0 4px; font-size: 1.4rem; }
.project-group-head p { margin: 0; color: var(--muted); }
.project-card h3 { margin: 10px 0 8px; }
.project-impact { background: var(--green-100); border-left: 3px solid var(--green-700); border-radius: 6px; padding: 10px 12px; margin: 12px 0; font-size: 0.92rem; }
.project-impact strong { display: block; color: var(--green-800); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 2px; }
.project-impact p { margin: 0; }
.project-plan { margin: 0 0 12px; border: 1px solid var(--border); border-radius: 6px; }
.project-plan summary { cursor: pointer; padding: 9px 12px; font-weight: 700; font-size: 0.88rem; color: var(--green-800); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.project-plan summary::-webkit-details-marker { display: none; }
.project-plan summary::after { content: '+'; font-size: 1.1rem; line-height: 1; }
.project-plan[open] summary::after { content: '\2212'; }
.project-plan summary span { margin-left: auto; font-weight: 600; font-size: 0.75rem; color: var(--muted); }
.project-plan ol { margin: 0; padding: 4px 14px 12px 32px; font-size: 0.88rem; border-top: 1px solid var(--border); }
.project-plan li { margin-top: 6px; }
.project-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 0.82rem; color: var(--muted); }

form label { display: block; font-weight: 600; margin: 14px 0 6px; font-size: 0.9rem; }
form input, form select, form textarea {
  width: 100%; padding: 11px 12px; border: 1px solid var(--border); border-radius: 6px; font-size: 0.95rem; font-family: inherit; background: #fff;
}
form textarea { min-height: 120px; resize: vertical; }
form input:focus, form select:focus, form textarea:focus { outline: none; border-color: var(--green-600); box-shadow: 0 0 0 3px rgba(34,125,66,0.15); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.form-card { max-width: 720px; margin: 0 auto; }

.alert { padding: 14px 18px; border-radius: 8px; margin-bottom: 20px; font-size: 0.95rem; }
.alert-success { background: #e5f6e9; color: #1b6b38; border: 1px solid #b9e3c4; }
.alert-error { background: #fdecec; color: #a4262c; border: 1px solid #f3c1c1; }

table { width: 100%; border-collapse: collapse; background: #fff; }
table th, table td { padding: 10px 12px; border-bottom: 1px solid var(--border); text-align: left; font-size: 0.92rem; }
table th { background: var(--green-100); color: var(--green-900); }

.constitution-doc h2 { margin-top: 40px; border-bottom: 2px solid var(--green-100); padding-bottom: 8px; }
.constitution-doc ol, .constitution-doc ul { padding-left: 22px; }
.constitution-doc li { margin-bottom: 8px; }

.breadcrumb-bar { background: var(--green-100); padding: 30px 0; }
.breadcrumb-bar h1 { margin: 0; }

/* Footer */
.site-footer { background: var(--green-900); color: #cfe3d3; margin-top: 40px; }
.footer-inner { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 30px; padding: 50px 20px 30px; }
.site-footer h3, .site-footer h4 { color: #fff; }
.footer-col a { display: block; color: #cfe3d3; padding: 4px 0; }
.footer-col a:hover { color: #fff; }
.social-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.social-whatsapp { display: inline-flex; align-items: center; gap: 6px; }
.social-whatsapp svg { width: 18px; height: 18px; fill: #25d366; }
.whatsapp-float { position: fixed; right: 18px; bottom: 18px; z-index: 900; display: flex; align-items: center; gap: 8px; padding: 12px; border-radius: 999px; background: #25d366; color: #fff; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25); font-weight: 700; font-size: 0.9rem; transition: transform .2s, box-shadow .2s; }
.whatsapp-float:hover, .whatsapp-float:focus-visible { color: #fff; transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3); }
.whatsapp-float svg { width: 30px; height: 30px; fill: #fff; flex-shrink: 0; }
.whatsapp-float span { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .3s ease, margin .3s ease; }
.whatsapp-float:hover span, .whatsapp-float:focus-visible span { max-width: 180px; margin-right: 6px; }
.footer-bottom { text-align: center; padding: 16px 20px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.85rem; color: #9fc2a7; }
.admin-link { color: #6f8f76; margin-left: 10px; }

@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .main-nav { display: none; flex-direction: column; align-items: stretch; width: 100%; }
  .main-nav.open { display: flex; }
  .header-inner { flex-wrap: wrap; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.8rem; }
  .hero-slider { min-height: 460px; padding: 60px 0 90px; }
  .hero-nav { display: none; }
}
