/* ============================================================
   EDUSAMM — style-index-soe.css
   Avalehe (index) SOE redisain. Täiendab style-soe.css-i
   (sealt tulevad :root tokenid, body, pealkirjad, .btn, #navbar
   baas, .ticker, .section, .faq, .form-input, footer baas).
   Siin on AINULT avalehe-spetsiifilised komponendid.
   ============================================================ */

/* ── NAV (laiendatud: lingid + keelevahetus + mobiilimenüü) ──── */
.nav-links {
  display: none; list-style: none; align-items: center; gap: 2.25rem;
  position: absolute; left: 50%; transform: translateX(-50%);
}
@media (min-width: 920px){ .nav-links { display: flex; } }
.nav-links a {
  font-size: 0.95rem; font-weight: 500; color: var(--ink-soft);
  transition: color .2s;
}
.nav-links a:hover { color: var(--blue); }

.nav-right { display: none; align-items: center; gap: 1.25rem; }
@media (min-width: 920px){ .nav-right { display: flex; } }

.lang-switcher { display: inline-flex; align-items: center; gap: 0.4rem; }
.lang-btn {
  background: none; border: none; cursor: pointer;
  font-family: 'Inter', sans-serif; font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.05em; color: var(--muted); padding: 0.2rem; transition: color .2s;
}
.lang-btn:hover { color: var(--ink); }
.lang-btn.active { color: var(--blue); }
.lang-sep { color: var(--line); font-size: 0.82rem; }

/* Mobiili-pool */
.nav-mobile-right { display: flex; align-items: center; gap: 0.9rem; }
@media (min-width: 920px){ .nav-mobile-right { display: none; } }
#menu-toggle {
  background: none; border: none; cursor: pointer; color: var(--ink);
  display: flex; align-items: center; justify-content: center; padding: 0.25rem;
}
.hidden { display: none !important; }

#mobile-menu {
  display: none; flex-direction: column; gap: 0.25rem;
  padding: 1rem 1.25rem 1.5rem;
  background: rgba(251, 247, 240, 0.97); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
#mobile-menu.open { display: flex; }
.mobile-link {
  font-size: 1.05rem; font-weight: 500; color: var(--ink-soft);
  padding: 0.75rem 0; border-bottom: 1px solid var(--line);
}
.mobile-cta {
  margin-top: 1rem; text-align: center;
  background: var(--blue); color: #fff; font-weight: 600;
  padding: 0.85rem 1.5rem; border-radius: var(--radius-sm);
  box-shadow: var(--shadow-blue);
}

/* ── BUTTONID (avalehe nimed kaardistatud soojaks) ──────────── */
.btn-accent {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: 'Inter', sans-serif; font-size: 1rem; font-weight: 600;
  padding: 0.95rem 1.85rem; border-radius: var(--radius-sm);
  background: var(--blue); color: #fff; border: none; cursor: pointer;
  box-shadow: var(--shadow-blue);
  transition: transform .2s ease, box-shadow .25s ease, background .2s ease;
}
.btn-accent:hover { background: var(--blue-deep); transform: translateY(-2px); box-shadow: 0 22px 60px rgba(29,91,227,0.30); }
.btn-ghost-sm {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: 'Inter', sans-serif; font-size: 1rem; font-weight: 600;
  padding: 0.95rem 1.7rem; border-radius: var(--radius-sm);
  background: #fff; color: var(--ink); border: 1.5px solid var(--line);
  box-shadow: var(--shadow); transition: border-color .2s, color .2s, transform .2s;
}
.btn-ghost-sm:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.btn-sm { font-size: 0.95rem; padding: 0.8rem 1.5rem; }
.btn-full { width: 100%; }

/* ── SECTION LABEL + HEADLINE (kaardistatud eyebrow/title peale) */
.section-label {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: 'DM Mono', monospace; font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue);
  margin-bottom: 1.1rem;
}
.section-label::before {
  content: ''; width: 1.6rem; height: 2px; border-radius: 2px;
  background: var(--blue); display: inline-block;
}
.section-headline {
  font-family: 'Fraunces', 'Georgia', serif; color: var(--ink);
  font-weight: 600; line-height: 1.08; letter-spacing: -0.01em;
  font-size: clamp(2rem, 4vw, 3.1rem);
}

