/* =========================================
   AGRITRACK — Main Stylesheet
   OPA Siquijor · 2026
   ========================================= */

/* ---- CSS VARIABLES ---- */
:root {
  --green-deep:   #1B4D2E;
  --green-mid:    #246B3F;
  --green-light:  #3A8F58;
  --green-pale:   #E8F0E9;
  --gold:         #C8972A;
  --gold-light:   #F0D98A;
  --cream:        #F7F4EE;
  --white:        #FFFFFF;
  --charcoal:     #2C2C2C;
  --gray:         #6B7280;
  --gray-light:   #E5E7EB;
  --warn:         #D97706;
  --shadow-sm:    0 2px 8px rgba(27,77,46,.10);
  --shadow-md:    0 6px 24px rgba(27,77,46,.13);
  --shadow-lg:    0 16px 48px rgba(27,77,46,.18);
  --radius:       12px;
  --radius-sm:    8px;
  --transition:   0.25s ease;
  --font-display: 'Merriweather', Georgia, serif;
  --font-body:    'Source Sans 3', system-ui, sans-serif;
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--charcoal);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- NAVBAR ---- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(27,77,46,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--gold);
  transition: background var(--transition);
}
.navbar.scrolled {
  background: rgba(27,77,46,1);
  box-shadow: var(--shadow-md);
}
.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-seal {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 50%;
  background: var(--cream);
  padding: 2px;
}
.nav-title-main {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: .02em;
}
.nav-title-sub {
  display: block;
  font-size: .72rem;
  color: var(--gold-light);
  letter-spacing: .03em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-size: .9rem;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--gold-light); }
.btn-nav-login {
  background: var(--gold) !important;
  color: var(--green-deep) !important;
  padding: 8px 20px;
  border-radius: 6px;
  font-weight: 700 !important;
  font-size: .875rem !important;
  transition: background var(--transition), transform var(--transition) !important;
}
.btn-nav-login:hover {
  background: var(--gold-light) !important;
  transform: translateY(-1px);
}
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0;
  background: var(--green-deep);
  border-top: 1px solid rgba(255,255,255,.12);
}
.nav-mobile a {
  padding: 14px 24px;
  color: rgba(255,255,255,.85);
  font-size: .95rem;
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: background var(--transition);
}
.nav-mobile a:hover { background: var(--green-mid); }
.nav-mobile .btn-nav-login {
  background: var(--gold) !important;
  color: var(--green-deep) !important;
  margin: 12px 24px;
  border-radius: 6px;
  text-align: center;
}
.nav-mobile.open { display: flex; }

/* ---- BUTTONS ---- */
.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--green-deep);
  font-weight: 700;
  font-size: .95rem;
  padding: 13px 28px;
  border-radius: 8px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(200,151,42,.35);
}
.btn-ghost {
  display: inline-block;
  color: var(--white);
  font-weight: 600;
  font-size: .95rem;
  padding: 13px 28px;
  border-radius: 8px;
  border: 2px solid rgba(255,255,255,.4);
  transition: border-color var(--transition), background var(--transition);
}
.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255,255,255,.1);
}
.btn-outline {
  display: inline-block;
  color: var(--green-deep);
  font-weight: 700;
  font-size: .95rem;
  padding: 12px 26px;
  border-radius: 8px;
  border: 2px solid var(--green-deep);
  transition: all var(--transition);
}
.btn-outline:hover {
  background: var(--green-deep);
  color: var(--white);
}

