/* ============================================================
   EDUSAMM — style-soe.css
   Soe, hele, usaldusväärne — salongidele/kliinikutele
   Sinine aktsent kreemja paberi peal. Iseseisev (ei sõltu style.css-ist).
   ============================================================ */

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

:root {
  --paper:      #FBF7F0;   /* põhitaust — soe kreem */
  --paper-2:    #F4ECE0;   /* sügavam soe — kaardid/sektsioonid */
  --paper-3:    #EFE6D8;   /* kõige sügavam soe */
  --line:       #E6DAC8;   /* soe piir */
  --ink:        #1E2A38;   /* pealkirjad — sügav soe tint */
  --ink-soft:   #33424F;
  --body:       #52606C;   /* kehatekst — soe hall */
  --muted:      #8A95A0;
  --blue:       #1D5BE3;   /* brändi-aktsent */
  --blue-deep:  #1546AE;
  --blue-soft:  #EAF1FD;   /* hele sinine tint */
  --blue-tint:  #5B9BF8;
  --shadow:     0 10px 30px rgba(60, 45, 25, 0.08);
  --shadow-lg:  0 24px 60px rgba(50, 40, 25, 0.14);
  --shadow-blue:0 18px 50px rgba(29, 91, 227, 0.18);
  --radius:     16px;
  --radius-sm:  10px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--paper);
  color: var(--body);
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { text-decoration: none; color: inherit; }
::selection { background: rgba(29,91,227,0.18); color: var(--ink); }

h1, h2, h3 {
  font-family: 'Fraunces', 'Georgia', serif;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em;
  color: var(--blue); text-transform: none;
}
.eyebrow::before {
  content: ''; width: 1.6rem; height: 2px; border-radius: 2px;
  background: var(--blue); display: inline-block;
}
.eyebrow--dot::before {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--blue); animation: softpulse 2.4s ease-in-out infinite;
}
@keyframes softpulse { 0%,100%{opacity:1;} 50%{opacity:0.4;} }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 2rem; }
@media (max-width: 767px){ .wrap { padding: 0 1.25rem; } }

/* ── REVEAL — pehme hajumine fookusesse ─────────────────────── */
.reveal {
  opacity: 0; transform: translateY(26px); filter: blur(6px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1), filter .7s ease;
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; filter: blur(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; filter: none; transition: none; }
}

/* ── BUTTONS ─────────────────────────────────────────────────── */
.btn {
  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);
  cursor: pointer; border: none; transition: transform .2s ease, box-shadow .25s ease, background .2s ease, color .2s ease;
}
.btn-primary { background: var(--blue); color: #fff; box-shadow: var(--shadow-blue); }
.btn-primary:hover { background: var(--blue-deep); transform: translateY(-2px); box-shadow: 0 22px 60px rgba(29,91,227,0.30); }
.btn-ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--line); box-shadow: var(--shadow); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.btn-full { width: 100%; }
.btn-lg { font-size: 1.05rem; padding: 1.1rem 2rem; }

/* ── NAV ─────────────────────────────────────────────────────── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s, box-shadow .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
#navbar.scrolled {
  background: rgba(251, 247, 240, 0.88);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1180px; margin: 0 auto; padding: 0 2rem; height: 76px;
}
.logo {
  font-family: 'Fraunces', serif; font-weight: 600;
  font-size: 1.55rem; letter-spacing: -0.01em; color: var(--ink);
}
.nav-cta {
  font-size: 0.95rem; font-weight: 600;
  background: var(--blue); color: #fff;
  padding: 0.7rem 1.5rem; border-radius: var(--radius-sm);
  box-shadow: var(--shadow-blue);
  transition: background .2s, transform .2s, box-shadow .25s;
}
.nav-cta:hover { background: var(--blue-deep); transform: translateY(-2px); }
@media (max-width: 767px){ .nav-inner { padding: 0 1.25rem; height: 66px; } .logo { font-size: 1.35rem; } }

/* ── HERO ────────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  padding: 8.5rem 0 5rem;
  background:
    radial-gradient(ellipse 70% 60% at 85% 10%, rgba(29,91,227,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 5% 90%, rgba(232,162,61,0.06) 0%, transparent 60%),
    var(--paper);
}
.hero-grid {
  display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center;
}
@media (min-width: 900px){
  .hero { padding: 9.5rem 0 6rem; }
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 4rem; }
}
.hero-eyebrow { margin-bottom: 1.5rem; }
.hero-title {
  font-size: clamp(3rem, 6.4vw, 5.2rem);
  line-height: 1.0; margin-bottom: 1.5rem;
}
.hero-title .hl {
  color: var(--blue);
  position: relative; white-space: nowrap;
}
.hero-title .hl::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0.08em;
  height: 0.28em; background: rgba(29,91,227,0.14); border-radius: 6px; z-index: -1;
}
.hero-sub {
  font-size: 1.3rem; line-height: 1.55; color: var(--ink-soft);
  max-width: 42ch; margin-bottom: 1.1rem; font-weight: 400;
}
.hero-sub-confirm {
  display: flex; align-items: center; gap: 0.55rem;
  font-size: 1.1rem; font-weight: 600; color: var(--ink);
  margin-bottom: 2.25rem;
}
.hero-sub-confirm .dot {
  width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0;
  background: var(--blue);
}
/* Käsitsi reavahetused kompositsiooniks ainult laiemal ekraanil */
@media (max-width: 600px){ .br-desk { display: none; } }
.hero-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-bottom: 2.25rem; }
.hero-trust {
  display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap;
  font-size: 0.95rem; color: var(--body);
}
.hero-trust .tick { color: var(--blue); font-weight: 700; }
.hero-trust-item { display: inline-flex; align-items: center; gap: 0.45rem; }

