/*
 * Soetuppa avalehe redesign — kõik sektsioonid
 * Version: 1.0.0 (2026-04-20)
 * Tokens + sections + interactions
 */

/* =================== Tokens =================== */
:root {
  --sp2-bg:        #0b1120;
  --sp2-bg-2:      #0f172a;
  --sp2-panel:     #131c33;
  --sp2-panel-2:   #182241;
  --sp2-panel-3:   #1d2a4d;
  --sp2-line:      #223157;
  --sp2-line-2:    #2b3c6b;
  --sp2-ink:       #eef2fb;
  --sp2-ink-dim:   #a6b2cf;
  --sp2-ink-mute:  #6f7d9f;
  --sp2-accent:    #f07b2e;
  --sp2-accent-2:  #ffb070;
  --sp2-accent-soft: rgba(240,123,46,.12);
  --sp2-good:      #4cc38a;
  --sp2-sans:      'Inter', system-ui, sans-serif;
  --sp2-disp:      'Manrope', sans-serif;
  --sp2-mono:      'JetBrains Mono', ui-monospace, monospace;
}

/* =================== Reset scoped to page =================== */
.sp2-page {
  background: var(--sp2-bg) !important;
  color: var(--sp2-ink) !important;
  font-family: var(--sp2-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.sp2-page *, .sp2-page *::before, .sp2-page *::after { box-sizing: border-box; }
.sp2-page a { color: inherit !important; text-decoration: none !important; }
.sp2-page h1, .sp2-page h2, .sp2-page h3, .sp2-page h4 {
  font-family: var(--sp2-disp);
  font-weight: 700;
  margin: 0;
  color: #fff !important;
  letter-spacing: -0.025em;
}
.sp2-page h1 { font-size: clamp(40px, 5.4vw, 72px); line-height: 1.02; letter-spacing: -0.04em; font-weight: 800; }
.sp2-page h2 { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.08; letter-spacing: -0.03em; }
.sp2-page h3 { font-size: 22px; line-height: 1.25; }
.sp2-page h4 { font-size: 16px; line-height: 1.3; }
.sp2-page p { margin: 0; color: var(--sp2-ink-dim) !important; }
.sp2-page ::selection { background: var(--sp2-accent); color: #1a0d00; }

/* =================== Utilities =================== */
.sp2-wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.sp2-wrap-narrow { max-width: 1040px; margin: 0 auto; padding: 0 32px; }
.sp2-section { padding: 112px 0; }
.sp2-section-dense { padding: 72px 0; }
.sp2-divider { height: 1px; background: var(--sp2-line); border: 0; margin: 0; }
.sp2-eyebrow {
  font-family: var(--sp2-mono); font-size: 11px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--sp2-accent); font-weight: 500;
}
.sp2-accent-text { color: var(--sp2-accent) !important; }

/* =================== Pill / Chip =================== */
.sp2-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sp2-mono); font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; font-weight: 500;
  padding: 6px 10px; border-radius: 999px;
}
.sp2-pill--accent   { color: var(--sp2-accent); background: rgba(240,123,46,.1); border: 1px solid rgba(240,123,46,.3); }
.sp2-pill--neutral  { color: var(--sp2-ink-dim); background: rgba(255,255,255,.04); border: 1px solid var(--sp2-line); }
.sp2-pill--good     { color: var(--sp2-accent); background: rgba(76,195,138,.1); border: 1px solid rgba(240,123,46,.3); }