/* ---- SECTION BASE ---- */
.section {
  padding: 96px 0;
}
.section-eyebrow, .eyebrow-light {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: 10px;
}
.eyebrow-light { color: var(--gold-light); }
.section-heading {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 900;
  line-height: 1.25;
  color: var(--green-deep);
  margin-bottom: 12px;
}
.sh-light { color: var(--white); }
.section-sub {
  color: var(--gray);
  font-size: 1rem;
  margin-bottom: 48px;
}

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 24px 60px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0D2B19 0%, #1B4D2E 50%, #246B3F 100%);
}
.hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(200,151,42,.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(58,143,88,.15) 0%, transparent 50%),
    repeating-linear-gradient(
      60deg,
      transparent,
      transparent 60px,
      rgba(255,255,255,.015) 60px,
      rgba(255,255,255,.015) 61px
    );
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-light);
  background: rgba(200,151,42,.12);
  border: 1px solid rgba(200,151,42,.25);
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 24px;
}
.badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.3); }
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  letter-spacing: -.02em;
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
}
.hero-title-line {
  display: block;
  height: 5px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 3px;
  margin: 12px auto 0;
  width: 60%;
}
.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  font-weight: 600;
  color: var(--gold-light);
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,.78);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.75;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-stats {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 28px 40px;
  margin: 60px auto 0;
  max-width: 680px;
  backdrop-filter: blur(8px);
}
.stat-card {
  flex: 1;
  text-align: center;
}
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--gold);
}
.stat-label {
  font-size: .78rem;
  color: rgba(255,255,255,.65);
  letter-spacing: .04em;
  text-transform: uppercase;
  font-weight: 600;
}
.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,.15);
  margin: 0 24px;
}
.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.4);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  z-index: 1;
  animation: fadeInUp 1s ease 1.5s both;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, rgba(255,255,255,.4), transparent);
  animation: scrollAnim 2s ease-in-out infinite;
}
@keyframes scrollAnim {
  0%,100% { transform: scaleY(1); opacity: .6; }
  50% { transform: scaleY(.6); opacity: .2; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateX(-50%) translateY(16px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ---- ABOUT ---- */
.section-about {
  background: var(--white);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.about-text p {
  color: var(--gray);
  margin-bottom: 16px;
  font-size: 1rem;
}
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}
.feature-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  border-radius: var(--radius-sm);
  background: var(--green-pale);
  transition: transform var(--transition), box-shadow var(--transition);
}
.feature-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.feature-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 2px; }
.feature-item strong { display: block; font-size: .9rem; color: var(--green-deep); margin-bottom: 4px; }
.feature-item p { font-size: .82rem; color: var(--gray); margin: 0; }

/* About visual */
.about-visual { position: relative; }
.about-card-stack { position: relative; }
.about-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 24px;
  border: 1px solid var(--gray-light);
}
.ac-top { margin-bottom: 16px; }
.ac-bottom { margin-left: 24px; }
.ac-label {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--gray);
  margin-bottom: 16px;
}
.ac-bars { display: flex; flex-direction: column; gap: 12px; }
.ac-bar-row {
  display: grid;
  grid-template-columns: 80px 1fr 36px;
  align-items: center;
  gap: 10px;
  font-size: .8rem;
  color: var(--charcoal);
}
.ac-bar {
  height: 8px;
  background: var(--gray-light);
  border-radius: 4px;
  overflow: hidden;
}
.ac-fill {
  height: 100%;
  background: var(--green-light);
  border-radius: 4px;
  transition: width .8s ease;
}
.ac-fill-warn { background: var(--warn); }
.ac-list { display: flex; flex-direction: column; gap: 10px; }
.ac-list-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .84rem;
  color: var(--charcoal);
}
.ac-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green-light);
  flex-shrink: 0;
}
.ac-dot-gold { background: var(--gold); }

/* ---- MISSION & VISION ---- */
.section-mv {
  background: var(--green-deep);
  position: relative;
  overflow: hidden;
}
.mv-bg-stripe {
  position: absolute;
  top: -80px; right: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(200,151,42,.12) 0%, transparent 70%);
  pointer-events: none;
}
.section-mv .section-heading { margin-bottom: 48px; }
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.mv-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 40px;
  transition: background var(--transition);
}
.mv-card:hover { background: rgba(255,255,255,.09); }
.mv-icon { font-size: 2.5rem; margin-bottom: 16px; }
.mv-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--gold);
  margin-bottom: 20px;
}
.mv-list { display: flex; flex-direction: column; gap: 14px; }
.mv-list li {
  color: rgba(255,255,255,.8);
  font-size: .95rem;
  padding-left: 20px;
  position: relative;
  line-height: 1.6;
}
.mv-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px; height: 2px;
  background: var(--gold);
}
.mv-vision-text {
  color: rgba(255,255,255,.8);
  font-size: 1rem;
  line-height: 1.75;
  font-style: italic;
}

/* ---- ORG CHART ---- */
.section-org {
  background: var(--cream);
}
.section-org .section-heading { margin-bottom: 8px; }

.org-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin-top: 48px;
}

