/* ==========================================================================
   Korstnameistrid — style.css
   Ainus stiilifail. Värvid on defineeritud :root plokis (rida ~40) —
   kui soovid värve muuta, muuda ainult seal.
   ========================================================================== */

/* --- 1. Kirjatüüp: Barlow Semi Condensed, majutatud meie enda serveris ----- */
/*     (Google'i serveritest ei laadita kunagi midagi — see on privaatsuse
        nõue. Failid asuvad kaustas assets/fonts/.)                           */

@font-face {
  font-family: 'Barlow Semi Condensed';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/barlow-semicondensed-500-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;
}
@font-face {
  font-family: 'Barlow Semi Condensed';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/barlow-semicondensed-500-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: 'Barlow Semi Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/barlow-semicondensed-700-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;
}
@font-face {
  font-family: 'Barlow Semi Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/barlow-semicondensed-700-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;
}

/* --- 2. Värvid ja mõõdud -------------------------------------------------- */

:root {
  --tahm:        #1F2328;   /* Soot Charcoal — põhitekst ja pealkirjad      */
  --tellis:      #B23A1E;   /* Brick Red — nupud, lingid, rõhuasetus        */
  --tellis-tume: #8E2D16;   /* Fired Brick — hiirega peal, fookus           */
  --vuuk:        #F2F3F4;   /* Mortar Grey — vahelduvad sektsioonid         */
  --suits:       #5A6169;   /* Smoke Grey — teisejärguline tekst            */
  --korsten:     #16191D;   /* Flue Dark — jalus                            */
  --joon:        #DDE0E3;   /* õhuke piirjoon                               */
  --valge:       #FFFFFF;
  --viga:        #A02017;   /* veateadete punane                            */

  --laius: 1120px;          /* sisu maksimaalne laius                       */
  --serv: 4px;              /* nurkade ümardus — teadlikult väike           */
  --riba: 58px;             /* telefoni alumise riba kõrgus                 */
  --banner-h: 0px;          /* küpsiseteate kõrgus, mõõdab main.js          */
}

/* Telliskivimuster (running bond). Kasutame seda vaid üksikutes kohtades. */
.telliserida {
  height: 24px;
  background-repeat: repeat-x;
  background-position: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='24'%3E%3Cg stroke='%23DDE0E3' stroke-width='2' fill='none'%3E%3Cpath d='M0 1h64M0 12h64M0 23h64'/%3E%3Cpath d='M16 1v11M48 1v11M0 12v11M32 12v11M64 12v11'/%3E%3C/g%3E%3C/svg%3E");
}
.telliserida--vuugil {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='24'%3E%3Cg stroke='%23FFFFFF' stroke-width='2' fill='none'%3E%3Cpath d='M0 1h64M0 12h64M0 23h64'/%3E%3Cpath d='M16 1v11M48 1v11M0 12v11M32 12v11M64 12v11'/%3E%3C/g%3E%3C/svg%3E");
}

/* --- 3. Lähtestus ja põhistiilid ------------------------------------------ */

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

/* hidden-atribuut peab alati võitma (nt display:grid elementidel) */
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;          /* et ankrulingid ei jääks päise alla */
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--valge);
  color: var(--tahm);
  font-family: 'Barlow Semi Condensed', system-ui, -apple-system, 'Segoe UI', Roboto, 'Arial Narrow', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.0625rem;              /* 17px */
  line-height: 1.65;
  overflow-wrap: break-word;
  padding-bottom: calc(var(--riba) + var(--banner-h));
}

img, svg, video { max-width: 100%; height: auto; display: block; }
img { background: var(--vuuk); }

h1, h2, h3, h4 { margin: 0 0 .5em; font-weight: 700; line-height: 1.15; letter-spacing: -.005em; }
h1 { font-size: clamp(2rem, 1.35rem + 3.1vw, 3.25rem); line-height: 1.08; }
h2 { font-size: clamp(1.5rem, 1.22rem + 1.35vw, 2.125rem); }
h3 { font-size: clamp(1.1875rem, 1.12rem + .35vw, 1.375rem); }
p, ul, ol, dl { margin: 0 0 1.1em; }
p:last-child, ul:last-child, ol:last-child { margin-bottom: 0; }

a { color: var(--tellis-tume); text-underline-offset: .18em; }
a:hover { color: var(--tellis); }

:focus-visible {
  outline: 3px solid var(--tellis-tume);
  outline-offset: 2px;
  border-radius: 2px;
}
.jalus :focus-visible, .riba :focus-visible, .pilditaht :focus-visible { outline-color: var(--valge); }