/* =================== Buttons =================== */
.sp2-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--sp2-sans); font-weight: 600; letter-spacing: -0.005em;
  border-radius: 10px; cursor: pointer;
  transition: all .15s ease; white-space: nowrap; text-decoration: none;
  border: none;
}
.sp2-btn--sm { font-size: 13px; padding: 8px 14px; height: 36px; }
.sp2-btn--md { font-size: 15px; padding: 12px 20px; height: 48px; }
.sp2-btn--lg { font-size: 16px; padding: 14px 26px; height: 56px; }
.sp2-btn--primary {
  background: var(--sp2-accent); color: #1a0d00;
  box-shadow: 0 8px 24px -10px rgba(240,123,46,.5), inset 0 1px 0 rgba(255,255,255,.2);
}
.sp2-btn--primary:hover { transform: translateY(-1px); box-shadow: 0 12px 28px -10px rgba(240,123,46,.6), inset 0 1px 0 rgba(255,255,255,.25); }
.sp2-btn--secondary {
  background: rgba(255,255,255,.06); color: #fff; border: 1px solid var(--sp2-line-2);
}
.sp2-btn--secondary:hover { background: rgba(255,255,255,.1); border-color: var(--sp2-ink-mute); }
.sp2-btn--ghost { background: transparent; color: #fff; }
.sp2-btn--ghost:hover { color: var(--sp2-accent); }
.sp2-btn--link { background: transparent; color: var(--sp2-accent); padding: 0; height: auto; }

/* =================== Nav =================== */
.sp2-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 76px;
  display: flex; align-items: center;
  background: transparent;
  transition: background .2s ease, backdrop-filter .2s ease, border-color .2s ease;
  border-bottom: 1px solid transparent;
}
.sp2-nav--scrolled {
  background: rgba(11,17,32,.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--sp2-line);
}
.sp2-nav__inner {
  width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center; gap: 40px;
}
.sp2-nav__logo { display: flex; align-items: center; gap: 10px; }
.sp2-nav__logo-box {
  width: 34px; height: 34px; border-radius: 8px;
  background: var(--sp2-accent); display: flex; align-items: center; justify-content: center;
  color: #1a0d00;
}
.sp2-nav__logo-text { line-height: 1.1; }
.sp2-nav__logo-name { font-family: var(--sp2-disp); font-weight: 800; font-size: 18px; color: #fff; letter-spacing: -0.02em; }
.sp2-nav__logo-micro { font-family: var(--sp2-mono); font-size: 9px; color: var(--sp2-ink-mute); letter-spacing: .15em; text-transform: uppercase; margin-top: 2px; }
.sp2-nav__menu { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.sp2-nav__menu a {
  font-size: 14px; color: var(--sp2-ink); transition: color .15s ease;
  font-weight: 500;
}
.sp2-nav__menu a:hover { color: var(--sp2-accent); }
.sp2-nav__phone {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--sp2-mono); font-size: 13px; color: var(--sp2-ink);
  margin-left: 12px;
}
.sp2-nav__phone svg { color: var(--sp2-accent); }
.sp2-nav__cta { margin-left: 8px; }
.sp2-nav__burger {
  display: none; background: transparent; border: 1px solid var(--sp2-line-2);
  border-radius: 8px; padding: 8px; color: #fff; cursor: pointer;
}

@media (max-width: 900px) {
  .sp2-nav__menu { display: none; }
  .sp2-nav__phone { display: none; }
  .sp2-nav__inner { justify-content: space-between; gap: 12px; }
  .sp2-nav__cta { display: none; }
  .sp2-nav__burger { display: inline-flex; margin-left: auto; }
}

/* Mobile off-canvas menu */
.sp2-nav__mobile {
  position: fixed; top: 0; right: -100%; width: min(320px, 85vw); height: 100vh;
  background: var(--sp2-bg-2); border-left: 1px solid var(--sp2-line);
  padding: 80px 24px 24px; transition: right .25s ease; z-index: 99;
  display: flex; flex-direction: column; gap: 8px;
}
.sp2-nav__mobile.is-open { right: 0; }
.sp2-nav__mobile a {
  padding: 14px 12px; font-size: 16px; border-bottom: 1px solid var(--sp2-line);
  color: var(--sp2-ink);
}
.sp2-nav__mobile a:hover { color: var(--sp2-accent); }
.sp2-nav__mobile .sp2-btn { margin-top: 12px; }
.sp2-nav__overlay {
  position: fixed; inset: 0; background: rgba(7,11,22,.6); z-index: 98;
  opacity: 0; pointer-events: none; transition: opacity .2s ease;
}
.sp2-nav__overlay.is-open { opacity: 1; pointer-events: auto; }

/* =================== Hero =================== */
.sp2-hero {
  position: relative; padding: 160px 0 112px; overflow: hidden;
}
.sp2-hero::before, .sp2-hero::after {
  content: ''; position: absolute; pointer-events: none;
}
.sp2-hero::before {
  top: -200px; right: -200px; width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(240,123,46,.15), transparent 70%);
}
.sp2-hero::after {
  bottom: -200px; left: -200px; width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(240,123,46,.08), transparent 70%);
}
.sp2-hero__grid {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px;
  align-items: center; min-height: 520px; position: relative; z-index: 1;
}
.sp2-hero__pill { margin-bottom: 24px; }
.sp2-hero h1 { margin-bottom: 24px; }
.sp2-hero__subtitle {
  font-size: 19px; line-height: 1.55; color: var(--sp2-ink-dim);
  max-width: 580px; margin-bottom: 32px;
}
.sp2-hero__proof {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  margin-bottom: 32px;
}
.sp2-hero__stars { display: inline-flex; gap: 2px; color: var(--sp2-accent); }
.sp2-hero__proof-text { font-size: 14px; color: var(--sp2-ink-dim); }
.sp2-hero__proof-text strong { color: #fff; font-weight: 600; }
.sp2-hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.sp2-hero__photo {
  width: 100%; aspect-ratio: 560 / 520; border-radius: 20px;
  background: var(--sp2-panel-2);
  position: relative; overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.5);
}
.sp2-hero__photo img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  border-radius: 20px;
}
.sp2-hero__photo--placeholder {
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.045) 0 10px, rgba(255,255,255,.012) 10px 20px),
    linear-gradient(180deg, #14203c, #0e1730);
  border: 1px dashed var(--sp2-line-2);
  display: flex; align-items: center; justify-content: center; flex-direction: column;
  color: var(--sp2-ink-mute);
  font-family: var(--sp2-mono); font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; text-align: center; padding: 24px;
}
.sp2-hero__photo--placeholder small { font-weight: 400; margin-top: 6px; letter-spacing: .05em; text-transform: none; color: #4e5a7a; }

@media (max-width: 900px) {
  .sp2-hero { padding: 120px 0 80px; }
  .sp2-hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .sp2-hero__photo { max-width: 560px; aspect-ratio: 4/3; }
}

/* =================== Trust strip =================== */
.sp2-trust {
  background: var(--sp2-bg-2);
  border-top: 1px solid var(--sp2-line);
  border-bottom: 1px solid var(--sp2-line);
  padding: 40px 0;
}
.sp2-trust__inner {
  display: flex; align-items: center; gap: 40px; flex-wrap: wrap;
  justify-content: center;
}
.sp2-trust__label {
  font-family: var(--sp2-mono); font-size: 11px; letter-spacing: .18em;
  color: var(--sp2-ink-mute); text-transform: uppercase;
}
.sp2-trust__brands {
  display: flex; align-items: center; gap: 32px; flex-wrap: wrap;
}
.sp2-trust__brand {
  font-family: var(--sp2-disp); font-weight: 600; font-size: 18px;
  color: var(--sp2-ink-dim); letter-spacing: -0.01em;
  transition: color .15s ease;
}
.sp2-trust__brand:hover { color: var(--sp2-ink); }

/* =================== Manifesto =================== */
.sp2-manifesto { text-align: center; }
.sp2-manifesto h2 { max-width: 900px; margin: 0 auto 56px; }
.sp2-manifesto__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px;
  text-align: left; max-width: 1040px; margin: 0 auto;
}
.sp2-manifesto__item { padding-top: 24px; border-top: 1px solid var(--sp2-line); }
.sp2-manifesto__icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--sp2-accent-soft); color: var(--sp2-accent);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.sp2-manifesto__item h3 { margin-bottom: 10px; }
.sp2-manifesto__item p { font-size: 15px; color: var(--sp2-ink-dim); line-height: 1.6; }