.org-top-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  width: 100%;
}
.org-external-box {
  background: var(--white);
  border: 2px dashed var(--gray-light);
  border-radius: var(--radius-sm);
  padding: 12px 20px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--gray);
  text-align: center;
  min-width: 140px;
}
.org-top-center { display: flex; justify-content: center; }
.org-node {
  background: var(--white);
  border: 2px solid var(--green-pale);
  border-radius: var(--radius);
  padding: 20px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
  min-width: 200px;
}
.org-node:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.org-node-governor, .org-node-pa {
  border-color: var(--green-light);
  border-width: 2px;
}
.org-node-pa {
  border-color: var(--gold);
  background: linear-gradient(135deg, #fffdf5, #fff);
}
.org-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  font-weight: 700;
  margin: 0 auto 10px;
  overflow: hidden;
}
.org-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.org-avatar-gov {
  background: var(--green-pale);
  color: var(--green-deep);
}
.org-avatar-pa {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--green-deep);
}
.org-node-title {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gray);
  margin-bottom: 4px;
}
.org-node-name {
  font-size: .92rem;
  font-weight: 700;
  color: var(--green-deep);
}

.org-connector {
  width: 2px;
  height: 32px;
  background: var(--green-light);
  margin: 0 auto;
}

.org-center-row { display: flex; justify-content: center; }

.org-side-badges {
  display: flex;
  gap: 10px;
  margin: 12px 0;
  flex-wrap: wrap;
  justify-content: center;
}
.org-badge {
  font-size: .75rem;
  font-weight: 700;
  background: var(--green-pale);
  color: var(--green-deep);
  border: 1px solid var(--green-light);
  border-radius: 20px;
  padding: 4px 14px;
}

.org-divisions-label {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--gray);
  margin: 8px 0;
}

.org-divisions-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  margin-top: 8px;
}
.org-division-card {
  background: var(--white);
  border: 2px solid var(--green-pale);
  border-top: 4px solid var(--green-light);
  border-radius: var(--radius-sm);
  padding: 20px 16px;
  text-align: center;
  flex: 1;
  min-width: 160px;
  max-width: 210px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.org-division-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.org-div-icon { font-size: 1.8rem; margin-bottom: 8px; }
.org-div-name {
  font-size: .78rem;
  font-weight: 700;
  color: var(--green-deep);
  line-height: 1.4;
  margin-bottom: 10px;
}
.org-div-head {
  font-size: .78rem;
  font-weight: 700;
  color: var(--charcoal);
}
.org-div-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 8px;
}
.org-div-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.org-div-head.vacant {
  color: var(--gray);
  font-style: italic;
  font-weight: 400;
}
.org-div-head-title {
  font-size: .7rem;
  color: var(--gray);
}

.org-personnel-section {
  width: 100%;
  margin-top: 40px;
}
.org-personnel-heading {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--green-deep);
  text-align: center;
  margin-bottom: 20px;
}
.org-personnel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
}
.org-person-card {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 16px 12px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-light);
  transition: box-shadow var(--transition);
}
.org-person-card:hover { box-shadow: var(--shadow-md); }
.org-pa-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--green-pale);
  color: var(--green-deep);
  font-size: .78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px;
  overflow: hidden;
}
.org-pa-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.org-person-name {
  font-size: .78rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 4px;
}
.org-person-role {
  font-size: .7rem;
  color: var(--gray);
}

