/* ==========================================================================
   Jamal Uddin Chowdhury — campaign site
   Theme: Bangladesh green + red. Mobile-first, no framework, no build step.
   ========================================================================== */

:root {
    --green-950: #032b20;
    --green-900: #04402f;
    --green-800: #005a42;
    --green-700: #006a4e;
    --green-600: #0a805f;
    --green-200: #bfe3d3;
    --green-100: #e3f3ec;
    --green-50: #f1f9f5;
    --red-700: #b3162b;
    --red-600: #d7263d;
    --red-500: #f42a41;
    --red-100: #fde7ea;
    --gold: #f5c451;
    --ink: #10201a;
    --muted: #4f625a;
    --line: #dfe7e2;
    --paper: #fffdf8;
    --white: #fff;

    --radius: 18px;
    --radius-sm: 12px;
    --shadow-sm: 0 2px 10px -4px rgba(3, 43, 32, .18);
    --shadow: 0 18px 40px -20px rgba(3, 43, 32, .35);
    --container: 1180px;
    --header-h: 76px;

    --font: "Plus Jakarta Sans", "Hind Siliguri", "Noto Sans Bengali", "Kalpurush", "Nirmala UI", "Vrinda", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.7;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
body.lang-bn { line-height: 1.85; }
body.no-scroll { overflow: hidden; }
img, svg, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--green-700); text-decoration: none; }
a:hover { color: var(--green-900); }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; color: var(--green-950); }
body.lang-bn h1, body.lang-bn h2, body.lang-bn h3 { line-height: 1.4; letter-spacing: 0; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.container--narrow { width: min(100% - 32px, 820px); }
.icon { flex: none; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 10px 16px; border-radius: 8px; z-index: 200; }
.skip-link:focus { left: 8px; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.mt-xl { margin-top: 56px; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 12px 24px; border-radius: 999px; border: 2px solid transparent;
    font-weight: 700; font-size: 1rem; line-height: 1.2; text-align: center;
    transition: transform .18s ease, box-shadow .18s ease, background .18s, color .18s, border-color .18s;
}
.btn:hover { transform: translateY(-2px); }
.btn--sm { padding: 9px 18px; font-size: .95rem; }
.btn--lg { padding: 15px 30px; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn--red { background: var(--red-500); color: #fff; box-shadow: 0 10px 24px -10px rgba(244, 42, 65, .75); }
.btn--red:hover { background: var(--red-600); color: #fff; }
.btn--green { background: var(--green-700); color: #fff; box-shadow: 0 10px 24px -12px rgba(0, 106, 78, .8); }
.btn--green:hover { background: var(--green-800); color: #fff; }
.btn--outline { border-color: var(--green-700); color: var(--green-700); background: transparent; }
.btn--outline:hover { background: var(--green-700); color: #fff; }
.btn--ghost-light { border-color: rgba(255, 255, 255, .55); color: #fff; background: rgba(255, 255, 255, .06); }
.btn--ghost-light:hover { background: #fff; color: var(--green-800); }
.btn--light { background: #fff; color: var(--green-800); }
.btn:disabled { opacity: .7; cursor: progress; transform: none; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--green-700); }
.link-arrow:hover { gap: 10px; }
.link-arrow--back { margin-top: 32px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 253, 248, .94); backdrop-filter: saturate(1.4) blur(10px); transition: box-shadow .2s; }
.site-header.is-scrolled { box-shadow: 0 6px 24px -14px rgba(3, 43, 32, .5); }
.topbar { background: var(--green-950); color: #d4ebe1; font-size: .85rem; }
.topbar__in { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 36px; }
.topbar__text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar__right { display: flex; align-items: center; gap: 16px; }
.topbar__link { display: inline-flex; align-items: center; gap: 6px; color: #d4ebe1; }
.topbar__link:hover { color: #fff; }

.navbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--green-950); min-width: 0; }
.brand__mark { flex: none; display: block; }
.brand__text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.brand__text strong { font-size: 1.12rem; color: var(--green-950); font-weight: 800; }
.brand__text small { font-size: .78rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand--light .brand__text strong { color: #fff; }
.brand--light .brand__text small { color: #a9d6c4; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav__link { padding: 9px 13px; border-radius: 999px; font-weight: 600; color: var(--ink); font-size: .97rem; }
.nav__link:hover { background: var(--green-100); color: var(--green-800); }
.nav__link.is-active { background: var(--green-100); color: var(--green-800); }
.nav__cta { margin-inline-start: 8px; }

.navbar__tools { display: flex; align-items: center; gap: 10px; }
.lang-switch { display: inline-flex; align-items: center; padding: 7px 14px; border: 2px solid var(--green-700); border-radius: 999px; color: var(--green-800); font-weight: 700; font-size: .92rem; line-height: 1.2; }
.lang-switch:hover { background: var(--green-700); color: #fff; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: var(--green-100); border-radius: 12px; color: var(--green-800); align-items: center; justify-content: center; }
.nav-toggle__close { display: none; }
.nav-open .nav-toggle__open { display: none; }
.nav-open .nav-toggle__close { display: block; }

@media (max-width: 1020px) {
    .nav-toggle { display: inline-flex; }
    .nav {
        position: absolute; left: 0; right: 0; top: 100%;
        flex-direction: column; align-items: stretch; gap: 2px;
        background: var(--paper); padding: 12px 16px 20px;
        border-top: 1px solid var(--line); box-shadow: 0 24px 30px -20px rgba(3, 43, 32, .5);
        display: none;
    }
    .nav-open .nav { display: flex; }
    .nav__link { padding: 13px 14px; border-radius: 12px; font-size: 1.05rem; }
    .nav__cta { margin: 10px 0 0; padding: 14px; }
}
@media (max-width: 560px) {
    .topbar--bare { display: none; }
    .topbar__text { display: none; }
    .topbar__in { justify-content: flex-end; }
    .brand__text strong { font-size: 1rem; }
    .brand__text small { max-width: 150px; }
    :root { --header-h: 66px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; overflow: hidden; padding: 56px 0 110px; background: var(--green-900); isolation: isolate; }
.hero__bg {
    position: absolute; inset: 0; z-index: -1;
    background:
        radial-gradient(900px 480px at 88% 18%, rgba(244, 42, 65, .22), transparent 62%),
        radial-gradient(700px 420px at 0% 100%, rgba(10, 128, 95, .55), transparent 60%),
        linear-gradient(135deg, #032b20 0%, #04402f 45%, #006a4e 100%);
}
.hero__bg::after {
    content: ""; position: absolute; inset: 0; opacity: .5;
    background-image: radial-gradient(rgba(255, 255, 255, .11) 1.2px, transparent 1.3px);
    background-size: 26px 26px;
    mask-image: linear-gradient(90deg, #000, transparent 70%);
}
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); font-weight: 600; font-size: .92rem; }
.badge__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red-500); box-shadow: 0 0 0 4px rgba(244, 42, 65, .3); }
.hero__name { color: #fff; font-size: clamp(2.4rem, 5.6vw, 4.3rem); font-weight: 800; margin: 20px 0 10px; line-height: 1.15; }
body.lang-bn .hero__name { line-height: 1.3; }
.hero__slogan { font-size: clamp(1.15rem, 2.3vw, 1.6rem); font-weight: 700; color: var(--gold); margin-bottom: 14px; }
.hero__intro { max-width: 56ch; color: #d8eee4; font-size: 1.08rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.symbol-card { display: inline-flex; align-items: center; gap: 14px; margin-top: 30px; padding: 12px 20px 12px 12px; border-radius: 16px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); backdrop-filter: blur(6px); }
.symbol-card img { width: 64px; height: 64px; object-fit: contain; background: #fff; border-radius: 12px; padding: 6px; }
.symbol-card small { display: block; color: #b8dccd; font-size: .8rem; line-height: 1.3; }
.symbol-card strong { font-size: 1.15rem; color: #fff; }

.hero__art { position: relative; justify-self: center; width: min(100%, 430px); }
.hero__sun { position: absolute; width: 92%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ff5468, var(--red-500) 55%, var(--red-600)); top: -6%; right: -12%; box-shadow: 0 30px 80px -20px rgba(244, 42, 65, .6); }
.portrait { position: relative; aspect-ratio: 4 / 5; border-radius: 999px 999px 28px 28px; overflow: hidden; background: var(--green-100); border: 6px solid rgba(255, 255, 255, .92); box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .55); }
.portrait img, .portrait__placeholder { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hero__chip { position: absolute; left: -14px; bottom: 28px; display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 14px; background: #fff; color: var(--green-800); font-weight: 700; box-shadow: var(--shadow); max-width: 88%; }
.hero__chip .icon { color: var(--red-500); }
.hero__wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 70px; color: var(--paper); }

@media (max-width: 900px) {
    .hero { padding: 36px 0 90px; }
    .hero__grid { grid-template-columns: 1fr; gap: 34px; }
    .hero__art { order: -1; width: min(78%, 330px); }
    .hero__copy { text-align: center; }
    .hero__intro { margin-inline: auto; }
    .hero__cta { justify-content: center; }
    .hero__chip { left: 50%; transform: translateX(-50%); bottom: -14px; white-space: nowrap; }
}

/* ---------- Countdown ---------- */
.countdown-wrap { margin-top: -62px; position: relative; z-index: 5; padding-bottom: 8px; }
.countdown { display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap; padding: 20px 28px; background: #fff; border-radius: 22px; box-shadow: var(--shadow); border: 1px solid var(--line); border-top: 5px solid var(--red-500); }
.countdown__head { display: flex; align-items: center; gap: 14px; color: var(--green-800); }
.countdown__head strong { display: block; font-size: 1.2rem; color: var(--green-950); }
.countdown__head small { color: var(--muted); }
.countdown__cells { display: flex; gap: 12px; }
.cd { min-width: 78px; text-align: center; padding: 10px 8px; background: var(--green-50); border-radius: 14px; border: 1px solid var(--green-100); }
.cd b { display: block; font-size: 1.9rem; line-height: 1.15; color: var(--green-800); font-variant-numeric: tabular-nums; }
.cd span { font-size: .8rem; color: var(--muted); font-weight: 600; }
.countdown__today { margin: 0; font-size: 1.15rem; font-weight: 700; color: var(--red-600); flex: 1; text-align: center; }
@media (max-width: 720px) {
    .countdown { justify-content: center; text-align: center; padding: 18px 14px; }
    .countdown__cells { gap: 8px; width: 100%; }
    .cd { flex: 1; min-width: 0; }
    .cd b { font-size: 1.55rem; }
}

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section--tint { background: linear-gradient(180deg, var(--green-50), #eaf6f0); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.section-head p { color: var(--muted); font-size: 1.05rem; margin: 0; }
.section-title { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; margin-bottom: .35em; position: relative; }
.section-title--left { margin-bottom: 20px; }
.eyebrow { display: inline-block; margin-bottom: 10px; padding: 4px 14px; border-radius: 999px; background: var(--red-100); color: var(--red-700); font-weight: 700; font-size: .85rem; }
.eyebrow--light { background: rgba(255, 255, 255, .16); color: #fff; }
.section-foot { text-align: center; margin-top: 40px; }
.section-foot--left { text-align: left; }
.empty { text-align: center; color: var(--muted); padding: 40px 0; font-size: 1.1rem; }

.prose p { color: #26382f; }
.prose--lg { font-size: 1.1rem; }
.prose--lg p { margin-bottom: 1.25em; }

/* ---------- About teaser ---------- */
.about-teaser { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.quote-card { position: relative; margin: 0; padding: 40px 34px 30px; background: var(--green-800); color: #fff; border-radius: 26px; box-shadow: var(--shadow); overflow: hidden; }
.quote-card::after { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; background: var(--red-500); opacity: .18; right: -70px; bottom: -90px; }
.quote-card__mark { position: absolute; top: -6px; left: 22px; font-size: 7rem; line-height: 1; color: var(--gold); opacity: .9; font-family: Georgia, serif; }
.quote-card blockquote { position: relative; margin: 26px 0 20px; font-size: 1.15rem; line-height: 1.85; color: #eaf7f1; }
.quote-card figcaption { position: relative; display: flex; flex-direction: column; border-top: 1px solid rgba(255, 255, 255, .25); padding-top: 14px; }
.quote-card figcaption strong { color: #fff; }
.quote-card figcaption small { color: #a9d6c4; }
.quote-card--wide { padding: 44px 40px 30px; margin: 36px 0; }
.quote-card__title { position: relative; color: #fff; font-size: 1.4rem; margin: 22px 0 14px; }
.quote-card .prose p { color: #eaf7f1; }
@media (max-width: 900px) { .about-teaser { grid-template-columns: 1fr; gap: 30px; } .section { padding: 60px 0; } }

/* ---------- Stats ---------- */
.stats { background: var(--green-800); color: #fff; padding: 44px 0; position: relative; overflow: hidden; }
.stats::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .09) 1.2px, transparent 1.3px); background-size: 24px 24px; }
.stats__grid { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 20px; text-align: center; }
.stat b { display: block; font-size: clamp(2rem, 4vw, 3rem); color: var(--gold); line-height: 1.2; font-weight: 800; }
.stat span { color: #d3ebe0; font-weight: 600; }

/* ---------- Pledges ---------- */
.pledge-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.pledge-grid--compact { grid-template-columns: repeat(2, 1fr); }
.pledge-card { background: #fff; border-radius: var(--radius); padding: 28px 24px; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s, border-color .25s; position: relative; overflow: hidden; }
.pledge-card::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--green-700), var(--red-500)); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.pledge-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--green-200); }
.pledge-card:hover::before { transform: scaleX(1); }
.pledge-card__icon { display: inline-grid; place-items: center; width: 58px; height: 58px; border-radius: 16px; background: var(--green-100); color: var(--green-700); margin-bottom: 16px; transition: background .25s, color .25s; }
.pledge-card:hover .pledge-card__icon { background: var(--green-700); color: #fff; }
.pledge-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.pledge-card p { margin: 0; color: var(--muted); font-size: .96rem; line-height: 1.7; }
@media (max-width: 1080px) { .pledge-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px) { .pledge-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .pledge-grid, .pledge-grid--compact { grid-template-columns: 1fr; } }

/* ---------- Vote appeal ---------- */
.appeal { background: linear-gradient(120deg, var(--green-950), var(--green-800)); color: #fff; padding: 64px 0; position: relative; overflow: hidden; }
.appeal::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: var(--red-500); opacity: .16; left: -120px; top: -160px; }
.appeal__in { position: relative; display: flex; align-items: center; justify-content: center; gap: 44px; flex-wrap: wrap; text-align: center; }
.appeal__symbol { width: 180px; height: 180px; background: #fff; border-radius: 50%; padding: 26px; display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(255, 255, 255, .14); }
.appeal__symbol img { max-height: 100%; object-fit: contain; }
.appeal__text { max-width: 640px; }
.appeal__text > p:first-of-type { font-size: clamp(1.2rem, 2.4vw, 1.65rem); font-weight: 700; line-height: 1.6; color: #fff; }
.appeal__symbolname { display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; border-radius: 999px; background: rgba(255, 255, 255, .14); margin-bottom: 8px; }
.appeal__symbolname strong { color: var(--gold); }
.appeal__note { color: #cfe9dd; margin: 0; }

/* ---------- News cards ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post-card__img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(135deg, var(--green-700), var(--green-900)); }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.post-card:hover .post-card__img img { transform: scale(1.06); }
.post-card__ph { display: grid; place-items: center; width: 100%; height: 100%; color: rgba(255, 255, 255, .55); }
.post-card__body { display: flex; flex-direction: column; gap: 6px; padding: 22px 22px 24px; flex: 1; }
.post-card__meta { display: flex; align-items: center; gap: 12px; font-size: .88rem; color: var(--muted); }
.post-card h3 { font-size: 1.15rem; margin: 4px 0 0; }
.post-card h3 a { color: var(--green-950); }
.post-card h3 a:hover { color: var(--green-700); }
.post-card p { color: var(--muted); font-size: .96rem; margin: 0 0 8px; flex: 1; }
.tag { display: inline-block; padding: 2px 12px; border-radius: 999px; font-weight: 700; font-size: .78rem; background: var(--green-100); color: var(--green-800); }
.tag--event { background: var(--red-100); color: var(--red-700); }
.tag--light { background: rgba(255, 255, 255, .18); color: #fff; }
@media (max-width: 980px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .post-grid { grid-template-columns: 1fr; } }

/* ---------- Activities (কর্মকাণ্ড) ---------- */
.activity-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.activity-card { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.activity-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.activity-card__img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--green-100); }
.activity-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.activity-card:hover .activity-card__img img { transform: scale(1.06); }
.activity-card__img .tag { position: absolute; top: 12px; inset-inline-start: 12px; }
.activity-card__body { display: flex; flex-direction: column; gap: 8px; padding: 22px; flex: 1; }
.activity-card__icon { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--green-100); color: var(--green-700); }
.activity-card__body h3 { font-size: 1.08rem; margin: 2px 0 0; }
.activity-card__body p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.7; }
.tag--status-done { background: var(--green-100); color: var(--green-800); }
.tag--status-ongoing { background: var(--red-100); color: var(--red-700); }
@media (max-width: 980px) { .activity-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .activity-grid { grid-template-columns: 1fr; } }

/* ---------- Video ---------- */
.video-block .video-frame, .video-frame { position: relative; max-width: 900px; margin: 0 auto; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; background: #000 linear-gradient(135deg, var(--green-800), var(--green-950)); box-shadow: var(--shadow); }
.video-frame img { width: 100%; height: 100%; object-fit: cover; opacity: .88; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-frame__btn { position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border-radius: 50%; border: 0; background: var(--red-500); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 12px rgba(244, 42, 65, .3); transition: transform .2s; }
.video-frame__btn:hover { transform: scale(1.08); }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery-item { position: relative; display: block; padding: 0; border: 0; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--green-100); cursor: zoom-in; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item__ph { display: grid; place-items: center; height: 100%; color: var(--green-700); }
.gallery-item__play { position: absolute; inset: 0; margin: auto; width: 58px; height: 58px; border-radius: 50%; background: rgba(244, 42, 65, .92); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 8px rgba(255, 255, 255, .28); }
.gallery-item.is-video { cursor: pointer; }
.gallery-item__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 10px; color: #fff; font-size: .88rem; text-align: left; background: linear-gradient(transparent, rgba(3, 43, 32, .85)); opacity: 0; transition: opacity .25s; }
.gallery-item:hover .gallery-item__cap, .gallery-item:focus-visible .gallery-item__cap { opacity: 1; }
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(2, 20, 15, .94); display: grid; place-items: center; padding: 56px 64px; }
.lightbox__stage { margin: 0; max-width: min(1100px, 100%); width: 100%; text-align: center; }
.lightbox__stage img { max-height: 78vh; width: auto; margin: 0 auto; border-radius: 10px; }
.lightbox__stage iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 10px; background: #000; }
.lightbox__stage figcaption { color: #dcefe6; margin-top: 12px; }
.lightbox__close, .lightbox__nav { position: absolute; border: 0; background: rgba(255, 255, 255, .14); color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 2rem; line-height: 1; display: grid; place-items: center; }
.lightbox__close:hover, .lightbox__nav:hover { background: var(--red-500); }
.lightbox__close { top: 14px; right: 14px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: 12px; }
.lightbox__nav--next { right: 12px; }
.lightbox.single .lightbox__nav { display: none; }
@media (max-width: 640px) { .lightbox { padding: 64px 12px 24px; } .lightbox__nav { top: auto; bottom: 14px; transform: none; } }

/* ---------- CTA band ---------- */
.cta-band { background: var(--red-500); color: #fff; position: relative; overflow: hidden; }
.cta-band::before, .cta-band::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.cta-band::before { width: 340px; height: 340px; left: -90px; top: -150px; }
.cta-band::after { width: 260px; height: 260px; right: 4%; bottom: -150px; }
.cta-band__in { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding: 56px 0; }
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.cta-band p { max-width: 58ch; margin: 0; color: #ffe9ec; font-size: 1.05rem; }
.cta-band__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-band .btn--red { background: #fff; color: var(--red-600); box-shadow: 0 14px 26px -14px rgba(0, 0, 0, .5); }
.cta-band .btn--red:hover { background: var(--green-950); color: #fff; }

/* ---------- Contact ---------- */
.contact-block { display: grid; grid-template-columns: 1fr 1.1fr; gap: 44px; align-items: start; }
.contact-list { display: grid; gap: 16px; margin-top: 20px; }
.contact-list li { display: flex; align-items: flex-start; gap: 14px; }
.contact-list__icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--green-100); color: var(--green-700); }
.contact-list__body { display: flex; flex-direction: column; line-height: 1.5; }
.contact-list__body small { color: var(--muted); font-size: .8rem; }
.contact-list__body a, .contact-list__body span { font-weight: 600; color: var(--ink); word-break: break-word; }
.contact-list__body a:hover { color: var(--green-700); }
.contact-list--dark .contact-list__icon { background: rgba(255, 255, 255, .1); color: var(--gold); }
.contact-list--dark .contact-list__body small { color: #9fcdb9; }
.contact-list--dark .contact-list__body a, .contact-list--dark .contact-list__body span { color: #fff; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); aspect-ratio: 4 / 3; background: var(--green-100); }
.map iframe { width: 100%; height: 100%; border: 0; }
.map--side { margin-top: 22px; aspect-ratio: 16 / 11; }
@media (max-width: 900px) { .contact-block { grid-template-columns: 1fr; } }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; color: #fff; padding: 54px 0 60px; background: linear-gradient(120deg, var(--green-950), var(--green-700)); overflow: hidden; }
.page-hero::before { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; background: var(--red-500); opacity: .2; right: -100px; top: -190px; }
.page-hero::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .09) 1.2px, transparent 1.3px); background-size: 26px 26px; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.1rem); font-weight: 800; margin: 6px 0 8px; }
.page-hero p { color: #cfe9dd; font-size: 1.1rem; margin: 0; max-width: 60ch; }
.page-hero--post h1 { font-size: clamp(1.8rem, 4vw, 2.7rem); }
.page-hero--post .post-card__meta { color: #cfe9dd; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: .9rem; color: #a9d6c4; }
.crumbs a { color: #d7efe4; }
.crumbs a:hover { color: #fff; }

/* ---------- About page ---------- */
.about-grid { display: grid; grid-template-columns: 340px 1fr; gap: 48px; align-items: start; }
.about-side { position: sticky; top: calc(var(--header-h) + 50px); }
.portrait--card { border-radius: 26px; border-width: 5px; border-color: #fff; box-shadow: var(--shadow); aspect-ratio: 4 / 5; }
.fact-card { margin-top: 20px; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.fact-card h2 { font-size: 1.3rem; }
.fact-card ul { display: grid; gap: 10px; margin: 12px 0 18px; }
.fact-card li { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); }
.fact-card li .icon { color: var(--green-700); margin-top: 4px; }
.fact-card li img { object-fit: contain; }
.fact-card strong { color: var(--ink); }
.about-main > * + * { margin-top: 24px; }
@media (max-width: 900px) {
    .about-grid { grid-template-columns: 1fr; gap: 30px; }
    .about-side { position: static; max-width: 420px; margin-inline: auto; width: 100%; }
}

/* ---------- Manifesto ---------- */
.download-card { display: flex; align-items: center; gap: 16px; padding: 18px 22px; margin-bottom: 30px; border-radius: var(--radius); background: var(--green-700); color: #fff; box-shadow: var(--shadow); }
.download-card:hover { background: var(--green-800); color: #fff; }
.download-card__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; background: rgba(255, 255, 255, .15); }
.download-card strong { display: block; font-size: 1.1rem; }
.download-card small { color: #bfe3d3; }
.download-card__arrow { margin-inline-start: auto; }
.manifesto-item { display: grid; grid-template-columns: auto auto 1fr; gap: 20px; align-items: center; padding: 24px; margin-bottom: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: box-shadow .25s, transform .25s; }
.manifesto-item:hover { box-shadow: var(--shadow); transform: translateX(4px); }
.manifesto-item__no { font-size: 2.3rem; font-weight: 800; color: var(--red-500); opacity: .85; min-width: 64px; line-height: 1; }
.manifesto-item__icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 16px; background: var(--green-100); color: var(--green-700); }
.manifesto-item h2 { font-size: 1.25rem; margin-bottom: 4px; }
.manifesto-item p { margin: 0; color: var(--muted); }
.closing-card { margin-top: 40px; padding: 36px 28px; text-align: center; border-radius: 24px; background: var(--green-100); border: 1px dashed var(--green-600); }
.closing-card p { color: var(--muted); }
@media (max-width: 600px) {
    .manifesto-item { grid-template-columns: auto 1fr; gap: 14px; }
    .manifesto-item__no { grid-column: 1 / -1; font-size: 1.6rem; }
}

/* ---------- Post ---------- */
.post-cover { width: 100%; border-radius: 22px; margin-bottom: 30px; box-shadow: var(--shadow); }
.share { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); }
.share__label { font-weight: 700; color: var(--muted); }
.share__btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 600; font-size: .92rem; }
.share__btn:hover { background: var(--green-100); color: var(--green-800); }
.share__btn--fb { background: #1877f2; border-color: #1877f2; color: #fff; }
.share__btn--fb:hover { background: #0f5fc7; color: #fff; }
.share__btn--wa { background: #25a244; border-color: #25a244; color: #fff; }
.share__btn--wa:hover { background: #1a8434; color: #fff; }

.pager { display: flex; justify-content: center; gap: 8px; margin-top: 44px; }
.pager__item { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 12px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 700; }
a.pager__item:hover { background: var(--green-100); }
.pager__item.is-current { background: var(--green-700); border-color: var(--green-700); color: #fff; }
.pager__item.is-disabled { opacity: .45; }

/* ---------- Forms ---------- */
.form-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 34px; box-shadow: var(--shadow); }
.form-intro { color: var(--muted); font-size: 1.05rem; margin-bottom: 24px; }
.form { display: grid; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .field legend { font-weight: 700; color: var(--green-950); font-size: .97rem; padding: 0; margin-bottom: 4px; }
.field label b, .field legend b { color: var(--red-500); }
.field label em { font-style: normal; color: var(--muted); font-weight: 500; font-size: .85rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
input[type="text"], input[type="tel"], input[type="email"], input[type="password"], input[type="url"], input[type="date"], input[type="datetime-local"], input[type="number"], select, textarea {
    width: 100%; font: inherit; color: var(--ink); background: #fbfdfc; border: 2px solid var(--line); border-radius: 14px; padding: 13px 16px; transition: border-color .2s, box-shadow .2s, background .2s;
}
textarea { resize: vertical; min-height: 110px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--green-600); background: #fff; box-shadow: 0 0 0 4px rgba(10, 128, 95, .15); }
.has-error { border-color: var(--red-500) !important; background: #fff8f9 !important; }
.field__error { color: var(--red-600); font-size: .9rem; font-weight: 600; }
.alert { padding: 14px 18px; border-radius: 14px; }
.alert--error { background: var(--red-100); color: var(--red-700); border: 1px solid #f7b9c1; }
.alert--ok { background: var(--green-100); color: var(--green-800); border: 1px solid var(--green-200); }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.check, .choice { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border: 2px solid var(--line); border-radius: 14px; cursor: pointer; background: #fbfdfc; transition: border-color .2s, background .2s; font-weight: 500; }
.check:hover, .choice:hover { border-color: var(--green-600); }
.check input, .choice input { accent-color: var(--green-700); width: 18px; height: 18px; flex: none; }
.check:has(input:checked), .choice:has(input:checked) { border-color: var(--green-700); background: var(--green-50); }
.choice-row { display: flex; gap: 10px; flex-wrap: wrap; }
.choice { flex: 1; min-width: 120px; justify-content: center; }
.form-note { margin: 0; font-size: .85rem; color: var(--muted); text-align: center; }
.side-card { padding: 30px; border-radius: 26px; background: var(--green-50); border: 1px solid var(--green-100); }
.side-card h2 { font-size: 1.3rem; }
.tick-list { display: grid; gap: 12px; margin: 16px 0 26px; }
.tick-list li { display: flex; gap: 10px; align-items: flex-start; }
.tick-list .icon { color: #fff; background: var(--green-700); border-radius: 50%; padding: 3px; margin-top: 3px; }
.thanks { text-align: center; padding: 26px 8px; display: grid; gap: 12px; justify-items: center; }
.thanks__icon { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--green-700); color: #fff; box-shadow: 0 0 0 10px var(--green-100); margin-bottom: 8px; animation: pop .5s cubic-bezier(.3, 1.6, .5, 1); }
.thanks h2 { font-size: 1.8rem; margin: 0; }
.thanks p { color: var(--muted); max-width: 44ch; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@media (max-width: 900px) { .form-layout { grid-template-columns: 1fr; } .form-card { padding: 24px 18px; } }
@media (max-width: 560px) { .field-row, .checks { grid-template-columns: 1fr; } }

/* ---------- Error pages ---------- */
.error-page { text-align: center; min-height: 55vh; display: grid; align-items: center; }
.error-page__code { font-size: clamp(5rem, 18vw, 9rem); font-weight: 800; line-height: 1; color: var(--red-500); }
.error-page p { color: var(--muted); margin-bottom: 28px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-950); color: #cfe6db; margin-top: 0; }
.footer__grid { display: grid; grid-template-columns: 1.3fr .8fr 1.2fr; gap: 48px; padding: 64px 0 44px; }
.footer__slogan { margin: 18px 0 4px; color: var(--gold); font-weight: 700; }
.footer__union { color: #9fcdb9; }
.footer__social { display: flex; gap: 10px; margin-top: 14px; }
.footer__social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; }
.footer__social a:hover { background: var(--red-500); }
.footer__title { color: #fff; font-size: 1.05rem; margin-bottom: 16px; }
.footer__links { display: grid; gap: 8px; }
.footer__links a { color: #cfe6db; }
.footer__links a:hover { color: #fff; padding-inline-start: 4px; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: 18px 0; font-size: .88rem; color: #9fcdb9; }
.footer__bottom-in { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.footer__pub { color: #cfe6db; font-weight: 600; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr; gap: 34px; padding: 48px 0 34px; } }

/* ---------- Mobile quick bar ---------- */
.quickbar { display: none; }
@media (max-width: 760px) {
    body { padding-bottom: 68px; }
    .quickbar { position: fixed; z-index: 90; left: 0; right: 0; bottom: 0; display: flex; gap: 8px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: rgba(255, 253, 248, .96); backdrop-filter: blur(10px); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -18px rgba(3, 43, 32, .5); }
    .quickbar__btn { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 8px; border-radius: 14px; background: var(--green-100); color: var(--green-800); font-weight: 700; font-size: .92rem; white-space: nowrap; }
    .quickbar__btn--main { flex: 1.5; background: var(--red-500); color: #fff; }
}

/* ---------- Reveal animation ---------- */
.js-reveal .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease var(--d, 0ms), transform .7s ease var(--d, 0ms); }
.js-reveal .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .js-reveal .reveal { opacity: 1; transform: none; }
}

@media print {
    .site-header, .quickbar, .site-footer, .cta-band, .share { display: none !important; }
    body { background: #fff; }
}
