/* wpilot.eu. Sama kest mis WorkPiloti rakendusel: neutraalne hall, must põhinupp, süsteemifont, kaalud 400 ja 500,
   ikoonijoon 1,5. Värv tuleb ainult töödest (tööliikide värvid joonisel). Lehel on üks julge asi: avavaate joonis. */

:root {
  --bg: #F5F6F7;
  --surface: #FFFFFF;
  --ink: #16181D;
  --muted: #5F6672;
  --faint: #98A0AB;
  --line: #E3E6EA;
  --line2: #EEF0F2;
  --link: #2563EB;
  --ok: #2F9E58;
  --err: #C2413B;
  --sans: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --mono: ui-monospace, 'Cascadia Mono', 'SF Mono', Menlo, Consolas, monospace;
  --wrap: 1280px;
  --gut: clamp(16px, 4vw, 40px);
  --hdr: 64px;
  --r: 12px;
  --shadow: 0 1px 2px rgba(22, 24, 29, .05), 0 18px 40px -16px rgba(22, 24, 29, .18);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 12px); }
body { margin: 0; background: var(--surface); color: var(--ink); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img, svg, video { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
h1, h2, h3, h4 { font-weight: 500; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.ik { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.wrap--doc { max-width: 760px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* Nupud */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 10px; border: 0; font: 500 16px/1 var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .15s, transform .15s; }
.btn:active { transform: translateY(1px); }
.btn--1 { background: var(--ink); color: #fff; }
.btn--1:hover { background: #2B2F37; }
.btn--2 { background: #E9ECEF; color: var(--ink); }
.btn--2:hover { background: #DDE1E5; }
.btn--sm { min-height: 38px; padding: 0 14px; font-size: 15px; }
.btn .ik { width: 16px; height: 16px; }

/* Päis */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.hdr__in { display: flex; align-items: center; gap: 28px; height: var(--hdr); }
.logo { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); text-decoration: none; font-size: 18px; font-weight: 500; letter-spacing: -.01em; flex: none; }
.logo__mark { width: 28px; height: 28px; }
.logo__mark rect { fill: var(--ink); }
.logo__mark path { fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.logo__mark circle { fill: #fff; }
.nav { display: flex; gap: 4px; flex: 1; min-width: 0; }
.nav a, .mnav a { padding: 8px 12px; border-radius: 8px; color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; white-space: nowrap; }
.nav a:hover { color: var(--ink); background: var(--bg); }
.nav a[aria-current="page"] { color: var(--ink); }
.hdr__end { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.lang { padding: 8px 10px; color: var(--muted); text-decoration: none; font: 500 13px/1 var(--mono); border-radius: 8px; }
.lang:hover { color: var(--ink); background: var(--bg); }
.menu-btn { display: none; background: none; border: 0; padding: 8px 10px; font-size: 15px; font-weight: 500; cursor: pointer; border-radius: 8px; }
.mnav { border-top: 1px solid var(--line); background: var(--surface); }
.mnav .wrap { display: grid; padding-top: 8px; padding-bottom: 12px; }
.mnav a { padding: 12px 0; font-size: 17px; color: var(--ink); border-bottom: 1px solid var(--line2); border-radius: 0; }
.mnav a:last-child { border-bottom: 0; }

/* Lõigud */
.sec { padding: clamp(72px, 9vw, 136px) 0; }
.sec--tint { background: var(--bg); }
.sec__head { max-width: 760px; margin-bottom: clamp(36px, 4.5vw, 64px); }
.ey { font: 400 13px/1.3 var(--mono); color: var(--muted); margin-bottom: 14px; letter-spacing: .01em; }
h2 { font-size: clamp(30px, 3.8vw, 52px); line-height: 1.05; letter-spacing: -.03em; }
.lead { margin-top: 18px; font-size: clamp(18px, 1.45vw, 21px); line-height: 1.5; color: var(--muted); max-width: 62ch; }
h3 { font-size: clamp(19px, 1.6vw, 24px); line-height: 1.25; letter-spacing: -.012em; }

/* Avavaade */
.hero { background: var(--bg); padding: clamp(40px, 6vw, 88px) 0 clamp(64px, 7vw, 104px); }
.hero__top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px clamp(32px, 5vw, 80px); align-items: end; margin-bottom: clamp(36px, 4.5vw, 64px); }
.hero h1 { font-size: clamp(44px, 6.6vw, 96px); line-height: .98; letter-spacing: -.045em; max-width: 12ch; }
.hero--ver h1 { max-width: 14ch; }
.hero__side .lead { margin-top: 0; }
.acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.note { margin-top: 14px; font-size: 14px; color: var(--muted); }
.hero__cap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; margin-top: 16px; font-size: 15px; color: var(--muted); }
.hero__cap a { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); text-decoration: none; font-weight: 500; }
.hero__cap a:hover { text-decoration: underline; }
.hero__cap .ik { width: 16px; height: 16px; }

.switch { display: flex; gap: 2px 28px; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.switch button { background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; padding: 10px 0 12px; font-size: 16px; font-weight: 500; color: var(--muted); cursor: pointer; }
.switch button:hover { color: var(--ink); }
.switch button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); }

/* ---------- Joonis (avavaate illustratsioon) ---------- */
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; }
.plan__top { display: flex; align-items: center; gap: 4px; padding: 10px 12px; border-bottom: 1px solid var(--line2); }
.ptab { padding: 7px 12px; border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--muted); white-space: nowrap; }
.ptab.on { background: var(--ink); color: #fff; }
.plegend { margin-left: auto; display: flex; gap: 16px; font-size: 13px; color: var(--muted); white-space: nowrap; }
.plegend > span { display: inline-flex; align-items: center; gap: 7px; }
.lg { width: 22px; height: 0; border-top: 2px solid var(--ink); }
.lg--tulekul { border-top-style: dashed; }
.plan__body { display: grid; grid-template-columns: minmax(0, 1fr) 280px; }
.plan__stage { position: relative; container-type: inline-size; padding: 14px; }
.plan__canvas { position: relative; }
.plan__svg { width: 100%; height: auto; }
.plan__walls path { fill: none; stroke: var(--ink); stroke-width: 7; stroke-linecap: square; }
.plan__inner path { fill: none; stroke: var(--ink); stroke-width: 3.5; }
.plan__thin path { fill: none; stroke: #8A9097; stroke-width: 1.5; }
.plan__rooms text { fill: #8A9097; font: 400 15px var(--sans); }

.z { fill: var(--c); fill-opacity: .16; stroke: var(--c); stroke-width: 3.5; stroke-linejoin: round; }
.z--tulekul { fill-opacity: .09; stroke-dasharray: 12 8; }
.z--joon { fill: none; stroke-width: 8; stroke-linecap: round; }
.z--joon.z--tulekul { stroke-dasharray: 2 14; stroke-width: 8; }

/* Sildid joonisel: positsioon protsentides, suurus joonise laiuse järgi */
.lbl, .elm, .pill { position: absolute; }
.lbl { left: 0; top: 0; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: .45em; padding: .32em .62em; background: #fff; border: 1.5px solid var(--c); border-radius: .5em; color: var(--c); font-size: clamp(9px, 1.42cqw, 14px); line-height: 1.2; white-space: nowrap; box-shadow: 0 1px 2px rgba(22, 24, 29, .08); }
.lbl b { font-weight: 500; }
.lbl--tulekul { border-style: dashed; }
.lbl__m { position: absolute; left: 50%; bottom: calc(100% + .3em); transform: translateX(-50%); display: flex; gap: .25em; }
.lbl__m i { display: grid; place-items: center; width: 1.7em; height: 1.7em; background: #fff; border: 1px solid var(--line); border-radius: .4em; color: var(--m); }
.lbl__m .ik { width: 1.15em; height: 1.15em; }
.pill { transform: none; padding: .25em .55em; background: #fff; border: 1.5px solid var(--ink); border-radius: .45em; font-size: clamp(8px, 1.3cqw, 13px); font-weight: 500; line-height: 1.2; white-space: nowrap; }
.elm { transform: translate(-50%, -50%); display: grid; place-items: center; width: clamp(18px, 3cqw, 30px); height: clamp(18px, 3cqw, 30px); background: #fff; border: 1px solid var(--line); border-radius: 6px; color: var(--e); }
.elm .ik { width: 62%; height: 62%; }
.elm i { position: absolute; right: -3px; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); border: 1.5px solid #fff; }

/* Töökaart joonise kõrval */
.pcard { border-left: 1px solid var(--line2); padding: 18px 18px 20px; font-size: 14px; }
.pcard__h { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 500; }
.pcard__h i { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.pcard__h b { font-weight: 500; }
.pcard__h span::before { content: '· '; color: var(--faint); }
.pcard__s { display: flex; justify-content: space-between; margin-top: 16px; color: var(--muted); }
.pcard__s span:first-child { color: var(--ink); font-weight: 500; }
.pcard__bar { height: 4px; margin-top: 8px; border-radius: 2px; background: color-mix(in srgb, var(--c) 22%, #fff); overflow: hidden; }
.pcard__bar i { display: block; height: 100%; background: var(--c); border-radius: 2px; }
.pcard dl { margin-top: 18px; display: grid; gap: 10px; }
.pcard dl div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 10px; }
.pcard dt { color: var(--muted); }
.pcard__f { display: flex; gap: 8px; align-items: flex-start; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line2); color: var(--muted); }
.pcard__f .ik { width: 16px; height: 16px; margin-top: 2px; color: var(--ok); }

/* Ajakava joonise all */
.gantt { border-top: 1px solid var(--line2); padding: 6px 14px 12px; font-size: 13px; }
.gr { display: grid; grid-template-columns: 52px minmax(120px, 190px) minmax(0, 1fr); align-items: center; height: 30px; }
.gr--h { height: 26px; color: var(--faint); }
.gr__k { font: 400 12px/1 var(--mono); color: var(--muted); }
.gr__n { display: flex; align-items: center; gap: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-right: 10px; }
.gr__n i { width: 8px; height: 8px; border-radius: 2px; flex: none; }
.gr__t { position: relative; height: 100%; }
.gr__t em { position: absolute; top: 4px; transform: translateX(-50%); font-style: normal; font-size: 12px; color: var(--err); }
.gb { position: absolute; top: 9px; height: 12px; border-radius: 3px; background: linear-gradient(90deg, var(--c) var(--p), color-mix(in srgb, var(--c) 30%, #fff) var(--p)); }
.gb--tulekul { background: color-mix(in srgb, var(--c) 30%, #fff); }
.gb--moodas { background: repeating-linear-gradient(135deg, #D5D9DE 0 3px, #fff 3px 7px); }
.gb--seisak { background: repeating-linear-gradient(135deg, var(--c) 0 4px, #fff 4px 8px); box-shadow: 0 0 0 1.5px var(--err); }
.gt { position: absolute; top: 0; bottom: 0; width: 0; border-left: 1.5px solid var(--err); }

/* Joonise avanemine (ainult kui JS lisab .play ja liikumine on lubatud) */
@keyframes wp-draw { from { stroke-dashoffset: 1; fill-opacity: 0; } to { stroke-dashoffset: 0; } }
@keyframes wp-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes wp-pop { from { opacity: 0; transform: translate(-50%, -50%) scale(.9); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
@keyframes wp-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes wp-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.plan.play .z--toos { stroke-dasharray: 1; animation: wp-draw 1s cubic-bezier(.55, 0, .25, 1) var(--d) both; }
.plan.play .z--tulekul { animation: wp-fade .6s ease var(--d) both; }
.plan.play .lbl { animation: wp-pop .35s ease-out var(--d) both; }
.plan.play .lbl__m, .plan.play .elm, .plan.play .pill { animation: wp-fade .5s ease 1.1s both; }
.plan.play .gb { transform-origin: left center; animation: wp-grow .7s cubic-bezier(.4, 0, .2, 1) var(--d) both; }
.plan.play .pcard > * { animation: wp-rise .5s ease-out both; }
.plan.play .pcard > :nth-child(1) { animation-delay: .8s; }
.plan.play .pcard > :nth-child(2), .plan.play .pcard > :nth-child(3) { animation-delay: .9s; }
.plan.play .pcard > :nth-child(4) { animation-delay: 1s; }
.plan.play .pcard > :nth-child(5) { animation-delay: 1.1s; }
.plan.play .pcard__bar i { transform-origin: left center; animation: wp-grow .8s ease-out 1.1s both; }

/* ---------- Võimalused ---------- */
.rows { display: grid; gap: clamp(64px, 8vw, 120px); }
.row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 4vw, 72px); align-items: start; }
.row__txt { position: sticky; top: calc(var(--hdr) + 32px); }
.row__txt p, .step__txt p { margin-top: 14px; color: var(--muted); max-width: 52ch; }
.shot { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.shot img { width: 100%; height: auto; }
.shot--phone { max-width: 300px; border-radius: 26px; }

.more { margin-top: clamp(72px, 8vw, 120px); }
.more__h { margin-bottom: 8px; }
.more ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 0 clamp(24px, 3vw, 48px); }
.more li { padding: 18px 0; border-top: 1px solid var(--line); }
.more b { display: block; font-weight: 500; }
.more span { display: block; margin-top: 4px; color: var(--muted); font-size: 16px; }

/* ---------- Versioonid ---------- */
.vcards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.vcards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.vcard { display: flex; flex-direction: column; padding: 14px 14px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; color: var(--ink); text-decoration: none; transition: box-shadow .2s, transform .2s; }
.vcard:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.vcard__img { border-radius: 10px; overflow: hidden; border: 1px solid var(--line2); margin-bottom: 18px; }
.vcard h3, .vcard p, .vcard__go { padding: 0 6px; }
.vcard p { margin-top: 8px; color: var(--muted); font-size: 16px; flex: 1; }
.vcard__go { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 15px; font-weight: 500; }
.vcard__go .ik { width: 16px; height: 16px; transition: transform .2s; }
.vcard:hover .vcard__go .ik { transform: translateX(3px); }
.sec--tint .vcard { background: var(--surface); }

/* ---------- Videod ---------- */
.vids { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(36px, 4vw, 64px) clamp(20px, 2.4vw, 36px); }
.vid { min-width: 0; }
.vid--big { grid-column: 1 / -1; }
.vid video { width: 100%; height: auto; aspect-ratio: 16 / 9; background: #121418; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.vid__h { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-top: 18px; }
.vid h3, .vid h4 { font-size: clamp(18px, 1.5vw, 21px); font-weight: 500; line-height: 1.25; }
.vid--big h3 { font-size: clamp(21px, 2vw, 28px); }
.vid__t { flex: none; font: 400 14px/1 var(--mono); color: var(--muted); }
.vid p { margin-top: 8px; color: var(--muted); max-width: 62ch; font-size: 16px; }

/* ---------- Sammud (versiooni leht) ---------- */
.steps { list-style: none; padding: 0; display: grid; gap: clamp(56px, 7vw, 104px); }
.step { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 4vw, 72px); align-items: start; }
.step__txt { position: sticky; top: calc(var(--hdr) + 32px); }
.step--txt { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
.step--txt .step__txt { position: static; }
.step__n { display: block; font: 400 13px/1 var(--mono); color: var(--muted); margin-bottom: 14px; }
.step .vid__h { display: none; }
.step .vid p { display: none; }

/* ---------- Hinnad ---------- */
.prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 20px); }
.price { display: flex; flex-direction: column; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.price--hi { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.price h3 { font-size: 18px; }
.price__sum { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin-top: 18px; }
.price__sum b { font-size: clamp(44px, 4.6vw, 64px); font-weight: 500; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.price__sum span { color: var(--muted); font-size: 15px; }
.price__p { margin-top: 14px; color: var(--muted); font-size: 16px; flex: 1; }
.price .btn { margin-top: 26px; }
.incl { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 12px clamp(24px, 3vw, 48px); margin-top: clamp(40px, 5vw, 64px); }
.incl h3 { font-size: 18px; }
.incl ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.incl li { padding: 12px 0; border-top: 1px solid var(--line); font-size: 16px; }
.vat { grid-column: 2; font-size: 14px; color: var(--muted); }

/* ---------- KKK ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px clamp(28px, 4vw, 72px); }
.faq .sec__head { margin: 0; }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; font-size: 18px; font-weight: 500; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 10px; height: 10px; margin-top: 7px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 12px; }
.faq details p { padding: 0 40px 22px 0; color: var(--muted); max-width: 68ch; }

/* ---------- Tellimine ---------- */
.order { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px clamp(28px, 4vw, 72px); align-items: start; }
.order .sec__head { margin: 0; }
.order__alt { margin-top: 18px; }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: clamp(20px, 3vw, 36px); }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.fld { display: grid; gap: 7px; }
.fld > span { font-size: 15px; font-weight: 500; }
.fld em { font-style: normal; font-weight: 400; color: var(--faint); }
.fld--wide { grid-column: 1 / -1; }
.fld input, .fld select, .fld textarea { width: 100%; min-height: 46px; padding: 10px 12px; background: var(--surface); border: 1px solid #D3D8DD; border-radius: 10px; font-size: 16px; }
.fld textarea { resize: vertical; min-height: 112px; }
.fld select { appearance: none; -webkit-appearance: none; padding-right: 36px; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235F6672' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center / 18px; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: 0; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(22, 24, 29, .08); }
.fld [aria-invalid="true"] { border-color: var(--err); }
.hp { position: absolute; left: -9999px; }
.form__end { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 24px; }
.form__note { font-size: 14px; color: var(--muted); }
.status { margin-top: 14px; font-size: 15px; min-height: 1.4em; }
.status.ok { color: var(--ok); }
.status.err { color: var(--err); }

/* ---------- Tekstileht ---------- */
.doc h1 { font-size: clamp(36px, 4.6vw, 60px); line-height: 1.05; letter-spacing: -.035em; }
.doc h2 { font-size: 22px; letter-spacing: -.01em; margin-top: 40px; }
.doc h2 + p { margin-top: 10px; color: var(--muted); }

/* ---------- Jalus ---------- */
.ftr { border-top: 1px solid var(--line); padding: 56px 0 64px; font-size: 15px; }
.ftr__in { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 3fr) minmax(0, 3fr); gap: 32px; }
.ftr__brand p { margin-top: 14px; color: var(--muted); max-width: 44ch; }
.ftr__brand p + p { margin-top: 6px; }
.ftr h2 { font: 400 13px/1 var(--mono); color: var(--muted); margin-bottom: 14px; letter-spacing: 0; }
.ftr nav { display: grid; align-content: start; gap: 10px; }
.ftr nav a { color: var(--ink); text-decoration: none; }
.ftr nav a:hover { text-decoration: underline; }

/* ---------- Kitsamad ekraanid ---------- */
@media (max-width: 1180px) {
  .nav a { padding: 8px 9px; }
  .hdr__in { gap: 16px; }
}
@media (max-width: 1080px) {
  .nav { display: none; }
  .menu-btn { display: inline-block; }
  .plan__body { grid-template-columns: minmax(0, 1fr) 240px; }
  .vcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1000px) {
  .hero__top, .row, .step, .step--txt, .faq, .order, .incl { grid-template-columns: minmax(0, 1fr); }
  .row__txt, .step__txt { position: static; }
  .vat { grid-column: 1; }
  .prices { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
  .vcards--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ftr__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ftr__brand { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  .plan__body { grid-template-columns: minmax(0, 1fr); }
  .pcard { border-left: 0; border-top: 1px solid var(--line2); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 24px; }
  .pcard__h, .pcard__s, .pcard__bar { grid-column: 1; }
  .pcard dl { grid-column: 2; grid-row: 1 / span 4; margin-top: 0; }
  .pcard__f { grid-column: 1 / -1; }
  .plegend { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hdr__end .btn { display: none; }
  .plan__top .ptab:not(.on) { display: none; }
  .plan__stage { padding: 8px; }
  .lbl__m { display: none; }
  .pcard { grid-template-columns: minmax(0, 1fr); }
  .pcard dl { grid-column: 1; grid-row: auto; margin-top: 16px; }
  .gr { grid-template-columns: 44px minmax(96px, 120px) minmax(0, 1fr); }
  .vids, .vcards, .vcards--3, .form__grid, .incl ul { grid-template-columns: minmax(0, 1fr); }
  .switch { gap: 2px 18px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .switch::-webkit-scrollbar { display: none; }
  .switch button { white-space: nowrap; font-size: 15px; }
  .shot--phone { max-width: 240px; }
  .ftr__in { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .plan.play *, .vcard, .btn { animation: none !important; transition: none !important; }
}
