/* ==========================================================================
   Asociația Ecologică CASUS — stiluri
   Paletă derivată din logo: verde frunză, maro trunchi, albastru cer.
   Titluri: Baloo 2 (rotunjit, prietenos, cu diacritice românești complete). Text: Nunito.
   ========================================================================== */

:root {
  --green: #159e45;
  --green-dark: #0f7a35;
  --green-deep: #0a5a27;
  --green-light: #e4f5ea;
  --lime: #8fd14f;
  --sun: #ffc93c;
  --coral: #ff7a59;
  --brown: #5a4a40;
  --sky: #d7ebf8;
  --sky-light: #eef7fd;
  --cream: #fbfdfb;
  --ink: #1f2a24;
  --muted: #5d6b63;
  --line: #dde7e0;
  --white: #ffffff;
  --radius: 22px;
  --shadow: 0 10px 30px rgba(31, 42, 36, 0.08);
  --shadow-lg: 0 24px 50px rgba(31, 42, 36, 0.14);
  --max: 1140px;
  --font: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Baloo 2", "Nunito", system-ui, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-dark); }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.15; margin: 0 0 0.45em; font-weight: 700; color: var(--ink); letter-spacing: -.005em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 3.9rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
.container { width: min(var(--max), 100% - 32px); margin-inline: auto; }
.section { padding: 84px 0; position: relative; }
.section-alt { background: var(--white); }
.section-sky { background: linear-gradient(180deg, var(--sky-light), var(--cream)); }
.section-green { background: linear-gradient(135deg, var(--green-deep), var(--green-dark) 55%, var(--green)); color: #fff; }
.section-green h2, .section-green h3 { color: #fff; }
.eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-dark);
  background: var(--green-light);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.section-green .eyebrow { background: rgba(255,255,255,.16); color: #fff; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 720px; }
.section-green .lead { color: rgba(255,255,255,.85); }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--green); color: #fff; padding: 8px 12px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* Cuvânt evidențiat cu subliniere desenată */
.hl { position: relative; display: inline-block; color: var(--green); }
.hl svg { position: absolute; left: -2%; bottom: -.08em; width: 104%; height: .35em; overflow: visible; }
.hl path { fill: none; stroke: var(--sun); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 400; stroke-dashoffset: 400; }
.in-view .hl path, .hl.in-view path { animation: draw 1s var(--ease) .4s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Bara de progres + buton sus */
.progress { position: fixed; top: 0; left: 0; height: 4px; width: 0; background: linear-gradient(90deg, var(--green), var(--lime)); z-index: 60; transition: width .1s linear; }
.to-top {
  position: fixed; right: 18px; bottom: 18px; width: 48px; height: 48px; border-radius: 50%; border: 0;
  background: var(--green); color: #fff; font-size: 1.3rem; cursor: pointer; box-shadow: var(--shadow-lg);
  opacity: 0; transform: translateY(16px); transition: .3s var(--ease); z-index: 55;
}
.to-top.show { opacity: 1; transform: none; }

/* Butoane */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px; font-weight: 800; font-size: 1rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s, background .2s;
  font-family: inherit;
}
.btn::after {
  content: ""; position: absolute; top: 0; left: -80%; width: 50%; height: 100%;
  background: linear-gradient(110deg, transparent, rgba(255,255,255,.45), transparent); transform: skewX(-20deg);
  transition: left .6s var(--ease);
}
.btn:hover::after { left: 130%; }
.btn:hover { transform: translateY(-3px); }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 8px 20px rgba(21,158,69,.28); }
.btn-primary:hover { background: var(--green-dark); box-shadow: 0 14px 28px rgba(21,158,69,.35); }
.btn-outline { background: transparent; color: var(--green-dark); border-color: var(--green); }
.btn-outline:hover { background: var(--green-light); }
.btn-light { background: #fff; color: var(--green-dark); }
.btn-lg { padding: 16px 30px; font-size: 1.1rem; }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,253,251,.9); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line); transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(31,42,36,.08); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 76px; transition: height .3s; }
.site-header.scrolled .container { height: 64px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { width: 54px; height: 54px; transition: transform .4s var(--ease); }
.brand:hover img { transform: rotate(-8deg) scale(1.06); }
.brand-name { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name strong { font-family: var(--display); font-size: 1.45rem; font-weight: 700; color: var(--green); letter-spacing: .14em; }
.brand-name span { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) { position: relative; padding: 8px 14px; border-radius: 10px; text-decoration: none; font-weight: 700; color: var(--ink); }
.nav a:not(.btn)::before { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 3px; border-radius: 2px; background: var(--lime); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:not(.btn):hover::before { transform: scaleX(1); }
.nav .btn { padding: 10px 18px; margin-left: 8px; }
.nav-toggle { display: none; background: none; border: 2px solid var(--line); border-radius: 10px; width: 44px; height: 44px; cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 4px auto; transition: .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 80px 0 70px; background: var(--cream); }
.hero .container { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; z-index: 2; }
.blob { position: absolute; border-radius: 50%; opacity: .8; pointer-events: none; will-change: transform; animation: drift 14s ease-in-out infinite alternate; }
.blob-1 { width: 620px; height: 620px; background: radial-gradient(circle, var(--sky) 0%, rgba(215,235,248,0) 68%); top: -200px; right: -120px; }
.blob-2 { width: 460px; height: 460px; background: radial-gradient(circle, #d8f3e0 0%, rgba(216,243,224,0) 68%); bottom: -160px; left: -120px; animation-duration: 18s; animation-delay: -6s; }
.blob-3 { width: 320px; height: 320px; background: radial-gradient(circle, #fff3c4 0%, rgba(255,243,196,0) 68%); top: 40%; left: 38%; opacity: .7; animation-duration: 11s; animation-delay: -3s; }
@keyframes drift { from { transform: translate(0,0) scale(1); } to { transform: translate(40px, 30px) scale(1.12); } }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 36px; }
.hero-art { position: relative; display: flex; justify-content: center; }
.hero-art picture { animation: bob 5s ease-in-out infinite; }
.hero-art img { width: min(420px, 100%); filter: drop-shadow(0 24px 30px rgba(31,42,36,.18)); }
@keyframes bob { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-14px) rotate(1deg); } }
.hero-ring { position: absolute; inset: 8% 12% 6%; border-radius: 50%; background: radial-gradient(circle at 50% 40%, #fff 0%, var(--sky) 55%, transparent 72%); z-index: -1; }
.hero-badge {
  position: absolute; background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg);
  padding: 10px 14px; font-weight: 800; font-size: .95rem; display: flex; gap: 8px; align-items: center;
  animation: bob 6s ease-in-out infinite;
}
.hero-badge.b1 { top: 6%; left: 0; animation-delay: -2s; transform: rotate(-4deg); }
.hero-badge.b2 { bottom: 12%; right: 0; animation-delay: -4s; transform: rotate(3deg); }
.hero-badge.b3 { top: 40%; right: -8%; animation-delay: -1s; background: var(--sun); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 560px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; transition: transform .3s var(--ease), box-shadow .3s; }
.stat:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.stat strong { display: block; font-family: var(--display); font-size: 1.9rem; color: var(--green); line-height: 1; font-weight: 700; }
.stat > span { font-size: .85rem; color: var(--muted); font-weight: 700; }

/* Bandă defilantă */
.ticker { background: var(--green); color: #fff; overflow: hidden; padding: 14px 0; border-top: 3px solid var(--lime); border-bottom: 3px solid var(--lime); }
.ticker-track { display: flex; gap: 48px; width: max-content; animation: ticker 28s linear infinite; font-family: var(--display); font-size: 1.15rem; letter-spacing: .02em; }
.ticker-track span { white-space: nowrap; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Separatoare ondulate */
.wave { display: block; width: 100%; height: 70px; margin-bottom: -1px; }
.wave-flip { transform: scaleY(-1); margin-top: -1px; margin-bottom: 0; }

/* Carduri generice */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.form-wrap > *, .row > *, .grid-2 > *, .grid-3 > *, .about-wrap > *, .contact-grid > *, .kit > *, .mascot-note > *, .news-grid > *, .social-grid > * { min-width: 0; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card .icon {
  width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center;
  background: var(--green-light); color: var(--green-dark); margin-bottom: 16px; font-size: 1.7rem;
  transition: transform .4s var(--ease);
}
.card:hover .icon { transform: rotate(-10deg) scale(1.1); }
.card p:last-child { margin-bottom: 0; }

/* Despre */
.about-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.about-list li { display: flex; gap: 12px; align-items: flex-start; }
.about-list .check {
  flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%; background: var(--green); color: #fff;
  display: grid; place-items: center; font-weight: 900; font-size: .9rem; margin-top: 2px;
}
.about-cards { display: grid; gap: 18px; }
.about-cards .card:nth-child(2) { margin-left: 28px; }
.about-cards .card:nth-child(3) { margin-left: 56px; }

/* Ateliere */
.workshop { position: relative; overflow: hidden; }
.workshop::before { content: ""; position: absolute; width: 200px; height: 200px; border-radius: 50%; right: -70px; top: -70px; background: var(--green-light); opacity: .7; transition: transform .5s var(--ease); }
.workshop:hover::before { transform: scale(1.5); }
.workshop > * { position: relative; }
.workshop .tag { position: absolute; top: 0; right: 0; font-size: .78rem; font-weight: 800; padding: 6px 12px; border-radius: 999px; transform: rotate(3deg); }
.tag-green { background: var(--green); color: #fff; }
.tag-brown { background: var(--brown); color: #fff; }
.workshop h3 { font-size: 1.7rem; margin-top: 8px; max-width: 80%; }
.workshop .subtitle { color: var(--green-dark); font-weight: 800; margin-bottom: 14px; }
.spec-list { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 10px; }
.spec-list li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; }
.spec-list .k { font-weight: 800; color: var(--ink); }
.spec-list .v { color: var(--muted); }
.price { display: flex; align-items: baseline; gap: 8px; margin: 18px 0; }
.price strong { font-family: var(--display); font-size: 2.2rem; color: var(--green); font-weight: 700; }
.price span { color: var(--muted); font-weight: 700; }
.includes { background: var(--green-light); border-radius: 14px; padding: 14px 16px; font-size: .95rem; }
.includes strong { color: var(--green-dark); }
.kit { margin-top: 40px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.kit-items { display: flex; flex-wrap: wrap; gap: 10px; }
.kit-items span { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-weight: 700; transition: transform .3s var(--ease), background .3s; }
.kit-items span:hover { transform: translateY(-3px) rotate(-2deg); background: var(--green-light); }
.mascot-note { display: grid; grid-template-columns: 180px 1fr; gap: 24px; align-items: center; margin-top: 40px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.mascot-note img { width: 160px; margin: 0 auto; animation: bob 6s ease-in-out infinite; }
.mascot-note p { margin: 0; color: var(--muted); }
.mascot-note strong { color: var(--ink); }
.speech { position: relative; background: var(--sky-light); border-radius: 18px; padding: 18px 20px; }
.speech::before { content: ""; position: absolute; left: -12px; top: 28px; border: 8px solid transparent; border-right-color: var(--sky-light); border-left: 0; }

/* Știați că */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.fact { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius); padding: 28px; transition: transform .35s var(--ease), background .3s; }
.fact:hover { transform: translateY(-6px); background: rgba(255,255,255,.16); }
.fact strong { display: block; font-family: var(--display); font-size: 2.8rem; line-height: 1; margin-bottom: 8px; color: var(--sun); font-weight: 700; }
.fact p { margin: 0; color: rgba(255,255,255,.9); }
.fact small { display: block; margin-top: 10px; color: rgba(255,255,255,.6); font-size: .8rem; }
.facts-src { margin-top: 20px; font-size: .85rem; color: rgba(255,255,255,.65); }

/* Pași */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.steps::before { content: ""; position: absolute; top: 2px; left: 12%; right: 12%; border-top: 3px dashed var(--line); z-index: 0; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px 22px; z-index: 1; transition: transform .35s var(--ease), box-shadow .35s; }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: -18px; left: 22px; width: 38px; height: 38px; border-radius: 50%;
  background: var(--green); color: #fff; font-weight: 900; display: grid; place-items: center; box-shadow: 0 0 0 5px var(--cream);
}
.section-alt .step::before { box-shadow: 0 0 0 5px #fff; }
.step .emoji { font-size: 1.8rem; margin-bottom: 8px; }
.step h3 { font-size: 1.15rem; margin-top: 6px; }
.step p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Noutăți */
.news-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 36px; }
.news-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.news-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s; }
.news-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.news-cover { position: relative; aspect-ratio: 4/3; display: grid; place-items: center; font-size: 3.4rem; overflow: hidden; }
.news-cover::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.35), transparent 50%); }
.news-cover span { transition: transform .5s var(--ease); }
.news-card:hover .news-cover span { transform: scale(1.18) rotate(-6deg); }
.cover-1 { background: linear-gradient(135deg, #ffd166, #ff7a59); }
.cover-2 { background: linear-gradient(135deg, #8fd14f, #159e45); }
.cover-3 { background: linear-gradient(135deg, #7cc6ff, #2f80ed); }
.cover-4 { background: linear-gradient(135deg, #c9a27e, #5a4a40); }
.cover-5 { background: linear-gradient(135deg, #b794f4, #6b46c1); }
.news-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.news-meta { font-size: .8rem; font-weight: 800; color: var(--green-dark); text-transform: uppercase; letter-spacing: .08em; }
.news-card h3 { font-size: 1.15rem; margin: 0; }
.news-card p { margin: 0; color: var(--muted); font-size: .93rem; flex: 1; }
.news-card .more { font-weight: 800; color: var(--green-dark); }
.news-card:hover .more { text-decoration: underline; }

/* Articol */
.article-hero { padding: 60px 0 40px; }
.article-hero .cover { aspect-ratio: 16/6; border-radius: var(--radius); display: grid; place-items: center; font-size: 5rem; margin-top: 28px; box-shadow: var(--shadow); }
.article-body { padding-bottom: 80px; }
.prose { max-width: 780px; }
.prose h2 { font-size: 1.5rem; margin-top: 2em; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose blockquote { margin: 1.5em 0; padding: 16px 22px; border-left: 5px solid var(--lime); background: var(--green-light); border-radius: 0 14px 14px 0; font-weight: 700; }
.prose .cta-box { margin-top: 40px; background: var(--green-light); border-radius: var(--radius); padding: 26px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.prose .cta-box p { margin: 0; font-weight: 700; }
.article-nav { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px; }
.src { font-size: .85rem; color: var(--muted); }

/* FAQ */
.faq { max-width: 820px; margin: 36px auto 0; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 0 22px; transition: box-shadow .3s; }
.faq details[open] { box-shadow: var(--shadow); border-color: var(--lime); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 0; font-weight: 800; position: relative; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--green-light); color: var(--green-dark); display: grid; place-items: center; font-weight: 900; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq .answer { padding: 0 0 18px; color: var(--muted); animation: fadeDown .35s var(--ease); }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* Social */
.social-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
.fb-frame { border: 0; width: 100%; max-width: 500px; height: 560px; border-radius: var(--radius); box-shadow: var(--shadow-lg); background: #fff; margin-inline: auto; }
.social-tips { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.social-tips li { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; }
.social-tips .em { font-size: 1.4rem; }

/* Formular */
.form-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
.form-aside { position: sticky; top: 96px; }
.form-aside .card { background: var(--green-light); border-color: transparent; box-shadow: none; }
.form-aside .card:hover { transform: none; }
.form-aside ul { padding-left: 20px; margin: 10px 0 0; color: var(--muted); }
.form-aside li { margin-bottom: 6px; }
form.enroll { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
fieldset { border: 0; padding: 0; margin: 0 0 26px; }
legend { font-family: var(--display); font-weight: 700; font-size: 1.2rem; margin-bottom: 14px; padding: 0; color: var(--green-dark); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 800; font-size: .95rem; }
.field .hint { font-size: .85rem; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-width: 0;
  font: inherit; padding: 12px 14px; border: 2px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(21,158,69,.12); }
.field textarea { min-height: 110px; resize: vertical; }
.req { color: #c62828; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; }
.choice label { display: block; border: 2px solid var(--line); border-radius: 14px; padding: 14px 16px; cursor: pointer; height: 100%; transition: .2s; }
.choice label strong { display: block; font-weight: 900; }
.choice label span { font-size: .88rem; color: var(--muted); }
.choice input:checked + label { border-color: var(--green); background: var(--green-light); transform: scale(1.02); }
.choice input:focus-visible + label { outline: 3px solid rgba(21,158,69,.35); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--muted); margin-bottom: 20px; }
.consent input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--green); flex: 0 0 auto; }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: 12px; font-weight: 700; display: none; }
.form-status.ok { display: block; background: var(--green-light); color: var(--green-dark); }
.form-status.err { display: block; background: #fdecea; color: #b3261e; }
.honey { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.confetti { position: absolute; width: 10px; height: 14px; border-radius: 3px; top: 50%; left: 50%; pointer-events: none; animation: pop 1.2s var(--ease) forwards; }
@keyframes pop { to { transform: translate(var(--dx), var(--dy)) rotate(720deg); opacity: 0; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: stretch; }
.contact-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 16px; }
.contact-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.contact-list .ci { width: 44px; height: 44px; border-radius: 12px; background: var(--green-light); color: var(--green-dark); display: grid; place-items: center; font-size: 1.2rem; }
.contact-list strong { display: block; }
.contact-list a { text-decoration: none; font-weight: 700; }
.map { border: 0; width: 100%; min-height: 360px; border-radius: var(--radius); box-shadow: var(--shadow); }

/* Footer */
.site-footer { position: relative; background: var(--brown); color: #efe8e3; padding: 56px 0 24px; overflow: hidden; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; margin-bottom: 32px; position: relative; }
.site-footer h4 { color: #fff; margin-bottom: 10px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer .brand-name strong { color: #fff; }
.site-footer .brand-name span { color: #d8cdc4; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); padding-top: 18px; font-size: .88rem; color: #d8cdc4; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; position: relative; }
.footer-tree { position: absolute; right: -40px; bottom: -60px; width: 320px; opacity: .08; pointer-events: none; }

/* Animații la scroll */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in-view { opacity: 1; transform: none; }
.js .reveal-left { transform: translateX(-36px); }
.js .reveal-right { transform: translateX(36px); }
.js .reveal-scale { transform: scale(.92); }
.js .stagger > * { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .stagger.in-view > * { opacity: 1; transform: none; }
.stagger.in-view > *:nth-child(1) { transition-delay: .05s; }
.stagger.in-view > *:nth-child(2) { transition-delay: .15s; }
.stagger.in-view > *:nth-child(3) { transition-delay: .25s; }
.stagger.in-view > *:nth-child(4) { transition-delay: .35s; }
.stagger.in-view > *:nth-child(5) { transition-delay: .45s; }
.stagger.in-view > *:nth-child(6) { transition-delay: .55s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .stagger > * { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 960px) {
  .hero .container, .about-wrap, .form-wrap, .contact-grid, .social-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .hero-art img { width: min(300px, 70%); }
  .grid-3, .news-grid, .facts { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-aside { position: static; }
  .about-cards .card:nth-child(2), .about-cards .card:nth-child(3) { margin-left: 0; }
}
@media (max-width: 720px) {
  .section { padding: 60px 0; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--line); padding: 12px 16px 18px; gap: 4px;
  }
  .nav.open { display: flex; animation: fadeDown .3s var(--ease); }
  .nav .btn { margin: 8px 0 0; justify-content: center; }
  .nav-toggle { display: block; }
  .grid-3, .grid-2, .steps, .row, .choice-grid, .footer-grid, .kit, .mascot-note, .news-grid, .facts { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .stat { padding: 10px; }
  .stat strong { font-size: 1.4rem; }
  .hero-badge { display: none; }
  .hero { padding: 40px 0 50px; }
  form.enroll { padding: 22px 18px; }
  .brand-name span { display: none; }
  .workshop h3 { max-width: 100%; margin-top: 36px; }
  .fb-frame { height: 500px; }
  .article-hero .cover { aspect-ratio: 16/9; font-size: 3.5rem; }
}

/* ==========================================================================
   Structură pe pagini: hero asociație, antet de pagină, programe, valori
   ========================================================================== */

.nav a.active:not(.btn) { color: var(--green-dark); }
.nav a.active:not(.btn)::before { transform: scaleX(1); background: var(--green); }

/* Hero asociație (pagina de start) */
.hero-kicker { font-family: var(--display); font-size: clamp(1.1rem, 2vw, 1.4rem); color: var(--brown); letter-spacing: .16em; text-transform: uppercase; margin: 0 0 4px; }
.hero h1 .big { display: block; font-size: 1.5em; letter-spacing: .06em; line-height: 1; }
.hero-logo { min-height: 440px; align-items: center; }
.logo-disc {
  position: relative; width: min(380px, 78%); aspect-ratio: 1; border-radius: 50%; background: #fff;
  display: grid; place-items: center; box-shadow: var(--shadow-lg); animation: bob 6s ease-in-out infinite; z-index: 2;
}
.logo-disc img { width: 82%; filter: none; }
.ring { position: absolute; border-radius: 50%; border: 3px dashed rgba(21,158,69,.35); animation: spin 60s linear infinite; }
.ring-1 { width: min(470px, 96%); aspect-ratio: 1; }
.ring-2 { width: min(560px, 114%); aspect-ratio: 1; border-color: rgba(90,74,64,.18); animation-duration: 90s; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.chip {
  position: absolute; z-index: 3; background: #fff; border-radius: 999px; box-shadow: var(--shadow-lg);
  padding: 10px 16px; font-weight: 800; font-size: .95rem; white-space: nowrap; animation: bob 6s ease-in-out infinite;
}
.chip.c1 { top: 4%; left: 2%; animation-delay: -1s; }
.chip.c2 { top: 16%; right: -2%; animation-delay: -3s; background: var(--sun); }
.chip.c3 { bottom: 14%; left: -2%; animation-delay: -2s; background: var(--green); color: #fff; }
.chip.c4 { bottom: 4%; right: 6%; animation-delay: -4s; }

/* Antet pagini interioare */
.page-hero { position: relative; overflow: hidden; padding: 64px 0 60px; text-align: center; background: linear-gradient(180deg, var(--sky-light), var(--cream)); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); margin-bottom: .3em; }
.page-hero .lead { margin-inline: auto; }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 14px; font-weight: 700; }
.crumbs a { text-decoration: none; }
.page-hero .mascot { width: 150px; margin: 0 auto 10px; animation: bob 6s ease-in-out infinite; }

/* Programe (ce facem) */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-4 > * { min-width: 0; }
.program { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--ink); }
.program .num { position: absolute; right: 16px; top: 2px; font-family: var(--display); font-size: 3.4rem; font-weight: 700; color: var(--green-light); line-height: 1; transition: color .3s, transform .4s var(--ease); }
.program:hover .num { color: var(--lime); transform: scale(1.15) rotate(-6deg); }
.program h3 { font-size: 1.2rem; margin: 0; }
.program p { color: var(--muted); font-size: .95rem; flex: 1; }
.program .more { font-weight: 800; color: var(--green-dark); }
.program:hover .more { text-decoration: underline; }

/* Bandă secundară (ateliere) */
.band { display: grid; grid-template-columns: 130px 1fr auto; gap: 28px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 32px; box-shadow: var(--shadow); }
.band > * { min-width: 0; }
.band img { width: 120px; animation: bob 6s ease-in-out infinite; }
.band h3 { margin-bottom: .3em; }
.band p { margin: 0; color: var(--muted); }

/* Misiune / viziune */
.mv { position: relative; overflow: hidden; }
.mv::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 8px; background: linear-gradient(var(--green), var(--lime)); }
.mv.alt::before { background: linear-gradient(var(--sun), var(--coral)); }
.mv { padding-left: 36px; }

/* Parteneri */
.partners { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 32px; }
.partner { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 22px; font-weight: 800; display: flex; gap: 10px; align-items: center; box-shadow: var(--shadow); transition: transform .3s var(--ease); }
.partner:hover { transform: translateY(-4px) rotate(-1deg); }
.partner small { display: block; font-weight: 700; color: var(--muted); font-size: .82rem; }

/* CTA final */
.cta-band { text-align: center; }
.cta-band .lead { margin-inline: auto; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 26px; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }

.section-head { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.section-head .lead { margin-inline: auto; }

@media (max-width: 960px) {
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .hero-logo { min-height: 360px; }
  .ring-2 { display: none; }
}
@media (max-width: 900px) {
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--line); padding: 12px 16px 18px; gap: 4px;
  }
  .nav.open { display: flex; animation: fadeDown .3s var(--ease); }
  .nav .btn { margin: 8px 0 0; justify-content: center; }
  .nav-toggle { display: block; }
}
@media (max-width: 720px) {
  .grid-4 { grid-template-columns: 1fr; }
  .band { grid-template-columns: 1fr; text-align: center; padding: 24px 20px; }
  .band img { margin: 0 auto; }
  .hero-logo { min-height: 300px; }
  .logo-disc { width: min(250px, 70%); }
  .ring-1 { width: min(310px, 88%); }
  .chip { font-size: .8rem; padding: 7px 12px; }
  .chip.c2 { right: 0; } .chip.c3 { left: 0; }
  .page-hero { padding: 44px 0 40px; }
  .mv { padding-left: 30px; }
}

.news-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .news-grid.cols-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .news-grid.cols-3 { grid-template-columns: 1fr; } }

/* Emblemă (copacul din siglă, fără text) */
.brand img { height: auto; }
.logo-disc img { width: 78%; height: auto; margin-top: -2%; }
.site-footer .brand img { background: #fff; border-radius: 50%; padding: 5px; width: 58px; }

/* ==========================================================================
   Motion graphics: planeta, banda reciclării, nori, pădurea din subsol
   ========================================================================== */

@keyframes grow { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes sway { from { transform: rotate(-3deg); } to { transform: rotate(3deg); } }
@keyframes twinkle { 0%, 100% { opacity: .15; transform: scale(.6); } 50% { opacity: 1; transform: scale(1.15); } }
@keyframes cloudSlide { from { transform: translateX(-26px); } to { transform: translateX(26px); } }
@keyframes globeSpin { to { transform: translateX(-600px); } }
@keyframes iconFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes wiggle { 0%, 100% { transform: rotate(0) scale(1.1); } 25% { transform: rotate(-12deg) scale(1.1); } 75% { transform: rotate(12deg) scale(1.1); } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.18); } }

/* Planeta */
.planet-scene { min-height: 0; align-items: center; }
.planet { width: min(520px, 100%); height: auto; overflow: visible; filter: none; animation: bob 7s ease-in-out infinite; }
.planet .continents { animation: globeSpin 38s linear infinite; }
.planet .rays { transform-origin: 418px 92px; animation: spin 24s linear infinite; }
.planet .sun { transform-origin: 418px 92px; animation: pulse 5s ease-in-out infinite; }
.planet .blades { transform-origin: 250px 92px; animation: spin 3.5s linear infinite; }
.planet .ptree { transform-box: fill-box; transform-origin: 50% 100%; animation: grow 1.1s var(--ease) both, sway 4.5s ease-in-out infinite alternate; animation-delay: var(--gd, 0s), calc(var(--gd, 0s) + 1.1s); }
.planet .pturbine { animation: grow 1.1s var(--ease) both; animation-delay: var(--gd, 0s); }
.planet .tw { transform-box: fill-box; transform-origin: center; animation: twinkle 3s ease-in-out infinite; animation-delay: var(--td, 0s); }
.planet .pcloud { animation: cloudSlide 9s ease-in-out infinite alternate; }
.planet .pc2 { animation-duration: 12s; animation-direction: alternate-reverse; }
.planet .pc3 { animation-duration: 7s; }
.logo-sticker {
  position: absolute; right: 3%; bottom: 3%; width: 104px; aspect-ratio: 1; border-radius: 50%; background: #fff;
  display: grid; place-items: center; box-shadow: var(--shadow-lg); z-index: 3; animation: bob 6s ease-in-out infinite; animation-delay: -2s;
  border: 3px solid var(--green-light);
}
.logo-sticker img { width: 74%; height: auto; filter: none; }
.planet-scene .chip.c1 { top: 2%; left: -6%; }
.planet-scene .chip.c2 { top: 34%; right: -4%; }
.planet-scene .chip.c3 { bottom: 6%; left: 0; }

/* Pictograme vii */
.card .icon { animation: iconFloat 4s ease-in-out infinite; }
.grid-3 > :nth-child(2) .icon, .grid-4 > :nth-child(2) .icon, .about-cards > :nth-child(2) .icon { animation-delay: -1.3s; }
.grid-3 > :nth-child(3) .icon, .grid-4 > :nth-child(3) .icon, .about-cards > :nth-child(3) .icon { animation-delay: -2.6s; }
.grid-4 > :nth-child(4) .icon { animation-delay: -3.2s; }
.card:hover .icon { animation: wiggle .6s var(--ease); }

/* Banda reciclării */
.journey { margin-top: 60px; }
.journey h3 { color: #fff; text-align: center; margin-bottom: 26px; font-size: 1.5rem; }
.journey-track { display: grid; grid-template-columns: 1fr 140px 1fr; align-items: end; }
.belt { position: relative; height: 92px; overflow: hidden; border-bottom: 12px solid rgba(0,0,0,.28); }
.belt-in { border-radius: 0 0 0 12px; }
.belt-out { border-radius: 0 0 12px 0; }
.belt::after {
  content: ""; position: absolute; left: -28px; right: 0; bottom: 0; height: 5px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.55) 0 14px, transparent 14px 28px);
  animation: beltMove .8s linear infinite;
}
@keyframes beltMove { to { transform: translateX(28px); } }
@keyframes ride { from { left: -14%; } to { left: 104%; } }
.jitem, .jmat { position: absolute; left: -14%; animation: ride 10s linear infinite; animation-delay: var(--d, 0s); white-space: nowrap; }
.jitem { bottom: 6px; font-size: 2.3rem; line-height: 1; }
.jmat { bottom: 12px; background: #fff; color: var(--green-dark); font-weight: 800; font-size: .9rem; padding: 6px 14px; border-radius: 999px; box-shadow: 0 4px 10px rgba(0,0,0,.15); }
.machine {
  position: relative; z-index: 2; height: 128px; background: #fff; border-radius: 22px 22px 10px 10px;
  box-shadow: 0 14px 30px rgba(0,0,0,.25); display: grid; place-items: center; border-bottom: 12px solid var(--sun);
}
.machine .recy { font-size: 2.6rem; animation: pulse 2s ease-in-out infinite; }
.machine .gear { position: absolute; font-size: 1.7rem; animation: spin 4s linear infinite; }
.machine .g1 { top: 8px; left: 10px; }
.machine .g2 { top: 8px; right: 10px; animation-direction: reverse; animation-duration: 3s; }
.journey-labels { display: grid; grid-template-columns: 1fr 140px 1fr; margin-top: 14px; text-align: center; font-weight: 800; font-size: .92rem; color: rgba(255,255,255,.9); }

/* Nori (antete pagini interioare) */
.clouds { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.clouds span { position: absolute; left: 0; width: 120px; height: 36px; background: #fff; border-radius: 999px; opacity: .9; animation: cloudDrift 46s linear infinite; }
.clouds span::before, .clouds span::after { content: ""; position: absolute; background: #fff; border-radius: 50%; }
.clouds span::before { width: 50px; height: 50px; left: 18px; top: -22px; }
.clouds span::after { width: 38px; height: 38px; right: 20px; top: -14px; }
.clouds span:nth-child(1) { top: 18%; animation-delay: -8s; }
.clouds span:nth-child(2) { top: 62%; transform: scale(.7); animation-duration: 64s; animation-delay: -40s; opacity: .7; }
.clouds span:nth-child(3) { top: 36%; animation-duration: 54s; animation-delay: -26s; }
@keyframes cloudDrift { from { translate: -160px 0; } to { translate: 100vw 0; } }

/* Pădurea de deasupra subsolului */
.forest { position: relative; height: 120px; overflow: hidden; background: linear-gradient(180deg, rgba(238,247,253,0), var(--sky-light)); }
.forest::after { content: ""; position: absolute; left: -6%; right: -6%; bottom: -44px; height: 76px; background: var(--brown); border-radius: 50% 50% 0 0 / 100% 100% 0 0; }
.forest .ftree { position: absolute; z-index: 1; transform-origin: 50% 100%; }
.forest .ftree svg { display: block; width: 100%; height: 100%; }
.js .forest:not(.grown) .ftree { opacity: 0; }
.forest.grown .ftree { animation: grow .9s var(--ease) both, sway var(--sw, 5s) ease-in-out infinite alternate; animation-delay: var(--gd, 0s), calc(var(--gd, 0s) + .9s); }
.forest + .site-footer { padding-top: 40px; }

@media (max-width: 960px) {
  .planet { width: min(380px, 86%); }
  .logo-sticker { width: 84px; right: 8%; }
}
@media (max-width: 720px) {
  .planet-scene .chip { display: none; }
  .journey-track, .journey-labels { grid-template-columns: 1fr 96px 1fr; }
  .jitem { font-size: 1.7rem; }
  .jmat { font-size: .74rem; padding: 4px 9px; }
  .machine { height: 104px; }
  .machine .recy { font-size: 2rem; }
  .machine .gear { font-size: 1.2rem; }
  .journey-labels { font-size: .74rem; gap: 4px; }
  .forest { height: 90px; }
}
@media (prefers-reduced-motion: reduce) {
  .planet .sat { display: none; }
  .jitem, .jmat { position: static; display: inline-block; margin: 20px 4px 0; }
}

/* ==========================================================================
   Pictograme SVG (set Lucide) și fotografii
   ========================================================================== */

.ico { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.22em; flex: 0 0 auto; }

/* Plăcuțe colorate pentru pictogramele din carduri */
.card .icon { background: linear-gradient(135deg, var(--green), #46c56f); color: #fff; box-shadow: 0 10px 20px rgba(21,158,69,.28); font-size: 1rem; }
.card .icon .ico { width: 30px; height: 30px; stroke-width: 1.9; }
.grid-3 > :nth-child(2) .icon, .grid-4 > :nth-child(2) .icon, .about-cards > :nth-child(2) .icon { background: linear-gradient(135deg, #ffb72b, var(--coral)); box-shadow: 0 10px 20px rgba(255,122,89,.3); }
.grid-3 > :nth-child(3) .icon, .grid-4 > :nth-child(3) .icon, .about-cards > :nth-child(3) .icon { background: linear-gradient(135deg, #5db7f5, #2f80ed); box-shadow: 0 10px 20px rgba(47,128,237,.28); }
.grid-4 > :nth-child(4) .icon { background: linear-gradient(135deg, #8a6f5e, var(--brown)); box-shadow: 0 10px 20px rgba(90,74,64,.28); }

.step .emoji { width: 54px; height: 54px; border-radius: 16px; background: var(--green-light); color: var(--green-dark); display: grid; place-items: center; margin-bottom: 10px; font-size: 1rem; transition: transform .4s var(--ease), background .3s, color .3s; }
.step .emoji .ico { width: 28px; height: 28px; }
.step:hover .emoji { background: var(--green); color: #fff; transform: rotate(-8deg) scale(1.08); }

.spec-list li > span:first-child { color: var(--green); }
.spec-list .ico { width: 22px; height: 22px; margin-top: 2px; }
.kit-items span { display: inline-flex; align-items: center; gap: 8px; }
.kit-items .ico { color: var(--green); }
.chip { display: inline-flex; align-items: center; gap: 8px; }
.chip .ico { color: var(--green-dark); }
.chip.c2 .ico { color: var(--brown); }
.chip.c3 .ico { color: #fff; }
.ticker-track span { display: inline-flex; align-items: center; gap: 10px; }
.ticker-track .ico { color: var(--sun); }
.contact-list .ci .ico { width: 22px; height: 22px; }
.social-tips .em { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 12px; background: var(--green-light); color: var(--green-dark); display: grid; place-items: center; font-size: 1rem; }
.social-tips .em .ico { width: 22px; height: 22px; }
.partner > .ico { width: 30px; height: 30px; color: var(--green); }
.news-meta { display: flex; align-items: center; gap: 6px; }
.news-meta .ico { width: 16px; height: 16px; }

/* Banda reciclării: plăcuțe în loc de emoji */
.jitem { width: 46px; height: 46px; border-radius: 14px; background: #fff; color: var(--green-dark); display: grid; place-items: center; box-shadow: 0 6px 14px rgba(0,0,0,.18); bottom: 10px; font-size: 1rem; }
.jitem .ico { width: 26px; height: 26px; }
.machine .gear { color: #9aa9a0; font-size: 1rem; }
.machine .gear .ico { width: 26px; height: 26px; }
.machine .recy { color: var(--green); font-size: 1rem; }
.machine .recy .ico { width: 46px; height: 46px; stroke-width: 1.8; }

/* Fotografii */
.news-cover { display: block; background: var(--green-light); }
.news-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.news-card:hover .news-cover img { transform: scale(1.07); }
.news-cover::after { background: linear-gradient(180deg, transparent 55%, rgba(15,60,35,.28)); }

.program.has-photo { padding-top: 0; }
.program-photo { margin: 0 -28px; height: 150px; overflow: hidden; position: relative; background: var(--green-light); }
.program-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.program:hover .program-photo img { transform: scale(1.07); }
.program.has-photo .icon { margin-top: -29px; position: relative; z-index: 1; border: 4px solid #fff; }
.program.has-photo .num { top: 8px; right: 14px; z-index: 1; color: #fff; font-size: 2.4rem; text-shadow: 0 2px 10px rgba(0,0,0,.5); }
.program.has-photo:hover .num { color: var(--sun); }

.workshop.has-photo { padding-top: 0; }
.workshop.has-photo::before { display: none; }
.workshop-photo { margin: 0 -28px 22px; height: 230px; overflow: hidden; background: var(--green-light); }
.workshop-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.workshop:hover .workshop-photo img { transform: scale(1.05); }
.workshop.has-photo .tag { top: 14px; right: 14px; z-index: 2; }
.workshop.has-photo h3 { max-width: 100%; margin-top: 0; }

.kit.has-photo { grid-template-columns: 200px 1fr auto; }
.kit-photo { width: 200px; height: 150px; object-fit: cover; border-radius: 18px; box-shadow: var(--shadow-lg); transform: rotate(-3deg); border: 5px solid #fff; }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.gallery figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; background: var(--green-light); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery figure:hover img { transform: scale(1.08); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; color: #fff; font-weight: 800; font-size: .9rem; line-height: 1.3; background: linear-gradient(180deg, transparent, rgba(10,40,25,.82)); }

.article-hero .cover.photo { display: block; margin: 28px 0 0; padding: 0; aspect-ratio: 16 / 8; overflow: hidden; font-size: 0; }
.article-hero .cover.photo img { width: 100%; height: 100%; object-fit: cover; }
.inline-photo { margin: 1.8em 0; }
.inline-photo img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.inline-photo figcaption { font-size: .88rem; color: var(--muted); margin-top: 8px; text-align: center; }

@media (max-width: 960px) {
  .gallery { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .kit.has-photo { grid-template-columns: 1fr; }
  .kit-photo { width: 100%; height: 190px; transform: none; }
  .workshop-photo { height: 190px; }
  .jitem { width: 36px; height: 36px; border-radius: 10px; }
  .jitem .ico { width: 20px; height: 20px; }
  .machine .recy .ico { width: 36px; height: 36px; }
  .gallery { gap: 10px; }
  .gallery figcaption { font-size: .78rem; padding: 22px 10px 8px; }
  .article-hero .cover.photo { aspect-ratio: 16 / 10; }
}
@media (prefers-reduced-motion: reduce) {
  .jitem { display: inline-grid; position: static; }
}

/* ==========================================================================
   Runda 5: copaci interactivi + corecții pentru mobil
   ========================================================================== */

/* Copacii din subsol reacționează la mouse: se apleacă (--lean) și cresc puțin (--pop) */
.forest { cursor: pointer; touch-action: pan-y; }
.forest .ftree svg { transform-origin: 50% 100%; transform: rotate(var(--lean, 0deg)) scale(var(--pop, 1)); transition: transform .45s var(--ease); }
.forest .ftree.shake svg { animation: treeShake .9s ease-in-out; }
@keyframes treeShake {
  0% { transform: rotate(0) scale(1); }
  20% { transform: rotate(-11deg) scale(1.1); }
  40% { transform: rotate(9deg) scale(1.12); }
  60% { transform: rotate(-6deg) scale(1.07); }
  80% { transform: rotate(3deg) scale(1.03); }
  100% { transform: rotate(0) scale(1); }
}

/* Pagina nu trebuie să se poată mișca pe orizontală */
/* overflow-x se pune doar pe body: pe html ar transforma body în container de derulare și antetul fix nu ar mai sta sus */

@media (max-width: 960px) {
  /* Pe ecrane înguste, intrările din lateral lățeau pagina până la apariție: le facem de jos în sus */
  .js .reveal-left, .js .reveal-right { transform: translateY(28px); }
  .js .reveal-left.in-view, .js .reveal-right.in-view { transform: none; }
}

a[href^="tel:"] { white-space: nowrap; }

@media (max-width: 720px) {
  /* Banda reciclării, pe verticală: fiecare bandă primește toată lățimea, ca plăcuțele să nu se suprapună */
  .journey-track { grid-template-columns: 1fr; }
  .journey-labels { display: none; }
  .belt { height: 100px; border-radius: 0 0 12px 12px; }
  .belt::before { position: absolute; top: 4px; left: 2px; font-weight: 800; font-size: .82rem; color: rgba(255,255,255,.95); }
  .belt-in::before { content: "1. Aparate vechi predate corect"; }
  .belt-out::before { content: "3. Materii prime pentru produse noi"; }
  .machine { width: 150px; height: 96px; margin: 16px auto 46px; }
  .machine::after { content: "2. Demontare și sortare"; position: absolute; left: 50%; bottom: -40px; transform: translateX(-50%); white-space: nowrap; font-weight: 800; font-size: .82rem; color: rgba(255,255,255,.95); }
  .jmat { font-size: .82rem; padding: 5px 12px; }

  /* Balonul Profesorului EcoFix arată în sus când mascota stă deasupra lui */
  .speech::before { left: 50%; top: -8px; margin-left: -8px; border: 8px solid transparent; border-top: 0; border-bottom-color: var(--sky-light); border-right-color: transparent; }

  .stat > span { display: block; line-height: 1.25; margin-top: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  /* Fără mișcare: banda devine un rând static, lizibil */
  .belt { height: auto; overflow: visible; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center; padding: 12px 6px 14px; }
  .belt::after { display: none; }
  .jitem, .jmat { position: static; margin: 0; }
  .jmat { display: inline-block; }
}
@media (max-width: 720px) and (prefers-reduced-motion: reduce) {
  .belt { padding-top: 32px; }
}

/* Adresele lungi de e-mail se pot rupe pe ecrane foarte înguste */
a[href^="mailto:"] { overflow-wrap: anywhere; }
.contact-list li > div { min-width: 0; }

@media (max-width: 720px) {
  /* Planeta mai mică pe telefon, ca numele Asociației să intre în primul ecran */
  .hero { padding-top: 20px; }
  .hero .container { gap: 18px; }
  .planet { width: min(262px, 68%); }
  .logo-sticker { width: 70px; right: 12%; bottom: 0; }
}
@media (max-width: 350px) {
  .contact-list a[href^="mailto:"] { font-size: .86rem; }
}

/* ==========================================================================
   Formulare: câmpuri mai aerisite + formularul de înscriere în pași
   ========================================================================== */

[hidden] { display: none !important; }

form.enroll { border-radius: 26px; padding: 34px; box-shadow: var(--shadow-lg); }
.field label, .field .field-label { font-weight: 800; font-size: .95rem; }
.field input, .field select, .field textarea { background: #f6faf7; border-color: #e3ece6; border-radius: 14px; padding: 13px 15px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #c5d8cc; }
.field input:focus, .field select:focus, .field textarea:focus { background: #fff; border-color: var(--green); box-shadow: 0 0 0 4px rgba(21,158,69,.14); }
.field input::placeholder, .field textarea::placeholder { color: #9aa9a0; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #d64545; background: #fff7f6; }
.err { display: block; color: #b3261e; font-size: .86rem; font-weight: 800; margin-top: 4px; animation: fadeDown .25s var(--ease); }
.consent { flex-wrap: wrap; }
.consent.invalid { color: #b3261e; }
.consent .err { flex: 0 0 100%; }

/* Pași */
.wizard-wrap { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr); gap: 32px; align-items: start; }
.wizard { scroll-margin-top: 90px; }
.wz-steps, .wz-bar { display: none; }
.wizard-on .wz-steps { display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; padding: 0; margin: 0 0 10px; }
.wz-steps li { display: flex; justify-content: center; }
.wz-steps li:first-child { justify-content: flex-start; }
.wz-steps li:last-child { justify-content: flex-end; }
.wz-steps button { display: inline-flex; align-items: center; gap: 10px; background: none; border: 0; padding: 4px 0; font: inherit; font-weight: 800; color: var(--muted); cursor: pointer; }
.wz-steps .n { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #eef3ef; color: var(--muted); font-family: var(--display); font-size: 1.1rem; transition: background .3s, color .3s, transform .3s var(--ease), box-shadow .3s; }
.wz-steps .is-current button { color: var(--ink); }
.wz-steps .is-current .n { background: var(--green); color: #fff; transform: scale(1.1); box-shadow: 0 6px 16px rgba(21,158,69,.35); }
.wz-steps .is-done button { color: var(--green-dark); }
.wz-steps .is-done .n { background: var(--green-light); color: var(--green-dark); }
.wizard-on .wz-bar { display: block; height: 6px; border-radius: 999px; background: #eef3ef; margin-bottom: 28px; overflow: hidden; }
.wz-bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--green), var(--lime)); transition: width .5s var(--ease); }
.wz-panel { margin: 0 0 8px; }
.wizard-on .wz-panel { animation: panelIn .45s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
.wz-panel legend { font-size: 1.5rem; color: var(--ink); margin-bottom: 18px; }

/* Alegerea atelierului */
.pick-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 22px; }
.pick-grid > .err { grid-column: 1 / -1; }
.pick { position: relative; display: flex; flex-direction: column; border: 2px solid var(--line); border-radius: 20px; overflow: hidden; cursor: pointer; background: #fff; transition: border-color .25s, box-shadow .25s, transform .3s var(--ease); min-width: 0; }
.pick:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.pick input { position: absolute; opacity: 0; pointer-events: none; }
.pick-photo { display: block; height: 130px; overflow: hidden; background: var(--green-light); }
.pick-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), filter .3s; filter: saturate(.75); }
.pick-body { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px 16px; }
.pick-body strong { font-family: var(--display); font-size: 1.2rem; line-height: 1.2; }
.pick-body em { font-style: normal; font-weight: 800; color: var(--green-dark); font-size: .92rem; }
.pick-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.pick-meta span { display: inline-flex; align-items: center; gap: 5px; font-size: .8rem; font-weight: 800; color: var(--muted); background: #f1f5f2; border-radius: 999px; padding: 4px 10px; }
.pick-meta .ico { width: 14px; height: 14px; }
.pick-meta .price-chip { background: var(--green-light); color: var(--green-dark); }
.pick-check { position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; border-radius: 50%; background: #fff; color: transparent; display: grid; place-items: center; box-shadow: 0 2px 8px rgba(0,0,0,.2); transition: background .25s, color .25s, transform .3s var(--ease); }
.pick-check .ico { width: 18px; height: 18px; stroke-width: 3; }
.pick:has(input:checked) { border-color: var(--green); box-shadow: 0 0 0 4px rgba(21,158,69,.14), var(--shadow); }
.pick:has(input:checked) .pick-photo img { filter: none; transform: scale(1.05); }
.pick:has(input:checked) .pick-check { background: var(--green); color: #fff; transform: scale(1.1); }
.pick:has(input:focus-visible) { outline: 3px solid rgba(21,158,69,.45); outline-offset: 2px; }

/* Butoane segmentate */
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; border-radius: 999px; border: 2px solid #e3ece6; background: #f6faf7; font-weight: 800; font-size: .95rem; transition: .2s; }
.seg span .ico { width: 18px; height: 18px; color: var(--green); }
.seg label:hover span { border-color: #c5d8cc; }
.seg input:checked + span { background: var(--green); border-color: var(--green); color: #fff; box-shadow: 0 6px 14px rgba(21,158,69,.28); }
.seg input:checked + span .ico { color: #fff; }
.seg input:focus-visible + span { outline: 3px solid rgba(21,158,69,.45); outline-offset: 2px; }
.field.invalid .seg span { border-color: #e7a9a4; }

/* Variante rapide */
.quick { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.quick button { font: inherit; font-size: .84rem; font-weight: 800; color: var(--green-dark); background: var(--green-light); border: 0; border-radius: 999px; padding: 7px 13px; cursor: pointer; transition: .2s; min-height: 40px; }
.quick button:hover { background: #cfeeda; }
.quick button.on { background: var(--green); color: #fff; }

/* Număr de copii */
.stepper { display: grid; grid-template-columns: 48px 1fr 48px; gap: 6px; }
.stepper input { text-align: center; font-weight: 800; -moz-appearance: textfield; appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper button { border: 2px solid #e3ece6; background: #f6faf7; border-radius: 14px; font-size: 1.4rem; font-weight: 800; color: var(--green-dark); cursor: pointer; transition: .2s; }
.stepper button:hover { background: var(--green-light); border-color: var(--green); }
.stepper button:active { transform: scale(.94); }

/* Navigare între pași */
.wz-nav { display: flex; align-items: center; gap: 12px; margin-top: 10px; padding-top: 22px; border-top: 1px solid var(--line); }
.wz-nav [data-prev], .wz-nav [data-next] { display: none; }
.wizard-on .wz-nav [data-prev], .wizard-on .wz-nav [data-next] { display: inline-flex; }
.wz-nav [data-next], .wz-nav [data-submit] { margin-left: auto; }

/* Ecran de confirmare */
.wz-done { text-align: center; padding: 26px 0 10px; animation: panelIn .5s var(--ease); }
.wz-done .lead { margin-inline: auto; }
.done-icon { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--green), var(--lime)); box-shadow: 0 14px 30px rgba(21,158,69,.35); animation: pulse 2.4s ease-in-out infinite; }
.done-icon .ico { width: 42px; height: 42px; stroke-width: 3; }

/* Rezumat */
.wz-aside { position: sticky; top: 92px; display: grid; gap: 18px; }
.summary { border-radius: 24px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.summary h3 { margin: 0; padding: 18px 22px; font-size: 1.15rem; color: #fff; background: linear-gradient(135deg, var(--green-deep), var(--green)); display: flex; align-items: center; gap: 10px; }
.summary dl { margin: 0; padding: 8px 22px; }
.summary dl > div { display: grid; grid-template-columns: 84px 1fr; gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.summary dl > div:last-child { border-bottom: 0; }
.summary dt { color: var(--muted); font-size: .88rem; font-weight: 800; }
.summary dd { margin: 0; font-weight: 800; overflow-wrap: anywhere; }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 16px 22px; background: var(--green-light); }
.summary-total span { font-weight: 800; color: var(--green-dark); }
.summary-total strong { font-family: var(--display); font-size: 1.6rem; color: var(--green-dark); }
.summary-total strong.bump { animation: bump .45s var(--ease); }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.14); } 100% { transform: scale(1); } }
.summary-note { margin: 0; padding: 12px 22px 16px; font-size: .84rem; color: var(--muted); }
.help-card { background: var(--sky-light); border-radius: 22px; padding: 20px 22px; display: grid; gap: 10px; }
.help-card ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: .95rem; }
.help-card li { margin-bottom: 4px; }
.help-phone { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-size: 1.25rem; font-weight: 700; text-decoration: none; }
.workshop-cta { margin-top: 18px; }

@media (max-width: 960px) {
  .wizard-wrap { grid-template-columns: 1fr; }
  .wz-aside { position: static; }
}
@media (max-width: 720px) {
  form.enroll { padding: 22px 16px; border-radius: 22px; }
  .pick-grid { grid-template-columns: 1fr; }
  .pick { flex-direction: row; }
  .pick-photo { flex: 0 0 104px; height: auto; min-height: 118px; }
  .pick-body { padding: 12px 44px 12px 12px; }
  .pick-check { width: 28px; height: 28px; }
  .wz-steps .t { font-size: .88rem; }
  .wz-steps .n { width: 32px; height: 32px; font-size: 1rem; }
  .wz-steps button { gap: 6px; min-height: 40px; }
  .wz-panel legend { font-size: 1.3rem; }
  .seg { display: grid; grid-template-columns: 1fr; }
  .seg span { width: 100%; justify-content: center; }
  .wz-nav { flex-wrap: wrap; }
  .wz-nav .btn-lg { padding: 14px 22px; font-size: 1rem; }
  .workshop-cta { width: 100%; justify-content: center; }
}
@media (max-width: 350px) {
  .wz-steps .t { display: none; }
  .wz-steps li, .wz-steps li:first-child, .wz-steps li:last-child { justify-content: center; }
}

/* ==========================================================================
   Runda 8: mobil mai compact și mai bine încadrat, subsol redus,
   banda reciclării pe orizontală și pe telefon
   ========================================================================== */

/* Subsol mai scund pe toate ecranele */
.site-footer { padding: 36px 0 18px; }
.forest + .site-footer { padding-top: 26px; }
.footer-grid { margin-bottom: 22px; gap: 28px; }
.site-footer ul { gap: 6px; }
.site-footer h4 { font-size: 1.05rem; margin-bottom: 8px; }
.footer-bottom { padding-top: 14px; }

@media (max-width: 720px) {
  /* --- Ritm general: text puțin mai mic, margini egale, secțiuni mai strânse --- */
  body { font-size: 16px; line-height: 1.55; }
  .container { width: calc(100% - 36px); }
  .section { padding: 42px 0; }
  h2 { font-size: 1.6rem; }
  h3 { font-size: 1.15rem; }
  .lead { font-size: 1.02rem; }
  .eyebrow { font-size: .76rem; padding: 5px 12px; margin-bottom: 10px; }
  .section-head { margin-bottom: 24px; }
  .card { padding: 18px; border-radius: 18px; }
  .btn-lg { padding: 13px 22px; font-size: 1rem; }
  .site-header .container, .site-header.scrolled .container { height: 62px; }
  .brand img { width: 44px; height: auto; }
  .brand-name strong { font-size: 1.25rem; }

  /* --- Hero --- */
  .hero { padding: 14px 0 34px; }
  .hero .container { gap: 10px; }
  .planet { width: min(236px, 62%); }
  .logo-sticker { width: 62px; right: 14%; }
  .hero-kicker { font-size: .95rem; letter-spacing: .14em; }
  .hero h1 .big { font-size: 1.35em; }
  .hero .lead { margin-top: 14px !important; }
  .hero-actions { margin: 18px 0 22px; gap: 10px; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
  .stats { gap: 8px; max-width: none; }
  .stat { padding: 10px 8px; text-align: center; border-radius: 14px; }
  .stat strong { font-size: 1.35rem; }
  .stat > span { font-size: .76rem; }
  .ticker { padding: 10px 0; }
  .ticker-track { font-size: 1rem; gap: 34px; animation-duration: 22s; }

  /* --- Carduri compacte: pictograma în stânga, textul în dreapta --- */
  .grid-3 { gap: 12px; }
  .grid-3 > .card { display: grid; grid-template-columns: 48px 1fr; column-gap: 14px; align-items: start; }
  .grid-3 > .card .icon { grid-row: 1 / span 3; width: 48px; height: 48px; border-radius: 14px; margin: 0; }
  .grid-3 > .card .icon .ico { width: 24px; height: 24px; }
  .grid-3 > .card h3 { margin: 2px 0 4px; }
  .grid-3 > .card p { grid-column: 2; margin: 0; font-size: .95rem; }
  .grid-3 > .card .more { grid-column: 2; margin-top: 8px; }

  /* --- Carusele: glisezi pe orizontală în loc de un șir lung de carduri --- */
  .carousel { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -18px; padding: 6px 18px 20px; scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-padding-inline: 18px; }
  .carousel::-webkit-scrollbar { display: none; }
  .carousel > * { flex: 0 0 82%; scroll-snap-align: start; }
  .carousel > .program.has-photo { padding: 0 18px 18px; }
  .carousel .program-photo { margin: 0 -18px; height: 150px; }
  .news-head { margin-bottom: 18px; }
  .news-head .btn { padding: 9px 16px; font-size: .92rem; }

  /* --- Cifre și banda reciclării --- */
  .facts { gap: 10px; margin-top: 24px; }
  .fact { padding: 16px 18px; display: grid; grid-template-columns: 104px 1fr; gap: 12px; align-items: center; border-radius: 18px; }
  .fact strong { font-size: 1.75rem; margin: 0; }
  .fact p { font-size: .92rem; }
  .facts-src { margin-top: 12px; font-size: .78rem; }

  .journey { margin-top: 34px; }
  .journey h3 { font-size: 1.2rem; margin-bottom: 16px; }
  .journey-track, .journey-labels { grid-template-columns: 1fr 78px 1fr; }
  .journey-labels { display: grid; font-size: .76rem; gap: 6px; margin-top: 10px; line-height: 1.3; }
  .belt { height: 74px; border-bottom-width: 9px; border-radius: 0; }
  .belt-in { border-radius: 0 0 0 10px; }
  .belt-out { border-radius: 0 0 10px 0; }
  .belt::before { content: none; }
  .machine { width: auto; height: 96px; margin: 0; border-radius: 16px 16px 8px 8px; border-bottom-width: 9px; }
  .machine::after { content: none; }
  .machine .recy .ico { width: 34px; height: 34px; }
  .machine .gear { top: 6px; }
  .machine .g1 { left: 6px; } .machine .g2 { right: 6px; }
  .machine .gear .ico { width: 18px; height: 18px; }
  /* aparatele: 5 plăcuțe, cel mult 3 pe bandă în același timp */
  .jitem { width: 32px; height: 32px; border-radius: 9px; bottom: 8px; animation: rideIn 15s linear infinite; left: -26%; }
  .jitem .ico { width: 18px; height: 18px; }
  .jitem:nth-child(1) { animation-delay: 0s !important; }
  .jitem:nth-child(2) { animation-delay: -3s !important; }
  .jitem:nth-child(3) { animation-delay: -6s !important; }
  .jitem:nth-child(4) { animation-delay: -9s !important; }
  .jitem:nth-child(5) { animation-delay: -12s !important; }
  /* materialele: 4 etichete, cel mult 2 pe bandă în același timp */
  .jmat { font-size: .74rem; padding: 4px 9px; bottom: 10px; animation: rideOut 16s linear infinite; left: -52%; }
  .jmat:nth-child(1) { animation-delay: 0s !important; }
  .jmat:nth-child(2) { animation-delay: -4s !important; }
  .jmat:nth-child(3) { animation-delay: -8s !important; }
  .jmat:nth-child(4) { animation-delay: -12s !important; }

  /* --- Despre: valori și pași pe două coloane --- */
  .grid-4:not(.carousel) { grid-template-columns: 1fr 1fr; gap: 12px; }
  .grid-4:not(.carousel) > .card { padding: 16px 14px; }
  .grid-4:not(.carousel) > .card .icon { width: 44px; height: 44px; border-radius: 13px; margin-bottom: 10px; }
  .grid-4:not(.carousel) > .card .icon .ico { width: 22px; height: 22px; }
  .grid-4:not(.carousel) > .card p { font-size: .9rem; }
  .steps { grid-template-columns: 1fr 1fr; gap: 22px 12px; }
  .step { padding: 22px 14px 14px; border-radius: 18px; }
  .step::before { left: 14px; width: 32px; height: 32px; top: -15px; }
  .step .emoji { width: 42px; height: 42px; border-radius: 13px; margin-bottom: 8px; }
  .step .emoji .ico { width: 22px; height: 22px; }
  .step h3 { font-size: 1rem; }
  .step p { font-size: .88rem; }
  .about-wrap { gap: 22px; }
  .hero-logo { min-height: 250px; }
  .logo-disc { width: min(200px, 60%); }
  .ring-1 { width: min(252px, 76%); }
  .mv { padding: 18px 18px 18px 26px; }
  .partners { gap: 10px; margin-top: 22px; }
  .partner { flex: 1 1 calc(50% - 5px); padding: 12px; font-size: .9rem; border-radius: 14px; min-width: 0; }
  .partner > .ico { width: 24px; height: 24px; }
  .partner small { font-size: .76rem; }

  /* --- Ateliere --- */
  .workshop.has-photo { padding: 0 18px 18px; }
  .workshop-photo { margin: 0 -18px 16px; height: 170px; }
  .workshop h3 { font-size: 1.35rem; }
  .spec-list { margin: 14px 0; gap: 8px; }
  .price { margin: 12px 0; }
  .price strong { font-size: 1.9rem; }
  .kit { margin-top: 28px; gap: 14px; }
  .kit-photo { height: 150px; }
  .mascot-note { grid-template-columns: 84px 1fr; gap: 14px; padding: 16px; margin-top: 28px; align-items: center; }
  .mascot-note img { width: 84px; }
  .speech { padding: 12px 14px; font-size: .93rem; border-radius: 14px; }
  .speech::before { left: -8px; top: 22px; margin-left: 0; border: 8px solid transparent; border-left: 0; border-right-color: var(--sky-light); border-bottom-color: transparent; }
  .faq { margin-top: 22px; gap: 8px; }
  .faq details { padding: 0 16px; border-radius: 14px; }
  .faq summary { padding: 14px 34px 14px 0; font-size: .98rem; }

  /* --- Antete de pagină, articole, Facebook, îndemn --- */
  .page-hero { padding: 30px 0 28px; }
  .page-hero h1 { font-size: 1.8rem; }
  .page-hero .mascot { width: 104px; }
  .article-hero { padding: 30px 0 22px; }
  .article-hero h1 { font-size: 1.75rem; }
  .article-body { padding-bottom: 46px; }
  .prose h2 { font-size: 1.25rem; margin-top: 1.6em; }
  .social-grid { gap: 22px; }
  .social-tips { gap: 8px; margin-top: 14px; }
  .social-tips li { padding: 10px 12px; }
  .fb-frame { height: 400px; }
  .cta-band .lead { font-size: 1rem; }
  .cta-actions { margin-top: 18px; }
  .cta-actions .btn { flex: 1 1 100%; justify-content: center; }
  .contact-list { gap: 12px; margin-top: 14px; }
  .map { min-height: 260px; }
  form.enroll { padding: 20px 16px; }
  .to-top { width: 42px; height: 42px; right: 14px; bottom: 14px; font-size: 1.1rem; }

  /* --- Subsol compact: siglă pe un rând, două coloane de legături --- */
  .forest { height: 70px; }
  .forest::after { bottom: -48px; }
  .site-footer { padding: 22px 0 14px; }
  .forest + .site-footer { padding-top: 16px; }
  .footer-tree { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 16px 18px; margin-bottom: 16px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; }
  .footer-grid > div:first-child p { margin: 0 !important; font-size: .86rem; line-height: 1.35; max-width: none !important; }
  .site-footer .brand img { width: 46px; }
  .site-footer .brand-name strong { font-size: 1.15rem; }
  .site-footer h4 { font-size: .95rem; margin-bottom: 6px; }
  .site-footer ul { gap: 4px; }
  .site-footer li, .site-footer li a { font-size: .9rem; }
  .site-footer li a { display: inline-block; padding: 3px 0; }
  .footer-bottom { padding-top: 12px; font-size: .78rem; gap: 4px; flex-direction: column; }
}

@keyframes rideIn { 0% { left: -26%; } 60% { left: 104%; } 100% { left: 104%; } }
@keyframes rideOut { 0% { left: -52%; } 50% { left: 104%; } 100% { left: 104%; } }

@media (max-width: 720px) and (prefers-reduced-motion: reduce) {
  .belt { padding-top: 12px; }
  .jitem, .jmat { position: static; }
}
@media (max-width: 350px) {
  .fact { grid-template-columns: 1fr; gap: 4px; }
  .carousel > * { flex-basis: 88%; }
}

@media (max-width: 720px) {
  /* Subsol: sigla și descrierea pe un rând, legăturile ca șiruri care se rup natural */
  .footer-grid { grid-template-columns: 1fr; gap: 12px; }
  .footer-grid > div:first-child .brand { flex: 0 0 auto; }
  .footer-grid > div:first-child p { flex: 1 1 0; min-width: 0; }
  .site-footer ul { display: flex; flex-wrap: wrap; gap: 0 16px; }
  .site-footer h4 { margin-bottom: 2px; }
  .forest { height: 84px; }
}

/* Textul acordului rămâne lângă bifă, iar eroarea trece pe rândul următor */
.consent > span:not(.err) { flex: 1 1 0; min-width: 0; }
@media (max-width: 720px) {
  .kit .btn { justify-content: center; }
}

@media (max-width: 720px) { .jmat { font-size: .78rem; } }

/* ==========================================================================
   Calendar de disponibilitate în formularul de înscriere
   ========================================================================== */

.cal { border: 2px solid #e3ece6; border-radius: 18px; background: #fff; padding: 14px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.cal-title { font-family: var(--display); font-size: 1.15rem; }
.cal-nav { width: 42px; height: 42px; border-radius: 12px; border: 2px solid #e3ece6; background: #f6faf7; color: var(--green-dark); font-size: 1.5rem; line-height: 1; cursor: pointer; transition: .2s; }
.cal-nav:hover:not(:disabled) { background: var(--green-light); border-color: var(--green); }
.cal-nav:disabled { opacity: .35; cursor: default; }
.cal-dow, .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-dow { margin-bottom: 6px; }
.cal-dow span { text-align: center; font-size: .78rem; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.cal-day { aspect-ratio: 1 / .82; min-height: 40px; border-radius: 12px; border: 2px solid transparent; background: #f3f5f4; color: #a9b4ad; font: inherit; font-weight: 800; cursor: default; padding: 0; transition: transform .2s var(--ease), background .2s, box-shadow .2s; }
.cal-day.free { background: var(--green-light); color: var(--green-dark); cursor: pointer; }
.cal-day.free:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(21,158,69,.22); border-color: var(--green); }
.cal-day.on { background: var(--green); color: #fff; border-color: var(--green); box-shadow: 0 8px 18px rgba(21,158,69,.35); }
.cal-day:focus-visible, .slot:focus-visible, .cal-nav:focus-visible { outline: 3px solid rgba(21,158,69,.45); outline-offset: 2px; }
.cal-field.loading .cal-day { background: linear-gradient(90deg, #eef2ef 25%, #f7f9f8 50%, #eef2ef 75%); background-size: 200% 100%; color: transparent; animation: calShimmer 1.2s linear infinite; }
@keyframes calShimmer { to { background-position: -200% 0; } }
.cal-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 10px 0 0; font-size: .8rem; color: var(--muted); }
.cal-legend span { display: inline-flex; align-items: center; gap: 6px; }
.lg { width: 14px; height: 14px; border-radius: 5px; display: inline-block; }
.lg-free { background: var(--green-light); border: 2px solid var(--green); }
.lg-none { background: #f3f5f4; border: 2px solid #dfe5e1; }

.slots { margin-top: 14px; animation: fadeDown .3s var(--ease); }
.slots .field-label { display: block; margin-bottom: 8px; }
.slots .field-label b { font-weight: 800; color: var(--green-dark); }
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 8px; }
.slot { min-height: 44px; border-radius: 12px; border: 2px solid #e3ece6; background: #f6faf7; font: inherit; font-weight: 800; font-size: .95rem; color: var(--ink); cursor: pointer; transition: .2s; }
.slot:hover { border-color: var(--green); background: var(--green-light); }
.slot.on { background: var(--green); border-color: var(--green); color: #fff; box-shadow: 0 6px 14px rgba(21,158,69,.28); }

.cal-value { position: absolute; width: 1px; height: 1px; padding: 0; border: 0; opacity: 0; pointer-events: none; }
.cal-field { position: relative; }
.cal-field.invalid .cal { border-color: #d64545; }
.cal-note { display: flex; gap: 8px; align-items: flex-start; margin: 10px 0 0; font-size: .86rem; color: var(--muted); }
.cal-note .ico { width: 18px; height: 18px; color: var(--green); margin-top: 1px; }
.cal-fallback { margin: 0; padding: 14px 16px; border-radius: 14px; background: #fff7e0; color: #7a5a00; font-weight: 700; font-size: .95rem; }

@media (max-width: 720px) {
  .cal { padding: 10px; border-radius: 16px; }
  .cal-dow, .cal-grid { gap: 4px; }
  .cal-day { aspect-ratio: 1 / 1; min-height: 40px; border-radius: 10px; font-size: .95rem; }
  .slot-grid { grid-template-columns: 1fr 1fr; }
  .slot { font-size: .9rem; }
}
