/* Verde Fresh — ühelehelise saidi stiilid.
   Kujundus: suund A+ (fotoga hero).
   Värvid tulevad brändipaletist, muutujad on all :root plokis. */

:root {
  --ink: #0F3D2E;          /* tume roheline — tekst, tumedad pinnad */
  --green: #2BA05D;        /* põhiroheline — nupud, aktiivne olek */
  --leaf: #8BC46A;         /* hele roheline — aktsent, ikoonid tumedal */
  --mist: #E6EAE6;         /* hall-roheline — sektsiooni taust, jooned */
  --page: #FBFCFA;         /* lehe taust */
  --body: #40514A;         /* leibtekst */
  --muted: #4C5B53;        /* teisene tekst */
  --on-ink: #A9BDB2;       /* sildid tumedal taustal */

  --wrap: 1440px;
  --pad: clamp(20px, 5vw, 72px);

  --r-pill: 999px;
  --r-card: 28px;
  --r-band: 32px;

  --font: "Public Sans", "Helvetica Neue", Arial, sans-serif;
  --display: "Bricolage Grotesque", "Public Sans", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  color: #1D1D1D;
  background: var(--page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; }

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--green); }

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3 { font-family: var(--display); margin: 0; }

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 14px 20px;
  z-index: 100;
}
.skip:focus { left: 12px; top: 12px; color: #fff; }

/* ---------- nupud ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.2;
  padding: 17px 30px;
  border-radius: var(--r-pill);
  border: 1.5px solid transparent;
  min-height: 44px;
  transition: background-color .16s ease, color .16s ease, border-color .16s ease;
}
.btn--ink     { background: var(--ink);   color: #fff; }
.btn--ink:hover { background: #16543F;    color: #fff; }
.btn--green   { background: var(--green); color: #fff; }
.btn--green:hover { background: var(--ink); color: #fff; }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: #fff; }

/* ---------- päis ---------- */

.hdr {
  background: #fff;
  border-bottom: 1px solid var(--mist);
  position: sticky;
  top: 0;
  z-index: 30;
}
.hdr__in {
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 22px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.hdr__logo { display: block; flex: none; }
.hdr__logo img {
  display: block;
  height: clamp(56px, 8vw, 120px);
  width: auto;
}
.hdr__right { display: flex; align-items: center; gap: 20px; }
.hdr__right .btn { font-size: 15px; padding: 13px 22px; }

.lang {
  display: flex;
  align-items: center;
  gap: 2px;
  border: 1px solid var(--mist);
  border-radius: var(--r-pill);
  padding: 3px;
  flex: none;
}
.lang a, .lang__on {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  padding: 8px 13px;
  border-radius: var(--r-pill);
  line-height: 1;
}
.lang a { color: #6B7B72; }
.lang a:hover { color: var(--ink); background: var(--page); }
.lang__on { background: var(--ink); color: #fff; }

/* ---------- hero ---------- */

.hero { position: relative; overflow: hidden; }

.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(100deg,
    rgba(255,255,255,.90) 0%,
    rgba(255,255,255,.72) 34%,
    rgba(255,255,255,0) 60%);
}

.hero__in {
  position: relative;
  z-index: 2;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: clamp(48px, 7vw, 96px) var(--pad) clamp(48px, 6vw, 88px);
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(28px, 3.4vw, 48px);
  align-items: center;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 26px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green);
}
.eyebrow svg { flex: none; }

.hero h1 {
  font-size: clamp(34px, 4.5vw, 66px);
  line-height: 1.03;
  font-weight: 800;
  letter-spacing: -.028em;
  color: var(--ink);
  margin-bottom: 26px;
  text-wrap: pretty;
}
.hero .lead {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.55;
  color: var(--body);
  margin: 0 0 38px;
  max-width: 560px;
  text-wrap: pretty;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }

/* ---------- kontaktikaart ---------- */

.card {
  background: var(--ink);
  border-radius: var(--r-card);
  padding: clamp(28px, 3vw, 44px) clamp(24px, 2.9vw, 42px);
  color: #fff;
}
.card__kicker {
  margin: 0 0 22px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--leaf);
}
.card__cta { font-size: 16px; padding: 15px 28px; }
.card__rule {
  border: 0;
  border-top: 1px solid rgba(255,255,255,.14);
  margin: 30px 0;
}
.card__rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.card__rows li { display: flex; align-items: flex-start; gap: 14px; }
.card__icon { flex: none; margin-top: 2px; line-height: 0; }
.card__text { display: block; min-width: 0; }
.card__label {
  display: block;
  font-size: 13px;
  line-height: 1.4;
  color: var(--on-ink);
  margin-bottom: 3px;
}
.card__value {
  font-size: clamp(17px, 1.4vw, 19px);
  font-weight: 600;
  color: #fff;
  overflow-wrap: anywhere;
}
.card__value:hover { color: var(--leaf); }
.card__note {
  margin: 32px 0 0;
  background: rgba(139,196,106,.14);
  border-radius: 16px;
  padding: 16px 18px;
  font-size: 14px;
  line-height: 1.5;
  color: #C9DBCF;
}

/* ---------- väärtused ---------- */

.values { background: var(--mist); padding-block: clamp(56px, 6vw, 88px); }
.values h2 {
  font-size: clamp(28px, 2.9vw, 42px);
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--ink);
  margin-bottom: 14px;
}
.rule {
  display: block;
  width: 48px;
  height: 5px;
  border-radius: 3px;
  background: var(--ink);
  margin-bottom: 22px;
}
.values__lead {
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.55;
  color: var(--muted);
  margin: 0 0 48px;
  max-width: 620px;
}
.values__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.value__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--green);
  margin-bottom: 18px;
}
.value h3 {
  font-size: clamp(18px, 1.4vw, 20px);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}