/* ---- CONTACT ---- */
.section-contact {
  background: var(--white);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  margin-top: 48px;
}
.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
  align-items: flex-start;
}
.contact-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-item strong {
  display: block;
  font-size: .88rem;
  color: var(--green-deep);
  font-weight: 700;
  margin-bottom: 4px;
}
.contact-item p {
  font-size: .9rem;
  color: var(--gray);
  margin: 0;
}
.contact-system-card {
  background: var(--charcoal);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.csc-header {
  background: rgba(255,255,255,.08);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.csc-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
}
.csc-dot.green  { background: #3FB950; }
.csc-dot.yellow { background: #D29922; }
.csc-dot.red    { background: #F85149; }
.csc-title {
  margin-left: 8px;
  font-size: .78rem;
  color: rgba(255,255,255,.5);
  font-family: monospace;
}
.csc-body {
  padding: 28px 24px;
}
.csc-body p {
  color: rgba(255,255,255,.7);
  font-size: .9rem;
  margin-bottom: 12px;
}
.csc-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.csc-actions .btn-primary { font-size: .9rem; padding: 11px 24px; }
.csc-actions .btn-outline {
  color: var(--white);
  border-color: rgba(255,255,255,.35);
  font-size: .9rem;
  padding: 10px 22px;
}
.csc-actions .btn-outline:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--white);
  color: var(--white);
}

/* ---- FOOTER ---- */
.footer {
  background: var(--green-deep);
  border-top: 3px solid var(--gold);
  padding: 32px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--white);
  display: block;
}
.footer-tagline {
  font-size: .78rem;
  color: var(--gold-light);
  display: block;
  margin-top: 2px;
}
.footer-meta p {
  font-size: .78rem;
  color: rgba(255,255,255,.5);
  text-align: right;
  line-height: 1.7;
}

/* ---- FADE IN ANIMATIONS ---- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* ---- GET STARTED — ROLE CHOICE MODAL ---- */
.role-modal-overlay {
  display: none;
  position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 999;
  background: rgba(27, 77, 46, 0.55);
  align-items: center; justify-content: center;
  padding: 20px;
  -webkit-overflow-scrolling: touch;
}
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .role-modal-overlay { backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); }
}
.role-modal-overlay.open { display: flex; }
.role-modal {
  position: relative;
  background: #fff;
  width: 100%; max-width: 420px;
  max-height: 90vh; overflow-y: auto;
  border-radius: 16px;
  padding: 32px 28px 26px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  animation: roleModalIn .25s ease;
}
@keyframes roleModalIn {
  from { opacity: 0; transform: translateY(12px) scale(.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.role-modal-close {
  position: absolute; top: 14px; right: 14px;
  width: 30px; height: 30px; border-radius: 50%;
  border: none; background: var(--gray-light);
  color: var(--gray); font-size: .9rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition, .2s ease);
}
.role-modal-close:hover { background: var(--green-pale); color: var(--green-deep); }
.role-modal-title {
  font-family: 'Merriweather', serif;
  font-size: 1.35rem; color: var(--green-deep); margin: 0 0 4px;
}
.role-modal-sub { font-size: .9rem; color: var(--gray); margin: 0 0 20px; }
.role-modal-options { display: flex; flex-direction: column; gap: 12px; }
.role-option {
  display: flex; align-items: center; gap: 14px;
  border: 1.5px solid var(--gray-light);
  border-radius: 12px; padding: 14px 16px;
  text-decoration: none; color: inherit;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.role-option:hover {
  border-color: var(--green-mid);
  background: var(--green-pale);
  transform: translateY(-1px);
}
.role-option-icon { font-size: 1.6rem; line-height: 1; flex-shrink: 0; }
.role-option-text { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.role-option-text strong { font-size: .95rem; color: var(--green-deep); }
.role-option-text small { font-size: .78rem; color: var(--gray); }
.role-option-arrow { color: var(--gray); font-size: 1rem; transition: transform .2s ease; }
.role-option:hover .role-option-arrow { transform: translateX(3px); color: var(--green-mid); }
.role-modal-footnote {
  margin: 18px 0 0; text-align: center;
  font-size: .82rem; color: var(--gray);
}
.role-modal-footnote a { color: var(--green-mid); font-weight: 600; text-decoration: none; }
.role-modal-footnote a:hover { text-decoration: underline; }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-visual { display: none; }
  .mv-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-stats { flex-wrap: wrap; gap: 16px; padding: 20px 24px; }
  .stat-divider { display: none; }
}
@media (max-width: 700px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .about-features { grid-template-columns: 1fr; }
  .org-top-row { flex-direction: column; gap: 24px; }
  .section { padding: 64px 0; }
  .footer-meta p { text-align: left; }
}
@media (max-width: 420px) {
  .container { padding: 0 16px; }
  .nav-inner { padding: 0 16px; }
  .hero { padding: 100px 16px 48px; }
  .hero-stats { padding: 20px 18px; }
  .org-node { min-width: 0; width: 100%; padding: 18px 16px; }
  .org-external-box { min-width: 0; }
  .org-divisions-row { gap: 12px; }
  .org-division-card { min-width: 0; flex: 1 1 130px; }
}
