/* =========================================================
   ECON CMU · Green Office — design system v3
   Playful-editorial: big type, colour blocks, marquee,
   nature photography with live data, count-up numbers.
   ========================================================= */
:root {
  --forest: #0f2a1d;
  --forest-2: #173d2a;
  --moss: #2c6b45;
  --leaf: #41ab5d;
  --leaf-dark: #2e8a47;
  --lime: #d4f36b;
  --cream: #f6f1e6;
  --paper: #fbf8f1;
  --ink: #11201a;
  --muted: #5f6e64;
  --sun: #ffd45c;
  --sky: #b5def3;
  --clay: #f5b08f;
  --mint: #c9edd2;
  --lilac: #dcd2f6;
  --line: rgba(17, 32, 26, .12);
  --line-light: rgba(255, 255, 255, .16);
  --radius: 28px;
  --radius-sm: 16px;
  --shadow: 0 24px 60px -28px rgba(15, 42, 29, .45);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --font: 'Anuphan', 'Sarabun', system-ui, sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --nav-h: 88px;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--paper); color: var(--ink); font-size: 1.02rem; line-height: 1.75; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.page-sub { padding-top: var(--nav-h); }
h1, h2, h3, h4, h5, h6 { font-family: var(--font); font-weight: 600; letter-spacing: -.015em; line-height: 1.2; }
a { color: var(--moss); text-decoration: none; transition: color .2s; }
a:hover { color: var(--leaf); }
img { max-width: 100%; }
::selection { background: var(--lime); color: var(--forest); }
.serif { font-family: var(--serif); font-weight: 400; font-style: italic; letter-spacing: 0; }
.text-lime { color: var(--lime) !important; }
.text-leaf { color: var(--leaf-dark) !important; }
.text-muted-2 { color: var(--muted) !important; }
.nowrap { white-space: nowrap; }

.container-wide { width: 100%; max-width: 1380px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 992px) { .container-wide { padding: 0 44px; } }
.section { padding: 120px 0; }
.section-sm { padding: 72px 0; }
@media (max-width: 767px) { .section { padding: 76px 0; } .section-sm { padding: 48px 0; } }
.bg-cream { background: var(--cream); }
.bg-forest { background: var(--forest); color: #e7eee8; }
.bg-forest h2, .bg-forest h3 { color: #fff; }

.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 600; color: var(--leaf-dark); }
.kicker::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--leaf); box-shadow: 0 0 0 4px rgba(65,171,93,.18); }
.bg-forest .kicker, .kicker.on-dark { color: var(--lime); }
.bg-forest .kicker::before, .kicker.on-dark::before { background: var(--lime); box-shadow: 0 0 0 4px rgba(212,243,107,.2); }