/* Soe "gradient-text" — endine tume gradient, nüüd sinine aktsent */
.gradient-text {
  color: var(--blue); position: relative; white-space: nowrap;
}

/* ── REVEAL — avaleht kasutab script.js-i (lisab inline-stiilid,
   mitte .in klassi). Jagatud .reveal blur jääks muidu külge —
   eemaldame selle, jätame ainult fade + slide. ────────────────── */
.reveal { filter: none !important; }

/* ── FULL-BLEED LAYOUT ───────────────────────────────────────────
   Taustad ulatuvad seinast seina, sisu jääb 1180px keskele.
   Trikk: horisontaalne padding = max(2rem, äär). ───────────────── */
.section { padding: 6rem max(2rem, calc((100% - 1180px) / 2)); }
@media (max-width: 767px){ .section { padding: 4rem 1.25rem; } }
.section--bordered { border-top: 1px solid var(--line); }

/* ── HERO ────────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  min-height: 92vh; display: flex; flex-direction: column; justify-content: center;
  padding: 9rem max(2rem, calc((100% - 1180px) / 2)) 4rem;
  background:
    radial-gradient(ellipse 70% 60% at 80% 8%, rgba(29,91,227,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 0% 95%, rgba(232,162,61,0.06) 0%, transparent 60%);
}
@media (max-width: 767px){ .hero { padding: 7rem 1.25rem 3rem; min-height: 88vh; } }

.hero-watermark {
  position: absolute; right: -2%; top: 42%; transform: translateY(-50%);
  font-family: 'Fraunces', serif; font-weight: 600;
  font-size: clamp(7rem, 20vw, 19rem); line-height: 1;
  color: var(--ink); opacity: 0.035; letter-spacing: -0.02em;
  pointer-events: none; user-select: none; z-index: 0; white-space: nowrap;
}
.hero-content { position: relative; z-index: 1; max-width: 60rem; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: 'DM Mono', monospace; font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--blue);
  background: var(--blue-soft); border: 1px solid rgba(29,91,227,0.18);
  padding: 0.45rem 1rem; border-radius: 100px; margin-bottom: 1.75rem;
}
.hero-tag-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--blue);
  animation: softpulse 2.4s ease-in-out infinite;
}
.hero-headline {
  font-family: 'Fraunces', 'Georgia', serif; color: var(--ink);
  font-weight: 600; letter-spacing: -0.015em;
  font-size: clamp(3rem, 7vw, 6rem); line-height: 1.02; margin-bottom: 2.5rem;
}
.hero-headline .gradient-text::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0.1em;
  height: 0.26em; background: rgba(29,91,227,0.14); border-radius: 6px; z-index: -1;
}
.hero-bottom { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 2rem; }
.hero-sub {
  font-family: 'Fraunces', serif; font-style: italic; font-weight: 400;
  font-size: clamp(1.2rem, 2vw, 1.6rem); color: var(--ink-soft);
  border-left: 3px solid var(--blue); padding-left: 1.1rem; max-width: 30ch;
}
.hero-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; bottom: 1.75rem; left: max(2rem, calc((100% - 1180px) / 2)); z-index: 1;
  display: flex; align-items: center; gap: 0.75rem;
  font-family: 'DM Mono', monospace; font-size: 0.72rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--muted);
}
@media (max-width: 767px){ .hero-scroll { display: none; } }
.hero-scroll .scroll-line { width: 46px; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.hero-scroll .scroll-line::after {
  content: ''; position: absolute; left: 0; top: 0; width: 40%; height: 100%;
  background: var(--blue); animation: scrollline 2.2s ease-in-out infinite;
}
@keyframes scrollline { 0%{left:-40%;} 100%{left:100%;} }

/* ── STATEMENT + FUNNEL ──────────────────────────────────────── */
.statement-section {
  padding: 6rem max(2rem, calc((100% - 1180px) / 2)); text-align: center;
}
@media (max-width: 767px){ .statement-section { padding: 4rem 1.25rem; } }
.statement-section .section-label { justify-content: center; }
.statement-text {
  font-family: 'Fraunces', 'Georgia', serif; color: var(--ink);
  font-weight: 600; line-height: 1.12; letter-spacing: -0.01em;
  font-size: clamp(2rem, 4.4vw, 3.2rem); max-width: 22ch; margin: 0 auto 1.25rem;
}
.statement-sub {
  font-size: 1.2rem; line-height: 1.65; color: var(--body);
  max-width: 56ch; margin: 0 auto;
}