/* --- 4. Abiklassid -------------------------------------------------------- */

.peida-visuaalselt {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap; border: 0;
}
.hyppelink {
  position: absolute; left: 8px; top: -60px; z-index: 200;
  background: var(--tahm); color: var(--valge);
  padding: 12px 18px; border-radius: var(--serv); font-weight: 700;
  text-decoration: none; transition: top .15s;
}
.hyppelink:focus { top: 8px; color: var(--valge); }

.raam { width: 100%; max-width: var(--laius); margin-inline: auto; padding-inline: 16px; }
.lohk { padding-block: 56px; }
.lohk--kitsam { padding-block: 40px; }
.vuuktaust { background: var(--vuuk); }
.tume { background: var(--korsten); color: var(--vuuk); }
.proosa { max-width: 70ch; }
.suits { color: var(--suits); }
.vaike { font-size: .9375rem; }

/* --- 5. Nupud ------------------------------------------------------------- */

.nupp {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; min-height: 48px; padding: 10px 22px;
  border: 2px solid transparent; border-radius: var(--serv);
  font: inherit; font-weight: 700; font-size: 1.0625rem; line-height: 1.2;
  text-align: center; text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.nupp--esmane { background: var(--tellis); color: var(--valge); }
.nupp--esmane:hover, .nupp--esmane:focus-visible { background: var(--tellis-tume); color: var(--valge); }
.nupp--teine { background: var(--valge); color: var(--tahm); border-color: var(--tahm); }
.nupp--teine:hover, .nupp--teine:focus-visible { border-color: var(--tellis); color: var(--tellis-tume); }
.nupp--tume { background: var(--tahm); color: var(--valge); }
.nupp--tume:hover, .nupp--tume:focus-visible { background: #000; color: var(--valge); }
.nupp[disabled] { opacity: .62; cursor: progress; }
.nupp--lai { width: 100%; }

.nupurida { display: flex; flex-wrap: wrap; gap: 12px; }

/* --- 6. Päis -------------------------------------------------------------- */

.pais {
  position: sticky; top: 0; z-index: 30;
  background: var(--valge); border-bottom: 1px solid var(--joon);
}
.pais__rida { display: flex; align-items: center; gap: 12px; min-height: 64px; }

.logo {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 700; font-size: 1.1875rem; letter-spacing: -.015em;
  color: var(--tahm); text-decoration: none; margin-right: auto;
  white-space: nowrap;
}
.logo:hover { color: var(--tahm); }
.logo svg { flex: none; width: 26px; height: 30px; }

.pais__tel {
  display: inline-flex; align-items: center; gap: 7px;
  min-height: 44px; padding: 0 6px;
  font-weight: 700; color: var(--tahm); text-decoration: none; white-space: nowrap;
}
.pais__tel:hover { color: var(--tellis-tume); }
.pais__tel svg { flex: none; width: 19px; height: 19px; fill: var(--tellis); }
.pais__tel span { display: none; }

.pais__lyliti {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; flex: none;
  background: none; border: 1px solid var(--joon); border-radius: var(--serv);
  cursor: pointer; color: var(--tahm);
}
.pais__lyliti svg { width: 22px; height: 22px; }
.pais__lyliti .sulge-ikoon { display: none; }
.pais__lyliti[aria-expanded="true"] .ava-ikoon { display: none; }
.pais__lyliti[aria-expanded="true"] .sulge-ikoon { display: block; }

.menyy { display: none; }
.menyy.on-avatud { display: block; }
.menyy {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--valge); border-bottom: 1px solid var(--joon);
  padding: 8px 16px 20px;
}
.menyy ul { list-style: none; margin: 0 0 14px; padding: 0; }
.menyy li a {
  display: block; min-height: 50px; line-height: 50px;
  border-bottom: 1px solid var(--joon);
  color: var(--tahm); font-weight: 700; text-decoration: none;
}
.menyy li a:hover, .menyy li a[aria-current="page"] { color: var(--tellis-tume); }
.menyy .nupp { width: 100%; }
.pais__cta { display: none; }

/* --- 7. Avalehe päisepilt ------------------------------------------------- */

.hero { padding-block: 36px 40px; }
.hero__grid { display: grid; gap: 28px; }
.hero h1 { margin-bottom: .34em; }
.hero__sisu p { font-size: 1.1875rem; color: var(--suits); max-width: 46ch; }
.hero__pilt img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--serv); }
.hero .nupurida { margin-top: 26px; }
.hero__margus { margin-top: 22px; color: var(--suits); font-size: .9375rem; }

