/* ui_kits/grupul_verde_site/kit.css
   Grupul Verde — premium, agency-style, results-forward.
*/
@import url("colors_and_type.css");

html, body { background: var(--bg-1); color: var(--fg-1); min-height: 100%; overflow-x: hidden; }
body { font-family: var(--font-body); font-weight: 600; font-feature-settings: "calt" 1; scroll-behavior: smooth; }

.page { max-width: 1360px; margin: 0 auto; padding: 14px 24px 120px; }

/* =====================================================
   NAV
   ===================================================== */
.nav { position: sticky; top: 12px; z-index: 50; display: flex; align-items: center; gap: 4px; padding: 8px; background: rgba(255,255,255,0.92); backdrop-filter: blur(10px); border-radius: 9999px; box-shadow: var(--ring-1); margin-bottom: 16px; }
.nav .brand { font-family: var(--font-display); font-weight: 900; font-size: 22px; letter-spacing: -1.2px; padding: 0 14px; line-height: 1; display: inline-flex; align-items: center; white-space: nowrap; }
.nav .brand .dot { display: inline-block; width: 8px; height: 8px; background: var(--color-wise-green); border-radius: 50%; margin-left: 4px; }
.nav-link { padding: 9px 14px; border-radius: 9999px; text-decoration: none; color: var(--fg-1); font-weight: 600; font-size: 15px; letter-spacing: -0.108px; cursor: pointer; border: 0; background: transparent; font-feature-settings: "calt" 1; white-space: nowrap; transition: background 120ms var(--ease-out); }
.nav-link:hover, .nav-link.active { background: rgba(211,242,192,.5); }
.nav-spacer { flex: 1; }
.lang { font-size: 13px; color: var(--fg-3); padding: 8px 12px; border-radius: 9999px; cursor: pointer; border: 0; background: transparent; font-weight: 600; }
.lang.active { color: var(--fg-1); background: var(--bg-3); }

/* =====================================================
   BUTTONS — scale interaction
   ===================================================== */