/* Hero foto/portree (kohatäide) */
.hero-portrait {
  position: relative; border-radius: var(--radius);
  aspect-ratio: 4/5; width: 100%;
  background:
    linear-gradient(155deg, #fff 0%, var(--paper-2) 100%);
  border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.hero-portrait img { width: 100%; height: 100%; object-fit: cover; }
.hero-portrait-note {
  text-align: center; color: var(--muted); padding: 2rem;
}
.hero-portrait-note .ic {
  width: 56px; height: 56px; margin: 0 auto 1rem; border-radius: 50%;
  background: var(--blue-soft); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
}
.hero-portrait-badge {
  position: absolute; left: 1.25rem; bottom: 1.25rem; right: 1.25rem;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(8px);
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 0.9rem 1.1rem; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 0.85rem;
}
.hero-portrait-badge .av {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  background: var(--blue); color: #fff; font-weight: 700;
  display: flex; align-items: center; justify-content: center; font-size: 1rem;
}
.hero-portrait-badge .nm { font-weight: 700; color: var(--ink); font-size: 0.95rem; }
.hero-portrait-badge .rl { font-size: 0.82rem; color: var(--muted); }

/* ── TICKER ──────────────────────────────────────────────────── */
.ticker {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--paper-2); overflow: hidden; white-space: nowrap; padding: 1rem 0;
}
.ticker-inner {
  display: inline-flex; align-items: center; gap: 2.5rem;
  animation: ticker 26s linear infinite;
  font-size: 0.95rem; font-weight: 500; color: var(--ink-soft);
}
.ticker-dot { color: var(--blue); }
@keyframes ticker { 0%{transform:translateX(0);} 100%{transform:translateX(-50%);} }

/* ── SECTION ─────────────────────────────────────────────────── */
.section { padding: 6rem 0; }
@media (max-width: 767px){ .section { padding: 4rem 0; } }
.section--alt { background: var(--paper-2); }
.section-head { max-width: 46rem; margin-bottom: 3.5rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-title {
  font-size: clamp(2rem, 4vw, 3.1rem); margin: 1rem 0 1rem;
}
.section-lead { font-size: 1.2rem; line-height: 1.65; color: var(--body); }

/* ── VSL / VIDEO ─────────────────────────────────────────────── */
.vsl-frame {
  position: relative; aspect-ratio: 16/9; width: 100%;
  max-width: 920px; margin: 0 auto;
  border-radius: var(--radius); overflow: hidden; cursor: pointer;
  background: linear-gradient(160deg, #20324a 0%, #16243a 100%);
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  transition: transform .35s ease, box-shadow .35s ease;
}
.vsl-frame:hover { transform: translateY(-4px); box-shadow: 0 32px 80px rgba(29,91,227,0.22); }
.vsl-frame iframe, .vsl-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vsl-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 86px; height: 86px; border-radius: 50%; border: none; padding-left: 4px;
  background: #fff; color: var(--blue); cursor: pointer; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
  transition: transform .25s, background .25s, color .25s;
}
.vsl-frame:hover .vsl-play { transform: translate(-50%,-50%) scale(1.08); background: var(--blue); color: #fff; }
.vsl-play-ring { position: absolute; inset: -12px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.55); animation: vslRing 2.4s ease-out infinite; }
@keyframes vslRing { 0%{transform:scale(0.9);opacity:0.8;} 100%{transform:scale(1.5);opacity:0;} }
.vsl-note { position: absolute; bottom: 1rem; left: 0; right: 0; text-align: center; color: rgba(255,255,255,0.6); font-size: 0.82rem; }
.vsl-caption { text-align: center; margin-top: 1.25rem; color: var(--muted); font-size: 0.95rem; }

/* ── STATEMENT / PROBLEEM ────────────────────────────────────── */
.statement-title { font-size: clamp(2rem, 4.5vw, 3.4rem); max-width: 24ch; margin-top: 0.6rem; }
.statement-title .hl { color: var(--blue); }
.section-title .hl { color: var(--blue); }
.statement-lead {
  font-size: 1.25rem; line-height: 1.7; color: var(--body);
  max-width: 52ch; margin-top: 2.6rem;
  padding-left: 1.25rem; border-left: 3px solid var(--blue);
  text-wrap: pretty;
}
.lead-em { font-weight: 600; color: var(--ink-soft); }
.accent-blue { color: var(--blue-tint); font-weight: 600; }

/* ── NUMBERS ─────────────────────────────────────────────────── */
.numbers { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 560px){ .numbers { grid-template-columns: 1fr 1fr; } }
@media (min-width: 920px){ .numbers { grid-template-columns: repeat(4,1fr); } }
.num-card {
  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;
}
.num-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.num-value {
  font-family: 'Fraunces', serif; font-weight: 600; color: var(--blue);
  font-size: 3rem; line-height: 1; margin-bottom: 0.6rem;
}
.num-label { font-size: 0.95rem; color: var(--body); line-height: 1.5; }

/* ── PROCESS ─────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 720px){ .steps { grid-template-columns: repeat(5, 1fr); gap: 1rem; } }
.step {
  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;
}
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(29,91,227,0.35); }
.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;
}
.step:hover .step-num { background: var(--blue); color: #fff; }
.step-title { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 1.1rem; color: var(--ink); margin-bottom: 0.5rem; }
.step-desc { font-size: 0.95rem; color: var(--body); line-height: 1.7; margin-bottom: 0.9rem; }
.step-time { font-size: 0.85rem; font-weight: 600; color: var(--blue); margin-top: auto; }

/* ── PROCESS CTA ─────────────────────────────────────────────── */
.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 h3 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 0.9rem; }
.proc-cta p { font-size: 1.05rem; color: var(--body); max-width: 50ch; margin: 0 auto 1.75rem; }
.proc-cta .trust-line { margin-top: 1.25rem; font-size: 0.95rem; color: var(--muted); }

/* ── TESTIMONIAL ─────────────────────────────────────────────── */
.quotes { display: grid; grid-template-columns: 1fr; gap: 1.5rem; max-width: 1040px; margin: 0 auto; }
@media (min-width: 820px){ .quotes { grid-template-columns: 1fr 1fr; } }
.quote-card {
  text-align: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2.75rem 2.25rem; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.quote-mark { font-family: 'Fraunces', serif; font-size: 4rem; line-height: 0.5; color: var(--blue); opacity: 0.35; }
.quote-text { font-family: 'Fraunces', serif; font-size: clamp(1.2rem, 1.9vw, 1.55rem); line-height: 1.45; color: var(--ink); margin: 1rem 0 2rem; font-weight: 500; }
.quote-author { display: inline-flex; align-items: center; gap: 0.85rem; margin-top: auto; align-self: center; }
.quote-author .av {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--paper-3); color: var(--muted);
  display: flex; align-items: center; justify-content: center; font-weight: 700;
  border: 1px solid var(--line);
}
.quote-author .nm { font-weight: 700; color: var(--ink); text-align: left; }
.quote-author .rl { font-size: 0.88rem; color: var(--muted); text-align: left; }

/* ── WHO IT'S FOR ────────────────────────────────────────────── */
.wif-list { list-style: none; display: grid; grid-template-columns: 1fr; gap: 0.75rem; }
@media (min-width: 640px){ .wif-list { grid-template-columns: 1fr 1fr; } }
.wif-list li {
  display: flex; align-items: center; gap: 0.85rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 1rem 1.25rem; font-size: 1.05rem; color: var(--ink-soft);
  box-shadow: var(--shadow); transition: transform .2s ease, border-color .2s ease;
}
.wif-list li:hover { transform: translateX(4px); border-color: rgba(29,91,227,0.35); }
.wif-list li .chk {
  width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0;
  background: var(--blue-soft); color: var(--blue);
  display: flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: 700;
}

/* ── REASSURANCE ─────────────────────────────────────────────── */
.reassure {
  text-align: center; max-width: 760px; margin: 0 auto;
  background: linear-gradient(160deg, var(--blue) 0%, var(--blue-deep) 100%);
  border-radius: var(--radius); padding: 3rem 2.5rem; color: #fff;
  box-shadow: var(--shadow-blue);
}
.reassure h3 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 1rem; }
.reassure p { color: rgba(255,255,255,0.9); font-size: 1.05rem; line-height: 1.7; max-width: 56ch; margin: 0 auto; }

