@font-face {
  font-family: "Montserrat";
  src: url("assets/montserrat.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Roboto Slab";
  src: url("assets/robotoslab.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --sky-1: #129bd6;
  --sky-2: #22b4e4;
  --sky-glow: #48e6f6;
  --ink: #17465d;
  --ink-2: #1d5f7a;
  --pill: #0a6fa8;        /* același albastru ca cerul, mai adânc */
  --pill-hover: #085d8e;
  --leaf: #8fd13c;
  --leaf-2: #5fae2a;
  --paper: #eef8fb;
  --deep-1: #0b76b1;      /* footer: cerul hero-ului, în umbră */
  --deep-2: #06507f;

}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Montserrat", system-ui, sans-serif;
  color: var(--ink);
  background: var(--sky-1);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }

/* ---------- header ---------- */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px clamp(18px, 5vw, 64px);
  border-bottom: 1px solid transparent;
  transition: background .4s, box-shadow .4s, padding .4s, border-color .4s;
}
/* sticlă în albastrul cerului din banner — fundalul se vede încețoșat prin ea */
.top.solid {
  background: rgba(26, 160, 214, .72);
  -webkit-backdrop-filter: saturate(170%) blur(18px);
          backdrop-filter: saturate(170%) blur(18px);
  border-bottom-color: rgba(255,255,255,.28);
  box-shadow: 0 8px 30px -12px rgba(8,70,110,.35);
  padding-block: 8px;
}
/* peste secțiunile deschise sticla devine mai densă, ca să rămână același albastru */
.top.solid.over-light { background: rgba(24, 158, 212, .9); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 52px; width: auto; transition: height .4s; }
.top.solid .brand img { height: 40px; }
.brand span {
  font-family: "Roboto Slab", serif; font-weight: 700; text-transform: uppercase;
  font-size: 13px; line-height: 1.05; letter-spacing: .02em; color: #2f3a40;
  transition: color .4s;
}
.top nav { display: flex; gap: 8px; align-items: center; }
.top nav a {
  text-decoration: none; font-weight: 700; font-size: 14px; color: #fff;
  padding: 9px 16px; border-radius: 999px;
}
.top nav a:hover { background: rgba(255,255,255,.14); }
.top nav .nav-cta { background: var(--pill); }
.top nav .nav-cta:hover { background: var(--pill-hover); }

/* ---------- hero (static) ---------- */
.hero {
  position: relative; height: 100vh; height: 100svh; min-height: 620px;
  overflow: hidden; isolation: isolate;
}
.sky {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 55% at 72% 52%, var(--sky-glow) 0%, rgba(72,230,246,0) 70%),
    linear-gradient(180deg, var(--sky-2) 0%, var(--sky-1) 100%);
}

/* compoziția — coordonatele straturilor sunt păstrate din imaginea originală 4K */
.stage {
  position: absolute; z-index: 1;
  right: 5vw; bottom: 4vh;
  height: min(86vh, 980px); aspect-ratio: 1563 / 1927;
  animation: stage-in 1.4s cubic-bezier(.2,.7,.2,1) both;
}
.stage > * { position: absolute; }
.l-tree { left: 19.51%; top: 0; width: 66.28%; height: 85.99%; }
.l-shovel { left: 60.78%; top: 19.93%; width: 36.28%; height: 68.76%; }
.l-soil { left: 0; top: 78.1%; width: 100%; height: 21.9%; }
.shadow {
  left: 2%; right: 2%; bottom: -1.5%; height: 7%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(6,60,90,.45), rgba(6,60,90,0));
}
@keyframes stage-in { from { opacity: 0; transform: scale(1.03); } }