.btn { border: 0; font-family: var(--font-body); font-weight: 600; font-feature-settings: "calt" 1; letter-spacing: -0.108px; border-radius: 9999px; cursor: pointer; transition: transform 120ms var(--ease-out), background 120ms; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.btn:hover { transform: scale(1.05); }
.btn:active { transform: scale(0.95); }
.btn-primary { background: var(--color-wise-green); color: var(--color-dark-green); padding: 11px 22px; font-size: 17px; }
.btn-secondary { background: rgba(22,51,0,0.08); color: var(--fg-1); padding: 11px 20px; font-size: 17px; }
.btn-secondary:hover { background: rgba(22,51,0,0.12); }
.btn-lg { padding: 16px 32px; font-size: 19px; }
.btn-xl { padding: 22px 40px; font-size: 22px; border-radius: 9999px; }
.btn-sm { padding: 7px 14px; font-size: 14px; }
.btn-light { background: rgba(255,255,255,0.14); color: #fff; padding: 11px 22px; font-size: 17px; }
.btn-light:hover { background: rgba(255,255,255,0.22); }
.btn-outline-dark { background: transparent; color: #fff; padding: 11px 22px; font-size: 17px; box-shadow: rgba(255,255,255,0.3) 0 0 0 1px inset; }
.btn-outline-dark:hover { background: rgba(255,255,255,0.08); }

/* Reused eyebrow */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-positive); }
.eyebrow .dot-mini { width: 6px; height: 6px; border-radius: 50%; background: var(--color-wise-green); }

/* =====================================================
   HERO — premium agency: photo + kinetic type
   ===================================================== */
.hero { position: relative; border-radius: 36px; overflow: hidden; min-height: 86vh; background: var(--color-dark-green); }
.hero .photo { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(14,15,12,0.10) 0%, rgba(14,15,12,0.20) 40%, rgba(14,15,12,0.82) 100%);
}
.hero-meta-top { position: absolute; top: 28px; left: 32px; right: 32px; z-index: 3; display: flex; justify-content: space-between; align-items: center; color: rgba(255,255,255,0.7); font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.hero-meta-top .live { display: inline-flex; gap: 8px; align-items: center; }
.hero-meta-top .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--color-wise-green); box-shadow: 0 0 0 0 rgba(159,232,112,.7); animation: pulse 2s var(--ease-out) infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(159,232,112,.7);} 70%{box-shadow:0 0 0 10px rgba(159,232,112,0);} 100%{box-shadow:0 0 0 0 rgba(159,232,112,0);} }
.hero-body { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end; min-height: 86vh; padding: 56px 56px 64px; color: #fff; }
.hero h1 { font-family: var(--font-display); font-weight: 900; font-size: clamp(60px, 11vw, 168px); line-height: 0.84; letter-spacing: -4px; text-wrap: balance; margin: 0; color: #fff; max-width: 1200px; font-feature-settings: "calt" 1; }
.hero h1 .stack { display: block; }
.hero h1 .swap-line { display: flex; align-items: baseline; gap: 0.25em; flex-wrap: wrap; }
.hero h1 .lead { color: rgba(255,255,255,0.55); }
.hero h1 .swap { display: inline-block; color: var(--color-wise-green); position: relative; min-height: 1em; }
.hero h1 .swap .word { display: inline-block; animation: swapIn 600ms var(--ease-out) both; }
@keyframes swapIn {
  0%   { opacity: 0; transform: translateY(60%); filter: blur(8px); }
  100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}
.hero-foot { margin-top: 32px; display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.hero .sub { font-size: clamp(15px, 1.4vw, 19px); font-weight: 500; line-height: 1.45; letter-spacing: -0.18px; max-width: 540px; color: rgba(255,255,255,0.82); margin: 0; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* Floating result chip on hero */
.hero-chips { position: absolute; left: 56px; top: 50%; transform: translateY(-50%); z-index: 3; display: flex; flex-direction: column; gap: 10px; }
.hero-chip { background: rgba(255,255,255,0.12); backdrop-filter: blur(8px); border-radius: 9999px; padding: 8px 16px; color: #fff; font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; letter-spacing: -0.084px; }
.hero-chip strong { color: var(--color-wise-green); font-weight: 700; }

@media (max-width: 920px) {
  .hero-body { padding: 80px 24px 32px; }
  .hero { border-radius: 24px; min-height: 78vh; }
  .hero-chips { display: none; }
}

/* =====================================================
   MARQUEE — partner / school name strip
   ===================================================== */
.marquee { padding: 18px 0; overflow: hidden; border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); margin-top: 32px; }
.marquee-track { display: flex; gap: 56px; animation: scroll 42s linear infinite; white-space: nowrap; }
.marquee-track span { font-family: var(--font-display); font-weight: 900; font-size: 24px; letter-spacing: -1px; color: var(--fg-1); display: inline-flex; align-items: center; gap: 56px; }
.marquee-track span::after { content: ""; display: inline-block; width: 7px; height: 7px; background: var(--color-wise-green); border-radius: 50%; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* =====================================================
   MANIFESTO — single big sentence
   ===================================================== */
.manifesto { padding: 140px 0 100px; max-width: 1240px; margin: 0 auto; }
.manifesto .label { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-positive); margin-bottom: 24px; }
.manifesto h2 { font-family: var(--font-display); font-weight: 900; font-size: clamp(40px, 5.6vw, 88px); line-height: 0.88; letter-spacing: -2.5px; text-wrap: balance; margin: 0; max-width: 1100px; font-feature-settings: "calt" 1; }
.manifesto h2 em { font-style: normal; color: transparent; -webkit-text-stroke: 2px var(--color-near-black); }
.manifesto h2 mark { background: var(--color-wise-green); color: var(--color-near-black); padding: 0 8px; border-radius: 4px; }

/* =====================================================
   RESULTS BAR — 5 huge numbers in a row
   ===================================================== */
.results { padding: 0 0 100px; }
.results-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; padding: 56px 0; border-top: 1px solid var(--fg-1); border-bottom: 1px solid var(--fg-1); }
.results-grid .r { padding: 0 28px; border-left: 1px solid var(--border-subtle); display: flex; flex-direction: column; }
.results-grid .r:first-child { border-left: 0; padding-left: 0; }
.results-grid .meta { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 18px; }
.results-grid .num { font-family: var(--font-display); font-weight: 900; font-size: clamp(56px, 6.4vw, 96px); line-height: 0.86; letter-spacing: -2.5px; color: var(--fg-1); }
.results-grid .num .plus { color: var(--color-positive); }
.results-grid .lbl { font-size: 13px; color: var(--fg-2); font-weight: 600; line-height: 1.4; margin-top: 14px; max-width: 180px; }
@media (max-width: 920px) {
  .results-grid { grid-template-columns: 1fr 1fr; gap: 32px 0; padding: 32px 0; }
  .results-grid .r { border: 0; padding: 0 12px; }
}

/* =====================================================
   PROGRAM TAGS — mosaic
   ===================================================== */
.programs-section { padding: 100px 0; }
.programs-head { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; margin-bottom: 56px; align-items: end; }
.programs-h { font-family: var(--font-display); font-weight: 900; font-size: clamp(40px, 5vw, 72px); line-height: 0.88; letter-spacing: -2.4px; margin: 12px 0 0; text-wrap: balance; }
.programs-lead { font-size: 17px; line-height: 1.5; color: var(--fg-2); font-weight: 500; max-width: 500px; }

.programs-mosaic { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(160px, auto); gap: 16px; }
.ptag {
  position: relative; display: flex; flex-direction: column; justify-content: space-between;
  padding: 24px 28px; border-radius: 24px; box-shadow: var(--ring-1); background: var(--bg-1);
  cursor: pointer; overflow: hidden; transition: transform 200ms var(--ease-out), background 200ms, color 200ms, box-shadow 200ms;
}
.ptag:hover { transform: translateY(-3px); background: var(--color-dark-green); color: #fff; box-shadow: none; }
.ptag:hover .ptag-num, .ptag:hover .ptag-desc { color: rgba(255,255,255,0.6); }
.ptag:hover .ptag-meta { color: var(--color-wise-green); }
.ptag.green { background: var(--color-wise-green); color: var(--color-dark-green); box-shadow: none; }
.ptag.green:hover { background: var(--color-dark-green); color: var(--color-wise-green); }
.ptag.green:hover .ptag-num, .ptag.green:hover .ptag-desc { color: rgba(255,255,255,0.6); }
.ptag.dark { background: var(--color-dark-green); color: #fff; box-shadow: none; }
.ptag.dark:hover { background: var(--color-wise-green); color: var(--color-dark-green); }
.ptag.dark:hover .ptag-num, .ptag.dark:hover .ptag-desc { color: rgba(22,51,0,0.6); }
.ptag.dark:hover .ptag-meta { color: var(--color-dark-green); }
.ptag.mint { background: var(--color-light-mint); color: var(--color-dark-green); box-shadow: none; }
.ptag.mint:hover { background: var(--color-dark-green); color: var(--color-light-mint); }
.ptag.mint:hover .ptag-num, .ptag.mint:hover .ptag-desc { color: rgba(255,255,255,0.6); }
.ptag.mint:hover .ptag-meta { color: var(--color-wise-green); }

.ptag-num { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; color: var(--fg-3); }
.ptag-name { font-family: var(--font-display); font-weight: 900; font-size: clamp(36px, 4vw, 56px); line-height: 0.88; letter-spacing: -1.8px; margin: 16px 0 0; }
.ptag-desc { font-size: 13px; color: var(--fg-3); margin-top: 8px; line-height: 1.4; font-weight: 500; }
.ptag-meta { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-positive); margin-top: 16px; }
.ptag-arrow { position: absolute; top: 24px; right: 28px; transition: transform 200ms var(--ease-out); }
.ptag:hover .ptag-arrow { transform: translate(4px, -4px) rotate(-12deg); }

/* mosaic spans */
.ptag.s-wide  { grid-column: span 6; }
.ptag.s-half  { grid-column: span 3; }
.ptag.s-full  { grid-column: span 12; }
.ptag.s-third { grid-column: span 4; }
.ptag.s-quad  { grid-column: span 4; }
.ptag.s-2x    { grid-row: span 2; }

@media (max-width: 920px) {
  .programs-head { grid-template-columns: 1fr; }
  .ptag.s-wide, .ptag.s-half, .ptag.s-full, .ptag.s-third, .ptag.s-quad { grid-column: span 12; }
}

/* =====================================================
   CASES — 3 visual-first case study cards
   ===================================================== */
.cases { padding: 100px 0; }
.cases-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 40px; gap: 40px; flex-wrap: wrap; }
.cases-h { font-family: var(--font-display); font-weight: 900; font-size: clamp(40px, 5vw, 72px); line-height: 0.88; letter-spacing: -2.4px; margin: 12px 0 0; max-width: 760px; text-wrap: balance; }
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.case-card { border-radius: 28px; overflow: hidden; background: var(--bg-1); box-shadow: var(--ring-1); display: flex; flex-direction: column; transition: transform 200ms var(--ease-out); cursor: pointer; }
.case-card:hover { transform: translateY(-4px); }
.case-card .img { aspect-ratio: 4/3; }
.case-card .body { padding: 24px 28px 28px; display: flex; flex-direction: column; flex: 1; gap: 12px; }
.case-card .chips { display: flex; gap: 6px; flex-wrap: wrap; }
.case-card .chip { padding: 4px 10px; border-radius: 9999px; background: var(--color-light-mint); color: var(--color-dark-green); font-size: 12px; font-weight: 600; letter-spacing: -0.084px; }
.case-card h3 { font-family: var(--font-display); font-weight: 900; font-size: 26px; line-height: 0.96; letter-spacing: -1px; margin: 0; text-wrap: balance; font-feature-settings: "calt" 1; }
.case-card .desc { font-size: 14px; line-height: 1.5; color: var(--fg-2); font-weight: 500; margin: 0; }
.case-card .stat-row { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--border-subtle); display: flex; justify-content: space-between; align-items: end; }
.case-card .stat-row .stat strong { font-family: var(--font-display); font-weight: 900; font-size: 32px; line-height: 1; letter-spacing: -1px; display: block; }
.case-card .stat-row .stat span { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-3); }
.case-card .stat-row .arrow { color: var(--fg-2); }
@media (max-width: 920px) { .cases-grid { grid-template-columns: 1fr; } }

/* =====================================================
   EU BAR — funding + principles
   ===================================================== */
.eu { padding: 80px 0 100px; }
.eu-head { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; padding-bottom: 32px; border-bottom: 1px solid var(--border-subtle); }
.eu-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-3); }
.eu-stars { display: inline-flex; align-items: center; gap: 14px; }
.eu-stars .stars { display: inline-flex; gap: 4px; }
.eu-stars .stars span { font-size: 14px; color: #ffd11a; }
.eu-funders { display: flex; gap: 28px; flex-wrap: wrap; font-family: var(--font-display); font-weight: 900; font-size: 22px; letter-spacing: -1px; color: var(--fg-1); }
.eu-funders span { display: inline-flex; align-items: center; gap: 28px; }
.eu-funders span::after { content: ""; width: 5px; height: 5px; background: var(--color-wise-green); border-radius: 50%; }
.eu-funders span:last-child::after { display: none; }

.principles { margin-top: 56px; display: grid; grid-template-columns: 1.1fr 1fr 1fr 1fr 1fr; gap: 16px; }
.principle { padding: 24px; border-radius: 24px; box-shadow: var(--ring-1); background: var(--bg-1); display: flex; flex-direction: column; gap: 12px; }
.principle.lead-card { background: var(--color-dark-green); color: #fff; box-shadow: none; justify-content: space-between; }
.principle.lead-card h3 { color: #fff; }
.principle .n { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; color: var(--color-positive); }
.principle.lead-card .n { color: var(--color-wise-green); }
.principle h3 { font-family: var(--font-display); font-weight: 900; font-size: 28px; line-height: 0.92; letter-spacing: -1px; margin: 6px 0 0; text-wrap: balance; }
.principle p { font-size: 13px; line-height: 1.45; color: var(--fg-2); font-weight: 500; margin: 0; }
.principle.lead-card p { color: rgba(255,255,255,0.72); }

@media (max-width: 920px) { .principles { grid-template-columns: 1fr 1fr; } }

/* =====================================================
   VOICES — 3 quote cards
   ===================================================== */
.voices { padding: 100px 0; }
.voices-h { font-family: var(--font-display); font-weight: 900; font-size: clamp(40px, 5vw, 72px); line-height: 0.88; letter-spacing: -2.4px; max-width: 800px; margin: 12px 0 40px; text-wrap: balance; }
.voice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.voice { border-radius: 28px; box-shadow: var(--ring-1); padding: 32px; background: var(--bg-1); display: flex; flex-direction: column; gap: 18px; transition: transform 200ms var(--ease-out); }
.voice:hover { transform: translateY(-3px); }
.voice blockquote { margin: 0; font-family: var(--font-body); font-weight: 600; font-size: 18px; line-height: 1.45; letter-spacing: -0.3px; text-wrap: pretty; }
.voice .who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.voice .who .av { width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0; }
.voice .who .name { font-size: 14px; font-weight: 600; line-height: 1.2; }
.voice .who .role { font-size: 12px; color: var(--fg-3); margin-top: 2px; font-weight: 500; }
.voice .mark { font-family: var(--font-display); font-weight: 900; font-size: 56px; line-height: 0.6; color: var(--color-wise-green); }
@media (max-width: 920px) { .voice-grid { grid-template-columns: 1fr; } }

/* =====================================================
   BIG CTA — final action panel
   ===================================================== */
.big-cta { margin-top: 80px; background: var(--color-dark-green); color: #fff; border-radius: 40px; padding: 96px 64px; text-align: center; position: relative; overflow: hidden; }
.big-cta::before {
  content: ""; position: absolute; top: -200px; left: 50%; transform: translateX(-50%); width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(159,232,112,0.16), transparent 60%);
  pointer-events: none;
}
.big-cta h2 { position: relative; font-family: var(--font-display); font-weight: 900; font-size: clamp(48px, 7vw, 120px); line-height: 0.86; letter-spacing: -3px; margin: 0; text-wrap: balance; color: #fff; max-width: 1100px; margin-inline: auto; }
.big-cta h2 em { font-style: normal; color: var(--color-wise-green); }
.big-cta .sub { position: relative; margin-top: 24px; font-size: 18px; color: rgba(255,255,255,0.7); font-weight: 500; max-width: 600px; margin-inline: auto; line-height: 1.5; }
.big-cta .ctas { position: relative; margin-top: 40px; display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
@media (max-width: 920px) { .big-cta { padding: 56px 28px; } }

/* =====================================================
   FOOTER
   ===================================================== */
footer { margin-top: 96px; border-top: 1px solid var(--border-subtle); padding-top: 48px; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 24px; }
footer h5 { font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--fg-3); margin: 0 0 14px; }
footer a { display: block; padding: 4px 0; color: var(--fg-1); font-size: 15px; text-decoration: none; font-weight: 500; }
footer a:hover { text-decoration: underline; text-decoration-color: var(--color-wise-green); }
footer .brand { font-family: var(--font-display); font-weight: 900; font-size: 28px; letter-spacing: -1.4px; margin-bottom: 14px; line-height: 1; }
footer .brand .dot { display: inline-block; width: 11px; height: 11px; background: var(--color-wise-green); border-radius: 50%; margin-left: 4px; transform: translateY(2px); }
footer .desc { color: var(--fg-2); font-size: 14px; line-height: 1.5; font-weight: 500; max-width: 280px; }
footer .legal { grid-column: 1 / -1; padding-top: 32px; margin-top: 24px; border-top: 1px solid var(--border-subtle); display: flex; gap: 18px; color: var(--fg-3); font-size: 13px; font-weight: 500; flex-wrap: wrap; }
@media (max-width: 920px) { footer { grid-template-columns: 1fr 1fr; } }

/* =====================================================
   SCROLL-REVEAL
   ===================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.delay-1 { transition-delay: 80ms; }
.reveal.delay-2 { transition-delay: 160ms; }
.reveal.delay-3 { transition-delay: 240ms; }
.reveal.delay-4 { transition-delay: 320ms; }

image-slot { box-shadow: var(--ring-1); }
.hero image-slot, .case-card image-slot { box-shadow: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.in { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  .hero-meta-top .pulse { animation: none; }
  .hero h1 .swap .word { animation: none; }
}