.value p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); }

/* ---------- lõpu-CTA ---------- */

.cta { padding-block: clamp(56px, 6vw, 88px); }
.cta__band {
  background: var(--leaf);
  border-radius: var(--r-band);
  padding: clamp(36px, 4.4vw, 64px) clamp(26px, 4.2vw, 60px);
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(28px, 3vw, 40px);
  align-items: center;
}
.cta__copy h2 {
  font-size: clamp(28px, 3.2vw, 46px);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.08;
  color: var(--ink);
  margin-bottom: 16px;
}
.cta__copy p {
  margin: 0;
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.55;
  color: #1A3B2A;
  max-width: 520px;
}
.cta__rows { display: grid; gap: 14px; }
.cta__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-radius: 18px;
  padding: 22px 26px;
  min-height: 44px;
}
.cta__row span { font-size: 15px; flex: none; }
.cta__row strong { font-size: clamp(16px, 1.35vw, 19px); font-weight: 600; overflow-wrap: anywhere; text-align: right; }
.cta__row--ink   { background: var(--ink); color: #fff; }
.cta__row--ink span { color: var(--on-ink); }
.cta__row--ink strong { font-family: var(--display); font-size: clamp(20px, 1.8vw, 26px); font-weight: 700; }
.cta__row--white { background: #fff; color: var(--ink); }
.cta__row--white span { color: #6B7B72; }
.cta__row--tint  { background: rgba(255,255,255,.5); color: var(--ink); }
.cta__row--tint span { color: #3D5A47; }
.cta__row:hover { filter: brightness(.97); }
.cta__row--ink:hover { background: #16543F; color: #fff; }

/* ---------- jalus ---------- */

.ftr { background: var(--ink); }
.ftr__in {
  max-width: var(--wrap);
  margin-inline: auto;
  padding: clamp(36px, 4vw, 52px) var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.ftr__logo { height: 32px; width: auto; display: block; opacity: .95; }
.ftr__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
  font-size: 14px;
  color: var(--on-ink);
}
.ftr__meta a { color: var(--on-ink); }
.ftr__meta a:hover { color: #fff; }

/* ---------- laiused ---------- */

@media (max-width: 1080px) {
  .values__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
}

/* Ühes veerus: foto jääb pealkirja TAUSTAKS (tekst kirjutub fotole peale, mitte
   ei jää foto alla eraldi ribaks) — kaardil on oma tumeda taustaga plokk,
   mis fotot enam ei vaja, seega hajub kate enne kaardi algust täislehe värviks. */
@media (max-width: 900px) {
  .hero__in { grid-template-columns: 1fr; align-items: start; padding-top: 130px; }
  .hero__copy { max-width: 640px; }
  .cta__band { grid-template-columns: 1fr; }

  .hero__bg { inset: 0 0 auto; height: 480px; }
  .hero__scrim {
    inset: 0 0 auto;
    height: 520px;
    background: linear-gradient(180deg,
      rgba(251,252,250,.92) 0%,
      rgba(251,252,250,.74) 42%,
      rgba(251,252,250,.90) 68%,
      var(--page) 100%);
  }
}

/* Telefon: madalam fotoala, nupud üle laiuse. */
@media (max-width: 720px) {
  .hero__bg { height: 380px; }
  .hero__scrim { height: 420px; }
  .hero__in { padding-top: 40px; }
  .hero h1 { margin-bottom: 20px; }
  .hero .lead { margin-bottom: 30px; }
  .hero__actions .btn { flex: 1 1 100%; }

  .values__grid { grid-template-columns: 1fr; gap: 30px; }

  .cta__row { flex-direction: column; align-items: flex-start; gap: 4px; padding: 18px 22px; }
  .cta__row strong { text-align: left; }

  .ftr__in { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .hdr__in { flex-wrap: wrap; row-gap: 14px; }
  .hdr__logo { width: 100%; }
  .hdr__right { width: 100%; justify-content: space-between; gap: 12px; }
  .hdr__right .btn { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
