/* ===========================================================
   MECT — Malvi Educational & Charitable Trust
   Design system + components
   =========================================================== */

:root {
  /* palette */
  --ink:      #142019;
  --forest:   #11402b;
  --forest-2: #1b5e3f;
  --leaf:     #2f9e68;
  --leaf-soft:#e4f3ea;
  --saffron:  #e7a13c;
  --saffron-2:#f2c46b;
  --clay:     #c0612f;
  --cream:    #faf6ec;
  --paper:    #ffffff;
  --muted:    #5d6b62;
  --line:     #e7e2d4;

  /* type */
  --display: "Fraunces", Georgia, serif;
  --sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* shape */
  --r-sm: 12px;
  --r:    20px;
  --r-lg: 32px;
  --shadow: 0 18px 50px -22px rgba(17,64,43,.40);
  --shadow-sm: 0 8px 24px -14px rgba(17,64,43,.45);
  --maxw: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--saffron-2); color: var(--ink); }

h1,h2,h3,h4 { font-family: var(--display); font-weight: 600; line-height: 1.08; letter-spacing: -.01em; color: var(--forest); }
.serif-italic { font-family: var(--display); font-style: italic; font-weight: 400; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
section { position: relative; }

/* ---------- utility ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--clay);
}
.eyebrow::before { content:""; width: 26px; height: 2px; background: var(--saffron); border-radius: 2px; }
.lead { font-size: 1.18rem; color: var(--muted); max-width: 60ch; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-weight: 700; font-size: .96rem;
  padding: 14px 28px; border-radius: 100px; border: 0; cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--saffron); color: var(--ink); box-shadow: 0 12px 28px -10px rgba(231,161,60,.7); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 34px -10px rgba(231,161,60,.85); }
.btn-dark { background: var(--forest); color: #fff; }
.btn-dark:hover { transform: translateY(-3px); background: var(--forest-2); }
.btn-ghost { background: transparent; color: var(--forest); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--forest); background: var(--paper); }
.btn-light { background: rgba(255,255,255,.14); color:#fff; border:1.5px solid rgba(255,255,255,.35); backdrop-filter: blur(6px); }
.btn-light:hover { background: rgba(255,255,255,.24); transform: translateY(-3px); }

/* ===========================================================
   NAV
   =========================================================== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
  padding: 18px 0;
}
.nav.scrolled {
  background: rgba(250,246,236,.82);
  backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--line);
  padding: 10px 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 12px; flex: none;
  background: linear-gradient(135deg, var(--forest-2), var(--leaf));
  display: grid; place-items: center; box-shadow: var(--shadow-sm);
}
.brand-mark svg { width: 24px; height: 24px; }
.brand-text { line-height: 1.1; }
.brand-text b { font-family: var(--display); font-weight: 700; font-size: 1.18rem; color: var(--forest); letter-spacing: -.02em; }
.brand-text span { display: block; font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-weight: 600; font-size: .95rem; color: var(--ink); position: relative; padding: 4px 0; }
.nav-links a::after { content:""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0; background: var(--saffron); transition: width .25s ease; }
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; width: 44px; height: 44px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--forest); margin: 5px auto; border-radius: 2px; transition: .3s; }

@media (max-width: 940px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: block; }
  .mobile-menu {
    position: fixed; inset: 0 0 0 auto; width: min(82vw, 360px); z-index: 99;
    background: var(--paper); transform: translateX(105%); transition: transform .35s cubic-bezier(.5,.1,.2,1);
    padding: 100px 32px 40px; display: flex; flex-direction: column; gap: 6px; box-shadow: var(--shadow);
  }
  .mobile-menu.open { transform: translateX(0); }
  .mobile-menu a { padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 1.05rem; }
  .mobile-menu .btn { margin-top: 20px; justify-content: center; }
  body.menu-open { overflow: hidden; }
}
.mobile-menu { display: none; }
@media (max-width: 940px){ .mobile-menu { display: flex; } }

/* ===========================================================
   HERO
   =========================================================== */
.hero { padding: 168px 0 90px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 5.2vw, 4.3rem); }
.hero h1 em { color: var(--clay); }
.hero .lead { margin: 24px 0 32px; font-size: 1.22rem; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 28px; margin-top: 40px; flex-wrap: wrap; }
.hero-trust div b { font-family: var(--display); font-size: 1.7rem; color: var(--forest); display: block; }
.hero-trust div span { font-size: .82rem; color: var(--muted); font-weight: 600; }