.display-xl { font-size: clamp(2.8rem, 7.4vw, 7rem); line-height: 1.02; font-weight: 700; letter-spacing: -.035em; }
.display-lg { font-size: clamp(2.1rem, 4.8vw, 4.2rem); line-height: 1.08; font-weight: 700; letter-spacing: -.03em; }
.display-md { font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.2; font-weight: 600; }
.lead-xl { font-size: clamp(1.08rem, 1.5vw, 1.3rem); line-height: 1.75; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn-pill { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: .96rem; border: 1.5px solid transparent; transition: transform .35s var(--spring), background .25s, color .25s, box-shadow .3s; line-height: 1.2; }
.btn-pill:hover { transform: translateY(-3px); }
.btn-pill .arrow { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; transition: transform .35s var(--ease); }
.btn-pill:hover .arrow { transform: rotate(-45deg); }
.btn-lime { background: var(--lime); color: var(--forest); }
.btn-lime .arrow { background: var(--forest); color: var(--lime); }
.btn-lime:hover { color: var(--forest); box-shadow: 0 14px 30px -12px rgba(160, 200, 60, .7); }
.btn-forest { background: var(--forest); color: #fff; }
.btn-forest .arrow { background: var(--lime); color: var(--forest); }
.btn-forest:hover { background: var(--forest-2); color: #fff; box-shadow: 0 14px 30px -14px rgba(15,42,29,.7); }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn-ghost-dark { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost-dark:hover { background: var(--ink); color: #fff; }

.btn-success { background: var(--leaf); border-color: var(--leaf); border-radius: 999px; padding-left: 1.2rem; padding-right: 1.2rem; }
.btn-success:hover, .btn-success:focus { background: var(--leaf-dark); border-color: var(--leaf-dark); }
.btn-outline-success { color: var(--leaf-dark); border-color: var(--leaf); border-radius: 999px; }
.btn-outline-success:hover { background: var(--leaf); border-color: var(--leaf); color: #fff; }
.text-success { color: var(--leaf-dark) !important; }
.form-control, .form-select { border-radius: 14px; border-color: var(--line); padding: .7rem 1rem; }
.form-control:focus, .form-select:focus { border-color: var(--leaf); box-shadow: 0 0 0 .22rem rgba(65,171,93,.18); }

/* ---------- Preloader (นับ % แบบ Palmo — แสดงครั้งแรกต่อ session) ---------- */
.preloader-go { position: fixed; inset: 0; z-index: 3000; background: var(--forest); color: var(--lime); display: flex; flex-direction: column; justify-content: space-between; padding: 32px 36px; transition: transform .9s cubic-bezier(.76, 0, .24, 1); }
.preloader-go .pl-top { display: flex; justify-content: space-between; font-size: .9rem; color: rgba(255,255,255,.6); }
.preloader-go .pl-num { font-size: clamp(5rem, 18vw, 15rem); font-weight: 700; line-height: .85; letter-spacing: -.05em; }
.preloader-go .pl-bar { height: 3px; background: rgba(255,255,255,.12); border-radius: 3px; overflow: hidden; }
.preloader-go .pl-bar i { display: block; height: 100%; width: 0; background: var(--lime); }
.preloader-go.done { transform: translateY(-100%); }
.no-preload .preloader-go { display: none; }

/* ---------- Navbar ---------- */
.site-nav { position: fixed; inset: 0 0 auto 0; z-index: 1030; padding: 16px 0; transition: padding .35s var(--ease), transform .45s var(--ease); }
.site-nav.scrolled { padding: 8px 0; }
.site-nav.hide { transform: translateY(-110%); }
.site-nav .nav-shell { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: rgba(251, 248, 241, .86); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); border: 1px solid rgba(17,32,26,.07); border-radius: 999px; padding: 8px 10px 8px 22px; box-shadow: 0 12px 34px -22px rgba(15, 42, 29, .55); }
.site-nav .brand img { height: 42px; width: auto; display: block; }
.site-nav .menu { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.site-nav .menu > li > a, .site-nav .menu > li > button { display: inline-flex; align-items: center; gap: 6px; padding: 9px 15px; border-radius: 999px; font-size: .93rem; font-weight: 500; color: var(--ink); background: none; border: 0; transition: background .2s, color .2s; }
.site-nav .menu > li > a:hover, .site-nav .menu > li > button:hover, .site-nav .menu > li > button[aria-expanded="true"] { background: rgba(15, 42, 29, .07); }
.site-nav .menu > li > a.active, .site-nav .menu > li > button.active { background: var(--forest); color: #fff; }
.site-nav .menu .bi-chevron-down { font-size: .7rem; transition: transform .25s; }
.site-nav .menu button[aria-expanded="true"] .bi-chevron-down { transform: rotate(180deg); }
.site-nav .dropdown-menu { border: 1px solid var(--line); border-radius: 22px; padding: 12px; margin-top: 14px !important; box-shadow: 0 30px 70px -26px rgba(15, 42, 29, .45); min-width: 300px; background: #fff; }
.site-nav .dropdown-menu.mega { min-width: 620px; display: none; grid-template-columns: 1fr 1fr; gap: 4px 8px; }
.site-nav .dropdown-menu.mega.show { display: grid; }
.site-nav .dropdown-item { border-radius: 12px; padding: 9px 14px; font-size: .92rem; white-space: normal; display: flex; gap: 12px; align-items: flex-start; }
.site-nav .dropdown-item .di { flex: 0 0 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--cream); color: var(--moss); font-size: 1rem; }
.site-nav .dropdown-item:hover { background: var(--cream); color: var(--forest); }
.site-nav .dropdown-item:hover .di { background: var(--lime); color: var(--forest); }
.site-nav .dropdown-item small { display: block; color: var(--muted); font-size: .78rem; line-height: 1.4; }
.site-nav .dropdown-header { font-size: .8rem; font-weight: 600; color: var(--leaf-dark); grid-column: 1 / -1; }
.site-nav .nav-cta { margin-left: 4px; padding: 10px 18px; font-size: .88rem; }
.nav-toggle { display: none; height: 46px; padding: 0 18px; border-radius: 999px; border: 0; background: var(--forest); color: #fff; font-weight: 600; font-size: .85rem; letter-spacing: .08em; align-items: center; gap: 8px; }
@media (max-width: 1199px) { .site-nav .menu, .site-nav .nav-cta { display: none; } .nav-toggle { display: inline-flex; } }

/* Full-screen menu */
.mobile-menu { background: var(--forest); color: #fff; }
.mobile-menu .offcanvas-header { padding: 22px 24px; }
.mobile-menu .btn-close { filter: invert(1); opacity: .8; }
.mobile-menu .m-link { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; font-size: 1.55rem; font-weight: 600; color: #fff; border-bottom: 1px solid var(--line-light); letter-spacing: -.01em; }
.mobile-menu .m-link i { font-size: 1rem; color: var(--lime); }
.mobile-menu .m-group { font-size: .82rem; font-weight: 600; color: var(--lime); margin: 26px 0 6px; }
.mobile-menu .m-sub { display: block; padding: 6px 0; color: rgba(255,255,255,.78); }
.mobile-menu .m-sub:hover, .mobile-menu .m-link:hover { color: var(--lime); }

/* ---------- HERO ---------- */
.hero2 { padding: calc(var(--nav-h) + 56px) 0 0; position: relative; overflow: hidden; }
.hero2 .blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; z-index: -1; }
.hero2 .blob.b1 { width: 520px; height: 520px; background: var(--lime); top: -180px; right: -120px; }
.hero2 .blob.b2 { width: 420px; height: 420px; background: var(--mint); top: 180px; left: -200px; }
.hero-title { font-size: clamp(2.8rem, 8.4vw, 8.2rem); line-height: 1.02; font-weight: 700; letter-spacing: -.04em; margin: 22px 0 0; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .line > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); }
.is-ready .hero-title .line > span { transform: none; }
.is-ready .hero-title .line:nth-child(2) > span { transition-delay: .1s; }
.is-ready .hero-title .line:nth-child(3) > span { transition-delay: .2s; }
.hero-title .serif { font-weight: 400; color: var(--leaf-dark); letter-spacing: -.02em; }
.hero-title .line-end { text-align: right; }
@media (max-width: 767px) { .hero-title .line-end { text-align: left; } }
.pill-img { display: inline-block; width: 1.75em; height: .78em; border-radius: 999px; background-size: cover; background-position: center; vertical-align: .02em; margin: 0 .08em; box-shadow: inset 0 0 0 3px rgba(255,255,255,.4); }
.pill-leaf { display: inline-grid; place-items: center; width: .82em; height: .82em; border-radius: 50%; background: var(--lime); color: var(--forest); font-size: .9em; vertical-align: .02em; }
.pill-leaf i { font-size: .5em; }
.hero-side { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 28px; margin-top: 34px; }
.hero-side .checks { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 8px 18px; font-weight: 500; }
.hero-side .checks li { display: inline-flex; align-items: center; gap: 8px; }
.hero-side .checks i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--forest); color: var(--lime); font-size: .7rem; }
.hero-side p { max-width: 520px; margin: 0; color: var(--muted); }

.hero-photo { position: relative; margin-top: 96px; border-radius: 36px; overflow: hidden; height: clamp(380px, 62vh, 640px); isolation: isolate; }
.hero-photo img { position: absolute; inset: -12% 0 0 0; width: 100%; height: 124%; object-fit: cover; will-change: transform; }
.hero-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,24,15,.55) 0%, rgba(8,24,15,0) 45%); z-index: 0; }
.hero-photo .ph-cap { position: absolute; left: 28px; bottom: 24px; z-index: 2; color: #fff; display: flex; align-items: center; gap: 10px; font-size: .9rem; }
.hero-photo .ph-cap b { font-weight: 600; }
.badge-round { position: absolute; right: 34px; top: 30px; z-index: 3; width: 128px; height: 128px; border-radius: 50%; background: var(--lime); color: var(--forest); display: grid; place-items: center; }
.badge-round svg { position: absolute; inset: 0; animation: spin 18s linear infinite; }
.badge-round b { font-size: 1.9rem; line-height: 1; text-align: center; }
.badge-round b small { display: block; font-size: .7rem; font-weight: 600; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 767px) { .badge-round { width: 96px; height: 96px; right: 16px; top: -40px; } .badge-round b { font-size: 1.4rem; } }
.hero-wrap { position: relative; }

.data-chip { position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px; border-radius: 18px; background: rgba(10, 30, 20, .55); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: #fff; font-size: .8rem; line-height: 1.35; opacity: 0; transform: translateY(14px) scale(.96); transition: opacity .8s var(--ease), transform .8s var(--spring); }
.is-ready .data-chip { opacity: 1; transform: none; }
.data-chip .ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--lime); color: var(--forest); font-size: 1.1rem; }
.data-chip b { display: block; font-size: 1.1rem; font-weight: 600; }
.data-chip .live { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); margin-right: 6px; animation: pulse 2s infinite; }
.chip-1 { top: 14%; left: 5%; transition-delay: .6s !important; }
.chip-2 { top: 34%; right: 6%; transition-delay: .8s !important; }
.chip-3 { bottom: 16%; right: 22%; transition-delay: 1s !important; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(212,243,107,.7); } 70% { box-shadow: 0 0 0 9px rgba(212,243,107,0); } 100% { box-shadow: 0 0 0 0 rgba(212,243,107,0); } }
@media (max-width: 767px) { .chip-1 { top: 8%; left: 4%; } .chip-2 { top: auto; bottom: 18%; right: 4%; } .chip-3 { display: none; } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; background: var(--lime); color: var(--forest); padding: 22px 0; transform: rotate(-2deg); margin: 90px -20px 40px; border-top: 2px solid var(--forest); border-bottom: 2px solid var(--forest); position: relative; z-index: 2; }
.marquee.alt { background: var(--forest); color: var(--lime); transform: rotate(1.5deg); margin-top: -70px; z-index: 1; border-color: var(--forest); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee.alt .marquee-track { animation-direction: reverse; animation-duration: 46s; }
.marquee-track span { font-size: clamp(1.4rem, 3vw, 2.4rem); font-weight: 700; letter-spacing: -.02em; padding: 0 22px; white-space: nowrap; display: inline-flex; align-items: center; gap: 44px; }
.marquee-track span::after { content: '✺'; font-size: .8em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Principles (เริ่มต้นสำนักงานสีเขียว) ---------- */
.principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1199px) { .principles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .principles { grid-template-columns: 1fr; } }
.pr-card { border-radius: var(--radius); padding: 30px 26px 28px; min-height: 300px; display: flex; flex-direction: column; justify-content: space-between; transition: transform .5s var(--spring); position: relative; overflow: hidden; }
.pr-card:hover { transform: translateY(-8px) rotate(-1deg); }
.pr-card .pr-n { font-family: var(--serif); font-style: italic; font-size: 1.4rem; opacity: .7; }
.pr-card .pr-ic { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; font-size: 1.7rem; background: rgba(255,255,255,.55); margin: 16px 0 26px; }
.pr-card h3 { font-size: 1.3rem; margin: 0 0 8px; }
.pr-card p { margin: 0; font-size: .93rem; opacity: .8; line-height: 1.65; }
.c-mint { background: var(--mint); } .c-sun { background: var(--sun); } .c-sky { background: var(--sky); } .c-clay { background: var(--clay); } .c-lilac { background: var(--lilac); } .c-lime { background: var(--lime); }
.c-forest { background: var(--forest); color: #fff; } .c-forest .pr-ic { background: rgba(255,255,255,.1); color: var(--lime); }

/* ---------- Stats bento ---------- */
.stats-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 22px; margin-bottom: 44px; }
.year-switch { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid var(--line-light); }
.year-switch button { border: 0; background: none; color: rgba(255,255,255,.75); padding: 8px 16px; border-radius: 999px; font-size: .88rem; font-weight: 500; }
.year-switch button.active { background: var(--lime); color: var(--forest); }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(210px, auto); gap: 14px; }
.bento .b-big { grid-column: span 2; grid-row: span 2; }
.bento .b-wide { grid-column: span 2; }
@media (max-width: 991px) { .bento { grid-template-columns: repeat(2, 1fr); } .bento .b-big { grid-row: span 1; } }
@media (max-width: 575px) { .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: minmax(170px, auto); } .bento .b-big, .bento .b-wide { grid-column: span 2; } }
.stat-tile { border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; justify-content: space-between; color: var(--ink); position: relative; overflow: hidden; transition: transform .5s var(--spring); }
.stat-tile:hover { transform: translateY(-6px); color: var(--ink); }
.stat-tile .st-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.stat-tile .st-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(255,255,255,.6); font-size: 1.25rem; }
.stat-tile .st-go { width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid currentColor; display: grid; place-items: center; font-size: .85rem; opacity: .55; transition: all .35s var(--ease); }
.stat-tile:hover .st-go { opacity: 1; transform: rotate(-45deg); }
.stat-tile .st-val { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 700; letter-spacing: -.04em; line-height: 1; margin-top: 22px; }
.stat-tile .st-unit { font-size: .95rem; font-weight: 500; opacity: .6; margin-left: 6px; letter-spacing: 0; }
.stat-tile .st-lbl { margin-top: 8px; font-weight: 500; }
.stat-tile .st-trend { margin-top: 10px; font-size: .82rem; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.55); width: fit-content; }
.stat-tile.b-big { background: var(--lime); }
.stat-tile.b-big .st-val { font-size: clamp(3rem, 7vw, 6.4rem); }
.stat-tile.b-big .st-desc { max-width: 380px; font-size: .95rem; opacity: .75; margin-top: 10px; }
.stat-tile.b-big .ring { position: absolute; right: -80px; bottom: -80px; width: 300px; height: 300px; border-radius: 50%; border: 44px solid rgba(15,42,29,.06); }
.stats-note { margin-top: 20px; font-size: .84rem; color: rgba(255,255,255,.55); }

