/* AVL veeb — ühine stiil: v1 välimus + funktsionaalsed osad (09.10.2026). */

  /* Tokenid (stiilisüsteem v0.2, 16.10.2026; dokument stiilisusteem.html). Uus väärtus tuleb siia, mitte otse reeglisse. */
  :root {
    /* värvid: bränd ja pinnad */
    --yellow: #FFD700; --ink: #1E2124; --paper: #FAF9F6; --stone: #EFEDE8; --white: #FFFFFF;
    --card: #EEEBE5;         /* kaart sektsiooni taustal (kaardisüsteem v2) */
    --ink-2: #2A2E32;        /* tõstetud tume pind */
    --ink-soft: #3D4045;     /* tume teisene tekst kaardil */
    --ink-strong: #000000;   /* tumeda nupu hover */
    --line: #DAD7D0; --muted: #63676C;
    --muted-d: #D8D5CE;      /* teisene tekst tumedal */
    /* olekud */
    --ok: #1E2124; --ok-green: #2E7D4F;
    --warn: #8A6500; --warn-bg: #FFF3BF; --warn-line: #E6C200;
    --err: #B3261E;
    /* kiri */
    --fs-display: clamp(44px, 7.6vw, 116px);
    --fs-h1: clamp(34px, 5vw, 64px); --fs-h2: clamp(30px, 4.2vw, 54px); --fs-lead: clamp(17px, 1.5vw, 20px);
    --fs-h3: 22px; --fs-h4: 20px; --fs-md: 18px; --fs-body: 17px; --fs-input: 16px;
    --fs-ui: 15px; --fs-small: 14px; --fs-fine: 13px; --fs-label: 12px; --fs-micro: 11px;
    /* vahed (4 px võrk) */
    --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px; --s10: 144px;
    --gutter: clamp(20px, 5vw, 72px); --max: 1320px; --gap: 12px;
    --sticky-top: 96px;      /* kleepuv paneel päise all */
    /* murdepunktid (CSS-muutujat @media-s kasutada ei saa — need on kokkulepe):
       telefon < 600 ≤ tahvel < 900 ≤ arvuti < 1100 ≤ lai; päis 900/901 ja 1360; väike telefon ≤ 480 */
  }
  * { box-sizing: border-box; margin: 0; }
  body { background: var(--paper); color: var(--ink); font-family: "Montserrat", system-ui, sans-serif; font-size: var(--fs-body); line-height: 1.6; -webkit-font-smoothing: antialiased; }
  img { display: block; width: 100%; }
  a { color: inherit; }
  button { font: inherit; color: inherit; }
  .wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
  section { padding: clamp(64px, 9vw, 128px) 0; }
  section.stone { background: var(--stone); }
  .label { font-size: var(--fs-label); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); display: flex; gap: 14px; align-items: center; }
  .label::before { content: ""; width: 32px; height: 1px; background: currentColor; }
  h1, h2, h3 { font-weight: 400; line-height: 1.08; letter-spacing: -.015em; }
  h1 b, h2 b { font-weight: 800; }
  h1 { font-size: var(--fs-h1); margin-top: 18px; }
  h2 { font-size: var(--fs-h2); margin-top: 18px; max-width: 18ch; }
  .lead { font-size: var(--fs-lead); max-width: 60ch; margin-top: 18px; }
  .k { font-size: var(--fs-label); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
  .intro { padding-top: clamp(40px, 6vw, 80px); }
  :focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

  .btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 54px; padding: 15px 26px; font-weight: 600; font-size: var(--fs-ui); border: 1px solid var(--ink); background: transparent; cursor: pointer; text-decoration: none; transition: background .2s, color .2s, border-color .2s; }
  .btn.primary { background: var(--yellow); border-color: var(--yellow); }
  .btn.primary:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
  .btn.ghost:hover { background: var(--ink); color: var(--white); }
  .btn:disabled { background: var(--line); border-color: var(--line); color: var(--muted); cursor: not-allowed; }
  .btn .arr { transition: transform .2s; } .btn:hover:not(:disabled) .arr { transform: translateX(4px); }
  .tlink { font-weight: 600; font-size: var(--fs-ui); text-decoration: none; border-bottom: 2px solid var(--yellow); padding-bottom: 3px; background: none; border-top: 0; border-left: 0; border-right: 0; cursor: pointer; }
  .tlink:hover { border-bottom-color: currentColor; }

  .cols { display: grid; gap: clamp(28px, 4vw, 64px); margin-top: clamp(32px, 4vw, 56px); align-items: start; }
  @media (min-width: 900px) { .cols { grid-template-columns: 7fr 5fr; } .cols.even { grid-template-columns: 1fr 1fr; } }
  .panel { background: var(--white); border: 1px solid var(--line); padding: clamp(22px, 2.6vw, 36px); }
  @media (min-width: 900px) { .panel.sticky { position: sticky; top: 24px; } }

  /* faktitabel: info nagu tabelis, õhuga */
  .spec { width: 100%; border-collapse: collapse; font-size: var(--fs-input); }
  .spec th, .spec td { padding: 15px 0; border-top: 1px solid var(--line); text-align: left; font-weight: 400; vertical-align: baseline; }
  .spec th { width: 42%; font-size: var(--fs-label); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
  .spec td { font-weight: 600; text-align: right; }
  .spec tr:last-child th, .spec tr:last-child td { border-bottom: 1px solid var(--line); }
  .badge { display: inline-block; font-size: var(--fs-micro); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 6px 10px; line-height: 1; border: 1px solid var(--line); color: var(--muted); }
  .badge.free { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }

  /* valikunupud (nagu suuruse valik e-poes) */
  .opts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
  .opt { min-width: 52px; min-height: 52px; padding: 0 16px; border: 1px solid var(--ink); background: var(--white); font-weight: 600; font-size: var(--fs-input); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: background .15s, color .15s; }
  .opt:hover { background: var(--stone); }
  .opt[aria-pressed="true"], .opt[aria-checked="true"] { background: var(--ink); color: var(--white); }
  .opt.booked { border-color: var(--line); color: var(--muted); text-decoration: line-through; text-decoration-thickness: 1px; }
  .opt.booked[aria-pressed="true"] { background: var(--muted); color: var(--white); text-decoration: none; }
  .legend { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 12px; font-size: var(--fs-fine); color: var(--muted); }
  .legend i { display: inline-block; width: 12px; height: 12px; border: 1px solid var(--ink); margin-right: 6px; vertical-align: -1px; }
  .legend i.b { border-color: var(--line); background: var(--line); }

  /* 1 · plaan esiletõstuga */
  .plan { position: relative; background: var(--white); border: 1px solid var(--line); overflow: hidden; }
  .plan .dim { position: absolute; top: 0; bottom: 0; background: rgba(250,249,246,.82); transition: left .3s ease, width .3s ease; pointer-events: none; }
  .plan .mark { position: absolute; top: 4%; bottom: 4%; border: 2px solid var(--ink); transition: left .3s ease, width .3s ease; pointer-events: none; }
  .plan .tag { position: absolute; bottom: 100%; left: -2px; background: var(--ink); color: var(--white); font-size: var(--fs-label); font-weight: 600; padding: 6px 10px; white-space: nowrap; }
  .plan { overflow: visible; margin-top: 34px; }
  .planbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
  /* segmentnupud — üks komponent (Narva korrused, 3D-vaade ja selle kaamera-/korrusenupud, küttekulu, kalkulaatorid).
     Muutujad: --seg-h (kõrgus), --seg-px (külgvahe), --seg-fs (kiri), --seg-sep (nuppude vaheline joon). */
  .seg, .d3-views, .d3-floors { display: inline-flex; flex-wrap: wrap; border: 1px solid var(--ink); }
  :is(.seg, .d3-views, .d3-floors) button { min-height: var(--seg-h, 44px); padding: 0 var(--seg-px, 18px); background: var(--white); border: 0; font-weight: 600; font-size: var(--seg-fs, var(--fs-small)); cursor: pointer; }
  :is(.seg, .d3-views, .d3-floors) button + button { border-left: 1px solid var(--seg-sep, var(--ink)); }
  :is(.seg, .d3-views, .d3-floors) button[aria-pressed="true"] { background: var(--ink); color: var(--white); }
  :is(.seg, .d3-views, .d3-floors) button:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
  .unit-title { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
  .unit-title h3 { font-size: clamp(26px, 3vw, 38px); font-weight: 800; }
  .unit-note { margin: 14px 0 22px; color: var(--muted); font-size: var(--fs-ui); }
  .panel .btn { width: 100%; margin-top: 22px; }
  .fine { font-size: var(--fs-fine); color: var(--muted); margin-top: 14px; }

  /* 2 · kalkulaator */
  .choices { display: grid; gap: 8px; margin-top: 12px; }
  .choice { display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: center; text-align: left; padding: 14px 16px; min-height: 68px; border: 1px solid var(--line); background: var(--white); cursor: pointer; transition: border-color .15s, background .15s; }
  .choice:hover { border-color: var(--ink); }
  .choice svg { width: 30px; height: 30px; stroke: var(--ink); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
  .choice b { display: block; font-weight: 600; font-size: var(--fs-input); line-height: 1.25; }
  .choice small { display: block; font-size: var(--fs-fine); color: var(--muted); line-height: 1.35; margin-top: 2px; }
  .choice .p { font-size: var(--fs-small); font-weight: 600; white-space: nowrap; }
  .choice[aria-checked="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: var(--paper); }
  .choice[aria-checked="true"] .tick { background: var(--ink); color: var(--white); }
  .field { margin-top: 28px; }
  .area { display: flex; align-items: stretch; gap: 0; margin-top: 12px; max-width: 340px; }
  .area button { width: 54px; border: 1px solid var(--ink); background: var(--white); font-size: var(--fs-h3); font-weight: 600; cursor: pointer; }
  .area button:hover { background: var(--ink); color: var(--white); }
  .area input { flex: 1; min-width: 0; min-height: 54px; text-align: center; font: 600 20px "Montserrat", sans-serif; border: 1px solid var(--ink); border-left: 0; border-right: 0; background: var(--white); border-radius: 0; -moz-appearance: textfield; }
  .area input::-webkit-outer-spin-button, .area input::-webkit-inner-spin-button { -webkit-appearance: none; }
  .quick { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
  .quick button { min-height: 40px; padding: 0 14px; border: 1px solid var(--line); background: transparent; font-size: var(--fs-small); font-weight: 600; cursor: pointer; }
  .quick button:hover { border-color: var(--ink); }
  .sum { font-size: clamp(34px, 4.4vw, 56px); font-weight: 800; line-height: 1; letter-spacing: -.03em; margin: 8px 0 4px; }
  .sum small { font-size: var(--fs-input); font-weight: 600; letter-spacing: 0; color: var(--muted); }
  .hint { background: var(--paper); border-left: 3px solid var(--yellow); padding: 12px 14px; font-size: var(--fs-small); margin-top: 16px; }

  /* 3 · pakkumise küsimine */
  .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 0 0 26px; padding: 0; }
  .steps li { list-style: none; border-top: 3px solid var(--line); padding-top: 10px; font-size: var(--fs-fine); font-weight: 600; color: var(--muted); }
  .steps li.on { border-color: var(--ink); color: var(--ink); }
  .steps li.done { border-color: var(--yellow); color: var(--ink); }
  .tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 14px; }
  @media (min-width: 600px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
  .tile { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; text-align: left; padding: 16px; min-height: 112px; border: 1px solid var(--line); background: var(--white); cursor: pointer; font-weight: 600; font-size: var(--fs-ui); line-height: 1.25; transition: border-color .15s, background .15s; }
  .tile svg { width: 30px; height: 30px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
  .tile:hover { border-color: var(--ink); }
  .tile[aria-checked="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
  .q + .q { margin-top: 26px; }
  .q h3 { font-size: var(--fs-h4); font-weight: 600; letter-spacing: 0; }
  .inp { display: grid; gap: 8px; margin-top: 18px; }
  .inp input, .inp textarea { font: inherit; font-size: var(--fs-input); min-height: 54px; padding: 14px; border: 1px solid var(--ink); background: var(--white); border-radius: 0; width: 100%; }
  .inp textarea { min-height: 96px; resize: vertical; }
  .inp .err { color: var(--err); font-size: var(--fs-small); font-weight: 600; display: none; }
  .inp.bad .err { display: block; } .inp.bad input { border-color: var(--err); box-shadow: inset 0 0 0 1px var(--err); }
  .nav-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 30px; flex-wrap: wrap; }
  .picked { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
  .picked span { font-size: var(--fs-fine); font-weight: 600; padding: 7px 12px; background: var(--stone); }
  .done-box h3 { font-size: clamp(26px, 3vw, 38px); font-weight: 800; }
  .contacts { display: grid; gap: 0; border-top: 1px solid var(--ink); margin-top: 28px; }
  .contacts div { display: grid; grid-template-columns: 130px 1fr; padding: 15px 0; border-bottom: 1px solid var(--line); }
  .contacts dd { margin: 0; font-weight: 600; }
  [hidden] { display: none !important; }
  @media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

  /* ---------- päis, jalus, lehe üldosad (v1) ---------- */
  header.site { position: sticky; top: 0; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); }
  header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
  .logo img { height: 40px; width: auto; }
  nav.main { display: flex; gap: clamp(16px, 2.4vw, 36px); font-size: var(--fs-ui); font-weight: 500; }
  nav.main { align-items: center; }
  nav.main > a, .mega-btn { display: inline-flex; align-items: center; gap: 8px; padding: 8px 0; text-decoration: none; border: 0; border-bottom: 2px solid transparent; background: none; font: inherit; color: inherit; cursor: pointer; }
  nav.main > a:hover, nav.main > a[aria-current], .mega-btn:hover, .mega-btn.on, .mega-btn[aria-expanded="true"] { border-color: var(--yellow); }
  .chev { flex: none; transition: transform .2s; }
  [aria-expanded="true"] > .chev, details[open] > summary > .chev { transform: rotate(180deg); }
  /* megamenüü (13.10.2026): „Teenused" avab kogu lehe laiuse paneeli; sisu failist menyy.json / WordPressi menüüst */
  .mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 30px 50px -30px rgba(30,33,36,.4); padding: clamp(24px, 3vw, 40px) 0 clamp(28px, 3.4vw, 48px); max-height: calc(100vh - 77px); overflow-y: auto; font-weight: 400; }
  .mega a { text-decoration: none; }
  header.site .mega .wrap { display: block; height: auto; }
  .mega-g { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: auto auto; gap: 14px clamp(18px, 2.4vw, 36px); }
  .mega-c, .mega-s { display: grid; grid-template-rows: subgrid; grid-row: span 2; }
  .mega-ph { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--stone); }
  .mega-ph img { position: absolute; inset: 0; height: 100%; object-fit: cover; transition: transform .5s; }
  .mega-c:hover .mega-ph img { transform: scale(1.04); }
  .mega-t { font-size: var(--fs-h4); font-weight: 800; letter-spacing: -.01em; line-height: 1.2; }
  .mega-t a { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; }
  .mega-t a::after { content: "→"; font-weight: 400; transition: transform .2s; }
  .mega-t a:hover::after { transform: translateX(4px); }
  .mega-d { font-size: var(--fs-small); line-height: 1.5; color: var(--muted); }
  .mega ul { list-style: none; padding: 0; margin-top: 8px; }
  .mega li a { display: flex; align-items: center; min-height: 36px; padding: 7px 0; font-size: var(--fs-ui); font-weight: 500; line-height: 1.3; }
  .mega li a:hover, .mega li a[aria-current], .mega-t a[aria-current], .mega-tile a.go:hover { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 5px; }
  .mega-tile { display: flex; flex-direction: column; gap: 6px; padding: clamp(18px, 1.7vw, 24px); background: var(--card); font-size: var(--fs-small); line-height: 1.5; align-self: start; }
  .mega-tile.y { background: var(--yellow); align-self: stretch; transition: background .2s, color .2s; }
  .mega-tile.y:hover { background: var(--ink); color: var(--white); }
  .mega-tile .k { color: inherit; }
  .mega-tile b { font-size: var(--fs-md); font-weight: 800; line-height: 1.25; }
  .mega-tile .go { margin-top: auto; padding-top: 8px; font-weight: 600; }
  .mega-tel { font-size: clamp(18px, 1.6vw, 22px); font-weight: 600; white-space: nowrap; padding: 6px 0; }
  .mega-tel:hover { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 5px; }
  @media (max-width: 1099px) { .mega-g { grid-template-columns: repeat(3, minmax(0, 1fr)); } .mega-s { grid-column: 1 / -1; grid-row: auto; grid-template-rows: none; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 10px; } .mega-tile { align-self: stretch; } }
  @media (pointer: coarse) { .mega li a { min-height: 44px; } }
  /* keelevalik päises */
  .lang-dd { position: relative; }
  .lang-dd summary { display: flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 4px; list-style: none; cursor: pointer; font-size: var(--fs-fine); font-weight: 600; letter-spacing: .08em; }
  .lang-dd summary::-webkit-details-marker { display: none; }
  .lang-dd .lang { position: absolute; right: 0; top: 100%; z-index: 25; display: grid; gap: 0; min-width: 72px; background: var(--paper); border: 1px solid var(--line); padding: 4px; }
  .lang-dd .lang a { display: flex; align-items: center; min-height: 44px; padding: 0 14px; }
  .lang-dd .lang a:hover { background: var(--card); color: var(--ink); }
  header.site .tools > .btn { white-space: nowrap; }
  @media (max-width: 900px) { .lang-dd { display: none; } }
  .tools { display: flex; align-items: center; gap: 20px; }
  .lang { font-size: var(--fs-fine); font-weight: 600; letter-spacing: .08em; display: flex; gap: 10px; }
  .lang a { text-decoration: none; color: var(--muted); } .lang a.on { color: var(--ink); }
  .head-phone { font-weight: 600; font-size: var(--fs-ui); white-space: nowrap; text-decoration: none; }
  .head-phone:hover { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 4px; }
  .crumbs { font-size: var(--fs-fine); color: var(--muted); padding-top: 28px; }
  .crumbs a { text-decoration: underline; text-underline-offset: 3px; } .crumbs a:hover { color: var(--ink); }
  .page-head { padding: clamp(36px, 4.5vw, 64px) 0 clamp(32px, 4vw, 56px); } /* leivapuru eemaldatud 12.10.2026 */
  .page-head h1 { font-size: clamp(40px, 7vw, 104px); }
  .page-head .row { display: flex; justify-content: space-between; align-items: end; gap: 24px 48px; flex-wrap: wrap; margin-top: clamp(20px, 3vw, 36px); }
  .page-head .row .lead { margin-top: 0; }
  .wide-photo { position: relative; aspect-ratio: 2 / 1; max-height: 720px; width: 100%; overflow: hidden; background: var(--stone); margin: 0; }
  .wide-photo img { height: 100%; object-fit: cover; }
  .wide-photo span { position: absolute; right: 16px; bottom: 16px; background: rgba(30,33,36,.82); color: var(--white); font-size: var(--fs-label); padding: 6px 10px; }
  .facts { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
  .fact { padding: clamp(22px, 3vw, 40px) 0; }
  .fact .n { font-size: clamp(30px, 4.4vw, 60px); font-weight: 800; line-height: 1; letter-spacing: -.03em; }
  .fact .t { margin-top: 8px; font-size: var(--fs-small); font-weight: 500; color: var(--muted); }
  @media (min-width: 900px) { .facts { grid-template-columns: repeat(4, 1fr); } .fact + .fact { border-left: 1px solid var(--line); padding-left: clamp(16px, 2.5vw, 36px); } }
  .utable { width: 100%; border-collapse: collapse; margin-top: clamp(32px, 4vw, 56px); font-size: var(--fs-input); }
  .utable th { text-align: left; font-size: var(--fs-label); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 12px 12px 12px 0; border-bottom: 1px solid var(--ink); }
  .utable td { padding: 16px 12px 16px 0; border-bottom: 1px solid var(--line); }
  .utable tr[data-u] { cursor: pointer; } .utable tr[data-u]:hover td { background: var(--stone); }
  .utable tr[aria-selected="true"] td { background: var(--stone); font-weight: 600; }
  .utable td:first-child, .utable th:first-child { padding-left: 12px; }
  .utable .hide-s { display: none; } @media (min-width: 600px) { .utable .hide-s { display: table-cell; } }
  .two { display: grid; gap: clamp(28px, 5vw, 80px); align-items: center; margin-top: clamp(28px, 4vw, 48px); }
  .two figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--stone); } .two figure img { height: 100%; object-fit: cover; }
  .two p + p { margin-top: 14px; }
  @media (min-width: 900px) { .two { grid-template-columns: 1fr 1fr; } }
  .poster { background: var(--yellow); }
  .poster .label { color: var(--ink); }
  .poster .cols { align-items: center; }
  .mini-form { display: grid; gap: 14px; background: var(--paper); padding: clamp(22px, 3vw, 36px); }
  .mini-form .inp { margin-top: 0; }
  .mini-form .btn { background: var(--ink); color: var(--white); border-color: var(--ink); width: 100%; }
  .mini-form .btn:hover { background: var(--white); color: var(--ink); }
  .mini-form .ok { font-weight: 600; }
  footer { background: var(--ink); color: rgba(255,255,255,.72); padding: clamp(48px, 6vw, 80px) 0 32px; font-size: var(--fs-small); }
  .foot { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
  .foot .tag { color: var(--white); font-size: clamp(18px, 1.8vw, 24px); line-height: 1.3; max-width: 18ch; font-weight: 600; }
  .foot h4 { color: var(--white); font-size: var(--fs-label); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
  .foot a { display: block; padding: 5px 0; text-decoration: none; } .foot a[href]:hover { color: var(--yellow); }
  .legal { margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.16); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: var(--fs-fine); }
  @media (min-width: 900px) { .foot { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
  .callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: 1fr 1.4fr; background: var(--paper); border-top: 1px solid var(--line); }
  .callbar a { display: flex; align-items: center; justify-content: center; min-height: 56px; font-weight: 600; font-size: var(--fs-ui); text-decoration: none; }
  .callbar a + a { background: var(--yellow); }
  body { padding-bottom: 57px; }
  @media (min-width: 901px) { .callbar { display: none; } body { padding-bottom: 0; } }
  @media (max-width: 900px) { nav.main, .lang, .head-phone { display: none; } header.site .btn { min-height: 44px; padding: 10px 16px; } }

  /* ---------- UX lisad 09.10.2026: ikoonid, kiibid, akordion, sammud, kalkulaatorid ---------- */
  .ico { width: 28px; height: 28px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
  .chips { display: flex; flex-wrap: wrap; gap: 8px; }
  .chip { min-height: 44px; padding: 0 16px; border: 1px solid var(--line); background: transparent; font-weight: 600; font-size: var(--fs-small); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; transition: border-color .15s, background .15s, color .15s; }
  .chip:hover { border-color: var(--ink); }
  .chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }

  /* kiirvalik: „millega saame aidata?" */
  .start { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 14px; }
  .start a { display: flex; flex-direction: column; gap: 14px; justify-content: space-between; min-height: 124px; padding: 18px; background: var(--white); border: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: var(--fs-input); line-height: 1.25; transition: border-color .15s, background .15s, color .15s; }
  .start a small { display: block; font-weight: 400; font-size: var(--fs-fine); color: var(--muted); margin-top: 4px; }
  .start a:hover { background: var(--ink); border-color: var(--ink); color: var(--white); } .start a:hover small { color: rgba(255,255,255,.75); }
  @media (min-width: 600px) { .start { grid-template-columns: repeat(3, 1fr); } }
  @media (min-width: 1100px) { .start { grid-template-columns: repeat(6, 1fr); } }

  /* statistika ikoonidega */
  .istats { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .istat { display: flex; align-items: center; gap: 18px; padding: 22px 0; }
  .istat + .istat { border-top: 1px solid var(--line); }
  .istat .ico { width: 38px; height: 38px; }
  .istat b { display: block; font-size: clamp(30px, 3.6vw, 48px); font-weight: 800; line-height: 1; letter-spacing: -.03em; }
  .istat span { font-size: var(--fs-small); color: var(--muted); font-weight: 500; }
  @media (min-width: 600px) { .istats { grid-template-columns: repeat(4, 1fr); } .istat { padding: 30px 0; } .istat + .istat { border-top: 0; border-left: 1px solid var(--line); padding-left: clamp(16px, 2.2vw, 32px); } }

  /* akordion (teenused, viimistlus, KKK) */
  .acc { border-top: 1px solid var(--ink); margin-top: clamp(28px, 4vw, 52px); }
  .acc details { border-bottom: 1px solid var(--line); }
  .acc summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 40px 1fr auto; gap: 16px; align-items: center; padding: 22px 0; min-height: 76px; }
  .acc summary::-webkit-details-marker { display: none; }
  .acc summary h3 { font-size: clamp(20px, 2.3vw, 30px); font-weight: 600; letter-spacing: -.01em; line-height: 1.15; }
  .acc summary small { display: block; font-size: var(--fs-small); color: var(--muted); font-weight: 400; margin-top: 4px; }
  .acc summary .pm { width: 44px; height: 44px; border: 1px solid var(--ink); display: grid; place-items: center; font-size: var(--fs-h4); font-weight: 400; transition: background .15s, color .15s; }
  .acc summary:hover .pm { background: var(--ink); color: var(--white); }
  .acc details[open] summary .pm { background: var(--ink); color: var(--white); }
  .acc details[open] summary .pm::before { content: "−"; } .acc summary .pm::before { content: "+"; }
  .acc .body { display: grid; gap: 22px 48px; padding: 4px 0 30px 56px; }
  .acc .body ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; align-content: start; font-size: var(--fs-ui); }
  .acc .body li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; } .acc .body li::before { content: "—"; color: var(--muted); }
  .acc .body .act { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; margin-top: 4px; }
  @media (min-width: 900px) { .acc .body { grid-template-columns: 1.1fr 1fr; } }
  @media (max-width: 599px) { .acc .body { padding-left: 0; } }

  /* protsessi sammud */
  .proc { display: grid; gap: 0; margin-top: clamp(28px, 4vw, 52px); border-top: 1px solid var(--ink); }
  .proc li { list-style: none; padding: 24px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 40px 1fr; gap: 6px 16px; align-content: start; }
  .proc .k { grid-column: 2; } .proc h3 { grid-column: 2; font-size: var(--fs-h3); font-weight: 600; letter-spacing: -.01em; } .proc p { grid-column: 2; font-size: var(--fs-ui); color: var(--muted); }
  .proc .ico { grid-row: span 3; }
  .proc li.done .k::after { content: " · tehtud ✓"; color: var(--ink); }
  @media (min-width: 900px) { .proc { grid-template-columns: repeat(4, 1fr); } .proc li { border-bottom: 0; padding-right: 24px; } .proc li + li { border-left: 1px solid var(--line); padding-left: 24px; } }

  /* miniboksid avalehel */
  .mini-units { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 22px; max-width: 520px; }
  .mini-units a { display: grid; gap: 4px; padding: 12px; border: 1px solid rgba(255,255,255,.28); text-decoration: none; font-size: var(--fs-fine); min-height: 76px; transition: background .15s, color .15s, border-color .15s; }
  .mini-units a b { font-size: var(--fs-body); font-weight: 800; }
  .mini-units a.free { border-color: var(--yellow); } .mini-units a.free span { color: var(--yellow); font-weight: 600; }
  .mini-units a.booked { color: rgba(255,255,255,.5); }
  .mini-units a:hover { background: var(--white); color: var(--ink); border-color: var(--white); } .mini-units a:hover span { color: var(--ink); }
  @media (min-width: 600px) { .mini-units { grid-template-columns: repeat(6, 1fr); } }

  /* kleepuv valikuriba */
  .selbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--ink); color: var(--white); transform: translateY(110%); transition: transform .25s ease; }
  .selbar.show { transform: none; }
  .selbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
  .selbar .info { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-weight: 600; }
  .selbar .price { font-weight: 800; font-size: var(--fs-md); }
  .selbar .badge { border-color: rgba(255,255,255,.4); color: var(--white); }
  .selbar .btn { min-height: 48px; padding: 10px 20px; }
  .selbar .btn.primary:hover { background: var(--white); border-color: var(--white); color: var(--ink); }
  @media (max-width: 900px) { .selbar.show ~ .callbar { display: none; } }

  /* kuumakse kalkulaator */
  .range { display: grid; gap: 8px; margin-top: 24px; }
  .range .top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
  .range output { font-weight: 800; font-size: var(--fs-md); }
  .range input[type=range] { width: 100%; height: 44px; accent-color: var(--ink); cursor: pointer; }
  .range input[type=number] { font: 600 18px "Montserrat", sans-serif; min-height: 52px; padding: 10px 14px; border: 1px solid var(--ink); background: var(--white); border-radius: 0; width: 140px; }

  /* võrdlus */
  .cmp { width: 100%; border-collapse: collapse; font-size: var(--fs-input); margin-top: clamp(24px, 3vw, 40px); }
  .cmp th, .cmp td { padding: 15px 14px 15px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: baseline; }
  .cmp thead th { border-bottom: 1px solid var(--ink); font-size: var(--fs-h4); font-weight: 800; }
  .cmp tbody th { font-size: var(--fs-label); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); width: 30%; }
  .cmp td { font-weight: 600; }
  .cmp .diff { background: linear-gradient(transparent 62%, var(--yellow) 62%, var(--yellow) 92%, transparent 92%); }
  .icon-row { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 22px; font-size: var(--fs-small); font-weight: 600; }
  .icon-row span { display: inline-flex; align-items: center; gap: 10px; }


  /* ---------- 09.10.2026 ülevaatuse parandused ja uued osad ---------- */
  .tlink { display: inline-block; padding-top: 12px; }
  .head-phone { padding: 10px 0; }
  .cmp-wrap { overflow-x: auto; }
  @media (max-width: 599px) {
    .cmp { font-size: var(--fs-small); table-layout: fixed; }
    .cmp th, .cmp td { padding: 12px 8px 12px 0; word-break: break-word; }
    .cmp thead th { font-size: var(--fs-input); }
    .cmp tbody th { width: 32%; letter-spacing: .06em; font-size: var(--fs-micro); }
  }
  /* põrandatüüpide kaardid */
  .types { display: grid; gap: 8px; margin-top: clamp(28px, 4vw, 52px); grid-template-columns: 1fr; }
  .type { background: var(--white); border: 1px solid var(--line); padding: 22px; display: flex; flex-direction: column; gap: 10px; }
  .type h3 { font-size: var(--fs-h4); font-weight: 600; letter-spacing: -.01em; line-height: 1.2; }
  .type p { font-size: var(--fs-ui); color: var(--muted); }
  .type dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: var(--fs-small); margin: 6px 0 4px; }
  .type dt { color: var(--muted); } .type dd { margin: 0; font-weight: 600; }
  .type .btn { margin-top: auto; min-height: 48px; padding: 10px 18px; align-self: flex-start; }
  @media (min-width: 600px) { .types { grid-template-columns: 1fr 1fr; } }
  @media (min-width: 1100px) { .types { grid-template-columns: repeat(3, 1fr); } }
  /* soovitaja */
  .finder { background: var(--white); border: 1px solid var(--line); padding: clamp(22px, 2.6vw, 36px); margin-top: clamp(28px, 4vw, 52px); }
  .finder .res { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 18px 32px; flex-wrap: wrap; }
  .finder .res b { font-size: clamp(20px, 2.4vw, 28px); font-weight: 800; display: block; }
  .finder .res span { color: var(--muted); font-size: var(--fs-ui); }
  .gal { display: grid; gap: 8px; margin-top: clamp(28px, 4vw, 52px); }
  .gal figure { margin: 0; aspect-ratio: 16 / 9; overflow: hidden; background: var(--stone); } .gal img { height: 100%; object-fit: cover; }
  @media (min-width: 600px) { .gal { grid-template-columns: 1fr 1fr; } }
  /* vormi lisad */
  .file { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
  .file input { position: absolute; width: 1px; height: 1px; opacity: 0; }
  .file label { cursor: pointer; }
  .file input:focus-visible + label { outline: 3px solid var(--ink); outline-offset: 3px; }
  .file .name { font-size: var(--fs-small); color: var(--muted); }
  .summary { background: var(--paper); border: 1px solid var(--line); padding: 16px 18px; margin-bottom: 20px; font-size: var(--fs-small); }
  .summary dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; }
  .summary dt { color: var(--muted); } .summary dd { margin: 0; font-weight: 600; }
  .q input.num { font: 600 18px "Montserrat", sans-serif; min-height: 52px; padding: 10px 14px; border: 1px solid var(--ink); background: var(--white); border-radius: 0; width: 160px; margin-top: 12px; }

  /* päis ei kata ankruga sektsiooni algust */
  section, [id] { scroll-margin-top: 92px; }
  /* telefonis on plaan suurem ja külgsuunas keritav; valitud boks keritakse nähtavale */
  .plan-scroll { margin-top: 34px; }
  .plan-scroll .plan { margin-top: 0; }
  @media (max-width: 599px) {
    .plan-scroll { overflow-x: auto; padding-top: 34px; margin-top: 0; -webkit-overflow-scrolling: touch; }
    .plan-scroll .plan { min-width: 860px; }
    #units .opt { min-width: 46px; padding: 0 12px; }
    .planbar { align-items: flex-start; }
  }
  .cols > * { min-width: 0; }
  .person a.tlink { padding-top: 10px; }

  /* ---------- mobiilimenüü (09.10.2026) ---------- */
  .burger { display: none; align-items: center; gap: 10px; min-height: 44px; padding: 0 2px; background: none; border: 0; font-weight: 600; font-size: var(--fs-ui); cursor: pointer; }
  .burger i { width: 20px; height: 9px; border-top: 2px solid; border-bottom: 2px solid; }
  .mnav { border-top: 1px solid var(--line); background: var(--paper); padding: 4px var(--gutter) 24px; max-height: calc(100vh - 77px); overflow-y: auto; }
  .mnav > a, .mnav summary { display: flex; align-items: center; justify-content: space-between; min-height: 54px; font-weight: 600; font-size: var(--fs-md); text-decoration: none; list-style: none; cursor: pointer; }
  .mnav summary::-webkit-details-marker { display: none; }
  .mnav summary .chev { width: 14px; height: 9px; }
  .mnav .msub { display: grid; background: var(--card); padding: 6px 16px; margin-bottom: 8px; }
  .mnav .msub a { display: flex; align-items: center; min-height: 48px; font-size: var(--fs-input); font-weight: 500; text-decoration: none; }
  .mnav > a[aria-current], .msub a[aria-current] { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 5px; }
  .mnav .mtel { margin-top: 6px; }
  .mnav .lang { display: flex; gap: 6px; margin-top: 18px; }
  .mnav .lang a { display: grid; place-items: center; min-width: 52px; min-height: 44px; background: var(--card); }
  .mnav .lang a.on { background: var(--ink); color: var(--white); }
  @media (max-width: 900px) { .burger { display: inline-flex; } }
  @media (min-width: 901px) { .mnav { display: none !important; } }

  /* ---------- kaardisüsteem v2 (09.10.2026) ----------
     Üks kaart kõigile plokkidele: sektsiooni taustast veidi erinev toon (mitte valge), ilma raami ja joonteta,
     täisnurkne. Ikoon on kas kaardi ülaosas teksti kohal või real vasakul, esimese tekstireaga samal kõrgusel. */
    section.stone, .team { --card: var(--paper); }
  .card { display: flex; flex-direction: column; background: var(--card); padding: clamp(24px, 2.4vw, 36px); }
  .card > .ico { margin-bottom: 24px; }
  .card h3 { font-size: var(--fs-h3); font-weight: 600; letter-spacing: -.01em; line-height: 1.2; margin-top: 6px; }
  .card p { font-size: var(--fs-ui); color: var(--muted); margin-top: 10px; }
  .card .go { margin-top: auto; padding-top: 28px; font-size: var(--fs-small); font-weight: 600; }
  /* tekstile järgnev nupurida: alati sama vahe */
  .act { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; margin-top: 28px; }

  /* statistika: suur arv ja silt, ilma ikoonide ja joonteta */
  .istats { grid-template-columns: 1fr 1fr; gap: 32px 24px; border: 0; padding-top: clamp(48px, 7vw, 96px); }
  .istat, .istat + .istat { display: block; padding: 0; border: 0; }
  .istat b { font-size: clamp(40px, 5vw, 72px); }
  .istat span { display: block; margin-top: 10px; }
  @media (min-width: 600px) { .istats { grid-template-columns: repeat(4, 1fr); } .istat, .istat + .istat { padding: 0; border: 0; } }

  /* akordion kaartidena; ikoon pealkirja esimese reaga samal kõrgusel */
  .acc { display: grid; gap: 8px; border-top: 0; margin-top: clamp(36px, 5vw, 64px); }
  .acc details { border-bottom: 0; background: var(--card); padding: 0 clamp(18px, 2.2vw, 32px); }
  .acc summary { grid-template-columns: 28px 1fr auto; gap: 18px; align-items: start; padding: 26px 0; min-height: 0; }
  .acc summary h3 { font-size: clamp(19px, 1.9vw, 24px); line-height: 1.2; }
  .acc summary .ico { width: 26px; height: 26px; margin-top: 1px; }
  .acc summary .pm { width: 40px; height: 40px; margin-top: -4px; }
  .acc .body { padding: 2px 0 34px 46px; }
  .acc .body .act { margin-top: 28px; }
  @media (max-width: 599px) { .acc .body { padding-left: 0; } }

  /* sammud kaartidena, ikoon teksti kohal */
  .proc { gap: var(--gap); border-top: 0; margin-top: clamp(36px, 5vw, 64px); grid-template-columns: 1fr; }
  .proc li, .proc li + li { display: flex; flex-direction: column; background: var(--card); padding: clamp(24px, 2.4vw, 32px); border: 0; }
  .proc .ico { margin-bottom: 24px; }
  .proc h3 { margin-top: 6px; } .proc p { margin-top: 10px; }
  @media (min-width: 600px) { .proc { grid-template-columns: 1fr 1fr; } }
  @media (min-width: 900px) { .proc { grid-template-columns: repeat(4, 1fr); } .proc li { min-height: 240px; } }

  /* teised kaardid samasse süsteemi */
  .type, .start a { background: var(--card); border: 0; }
  .types, .start { gap: var(--gap); }

  /* pikemad vastusevariandid vormis */
  .opt { padding: 8px 16px; line-height: 1.3; text-align: left; }
  /* jalus */
  .foot .tag { font-weight: 400; } .foot .tag b { font-weight: 800; }
  .legal { align-items: center; }
  footer a { text-decoration: none; } footer a[href]:hover { color: var(--yellow); text-decoration: underline; text-underline-offset: 4px; } /* jaluses joon ainult hiirega peal */
  .legal .by a { color: var(--white); }

  /* ---------- vormid: e-post + telefon kohustuslikud, nõusolek, lõksuväli (11.10.2026) ---------- */
  .hp { position: absolute; width: 0; height: 0; overflow: hidden; } .hp input { height: 0; padding: 0; border: 0; }
  .agree { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; margin-top: 18px; font-size: var(--fs-small); line-height: 1.45; cursor: pointer; }
  .agree input { width: 22px; height: 22px; margin: 0; accent-color: var(--ink); }
  .send-err { margin-top: 14px; color: var(--err); font-weight: 600; font-size: var(--fs-small); }
  .inp.bad textarea { border-color: var(--err); }
  .mini-form .ok { font-weight: 600; font-size: var(--fs-md); }
  .mini-form .agree { margin-top: 0; }

  /* ---------- fotode täisvaade (kõik lehed) ---------- */
  .lb { border: 0; padding: 0; margin: 0; width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; background: rgba(20,22,24,.97); color: var(--white); }
  .lb::backdrop { background: rgba(20,22,24,.97); }
  .lb[open] { display: grid; grid-template-rows: auto 1fr auto; }
  .lb-top, .lb-bot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px clamp(12px, 3vw, 32px); }
  .lb-top .g-count { margin: 0; }
  .lb button { min-width: 48px; min-height: 48px; padding: 0 16px; background: transparent; border: 1px solid rgba(255,255,255,.4); color: var(--white); font-weight: 600; font-size: var(--fs-ui); cursor: pointer; }
  .lb button:hover { background: var(--white); color: var(--ink); }
  .lb-stage { min-height: 0; display: grid; place-items: center; padding: 0 clamp(0px, 3vw, 32px); }
  .lb-stage img { width: auto; height: auto; max-width: 100%; max-height: calc(100vh - 168px); max-height: calc(100dvh - 168px); object-fit: contain; }
  .lb-cap { font-size: var(--fs-small); color: rgba(255,255,255,.78); }
  .lb-bot .g-nav { gap: 8px; }
  body:has(.lb[open]) { overflow: hidden; }
  .lb .g-count { font-size: var(--fs-small); font-weight: 600; letter-spacing: .08em; }
  .lb .g-nav { display: flex; gap: 8px; }
  .lb :focus-visible { outline-color: var(--yellow); }
  .istat b { white-space: nowrap; }

  /* kollane plokk: pealkiri ja kõrvalolev tekst algavad samalt joonelt */
  .poster .cols { align-items: start; }
  .poster .cols > h2 { margin-top: 0; }
  .poster .cols > div > h2:first-child { margin-top: 0; }
  @media (min-width: 900px) { .poster .cols > form { margin-top: 10px; } }

  /* ---------- fotorida (üldine): pildid õiges kujus, järgmine paistab välja; ise ei liigu ---------- */
  .frail-wrap { margin-top: clamp(28px, 4vw, 52px); }
  .view-rail { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; height: clamp(300px, 78vw, 600px); }
  .view-rail::-webkit-scrollbar { display: none; }
  .view-rail figure { flex: none; margin: 0; height: 100%; max-width: 88%; scroll-snap-align: start; background: var(--stone); overflow: hidden; }
  .view-rail img { height: 100%; width: auto; max-width: none; }
  @media (min-width: 900px) { .view-rail { height: clamp(420px, 40vw, 600px); } }
  .view-bar { display: flex; align-items: center; gap: 12px 20px; margin-top: 12px; }
  .view-bar .g-count { font-size: var(--fs-small); font-weight: 600; letter-spacing: .08em; white-space: nowrap; }
  .view-bar .g-nav { display: flex; gap: 10px; margin-left: auto; }
  .view-cap { flex: 1; min-width: 0; font-size: var(--fs-small); color: var(--muted); }
  .arr-btn { width: 44px; height: 44px; border: 1px solid var(--ink); background: transparent; font-size: var(--fs-body); font-weight: 600; cursor: pointer; display: inline-grid; place-items: center; transition: background .2s, color .2s; }
  .arr-btn:hover:not(:disabled) { background: var(--ink); color: var(--white); }
  .arr-btn:disabled { border-color: var(--line); color: var(--line); cursor: default; }
  @media (max-width: 599px) { .frail-wrap .view-cap { display: none; } }

  /* avalehe boksid: kuus ühesuurust ruutu (3 × 2); enne venitas pikem sõna „Broneeritud" osa ruute laiemaks */
  .mini-units, .mini-units { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 420px; }
  @media (min-width: 600px) { .mini-units { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
  .mini-units a { min-height: 84px; align-content: center; }

  /* Kaardiruudustikud ja kriipsloend (partnerile.html) */
  .g2, .g3, .g4 { display: grid; gap: var(--gap); margin-top: clamp(36px, 5vw, 64px); }
  .g2 .card, .g3 .card, .g4 .card { text-decoration: none; }
  .card p a { font-weight: 600; color: var(--ink); }
  @media (min-width: 600px) { .g2, .g4 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: repeat(3, 1fr); } }
  @media (min-width: 1100px) { .g4 { grid-template-columns: repeat(4, 1fr); } }
  .need { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
  .need li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; } .need li::before { content: "—"; }

  /* ---------- projektikaart, ikoonidega filter ja kandilised nooled (12.10.2026; avaleht ja projektide leht) ---------- */
  .vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .fseg { display: inline-flex; flex-wrap: wrap; gap: 4px; background: var(--card); padding: 5px; }
  .fseg button { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 14px 0 12px; border: 0; background: transparent; font-weight: 600; font-size: var(--fs-ui); cursor: pointer; transition: background .2s; }
  .fseg .ico, .pc .ico { width: 22px; height: 22px; }
  /* .tabchip — eraldi plaadina nupp või link reas (komplekti/mööbli vahelehed .kk-tabid, tootemaailmad .pood-maailmad); valitud = tume (reegel .fseg valituga koos) */
  .tabchip, .kk-tabid button, .pood-maailmad a { display: inline-flex; align-items: center; gap: var(--s2); background: var(--card); color: var(--ink); border: 0; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; }
  .fseg button .n { font-weight: 500; color: var(--muted); }
  .fseg button:hover { background: rgba(255,255,255,.55); }
  .fseg button[aria-pressed="true"], .fseg button[aria-pressed="true"]:hover, .tabchip.on, .tabchip[aria-pressed="true"], .tabchip[aria-selected="true"], .kk-tabid button[aria-selected="true"], .pood-maailmad a.on { background: var(--ink); color: var(--white); } /* valitud olek peab eristuma vähemalt 3:1 (WCAG 1.4.11) */
  .fseg button[aria-pressed="true"] .n { color: rgba(255,255,255,.75); }
  .nav-sq { width: 48px; height: 48px; border: 0; background: var(--card); font-size: var(--fs-md); cursor: pointer; transition: background .2s, color .2s; }
  .nav-sq:hover:not(:disabled) { background: var(--ink); color: var(--white); }
  .nav-sq:disabled { opacity: .35; cursor: default; }
  .pc { display: flex; flex-direction: column; background: var(--card); text-decoration: none; }
  .pc[hidden] { display: none; }
  .pc .tx { padding: 28px 28px 24px; flex: 1; }
  .pc-top { display: flex; align-items: center; gap: 6px; }
  .pc-i { position: relative; width: 38px; height: 38px; flex: none; display: grid; place-items: center; background: var(--paper); transition: background .25s; }
  .pc-i.on { background: var(--yellow); }
  .pc-m { margin-left: auto; padding-left: 10px; text-align: right; font-size: var(--fs-label); font-weight: 600; letter-spacing: .12em; line-height: 1.4; text-transform: uppercase; color: var(--muted); }
  .pc-m span { display: inline-block; white-space: nowrap; }
  @media (max-width: 480px) { .pc-top { flex-wrap: wrap; } .pc-m { flex-basis: 100%; margin: 12px 0 0; padding: 0; text-align: left; } .pc-top:not(:has(.pc-i)) .pc-m { margin-top: 0; } }
  .pc h3 { font-size: 26px; font-weight: 600; line-height: 1.15; letter-spacing: -.015em; margin-top: 18px; }
  .pc p { font-size: var(--fs-ui); margin-top: 10px; }
  .pc .ph { position: relative; aspect-ratio: 1 / 1; margin: 0; overflow: hidden; background: var(--stone); }
  .pc .ph img { height: 100%; object-fit: cover; transition: transform .6s ease; }
  .pc:hover .ph img { transform: scale(1.03); }
  .pc .badge { position: absolute; left: 16px; top: 16px; }
  .pc .go { position: absolute; right: 16px; bottom: 16px; width: 44px; height: 44px; display: grid; place-items: center; background: var(--ink); color: var(--white); font-size: var(--fs-md); transition: background .25s, color .25s; }
  .pc:hover .go, .pc:focus-visible .go { background: var(--yellow); color: var(--ink); }
  @media (prefers-reduced-motion: reduce) { .pc .ph img { transition: none; } .pc:hover .ph img { transform: none; } }

  /* ---------- vene keel: pikad sõnad ei tohi kitsal ekraanil kastist välja ulatuda (12.10.2026) ---------- */
  html[lang="ru"] h1, html[lang="ru"] h2, html[lang="ru"] h3 { overflow-wrap: break-word; }
  html[lang="ru"] .choice, html[lang="ru"] .tile, html[lang="ru"] .istat, html[lang="ru"] .card, html[lang="ru"] .pc .tx, html[lang="ru"] .spec td, html[lang="ru"] .fseg button, html[lang="ru"] .type { min-width: 0; hyphens: auto; overflow-wrap: anywhere; }
  html[lang="ru"] .istat span { hyphens: auto; overflow-wrap: anywhere; }

  /* ---------- ligipääsetavus (audit 13.10.2026) ---------- */
  .skip { position: absolute; left: 12px; top: -80px; z-index: 50; background: var(--ink); color: var(--white); padding: 14px 18px; font-weight: 600; font-size: var(--fs-ui); text-decoration: none; }
  .skip:focus { top: 12px; }
  footer :focus-visible, .selbar :focus-visible, .dev :focus-visible, .lb :focus-visible, .callbar :focus-visible { outline-color: var(--yellow); } /* tumedal taustal kollane fookusraam */
  .selbar .badge.free { color: var(--ink); border-color: var(--yellow); } /* oli valge kollasel, 1,4:1 */
  .selbar .btn.primary { color: var(--ink); } .selbar .btn.primary:hover { background: var(--white); border-color: var(--white); color: var(--ink); }
  @media (max-width: 599px) { header.site .tools > .btn { display: none; } }
  /* 320 px laius (WCAG 1.4.10): ruudustiku lahtrid tohivad kokku tõmbuda ja pikk sõna murdub, selle asemel et leht külgsuunas kerima hakkaks */
  .tiles > *, .choices > *, .istats > *, .acc > *, .trust dl > *, .cols > *, .split > *, .ways > *, .people > *, .pc-grid > * { min-width: 0; }
  h1, h2, h3, .tile, .choice, .istat, .trust dd, .trust dt, .acc summary, .acc .body { overflow-wrap: break-word; }
  .acc summary > *, .choice > * { min-width: 0; }
  @media (max-width: 480px) {
    .choice { grid-template-columns: 44px 1fr; } .choice .p { grid-column: 2; white-space: normal; }
    .tile { padding: 14px 12px; hyphens: auto; overflow-wrap: anywhere; }
    .istat b, .pstats .istat b { white-space: normal; }
  }
  .pal-body > *, .pal-tabs > *, .mini-units > *, .dev-grid > * { min-width: 0; }
  .mini-units a { overflow-wrap: anywhere; }
  @media (max-width: 480px) { .utable { font-size: var(--fs-small); } .utable th, .utable td { padding-right: 6px; } .utable th { letter-spacing: .04em; } .utable .badge { letter-spacing: .02em; padding: 5px 6px; } .mini-units span { font-size: var(--fs-micro); letter-spacing: 0; } }

/* Megamenüü alumine rida: kalkulaatorite koondleht (16.10.2026, teema inc/raam.php) */
.mega-kalk { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px 18px; flex-wrap: wrap; background: var(--stone); padding: 14px 18px; color: var(--ink); text-decoration: none; margin-top: 6px; }
.mega-kalk svg { width: 28px; height: 28px; flex: none; }
.mega-kalk b { font-size: var(--fs-input); font-weight: 700; }
.mega-kalk span:not(.go) { font-size: var(--fs-small); color: var(--muted); flex: 1 1 280px; }
.mega-kalk .go { font-weight: 600; margin-left: auto; white-space: nowrap; }
.mega-kalk:hover { background: var(--card); }

/* Narva mnt 133: igakuine kulu — küte, soe vesi ja ventilatsioon (16.10.2026) */
.heat { margin-top: clamp(32px, 4vw, 48px); padding-top: clamp(24px, 3vw, 32px); border-top: 1px solid var(--line); }
.heat h3 { font-size: clamp(20px, 2vw, 24px); font-weight: 600; }
.heat .seg { margin-top: 8px; }
.range select { font: 600 16px "Montserrat", sans-serif; min-height: 52px; padding: 10px 14px; border: 1px solid var(--ink); background: var(--white); border-radius: 0; width: 100%; min-width: 0; }
.cmp-note { margin-top: 16px; padding: 14px 16px; background: var(--yellow); font-weight: 600; font-size: var(--fs-ui); }
/* Mööblilehe plokis teine nupp: mööbli planeerija (teema inc/moobel.php) */
.mrow .btn.mp-link { margin-top: 8px; }
/* Teenuste lehel viide kalkulaatorile hinnavahemiku all (16.10.2026) */
.kalk-ind { margin-top: 6px; font-size: var(--fs-ui); font-weight: 600; }
.kalk-ind a { color: var(--ink); text-underline-offset: 3px; }

/* Narva mnt 133: „Mis on hinna sees?” kaardid (17.10.2026, konkurentsiülevaate järgi: parkimine, õu, tehnika, kulud, viimistlus, vastutus) */
.incl { display: grid; gap: var(--gap); grid-template-columns: 1fr; margin: clamp(28px, 4vw, 48px) 0 clamp(40px, 5vw, 64px); }
@media (min-width: 600px) { .incl { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .incl { grid-template-columns: repeat(3, 1fr); } }
.incl .card .k { font-size: var(--fs-label); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.incl a.card { color: var(--ink); text-decoration: none; transition: background .2s; }
.incl a.card:hover { background: var(--white); }
#viimistlus-list { scroll-margin-top: var(--sticky-top, 96px); }