@media (max-width: 900px) {
  .sp2-manifesto__grid { grid-template-columns: 1fr; gap: 32px; }
}

/* =================== E-poe CTA =================== */
.sp2-epood__card {
  background: linear-gradient(135deg, var(--sp2-panel), var(--sp2-panel-2));
  border: 1px solid var(--sp2-line);
  border-radius: 20px; padding: 48px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
  position: relative; overflow: hidden;
}
.sp2-epood__card::before {
  content: ''; position: absolute; top: -100px; right: -100px; width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(240,123,46,.08), transparent 70%);
  pointer-events: none;
}
.sp2-epood__content { position: relative; z-index: 1; }
.sp2-epood__content h2 { margin: 14px 0 20px; }
.sp2-epood__brands {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px;
}
.sp2-epood__brand {
  padding: 6px 10px; border-radius: 6px;
  background: rgba(255,255,255,.04); border: 1px solid var(--sp2-line);
  font-size: 13px; color: var(--sp2-ink-dim);
}
.sp2-epood__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.sp2-epood__visual {
  aspect-ratio: 1; border-radius: 16px; overflow: hidden;
}
.sp2-epood__visual img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 900px) {
  .sp2-epood__card { grid-template-columns: 1fr; padding: 32px; gap: 32px; }
  .sp2-epood__visual { max-width: 400px; margin: 0 auto; width: 100%; }
}