.usaldus {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px; margin-top: 30px; padding: 0; list-style: none;
}
.usaldus li { display: flex; gap: 10px; align-items: flex-start; font-weight: 700; line-height: 1.35; }
.usaldus li::before {
  content: ""; flex: none; width: 14px; height: 10px; margin-top: .42em;
  background: var(--tellis); border-radius: 1px;
}

/* --- 8. Sisuplokid -------------------------------------------------------- */

.teenuseloend { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.teenuseloend > li { border-left: 3px solid var(--tellis); padding-left: 18px; }
.teenuseloend h3 { margin-bottom: .18em; }
.teenuseloend p { color: var(--suits); margin: 0; }

.pohjused { margin: 0; padding: 0; }
.pohjused > div { padding: 18px 0; border-top: 1px solid var(--joon); }
.pohjused > div:last-child { border-bottom: 1px solid var(--joon); }
.pohjused dt { font-weight: 700; font-size: 1.125rem; }
.pohjused dd { margin: 2px 0 0; color: var(--suits); }

.sammud { list-style: none; margin: 0; padding: 0; counter-reset: samm; }
.sammud > li {
  counter-increment: samm;
  position: relative; padding: 0 0 26px 58px;
}
.sammud > li::before {
  content: counter(samm);
  position: absolute; left: 0; top: 0;
  width: 38px; height: 38px; border-radius: var(--serv);
  background: var(--tellis); color: var(--valge);
  font-weight: 700; font-size: 1.125rem;
  display: flex; align-items: center; justify-content: center;
}
.sammud > li::after {
  content: ""; position: absolute; left: 18px; top: 44px; bottom: 6px; width: 2px;
  background: var(--joon);
}
.sammud > li:last-child { padding-bottom: 0; }
.sammud > li:last-child::after { display: none; }
.sammud h3 { margin-bottom: .1em; }
.sammud p { color: var(--suits); margin: 0; }

.teenus-plokk { border-top: 1px solid var(--joon); padding-top: 26px; margin-top: 26px; }
.teenus-plokk:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }

.kontaktkaart { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.kontaktkaart li { display: grid; grid-template-columns: 9.5rem 1fr; gap: 4px 12px; }
.kontaktkaart b { font-weight: 700; }

.some { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; margin: 0; padding: 0; }

/* --- 9. Galerii ----------------------------------------------------------- */

.filtrid { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; padding: 0; list-style: none; }
.filter {
  min-height: 44px; padding: 8px 16px;
  background: var(--valge); color: var(--tahm);
  border: 1.5px solid var(--joon); border-radius: var(--serv);
  font: inherit; font-weight: 700; cursor: pointer;
}
.filter:hover { border-color: var(--tahm); }
.filter[aria-pressed="true"] { background: var(--tahm); border-color: var(--tahm); color: var(--valge); }

.galerii { display: grid; gap: 18px; grid-template-columns: 1fr; margin: 0; padding: 0; list-style: none; }
.galerii > li { min-width: 0; }
.galerii figure { margin: 0; }
.pilditaht {
  display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in;
  border-radius: var(--serv); overflow: hidden;
}
.pilditaht img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.galerii figcaption { margin-top: 8px; color: var(--suits); font-size: .9375rem; }

.paar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.paar__osa { position: relative; min-width: 0; }
.paar__silt {
  position: absolute; left: 8px; top: 8px; z-index: 1;
  background: var(--tahm); color: var(--valge);
  font-size: .8125rem; font-weight: 700; line-height: 1;
  padding: 6px 9px; border-radius: 2px;
}

/* Suurendusvaade (lightbox) */
.suurendus {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(22, 25, 29, .95);
  display: flex; align-items: center; justify-content: center;
  padding: 56px 12px 84px;
}
.suurendus[hidden] { display: none; }
.suurendus img { max-width: 100%; max-height: 100%; object-fit: contain; background: none; }
.suurendus__tekst {
  position: absolute; left: 0; right: 0; bottom: 24px;
  text-align: center; color: var(--vuuk); font-size: .9375rem; padding: 0 16px;
}
.suurendus__nupp {
  position: absolute; display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; padding: 0;
  background: rgba(255, 255, 255, .12); color: var(--valge);
  border: 1px solid rgba(255, 255, 255, .35); border-radius: var(--serv);
  cursor: pointer;
}
.suurendus__nupp:hover { background: rgba(255, 255, 255, .24); }
.suurendus__nupp svg { width: 22px; height: 22px; }
.suurendus__sulge { top: 12px; right: 12px; }
.suurendus__eelmine { left: 12px; top: 50%; transform: translateY(-50%); }
.suurendus__jargmine { right: 12px; top: 50%; transform: translateY(-50%); }

/* --- 10. KKK -------------------------------------------------------------- */

.kkk { border-top: 1px solid var(--joon); }
.kkk details { border-bottom: 1px solid var(--joon); }
.kkk summary {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  padding: 18px 0; min-height: 44px;
  font-weight: 700; font-size: 1.125rem; cursor: pointer; list-style: none;
}
.kkk summary::-webkit-details-marker { display: none; }
.kkk summary::after {
  content: ""; flex: none; width: 14px; height: 14px; margin-top: .42em;
  border-right: 2.5px solid var(--tellis); border-bottom: 2.5px solid var(--tellis);
  transform: rotate(45deg); transition: transform .15s;
}
.kkk details[open] summary::after { transform: rotate(225deg); margin-top: .62em; }
.kkk summary:hover { color: var(--tellis-tume); }
.kkk .vastus { padding: 0 0 20px; color: var(--suits); max-width: 72ch; }
.kkk .vastus p:last-child { margin-bottom: 0; }

/* --- 11. Vorm ------------------------------------------------------------- */

.vorm { max-width: 640px; }
.vorm__valjad { display: grid; gap: 18px; }
.valja > label, .valja > .sildinimi { display: block; font-weight: 700; margin-bottom: 6px; }
.valja input[type="text"], .valja input[type="tel"], .valja input[type="email"],
.valja select, .valja textarea, .valja input[type="file"] {
  width: 100%; min-height: 48px; padding: 11px 13px;
  font: inherit; color: var(--tahm); background: var(--valge);
  border: 1.5px solid var(--joon); border-radius: var(--serv);
}
.valja textarea { min-height: 128px; resize: vertical; line-height: 1.55; }
.valja input:focus, .valja select:focus, .valja textarea:focus { border-color: var(--tellis); }
.valja [aria-invalid="true"] { border-color: var(--viga); }
.viga-tekst { display: none; color: var(--viga); font-weight: 700; font-size: .9375rem; margin-top: 6px; }
.viga-tekst.nahtav { display: block; }
.vihje { color: var(--suits); font-size: .9375rem; margin: 8px 0 0; }

.margi { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; min-height: 44px; }
/* Kastike on 28px, aga klikkida saab ka kogu kõrvalolevat teksti (label), nii et
   tegelik puutepind on üle 44px. */
.margi input[type="checkbox"] { width: 28px; height: 28px; margin: 1px 0 0; accent-color: var(--tellis); flex: none; }
.margi label { font-weight: 500; margin-bottom: 0; }

.pildid__natiiv { display: grid; gap: 10px; }
.pildid__pesa { display: grid; gap: 4px; }
.pildid__pesa > label { font-weight: 500; font-size: .9375rem; color: var(--suits); margin-bottom: 0; }
.pildid__loend { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.pildid__loend li {
  display: flex; align-items: center; gap: 12px;
  border: 1.5px solid var(--joon); border-radius: var(--serv); padding: 8px 8px 8px 12px;
}
.pildid__loend .nimi { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .9375rem; }
.pildid__eemalda {
  flex: none; min-height: 40px; min-width: 40px; padding: 0 12px;
  background: none; border: 1.5px solid var(--joon); border-radius: var(--serv);
  font: inherit; font-weight: 700; color: var(--tahm); cursor: pointer;
}
.pildid__eemalda:hover { border-color: var(--viga); color: var(--viga); }

.mesi { position: absolute; left: -9999px; }   /* robotilõks / honeypot */
.vorm__all { margin-top: 18px; }
.vormi-teade { margin-top: 14px; color: var(--viga); font-weight: 700; }
.vormi-teade:empty { display: none; }

/* Alampealkiri sisu sees (nt "Jälgi meid" kontaktilehel) */
.alampealkiri { font-size: 1.125rem; font-weight: 700; margin: 24px 0 10px; }

/* Klientide tagasiside — kasutusel alles siis, kui päris arvustused olemas */
.tagasiside { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; max-width: 70ch; }
.tagasiside > li { border-left: 3px solid var(--tellis); padding-left: 18px; }
.tagasiside p { margin: 0; }

/* --- 12. Jalus ------------------------------------------------------------ */

.jalus { background: var(--korsten); color: #C9CDD2; padding-block: 44px 30px; }
.jalus a { color: var(--valge); }
.jalus a:hover { color: #FFC8B6; }
.jalus h2, .jalus b, .jalus strong { color: var(--valge); }
.jalus__grid { display: grid; gap: 30px; }
.jalus__pealkiri { font-size: 1.125rem; font-weight: 700; color: var(--valge); margin: 0 0 10px; }
.jalus ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.jalus__all {
  margin-top: 34px; padding-top: 20px; border-top: 1px solid #2C3137;
  display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center;
  font-size: .9375rem;
}
.jalus__all .vahe { margin-left: auto; }
.kypsisenupp {
  background: none; border: 0; padding: 0; min-height: 44px;
  font: inherit; color: var(--valge); text-decoration: underline;
  text-underline-offset: .18em; cursor: pointer;
}

/* --- 13. Telefoni alumine riba -------------------------------------------- */

.riba {
  position: fixed; left: 0; right: 0; bottom: var(--banner-h); z-index: 40;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--joon); border-top: 1px solid var(--joon);
}
.riba a {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: var(--riba); background: var(--valge);
  color: var(--tahm); font-weight: 700; text-decoration: none;
}
.riba a:first-child { background: var(--tellis); color: var(--valge); }
.riba svg { width: 20px; height: 20px; flex: none; }

/* --- 14. Küpsiseteade ----------------------------------------------------- */

.kypsised {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  background: var(--valge); border-top: 2px solid var(--tahm);
  box-shadow: 0 -8px 26px rgba(31, 35, 40, .14);
  padding: 16px 0 calc(16px + env(safe-area-inset-bottom, 0px));
}
.kypsised[hidden] { display: none; }
.kypsised__sisu { display: grid; gap: 14px; }
.kypsised p { margin: 0; font-size: .9375rem; max-width: 72ch; }
.kypsised__nupud { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.kypsised__nupud .nupp { width: 100%; }

/* --- 15. Väiksemad lehed -------------------------------------------------- */

.keskel { text-align: center; max-width: 60ch; margin-inline: auto; }
.keskel .nupurida { justify-content: center; }
.kutse { border-top: 1px solid var(--joon); margin-top: 40px; padding-top: 34px; }
.vuuktaust .kutse { border-top-color: #E2E4E6; }

/* ==========================================================================
   16. Suuremad ekraanid
   ========================================================================== */

@media (min-width: 400px) {
  .pais__tel span { display: inline; }
}

@media (min-width: 560px) {
  .galerii { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .galerii > li.paarina { grid-column: 1 / -1; }
  .kypsised__nupud { grid-template-columns: auto auto; justify-content: start; }
  .kypsised__nupud .nupp { min-width: 172px; }
}

@media (min-width: 680px) {
  .usaldus { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .vorm__paar { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
  .teenuseloend { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 30px; }
  .pildid__natiiv { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 768px) {
  body { font-size: 1.125rem; padding-bottom: var(--banner-h); }
  .raam { padding-inline: 24px; }
  .lohk { padding-block: 84px; }
  .lohk--kitsam { padding-block: 60px; }
  .hero { padding-block: 52px 64px; }
  .riba { display: none; }

  .pais__rida { min-height: 78px; gap: 18px; }
  .pais__lyliti { display: none; }
  .logo { font-size: 1.375rem; margin-right: 26px; }
  .logo svg { width: 30px; height: 34px; }
  .pais__cta { display: inline-flex; }
  .pais__tel { font-size: 1.0625rem; }

  .menyy, .menyy.on-avatud {
    display: block; position: static; padding: 0;
    border: 0; background: none; margin-right: auto;
  }
  .menyy ul { display: flex; gap: 4px; margin: 0; }
  .menyy li a {
    min-height: 44px; line-height: 1; display: inline-flex; align-items: center;
    padding: 10px 12px; border-bottom: 0; font-size: 1.0625rem;
  }
  .menyy li a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--tellis); }
  .menyy .nupp, .menyy .menyy__tel { display: none; }

  .jalus__grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
  .jalus { padding-block: 60px 34px; }
}

@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
  .galerii { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .galerii > li.paarina { grid-column: span 2; }
  .kaks-veergu { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; }
  .kypsised__sisu { grid-template-columns: 1fr auto; align-items: center; gap: 24px; }
  .sammud { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
}

/* ==========================================================================
   17. Vähendatud liikumine — austame kasutaja seadistust
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

@media print {
  .pais, .riba, .kypsised, .hyppelink, .filtrid, .suurendus { display: none !important; }
  body { padding-bottom: 0; font-size: 11pt; }
}