.hero-visual { position: relative; }
.hero-visual .frame {
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/5;
  transform: rotate(1.4deg);
}
.hero-visual .frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual .frame-2 {
  position: absolute; bottom: -34px; left: -38px; width: 46%; aspect-ratio: 1; border-radius: var(--r);
  overflow: hidden; box-shadow: var(--shadow); border: 6px solid var(--cream); transform: rotate(-3deg);
}
.hero-visual .frame-2 img { width:100%;height:100%;object-fit:cover; }
.hero-badge {
  position: absolute; top: -22px; right: -10px; background: var(--paper); border-radius: 18px;
  padding: 16px 20px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 12px; z-index: 3;
}
.hero-badge .dot { width: 40px; height: 40px; border-radius: 12px; background: var(--leaf-soft); display: grid; place-items: center; color: var(--leaf); }
.hero-badge b { font-family: var(--display); font-size: 1.2rem; color: var(--forest); display: block; line-height: 1; }
.hero-badge span { font-size: .72rem; color: var(--muted); font-weight: 600; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; z-index: -1; }
.blob.a { width: 360px; height: 360px; background: var(--saffron-2); top: -60px; right: -80px; }
.blob.b { width: 320px; height: 320px; background: var(--leaf-soft); bottom: -40px; left: 30%; opacity:.8; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 64px; }
  .hero { padding: 130px 0 70px; }
  .hero-visual { max-width: 420px; margin-inline: auto; width: 100%; }
}

