/* Save-Environment campaign page + home promo band + awareness feature banner (loaded on every page) */

/* ---------- home promo band ---------- */
.env-promo { padding: 30px 0 10px; }
.env-promo-card { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding: 38px 40px; border-radius: 26px; color: #fff; position: relative; overflow: hidden;
  background: radial-gradient(circle at 85% 20%, rgba(134,224,90,.35), transparent 45%), linear-gradient(120deg, #0a4a26, #15803d 60%, #22c55e); box-shadow: var(--shadow-xl); }
.env-promo-card::after { content: '🌍'; position: absolute; right: -30px; bottom: -50px; font-size: 14rem; opacity: .09; pointer-events: none; }
.ep-left { flex: 1 1 380px; max-width: 640px; position: relative; z-index: 1; }
.ep-kicker { display: inline-block; font-size: .74rem; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; background: rgba(255,255,255,.16); padding: 5px 14px; border-radius: 99px; margin-bottom: 12px; }
.env-promo-card h3 { font-family: var(--font-serif); font-size: clamp(1.7rem, 4vw, 2.5rem); margin-bottom: 8px; line-height: 1.15; }
.env-promo-card p { color: #d1fae5; line-height: 1.7; margin-bottom: 18px; }
.ep-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-ghost-light { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.7); } .btn-ghost-light:hover { background: rgba(255,255,255,.16); }
.ep-icons { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }
.ep-icons span { width: 66px; height: 66px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.9rem; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(4px); animation: floaty 4s ease-in-out infinite; }
.ep-icons span:nth-child(2) { animation-delay: .4s; } .ep-icons span:nth-child(3) { animation-delay: .8s; } .ep-icons span:nth-child(4) { animation-delay: 1.2s; } .ep-icons span:nth-child(5) { animation-delay: 1.6s; }
html.no-motion .ep-icons span { animation: none; }
@media (max-width: 700px) { .env-promo-card { padding: 28px 22px; } .ep-icons span { width: 54px; height: 54px; font-size: 1.5rem; } }

/* ---------- awareness page feature banner ---------- */
.feature-banner { display: flex; align-items: center; gap: 16px; padding: 18px 22px; margin-bottom: 22px; border-radius: 18px; text-decoration: none; color: #fff; background: linear-gradient(120deg, #0f4d2a, #16a34a); box-shadow: var(--shadow-lg); transition: transform .25s, box-shadow .25s; }
.feature-banner:hover { transform: translateY(-3px); box-shadow: var(--shadow-xl); }
.feature-banner .fb-ico { font-size: 2.4rem; } .feature-banner b { display: block; font-size: 1.15rem; font-family: var(--font-serif); } .feature-banner small { color: #d1fae5; } .feature-banner .fb-go { margin-left: auto; font-weight: 800; white-space: nowrap; }

/* ---------- campaign page ---------- */
.env-msg-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: start; }
.env-essay { padding: 26px 28px; } .env-essay p { line-height: 1.85; color: #374151; margin-bottom: 14px; font-size: 1.02rem; }
html:not([lang="en"]) .env-essay p { line-height: 2; }
.mini-tabs { display: inline-flex; background: #eef2ee; border-radius: 99px; padding: 3px; gap: 2px; } .mini-tabs button { border: 0; background: none; font: inherit; font-weight: 700; font-size: .78rem; padding: 6px 14px; border-radius: 99px; cursor: pointer; color: #4b5563; } .mini-tabs button.on { background: var(--primary); color: #fff; }
.env-quote { margin-top: 8px; padding: 14px 18px; border-left: 5px solid var(--primary-light); background: var(--primary-soft); border-radius: 0 14px 14px 0; font-family: var(--font-serif); font-size: 1.12rem; color: var(--primary-dark); }
.env-side img { width: 100%; height: 250px; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow-lg); }
.env-who { margin: 14px 0 12px; padding: 16px 18px; background: #fff; border: 1px solid var(--border-color); border-radius: 16px; line-height: 1.7; color: #374151; font-size: .95rem; }
.env-resp { padding: 14px 18px; border-radius: 16px; color: #fff; font-weight: 800; background: linear-gradient(120deg, #0f4d2a, #16a34a); font-size: 1.05rem; }

.env-slogans { list-style: none; display: grid; gap: 12px; max-width: 880px; margin: 0 auto; }
.env-slogans li { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--border-color); border-left: 8px solid var(--primary-light); border-radius: 16px; padding: 16px 22px; box-shadow: var(--shadow-sm); transition: transform .25s, border-color .25s; }
.env-slogans li:hover { transform: translateX(8px); border-left-color: var(--accent-orange); }
.env-slogans b { font-family: var(--font-main); font-size: clamp(1.15rem, 3vw, 1.7rem); text-transform: uppercase; letter-spacing: .5px; color: #111827; }
html:not([lang="en"]) .env-slogans b { text-transform: none; }
.env-slogans .sq { width: 14px; height: 14px; background: var(--primary-light); border-radius: 3px; flex: none; }

#envPledges { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin: 6px 0 22px; }
.pledge-card { background: #fff; border: 2px solid var(--border-color); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; transition: border-color .25s, box-shadow .25s, transform .25s; }
.pledge-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--primary-light); }
.pledge-card.done { border-color: var(--primary); background: linear-gradient(180deg, #f0fdf4, #fff); }
.pl-face { border: 0; background: none; font: inherit; cursor: pointer; padding: 20px 12px 10px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.pl-ico { width: 64px; height: 64px; border-radius: 50%; background: var(--primary-soft); display: flex; align-items: center; justify-content: center; font-size: 2rem; transition: transform .3s; } .pledge-card:hover .pl-ico { transform: scale(1.12) rotate(-6deg); }
.pl-face b { color: var(--primary-dark); line-height: 1.3; } .pl-face small { color: #6b7280; font-size: .72rem; }
.pl-tip { max-height: 0; overflow: hidden; padding: 0 14px; font-size: .84rem; color: #374151; background: #fffbeb; transition: max-height .4s ease, padding .4s ease; line-height: 1.55; }
.pledge-card.open .pl-tip { max-height: 160px; padding: 12px 14px; }
.pl-check { margin-top: auto; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; font-weight: 700; font-size: .84rem; cursor: pointer; border-top: 1px solid #eef2ee; background: #f9fbf9; }
.pl-check input { width: 18px; height: 18px; accent-color: #16a34a; }
.pledge-card.done .pl-check { background: #dcfce7; color: #166534; }
.pledge-bar { position: relative; display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; padding: 18px; background: #fff; border: 1px solid var(--border-color); border-radius: 20px; box-shadow: var(--shadow-sm); overflow: hidden; }
.pl-msg { font-weight: 700; color: #166534; margin: 4px 0 8px; }
.confetti { position: absolute; bottom: 20px; font-size: 1.4rem; pointer-events: none; animation: conf 1.6s ease-out forwards; } @keyframes conf { to { transform: translate(var(--x), -150px) rotate(var(--r)); opacity: 0; } }

.eff-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin: 6px 0 14px; }
.eff { background: #fff; border: 1px solid var(--border-color); border-radius: 18px; padding: 18px 12px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; transition: transform .25s, box-shadow .25s; }
.eff:hover { transform: translateY(-5px) scale(1.03); box-shadow: var(--shadow-lg); } .eff span { font-size: 2.2rem; } .eff b { color: #7f1d1d; line-height: 1.3; font-size: .95rem; }
.env-note { font-size: .82rem; color: #92400e; background: #fffbeb; border: 1px dashed #fbbf24; border-radius: 12px; padding: 10px 14px; margin-top: 10px; }
.env-tabs { margin-bottom: 14px; }

.flow { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.flow-box { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 130px; padding: 14px 18px; border-radius: 18px; font-weight: 800; box-shadow: var(--shadow-md); color: #fff; } .flow-box span { font-size: 1.8rem; }
.flow-box.f1 { background: linear-gradient(135deg, #475569, #1e293b); } .flow-box.f2 { background: linear-gradient(135deg, #f59e0b, #ea580c); } .flow-box.f3 { background: linear-gradient(135deg, #16a34a, #166534); }
.flow-arrow { font-size: 1.6rem; color: var(--primary); animation: nudge 1.4s ease-in-out infinite; } @keyframes nudge { 50% { transform: translateX(6px); } }
.body-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 16px; }
.body-out { display: flex; gap: 18px; align-items: center; background: #fff; border: 1px solid var(--border-color); border-radius: 20px; padding: 20px 24px; box-shadow: var(--shadow-sm); animation: canvaPop .5s var(--pop-ease) backwards; --s: .85; }
.body-ico { font-size: 3.4rem; width: 90px; height: 90px; border-radius: 50%; background: var(--primary-soft); display: flex; align-items: center; justify-content: center; flex: none; }
.body-out h4 { color: var(--primary-dark); font-size: 1.2rem; margin-bottom: 6px; } .body-out ul { margin-left: 18px; display: grid; gap: 4px; color: #374151; }

.trees-card, .bro-card { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; padding: 28px; background: #fff; border: 1px solid var(--border-color); border-radius: 24px; box-shadow: var(--shadow-md); }
.trees-ico, .bro-ico { font-size: 4.5rem; flex: none; } .trees-card h3, .bro-card h3 { font-family: var(--font-serif); color: var(--primary-dark); margin-bottom: 8px; font-size: 1.6rem; }
.trees-card p, .bro-card p { color: #374151; line-height: 1.75; margin-bottom: 8px; } .env-next { font-weight: 700; } .cta-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.bro-contact { margin-top: 14px; font-size: .88rem; color: #4b5563; text-align: center; line-height: 1.8; }

.strat { list-style: none; display: grid; gap: 10px; margin-top: 14px; }
.strat li label { display: flex; align-items: flex-start; gap: 14px; background: #fff; border: 2px solid var(--border-color); border-radius: 16px; padding: 14px 18px; cursor: pointer; line-height: 1.55; transition: border-color .25s, background .25s, transform .25s; }
.strat li label:hover { transform: translateX(6px); border-color: var(--primary-light); }
.strat input { position: absolute; opacity: 0; } .strat .bx { width: 26px; height: 26px; border-radius: 8px; border: 2px solid #9ca3af; flex: none; display: flex; align-items: center; justify-content: center; transition: all .25s; margin-top: 1px; }
.strat input:checked + .bx { background: var(--primary); border-color: var(--primary); transform: scale(1.08); } .strat input:checked + .bx::after { content: '✓'; color: #fff; font-weight: 800; }
.strat input:focus-visible + .bx { outline: 3px solid #f59e0b; outline-offset: 2px; } .strat li.on label { background: #f0fdf4; border-color: var(--primary); }

/* pop-in for these blocks (same Canva-style pop as elsewhere) */
.pledge-card.reveal, .eff.reveal, .env-slogans li.reveal, .strat li.reveal, .trees-card.reveal, .bro-card.reveal, .pledge-bar.reveal, .env-essay.reveal, .env-side.reveal, .env-promo-card.reveal { opacity: 0; transform: none; --s: .5; }
.pledge-card.reveal.in, .eff.reveal.in, .env-slogans li.reveal.in, .strat li.reveal.in, .trees-card.reveal.in, .bro-card.reveal.in, .pledge-bar.reveal.in, .env-essay.reveal.in, .env-side.reveal.in, .env-promo-card.reveal.in { opacity: 1; animation: canvaPop .75s var(--pop-ease) backwards; animation-delay: var(--d, 0ms); }
html.no-motion .pledge-card.reveal, html.no-motion .eff.reveal, html.no-motion .env-slogans li.reveal, html.no-motion .strat li.reveal { opacity: 1; }

@media (max-width: 1024px) { #envPledges { grid-template-columns: repeat(3, 1fr); } .env-msg-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { #envPledges { grid-template-columns: repeat(2, 1fr); } .env-essay { padding: 20px; } .body-out { flex-direction: column; text-align: center; } .flow-arrow { transform: rotate(90deg); animation: none; } .trees-card, .bro-card { padding: 20px; } }
