/* SiseProff avaleht | disainisuund "SiseProff Navy & Gold" */
:root {
  --bg: #F3F5F8;
  --surface: #FFFFFF;
  --ink: #0F1A2B;
  --navy: #0E1A2E;
  --navy-2: #16263F;
  --navy-3: #1E3352;
  --muted: #5A6678;
  --muted-d: #A9B4C4;
  --line: #DCE2EA;
  --line-d: rgba(255, 255, 255, .14);
  --accent: #E2A52B;
  --accent-h: #EDB646;
  --accent-ink: #1A1306;
  --success: #1F8A5B;
  --danger: #C2412D;
  --f-head: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Figtree", "Helvetica Neue", Arial, sans-serif;
  --r-in: 10px;
  --r-card: 18px;
  --shadow: 0 1px 2px rgba(14, 26, 46, .06), 0 10px 30px -12px rgba(14, 26, 46, .18);
  --shadow-lg: 0 2px 4px rgba(14, 26, 46, .06), 0 24px 60px -20px rgba(14, 26, 46, .35);
  --wrap: 1200px;
  --gut: clamp(16px, 4vw, 32px);
  --sec: clamp(64px, 9vw, 112px);
  --hdr-h: 72px;
  --top: var(--wp-admin--admin-bar--height, 0px);
}

/* Reset, :where() hoiab spetsiifilisuse nullis */
:where(.sp) *, :where(.sp) *::before, :where(.sp) *::after { box-sizing: border-box; }
:where(.sp) :where(h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd, fieldset, legend) { margin: 0; padding: 0; border: 0; }
:where(.sp) :where(ul, ol) { list-style: none; }
:where(.sp) :where(img, svg) { display: block; max-width: 100%; }
:where(.sp) :where(img) { height: auto; }
:where(.sp) :where(button, input, select, textarea) { font: inherit; color: inherit; }
:where(.sp) :where(a) { color: inherit; text-decoration: none; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body.sp {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.sp h1, .sp h2, .sp h3 { font-family: var(--f-head); font-weight: 800; line-height: 1.1; letter-spacing: -.01em; color: inherit; }
.sp h2 { font-size: clamp(30px, 4vw, 46px); font-stretch: 105%; }
.sp h3 { font-size: 20px; font-weight: 700; line-height: 1.25; }
.sp section[id] { scroll-margin-top: calc(var(--hdr-h) + var(--top) + 8px); }
.ico { flex: none; }
.sp [hidden] { display: none !important; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }
.sec { padding: var(--sec) 0; }
.sec__head { max-width: 640px; margin-bottom: clamp(32px, 5vw, 56px); }
.sec__head p { margin-top: 14px; color: var(--muted); font-size: 18px; }
.sec__head a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: var(--r-in); }
.skip:focus { left: 8px; }
.sp :focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* Nupud */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: var(--r-in);
  border: 1.5px solid transparent; background: none; cursor: pointer;
  font-family: var(--f-body); font-weight: 700; font-size: 16px; line-height: 1.2; white-space: nowrap;
  transition: background-color .2s, border-color .2s, color .2s, transform .12s;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 17px; }