/* Funnel-diagramm — soe taust, sinine aktsent */
.funnel-diagram { max-width: 880px; margin: 2.5rem auto 0; }
.funnel-svg-wrap {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow);
}
.funnel-svg { width: 100%; height: auto; display: block; }
.leak-glow { display: none; }
.funnel-arrow { animation: funnelflow 2.4s ease-in-out infinite; }
@keyframes funnelflow { 0%,100%{opacity:0.5;} 50%{opacity:1;} }
.funnel-leak-drop { animation: leakdrop 2s ease-in-out infinite; }
@keyframes leakdrop { 0%,100%{opacity:0.4;} 50%{opacity:1;} }
.funnel-otsus { animation: otsuspulse 2.6s ease-in-out infinite; }
@keyframes otsuspulse { 0%,100%{opacity:1;} 50%{opacity:0.75;} }

/* ── SERVICES ────────────────────────────────────────────────── */
#services { text-align: left; }
#services .section-headline { margin-bottom: 3rem; }
.services-grid {
  display: grid; grid-template-columns: 1fr; gap: 1.25rem;
}
@media (min-width: 640px){ .services-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px){ .services-grid { grid-template-columns: repeat(3, 1fr); } }
.svc-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2.1rem 1.9rem; box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  display: flex; flex-direction: column;
}
.svc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(29,91,227,0.35); }
.svc-num {
  font-family: 'DM Mono', monospace; font-size: 0.95rem; font-weight: 500;
  color: var(--blue); margin-bottom: 1.1rem; letter-spacing: 0.05em;
}
.svc-name {
  font-family: 'Fraunces', serif; font-weight: 600; font-size: 1.4rem;
  color: var(--ink); margin-bottom: 0.7rem; line-height: 1.15;
}
.svc-desc { font-size: 1rem; color: var(--body); line-height: 1.65; margin-bottom: 1.4rem; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: auto; }
.svc-tags span {
  font-size: 0.82rem; font-weight: 500; color: var(--ink-soft);
  background: var(--paper-2); border: 1px solid var(--line);
  padding: 0.35rem 0.75rem; border-radius: 100px;
}
.svc-card--cta {
  background: linear-gradient(160deg, var(--blue) 0%, var(--blue-deep) 100%);
  border-color: transparent; color: #fff; justify-content: center; align-items: flex-start;
  box-shadow: var(--shadow-blue);
}
.svc-card--cta:hover { border-color: transparent; }
.svc-cta-pre { font-size: 0.95rem; color: rgba(255,255,255,0.8); margin-bottom: 0.6rem; }
.svc-cta-title { font-family: 'Fraunces', serif; font-weight: 600; font-size: 1.5rem; color: #fff; line-height: 1.2; margin-bottom: 1.6rem; }
.svc-card--cta .btn-accent { background: #fff; color: var(--blue); box-shadow: 0 12px 30px rgba(0,0,0,0.18); }
.svc-card--cta .btn-accent:hover { background: var(--paper); color: var(--blue-deep); }

/* ── NUMBERS ─────────────────────────────────────────────────── */
.numbers-grid {
  padding: 0 max(2rem, calc((100% - 1180px) / 2)) 2rem;
  display: grid; grid-template-columns: 1fr; gap: 1.25rem;
}
@media (min-width: 560px){ .numbers-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 920px){ .numbers-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 767px){ .numbers-grid { padding: 0 1.25rem 1rem; } }
.number-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.75rem; box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
.number-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.number-value {
  font-family: 'Fraunces', serif; font-weight: 600; color: var(--blue);
  font-size: 2.4rem; line-height: 1; margin-bottom: 0.6rem; text-transform: capitalize;
}
.number-label { font-size: 0.95rem; color: var(--body); line-height: 1.5; }

/* ── PROCESS ─────────────────────────────────────────────────── */
.proc-header {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 2rem; margin-bottom: 3rem;
}
.proc-header-left { max-width: 32rem; }
.proc-headline { margin-top: 0; }
.proc-illustration { width: 100%; max-width: 380px; height: auto; }
.process-steps {
  position: relative; display: grid; grid-template-columns: 1fr; gap: 1.25rem;
}
@media (min-width: 760px){ .process-steps { grid-template-columns: repeat(5, 1fr); gap: 1rem; } }
.proc-line-track { display: none; }
.process-step {
  position: relative;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.75rem 1.5rem; box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  display: flex; flex-direction: column;
}
.process-step:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(29,91,227,0.35); }
.step-dot { display: none; }
.step-num {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--blue-soft); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif; font-weight: 600; font-size: 1.1rem;
  margin-bottom: 1.1rem; transition: background .25s, color .25s;
}
.process-step:hover .step-num { background: var(--blue); color: #fff; }
.step-title { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 1.08rem; color: var(--ink); margin-bottom: 0.5rem; line-height: 1.3; }
.step-desc { font-size: 0.93rem; color: var(--body); line-height: 1.65; margin-bottom: 0.9rem; }
.step-time { font-size: 0.82rem; font-weight: 600; color: var(--blue); margin-top: auto; }

.proc-cta {
  margin-top: 3.5rem; text-align: center;
  background: linear-gradient(160deg, #fff 0%, var(--blue-soft) 100%);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 3.5rem 2rem; box-shadow: var(--shadow);
}
.proc-cta-title { font-family: 'Fraunces', serif; font-weight: 600; color: var(--ink); font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 0.9rem; line-height: 1.15; }
.proc-cta-sub { font-size: 1.05rem; color: var(--body); max-width: 52ch; margin: 0 auto 1.75rem; line-height: 1.6; }
.btn-proc-cta {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'Inter', sans-serif; font-size: 1.05rem; font-weight: 600;
  padding: 1.1rem 2rem; border-radius: var(--radius-sm);
  background: var(--blue); color: #fff; box-shadow: var(--shadow-blue);
  transition: transform .2s, box-shadow .25s, background .2s;
}
.btn-proc-cta:hover { background: var(--blue-deep); transform: translateY(-2px); box-shadow: 0 22px 60px rgba(29,91,227,0.30); }
.proc-trust { margin-top: 1.25rem; font-size: 0.95rem; color: var(--muted); }

/* ── FAQ (avalehe markup; baas tuleb style-soe.css-ist) ──────── */
#faq .section-headline { margin-bottom: 2.5rem; }
.faq-item--featured { border-color: rgba(29,91,227,0.35); }
.faq-item--featured .faq-q { color: var(--blue); }

/* ── CTA / VORM ──────────────────────────────────────────────── */
.cta-section {
  position: relative; overflow: hidden;
  padding: 6rem max(2rem, calc((100% - 1180px) / 2)); text-align: center;
}
@media (max-width: 767px){ .cta-section { padding: 4rem 1.25rem; } }
.cta-glow {
  position: absolute; top: -10%; left: 50%; transform: translateX(-50%);
  width: 600px; height: 400px; pointer-events: none; z-index: 0;
  background: radial-gradient(ellipse at center, rgba(29,91,227,0.08) 0%, transparent 70%);
}
.cta-section .section-label { justify-content: center; position: relative; z-index: 1; }
.cta-headline {
  position: relative; z-index: 1;
  font-family: 'Fraunces', 'Georgia', serif; color: var(--ink);
  font-weight: 600; line-height: 1.08; letter-spacing: -0.01em;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem); margin-bottom: 1.1rem;
}
.cta-sub {
  position: relative; z-index: 1;
  font-size: 1.2rem; line-height: 1.65; color: var(--body);
  max-width: 52ch; margin: 0 auto 2.5rem;
}
.cta-form-wrap {
  position: relative; z-index: 1; max-width: 640px; margin: 0 auto;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 3rem; box-shadow: var(--shadow-lg); text-align: left;
}
@media (max-width: 767px){ .cta-form-wrap { padding: 2rem 1.5rem; } }
#contact-form { display: flex; flex-direction: column; gap: 1.1rem; }
.form-input.error { border-color: #C0392B; box-shadow: 0 0 0 3px rgba(192,57,43,0.1); }
.form-note { text-align: center; font-size: 0.85rem; color: var(--muted); margin-top: 0.3rem; }
.form-success {
  text-align: center; padding: 2rem;
}
.form-success h3 { font-family: 'Fraunces', serif; color: var(--ink); font-size: 1.6rem; margin: 1rem 0 0.5rem; }
.form-success p { color: var(--body); }

/* ── FOOTER (avalehel pole .wrap ümbrist → anname paddingu) ───── */
footer {
  padding-left: max(2rem, calc((100% - 1180px) / 2));
  padding-right: max(2rem, calc((100% - 1180px) / 2));
}
@media (max-width: 767px){ footer { padding-left: 1.25rem; padding-right: 1.25rem; } }
.foot-email { color: var(--ink); font-weight: 700; }

/* ============================================================
   ELU & LIIKUMINE — meiliturunduse-stiilis animatsioonikiht
   (lisatud avalehe elavdamiseks; ei muuda olemasolevat sisu)
   ============================================================ */

/* ── Kerimisedenemise riba ──────────────────────────────────── */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--blue), var(--blue-tint));
  z-index: 101; transition: width .1s linear; pointer-events: none;
}