/* text — mini efecte la apariție, în cascadă */
.copy {
  position: absolute; z-index: 3;
  left: clamp(20px, 7vw, 120px); top: 50%;
  width: min(56vw, 900px);
  transform: translateY(-46%);
}
.kicker {
  margin: 0 0 .2em; color: #fff; font-weight: 700;
  font-size: clamp(18px, 2.3vw, 38px); letter-spacing: -.005em;
  text-shadow: 0 2px 16px rgba(0,60,100,.25);
  animation: fade-up .8s .15s cubic-bezier(.2,.7,.2,1) both;
}
h1 {
  margin: 0; color: #fff; font-weight: 900; text-transform: uppercase;
  font-size: clamp(56px, min(10.4vw, 17vh), 200px); line-height: .86; letter-spacing: -.02em;
  filter: drop-shadow(0 10px 28px rgba(0,70,120,.3));
}
.line { display: block; overflow: hidden; padding: .04em .1em .06em 0; margin-right: -.1em; }
.line > span { display: inline-block; animation: line-up .9s cubic-bezier(.2,.75,.15,1) both; }
h1 .line:nth-child(1) > span { animation-delay: .3s; }
h1 .line:nth-child(2) > span { animation-delay: .42s; }
.sub {
  margin: .9em 0 0; font-weight: 800; text-transform: uppercase; color: var(--ink);
  font-size: clamp(20px, 2.6vw, 46px); line-height: 1.08; letter-spacing: -.005em;
}
.sub .line:nth-child(1) > span { animation-delay: .7s; }
.sub .line:nth-child(2) > span { animation-delay: .8s; }
.when {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 1.4em;
}
.date {
  display: inline-block; background: var(--pill); color: #fff; font-weight: 800;
  font-size: clamp(20px, 2.4vw, 40px); padding: .32em .7em; border-radius: 10px;
  box-shadow: 0 12px 30px rgba(4,70,120,.25);
  animation: pop .7s 1.05s cubic-bezier(.3,1.5,.5,1) both;
}
.cta {
  display: inline-flex; align-items: center; gap: .5em; text-decoration: none;
  color: var(--ink); font-weight: 800; font-size: clamp(15px, 1.2vw, 18px);
  padding: .9em 1.3em; border-radius: 999px; background: #fff;
  box-shadow: 0 8px 24px rgba(4,70,120,.18); transition: transform .25s, box-shadow .25s;
  animation: fade-up .7s 1.25s cubic-bezier(.2,.7,.2,1) both;
}
.cta b { color: var(--leaf-2); transition: transform .25s; }
.cta:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(4,70,120,.24); }
.cta:hover b { transform: translateX(4px); }

@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } }
@keyframes line-up { from { transform: translateY(110%); } }
@keyframes pop { from { opacity: 0; transform: scale(.8); } }

/* portret / mobil */
@media (max-aspect-ratio: 5/6), (max-width: 760px) {
  .copy { left: 6vw; right: 6vw; width: auto; top: calc(78px + 2vh); transform: none; }
  h1 { font-size: clamp(48px, 15vw, 120px); }
  .kicker { font-size: clamp(17px, 4.6vw, 30px); }
  .sub { font-size: clamp(18px, 5.2vw, 36px); margin-top: .6em; }
  .when { margin-top: 1em; gap: 10px 12px; }
  .date { font-size: clamp(18px, 5vw, 32px); }
  .stage { right: 50%; bottom: 2svh; height: min(54svh, 120vw); margin-right: calc(min(54svh, 120vw) * -1563 / 1927 / 2); }
  .sky { background:
    radial-gradient(80% 45% at 50% 72%, var(--sky-glow) 0%, rgba(72,230,246,0) 70%),
    linear-gradient(180deg, var(--sky-2) 0%, var(--sky-1) 100%); }
  .brand img { height: 42px; }
  .brand span { font-size: 11px; }
  .top nav a:not(.nav-cta) { display: none; }
}