.btn--gold { background: var(--accent); color: var(--accent-ink); }
.btn--gold:hover { background: var(--accent-h); }
.btn--ghost { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.btn--line { border-color: var(--line); color: var(--ink); }
.btn--line:hover { border-color: var(--ink); }
.btn--line-d { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn--line-d:hover { border-color: var(--ink); }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Päis */
.hdr {
  position: sticky; top: var(--top); z-index: 50;
  background: rgba(14, 26, 46, .92);
  -webkit-backdrop-filter: saturate(140%) blur(12px); backdrop-filter: saturate(140%) blur(12px);
  color: #fff; border-bottom: 1px solid transparent; transition: border-color .2s, background-color .2s;
}
.hdr.is-scrolled { background: rgba(14, 26, 46, .97); border-bottom-color: var(--line-d); }
.hdr__in { display: flex; align-items: center; gap: 28px; height: var(--hdr-h); }
.hdr__logo { flex: none; display: block; }
.hdr__logo img { width: auto; height: 62px; }
.nav { display: flex; gap: 26px; margin-left: auto; font-size: 15px; font-weight: 500; }
.nav a { color: rgba(255, 255, 255, .82); padding: 6px 0; position: relative; transition: color .2s; }
.nav a:hover, .nav a.is-active { color: #fff; }
.nav a.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--accent); border-radius: 2px; }
.hdr__phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; padding: 10px 16px; border-radius: var(--r-in); border: 1.5px solid var(--line-d); white-space: nowrap; transition: border-color .2s; }
.hdr__phone:hover { border-color: var(--accent); }
.hdr__phone .ico { color: var(--accent); }
.hdr__burger { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: var(--r-in); border: 1.5px solid var(--line-d); background: none; color: #fff; align-items: center; justify-content: center; cursor: pointer; }

/* Hero */
.hero { background: var(--navy); color: #fff; padding: clamp(40px, 6vw, 72px) 0 clamp(96px, 11vw, 136px); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 90% at 85% 10%, rgba(30, 51, 82, .9), transparent 60%); pointer-events: none; }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__title { font-size: clamp(40px, 4.6vw, 60px); font-stretch: 100%; line-height: 1.02; margin: 18px 0 22px; letter-spacing: -.02em; }
.hero__title span { display: block; color: var(--accent); }
.hero__sub { font-size: clamp(17px, 1.5vw, 20px); color: var(--muted-d); max-width: 34em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__media { position: relative; }
.hero__media::after { content: ""; position: absolute; inset: auto -18px -18px auto; width: 46%; height: 46%; border: 2px solid var(--accent); border-radius: var(--r-card); z-index: 0; }
.hero__img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 4.3; object-fit: cover; border-radius: var(--r-card); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .6); }

/* Usaldusriba */
.trust { position: relative; z-index: 2; margin-top: -64px; }
.trust__bar { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--surface); border-radius: var(--r-card); box-shadow: var(--shadow-lg); }
.trust__bar li { padding: 26px 28px; display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 2px; }
.trust__bar li + li { border-left: 1px solid var(--line); }
.trust__bar strong { font-family: var(--f-head); font-weight: 800; font-size: clamp(32px, 3.4vw, 44px); line-height: 1; font-variant-numeric: tabular-nums; }
.trust__bar b { font-family: var(--f-head); font-weight: 800; font-size: clamp(20px, 2vw, 26px); color: var(--accent); }
.trust__bar span { flex-basis: 100%; margin-top: 6px; color: var(--muted); font-size: 15px; font-weight: 500; }