/* ── HERO — animeeritud taust (hõljuvad värvilaigud + punktivõrk) */
.hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.hero-blob { position: absolute; border-radius: 50%; filter: blur(64px); opacity: 0.55; will-change: transform; }
.hero-blob.b1 { width: 44vw; height: 44vw; top: -12vw; right: -6vw;
  background: radial-gradient(circle at 30% 30%, rgba(29,91,227,0.20), transparent 70%);
  animation: idxDrift1 23s ease-in-out infinite; }
.hero-blob.b2 { width: 38vw; height: 38vw; bottom: -16vw; left: -10vw;
  background: radial-gradient(circle at 60% 40%, rgba(232,162,61,0.16), transparent 70%);
  animation: idxDrift2 29s ease-in-out infinite; }
.hero-blob.b3 { width: 28vw; height: 28vw; top: 34%; left: 46%;
  background: radial-gradient(circle at 50% 50%, rgba(91,155,248,0.13), transparent 70%);
  animation: idxDrift3 26s ease-in-out infinite; }
@keyframes idxDrift1 { 0%,100%{transform:translate(0,0) scale(1);} 50%{transform:translate(-4vw,3vw) scale(1.08);} }
@keyframes idxDrift2 { 0%,100%{transform:translate(0,0) scale(1);} 50%{transform:translate(5vw,-3vw) scale(1.1);} }
@keyframes idxDrift3 { 0%,100%{transform:translate(0,0) scale(1);} 50%{transform:translate(3vw,4vw) scale(0.92);} }
.hero-dots {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0.5;
  background-image: radial-gradient(rgba(30,42,56,0.06) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 75% 60% at 50% 35%, #000 30%, transparent 78%);
          mask-image: radial-gradient(ellipse 75% 60% at 50% 35%, #000 30%, transparent 78%);
}
.hero-watermark { z-index: 0; }
@media (prefers-reduced-motion: reduce){ .hero-blob { animation: none; } }

/* ── HERO — astmeline sisenemine laadimisel ─────────────────── */
@keyframes idxHeroUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.hero-headline, .hero-bottom { opacity: 0; animation: idxHeroUp .9s cubic-bezier(.2,.7,.2,1) both; }
.hero-headline { animation-delay: .08s; }
.hero-bottom   { animation-delay: .26s; }
.hero-scroll   { opacity: 0; animation: idxHeroUp .9s cubic-bezier(.2,.7,.2,1) .5s both; }
.hero-headline .gradient-text::after {
  transform: scaleX(0); transform-origin: left;
  animation: idxUnderline .9s .7s cubic-bezier(.2,.7,.2,1) forwards;
}
@keyframes idxUnderline { to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce){
  .hero-headline, .hero-bottom, .hero-scroll { opacity: 1; animation: none; }
  .hero-headline .gradient-text::after { transform: none; animation: none; }
}

/* ── Nupu läikepühe (btn-accent + proc CTA) ─────────────────── */
.btn-accent, .btn-proc-cta { position: relative; overflow: hidden; }
.btn-accent::after, .btn-proc-cta::after {
  content: ''; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
  pointer-events: none; transform: skewX(-18deg); transition: left .6s ease;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.35), transparent);
}
.btn-accent:hover::after, .btn-proc-cta:hover::after { left: 140%; }
.svc-card--cta .btn-accent::after { background: linear-gradient(100deg, transparent, rgba(29,91,227,0.18), transparent); }