/* ---------- comune secțiunilor ---------- */
.wrap { width: min(1180px, 100% - 40px); margin: 0 auto; }
.sec-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 70px); }
.eyebrow {
  margin: 0 0 12px; color: var(--leaf-2); font-weight: 800; font-size: 14px;
  letter-spacing: .16em; text-transform: uppercase;
}
.note {
  margin: 20px 0 0; font-size: 16px; line-height: 1.5; color: var(--ink-2);
  padding: 12px 16px; border-left: 4px solid var(--leaf); background: #fff; border-radius: 0 10px 10px 0;
  display: inline-block;
}
.bring {
  margin-top: clamp(30px, 4vw, 48px); display: flex; flex-wrap: wrap; align-items: center; gap: 14px 30px;
  padding: 24px clamp(24px, 3vw, 40px); border-radius: 20px; background: var(--pill); color: #fff;
}
.bring h3 { margin: 0; font-weight: 800; font-size: 18px; }
.bring ul { display: flex; flex-wrap: wrap; gap: 8px 10px; list-style: none; margin: 0; padding: 0; }
.bring li { font-size: 14px; font-weight: 600; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.1); }
.bring li::before { content: "● "; color: var(--leaf); font-size: 10px; vertical-align: 2px; }

.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }


/* ---------- banda „200.000" ---------- */
.counter {
  background: linear-gradient(90deg, var(--deep-1), var(--deep-2));
  color: #fff; text-align: center; padding: clamp(28px, 4vw, 44px) 0;
}
.counter p { margin: 0 auto; font-weight: 600; font-size: clamp(18px, 2.1vw, 28px); line-height: 1.35; }
.counter strong {
  display: inline-block; min-width: 4.6ch; color: #c4f27a; font-weight: 900;
  font-size: 1.5em; letter-spacing: -.02em; font-variant-numeric: tabular-nums; vertical-align: -.06em;
}
.counter em { display: block; font-style: normal; font-weight: 800; color: #c4f27a; margin-top: .15em; }

/* ---------- planul plantărilor ---------- */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.plan { background: #fff; padding: clamp(70px, 10vw, 130px) 0; }
.plan h2 {
  margin: 0; font-weight: 900; text-transform: uppercase; line-height: .95;
  font-size: clamp(38px, 6vw, 84px); letter-spacing: -.02em; color: var(--ink);
}
.lead { margin: 18px 0 0; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.5; color: var(--ink-2); max-width: 620px; }
.plan .sec-head { margin-bottom: 28px; }

.plan-totals { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.plan-totals div {
  padding: 14px 20px; border-radius: 16px; background: var(--paper); min-width: 150px;
}
.plan-totals b { display: block; font-size: clamp(24px, 2.4vw, 34px); font-weight: 900; color: var(--pill); letter-spacing: -.02em; }
.plan-totals span { font-size: 14px; font-weight: 600; color: var(--ink-2); }

/* filtrul clasic: două liste derulante + comutator tabel / listă */
.filters {
  display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 14px; margin-bottom: 16px;
}
.field { display: flex; flex-direction: column; gap: 6px; flex: 1 1 220px; max-width: 320px; }
.field span { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.field select {
  appearance: none; -webkit-appearance: none;
  font: inherit; font-size: 16px; font-weight: 700; color: var(--ink);
  padding: 13px 44px 13px 16px; border-radius: 12px; border: 2px solid rgba(23,70,93,.14); background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%230a6fa8' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
  cursor: pointer; transition: border-color .2s;
}
.field select:hover { border-color: rgba(10,111,168,.45); }
.field select:focus-visible { outline: none; border-color: var(--pill); box-shadow: 0 0 0 4px rgba(10,111,168,.18); }
.view { display: inline-flex; margin-left: auto; padding: 4px; border-radius: 12px; background: var(--paper); }
.view button {
  font: inherit; font-size: 14px; font-weight: 700; color: var(--ink-2); background: none; border: 0; cursor: pointer;
  padding: 10px 16px; border-radius: 9px; transition: background .2s, color .2s;
}
.view button[aria-pressed="true"] { background: #fff; color: var(--pill); box-shadow: 0 2px 8px -2px rgba(23,70,93,.2); }
.plan.list-only .matrix-wrap, .plan.list-only .matrix-hint { display: none; }

/* tabelul: fără spații între celule (padding în loc de border-spacing), ca prima coloană,
   fixă la glisare, să acopere complet celulele care trec pe sub ea */
.matrix-wrap {
  position: relative; overflow-x: auto; border-radius: 20px; background: var(--paper); padding: 8px 8px 8px 0;
  scrollbar-width: thin; -webkit-overflow-scrolling: touch;
}
.matrix { border-collapse: collapse; width: 100%; min-width: 1000px; table-layout: fixed; }
.matrix .corner { width: 172px; }   /* restul coloanelor (zilele) împart egal lățimea */
.matrix th, .matrix td { padding: 3px; text-align: center; }
.matrix tbody th { padding-left: 11px; }
.matrix button {
  font: inherit; color: inherit; border: 0; cursor: pointer; width: 100%;
  border-radius: 10px; transition: background .2s, color .2s, box-shadow .2s, filter .2s;
}
.matrix button:focus-visible { outline: 3px solid var(--sky-1); outline-offset: -3px; }
.matrix .corner { text-align: left; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); padding-left: 20px; }
/* fără padding la stânga pe container: coloana fixă se lipește exact de marginea lui,
   altfel prin cei 8px rămași se văd celulele care trec pe sub ea */
.matrix .corner, .matrix tbody th {
  position: sticky; left: 0; z-index: 2; background: var(--paper);
  transition: box-shadow .2s;
}
.matrix .corner::after, .matrix tbody th::after {
  content: ""; position: absolute; top: 0; bottom: 0; right: -26px; width: 26px; pointer-events: none;
  background: linear-gradient(90deg, var(--paper) 50%, rgba(238,248,251,0));
  opacity: 0; transition: opacity .2s;
}
.matrix-wrap.scrolled .corner::after, .matrix-wrap.scrolled tbody th::after { opacity: 1; }
.dh { background: transparent; padding: 6px 0; line-height: 1.1; }
.dh span { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #6b8794; }
.dh b { font-size: 17px; font-weight: 800; }
.dh.we span { color: var(--leaf-2); }
.dh:hover { background: #fff; }
.dh.on { background: var(--pill); color: #fff; }
.dh.on span { color: #cfeaf7; }
.sh {
  background: #fff; text-align: left; padding: 12px 14px; font-weight: 800; font-size: 15px; white-space: nowrap;
  box-shadow: 0 1px 0 rgba(23,70,93,.06);
}
.sh:hover { color: var(--pill); }
.sh.on { background: var(--pill); color: #fff; }
/* culori pline (nu transparente), ca și „1" să iasă clar din fundalul albastru-deschis:
   o locație = verde deschis, două sau mai multe = verde închis */
.cell {
  display: block; aspect-ratio: 1; min-height: 0; font-variant-numeric: tabular-nums;
  background: #9bd451; color: #1c4a0c;
  box-shadow: inset 0 0 0 1px rgba(40,100,10,.18), 0 2px 0 rgba(40,100,10,.22), 0 4px 10px -4px rgba(40,100,10,.35);
}
.cell.hi { background: #4c9a1f; color: #fff; }
.matrix .cell { font-weight: 800; font-size: 16px; }   /* peste `font: inherit` din .matrix button */
.cell:hover { filter: brightness(.95) saturate(1.1); }
.cell.on { box-shadow: inset 0 0 0 3px var(--pill), 0 2px 0 rgba(40,100,10,.22); }
.matrix td.empty { color: #a9bfc8; font-size: 13px; }
.matrix .row-on .sh:not(.on) { color: var(--pill); }
.matrix td.col-on, .matrix tr.row-on td { background: rgba(10,111,168,.07); }
.matrix-hint { margin: 10px 4px 0; font-size: 13px; color: #6b8794; }

.plan-detail { margin-top: clamp(30px, 4vw, 44px); }
.detail-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 20px; }
.detail-title { margin: 0; font-size: clamp(22px, 2.4vw, 32px); font-weight: 800; color: var(--ink); }
.detail-title::first-letter { text-transform: uppercase; }
.reset {
  font: inherit; font-size: 14px; font-weight: 700; color: var(--pill); background: none; border: 0; cursor: pointer;
  padding: 6px 0; border-bottom: 2px solid rgba(10,111,168,.3);
}
.reset:hover { border-color: var(--pill); }
.detail-stats { margin: 8px 0 20px; font-size: 15px; color: var(--ink-2); }
.detail-stats b { color: var(--ink); }

.actions {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px;
}
.act {
  position: relative; display: flex; flex-direction: column; gap: 10px;
  padding: 20px 22px; border-radius: 20px; background: var(--paper);
  animation: act-in .45s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--i, 0) * 40ms);
}
@keyframes act-in { from { opacity: 0; transform: translateY(12px); } }
.act-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.act time { font-weight: 800; font-size: 17px; color: var(--pill); font-variant-numeric: tabular-nums; }
.act .when-day { font-size: 13px; font-weight: 700; color: #6b8794; }
.tag-sector {
  margin-left: auto; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px; background: #fff; color: var(--ink-2);
}
.act h4 { margin: 0; font-size: 17px; font-weight: 800; line-height: 1.3; }
.act .species { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.act .species li { font-size: 14px; line-height: 1.35; color: #4b6b7a; }
.act .species li::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50% 0; background: var(--leaf-2); vertical-align: 1px; }
.act .species b { color: var(--ink); font-weight: 700; }
.act .species i { white-space: nowrap; }
.act .qty { font-size: 12px; font-weight: 800; padding: 2px 8px; border-radius: 6px; background: #fff; color: var(--leaf-2); white-space: nowrap; }
.act-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 4px; }
.map {
  font-size: 14px; font-weight: 700; color: var(--pill); text-decoration: none;
  border-bottom: 2px solid rgba(10,111,168,.25);
}
.map:hover { border-color: var(--pill); }
.no-actions { padding: 26px; border-radius: 20px; background: var(--paper); color: var(--ink-2); }

@media (max-width: 760px) {
  .plan-totals div { flex: 1 1 40%; min-width: 0; padding: 12px 14px; }
  /* pe telefon coloanele au lățime fixă, ca celulele să rămână pătrate; tabelul se glisează */
  .matrix { width: max-content; min-width: 0; table-layout: auto; }
  .matrix .corner { width: auto; }
  .matrix thead th:not(.corner), .matrix td { width: 52px; min-width: 52px; }   /* 46px pătrat + 2×3px */
  .matrix td.empty { height: 52px; }
  .field { max-width: none; flex-basis: 100%; }
  .view { margin-left: 0; width: 100%; }
  .view button { flex: 1; }
  .sh { padding: 10px; font-size: 14px; }
  .actions { grid-template-columns: 1fr; }
}

/* ---------- footer ---------- */
.foot { background: linear-gradient(180deg, var(--deep-1) 0%, var(--deep-2) 100%); color: #dcf0f9; padding: 64px 0 34px; }
.foot-brand { display: flex; align-items: center; gap: 20px; padding-bottom: 36px; }
.foot-brand img { height: 74px; width: auto; }
.foot-small { margin: 0; font-size: 15px; opacity: .8; }
.foot-big { margin: 2px 0 0; font-size: clamp(20px, 2.4vw, 28px); font-weight: 800; color: #fff; }
.legal { margin: 0; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; opacity: .6; }

/* ---------- mișcare redusă ---------- */
@media (prefers-reduced-motion: reduce) {
  .stage, .kicker, .line > span, .date, .cta, .act { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