/* ---------- marquee partners ---------- */
.marquee { padding: 28px 0; border-block: 1px solid var(--line); background: var(--paper); overflow: hidden; }
.marquee-label { text-align: center; font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 16px; }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: scroll 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-family: var(--display); font-size: 1.15rem; color: var(--forest); white-space: nowrap; opacity: .75; font-weight: 600; }
.marquee-track span::after { content: "•"; margin-left: 56px; color: var(--saffron); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ===========================================================
   GENERIC SECTION HEADINGS
   =========================================================== */
.section { padding: 96px 0; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; }
.section-head h2 { font-size: clamp(2rem, 3.6vw, 3rem); margin: 14px 0 16px; }

/* ---------- stats band ---------- */
.stats { background: var(--forest); color: #fff; padding: 80px 0; }
.stats h2 { color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.stat { padding: 8px 4px; border-left: 2px solid rgba(255,255,255,.16); padding-left: 22px; }
.stat .num { font-family: var(--display); font-size: clamp(2.4rem,4vw,3.4rem); font-weight: 600; color: var(--saffron-2); line-height: 1; }
.stat .lbl { margin-top: 10px; color: rgba(255,255,255,.82); font-weight: 500; font-size: .98rem; }
@media (max-width: 760px){ .stats-grid { grid-template-columns: repeat(2,1fr); gap: 32px 18px; } }

/* ---------- about / mission split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.rev { direction: rtl; } .split.rev > * { direction: ltr; }
.about-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.about-imgs img { border-radius: var(--r); box-shadow: var(--shadow-sm); height: 100%; object-fit: cover; aspect-ratio: 3/4; }
.about-imgs img:first-child { margin-top: 36px; }
.about-text h2 { font-size: clamp(2rem,3.4vw,2.8rem); margin: 14px 0 18px; }
.about-text p + p { margin-top: 16px; }
.mini-points { list-style: none; margin-top: 24px; display: grid; gap: 14px; }
.mini-points li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.mini-points svg { width: 22px; height: 22px; flex: none; color: var(--leaf); margin-top: 2px; }
@media (max-width: 820px){ .split { grid-template-columns: 1fr; gap: 40px; } .split.rev { direction: ltr; } }

/* ---------- problem statement ---------- */
.problem { background: linear-gradient(180deg, var(--cream), #f3ecda); }
.problem-card { background: var(--paper); border-radius: var(--r-lg); padding: 48px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.problem-card .big-quote { font-family: var(--display); font-size: clamp(1.5rem,2.8vw,2.1rem); line-height: 1.3; color: var(--forest); }
.problem-card .big-quote em { color: var(--clay); font-style: italic; }

/* ===========================================================
   PROJECTS GRID
   =========================================================== */
.proj-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.proj-card {
  position: relative; border-radius: var(--r); overflow: hidden; background: var(--paper);
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  display: flex; flex-direction: column; transition: transform .3s ease, box-shadow .3s ease;
}
.proj-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.proj-card .media { aspect-ratio: 16/11; overflow: hidden; }
.proj-card .media img { width:100%;height:100%;object-fit:cover; transition: transform .6s ease; }
.proj-card:hover .media img { transform: scale(1.07); }
.proj-card .tag {
  position: absolute; top: 14px; left: 14px; background: rgba(20,32,25,.78); color:#fff;
  font-size: .72rem; font-weight: 700; letter-spacing: .04em; padding: 6px 12px; border-radius: 100px; backdrop-filter: blur(4px);
}
.proj-card .body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.proj-card h3 { font-size: 1.32rem; margin-bottom: 8px; }
.proj-card p { color: var(--muted); font-size: .96rem; flex: 1; }
.proj-card .meta { display: flex; gap: 18px; margin: 16px 0 18px; }
.proj-card .meta div b { display: block; font-family: var(--display); color: var(--forest); font-size: 1.15rem; }
.proj-card .meta div span { font-size: .74rem; color: var(--muted); font-weight: 600; }
.proj-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--clay); font-size: .92rem; }
.proj-link svg { width: 16px; height: 16px; transition: transform .25s ease; }
.proj-card:hover .proj-link svg { transform: translateX(4px); }
@media (max-width: 900px){ .proj-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px){ .proj-grid { grid-template-columns: 1fr; } }

/* ---------- impact / outcomes ---------- */
.impact { background: var(--ink); color: #fff; }
.impact h2 { color: #fff; }
.impact .lead { color: rgba(255,255,255,.7); }
.outcome-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; margin-top: 44px; }
.outcome {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r);
  padding: 26px 28px; display: flex; gap: 18px; align-items: flex-start;
}
.outcome .ic { width: 46px; height: 46px; border-radius: 12px; background: rgba(231,161,60,.16); color: var(--saffron-2); display: grid; place-items: center; flex: none; }
.outcome .ic svg { width: 24px; height: 24px; }
.outcome b { font-family: var(--display); font-size: 1.6rem; color: var(--saffron-2); display: block; line-height: 1.1; }
.outcome span { color: rgba(255,255,255,.8); font-size: .96rem; }
@media (max-width: 720px){ .outcome-grid { grid-template-columns: 1fr; } }

/* ---------- alumni stories ---------- */
.stories-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.story {
  display: grid; grid-template-columns: 130px 1fr; gap: 22px; align-items: center;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; box-shadow: var(--shadow-sm);
}
.story img { width: 130px; height: 150px; object-fit: cover; border-radius: var(--r-sm); }
.story h4 { font-size: 1.2rem; margin-bottom: 4px; }
.story .role { font-size: .8rem; font-weight: 700; color: var(--clay); text-transform: uppercase; letter-spacing: .08em; }
.story p { color: var(--muted); font-size: .92rem; margin-top: 10px; }
@media (max-width: 760px){ .stories-grid { grid-template-columns: 1fr; } }

/* ---------- gallery ---------- */
.gallery { columns: 4; column-gap: 14px; }
.gallery img { width: 100%; border-radius: var(--r-sm); margin-bottom: 14px; box-shadow: var(--shadow-sm); transition: transform .3s ease, filter .3s ease; cursor: pointer; }
.gallery img:hover { transform: scale(1.02); filter: brightness(1.05); }
@media (max-width: 900px){ .gallery { columns: 3; } }
@media (max-width: 600px){ .gallery { columns: 2; } }

/* ---------- CTA / donate ---------- */
.cta {
  background: linear-gradient(135deg, var(--forest), var(--forest-2));
  color: #fff; border-radius: var(--r-lg); padding: 64px; position: relative; overflow: hidden;
}
.cta::before { content:""; position: absolute; width: 300px; height: 300px; border-radius: 50%; background: rgba(231,161,60,.22); top: -100px; right: -60px; filter: blur(20px); }
.cta h2 { color: #fff; font-size: clamp(1.9rem,3.4vw,2.8rem); position: relative; }
.cta .lead { color: rgba(255,255,255,.82); position: relative; }
.cta-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin: 36px 0; position: relative; }
.spons { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: var(--r); padding: 22px; }
.spons b { font-family: var(--display); font-size: 1.5rem; color: var(--saffron-2); display: block; }
.spons span { font-size: .9rem; color: rgba(255,255,255,.82); }
@media (max-width: 820px){ .cta { padding: 40px 28px; } .cta-grid { grid-template-columns: repeat(2,1fr); } }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.info-list { display: grid; gap: 22px; margin-top: 28px; }
.info-item { display: flex; gap: 16px; align-items: flex-start; }
.info-item .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--leaf-soft); color: var(--leaf); display: grid; place-items: center; flex: none; }
.info-item .ic svg { width: 22px; height: 22px; }
.info-item b { display: block; color: var(--forest); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; }
.info-item span, .info-item a { color: var(--muted); }
.reg-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.reg-badges span { background: var(--leaf-soft); color: var(--forest-2); font-weight: 700; font-size: .82rem; padding: 8px 16px; border-radius: 100px; }
.bank-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 32px; box-shadow: var(--shadow-sm); }
.bank-card h3 { font-size: 1.3rem; margin-bottom: 18px; }
.bank-row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.bank-row:last-child { border-bottom: 0; }
.bank-row span { color: var(--muted); } .bank-row b { color: var(--ink); text-align: right; }
@media (max-width: 760px){ .contact-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ===========================================================
   FOOTER
   =========================================================== */
.footer { background: var(--ink); color: rgba(255,255,255,.72); padding: 72px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 40px; }
.footer h4 { color: #fff; font-family: var(--sans); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.footer .brand-text b { color: #fff; }
.footer .brand-text span { color: rgba(255,255,255,.5); }
.footer p { font-size: .94rem; margin-top: 18px; max-width: 36ch; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer ul a { font-size: .94rem; transition: color .2s; }
.footer ul a:hover { color: var(--saffron-2); }
.footer-bottom { margin-top: 52px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; }
.footer-bottom a:hover { color: #fff; }
@media (max-width: 820px){ .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 500px){ .footer-grid { grid-template-columns: 1fr; } }

/* ===========================================================
   REVEAL ANIMATION
   =========================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.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; }
@media (prefers-reduced-motion: reduce){ .reveal { opacity: 1; transform: none; } .marquee-track { animation: none; } }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; background: rgba(10,16,12,.92); z-index: 200; display: none; place-items: center; padding: 30px; }
.lightbox.open { display: grid; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 8px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lightbox .close { position: absolute; top: 24px; right: 30px; color: #fff; font-size: 2rem; cursor: pointer; background: none; border: 0; line-height: 1; }

/* ===========================================================
   PROJECT DETAIL PAGE
   =========================================================== */
.page-hero { padding: 150px 0 70px; background: linear-gradient(180deg, var(--leaf-soft), var(--cream)); position: relative; overflow: hidden; }
.page-hero .crumbs { font-size: .86rem; color: var(--muted); margin-bottom: 18px; font-weight: 600; }
.page-hero .crumbs a:hover { color: var(--clay); }
.page-hero h1 { font-size: clamp(2.3rem,4.6vw,3.6rem); max-width: 16ch; }
.page-hero .lead { margin-top: 20px; }
.page-hero .quick { display: flex; gap: 32px; flex-wrap: wrap; margin-top: 34px; }
.page-hero .quick div b { font-family: var(--display); font-size: 1.8rem; color: var(--forest); display: block; line-height: 1; }
.page-hero .quick div span { font-size: .82rem; color: var(--muted); font-weight: 600; }

.detail { padding: 80px 0; }
.detail-grid { display: grid; grid-template-columns: 1fr 340px; gap: 56px; align-items: start; }
.prose h2 { font-size: 1.9rem; margin: 36px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.3rem; margin: 28px 0 10px; color: var(--clay); }
.prose p { color: var(--ink); margin-bottom: 14px; }
.prose ul { list-style: none; display: grid; gap: 12px; margin: 16px 0 8px; }
.prose ul li { display: flex; gap: 12px; align-items: flex-start; }
.prose ul li::before { content: ""; width: 9px; height: 9px; border-radius: 3px; background: var(--saffron); flex: none; margin-top: 9px; }
.prose .figure { margin: 28px 0; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-sm); }
.prose .figure img { width: 100%; }
.prose .figure figcaption { font-size: .85rem; color: var(--muted); padding: 12px 4px 0; }
.two-img { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 28px 0; }
.two-img img { border-radius: var(--r); box-shadow: var(--shadow-sm); aspect-ratio: 4/3; object-fit: cover; }

.aside { position: sticky; top: 100px; display: grid; gap: 20px; }
.aside-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; box-shadow: var(--shadow-sm); }
.aside-card h4 { font-size: 1.1rem; margin-bottom: 16px; }
.aside-card .row { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: .92rem; gap: 10px; }
.aside-card .row:last-of-type { border-bottom: 0; }
.aside-card .row span { color: var(--muted); } .aside-card .row b { color: var(--forest); text-align: right; }
.aside-card.dark { background: linear-gradient(135deg,var(--forest),var(--forest-2)); color:#fff; border:0; }
.aside-card.dark h4 { color:#fff; } .aside-card.dark p { color: rgba(255,255,255,.82); font-size: .92rem; margin-bottom: 18px; }
.aside-card.dark .btn { width: 100%; justify-content: center; }
@media (max-width: 880px){ .detail-grid { grid-template-columns: 1fr; } .aside { position: static; } .two-img{grid-template-columns:1fr;} }

/* table */
.table-wrap { overflow-x: auto; margin: 22px 0; border-radius: var(--r); border: 1px solid var(--line); }
table.data { width: 100%; border-collapse: collapse; font-size: .92rem; background: var(--paper); }
table.data th { background: var(--forest); color:#fff; text-align: left; padding: 14px 16px; font-weight: 600; font-family: var(--sans); }
table.data td { padding: 12px 16px; border-top: 1px solid var(--line); color: var(--ink); }
table.data tr:nth-child(even) td { background: #fbf9f3; }
table.data tr.total td { font-weight: 700; color: var(--forest); background: var(--leaf-soft); }