/* Teenused: bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(0, auto); gap: 20px; }
.svc { position: relative; display: flex; flex-direction: column; background: var(--surface); border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.svc__hit { position: absolute; inset: 0; z-index: 3; width: 100%; background: none; border: 0; cursor: pointer; border-radius: var(--r-card); }
.svc__media { overflow: hidden; aspect-ratio: 16 / 10; }
.svc__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.svc:hover .svc__media img { transform: scale(1.04); }
.svc__body { padding: 24px 26px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.svc__body p { color: var(--muted); font-size: 16px; }
.svc__ico { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: #FBF1DC; color: #9A6A0E; }
.svc__more { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; color: var(--ink); }
.svc__more .ico { color: var(--accent); transition: transform .2s; }
.svc:hover .svc__more .ico { transform: translateX(4px); }
/* Paigutus: rida 1 = wide(4) + tall(2); rida 2 = std(2) + tint(2) + std(2) */
.svc--wide { grid-column: span 4; }
.svc--tall { grid-column: span 2; }
.svc--std { grid-column: span 2; }
.svc--tint { grid-column: span 2; background: #FCF4E2; box-shadow: none; border: 1px solid #F1DEB4; }
.svc--tint .svc__body { justify-content: flex-end; padding: 30px 28px; }
.svc--tint .svc__ico { width: 56px; height: 56px; border-radius: 14px; background: var(--navy); color: var(--accent); margin-bottom: auto; }
.svc--tint h3 { font-size: 22px; margin-top: 40px; }
.svc--tint .svc__body p { color: #4B5566; }
.svc--wide { flex-direction: row; background: var(--navy); color: #fff; }
.svc--wide .svc__media { flex: 1.15; aspect-ratio: auto; min-height: 340px; }
.svc--wide .svc__body { flex: 1; padding: 32px; justify-content: center; }
.svc--wide h3 { font-size: 26px; }
.svc--wide .svc__body p { color: var(--muted-d); }
.svc--wide .svc__more { color: #fff; }
.svc--wide .svc__ico { background: rgba(226, 165, 43, .16); color: var(--accent); }

/* Dialoog (teenuse detail) */
.dlg { width: min(760px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: var(--r-card); background: var(--surface); color: var(--ink); box-shadow: var(--shadow-lg); overflow: auto; }
.dlg::backdrop { background: rgba(9, 16, 28, .66); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.dlg[open] { animation: dlg-in .28s cubic-bezier(.2, .8, .2, 1); }
@keyframes dlg-in { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.dlg__media img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }
.dlg__body { position: relative; padding: 28px clamp(20px, 4vw, 40px) 36px; display: flex; flex-direction: column; gap: 14px; }
.dlg__body h3 { font-size: clamp(24px, 3vw, 30px); font-weight: 800; }
.dlg__body > p { color: var(--muted); }
.dlg__x { position: absolute; top: -56px; right: 14px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .95); color: var(--ink); display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: var(--shadow); }
.dlg--price { width: min(960px, calc(100vw - 24px)); }
.dlg--price .dlg__body { padding-top: 32px; }
.dlg--price .dlg__x { top: 16px; right: 16px; background: var(--bg); box-shadow: none; }
.dlg--price h3 { padding-right: 56px; }
.dlg__text { color: var(--muted); display: grid; gap: 12px; }
.dlg__text p:empty { display: none; }
.dlg__text a { color: var(--ink); font-weight: 600; }
.dlg__text iframe { display: block; width: 100%; height: 70dvh !important; min-height: 420px; border: 1px solid var(--line) !important; border-radius: var(--r-in); background: #fff; }
.ticks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; margin: 6px 0 8px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; line-height: 1.45; }
.ticks .ico { color: var(--success); margin-top: 1px; }
.dlg__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* Protsess */
.process { background: var(--surface); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.steps li { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px 24px 22px; background: var(--bg); border-radius: var(--r-card); }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 48px; right: -16px; width: 10px; height: 10px; border-top: 2.5px solid var(--accent); border-right: 2.5px solid var(--accent); transform: rotate(45deg); z-index: 1; }
.steps__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.steps__ico { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 14px; background: var(--navy); color: var(--accent); }
.steps__n { font-family: var(--f-head); font-weight: 800; font-size: 44px; line-height: 1; color: var(--line); }
.steps h3 { font-size: 19px; }
.steps p { flex: 1; color: var(--muted); font-size: 15.5px; }
.steps__out { display: flex; align-items: center; gap: 8px; margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--line); font-weight: 700; font-size: 14.5px; }
.steps__out .ico { color: var(--success); }

/* Kalkulaator */
.calc { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.calc::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 70% at 0% 100%, rgba(30, 51, 82, .9), transparent 60%); pointer-events: none; }
.calc__grid { position: relative; display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.calc__intro h2 { margin-bottom: 16px; }
.calc__intro > p { color: var(--muted-d); font-size: 18px; }
.calc__facts { margin: 26px 0 30px; display: grid; gap: 12px; }
.calc__facts li { display: flex; gap: 10px; align-items: center; font-weight: 500; }
.calc__facts .ico { color: var(--accent); }
.calc__call { display: inline-flex; align-items: center; gap: 14px; padding: 14px 20px; border: 1.5px solid var(--line-d); border-radius: var(--r-card); transition: border-color .2s; }
.calc__call:hover { border-color: var(--accent); }
.calc__call .ico { color: var(--accent); }
.calc__call span { display: flex; flex-direction: column; font-size: 14px; color: var(--muted-d); line-height: 1.35; }
.calc__call strong { color: #fff; font-size: 19px; }

.wiz { background: var(--surface); color: var(--ink); border-radius: var(--r-card); box-shadow: 0 40px 100px -40px rgba(0, 0, 0, .7); padding: clamp(20px, 3.4vw, 36px); position: relative; }
.wiz__progress ol { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; font-size: 13px; font-weight: 600; color: var(--muted); counter-reset: w; }
.wiz__progress li { counter-increment: w; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wiz__progress li::before { content: counter(w) ". "; }
.wiz__progress li.is-on { color: var(--ink); }
.wiz__bar { height: 6px; background: var(--bg); border-radius: 6px; margin: 10px 0 28px; overflow: hidden; }
.wiz__bar i { display: block; height: 100%; width: 25%; background: var(--accent); border-radius: 6px; transition: width .35s cubic-bezier(.2, .8, .2, 1); }
.wiz__step legend { font-family: var(--f-head); font-weight: 800; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.15; margin-bottom: 20px; }
.wiz__step.is-on { animation: step-in .3s ease; }
@keyframes step-in { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: none; } }
.sublegend { font-weight: 700; margin: 26px 0 12px; }

.opts { display: grid; gap: 12px; }
.opts--4 { grid-template-columns: repeat(4, 1fr); }
.opts--3 { grid-template-columns: repeat(3, 1fr); }
.opt { position: relative; cursor: pointer; }
.opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opt > span { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; height: 100%; padding: 22px 12px; border: 1.5px solid var(--line); border-radius: var(--r-in); transition: border-color .15s, background-color .15s, box-shadow .15s; }
.opt b { font-weight: 700; font-size: 16px; }
.opt small { color: var(--muted); font-size: 13px; line-height: 1.35; }
.opt .ico { color: var(--muted); transition: color .15s; }
.opt:hover > span { border-color: #B9C3D0; }
.opt input:checked + span { border-color: var(--accent); background: #FFF9EC; box-shadow: 0 0 0 1px var(--accent) inset; }
.opt input:checked + span .ico { color: #9A6A0E; }
.opt input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.opts--sm .opt > span { padding: 14px 10px; gap: 4px; }

.area { display: grid; gap: 14px; }
.area__num { display: inline-flex; align-items: baseline; gap: 8px; }
.area__num input { width: 4.2em; font-family: var(--f-head); font-weight: 800; font-size: 48px; line-height: 1.1; border: 0; border-bottom: 2px solid var(--line); padding: 0 0 4px; background: none; color: var(--ink); -moz-appearance: textfield; }
.area__num input:focus { outline: none; border-bottom-color: var(--accent); }
.area__num input::-webkit-outer-spin-button, .area__num input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.area__num span { font-family: var(--f-head); font-weight: 700; font-size: 26px; color: var(--muted); }
.area input[type=range] { width: 100%; accent-color: var(--accent); height: 28px; }
.hint { color: var(--muted); font-size: 14px; }

.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.chk { position: relative; cursor: pointer; }
.chk input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chk > span { display: grid; grid-template-columns: 22px 1fr; gap: 2px 12px; align-items: start; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--r-in); height: 100%; transition: border-color .15s, background-color .15s; }
.chk i { grid-row: span 2; width: 22px; height: 22px; border-radius: 6px; border: 1.5px solid #B9C3D0; display: flex; align-items: center; justify-content: center; margin-top: 1px; transition: background-color .15s, border-color .15s; }
.chk i::after { content: ""; width: 10px; height: 6px; border-left: 2px solid var(--accent-ink); border-bottom: 2px solid var(--accent-ink); transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.chk b { font-weight: 700; font-size: 15px; line-height: 1.35; }
.chk small { color: var(--muted); font-size: 13px; line-height: 1.35; }
.chk input:checked + span { border-color: var(--accent); background: #FFF9EC; }
.chk--feature { grid-column: 1 / -1; }
.chk--feature > span { background: var(--navy); border-color: var(--navy); color: #fff; padding: 16px 18px; }
.chk--feature small { color: var(--muted-d); }
.chk--feature b { font-size: 16px; }
.chk--feature input:checked + span { background: var(--navy); border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.chk--feature i { border-color: rgba(255, 255, 255, .5); }
.chk.is-off { opacity: .45; pointer-events: none; }
.chk input:checked + span i { background: var(--accent); border-color: var(--accent); }
.chk input:checked + span i::after { opacity: 1; }
.chk input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }

.result { background: var(--navy); color: #fff; border-radius: var(--r-card); padding: 24px 26px; }
.result__sum { font-family: var(--f-head); font-weight: 800; font-size: clamp(32px, 4.4vw, 46px); line-height: 1.05; color: var(--accent); font-variant-numeric: tabular-nums; }
.result__sum.is-text { font-size: 24px; color: #fff; }
.result__meta { color: var(--muted-d); font-size: 15px; margin-top: 6px; }
.result__list { margin: 16px 0 0; border-top: 1px solid var(--line-d); padding-top: 12px; display: grid; gap: 6px; font-size: 15px; }
.result__list li { display: flex; justify-content: space-between; gap: 16px; }
.result__list li span:last-child { color: var(--muted-d); white-space: nowrap; font-variant-numeric: tabular-nums; }
.result__note { margin-top: 14px; font-size: 13px; color: var(--muted-d); line-height: 1.5; }

.lead { margin-top: 28px; }
.lead h3 { font-size: 21px; margin-bottom: 16px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fld { display: flex; flex-direction: column; gap: 6px; }
.fld--full { grid-column: 1 / -1; }
.fld > span { font-size: 14px; font-weight: 600; }
.fld input, .fld textarea { width: 100%; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: var(--r-in); background: var(--surface); color: var(--ink); font-size: 16px; transition: border-color .15s, box-shadow .15s; }
.fld textarea { resize: vertical; min-height: 88px; }
.fld input::placeholder, .fld textarea::placeholder { color: #8591A3; }
.fld input:focus, .fld textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(226, 165, 43, .25); }
.fld input.is-bad { border-color: var(--danger); }
.drop { position: relative; display: flex; align-items: center; gap: 14px; padding: 18px; border: 1.5px dashed #B9C3D0; border-radius: var(--r-in); cursor: pointer; transition: border-color .15s, background-color .15s; color: var(--muted); }
.drop:hover, .drop.is-over { border-color: var(--accent); background: #FFF9EC; }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop span { display: flex; flex-direction: column; font-size: 15px; color: var(--ink); }
.drop small { color: var(--muted); font-size: 13px; }
.drop .ico { color: #9A6A0E; }
.files { display: grid; gap: 6px; margin-top: 8px; }
.files li { display: flex; align-items: center; gap: 10px; font-size: 14px; background: var(--bg); padding: 8px 12px; border-radius: 8px; }
.files li span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.files li small { color: var(--muted); }
.files button { border: 0; background: none; cursor: pointer; color: var(--muted); padding: 2px; display: flex; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.err { margin-top: 12px; color: var(--danger); font-weight: 600; font-size: 15px; }
.privacy { margin-top: 12px; font-size: 13px; color: var(--muted); }
.done { text-align: center; padding: 28px 8px 8px; }
.done:focus { outline: none; }
.done__ico { display: inline-flex; width: 64px; height: 64px; border-radius: 50%; align-items: center; justify-content: center; background: #E3F4EB; color: var(--success); margin-bottom: 16px; }
.done h3 { font-size: 24px; margin-bottom: 8px; }
.done p { color: var(--muted); }
.done a { color: var(--ink); font-weight: 700; }
.wiz__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.wiz__nav .btn:last-child, .wiz__nav #wiz-next, .wiz__nav #wiz-send { margin-left: auto; }
.wiz.is-done .wiz__nav { display: none; }

/* Inimkontroll */
.hcheck { display: flex; align-items: center; gap: 14px; margin-top: 16px; padding: 12px 14px; max-width: 380px; border: 1.5px solid var(--line); border-radius: var(--r-in); background: var(--bg); cursor: pointer; user-select: none; transition: border-color .2s, background-color .2s; }
.hcheck__box { flex: none; position: relative; display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; padding: 0; border: 2px solid #9AA6B6; border-radius: 8px; background: #fff; cursor: pointer; transition: border-color .2s, background-color .2s; }
.hcheck:hover .hcheck__box { border-color: var(--ink); }
.hcheck__label { flex: 1; font-weight: 600; font-size: 15px; }
.hcheck__brand { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 10.5px; line-height: 1.2; color: var(--muted); }
.hcheck__brand .ico { color: var(--navy); }
.hcheck.is-busy { cursor: progress; }
.hcheck.is-busy .hcheck__box { border-color: var(--accent); }
.hcheck.is-busy .hcheck__box::after { content: ""; width: 16px; height: 16px; border: 2.5px solid var(--accent); border-right-color: transparent; border-radius: 50%; animation: hc-spin .7s linear infinite; }
@keyframes hc-spin { to { transform: rotate(360deg); } }
.hcheck.is-ok { border-color: var(--success); background: #EEF8F2; cursor: default; }
.hcheck.is-ok .hcheck__box { background: var(--success); border-color: var(--success); cursor: default; }
.hcheck.is-ok .hcheck__box::after { content: ""; width: 12px; height: 7px; border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: rotate(-45deg) translate(1px, -1px); }
.hcheck.is-ok .hcheck__label { color: var(--success); }
.hcheck.is-err { border-color: var(--danger); }
.cform .hcheck { max-width: none; }

/* Tehtud tööd */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip { min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); font-weight: 600; font-size: 15px; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.chip:hover { border-color: var(--ink); }
.chip.is-on { background: var(--navy); border-color: var(--navy); color: #fff; }
.grid { columns: 4 240px; column-gap: 14px; }
.tile { display: block; margin: 0 0 14px; break-inside: avoid; border-radius: 14px; overflow: hidden; background: var(--line); position: relative; }
.tile img { width: 100%; height: auto; transition: transform .5s, opacity .3s; }
.tile:hover img { transform: scale(1.03); }
.tile[hidden] { display: none; }
.work__more { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.btn--fb { background: #1877F2; color: #fff; }
.btn--fb:hover { background: #0F65D8; }
.work__more [hidden] { display: none; }

.lb { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(9, 16, 28, .96); color: #fff; }
.lb[open] { display: flex; align-items: center; justify-content: center; }
.lb::backdrop { background: rgba(9, 16, 28, .9); }
.lb__img { max-width: calc(100vw - 140px); max-height: calc(100dvh - 120px); width: auto; height: auto; object-fit: contain; border-radius: 10px; user-select: none; }
.lb__x, .lb__nav { position: absolute; border: 0; background: rgba(255, 255, 255, .1); color: #fff; width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background-color .2s; }
.lb__x:hover, .lb__nav:hover { background: rgba(255, 255, 255, .2); }
.lb__x { top: 18px; right: 18px; }
.lb__prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb__next { right: 18px; top: 50%; transform: translateY(-50%); }
.lb__count { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; font-size: 14px; color: var(--muted-d); font-variant-numeric: tabular-nums; }

/* Miks meie */
.why { background: var(--surface); }
.why__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.why__media { position: relative; }
.why__media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 60%; border-radius: var(--r-card); }
.why__media::before { content: ""; position: absolute; inset: -18px auto auto -18px; width: 40%; height: 40%; background: var(--accent); border-radius: var(--r-card); z-index: -1; opacity: .9; }
.why__media { z-index: 0; isolation: isolate; }
.why__lead { margin: 16px 0 32px; color: var(--muted); font-size: 18px; max-width: 36em; }
.why__list { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; }
.why__list li { display: flex; gap: 16px; }
.why__ico { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 14px; background: var(--navy); color: var(--accent); }
.why__list h3 { font-size: 18px; margin-bottom: 6px; }
.why__list p { color: var(--muted); font-size: 15.5px; }

/* Meist */
.about__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.about__copy h2 { margin-bottom: 20px; }
.about__copy p { color: var(--muted); font-size: 18px; max-width: 36em; }
.about__copy p + p { margin-top: 14px; }
.about__logo { display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 11; padding: clamp(32px, 6vw, 72px); background: var(--surface); border-radius: var(--r-card); box-shadow: var(--shadow-lg); }
.about__logo img { width: 100%; max-width: 440px; height: auto; }
.about__media img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; border-radius: var(--r-card); box-shadow: var(--shadow-lg); }

/* Tagasiside */
.reviews { background: var(--surface); }
.demo-note { margin: -28px 0 28px; padding: 12px 16px; border-radius: var(--r-in); background: #FFF4DC; color: #6A4A08; font-size: 14px; font-weight: 600; }
.quotes { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 20px; }
.quote { display: flex; flex-direction: column; gap: 16px; padding: 28px; border-radius: var(--r-card); background: var(--bg); }
.quote:first-child { background: var(--navy); color: #fff; }
.quote:first-child figcaption span { color: var(--muted-d); }
.quote__mark { color: var(--accent); }
.quote blockquote { font-size: 17px; line-height: 1.6; flex: 1; }
.quote:first-child blockquote { font-size: 19px; }
.quote figcaption { display: flex; flex-direction: column; font-size: 15px; }
.quote figcaption span { color: var(--muted); font-size: 14px; }
.quote.is-demo { outline: 2px dashed #E2A52B; outline-offset: -2px; }

/* KKK */
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq__grid > .sec__head { position: sticky; top: calc(var(--hdr-h) + var(--top) + 24px); }
.acc { display: grid; gap: 12px; }
.acc__item { background: var(--surface); border-radius: var(--r-in); box-shadow: var(--shadow); }
.acc__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font-weight: 700; font-size: 17px; }
.acc__item summary::-webkit-details-marker { display: none; }
.acc__item summary i { flex: none; position: relative; width: 28px; height: 28px; border-radius: 50%; background: var(--bg); }
.acc__item summary i::before, .acc__item summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--ink); transform: translate(-50%, -50%); transition: transform .2s; }
.acc__item summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc__item[open] summary i { background: var(--accent); }
.acc__item[open] summary i::after { transform: translate(-50%, -50%) rotate(0deg); }
.acc__item p { padding: 0 22px 20px; color: var(--muted); }

/* Kontakt */
.contact { background: var(--navy); color: #fff; }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact__lead a { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.contact__info .contact__cards { margin-top: 8px; }
.cform { background: var(--surface); color: var(--ink); border-radius: var(--r-card); padding: clamp(22px, 3.4vw, 36px); box-shadow: 0 40px 100px -40px rgba(0, 0, 0, .7); }
.cform h3 { font-size: 24px; font-weight: 800; }
.cform__sub { color: var(--muted); margin: 6px 0 20px; }
.cform__hint { margin-top: 10px; }
.cform__btn { width: 100%; margin-top: 18px; }
.cform .fld input.is-bad, .cform .fld textarea.is-bad { border-color: var(--danger); }
.contact__lead { margin: 16px 0 30px; color: var(--muted-d); font-size: 18px; max-width: 30em; }
.contact__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact__cards li > * { display: flex; align-items: center; gap: 14px; height: 100%; padding: 20px; border-radius: var(--r-card); background: var(--navy-2); border: 1px solid var(--line-d); transition: border-color .2s; }
.contact__cards a:hover { border-color: var(--accent); }
.contact__ico { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; background: rgba(226, 165, 43, .14); color: var(--accent); }
.contact__cards small { display: block; color: var(--muted-d); font-size: 13px; }
.contact__cards b { font-size: 16px; word-break: break-word; }
.contact__fb { grid-column: 1 / -1; }
.contact__fb a > .ico:last-child { margin-left: auto; color: var(--accent); transition: transform .2s; }
.contact__fb a:hover > .ico:last-child { transform: translateX(4px); }
.contact__fb .contact__ico { background: #1877F2; color: #fff; }

/* Jalus */
.ftr { background: #09121F; color: var(--muted-d); padding: 40px 0 calc(40px + env(safe-area-inset-bottom)); font-size: 14px; }
.ftr__in { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.ftr__in img { height: 46px; width: auto; }
.ftr nav { display: flex; gap: 20px; flex-wrap: wrap; }
.ftr nav a:hover { color: #fff; }
.ftr p { margin-left: auto; }
.ftr__fb { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-d); color: #fff; transition: background-color .2s, border-color .2s; }
.ftr__fb:hover { background: #1877F2; border-color: #1877F2; }

/* Mobiili tegevusriba */
.mbar { display: none; }

/* Ilmumine kerimisel (ainult JS-iga, muidu nähtav) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .2, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .sp *, .sp *::before, .sp *::after { animation: none !important; transition: none !important; }
}

/* ---------- Tahvel ---------- */
@media (max-width: 1100px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li::after { display: none; }
  .nav { gap: 18px; font-size: 14px; }
  .hdr__phone span { display: none; }
  .quotes { grid-template-columns: 1fr 1fr; }
  .quote:first-child { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  :root { --hdr-h: 64px; }
  .hdr__logo img { height: 50px; }
  .hdr__burger { display: inline-flex; }
  .hdr__phone { display: none; }
  .nav {
    position: fixed; left: 0; right: 0; top: calc(var(--hdr-h) + var(--top)); z-index: 49;
    flex-direction: column; gap: 0; margin: 0; padding: 8px var(--gut) 20px;
    background: var(--navy); border-bottom: 1px solid var(--line-d);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 14px 0; font-size: 18px; border-bottom: 1px solid var(--line-d); }
  .nav a.is-active::after { display: none; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { order: -1; margin: 0 calc(var(--gut) * -1); }
  .hero__media::after { display: none; }
  .hero__img { aspect-ratio: 16 / 10; border-radius: 0; }
  .hero { padding-top: 0; }
  .trust__bar { grid-template-columns: 1fr 1fr; }
  .trust__bar li:nth-child(3) { border-left: 0; }
  .trust__bar li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .bento { grid-template-columns: 1fr 1fr; }
  .svc--wide { grid-column: 1 / -1; }
  .svc--tall, .svc--std, .svc--tint { grid-column: span 1; }
  .svc--wide .svc__media { min-height: 260px; }
  .calc__grid, .why__grid, .about__grid, .faq__grid, .contact__grid { grid-template-columns: 1fr; }
  .faq__grid > .sec__head { position: static; }
  .why__media { max-width: 520px; }
  .why__media img { aspect-ratio: 16 / 11; }
  .mbar {
    display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -12px rgba(14, 26, 46, .25);
    transform: translateY(110%); transition: transform .3s cubic-bezier(.2, .8, .2, 1);
  }
  .mbar.is-on { transform: none; }
  .mbar__call { flex: none; width: 52px; height: 52px; border-radius: var(--r-in); border: 1.5px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--ink); }
  .mbar__cta { flex: 1; min-height: 52px; }
  .ftr { padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
}

/* ---------- Telefon ---------- */
@media (max-width: 640px) {
  .steps { grid-template-columns: 1fr; gap: 14px; }
  .steps__n { font-size: 36px; }
  body.sp { font-size: 16px; }
  .sec__head p { font-size: 16px; }
  .hero__title { font-size: clamp(36px, 10.5vw, 46px); margin: 14px 0 16px; }
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; }
  .trust { margin-top: -48px; }
  .trust__bar li { padding: 18px 18px; }
  .trust__bar span { font-size: 13.5px; }
  .trust__bar strong { font-size: 28px; }
  .trust__bar b { font-size: 17px; white-space: nowrap; }
  .bento { grid-template-columns: 1fr; gap: 14px; }
  .svc--wide { flex-direction: column; }
  .svc--wide .svc__media { min-height: 0; aspect-ratio: 16 / 10; flex: none; }
  .svc--wide .svc__body { padding: 24px 22px 26px; }
  .svc--wide h3 { font-size: 22px; }
  /* Mobiilis kompaktsed rakendusesarnased kaardid: pilt vasakul */
  .svc--tall, .svc--std { flex-direction: row; }
  .svc--tall .svc__media, .svc--std .svc__media { flex: 0 0 34%; aspect-ratio: auto; }
  .svc--tall .svc__body, .svc--std .svc__body { padding: 16px 16px 16px; gap: 6px; }
  .svc--tint h3 { margin-top: 8px; font-size: 18px; }
  .svc--tint .svc__body { padding: 20px; }
  .svc--tall .svc__body p, .svc--std .svc__body p { font-size: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .svc--tall .svc__ico, .svc--std .svc__ico { display: none; }
  .svc h3 { font-size: 17px; }
  .svc__more { font-size: 14px; }
  .ticks { grid-template-columns: 1fr; }
  .dlg { width: 100vw; max-width: 100vw; max-height: 92dvh; margin: auto 0 0; border-radius: var(--r-card) var(--r-card) 0 0; }
  .dlg[open] { animation-name: sheet-in; }
  @keyframes sheet-in { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
  .dlg__cta .btn { flex: 1; }
  .wiz { margin: 0 calc(var(--gut) * -1); border-radius: var(--r-card); padding: 22px 18px; }
  .wiz__progress ol { font-size: 0; }
  .wiz__progress li.is-on { font-size: 13px; grid-column: 1 / -1; }
  .wiz__progress li:not(.is-on) { display: none; }
  .wiz__progress li.is-on::before { content: "Samm " counter(w) "/4: "; }
  .opts--4 { grid-template-columns: 1fr 1fr; }
  .opts--3 { grid-template-columns: 1fr; }
  .opts--3 .opt > span { flex-direction: row; justify-content: space-between; text-align: left; padding: 14px 16px; }
  .checks { grid-template-columns: 1fr; }
  .fields { grid-template-columns: 1fr; }
  .wiz__nav .btn { flex: 1; }
  .grid { columns: 2; column-gap: 10px; }
  .tile { margin-bottom: 10px; border-radius: 10px; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gut) * -1) 22px; padding: 0 var(--gut) 4px; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .lb__img { max-width: 100vw; max-height: calc(100dvh - 140px); border-radius: 0; }
  .lb__prev, .lb__next { top: auto; bottom: 14px; transform: none; }
  .lb__count { bottom: 30px; }
  .why__list { grid-template-columns: 1fr; gap: 22px; }
  .quotes { grid-template-columns: 1fr; }
  .contact__cards { grid-template-columns: 1fr; }
  .ftr__in { flex-direction: column; align-items: flex-start; gap: 18px; }
  .ftr p { margin-left: 0; }
}