/* =================== Protsess =================== */
.sp2-protsess { background: var(--sp2-bg-2); }
.sp2-protsess__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.sp2-protsess__card {
  background: var(--sp2-panel); border: 1px solid var(--sp2-line);
  border-radius: 16px; padding: 32px;
  transition: transform .2s ease, border-color .2s ease;
}
.sp2-protsess__card:hover { transform: translateY(-2px); border-color: var(--sp2-line-2); }
.sp2-protsess__head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px;
}
.sp2-protsess__num {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--sp2-accent); color: #1a0d00;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--sp2-disp); font-weight: 800; font-size: 16px;
}
.sp2-protsess__time {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(240,123,46,.12); border: 1px solid rgba(240,123,46,.3);
  color: var(--sp2-accent); font-family: var(--sp2-mono); font-size: 11px;
  letter-spacing: .1em; text-transform: uppercase;
}
.sp2-protsess__card h3 { margin-bottom: 10px; }
.sp2-protsess__card p { font-size: 15px; margin-bottom: 16px; }
.sp2-protsess__link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--sp2-accent); font-size: 14px; font-weight: 600;
  transition: gap .15s ease;
}
.sp2-protsess__link:hover { gap: 10px; }

@media (max-width: 900px) {
  .sp2-protsess__grid { grid-template-columns: 1fr; }
}