/* ---------- Criteria cards ---------- */
.crit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 991px) { .crit-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .crit-grid { grid-template-columns: 1fr; } }
.crit { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 290px; padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); color: var(--ink); overflow: hidden; transition: transform .5s var(--spring), box-shadow .4s, background .4s; }
.crit:hover { transform: translateY(-8px); box-shadow: var(--shadow); color: var(--ink); }
.crit .cr-num { font-size: 5.4rem; font-weight: 700; line-height: .8; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1.5px rgba(17,32,26,.25); transition: color .4s, -webkit-text-stroke .4s; }
.crit:hover .cr-num { color: var(--forest); -webkit-text-stroke: 1.5px var(--forest); }
.crit .cr-ic { position: absolute; top: 24px; right: 24px; width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; font-size: 1.5rem; transition: transform .5s var(--spring); }
.crit:hover .cr-ic { transform: rotate(-12deg) scale(1.08); }
.crit h3 { font-size: 1.22rem; margin: 24px 0 6px; line-height: 1.4; }
.crit p { font-size: .9rem; color: var(--muted); margin: 0; line-height: 1.6; }
.crit .cr-more { margin-top: 18px; font-weight: 600; font-size: .9rem; display: inline-flex; gap: 8px; align-items: center; color: var(--moss); }