/* ── FAQ ─────────────────────────────────────────────────────── */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.9rem; }
.faq-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  box-shadow: var(--shadow); overflow: hidden; transition: border-color .25s ease, box-shadow .25s ease;
}
.faq-item.open { border-color: rgba(29,91,227,0.35); box-shadow: var(--shadow-lg); }
.faq-q {
  width: 100%; background: none; border: none; cursor: pointer; text-align: left;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.35rem 1.6rem; font-family: 'Inter', sans-serif;
  font-size: 1.08rem; font-weight: 600; color: var(--ink); transition: color .2s;
}
.faq-q:hover { color: var(--blue); }
.faq-icon { flex-shrink: 0; color: var(--blue); transition: transform .25s; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease, padding .25s ease; font-size: 1rem; color: var(--body); line-height: 1.7; padding: 0 1.6rem; }
.faq-item.open .faq-a { max-height: 640px; padding: 0 1.6rem 1.4rem; }
.faq-a ul { margin: 0.7rem 0 0; padding-left: 1.3rem; }
.faq-a li { margin-bottom: 0.45rem; }
.faq-a li::marker { color: var(--blue); }

/* ── CTA / VORM ──────────────────────────────────────────────── */
.cta { background: var(--paper-2); }
.cta-card {
  max-width: 640px; margin: 0 auto;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 3rem 3rem; box-shadow: var(--shadow-lg);
}
@media (max-width: 767px){ .cta-card { padding: 2rem 1.5rem; } }
form { display: flex; flex-direction: column; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 1.1rem; }
@media (min-width: 520px){ .form-row { grid-template-columns: 1fr 1fr; } }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label { font-size: 0.9rem; font-weight: 600; color: var(--ink-soft); }
.form-input {
  background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: 0.85rem 1rem; font-size: 1rem; color: var(--ink); font-family: 'Inter', sans-serif;
  outline: none; resize: vertical; transition: border-color .2s, background .2s, box-shadow .2s;
}
.form-input::placeholder { color: var(--muted); }
.form-input:focus { border-color: var(--blue); background: #fff; box-shadow: 0 0 0 3px rgba(29,91,227,0.1); }
.form-note { text-align: center; font-size: 0.85rem; color: var(--muted); margin-top: 0.4rem; }

/* ── FOOTER ──────────────────────────────────────────────────── */
footer { background: var(--paper-3); border-top: 1px solid var(--line); padding: 3rem 0 2.5rem; }
.foot-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.5rem; padding-bottom: 2rem; border-bottom: 1px solid var(--line); margin-bottom: 1.75rem; }
.foot-logo { font-family: 'Fraunces', serif; font-weight: 600; font-size: 1.7rem; color: var(--ink); }
.foot-links { display: flex; flex-wrap: wrap; gap: 1.75rem; }
.foot-links a { font-size: 0.95rem; font-weight: 500; color: var(--body); transition: color .2s; }
.foot-links a:hover { color: var(--blue); }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; font-size: 0.9rem; color: var(--muted); }
.foot-bottom .em { color: var(--ink); font-weight: 700; }

/* ── SCROLLBAR ───────────────────────────────────────────────── */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--paper-2); }
::-webkit-scrollbar-thumb { background: #D8C9B2; border-radius: 6px; border: 2px solid var(--paper-2); }
::-webkit-scrollbar-thumb:hover { background: var(--blue-tint); }