/* =================== Arvustused =================== */
.sp2-reviews__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 40px;
}
.sp2-review {
  background: var(--sp2-panel); border: 1px solid var(--sp2-line);
  border-radius: 16px; padding: 28px;
}
.sp2-review__stars { display: inline-flex; gap: 2px; color: var(--sp2-accent); margin-bottom: 16px; }
.sp2-review__quote { font-size: 16px; color: var(--sp2-ink); line-height: 1.6; margin-bottom: 20px; }
.sp2-review__author { display: flex; align-items: center; gap: 12px; }
.sp2-review__avatar {
  width: 40px; height: 40px; border-radius: 50%; overflow: hidden;
  background: var(--sp2-panel-3); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--sp2-ink-mute); font-family: var(--sp2-disp); font-weight: 700; font-size: 14px;
}
.sp2-review__avatar img { width: 100%; height: 100%; object-fit: cover; }
.sp2-review__name { font-weight: 600; font-size: 14px; color: #fff; }
.sp2-review__loc { font-size: 13px; color: var(--sp2-ink-mute); margin-top: 2px; }
.sp2-reviews__bar {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  padding: 20px; border-radius: 12px;
  background: rgba(255,255,255,.03); border: 1px solid var(--sp2-line);
  flex-wrap: wrap;
}
.sp2-reviews__bar strong { color: #fff; }

@media (max-width: 900px) {
  .sp2-reviews__grid { grid-template-columns: 1fr; }
}

/* =================== Hind + KredEx =================== */
.sp2-pricing { background: var(--sp2-bg-2); }
.sp2-pricing__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
}
.sp2-pricing__list { display: flex; flex-direction: column; gap: 16px; }
.sp2-pricing__item {
  background: var(--sp2-panel); border: 1px solid var(--sp2-line);
  border-radius: 14px; padding: 24px;
  display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center;
}
.sp2-pricing__item h3 { font-size: 18px; margin-bottom: 4px; }
.sp2-pricing__item p { font-size: 14px; color: var(--sp2-ink-mute); }
.sp2-pricing__price { text-align: right; }
.sp2-pricing__price-main {
  font-family: var(--sp2-disp); font-weight: 700; font-size: 22px; color: #fff;
}
.sp2-pricing__price-kredex {
  font-size: 13px; color: var(--sp2-accent); margin-top: 4px;
}
.sp2-pricing__kredex {
  background: linear-gradient(135deg, rgba(240,123,46,.08), rgba(255,176,112,.04));
  border: 1px solid rgba(240,123,46,.3);
  border-radius: 16px; padding: 32px;
}
.sp2-pricing__kredex h3 { margin-bottom: 20px; color: var(--sp2-accent); font-size: 32px; font-family: var(--sp2-disp); font-weight: 800; }
.sp2-pricing__kredex ul { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-direction: column; gap: 10px; }
.sp2-pricing__kredex li {
  display: flex; align-items: start; gap: 10px;
  font-size: 15px; color: var(--sp2-ink); line-height: 1.5;
}
.sp2-pricing__kredex li svg { color: var(--sp2-good); flex-shrink: 0; margin-top: 3px; }
.sp2-pricing__kredex-example {
  padding: 12px 16px; background: rgba(76,195,138,.1);
  border: 1px solid rgba(76,195,138,.3); border-radius: 10px;
  font-size: 14px; color: var(--sp2-good); font-weight: 500;
}

@media (max-width: 900px) {
  .sp2-pricing__grid { grid-template-columns: 1fr; }
}

/* =================== Numbrid =================== */
.sp2-stats__grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px;
  background: var(--sp2-line); border: 1px solid var(--sp2-line);
  border-radius: 16px; overflow: hidden;
}
.sp2-stat {
  background: var(--sp2-panel);
  padding: 32px 24px; text-align: center;
}
.sp2-stat--highlight {
  background: var(--sp2-accent);
  color: #1a0d00;
}
.sp2-stat__num {
  font-family: var(--sp2-disp); font-weight: 800;
  font-size: clamp(28px, 3vw, 44px); color: #fff; letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.sp2-stat--highlight .sp2-stat__num { color: #1a0d00; }
.sp2-stat__label { font-size: 14px; color: var(--sp2-ink-dim); font-weight: 500; }
.sp2-stat--highlight .sp2-stat__label { color: rgba(26,13,0,.8); }
.sp2-stat__sub { font-size: 12px; color: var(--sp2-ink-mute); margin-top: 4px; }
.sp2-stat--highlight .sp2-stat__sub { color: rgba(26,13,0,.6); }

@media (max-width: 900px) {
  .sp2-stats__grid { grid-template-columns: repeat(2, 1fr); }
}

/* =================== KKK =================== */
.sp2-kkk { background: var(--sp2-bg-2); }
.sp2-kkk__list { display: flex; flex-direction: column; gap: 12px; }
.sp2-kkk__item {
  background: var(--sp2-panel); border: 1px solid var(--sp2-line);
  border-radius: 12px; overflow: hidden;
  transition: border-color .15s ease;
}
.sp2-kkk__item[open], .sp2-kkk__item:hover { border-color: var(--sp2-line-2); }
.sp2-kkk__summary {
  padding: 20px 24px; font-family: var(--sp2-disp); font-weight: 700;
  font-size: 17px; color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  list-style: none;
}
.sp2-kkk__summary::-webkit-details-marker { display: none; }
.sp2-kkk__icon {
  width: 28px; height: 28px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--sp2-accent); transition: transform .2s ease;
}
.sp2-kkk__item[open] .sp2-kkk__icon { transform: rotate(45deg); }
.sp2-kkk__body {
  padding: 0 24px 24px; font-size: 15px; line-height: 1.7;
  color: var(--sp2-ink-dim);
}
.sp2-kkk__cert {
  margin-top: 32px; padding: 16px 20px;
  background: rgba(76,195,138,.08); border: 1px solid rgba(76,195,138,.25);
  border-radius: 10px; font-size: 14px; color: var(--sp2-good);
  display: flex; align-items: center; gap: 12px;
}