/* ---------- Bins (ถังสีไหน) ---------- */
.bins { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 991px) { .bins { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .bins { grid-template-columns: 1fr; } }
.bin { border-radius: var(--radius); padding: 26px 24px 24px; color: #fff; position: relative; overflow: hidden; min-height: 330px; display: flex; flex-direction: column; transition: transform .5s var(--spring); }
.bin:hover { transform: translateY(-8px); }
.bin .bin-ic { width: 70px; height: 84px; position: relative; margin-bottom: 22px; }
.bin .bin-ic .lid { position: absolute; top: 0; left: -4px; right: -4px; height: 12px; border-radius: 6px; background: rgba(255,255,255,.95); transition: transform .5s var(--spring); transform-origin: 10% 100%; }
.bin:hover .bin-ic .lid { transform: rotate(-24deg) translateY(-4px); }
.bin .bin-ic .body { position: absolute; top: 16px; left: 4px; right: 4px; bottom: 0; border-radius: 6px 6px 14px 14px; background: rgba(255,255,255,.25); border: 3px solid rgba(255,255,255,.95); display: grid; place-items: center; font-size: 1.4rem; }
.bin h3 { color: inherit; font-size: 1.3rem; margin: 0 0 4px; }
.bin .bin-type { font-size: .85rem; opacity: .85; font-weight: 500; }
.bin ul { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.bin li { font-size: .82rem; padding: 4px 11px; border-radius: 999px; background: rgba(255,255,255,.2); }
.bin-green { background: #2f8f4e; } .bin-yellow { background: #f2b705; color: #2b2100; } .bin-yellow .bin-ic .body, .bin-yellow .bin-ic .lid { border-color: #2b2100; } .bin-yellow .bin-ic .lid { background: #2b2100; } .bin-yellow li { background: rgba(43,33,0,.12); }
.bin-blue { background: #2c6fb7; } .bin-red { background: #c8372d; }

/* ---------- Policy ---------- */
.policy-wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 50px; align-items: center; }
@media (max-width: 991px) { .policy-wrap { grid-template-columns: 1fr; } }
.poster-stack { position: relative; height: 560px; }
.poster-stack a { position: absolute; width: 58%; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); transition: transform .6s var(--spring), z-index 0s .2s; background: #fff; }
.poster-stack a img { display: block; width: 100%; }
.poster-stack a:nth-child(1) { left: 0; top: 30px; transform: rotate(-6deg); z-index: 1; }
.poster-stack a:nth-child(2) { right: 0; top: 0; transform: rotate(5deg); z-index: 2; }
.poster-stack a:hover { transform: rotate(0) scale(1.04); z-index: 3; transition: transform .6s var(--spring), z-index 0s; }
.poster-stack .tagp { position: absolute; left: 14px; bottom: 14px; padding: 6px 12px; border-radius: 999px; background: var(--forest); color: var(--lime); font-size: .8rem; font-weight: 600; }
@media (max-width: 575px) { .poster-stack { height: 380px; } }
.goal-list { list-style: none; padding: 0; margin: 28px 0 32px; border-top: 1px solid var(--line); }
.goal-list li { display: grid; grid-template-columns: 54px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: center; }
.goal-list .gi { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--cream); color: var(--moss); font-size: 1.2rem; }
.goal-list b { display: block; font-weight: 600; }
.goal-list span { color: var(--muted); font-size: .9rem; }

/* ---------- Resource / learn cards ---------- */
.res-card { display: flex; flex-direction: column; justify-content: space-between; height: 100%; min-height: 260px; padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); color: var(--ink); transition: transform .5s var(--spring), box-shadow .4s; }
.res-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); color: var(--ink); }
.res-card .r-icon { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; font-size: 1.5rem; background: var(--cream); color: var(--moss); transition: all .4s var(--ease); }
.res-card:hover .r-icon { background: var(--lime); color: var(--forest); transform: rotate(-8deg); }
.res-card h3 { font-size: 1.2rem; margin: 24px 0 8px; }
.res-card p { color: var(--muted); font-size: .92rem; margin: 0; }
.res-card .r-more { margin-top: 20px; font-weight: 600; font-size: .9rem; color: var(--moss); display: inline-flex; gap: 8px; align-items: center; }