/* ── KLIENDILOGODE RIBA (marquee) ───────────────────────────── */
.logos-section { padding: 3.25rem 0; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.logos-kicker {
  display: block; text-align: center; margin-bottom: 1.75rem;
  font-family: 'DM Mono', monospace; font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
}
.marquee {
  position: relative; width: 100%; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 11%, #000 89%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 11%, #000 89%, transparent 100%);
}
.marquee-track { display: flex; width: max-content; animation: idxMarquee 42s linear infinite; will-change: transform; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes idxMarquee { from { transform: translate3d(0,0,0); } to { transform: translate3d(-50%,0,0); } }
.marquee-group { display: flex; align-items: center; flex: 0 0 auto; gap: 4rem; padding-right: 4rem; }
.m-logo { flex: 0 0 auto; width: auto; display: block; opacity: 0.9; }
.m-logo.is-hingele { height: 56px; }
.m-logo.is-m1      { height: 60px; }
.m-logo.is-onda    { height: 58px; }
.m-logo.is-proage  { height: 70px; }
.m-div {
  flex: 0 0 auto; width: 1px; height: 52px;
  background: linear-gradient(180deg, transparent 0, rgba(39,56,79,0.18) 26%, rgba(39,56,79,0.18) 74%, transparent 100%);
}
@media (max-width: 640px){
  .marquee-group { gap: 2.75rem; padding-right: 2.75rem; }
  .m-logo.is-hingele { height: 42px; }
  .m-logo.is-m1      { height: 46px; }
  .m-logo.is-onda    { height: 44px; }
  .m-logo.is-proage  { height: 54px; }
  .m-div { height: 40px; }
}
@media (prefers-reduced-motion: reduce){
  .marquee-track { animation: none; justify-content: center; }
  .marquee-group:nth-child(2) { display: none; }
}

/* ── NUMBRID — õrn ülaserva-aktsent + tugevam hover ─────────── */
.number-item { position: relative; overflow: hidden; }
.number-item::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue-tint));
  transform: scaleX(0); transform-origin: left; transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.number-item:hover::before { transform: scaleX(1); }

/* ── FUNNEL kaart — õrn hõljumine ───────────────────────────── */
.funnel-svg-wrap { animation: idxFloat 7s ease-in-out infinite; }
@keyframes idxFloat { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-7px); } }
@media (prefers-reduced-motion: reduce){ .funnel-svg-wrap { animation: none; } }

/* ── SERVICES kaardid — sisemine helendus hoveril ───────────── */
.svc-card { position: relative; overflow: hidden; }
.svc-card:not(.svc-card--cta)::before {
  content: ''; position: absolute; inset: 0; opacity: 0; pointer-events: none;
  background: radial-gradient(ellipse 80% 80% at 50% 0%, rgba(29,91,227,0.06), transparent 70%);
  transition: opacity .3s ease;
}
.svc-card:not(.svc-card--cta):hover::before { opacity: 1; }
.svc-num { position: relative; }