/* =================== Lõpu-CTA =================== */
.sp2-final__card {
  background: linear-gradient(135deg, var(--sp2-panel-2), var(--sp2-panel-3));
  border: 1px solid var(--sp2-line-2);
  border-radius: 24px; padding: 64px 48px;
  text-align: center; position: relative; overflow: hidden;
}
.sp2-final__card::before {
  content: ''; position: absolute; top: -150px; left: 50%; transform: translateX(-50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(240,123,46,.2), transparent 70%);
  pointer-events: none;
}
.sp2-final__content { position: relative; z-index: 1; }
.sp2-final__card h2 { max-width: 720px; margin: 0 auto 20px; }
.sp2-final__subtitle { font-size: 18px; color: var(--sp2-ink-dim); margin-bottom: 32px; }
.sp2-final__ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.sp2-final__note { font-family: var(--sp2-mono); font-size: 13px; color: var(--sp2-ink-mute); letter-spacing: .05em; }

/* =================== Footer =================== */
.sp2-footer { background: var(--sp2-bg-2); border-top: 1px solid var(--sp2-line); padding: 80px 0 40px; }
.sp2-footer__grid {
  display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 40px; margin-bottom: 48px;
}
.sp2-footer__logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.sp2-footer__col h4 { font-size: 14px; color: #fff; margin-bottom: 16px; text-transform: uppercase; letter-spacing: .08em; font-family: var(--sp2-mono); font-weight: 500; }
.sp2-footer__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.sp2-footer__col a { font-size: 14px; color: var(--sp2-ink-dim); transition: color .15s ease; }
.sp2-footer__col a:hover { color: var(--sp2-accent); }
.sp2-footer__intro p { font-size: 14px; color: var(--sp2-ink-dim); line-height: 1.6; margin-bottom: 16px; max-width: 320px; }
.sp2-footer__pills { display: flex; gap: 8px; flex-wrap: wrap; }
.sp2-footer__contact { font-family: var(--sp2-mono); font-size: 13px; color: var(--sp2-ink); }
.sp2-footer__contact li { display: flex; align-items: center; gap: 8px; }
.sp2-footer__contact svg { color: var(--sp2-accent); flex-shrink: 0; }
.sp2-footer__bottom {
  padding-top: 24px; border-top: 1px solid var(--sp2-line);
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: var(--sp2-ink-mute);
}
.sp2-footer__bottom-links { display: flex; gap: 24px; }

@media (max-width: 900px) {
  .sp2-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 600px) {
  .sp2-footer__grid { grid-template-columns: 1fr; }
}

/* =================== Modal (Lead form) =================== */
.sp2-modal-overlay {
  position: fixed; inset: 0; background: rgba(7,11,22,.85);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  z-index: 200; display: none; align-items: center; justify-content: center;
  padding: 24px; animation: sp2-fadein .15s ease;
}
.sp2-modal-overlay.is-open { display: flex; }
@keyframes sp2-fadein { from { opacity: 0; } to { opacity: 1; } }
.sp2-modal {
  background: var(--sp2-panel); border: 1px solid var(--sp2-line);
  border-radius: 20px; max-width: 560px; width: 100%;
  max-height: 90vh; overflow-y: auto;
  box-shadow: 0 60px 120px -30px rgba(0,0,0,.7);
  position: relative;
}
.sp2-modal__close {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(255,255,255,.06); border: 1px solid var(--sp2-line);
  color: var(--sp2-ink) !important; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.sp2-modal__close:hover { background: rgba(255,255,255,.1); }
.sp2-modal__body { padding: 40px; }
.sp2-modal__body h3 { margin-bottom: 12px; }
.sp2-modal__body p { margin-bottom: 24px; font-size: 15px; }

/* =================== Responsive =================== */
@media (max-width: 900px) {
  .sp2-section { padding: 72px 0; }
  .sp2-section-dense { padding: 56px 0; }
  .sp2-wrap, .sp2-wrap-narrow { padding: 0 20px; }
}

/* =================== Template overrides =================== */
/* Peida vana theme chrome kui kasutusel on redesign-template */
body.page-template-page-home-redesign .site-header { display: none !important; }
body.page-template-page-home-redesign .storefront-breadcrumb { display: none !important; }
body.page-template-page-home-redesign #content.site-content { padding: 0 !important; margin: 0 !important; }
body.page-template-page-home-redesign #content.site-content > .col-full { max-width: none !important; padding: 0 !important; margin: 0 !important; }
body.page-template-page-home-redesign #primary.content-area { margin: 0 !important; padding: 0 !important; width: 100% !important; float: none !important; }
body.page-template-page-home-redesign main#main.site-main { padding: 0 !important; margin: 0 !important; }
body.page-template-page-home-redesign .entry-header { display: none !important; }
body.page-template-page-home-redesign .entry-content { padding: 0 !important; margin: 0 !important; max-width: none !important; }
body.page-template-page-home-redesign .site-footer { display: none !important; }
body.page-template-page-home-redesign .storefront-handheld-footer-bar { display: none !important; }
body.page-template-page-home-redesign { margin: 0 !important; padding: 0 !important; background: #0b1120 !important; }
body.page-template-page-home-redesign #page.hfeed.site { background: #0b1120 !important; }

/* =================== Täiendavad mobile kohandused =================== */
@media (max-width: 768px) {
  .sp2-nav { height: 64px; }
  .sp2-nav__inner { padding: 0 16px; }
  .sp2-nav__logo-micro { display: none; }
  .sp2-hero { padding: 100px 0 64px; }
  .sp2-hero h1 { font-size: clamp(32px, 8vw, 48px) !important; }
  .sp2-hero__subtitle { font-size: 16px; }
  .sp2-hero__ctas { flex-direction: column; width: 100%; }
  .sp2-hero__ctas .sp2-btn { width: 100%; }
  .sp2-hero__photo { max-width: 100%; aspect-ratio: 16/10; }
  .sp2-section { padding: 64px 0; }
  .sp2-section-dense { padding: 48px 0; }
  .sp2-wrap, .sp2-wrap-narrow { padding: 0 16px; }
  .sp2-manifesto h2, .sp2-protsess h2, .sp2-pricing h2, .sp2-kkk h2, .sp2-final__card h2 { font-size: clamp(26px, 6vw, 36px) !important; }
  .sp2-epood__card, .sp2-final__card { padding: 32px 24px !important; }
  .sp2-trust__inner { flex-direction: column; gap: 20px; }
  .sp2-trust__brands { gap: 20px; justify-content: center; }
  .sp2-pricing__item { grid-template-columns: 1fr !important; text-align: left; }
  .sp2-pricing__price { text-align: left; }
  .sp2-stats__grid { grid-template-columns: repeat(2, 1fr); }
  .sp2-final__ctas { flex-direction: column; }
  .sp2-final__ctas .sp2-btn { width: 100%; }
  .sp2-kkk__summary { font-size: 15px; padding: 16px 20px; gap: 12px; }
}

@media (max-width: 480px) {
  .sp2-hero__proof { flex-direction: column; align-items: flex-start; gap: 8px; }
  .sp2-stats__grid { grid-template-columns: 1fr; }
}

/* A11y: focus states */
.sp2-page a:focus-visible, .sp2-page button:focus-visible, .sp2-page summary:focus-visible, .sp2-page .sp2-btn:focus-visible {
  outline: 2px solid var(--sp2-accent);
  outline-offset: 3px;
  border-radius: 6px;
}
.sp2-nav__logo:focus-visible { outline: 2px solid var(--sp2-accent); outline-offset: 4px; }

/* A11y: reduced motion */
@media (prefers-reduced-motion: reduce) {
  .sp2-page *, .sp2-page *::before, .sp2-page *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}

/* =================== Fluent Form styling inside modal =================== */
.sp2-modal .sp2-modal-form .ff-el-form-check, .sp2-modal .sp2-modal-form .ff-el-group { margin-bottom: 14px !important; }
.sp2-modal .sp2-modal-form label, .sp2-modal .sp2-modal-form .ff-el-input--label label { color: var(--sp2-ink) !important; font-family: var(--sp2-sans) !important; font-size: 13px !important; font-weight: 600 !important; margin-bottom: 6px !important; }
.sp2-modal .sp2-modal-form input[type="text"],
.sp2-modal .sp2-modal-form input[type="email"],
.sp2-modal .sp2-modal-form input[type="tel"],
.sp2-modal .sp2-modal-form input[type="number"],
.sp2-modal .sp2-modal-form select,
.sp2-modal .sp2-modal-form textarea {
  background: rgba(255,255,255,.04) !important;
  border: 1px solid var(--sp2-line) !important;
  color: var(--sp2-ink) !important;
  border-radius: 8px !important;
  padding: 10px 12px !important;
  font-family: var(--sp2-sans) !important;
  font-size: 15px !important;
  width: 100% !important;
  transition: border-color .15s ease !important;
}
.sp2-modal .sp2-modal-form input:focus,
.sp2-modal .sp2-modal-form select:focus,
.sp2-modal .sp2-modal-form textarea:focus {
  border-color: var(--sp2-accent) !important;
  outline: none !important;
}
.sp2-modal .sp2-modal-form ::placeholder { color: var(--sp2-ink-mute) !important; }
.sp2-modal .sp2-modal-form button[type="submit"],
.sp2-modal .sp2-modal-form .ff-btn-submit {
  background: var(--sp2-accent) !important;
  color: #1a0d00 !important;
  font-weight: 600 !important;
  padding: 12px 24px !important;
  border-radius: 10px !important;
  border: none !important;
  font-size: 15px !important;
  cursor: pointer !important;
  margin-top: 10px !important;
  box-shadow: 0 8px 24px -10px rgba(240,123,46,.5), inset 0 1px 0 rgba(255,255,255,.2) !important;
}
.sp2-modal .sp2-modal-form .ff-message-success {
  background: rgba(76,195,138,.1) !important;
  border: 1px solid rgba(76,195,138,.3) !important;
  color: var(--sp2-good) !important;
  padding: 16px !important;
  border-radius: 10px !important;
}
.sp2-modal .sp2-modal-form .ff-el-is-error .text-danger { color: #ff8a6e !important; font-size: 12px !important; margin-top: 4px !important; }
.sp2-modal .sp2-modal-form .ff-el-tc-check label { font-weight: 400 !important; font-size: 13px !important; }

/* AI tools footer block */
.sp2-footer__ai {
  padding: 16px 0 0;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid var(--sp2-line);
  margin-top: 8px;
}
.sp2-footer__ai-label {
  font-size: 11px;
  color: var(--sp2-ink-mute);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-family: var(--sp2-mono);
}
.sp2-footer__ai-logos {
  display: flex;
  gap: 16px;
  align-items: center;
}
.sp2-footer__ai-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--sp2-ink-dim);
  text-decoration: none;
  opacity: .7;
  transition: opacity .15s ease;
}
.sp2-footer__ai-logo:hover { opacity: 1; }
.sp2-footer__ai-logo span { font-family: var(--sp2-mono); }
.sp2-footer__ai-sep { color: var(--sp2-ink-mute); opacity: .4; font-size: 14px; padding: 0 4px; }
.sp2-footer__ai-sublabel { font-size: 11px; color: var(--sp2-ink-mute); font-family: var(--sp2-mono); text-transform: uppercase; letter-spacing: .06em; }