/* ---------- News (horizontal scroller) ---------- */
.h-scroll { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 30%); gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 18px; scrollbar-width: thin; scrollbar-color: var(--leaf) transparent; cursor: grab; }
.h-scroll > * { scroll-snap-align: start; }
@media (max-width: 767px) { .h-scroll { grid-auto-columns: 82%; } }
.scroll-btns { display: flex; gap: 8px; }
.scroll-btns button { width: 50px; height: 50px; border-radius: 50%; border: 1.5px solid var(--ink); background: transparent; color: var(--ink); font-size: 1.1rem; transition: all .3s; }
.scroll-btns button:hover { background: var(--ink); color: #fff; }
.news-card2 { display: block; color: var(--ink); height: 100%; }
.news-card2 .thumb { aspect-ratio: 4 / 3; border-radius: 24px; overflow: hidden; background: var(--cream); margin-bottom: 16px; position: relative; }
.news-card2 .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.news-card2:hover .thumb img { transform: scale(1.06); }
.news-card2 .thumb .date-badge { position: absolute; left: 14px; top: 14px; background: #fff; color: var(--ink); border-radius: 14px; padding: 6px 12px; font-size: .78rem; font-weight: 600; line-height: 1.25; text-align: center; }
.news-card2 .thumb .date-badge b { display: block; font-size: 1.3rem; }
.news-card2 .meta { font-size: .8rem; color: var(--muted); display: flex; gap: 14px; flex-wrap: wrap; }
.news-card2 h3 { font-size: 1.12rem; font-weight: 600; margin: 8px 0 6px; line-height: 1.45; transition: color .2s; }
.news-card2:hover h3 { color: var(--leaf-dark); }
.news-card2 p { color: var(--muted); font-size: .9rem; margin: 0; }
.thumb-empty { width: 100%; height: 100%; display: grid; place-items: center; color: var(--moss); font-size: 2.4rem; opacity: .5; }

/* ---------- Feedback CTA ---------- */
.cta-card { position: relative; border-radius: 40px; background: var(--forest); color: #fff; padding: clamp(36px, 6vw, 80px); overflow: hidden; isolation: isolate; }
.cta-card::before { content: ''; position: absolute; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(212,243,107,.45), transparent 65%); right: -140px; top: -180px; z-index: -1; }
.cta-card h2 { color: #fff; }
.cta-card .contact-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 40px; }
@media (max-width: 767px) { .cta-card .contact-list { grid-template-columns: 1fr; } }
.cta-card .ci { display: flex; gap: 14px; align-items: center; padding: 18px; border-radius: 20px; background: rgba(255,255,255,.07); border: 1px solid var(--line-light); color: #fff; transition: background .3s; }
.cta-card .ci:hover { background: rgba(212,243,107,.14); color: #fff; }
.cta-card .ci i { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--lime); color: var(--forest); font-size: 1.15rem; flex: 0 0 46px; }
.cta-card .ci small { display: block; color: rgba(255,255,255,.6); font-size: .78rem; }

/* ---------- Page header (sub pages) ---------- */
.page-hero { padding: 70px 0 46px; background: var(--cream); position: relative; overflow: hidden; }
.page-hero::after { content: ''; position: absolute; width: 380px; height: 380px; border-radius: 50%; background: var(--lime); filter: blur(80px); opacity: .45; right: -100px; top: -160px; }
.page-hero > * { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 700; letter-spacing: -.03em; margin: 16px 0 12px; line-height: 1.1; }
.page-hero p { color: var(--muted); max-width: 660px; margin: 0; }
.crumbs { font-size: .85rem; color: var(--muted); }
.crumbs a { color: var(--muted); } .crumbs a:hover { color: var(--leaf-dark); }
.search-pill { display: flex; align-items: center; max-width: 540px; background: #fff; border: 1.5px solid var(--line); border-radius: 999px; padding: 6px 6px 6px 20px; margin-top: 28px; transition: border-color .2s, box-shadow .2s; }
.search-pill:focus-within { border-color: var(--leaf); box-shadow: 0 0 0 4px rgba(65,171,93,.14); }
.search-pill input { border: 0; outline: 0; flex: 1; background: transparent; font: inherit; padding: 6px 0; }
.search-pill button { border: 0; border-radius: 999px; background: var(--forest); color: #fff; padding: 10px 22px; font-weight: 600; font-size: .9rem; }

/* Document cards */
.doc-card2 { display: flex; gap: 18px; align-items: flex-start; height: 100%; padding: 24px; border-radius: 24px; background: #fff; border: 1px solid var(--line); color: var(--ink); transition: transform .45s var(--spring), box-shadow .35s; }
.doc-card2:hover { transform: translateY(-6px); box-shadow: var(--shadow); color: var(--ink); }
.doc-card2 .ftype { flex: 0 0 56px; height: 64px; border-radius: 14px; display: grid; place-items: center; font-size: 1.5rem; color: #fff; position: relative; }
.doc-card2 .ftype span { position: absolute; bottom: -8px; font-size: .62rem; font-weight: 700; background: #fff; color: var(--ink); border-radius: 6px; padding: 1px 6px; border: 1px solid var(--line); }
.doc-card2 h3 { font-size: 1.02rem; font-weight: 600; margin: 0 0 6px; line-height: 1.45; }
.doc-card2 p { font-size: .88rem; color: var(--muted); margin: 0 0 10px; }
.doc-card2 .dmeta { font-size: .78rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 14px; }
.doc-card2 .dact { margin-top: 12px; font-size: .86rem; font-weight: 600; color: var(--leaf-dark); display: inline-flex; gap: 6px; align-items: center; }
.empty-state { text-align: center; padding: 80px 20px; color: var(--muted); }
.empty-state i { font-size: 3rem; display: block; margin-bottom: 14px; color: var(--leaf); opacity: .6; }
.article { max-width: 820px; margin: 0 auto; }
.article .cover { border-radius: var(--radius); overflow: hidden; margin: 30px 0 40px; }
.article .cover img { width: 100%; display: block; }
.article-body { font-size: 1.08rem; line-height: 1.95; }
.article-body img { max-width: 100%; height: auto; border-radius: 16px; }
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 18px; transition: transform .5s var(--ease); }
.gallery a:hover img { transform: scale(1.03); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; } .reveal.d5 { transition-delay: .4s; }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest); color: rgba(255,255,255,.72); padding: 100px 0 26px; position: relative; overflow: hidden; border-radius: 40px 40px 0 0; margin-top: 40px; }
.site-footer a { color: rgba(255,255,255,.8); }
.site-footer a:hover { color: var(--lime); }
.footer-cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 30px; padding-bottom: 60px; border-bottom: 1px solid var(--line-light); }
.footer-cta h2 { color: #fff; font-size: clamp(2.2rem, 5vw, 4.2rem); line-height: 1.05; margin: 16px 0 0; max-width: 15ch; font-weight: 700; letter-spacing: -.03em; }
.footer-cta h2 .serif { color: var(--lime); font-weight: 400; }
.footer-cols { padding: 54px 0; }
.footer-cols h6 { color: var(--lime); font-size: .85rem; margin-bottom: 18px; font-weight: 600; }
.footer-cols ul { list-style: none; padding: 0; margin: 0; }
.footer-cols li { margin-bottom: 10px; font-size: .94rem; }
.footer-contact li { display: flex; gap: 12px; }
.footer-contact i { color: var(--lime); }
.footer-map { border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line-light); }
.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.socials a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-light); display: grid; place-items: center; font-size: 1.05rem; transition: all .35s var(--spring); }
.socials a:hover { background: var(--lime); border-color: var(--lime); color: var(--forest); transform: translateY(-4px) rotate(-8deg); }
.footer-word { font-size: clamp(4rem, 17.5vw, 17rem); font-weight: 700; line-height: .8; letter-spacing: -.06em; color: var(--lime); white-space: nowrap; margin: 20px 0 22px; user-select: none; text-align: center; }
.footer-word .serif { font-weight: 400; letter-spacing: -.03em; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; padding-top: 22px; border-top: 1px solid var(--line-light); font-size: .84rem; color: rgba(255,255,255,.55); }
.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 1020; width: 50px; height: 50px; border-radius: 50%; border: 0; background: var(--lime); color: var(--forest); font-size: 1.2rem; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translateY(10px); transition: all .35s var(--spring); }
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .hero-title .line > span, .data-chip { opacity: 1 !important; transform: none !important; transition: none !important; }
  .marquee-track, .badge-round svg { animation: none; }
  .preloader-go { display: none; }
}

