/* Autoringluse näidisleht. Kaasaegne alus nagu MJ Autol ja Quick Printil: Inter, valge taust, üks aktsent
   (logo roheline #009A33; nuppudel tumedam, et valge kiri oleks loetav), ümarad kaardid, pehmed varjud, pill-nupud. */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/inter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --paber: #FFFFFF;
  --pind: #F5F6F4;
  --pind2: #EBEDE9;
  --tint: #121815;
  --teras: #59605B;
  --joon: #D9DCD7;
  --joon2: #EAECE8;
  --logo: #009A33;
  --aktsent: #007A2B;
  --aktsent2: #00651F;
  --aktsent-tekst: #006E26;
  --aktsent-hele: #E9F5EC;
  --f: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --r: 12px;
  --r2: 20px;
  --vari: 0 1px 2px rgb(18 24 21 / .04), 0 12px 32px rgb(18 24 21 / .07);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paber); color: var(--tint); font: 400 17px/1.6 var(--f); overflow-x: clip; -webkit-font-smoothing: antialiased; }
body.lukus { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid rgb(0 122 43 / .45); outline-offset: 2px; }
.sek--tume :focus-visible { outline-color: #8FE0A8; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3 { font-weight: 600; letter-spacing: -.02em; }
h1 { font-size: clamp(36px, 4.4vw, 62px); line-height: 1.04; letter-spacing: -.04em; }
h2 { font-size: clamp(28px, 3.2vw, 46px); line-height: 1.1; letter-spacing: -.035em; }
h3 { font-size: 20px; line-height: 1.25; letter-spacing: -.015em; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { width: min(1280px, 100%); margin-inline: auto; padding-inline: clamp(16px, 3vw, 40px); }
.ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.hyppa { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--tint); color: #fff; padding: 10px 16px; border-radius: var(--r); }
.hyppa:focus { top: 12px; }
.link { padding: 0; background: none; border: 0; color: var(--aktsent-tekst); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.demo { background: var(--tint); color: #CDD2CE; font-size: 13.5px; line-height: 1.4; }
.demo__in { display: flex; flex-wrap: wrap; gap: 4px 18px; justify-content: space-between; padding-block: 8px; }
.demo b { color: #fff; font-weight: 600; }
.demo a { color: #fff; font-weight: 600; white-space: nowrap; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 10px 24px; background: var(--aktsent); color: #fff; border: 1px solid transparent; border-radius: 999px; font: 600 16px/1.15 var(--f); letter-spacing: -.01em; text-decoration: none; text-align: center; transition: background .15s, box-shadow .15s, border-color .15s; -webkit-tap-highlight-color: transparent; }
.btn:hover { background: var(--aktsent2); box-shadow: 0 8px 20px rgb(0 122 43 / .24); }
.btn--joon { background: #fff; color: var(--tint); border-color: var(--joon); }
.btn--joon:hover { background: #fff; border-color: var(--tint); box-shadow: none; }
.btn--tumejoon { background: transparent; color: #fff; border-color: rgb(255 255 255 / .4); }
.btn--tumejoon:hover { background: #fff; color: var(--tint); box-shadow: none; }
.btn--vaike { min-height: 42px; padding: 8px 18px; font-size: 15px; }
.btn--yt { background: var(--tint); }
.btn--yt:hover { background: #000; box-shadow: none; }
.btn--ikoon { padding-inline: 0; width: 50px; flex: none; }
.btn__arv { display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 26px; padding: 0 8px; margin-inline-start: 2px; background: rgb(255 255 255 / .2); border-radius: 999px; font-size: 14px; }
.btn__arv:empty { display: none; }
.nupud { display: flex; flex-wrap: wrap; gap: 10px; }
.keskel { display: flex; justify-content: center; margin-top: 28px; }

/* päis */
.pais { position: sticky; top: 0; z-index: 30; background: rgb(255 255 255 / .9); backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--joon2); }
.pais__in { display: flex; align-items: center; gap: clamp(10px, 1.6vw, 26px); min-height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; flex: none; text-decoration: none; }
.logo img { width: 40px; height: 40px; border-radius: 50%; }
.logo b { font-size: 18px; font-weight: 650; letter-spacing: -.025em; white-space: nowrap; }
.menyy { display: flex; gap: clamp(12px, 1.7vw, 26px); margin-inline-start: auto; }
.menyy a { font-weight: 500; font-size: 15px; color: var(--teras); text-decoration: none; white-space: nowrap; padding: 6px 0; transition: color .15s; }
.menyy a:hover { color: var(--tint); }
.pais__cta { flex: none; }
.burger { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; background: var(--pind); border: 0; border-radius: 50%; flex: none; }

/* avavaade */
.kate { padding-block: clamp(28px, 4vw, 56px) clamp(8px, 1.5vw, 20px); }
.kate__in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.rida { font: 500 15px/1.4 var(--f); margin-bottom: 16px; color: var(--aktsent-tekst); }
.kate__lead { max-width: 540px; margin: 22px 0 30px; font-size: clamp(18px, 1.4vw, 20px); line-height: 1.5; color: var(--teras); }
.faktid { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.faktid > div { display: flex; flex-direction: column; flex: 1 1 150px; min-width: 0; padding: 14px 18px; background: var(--pind); border-radius: 16px; }
.faktid dd { font: 650 26px/1.05 var(--f); letter-spacing: -.03em; }
.faktid dt { order: 2; margin-top: 5px; font-size: 14px; line-height: 1.3; color: var(--teras); }
.kate__foto { position: relative; border-radius: 28px; overflow: hidden; background: var(--pind); aspect-ratio: 4 / 3.3; }
.kate__foto > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.uusvideo { position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; align-items: center; gap: 14px; padding: 10px 18px 10px 10px; background: rgb(255 255 255 / .94); backdrop-filter: blur(14px); border: 0; border-radius: 18px; text-align: left; box-shadow: 0 10px 30px rgb(0 0 0 / .18); transition: transform .15s; -webkit-tap-highlight-color: transparent; }
.uusvideo:hover { transform: translateY(-2px); }
.uusvideo__pilt { position: relative; flex: none; width: 128px; border-radius: 10px; overflow: hidden; background: #000; }
.uusvideo__pilt img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.uusvideo__pilt i { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgb(0 0 0 / .18); }
.uusvideo__pilt .ico { width: 28px; height: 28px; fill: #fff; stroke: none; filter: drop-shadow(0 1px 3px rgb(0 0 0 / .5)); }
.uusvideo__tekst { min-width: 0; }
.uusvideo small { display: block; font-size: 13.5px; font-weight: 500; color: var(--aktsent-tekst); }
.uusvideo b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 16px; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; }

/* sektsioonid */
.sek { padding-block: clamp(64px, 8vw, 108px); }
.sek--tint { background: var(--pind); }
.sek--tume { background: var(--tint); color: #E6EAE7; color-scheme: dark; }
.pk { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 40px; margin-bottom: 28px; }
.pk > div:first-child { max-width: 720px; }
.pk__all { margin-top: 12px; color: var(--teras); max-width: 640px; }

.kiibid { display: flex; flex-wrap: wrap; gap: 8px; }
.kiip { min-height: 42px; padding: 8px 16px; background: #fff; border: 1px solid var(--joon); border-radius: 999px; font-weight: 500; font-size: 15px; line-height: 1.25; text-align: left; white-space: nowrap; transition: background .15s, border-color .15s; -webkit-tap-highlight-color: transparent; }
.kiip:hover { border-color: var(--tint); }
.kiip[aria-pressed="true"], .kiip[aria-checked="true"] { background: var(--tint); border-color: var(--tint); color: #fff; }
.kiip small { margin-inline-start: 6px; font-size: 13px; opacity: .65; }

/* autod */
.filtrid { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.sort select { min-height: 42px; padding: 8px 36px 8px 16px; background: #fff; border: 1px solid var(--joon); border-radius: 999px; font-size: 15px; font-weight: 500; }
.autod { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.auto { position: relative; display: flex; flex-direction: column; min-width: 0; background: #fff; border: 1px solid var(--joon2); border-radius: var(--r2); overflow: hidden; text-align: left; padding: 0; transition: box-shadow .2s, transform .2s, border-color .2s; -webkit-tap-highlight-color: transparent; }
.auto:hover { box-shadow: var(--vari); transform: translateY(-3px); border-color: transparent; }
.auto__foto { position: relative; background: var(--pind); }
.auto__foto img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.auto__margid { position: absolute; left: 12px; top: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.auto__mark { display: inline-flex; align-items: center; gap: 5px; padding: 5px 11px; background: rgb(255 255 255 / .94); border-radius: 999px; font-size: 13px; font-weight: 600; line-height: 1.2; }
.auto__mark .ico { width: 13px; height: 13px; fill: var(--aktsent); stroke: none; }
.auto__sisu { display: flex; flex-direction: column; gap: 4px; flex: 1; padding: 18px 20px 20px; }
.auto__nimi { font-size: 21px; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
.auto__alam { color: var(--teras); font-size: 15.5px; }
.auto__spec { margin-top: 2px; font-size: 14.5px; color: var(--teras); }
.auto__all { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; }
.auto__hind { font-size: 26px; font-weight: 650; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.auto__kuu { font-size: 14px; color: var(--teras); text-align: right; line-height: 1.3; }
.auto__kuu b { color: var(--tint); font-weight: 600; }
.auto--kanal { justify-content: center; gap: 14px; padding: 28px; background: var(--tint); color: #fff; border-color: var(--tint); }
.auto--kanal img { width: 56px; height: 56px; border-radius: 50%; }
.auto--kanal h3 { font-size: 22px; }
.auto--kanal p { color: #C6CCC8; font-size: 15.5px; }
.auto--kanal .btn { align-self: flex-start; }
.tyhi { padding: 40px 0; color: var(--teras); text-align: center; }

/* videod */
.kanal { display: flex; align-items: center; gap: 14px; padding: 10px 10px 10px 12px; background: #fff; border: 1px solid var(--joon2); border-radius: 999px; text-decoration: none; transition: border-color .15s; }
.kanal:hover { border-color: var(--tint); }
.kanal > img { width: 48px; height: 48px; border-radius: 50%; }
.kanal b { display: block; font-weight: 600; line-height: 1.2; }
.kanal small { display: block; font-size: 14px; color: var(--teras); line-height: 1.3; }
.kiibid--rida { margin-bottom: 18px; }
.video__selgitus { max-width: 760px; margin: -4px 0 20px; padding: 14px 18px; background: #fff; border-radius: var(--r); font-size: 15.5px; line-height: 1.5; color: var(--teras); }
.video__selgitus b { color: var(--tint); font-weight: 600; }
.videod { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 18px; }
.vid { display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 0; background: none; border: 0; text-align: left; -webkit-tap-highlight-color: transparent; }
.vid__pilt { position: relative; border-radius: 16px; overflow: hidden; background: #DADDD9; }
.vid__pilt img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .3s; }
.vid:hover .vid__pilt img { transform: scale(1.03); }
.vid__kestus { position: absolute; right: 8px; bottom: 8px; padding: 2px 7px; background: rgb(0 0 0 / .78); color: #fff; border-radius: 6px; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.vid__mang { position: absolute; left: 50%; top: 50%; display: flex; align-items: center; justify-content: center; width: 58px; height: 58px; margin: -29px 0 0 -29px; background: rgb(255 255 255 / .92); border-radius: 50%; opacity: 0; transform: scale(.9); transition: opacity .2s, transform .2s; }
.vid__mang .ico { width: 24px; height: 24px; margin-left: 3px; fill: var(--tint); stroke: none; }
.vid:hover .vid__mang, .vid:focus-visible .vid__mang { opacity: 1; transform: none; }
.vid__osa { position: absolute; left: 8px; top: 8px; padding: 3px 9px; background: rgb(255 255 255 / .94); border-radius: 999px; font-size: 13px; font-weight: 600; }
.vid__nimi { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-weight: 600; font-size: 16.5px; line-height: 1.32; letter-spacing: -.01em; }
.vid__meta { margin-top: -6px; font-size: 14px; color: var(--teras); }
.vid__meta a { color: var(--aktsent-tekst); font-weight: 600; text-decoration: none; }
.vid--suur { grid-column: span 2; grid-row: span 2; }
.vid--suur .vid__nimi { font-size: clamp(19px, 1.8vw, 24px); }
.vid--suur .vid__mang { opacity: 1; transform: none; width: 72px; height: 72px; margin: -36px 0 0 -36px; }
.vid--suur .vid__mang .ico { width: 30px; height: 30px; }

/* müü oma auto */
.vrd { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr) minmax(0, 1fr); gap: 14px; align-items: stretch; }
.vrd__sisend { display: flex; flex-direction: column; gap: 12px; padding: clamp(20px, 2.4vw, 30px); background: var(--pind); border-radius: var(--r2); }
.vrd__sisend > label:first-child { font-weight: 500; font-size: 15px; }
.eur { display: flex; align-items: center; gap: 8px; padding: 0 18px; min-height: 64px; background: #fff; border: 1px solid var(--joon); border-radius: 16px; }
.eur:focus-within { border-color: var(--tint); }
.eur input { flex: 1; min-width: 0; padding: 0; background: none; border: 0; outline: none; font-size: 30px; font-weight: 650; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.eur span { font-size: 24px; font-weight: 600; color: var(--teras); }
input[type="range"] { width: 100%; accent-color: var(--aktsent); }
.mark { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 15.5px; cursor: pointer; }
.mark input { width: 20px; height: 20px; margin: 0; accent-color: var(--aktsent); }
.vrd__kaart { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: clamp(20px, 2.4vw, 30px); background: #fff; border: 1px solid var(--joon2); border-radius: var(--r2); }
.vrd__kaart--a { border-color: var(--aktsent); box-shadow: inset 0 0 0 1px var(--aktsent); }
.vrd__silt { font-size: 15px; font-weight: 600; color: var(--aktsent-tekst); }
.vrd__nr { font: 650 clamp(34px, 3.4vw, 46px)/1.05 var(--f); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.vrd__sel { font-size: 15px; line-height: 1.45; color: var(--teras); min-height: 2.9em; }
.vrd__plus { display: grid; gap: 8px; margin: 10px 0 18px; padding-top: 14px; border-top: 1px solid var(--joon2); font-size: 15.5px; line-height: 1.4; }
.vrd__plus li { position: relative; padding-left: 22px; }
.vrd__plus li::before { content: ''; position: absolute; left: 2px; top: .5em; width: 8px; height: 8px; border-radius: 50%; background: var(--logo); }
.vrd__plus b { font-weight: 600; }
.vrd__kaart .btn { margin-top: auto; align-self: flex-start; }

.muu2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 14px; align-items: start; }
.pakett { background: var(--pind); border-radius: var(--r2); }
.pakett summary { display: flex; flex-direction: column; gap: 2px; padding: 18px 56px 18px 22px; cursor: pointer; list-style: none; position: relative; }
.pakett summary::-webkit-details-marker { display: none; }
.pakett summary::after { content: ''; position: absolute; right: 24px; top: 50%; width: 10px; height: 10px; margin-top: -7px; border-right: 2px solid var(--tint); border-bottom: 2px solid var(--tint); transform: rotate(45deg); transition: transform .2s; }
.pakett[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.pakett summary span { font-weight: 600; font-size: 17px; }
.pakett summary small { font-size: 14.5px; color: var(--teras); }
.pakett ol { counter-reset: p; display: grid; gap: 10px; padding: 4px 22px 22px; font-size: 15.5px; line-height: 1.45; }
.pakett ol li { counter-increment: p; position: relative; padding-left: 32px; }
.pakett ol li::before { content: counter(p); position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: #fff; font-size: 12.5px; font-weight: 600; line-height: 22px; text-align: center; }
.pakett .hk { padding: 0 22px; }
.hk__vahe { padding: 16px 22px 4px; font-size: 14.5px; font-weight: 500; color: var(--teras); }
.pakett .hk:last-child { padding-bottom: 14px; }
.hk > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 18px; padding: 11px 0; border-bottom: 1px solid var(--joon2); font-size: 15.5px; line-height: 1.4; }
.pakett .hk > div { border-color: var(--pind2); }
.hk > div:last-child { border-bottom: 0; }
.hk dd { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }

.paring { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; margin-top: clamp(40px, 5vw, 64px); }
.paring__vorm h3 { margin-bottom: 14px; font-size: 24px; }
.paring__vorm > .kiibid { margin-bottom: 18px; }
.vormi2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
.vali { margin-bottom: 14px; min-width: 0; }
.vali label { display: block; font-size: 15px; font-weight: 500; margin-bottom: 6px; }
.vali input, .vali select, .vali textarea { width: 100%; min-height: 50px; padding: 10px 14px; background: #fff; border: 1px solid var(--joon); border-radius: var(--r); }
.vali textarea { display: block; min-height: 84px; resize: vertical; }
.vali input:focus, .vali select:focus, .vali textarea:focus { border-color: var(--tint); outline: none; }
.vali--vaike { margin-bottom: 10px; }
.vali--vaike label { font-size: 14px; margin-bottom: 4px; }
.vali--vaike input, .vali--vaike select, .vali--vaike textarea { min-height: 46px; padding: 8px 12px; font-size: 16px; }
.markus { padding: 14px 18px; background: var(--pind); border-radius: var(--r); font-size: 15px; line-height: 1.5; color: var(--teras); }
.markus b { color: var(--tint); font-weight: 600; }

.kiri { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: clamp(18px, 2.4vw, 28px); background: #fff; border: 1px solid var(--joon2); border-radius: var(--r2); box-shadow: var(--vari); }
.kiri__kellele { font-size: 15px; color: var(--teras); overflow-wrap: anywhere; }
.kiri__kellele b { color: var(--tint); font-weight: 600; }
.kiri__tekst { margin: 0; padding: 16px 18px; min-height: 200px; background: var(--pind); border-radius: var(--r); font: 400 15.5px/1.55 var(--f); white-space: pre-wrap; overflow-wrap: anywhere; }
.kiri__lisa { font-size: 14.5px; color: var(--teras); }
.kiri--vaike { position: static; padding: 0; border: 0; box-shadow: none; background: none; gap: 10px; }
.kiri--vaike .kiri__tekst { min-height: 0; padding: 12px 14px; font-size: 14.5px; }
.kiri--vaike .nupud { flex-wrap: nowrap; gap: 8px; }
.kiri--vaike .btn { flex: 1 1 auto; padding-inline: 14px; }
.kiri--vaike .btn--ikoon { flex: none; }

/* järelmaks */
.jm { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.linnud { display: grid; gap: 10px; margin-top: 26px; }
.linnud li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.linnud .ico { width: 28px; height: 28px; padding: 6px; background: #fff; border-radius: 50%; color: var(--aktsent); stroke-width: 2.4; }
.tu { display: flex; flex-direction: column; min-width: 0; padding: clamp(20px, 2.6vw, 32px); background: #fff; border-radius: var(--r2); box-shadow: var(--vari); }
.tu__silt { font-size: 15px; font-weight: 500; color: var(--teras); margin-bottom: 8px; }
.tu .kiibid { margin-bottom: 20px; }
.tu .kiip { min-width: 56px; text-align: center; }
.tu__tulem { padding-top: 18px; border-top: 1px solid var(--joon2); }
.tu__nr { font: 650 clamp(40px, 4.6vw, 56px)/1.05 var(--f); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.tu__nr small { font-size: .42em; font-weight: 600; letter-spacing: -.01em; color: var(--teras); }
.tu__all { margin-top: 6px; font-size: 15px; color: var(--teras); min-height: 1.5em; }
.tu__all b { color: #9A3B12; font-weight: 600; }
.tu__peen { margin-top: 14px; font-size: 13.5px; line-height: 1.45; color: var(--teras); }

/* remont */
.rem { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.rem__foto { border-radius: var(--r2); overflow: hidden; background: var(--pind); }
.rem__foto img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; }
.hk--remont { margin: 22px 0 18px; }
.hk__esile { margin: 6px -14px; padding: 12px 14px !important; background: var(--aktsent-hele); border-radius: var(--r); border: 0 !important; }
.hk__esile dt { font-weight: 600; }
.rem__kontakt { display: grid; gap: 4px; margin-bottom: 22px; color: var(--teras); }
.rem__kontakt p { display: flex; align-items: center; gap: 8px; }
.rem__kontakt b { color: var(--tint); font-weight: 600; }
.rem__kontakt a { color: var(--tint); font-weight: 600; text-decoration: none; }

/* meist */
.meist { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.meist__foto { border-radius: var(--r2); overflow: hidden; background: #E9E6E1; }
.meist__foto img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; object-position: 50% 55%; }
.rida--tume { color: var(--aktsent-tekst); }
.meist blockquote { margin: 24px 0; padding-left: 20px; border-left: 3px solid var(--logo); }
.meist blockquote p { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.45; letter-spacing: -.01em; }
.meist blockquote footer { margin-top: 10px; font-size: 15px; font-weight: 600; }
.meist__tekst > p { color: var(--teras); }
.meist__tekst > p + p { margin-top: 14px; }
.sammud__h { margin: clamp(48px, 6vw, 72px) 0 18px; }
.sammud { counter-reset: s; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.sammud li { counter-increment: s; display: flex; flex-direction: column; gap: 6px; padding: 20px; background: #fff; border-radius: var(--r2); }
.sammud li::before { content: counter(s); display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; margin-bottom: 6px; background: var(--aktsent-hele); color: var(--aktsent-tekst); border-radius: 50%; font-weight: 650; font-size: 15px; }
.sammud b { font-weight: 600; line-height: 1.3; }
.sammud span { font-size: 15px; line-height: 1.45; color: var(--teras); }
.sammud__all { max-width: 820px; margin-top: 18px; font-size: 15.5px; color: var(--teras); }

/* kontakt */
.kontakt { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.kontakt__lead { margin: 16px 0 26px; color: #C2C9C4; max-width: 520px; }
.sots { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 22px; }
.sots a { display: inline-flex; align-items: center; gap: 8px; color: #E6EAE7; font-weight: 500; text-decoration: none; }
.sots a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.rekv { display: grid; gap: 2px; padding: 8px 22px; background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .1); border-radius: var(--r2); }
.rekv div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 18px; padding: 11px 0; border-bottom: 1px solid rgb(255 255 255 / .08); }
.rekv div:last-child { border-bottom: 0; }
.rekv dt { color: #A7AFA9; font-size: 15px; }
.rekv dd { font-weight: 500; font-variant-numeric: tabular-nums; }
.talv { margin-top: 26px; font-size: 15px; color: #A7AFA9; }

.jalus { background: var(--tint); color: #A7AFA9; border-top: 1px solid #262D29; padding-block: 22px; font-size: 14.5px; }
.jalus__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 26px; }
.jalus a { color: #D7DDD9; text-decoration: none; }
.jalus a:hover { text-decoration: underline; }
.mob { display: none; }

/* auto vaade (dialog üle kogu ekraani) */
.ad { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #fff; color: var(--tint); overflow: hidden; }
.ad[open] { display: flex; flex-direction: column; }
.ad::backdrop { background: rgb(0 0 0 / .4); }
.ad__riba { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex: none; min-height: 64px; padding: 10px clamp(12px, 3vw, 40px); border-bottom: 1px solid var(--joon2); }
.ad__tagasi { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 16px 8px 10px; background: var(--pind); border: 0; border-radius: 999px; font-weight: 500; font-size: 15px; }
.ad__riba-nupud { display: flex; gap: 8px; }
.ad__nupp { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; min-width: 44px; padding: 8px 14px; background: var(--pind); border: 0; border-radius: 999px; font-weight: 500; font-size: 15px; }
.ad__nupp:hover, .ad__tagasi:hover { background: var(--pind2); }
.ad__x { padding: 0; }
.ad__keri { flex: 1; overflow-y: auto; overscroll-behavior: contain; }
.ad__sisu { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(340px, 1fr); gap: clamp(24px, 3.4vw, 48px); align-items: start; padding-block: clamp(16px, 2.4vw, 32px) 64px; }
.gal { position: relative; border-radius: var(--r2); overflow: hidden; background: var(--pind); user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; }
.gal img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gal__nool { position: absolute; top: 50%; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-top: -24px; background: rgb(255 255 255 / .94); border: 0; border-radius: 50%; box-shadow: 0 2px 10px rgb(0 0 0 / .15); user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; }
.gal__nool .ico { width: 22px; height: 22px; }
.gal__nool--v { left: 14px; }
.gal__nool--p { right: 14px; }
.gal > img { cursor: zoom-in; -webkit-user-drag: none; }
.gal__suur { position: absolute; right: 14px; top: 14px; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: rgb(255 255 255 / .94); border: 0; border-radius: 50%; box-shadow: 0 2px 10px rgb(0 0 0 / .15); -webkit-tap-highlight-color: transparent; }
.gal__suur:hover, .gal__nool:hover { background: #fff; }
.gal__nr { position: absolute; right: 14px; bottom: 14px; padding: 4px 11px; background: rgb(0 0 0 / .62); color: #fff; border-radius: 999px; font-size: 13.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
.gal__pisi { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.gal__pisi button { padding: 0; background: var(--pind); border: 2px solid transparent; border-radius: 12px; overflow: hidden; -webkit-tap-highlight-color: transparent; user-select: none; }
.gal__pisi button[aria-current="true"] { border-color: var(--tint); }
.gal__pisi img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gal__pisi .gal__pisi-vid { position: relative; display: flex; align-items: center; justify-content: center; }
.gal__pisi-vid span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 6px; background: rgb(0 0 0 / .45); color: #fff; font-size: 14px; font-weight: 600; }
.gal__pisi-vid .ico { width: 16px; height: 16px; fill: #fff; stroke: none; }
.ad__plokk { margin-top: 36px; }
.ad__plokk h3 { margin-bottom: 14px; }
.ad__video { position: relative; border-radius: var(--r2); overflow: hidden; background: #000; aspect-ratio: 16 / 9; }
.ad__video button { position: absolute; inset: 0; width: 100%; padding: 0; border: 0; background: #000; }
.ad__video button img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.ad__video button > span { position: absolute; left: 50%; top: 50%; display: flex; align-items: center; justify-content: center; width: 76px; height: 76px; margin: -38px 0 0 -38px; background: rgb(255 255 255 / .94); border-radius: 50%; }
.ad__video button .ico { width: 30px; height: 30px; margin-left: 4px; fill: var(--tint); stroke: none; }
.ad__video iframe, .vd__raam iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ad__video-nimi { margin-top: 10px; font-size: 15px; color: var(--teras); }
.ad__tekst p { color: #333A35; }
.ad__tekst p + p { margin-top: 12px; }
.varustus { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 18px; margin-top: 18px; }
.varustus:empty { display: none; }
.varustus li { display: flex; align-items: flex-start; gap: 8px; font-size: 15.5px; line-height: 1.4; }
.varustus .ico { margin-top: 2px; color: var(--aktsent); stroke-width: 2.4; }

.ad__parem { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.ad__kaart { padding: clamp(18px, 2.2vw, 26px); background: #fff; border: 1px solid var(--joon2); border-radius: var(--r2); box-shadow: var(--vari); }
.ad__silt { font-size: 14px; color: var(--teras); }
.ad__kaart h2 { margin-top: 4px; font-size: clamp(28px, 2.6vw, 36px); }
.ad__alam { margin-top: 2px; color: var(--teras); }
.ad__hind { margin-top: 12px; font: 650 clamp(36px, 3.4vw, 46px)/1 var(--f); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.ad__spec { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 18px 0; }
.ad__spec > div { display: flex; flex-direction: column; min-width: 0; padding: 10px 12px; background: var(--pind); border-radius: var(--r); }
.ad__spec dt { order: 2; font-size: 13px; color: var(--teras); }
.ad__spec dd { font-weight: 600; font-size: 15.5px; line-height: 1.3; overflow-wrap: anywhere; }
.ad__viis { margin-bottom: 4px; }
.ad__viis .kiip { flex: 1 1 0; text-align: center; padding-inline: 10px; }
.arv { margin-top: 8px; }
.arv li { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--joon2); font-size: 15.5px; line-height: 1.35; }
.arv li span small { display: block; font-size: 13.5px; color: var(--teras); }
.arv b { flex: none; font-weight: 600; font-variant-numeric: tabular-nums; }
.arv i { flex: none; font-style: normal; color: var(--aktsent-tekst); font-weight: 500; }
.arv .arv__kokku { border-bottom: 0; padding-top: 12px; font-size: 17px; }
.arv .arv__kokku b { font-size: 20px; }
.ad__jm { margin-top: 12px; padding: 14px 16px 6px; background: var(--pind); border-radius: 16px; }
.ad__jm-rida { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 10px; font-weight: 500; }
.ad__jm-rida b { font-size: 22px; font-weight: 650; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.ad__jm .vali input, .ad__jm .vali select { background: #fff; }
.ad__jm-all { margin: -2px 0 8px; font-size: 13.5px; line-height: 1.4; color: var(--teras); }
.ad__jm-all b { color: #9A3B12; font-weight: 600; }
.ad__paring { padding: clamp(18px, 2.2vw, 26px); background: var(--pind); border-radius: var(--r2); }
.ad__paring h3 { margin-bottom: 12px; }
.ad__paring .vali input, .ad__paring .vali select, .ad__paring .vali textarea { background: #fff; }
.ad__paring .kiri__tekst { background: #fff; }
.ad__paev-markus { margin: -2px 0 10px; font-size: 14px; color: #9A3B12; }

/* pildivaade üle kogu ekraani; valimine keelatud, et pilt kiirel klõpsimisel siniseks ei läheks */
.pv { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #0C100E; color: #fff; overflow: hidden; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; }
.pv[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.pv::backdrop { background: #0C100E; }
.pv__riba { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: max(10px, env(safe-area-inset-top)) clamp(10px, 2vw, 24px) 10px; }
.pv__nimi { min-width: 0; font-size: 15px; color: #AEB6B1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv__nimi b { margin-right: 10px; color: #fff; font-weight: 600; }
.pv__nupud { display: flex; gap: 8px; flex: none; }
.pv__nupp { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; background: rgb(255 255 255 / .12); color: #fff; border: 0; border-radius: 50%; }
.pv__nupp:hover { background: rgb(255 255 255 / .24); }
.pv__nupp .ico { width: 20px; height: 20px; }
.pv__lava { position: relative; display: flex; min-height: 0; overflow: hidden; touch-action: pan-y pinch-zoom; }
.pv__lava img { width: 100%; height: 100%; min-width: 0; min-height: 0; object-fit: contain; cursor: zoom-in; -webkit-user-drag: none; }
.pv.suum .pv__lava { overflow: auto; touch-action: auto; overscroll-behavior: contain; scrollbar-width: none; }
.pv.suum .pv__lava::-webkit-scrollbar { display: none; }
.pv.suum .pv__lava img { flex: none; max-width: none; max-height: none; margin: auto; object-fit: fill; cursor: grab; }
.pv.lohista .pv__lava img { cursor: grabbing; }
.pv__nool { position: absolute; top: 50%; z-index: 2; display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; margin-top: -26px; padding: 0; background: rgb(0 0 0 / .5); color: #fff; border: 1px solid rgb(255 255 255 / .18); border-radius: 50%; -webkit-tap-highlight-color: transparent; }
.pv__nool:hover { background: rgb(0 0 0 / .72); }
.pv__nool .ico { width: 24px; height: 24px; }
.pv__nool--v { left: clamp(8px, 2vw, 24px); }
.pv__nool--p { right: clamp(8px, 2vw, 24px); }
.pv__pisi { display: flex; justify-content: center; gap: 8px; padding: 10px 12px max(12px, env(safe-area-inset-bottom)); }
.pv__pisi button { width: 76px; padding: 0; background: #1E2420; border: 2px solid transparent; border-radius: 10px; overflow: hidden; opacity: .55; transition: opacity .15s; -webkit-tap-highlight-color: transparent; }
.pv__pisi button:hover { opacity: .85; }
.pv__pisi button[aria-current="true"] { border-color: #fff; opacity: 1; }
.pv__pisi img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* video aken */
.vd { width: min(1100px, calc(100vw - 24px)); max-width: none; max-height: calc(100dvh - 24px); margin: auto; padding: 0; border: 0; border-radius: var(--r2); background: #000; color: #fff; overflow: hidden; }
.vd::backdrop { background: rgb(0 0 0 / .78); }
.vd__riba { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 18px; }
.vd__riba p { min-width: 0; font-weight: 600; font-size: 16px; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vd .ad__x { background: rgb(255 255 255 / .12); color: #fff; }
.vd .ad__x:hover { background: rgb(255 255 255 / .22); }
.vd__raam { position: relative; aspect-ratio: 16 / 9; max-height: calc(100dvh - 140px); background: #000; }
.vd__all { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; padding: 8px 10px 8px 18px; font-size: 15px; }
.vd__all a { color: #C9D0CB; }

.teade { position: fixed; left: 50%; bottom: 24px; z-index: 100; padding: 12px 20px; background: var(--tint); color: #fff; border-radius: 999px; font-size: 15px; font-weight: 500; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.teade.on { opacity: 1; transform: translate(-50%, 0); }
dialog .teade { z-index: 2; }

@media (max-width: 1180px) {
  .menyy { gap: 16px; }
  .menyy a { font-size: 14.5px; }
  .vrd { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vrd__sisend { grid-column: 1 / -1; }
  .sammud { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1040px) {
  .burger { display: flex; }
  .pais__cta { margin-inline-start: auto; }
  .menyy { position: absolute; left: 0; right: 0; top: 100%; display: none; flex-direction: column; gap: 0; margin: 0; padding: 8px clamp(16px, 3vw, 40px) 18px; background: #fff; border-bottom: 1px solid var(--joon2); box-shadow: 0 16px 30px rgb(0 0 0 / .08); }
  .menyy.on { display: flex; }
  .menyy a { padding: 13px 0; font-size: 17px; color: var(--tint); border-bottom: 1px solid var(--joon2); }
  .menyy a:last-child { border-bottom: 0; }
  .kate__in { grid-template-columns: minmax(0, 1fr); }
  .kate__foto { aspect-ratio: 4 / 3; }
  .autod, .videod { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vid--suur { grid-row: auto; }
  .jm, .rem, .meist, .kontakt, .paring { grid-template-columns: minmax(0, 1fr); }
  .kiri { position: static; }
  .rem__foto img { aspect-ratio: 16 / 9; }
  .meist__foto { max-width: 420px; }
  /* telefonis ja tahvlis: galerii → nimi ja hind → video → kirjeldus → päring */
  .ad__sisu { display: flex; flex-direction: column; gap: 0; }
  .ad__vasak, .ad__parem { display: contents; }
  .gal { order: 1; }
  .gal__pisi { order: 2; }
  .ad__kaart { order: 3; margin-top: 18px; }
  #adVideoPlokk { order: 4; }
  .ad__plokk--kirj { order: 5; }
  .ad__paring { order: 6; margin-top: 36px; }
}

@media (max-width: 720px) {
  body { font-size: 16.5px; }
  .pais__cta { display: none; }
  .burger { margin-inline-start: auto; }
  .faktid > div { flex: 1 1 100%; flex-direction: row; align-items: baseline; gap: 12px; padding: 12px 16px; }
  .faktid dd { font-size: 22px; min-width: 64px; }
  .faktid dt { order: 0; margin: 0; }
  .faktid dd { order: -1; }
  .uusvideo { left: 10px; right: 10px; bottom: 10px; gap: 10px; padding: 8px 12px 8px 8px; }
  .uusvideo__pilt { width: 92px; }
  .uusvideo b { font-size: 14.5px; }
  .autod, .videod, .muu2, .vrd { grid-template-columns: minmax(0, 1fr); }
  .vormi2 { gap: 0 10px; }
  .vid--suur { grid-column: auto; }
  .filtrid { width: 100%; }
  .kiibid--rida, #autoFilter { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * clamp(16px, 3vw, 40px)); padding-inline: clamp(16px, 3vw, 40px); scrollbar-width: none; }
  .kiibid--rida::-webkit-scrollbar, #autoFilter::-webkit-scrollbar { display: none; }
  .kanal { width: 100%; border-radius: 20px; }
  .kanal .btn { margin-inline-start: auto; }
  .sammud { grid-template-columns: minmax(0, 1fr); }
  .varustus { grid-template-columns: minmax(0, 1fr); }
  .ad__spec { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ad__riba-nupud #adLink span { display: none; }
  .gal { border-radius: 0; margin-inline: calc(-1 * clamp(16px, 3vw, 40px)); }
  .gal__pisi { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .vd { width: 100vw; max-height: 100dvh; border-radius: 0; }
  .pv__nool { width: 44px; height: 44px; margin-top: -22px; }
  .pv__pisi button { width: 64px; }
  .mob { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; display: flex; gap: 8px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgb(255 255 255 / .94); backdrop-filter: blur(14px); border-top: 1px solid var(--joon2); }
  .mob .btn { flex: 1; min-height: 46px; }
  .jalus { padding-bottom: 92px; }
  .teade { bottom: 84px; }
}

@media (max-width: 359px) {
  .vormi2 { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 380px) {
  .logo b { font-size: 16.5px; }
  .kiri--vaike .nupud { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