/* =========================================================
   Legacy class compatibility (document-group, media, etc.)
   ========================================================= */
.bg-cmu { background: var(--forest) !important; color: #fff !important; }
.bg-cmu_list { background: var(--moss) !important; color: #fff !important; }
.text-cmu, .color-primary { color: var(--leaf-dark) !important; }
.indicator-header { border-radius: 20px; padding: 18px 24px; margin-bottom: 16px; box-shadow: none; }
.indicator-header h4 { font-weight: 500; font-size: 1.15rem; }
.indicator-header .form-control { background: rgba(255,255,255,.95); }
.accordion-item { border: 1px solid var(--line) !important; margin-bottom: 10px; border-radius: 18px !important; overflow: hidden; box-shadow: none; }
.accordion-button { font-weight: 500; padding: 1.1rem 1.3rem; font-family: var(--font); }
.accordion-button:not(.collapsed) { background: var(--cream); color: var(--forest); box-shadow: none; }
.accordion-button:focus { box-shadow: 0 0 0 .2rem rgba(65,171,93,.18); }
.badge-oit { min-width: 46px; height: 30px; display: inline-flex; align-items: center; justify-content: center; border-radius: 9px; margin-right: 14px; font-weight: 600; background: var(--lime); color: var(--forest); }
.table thead th { border-top: none; background: var(--cream); color: var(--muted); font-size: .85rem; font-weight: 600; }
.table-hover tbody tr:hover { background-color: rgba(65,171,93,.04); }
.btn-link-custom { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; transition: .2s; }
.btn-link-custom:hover { transform: scale(1.1); background: var(--cream); }
.font-48 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
.mt30 { margin-top: 30px; } .pt50 { padding-top: 50px; }
.card { border-radius: 18px; }
.carousel-item img { border-radius: 18px; }
