@font-face { font-family: "Figtree"; src: url("/public/fonts/Figtree-500.woff2") format("woff2"), url("/public/fonts/Figtree-500.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/public/fonts/Figtree-700.woff2") format("woff2"), url("/public/fonts/Figtree-700.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/public/fonts/Figtree-800.woff2") format("woff2"), url("/public/fonts/Figtree-800.ttf") format("truetype"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("/public/fonts/CormorantGaramond-700.woff2") format("woff2"); font-weight: 700; font-display: block; }
:root {
  --fjord: #0C2340; --deep: #07162B; --panel: #16365C; --copper: #E08A4F; --copper-deep: #A8501F;
  --sand: #F3C796; --mist: #F3F6FA; --steel: #51657C; --steel-lt: #A9B8C9; --line: #D5DEE9;
  --r: 16px; --hdh: 72px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { font-family: "Figtree", system-ui, sans-serif; font-weight: 500; color: var(--fjord); background: var(--mist); line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-weight: 800; letter-spacing: -0.02em; line-height: 1.05; }
h2 { font-size: clamp(32px, 4.4vw, 52px); }
h3 { font-size: 22px; letter-spacing: -0.01em; line-height: 1.2; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.sec { padding: 96px 0; }
.eyebrow { font-weight: 800; font-size: 15px; color: var(--copper-deep); margin-bottom: 14px; }
.dk .eyebrow, .eyebrow.lt { color: var(--sand); }
.lead { font-size: 19px; color: var(--steel); max-width: 620px; margin-top: 16px; }
.dk { background: var(--fjord); color: #fff; }
.dk .lead { color: var(--steel-lt); }
svg.i { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
:focus-visible { outline: 3px solid var(--copper); outline-offset: 3px; border-radius: 6px; }

/* mygtukai */
.btn { background: transparent; display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: inherit; font-weight: 800; font-size: 17px; border: 0; border-radius: 12px; padding: 15px 24px; text-decoration: none; cursor: pointer; transition: transform .15s, background .15s; }
.btn:active { transform: scale(.98); }
.btn.cu { background: var(--copper); color: var(--fjord); }
.btn.cu:hover { background: #E99A62; }
.btn.nv { background: var(--fjord); color: #fff; }
.btn.nv:hover { background: var(--panel); }
.btn.gh { box-shadow: inset 0 0 0 2px rgba(255,255,255,.6); color: #fff; }
.btn.gh.dkt { box-shadow: inset 0 0 0 2px var(--fjord); color: var(--fjord); }
.btn.sm { padding: 11px 20px; font-size: 15px; }
.btn.big { padding: 18px 28px; font-size: 18px; width: 100%; }

/* antraštė */
.hd { position: fixed; z-index: 50; top: 0; left: 0; right: 0; height: var(--hdh); transition: background .25s, box-shadow .25s; }
.hd-in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.logo .wm { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 700; font-size: 21px; letter-spacing: .2em; text-transform: uppercase; color: #ECDCC6; line-height: 1; }
.logo .lm { width: 48px; height: 35px; flex: none; }
@media (max-width: 720px) { .logo { gap: 9px; } .logo .lm { width: 42px; height: 30px; } .logo .wm { font-size: 18px; letter-spacing: .16em; } }
@media (max-width: 360px) { .logo .lm { width: 36px; height: 26px; } .logo .wm { font-size: 16px; letter-spacing: .12em; } }
.nv { display: flex; gap: 30px; font-weight: 700; font-size: 16px; }
.nv a { text-decoration: none; opacity: .86; }
.nv a:hover { opacity: 1; }
.hd-r { display: flex; align-items: center; gap: 20px; }
.tel { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 800; font-size: 16px; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; color: inherit; cursor: pointer; position: relative; }
.burger i, .burger::before, .burger::after { content: ""; position: absolute; left: 10px; right: 10px; height: 3px; border-radius: 2px; background: currentColor; transition: transform .2s, opacity .2s; }
.burger::before { top: 14px; } .burger i { top: 21px; } .burger::after { top: 28px; }
.burger[aria-expanded="true"]::before { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"]::after { transform: translateY(-7px) rotate(-45deg); }
.burger[aria-expanded="true"] i { opacity: 0; }
.mnav { display: none; position: absolute; top: var(--hdh); left: 0; right: 0; background: var(--fjord); padding: 8px 24px 24px; flex-direction: column; box-shadow: 0 24px 40px rgba(7,22,43,.35); }
.mnav.open { display: flex; }
.mnav a { color: #fff; text-decoration: none; font-weight: 800; font-size: 22px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.12); }

/* pasitikėjimo juosta */
.trust { background: #fff; border-bottom: 1px solid var(--line); }
.trust .wrap { display: flex; justify-content: center; gap: 64px; padding-top: 26px; padding-bottom: 26px; flex-wrap: wrap; }
.t { display: flex; align-items: center; gap: 14px; }
.t .ic { width: 50px; height: 50px; border-radius: 14px; background: var(--mist); display: grid; place-items: center; color: var(--copper-deep); }
.t b { display: block; font-size: 18px; font-weight: 800; line-height: 1.2; }
.t small { font-size: 14px; color: var(--steel); }

/* paslaugos */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.svc { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px; display: flex; flex-direction: column; gap: 12px; position: relative; }
.svc.hl { background: var(--fjord); color: #fff; border-color: var(--fjord); }
.svc .ic { width: 48px; height: 48px; border-radius: 13px; background: var(--mist); color: var(--copper-deep); display: grid; place-items: center; }
.svc.hl .ic { background: var(--panel); color: var(--copper); }
.svc .tag { align-self: flex-start; font-size: 13px; font-weight: 800; padding: 4px 11px; border-radius: 8px; background: var(--sand); color: var(--fjord); }
.svc p { color: var(--steel); font-size: 16px; }
.svc.hl p { color: var(--steel-lt); }
.svc .pr { margin-top: auto; padding-top: 10px; font-weight: 800; font-size: 18px; color: var(--copper-deep); }
.svc.hl .pr { color: var(--copper); }
.svc .pr small { font-weight: 500; font-size: 14px; color: var(--steel); margin-left: 6px; }
.svc.hl .pr small { color: var(--steel-lt); }
.svc .pick { font: inherit; font-weight: 800; font-size: 15px; background: none; border: 0; color: inherit; text-align: left; cursor: pointer; padding: 4px 0; display: inline-flex; gap: 8px; align-items: center; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; text-decoration-color: var(--copper); }

/* skaičiuoklė */
.calc { display: grid; grid-template-columns: 1.05fr 1fr; gap: 28px; margin-top: 40px; align-items: stretch; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 32px; }
.dk .card { background: var(--panel); border-color: rgba(255,255,255,.1); }
.fld { margin-bottom: 20px; }
.fld > label, .fld > .lb { display: flex; justify-content: space-between; font-weight: 800; font-size: 15px; margin-bottom: 8px; }
.fld .val { color: var(--copper-deep); }
.dk .fld .val { color: var(--copper); }
select, input[type=text], input[type=tel], input[type=email], textarea { width: 100%; font: inherit; font-weight: 500; font-size: 17px; color: var(--fjord); background: #fff; border: 2px solid var(--line); border-radius: 12px; padding: 14px 16px; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' fill='none' stroke='%230C2340' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M1 1l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; }
select:focus, input:focus, textarea:focus { outline: none; border-color: var(--fjord); box-shadow: 0 0 0 4px rgba(224,138,79,.35); }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 4px; background: var(--line); outline-offset: 8px; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: var(--copper); border: 4px solid var(--fjord); cursor: grab; }
input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--copper); border: 4px solid var(--fjord); cursor: grab; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; }
.seg button { font: inherit; font-weight: 700; font-size: 15px; padding: 12px 8px; border-radius: 12px; border: 2px solid var(--line); background: #fff; color: var(--fjord); cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--fjord); border-color: var(--fjord); color: #fff; }
.est { text-align: center; padding: 26px 20px; border-radius: 16px; background: var(--fjord); color: #fff; margin-bottom: 18px; }
.est small { display: block; color: var(--steel-lt); font-size: 15px; }
.est .n { display: block; font-size: clamp(44px, 6vw, 64px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; margin: 4px 0; font-variant-numeric: tabular-nums; color: var(--copper); }
.rows .rw { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: 16px; }
.dk .rows .rw { border-color: rgba(255,255,255,.14); }
.rows .rw span:first-child { color: var(--steel); }
.dk .rows .rw span:first-child { color: var(--steel-lt); }
.rows .rw.tot { border-bottom: 0; font-weight: 800; font-size: 19px; }
.rows .rw.tot span:first-child { color: inherit; }
.rows .rw.tot span:last-child { color: var(--copper-deep); }
.dk .rows .rw.tot span:last-child { color: var(--copper); }
.fine { font-size: 14px; color: var(--steel); margin-top: 14px; }
.dk .fine { color: var(--steel-lt); }

/* før/etter */
.cmp { position: relative; overflow: hidden; border-radius: 16px; background: var(--deep); aspect-ratio: 4/3; touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: ew-resize; --pos: 50%; }
.cmp img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.cmp .cmp-b { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.cmp .cmp-h { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 44px; margin-left: -22px; border: 0; background: none; cursor: ew-resize; }
.cmp .cmp-h::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; margin-left: -1.5px; background: var(--copper); box-shadow: 0 0 14px rgba(224,138,79,.7); }
.cmp .cmp-h::after { content: "‹ ›"; position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: var(--copper); color: var(--fjord); font-weight: 800; font-size: 20px; line-height: 44px; letter-spacing: 2px; text-align: center; box-shadow: 0 6px 18px rgba(7,22,43,.4); }
.cmp .lab { position: absolute; bottom: 14px; font-weight: 800; font-size: 13px; padding: 6px 12px; border-radius: 8px; pointer-events: none; }
.cmp .lab.f { left: 14px; background: #fff; color: var(--fjord); }
.cmp .lab.e { right: 14px; background: var(--copper); color: var(--fjord); }

/* galleri */
.filters { display: flex; gap: 10px; margin-top: 28px; flex-wrap: wrap; }
.filters button { font: inherit; font-weight: 800; font-size: 15px; padding: 10px 20px; border-radius: 999px; border: 2px solid var(--fjord); background: transparent; color: var(--fjord); cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--fjord); color: #fff; }
.gal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; }
.gcard figcaption { padding: 14px 4px 0; font-weight: 800; font-size: 17px; line-height: 1.3; }
.gcard figcaption span { display: block; font-weight: 500; font-size: 14px; color: var(--steel); margin-top: 2px; }
.gcard[hidden] { display: none; }

/* trinn */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 44px; counter-reset: s; }
.step { padding-top: 22px; border-top: 3px solid var(--fjord); }
.step .n { font-weight: 800; font-size: 15px; color: var(--copper-deep); margin-bottom: 10px; display: block; }
.step p { color: var(--steel); font-size: 16px; margin-top: 8px; }
.dk .step { border-color: var(--copper); }
.dk .step .n { color: var(--copper); }
.dk .step p { color: var(--steel-lt); }

/* om oss */
.about { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
.about p { color: var(--steel); font-size: 18px; margin-top: 18px; }
.checks { margin-top: 28px; display: grid; gap: 14px; }
.ck { display: flex; gap: 14px; align-items: flex-start; }
.ck .ic { width: 40px; height: 40px; border-radius: 12px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; color: var(--copper-deep); flex: none; }
.ck b { display: block; font-weight: 800; }
.ck span { color: var(--steel); font-size: 15px; }
.ph { border: 2px dashed #9FB1C8; border-radius: 18px; min-height: 320px; display: grid; place-items: center; text-align: center; padding: 28px; color: var(--steel); background: repeating-linear-gradient(135deg, rgba(81,101,124,.05) 0 14px, transparent 14px 28px); }
.ph b { display: block; color: var(--fjord); font-size: 19px; margin-bottom: 6px; }

/* DUK */
.faq { margin-top: 36px; max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 48px 22px 0; font-weight: 800; font-size: 19px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 28px; font-weight: 500; color: var(--copper-deep); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq p { padding: 0 48px 24px 0; color: var(--steel); font-size: 17px; }

/* kontaktas ir forma */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.cl { display: grid; gap: 18px; margin-top: 32px; }
.cl a, .cl div { display: flex; align-items: center; gap: 14px; text-decoration: none; font-weight: 800; font-size: 19px; }
.cl .ic { width: 48px; height: 48px; border-radius: 13px; background: var(--panel); color: var(--copper); display: grid; place-items: center; flex: none; }
.cl small { display: block; font-weight: 500; font-size: 14px; color: var(--steel-lt); }
.qf { background: #fff; color: var(--fjord); border-radius: 22px; padding: 34px; box-shadow: 0 30px 60px rgba(7,22,43,.25); }
.qf .fld { margin-bottom: 18px; }
.qsum { display: flex; align-items: center; gap: 12px; justify-content: space-between; background: var(--mist); border: 1px solid var(--line); border-left: 5px solid var(--copper); border-radius: 12px; padding: 12px 16px; margin-bottom: 20px; font-weight: 700; font-size: 15px; }
.qsum[hidden] { display: none; }
.qsum button { font: inherit; font-weight: 800; background: none; border: 0; color: var(--copper-deep); cursor: pointer; text-decoration: underline; }
.more { font: inherit; font-weight: 800; font-size: 15px; background: none; border: 0; color: var(--copper-deep); cursor: pointer; padding: 4px 0 16px; text-decoration: underline; text-underline-offset: 4px; }
.extra[hidden] { display: none; }
.tips { background: var(--mist); border-radius: 12px; padding: 14px 16px; font-size: 15px; color: var(--steel); margin-bottom: 18px; }
.tips b { color: var(--fjord); display: block; margin-bottom: 4px; }
.qf .fine { text-align: center; }
.err { color: #B42318; font-size: 14px; font-weight: 700; margin-top: 6px; }
.ok { text-align: center; padding: 30px 10px; }
.ok .ic { width: 64px; height: 64px; border-radius: 50%; background: var(--fjord); color: var(--copper); display: grid; place-items: center; margin: 0 auto 16px; }
.ok .ic svg { width: 30px; height: 30px; stroke-width: 3; }
.ok[hidden] { display: none; }

/* poraštė */
.ft { background: var(--deep); color: var(--steel-lt); padding: 64px 0 40px; font-size: 16px; }
.ft-g { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.ft .logo { color: #fff; }
.ft h4 { color: #fff; font-size: 15px; font-weight: 800; margin-bottom: 14px; }
.ft ul { list-style: none; display: grid; gap: 9px; }
.ft a { text-decoration: none; } .ft a:hover { color: #fff; }
.soc { display: flex; gap: 10px; margin-top: 18px; }
.soc a { width: 42px; height: 42px; border-radius: 11px; background: var(--panel); display: grid; place-items: center; color: #fff; }
.ft-b { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; }

/* mobilinė apatinė juosta */
.bar { display: none; position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(12,35,64,.14); padding: 10px 14px calc(12px + env(safe-area-inset-bottom)); gap: 10px; }
.bar .btn { padding: 0; height: 52px; font-size: 16px; }
.bar .ring { flex: 1; box-shadow: inset 0 0 0 2px var(--fjord); color: var(--fjord); }
.bar .chat { width: 52px; box-shadow: inset 0 0 0 2px var(--fjord); color: var(--fjord); }
.bar .go { flex: 1.6; }

/* sutikimas */
.consent { position: fixed; z-index: 70; left: 20px; bottom: 20px; max-width: 420px; background: var(--fjord); color: #fff; border-radius: 18px; padding: 22px; box-shadow: 0 24px 50px rgba(7,22,43,.45); font-size: 15px; }
.consent[hidden] { display: none; }
.consent b { display: block; font-size: 17px; margin-bottom: 6px; }
.consent p { color: var(--steel-lt); }
.consent .cb { display: flex; gap: 10px; margin-top: 16px; }
.consent .btn { flex: 1; padding: 12px 10px; font-size: 15px; }

/* TMF 2026-11-10: 1001–1240 px (planšetė gulsčiai, mažas nešiojamas) – antraštė telpa vienoje eilutėje */
.nv a, .tel, .hd-r .btn { white-space: nowrap; }
@media (min-width: 1001px) and (max-width: 1100px) { .nv { display: none; } .burger { display: block; } }
@media (min-width: 1001px) and (max-width: 1240px) { .hd-in { gap: 16px; } .nv { gap: 18px; font-size: 15px; } .hd-r { gap: 12px; } .tel { font-size: 0; gap: 0; padding: 10px; } .tel .i { width: 22px; height: 22px; } .logo .lm { width: 42px; height: 30px; } .logo .wm { font-size: 18px; letter-spacing: .16em; } }
@media (max-width: 1000px) {
  .svc-grid, .gal { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .calc, .about, .contact { grid-template-columns: 1fr; gap: 32px; }
  .ft-g { grid-template-columns: 1fr 1fr; }
  .nv, .tel { display: none; }
  .burger { display: block; }
}
@media (max-width: 720px) {
  :root { --hdh: 64px; }
  .wrap { padding: 0 20px; }
  .sec { padding: 64px 0; }
  .svc-grid, .gal { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .trust .wrap { gap: 14px; flex-direction: column; align-items: flex-start; padding-top: 20px; padding-bottom: 20px; }
  .card, .qf { padding: 22px; }
  .hd-r .btn { display: none; }
  .bar { display: flex; }
  body { padding-bottom: 76px; }
  .consent { left: 12px; right: 12px; bottom: 88px; max-width: none; }
  .ft-g { grid-template-columns: 1fr; }
  .seg { grid-auto-flow: row; grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

[hidden] { display: none !important; }
.wh { background: #fff; }
.js [data-reveal] { clip-path: inset(0 100% 0 0); opacity: .001; transition: clip-path .9s cubic-bezier(.2,.7,.1,1) calc(var(--i, 0) * 90ms), opacity .3s calc(var(--i, 0) * 90ms); }
.js [data-reveal].in { clip-path: inset(0 0 0 0); opacity: 1; }
.svc .tag { position: absolute; top: 28px; right: 28px; }

/* palietimo taikiniai: bent 44 px */
.logo { min-height: 44px; }
.svc .pick { min-height: 44px; }
.more, .qsum button, .filters button { min-height: 44px; }
.seg button { min-height: 44px; }
.ft ul { gap: 2px; }
.ft ul a, .ft ul li { display: inline-flex; align-items: center; min-height: 44px; }
.fine a { display: inline-block; padding: 12px 2px; }
.soc a { width: 44px; height: 44px; }
.d-more summary { min-height: 44px; display: inline-flex; align-items: center; }
.ft-b a { display: inline-block; padding: 14px 4px; }

/* sutikimas: neuždengti pagrindinio veiksmo */
.consent { left: auto; right: 20px; }
.consent .btn.gh { color: #fff; }
@media (max-width: 1000px) {
  .consent { top: calc(var(--hdh) + 10px); bottom: auto; right: 12px; left: auto; max-width: 400px; padding: 16px 18px; }
}
@media (max-width: 720px) {
  .consent { left: 12px; right: 12px; max-width: none; font-size: 14px; }
  .consent b { font-size: 15px; margin-bottom: 2px; }
  .consent .cb { margin-top: 10px; }
  .consent .btn { padding: 10px 8px; min-height: 44px; }
  .ft-g { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .ft-g > div:first-child, .ft-g > div:last-child { grid-column: 1 / -1; }
}
@media (max-height: 520px) and (min-width: 560px) {
  .consent { top: calc(var(--hdh) + 8px); bottom: auto; left: auto; right: 12px; max-width: 560px; display: flex; align-items: center; gap: 16px; padding: 10px 14px; }
  .consent p { display: none; }
  .consent b { margin: 0; flex: 1; font-size: 15px; }
  .consent .cb { margin: 0; flex: none; }
}
@media (min-width: 721px) and (max-width: 1000px) { .trust .wrap { gap: 18px 36px; } }
.w-copy .h1x, .h1x { font-weight: 800; letter-spacing: -0.02em; line-height: 1.05; }
.consent p a { color: #fff; }
.consent .btn { white-space: nowrap; }
@media (max-height: 520px) and (min-width: 560px) { .consent { left: 12px; right: auto; max-width: 520px; } }
@media (max-width: 720px) and (max-height: 700px) {
  .consent { padding: 10px 12px; top: calc(var(--hdh) + 6px); }
  .consent b { display: none; }
  .consent p { font-size: 13px; }
  .consent .cb { margin-top: 8px; }
  .consent .btn { min-height: 40px; padding: 8px; font-size: 14px; }
}
@media (max-width: 1000px) { .consent { box-shadow: 0 8px 22px rgba(7,22,43,.35); } }

/* MVA jungiklis */
[data-mva="0"] .mva-only, [data-mva="1"] .nomva-only { display: none !important; }
/* paslaugų antra grupė */
.svc-more { margin-top: 56px; }
.svc-more h3 { font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -.02em; }
.svc-more .lead { margin-top: 8px; }
.svc-more + .svc-grid { margin-top: 24px; }
.svc a.pick { color: inherit; }
/* galerija: pora be slankiklio */
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; border-radius: 16px; overflow: hidden; aspect-ratio: 4/3; background: var(--deep); }
.pair > div { position: relative; overflow: hidden; }
.pair img { width: 100%; height: 100%; object-fit: cover; }
.pair .lab { position: absolute; bottom: 14px; left: 10px; font-weight: 800; font-size: 13px; padding: 6px 12px; border-radius: 8px; }
.pair .lab.f { background: #fff; color: var(--fjord); }
.pair .lab.e { background: var(--copper); color: var(--fjord); }
.ft-b .legal { max-width: 720px; }
.about-img { position: relative; border-radius: 18px; overflow: hidden; box-shadow: 0 24px 50px rgba(12,35,64,.16); }
.about-img img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.about-img figcaption { position: absolute; right: 10px; bottom: 10px; background: rgba(7,22,43,.72); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 6px; }
.svc-l { text-decoration: none; color: inherit; background-image: linear-gradient(currentColor, currentColor); background-size: 0 2px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .25s; }
.svc-l:hover, .svc-l:focus-visible { background-size: 100% 2px; }
.ft-b .legal a { text-decoration: underline; text-underline-offset: 3px; display: inline-block; padding: 12px 0; }
/* galerija: vienodos kortelės, be „kabančių“ eilučių (paskutinė eilutė centruojama) */
.gal { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.gal > .gcard { flex: 0 0 calc((100% - 40px) / 3); margin: 0; }
.gal > .gcard[hidden] { display: none; }
.pair { aspect-ratio: 4/3; }
@media (max-width: 1000px) { .gal > .gcard { flex-basis: calc((100% - 20px) / 2); } }
@media (max-width: 720px) { .gal > .gcard { flex-basis: 100%; } }
/* poros: horizontalios viena virš kitos, vertikalios greta; visos kortelės 4:5 */
.gal .pair { aspect-ratio: 4/5; }
.pair.stack { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; }
.pair.side { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; }
.pair > div { min-height: 0; }
.pair .lab { bottom: 10px; left: 10px; }
@media (max-height: 520px) and (min-width: 560px) { .consent { top: auto; bottom: 10px; left: 12px; right: auto; max-width: min(400px, calc(100vw - 460px)); } .consent .cb { gap: 8px; } }

/* A: Nubraukimas: kinematografinis scroll */
.v-a .hd { color: #fff; }
.v-a .hd.sc { background: rgba(12,35,64,.96); backdrop-filter: blur(10px); box-shadow: 0 8px 30px rgba(7,22,43,.25); }
.wipe { position: relative; height: 320vh; background: var(--deep); }
.w-stick { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.w-before, .w-after, .w-edge { position: absolute; inset: 0; width: 100%; height: 100%; }
.w-before, .w-after img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; display: block; }
.w-after { clip-path: polygon(100% 0, 100% 0, 100% 100%, 116% 100%); }
.w-edge { background: var(--copper); clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%); }
.w-scrim { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(7,22,43,.9) 0%, rgba(12,35,64,.66) 36%, rgba(12,35,64,.08) 66%, rgba(12,35,64,0) 100%), linear-gradient(180deg, rgba(7,22,43,.6) 0%, rgba(7,22,43,0) 22%, rgba(7,22,43,0) 70%, rgba(7,22,43,.55) 100%); }
.w-copy { position: absolute; left: 0; right: 0; bottom: 13vh; color: #fff; max-width: 1200px; margin: 0 auto; }
.w-t { display: grid; }
.w-t > div { grid-area: 1 / 1; transition: opacity .55s, transform .55s; max-width: 780px; }
.w-t .c2 { opacity: 0; transform: translateY(18px); pointer-events: none; }
.is-after .w-t .c1 { opacity: 0; transform: translateY(-18px); pointer-events: none; }
.is-after .w-t .c2 { opacity: 1; transform: none; pointer-events: auto; }
.w-copy :is(h1,.h1x) { font-size: clamp(42px, 7.2vw, 104px); }
.w-copy p { font-size: clamp(17px, 1.7vw, 22px); color: #DCE5F0; margin-top: 18px; max-width: 520px; }
.w-copy .eyebrow { margin-bottom: 16px; }
.w-cta { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.w-chips { position: absolute; right: max(24px, calc((100vw - 1200px) / 2 + 24px)); bottom: 13vh; }
.w-chips span { display: inline-block; font-weight: 800; font-size: 15px; padding: 8px 16px; border-radius: 10px; }
.w-chips .f { background: #fff; color: var(--fjord); }
.w-chips .e { display: none; background: var(--copper); color: var(--fjord); }
.is-after .w-chips .f { display: none; } .is-after .w-chips .e { display: inline-block; }
.w-hint { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); color: #fff; font-weight: 700; font-size: 14px; text-align: center; opacity: calc(1 - var(--t, 0) * 40); pointer-events: none; }
.w-hint i { display: block; width: 14px; height: 14px; margin: 8px auto 0; border-right: 3px solid var(--copper); border-bottom: 3px solid var(--copper); transform: rotate(45deg); animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 0%,100% { transform: translateY(0) rotate(45deg); } 50% { transform: translateY(8px) rotate(45deg); } }
@media (max-width: 720px) {
  .wipe { height: 280vh; }
  .w-scrim { background: linear-gradient(180deg, rgba(7,22,43,.7) 0%, rgba(7,22,43,.05) 26%, rgba(7,22,43,.25) 44%, rgba(7,22,43,.92) 100%); }
  .w-copy { bottom: 11vh; }
  .w-chips { right: 20px; bottom: auto; top: 84px; }
  .w-before, .w-after img { object-position: 66% 50%; }
  .w-hint { bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) { .w-hint i { animation: none; } }

@media (prefers-reduced-motion: reduce) { .wipe { height: auto; } .w-stick { position: relative; height: 100svh; } }

/* D: A hero (nubraukimas) + B skaičiuoklė pirmame ekrane */
.v-d .w-copy { top: var(--hdh); bottom: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 24px; padding-bottom: max(5vh, 40px); }
.v-d .w-t > div { max-width: 700px; }
.v-d .w-copy :is(h1,.h1x) { font-size: clamp(36px, 5.2vw, 76px); }
.v-d .w-copy .eyebrow { margin-bottom: 12px; }
.v-d .w-copy p { margin-top: 14px; font-size: clamp(16px, 1.5vw, 20px); }
.d-calc { width: min(100%, 560px); padding: 22px 24px; border-radius: 20px; box-shadow: 0 30px 60px rgba(7,22,43,.45); color: var(--fjord); }
.d-calc .fld { margin-bottom: 14px; }
.d-calc .fld > label, .d-calc .fld > .lb { margin-bottom: 6px; }
.d-calc select { padding: 12px 44px 12px 14px; font-size: 16px; }
.d-res { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: var(--fjord); color: #fff; border-radius: 14px; padding: 14px 16px; }
.d-res small { display: block; color: var(--steel-lt); font-size: 13px; }
.d-res .n { display: block; font-size: clamp(30px, 3.4vw, 40px); font-weight: 800; letter-spacing: -.03em; color: var(--copper); font-variant-numeric: tabular-nums; line-height: 1.1; }
.d-more { margin: 2px 0 12px; }
.d-more summary { cursor: pointer; font-weight: 800; font-size: 14px; color: var(--copper-deep); list-style: none; text-decoration: underline; text-underline-offset: 4px; display: inline-block; }
.d-more summary::-webkit-details-marker { display: none; }
.d-more .fld { margin: 12px 0 0; }
.d-more .seg button { padding: 9px 4px; font-size: 14px; }
.d-calc .fine { margin-top: 10px; font-size: 13px; }
.v-d .w-chips { bottom: max(5vh, 40px); }
.v-d .w-hint { left: auto; right: 24px; transform: none; bottom: calc(max(5vh, 40px) + 56px); text-align: right; }
.v-d .w-hint i { margin-right: 6px; margin-left: auto; }
@media (max-height: 800px) and (min-width: 721px) { .v-d .w-t p { display: none; } .v-d .w-copy { gap: 18px; } }
@media (max-width: 720px) {
  .v-d .w-copy { padding-bottom: 92px; gap: 16px; }
  .v-d .w-t p { display: none; }
  .v-d .w-copy :is(h1,.h1x) { font-size: 34px; }
  .v-d .w-copy .eyebrow { font-size: 13px; }
  .v-d .w-chips { top: 80px; bottom: auto; }
  .v-d .w-hint { display: none; }
  .d-calc { padding: 16px; width: 100%; }
  .d-res { padding: 12px 14px; }
  .d-res .btn { padding: 13px 16px; font-size: 16px; }
}
.v-d .hd { color: #fff; }
.v-d .hd.sc { background: rgba(12,35,64,.96); backdrop-filter: blur(10px); box-shadow: 0 8px 30px rgba(7,22,43,.25); }
.v-d .w-copy .d-calc p.fine { color: var(--steel); margin-top: 10px; }
.v-d .w-copy .d-calc p.fine b { color: var(--fjord); }
.d-res .btn { white-space: nowrap; }
.d-res .btn .sm { display: none; }
.v-d .w-copy :is(h1,.h1x) { text-shadow: 0 2px 24px rgba(7,22,43,.5); }
@media (max-width: 720px) {
  .v-d .w-copy .eyebrow { display: none; }
  .v-d .w-scrim { background: linear-gradient(180deg, rgba(7,22,43,.72) 0%, rgba(7,22,43,.12) 22%, rgba(7,22,43,.5) 40%, rgba(7,22,43,.9) 64%, rgba(7,22,43,.96) 100%); }
  .d-res .btn .lg { display: none; } .d-res .btn .sm { display: inline; }
  .d-res small { font-size: 12px; }
  .d-res .n { font-size: 32px; }
}
@media (max-width: 720px) and (max-height: 720px) {
  .v-d .w-copy { padding-bottom: 84px; gap: 10px; }
  .v-d .w-copy :is(h1,.h1x) { font-size: 26px; }
  .d-calc { padding: 12px 14px; }
  .d-calc .fld { margin-bottom: 8px; }
  .d-calc select { padding: 9px 40px 9px 12px; }
  .d-calc .fld > label, .d-calc .fld > .lb { font-size: 14px; margin-bottom: 4px; }
  .d-more { margin: 0 0 8px; }
  .d-more summary { min-height: 40px; }
  .d-res { padding: 8px 12px; }
  .d-res .n { font-size: 28px; }
  .d-calc p.fine { display: none; }
}
.d-res .btn .xs { display: none; }
.d-res .n { white-space: nowrap; }
@media (max-width: 720px) and (max-height: 600px) {
  .v-d .w-copy :is(h1,.h1x) { font-size: 22px; }
  .d-calc .fld:first-child > label { display: none; }
  .d-more { display: none; }
  .d-res small[data-out="per"] { display: none; }
}
@media (max-width: 340px) {
  .d-res .btn .sm { display: none; } .d-res .btn .xs { display: inline; }
  .d-res .btn { padding: 12px 14px; }
  .d-res .n { font-size: 26px; }
}

/* „Juster…“ atidarytas: vietos skaičiuoklei, antraštė nelenda po header */
.calc-open .w-t .eyebrow, .calc-open .w-t p { display: none; }
.v-d .calc-open .w-copy :is(h1,.h1x) { font-size: clamp(26px, 3vw, 44px); }
@media (max-width: 720px) {
  .calc-open .w-t { display: none; }
  .d-more .seg { grid-auto-flow: column; grid-template-columns: none; gap: 6px; }
  .d-more .seg button { padding: 8px 2px; font-size: 13px; min-height: 40px; }
}
/* gulsčias telefonas ir žemi ekranai */
@media (max-height: 520px) and (min-width: 560px) {
  .v-d .w-copy { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 24px; padding-bottom: 14px; }
  .v-d .w-t { flex: 1; align-self: center; }
  .v-d .w-t .eyebrow, .v-d .w-t p { display: none; }
  .v-d .w-copy :is(h1,.h1x) { font-size: 30px; }
  .d-calc { width: 380px; flex: none; padding: 12px 14px; }
  .d-calc .fld { margin-bottom: 8px; }
  .d-calc .fld:first-child > label, .d-more, .d-calc p.fine, .d-res small[data-out="per"] { display: none; }
  .d-calc select { padding: 9px 40px 9px 12px; }
  .d-res { padding: 8px 12px; } .d-res .n { font-size: 26px; }
  .v-d .w-chips, .v-d .w-hint { display: none; }
  .v-d .w-scrim { background: linear-gradient(90deg, rgba(7,22,43,.9) 0%, rgba(12,35,64,.55) 45%, rgba(12,35,64,.25) 100%), linear-gradient(180deg, rgba(7,22,43,.6) 0%, rgba(7,22,43,0) 30%); }
}

@media (min-width: 721px) and (max-height: 820px) { .calc-open .w-t { display: none; } }
@media (max-width: 720px) {
  .v-d .w-scrim { background: linear-gradient(180deg, rgba(7,22,43,.72) 0%, rgba(7,22,43,.12) 14%, rgba(7,22,43,.72) 27%, rgba(7,22,43,.92) 48%, rgba(7,22,43,.96) 100%); }
}

/* ===== TMF 2026-10-30 (3): stačias ekranas — visa nuotrauka prisegta, pilna skaičiuoklė po hero, be šuolių ===== */
.d-slot { display: none; }
@media (orientation: portrait) {
  .v-d .wipe { --ph: calc(100vw * 551 / 1202); --fs: clamp(26px, 7.6vw, 40px); --head: calc(36px + 2.1 * var(--fs)); --range: clamp(180px, 30svh, 260px);
    --stage: calc(var(--hdh) + var(--ph) + var(--head)); height: calc(var(--stage) + var(--range)); background: var(--fjord); }
  .v-d .w-stick { height: var(--stage); background: var(--fjord); z-index: 1; }
  .v-d .w-before, .v-d .w-after, .v-d .w-edge { top: var(--hdh); bottom: auto; height: var(--ph); }
  .v-d .w-before, .v-d .w-after img { object-fit: cover; object-position: 50% 50%; }
  .v-d .w-scrim { top: var(--hdh); bottom: auto; height: var(--ph); background: linear-gradient(180deg, rgba(7,22,43,.3) 0%, rgba(7,22,43,0) 25%, rgba(7,22,43,0) 80%, rgba(12,35,64,.8) 100%); }
  .v-d .w-copy { top: calc(var(--hdh) + var(--ph)); bottom: 0; padding: 18px 20px 0; justify-content: flex-start; gap: 0; }
  .v-d .w-t .eyebrow, .v-d .w-t p { display: none; }
  .v-d .w-copy :is(h1,.h1x) { font-size: var(--fs); text-shadow: none; }
  .v-d .w-chips { top: calc(var(--hdh) + 10px); bottom: auto; right: 12px; }
  .v-d .w-hint { display: none; }
  .v-d .wipe::after { content: "Bla ned for å vaske taket"; position: absolute; left: 0; right: 0; top: calc(var(--stage) + 22px); text-align: center; color: var(--steel-lt); font-weight: 700; font-size: 14px; }
  .d-slot { display: block; position: relative; z-index: 2; background: var(--fjord); padding: 0 16px 32px; }
  .d-slot .d-calc { width: 100%; max-width: 560px; margin: 0 auto; padding: 20px; box-shadow: 0 24px 50px rgba(7,22,43,.35); }
  .d-slot .d-calc .fld, .d-slot .d-calc .fld:first-child > label { display: block; }
  .d-slot .d-calc .fld > .lb { display: flex; }
  .d-slot .d-calc .fld { margin-bottom: 16px; }
  .d-slot .d-calc .d-more { display: block; margin: 0 0 16px; }
  .d-slot .d-calc .d-more > summary { display: none; }
  .d-slot .d-calc .d-more .fld { margin: 0 0 16px; }
  .d-slot .d-calc .d-more .seg { grid-auto-flow: column; grid-template-columns: none; gap: 6px; }
  .d-slot .d-calc .d-more .seg button { padding: 10px 2px; font-size: 14px; min-height: 44px; }
  .d-slot .d-calc p.fine { display: block; }
  .d-slot .d-res small[data-out="per"] { display: block; }
}

/* Tjenesteside (šablonas visoms paslaugoms) */
body.v-s { padding-top: var(--hdh); }
.v-s .hd { background: var(--fjord); color: #fff; }
.s-hero { padding: 48px 0 72px; background: linear-gradient(180deg, #fff 0%, var(--mist) 100%); }
.s-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.s-hero h1 { font-size: clamp(36px, 4.8vw, 62px); }
.crumb { display: flex; gap: 8px; align-items: center; font-size: 14px; font-weight: 700; color: var(--steel); margin-bottom: 22px; flex-wrap: wrap; }
.crumb a { text-decoration: none; color: var(--steel); padding: 10px 0; }
.crumb a:hover { color: var(--fjord); text-decoration: underline; }
.crumb [aria-current] { color: var(--fjord); }
.s-cta { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.s-pts { list-style: none; margin-top: 26px; display: grid; gap: 10px; font-weight: 700; }
.s-pts li { display: flex; gap: 10px; align-items: center; }
.s-pts svg { color: var(--copper-deep); }
.s-vis .cmp { aspect-ratio: 5/4; border-radius: 22px; box-shadow: 0 30px 60px rgba(12,35,64,.2); }
.s-vis figcaption { margin-top: 12px; font-size: 14px; color: var(--steel); text-align: center; }
.s-two { display: grid; grid-template-columns: 1.2fr .9fr; gap: 56px; align-items: start; }
.s-incl { list-style: none; margin-top: 32px; display: grid; gap: 4px; counter-reset: n; }
.s-incl li { display: flex; gap: 18px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.s-incl .ic { width: 48px; height: 48px; border-radius: 13px; background: #fff; border: 1px solid var(--line); color: var(--copper-deep); display: grid; place-items: center; flex: none; }
.s-incl b { display: block; font-size: 19px; font-weight: 800; }
.s-incl span { color: var(--steel); }
.s-price { position: sticky; top: calc(var(--hdh) + 24px); }
.s-price h3 { font-size: 26px; margin: 4px 0 10px; }
.s-price p { color: var(--steel); }
.s-price ul { list-style: none; margin: 18px 0 24px; display: grid; gap: 10px; }
.s-price li { display: flex; gap: 10px; align-items: flex-start; font-weight: 700; }
.s-price li svg { color: var(--copper-deep); margin-top: 2px; }
.rel-g { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.rel { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; text-decoration: none; color: var(--fjord); transition: transform .2s, box-shadow .2s; }
.rel:hover { transform: translateY(-3px); box-shadow: 0 18px 36px rgba(12,35,64,.12); }
.rel img, .rel .r-ic { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.rel .r-ic { display: grid; place-items: center; background: var(--mist); color: var(--copper-deep); }
.rel .r-ic svg { width: 48px; height: 48px; }
.rel > div { padding: 18px 20px 22px; display: grid; gap: 6px; }
.rel b { font-size: 19px; font-weight: 800; }
.rel span { color: var(--steel); font-size: 15px; }
.rel em { font-style: normal; font-weight: 800; font-size: 15px; display: inline-flex; gap: 6px; align-items: center; color: var(--copper-deep); margin-top: 4px; }
@media (max-width: 1000px) { .s-grid, .s-two { grid-template-columns: 1fr; gap: 36px; } .s-price { position: static; } .rel-g { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .s-hero { padding: 16px 0 44px; } .crumb { margin-bottom: 8px; } .s-gal, .rel-g { grid-template-columns: 1fr; } .s-cta { flex-direction: column; } .s-cta .btn { width: 100%; } .s-pts { display: none; } .s-vis .cmp { aspect-ratio: 4/3; } .rel .r-ic { aspect-ratio: 16/6; } }

.rel .r-ic { background: var(--fjord); color: var(--copper); }
@media (max-width: 1000px) { .v-s .consent { top: auto; bottom: 96px; } }
@media (min-width: 721px) and (max-width: 1000px) { .v-s .consent { bottom: 20px; } }
@media (max-width: 720px) and (max-height: 700px) {
  .v-s .s-hero .crumb, .v-s .s-hero .eyebrow { display: none; }
  .v-s .s-hero h1 { font-size: 30px; }
  .v-s .s-hero .lead { font-size: 16px; margin-top: 10px; }
  .v-s .s-cta { margin-top: 16px; gap: 8px; }
}
.s-ai { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 5/4; box-shadow: 0 30px 60px rgba(12,35,64,.2); }
.s-ai img { width: 100%; height: 100%; object-fit: cover; object-position: 45% 50%; }
.s-ai .lab { position: absolute; bottom: 14px; font-weight: 800; font-size: 13px; padding: 6px 12px; border-radius: 8px; }
.s-ai .lab.f { left: 14px; background: #fff; color: var(--fjord); }
.s-ai .lab.e { right: 14px; background: var(--copper); color: var(--fjord); }
@media (max-width: 720px) { .s-ai { aspect-ratio: 4/3; } }
/* stogų puslapiai */
.s-side { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; border-radius: 22px; overflow: hidden; aspect-ratio: 5/4; box-shadow: 0 30px 60px rgba(12,35,64,.2); background: var(--deep); }
.s-side > div { position: relative; overflow: hidden; }
.s-side img { width: 100%; height: 100%; object-fit: cover; }
.s-side .lab { position: absolute; bottom: 14px; left: 12px; font-weight: 800; font-size: 13px; padding: 6px 12px; border-radius: 8px; }
.s-side .lab.f { background: #fff; color: var(--fjord); } .s-side .lab.e { background: var(--copper); color: var(--fjord); }
.s-ph { border-radius: 22px; aspect-ratio: 5/4; background: var(--fjord); color: #fff; display: grid; place-items: center; text-align: center; box-shadow: 0 30px 60px rgba(12,35,64,.2);
  background-image: radial-gradient(600px 400px at 70% 20%, rgba(224,138,79,.22), transparent 70%); }
.s-ph svg { width: 72px; height: 72px; color: var(--copper); margin: 0 auto 14px; display: block; }
.s-ph b { display: block; font-size: 26px; font-weight: 800; }
.s-ph span { color: var(--steel-lt); font-size: 15px; }
.s-prose { max-width: 780px; }
.s-prose p { font-size: 18px; color: var(--steel); margin-top: 16px; line-height: 1.65; }
.steps.s3 { grid-template-columns: repeat(3, 1fr); }
.s-incl a { color: var(--copper-deep); font-weight: 700; display: inline-block; padding: 6px 0; }
.s-calc .est { margin: 6px 0 18px; }
.s-calc .fld { margin-bottom: 16px; }
.s-calc .seg button { padding: 10px 4px; font-size: 14px; }
@media (max-width: 1000px) { .steps.s3 { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .s-side, .s-ph { aspect-ratio: 4/3; } .s-calc .seg { grid-auto-flow: row; grid-template-columns: 1fr 1fr; } }
/* Om oss: selskapsinformasjon */
.co-w { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.co { border-top: 2px solid var(--fjord); }
.co-r { display: grid; grid-template-columns: 200px 1fr; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.co dt { font-weight: 800; color: var(--steel); font-size: 15px; }
.co dd { font-weight: 700; font-size: 17px; }
.co a { color: var(--fjord); text-underline-offset: 3px; }
.v-s .about { align-items: center; }
@media (max-width: 1000px) { .co-w { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 720px) { .co-r { grid-template-columns: 1fr; gap: 2px; padding: 12px 0; } }
.s-gal.n2 > .gcard, .s-gal.n4 > .gcard { flex-basis: calc((100% - 20px) / 2); }
.s-gal.n1 > .gcard { flex-basis: min(100%, 560px); }
@media (max-width: 720px) { .s-gal > .gcard { flex-basis: 100% !important; } }
.s-side.stack { display: grid; grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; aspect-ratio: 1/1; }
.s-side.side { display: grid; grid-template-columns: 1fr 1fr; aspect-ratio: 5/4; }
.s-side > div { min-height: 0; }
.s-side .lab { bottom: 12px; left: 12px; }
@media (max-width: 720px) { .s-side.stack { aspect-ratio: 4/5; } }
.s-ai.s-3 { aspect-ratio: 3/2; }
.s-ai.s-3 img { object-position: 50% 50%; }
.s3l { position: absolute; bottom: 12px; font-weight: 800; font-size: 13px; padding: 6px 12px; border-radius: 8px; background: #fff; color: var(--fjord); }
.s3l:last-of-type { background: var(--copper); }
@media (max-width: 720px) { .s-ai.s-3 { aspect-ratio: 3/2; } .s3l { font-size: 12px; padding: 5px 8px; bottom: 8px; } }
.s-vid video { width: 100%; height: 100%; object-fit: cover; display: block; background: var(--deep); }

/* ===== TMF 2026-11-10: stogo tipų (i) paaiškinimai ===== */
.seg { position: relative; }
.seg .opt { display: grid; min-width: 0; }
.seg .opt > * { grid-area: 1 / 1; }
.seg .opt > button[data-v] { width: 100%; }
.seg .tip { justify-self: end; align-self: start; margin: -8px -6px 0 0; position: relative; z-index: 2; display: grid; place-items: center;
  width: 20px !important; height: 20px !important; min-height: 0 !important; padding: 0 !important; border-radius: 50% !important;
  border: 1.5px solid var(--copper-deep) !important; background: #fff !important; color: var(--copper-deep) !important;
  font: italic 700 12px/1 Georgia, "Times New Roman", serif !important; cursor: help; }
.seg .tip::before { content: ""; position: absolute; inset: -10px; }
.seg .tip:hover, .seg .tip[aria-expanded="true"] { background: var(--copper-deep) !important; color: #fff !important; }
.seg .tt { position: absolute; left: 0; right: 0; bottom: calc(100% + 10px); z-index: 30; background: var(--fjord); color: #fff;
  font: 600 13px/1.4 "Figtree", system-ui, sans-serif; text-align: left; padding: 10px 12px; border-radius: 10px;
  box-shadow: 0 10px 24px rgba(7,22,43,.3); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .15s, visibility .15s; }
.seg .tip:hover + .tt, .seg .tip:focus-visible + .tt, .seg .tip[aria-expanded="true"] + .tt { opacity: 1; visibility: visible; }

/* ===== TMF 2026-11-10: titulinio skaičiuoklė visada pilna (be „Juster…“) ===== */
.d-more { display: block; }

/* ===== TMF 2026-11-10: gulsčias ekranas iki 979 px aukščio — antraštė kairėje, skaičiuoklė dešinėje ===== */
@media (orientation: landscape) and (min-width: 721px) and (min-height: 521px) and (max-height: 979px) {
  .v-d .w-copy { flex-direction: row; align-items: center; justify-content: space-between; gap: 40px; padding-top: 16px; padding-bottom: 84px; }
  .v-d .w-t { flex: 1; min-width: 0; align-self: center; }
  .v-d .w-copy :is(h1,.h1x) { font-size: clamp(32px, 4.4vw, 64px); }
  .d-calc { width: clamp(360px, 40vw, 480px); flex: none; }
  .v-d .w-chips { right: auto; left: max(24px, calc((100vw - 1200px) / 2 + 24px)); bottom: max(4vh, 24px); }
  .v-d .w-hint { right: auto; left: max(24px, calc((100vw - 1200px) / 2 + 24px)); text-align: left; bottom: calc(max(4vh, 24px) + 52px); }
  .v-d .w-hint i { margin-left: 0; }
}
@media (orientation: landscape) and (min-width: 721px) and (min-height: 521px) and (max-height: 760px) {
  .v-d .w-copy :is(h1,.h1x) { font-size: clamp(28px, 3.6vw, 48px); }
  .d-calc { padding: 14px 18px; }
  .d-calc .fld { margin-bottom: 8px; }
  .d-calc .fld > label, .d-calc .fld > .lb { font-size: 14px; margin-bottom: 4px; }
  .d-calc select { padding: 9px 40px 9px 12px; }
  .d-more { margin: 0 0 10px; }
  .d-more .fld { margin: 8px 0 0; }
  .d-more .seg button[data-v] { padding: 7px 2px; min-height: 38px; font-size: 13px; }
  .d-res { padding: 10px 14px; } .d-res .n { font-size: 30px; }
  .v-d .w-copy .d-calc p.fine { display: none; }
}

/* ===== TMF 2026-11-10: iki 1000 m² kaina gali būti šešiaženklė — siauri telefonai ===== */
@media (max-width: 380px) {
  .d-res .n { font-size: 28px; }
  .d-res .btn .lg, .d-res .btn .sm { display: none; } .d-res .btn .xs { display: inline; }
  .d-res .btn { padding: 12px 14px; }
}

/* TMF 2026-11-10: skaičiuoklė pradiniame puslapyje ryškėja kartu su FØR→ETTER (--ca nustato tmf-design.js; be JS = 1) */
#kalkulator { opacity: var(--ca, 1); }
#kalkulator:focus-within { opacity: 1; }
#kalkulator.is-hidden:not(:focus-within) { pointer-events: none; }

/* TMF 2026-11-10: paslaugos be kainos (Fasademaling, Innvendig, Terrasse) – skaičiuoklėje užklausos forma vietoj kainos */
.d-calc.is-ask > [data-areafld], .d-calc.is-ask > .d-more, .d-calc.is-ask > .d-res, .d-calc.is-ask > p.fine { display: none !important; }
.d-ask[hidden] { display: none !important; }
.d-ask .fld { display: block !important; }
.d-ask .fld > label { display: block !important; }
.d-ask input[type=tel], .d-ask input[type=text], .d-ask input[type=email] { font-size: 16px; padding: 12px 14px; }
.d-photo { position: relative; overflow: hidden; width: 100%; margin: 2px 0 12px; padding: 12px 16px; font-size: 16px; color: var(--fjord); box-shadow: inset 0 0 0 2px var(--line); }
.d-photo:hover, .d-photo:focus-within { box-shadow: inset 0 0 0 2px var(--fjord); }
.d-photo:focus-within { outline: 3px solid rgba(224,138,79,.6); outline-offset: 2px; }
.d-photo svg.i { width: 22px; height: 22px; color: var(--copper-deep); flex: none; }
.d-photo .sm-t { display: none; }
.d-photo input[type=file] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; font-size: 0; }
.d-ask .btn.big { padding: 15px 20px; font-size: 17px; }
.d-calc .d-ask p.fine, .v-d .w-copy .d-calc .d-ask p.fine { display: block !important; color: var(--steel); text-align: left; font-size: 14px; line-height: 1.45; margin-top: 10px; }
.d-ask .fine a { color: var(--fjord); font-weight: 700; display: inline; padding: 0 2px; }
.d-ask .ok { padding: 18px 6px; }
.d-ask .ok h3 { font-size: 20px; }
/* gulsčias telefonas (žemas ekranas): užklausos forma dviem stulpeliais, kad tilptų hero */
@media (max-height: 520px) and (min-width: 560px) {
  .d-calc.is-ask { width: min(480px, 58vw); margin-right: 64px; padding: 10px 12px; }
  .d-calc.is-ask .fld:first-child { margin-bottom: 6px; }
  .d-photo .opt-t { display: none; }
  .d-ask [data-hide-on-ok] { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px 8px; }
  .d-ask .fld { grid-column: span 2; min-width: 0; }
  .d-ask .opt-t { display: none; }
  .d-ask .fld { margin: 0 !important; }
  .d-ask .fld > label { font-size: 13px !important; margin-bottom: 3px !important; }
  .d-ask input[type=tel], .d-ask input[type=text], .d-ask input[type=email] { padding: 6px 10px; font-size: 15px; border-width: 1.5px; }
  .d-photo { grid-column: span 2; margin: 0; align-self: stretch; padding: 7px 10px; font-size: 14px; gap: 6px; }
  .d-photo svg.i { width: 18px; height: 18px; }
  .d-ask .btn.big { grid-column: span 4; padding: 9px 16px; font-size: 16px; }
  .d-calc .d-ask p.fine, .v-d .w-copy .d-calc .d-ask p.fine { grid-column: 1 / -1; margin: 0; font-size: 11px; line-height: 1.3; }
}
/* siauras gulsčias telefonas (≤720 px pločio, ≤520 px aukščio): žemesnė apatinė juosta, skaičiuoklė virš jos */
@media (max-width: 720px) and (max-height: 520px) and (orientation: landscape) {
  .bar { padding: 6px 12px calc(6px + env(safe-area-inset-bottom)); }
  .bar .btn { height: 40px; font-size: 15px; }
  .bar .chat { width: 44px; }
  .v-d .w-copy { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
  .d-calc .d-more { display: none !important; }
  .d-calc .fld:first-child > label { display: none; }
  .d-calc.is-ask { margin-right: 0; width: min(460px, 68vw); }
  .v-d .w-copy :is(h1,.h1x) { font-size: 24px; }
  .d-calc.is-ask select { padding-top: 7px; padding-bottom: 7px; }
  .d-photo .lg-t { display: none; } .d-photo .sm-t { display: inline; }
  .d-ask .fld > label { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
/* TMF 2026-11-10: „Takomlegging, maling og oppussing“ – 4 kortelės vienoje eilutėje plačiame ekrane */
@media (min-width: 1101px) { .svc-grid.n4 { grid-template-columns: repeat(4, 1fr); } .svc-grid.n4 .svc { padding: 24px; } }
.gimg { border-radius: 16px; overflow: hidden; aspect-ratio: 4/3; background: var(--deep); }
.gimg img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Prisguide (2026-11-13) */
.ptab-wrap { margin-top: 28px; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: 14px; }
.ptab { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 16px; }
.ptab caption { caption-side: bottom; text-align: left; padding: 12px 16px; font-size: 14px; opacity: .75; }
.ptab th, .ptab td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.ptab thead th { font-size: 14px; text-transform: uppercase; letter-spacing: .04em; }
.ptab tbody th { font-weight: 800; }
.ptab td { white-space: nowrap; }
.ptab tbody tr:last-child th, .ptab tbody tr:last-child td { border-bottom: 0; }
@media (max-width: 560px) {
  .ptab { min-width: 0; font-size: 15px; }
  .ptab th, .ptab td { padding: 12px 10px; }
  .ptab thead th:nth-child(3), .ptab tbody td:nth-child(3), .ptab thead th:nth-child(5), .ptab tbody td:nth-child(5) { display: none; }
}
/* AI-illustrasjoner (2026-11-13): diskret merking */
.s-vis figcaption.ai-note, .s-pfig figcaption.ai-note { font-size: 11px; opacity: .55; margin-top: 6px; text-align: right; }
.s-pfig { margin: 28px 0 0; }
.s-pfig img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 18px; }
.s-pgal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.s-pgal figure { margin: 0; }
.s-pgal img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 16px; }
.s-pgal figcaption.ai-note { font-size: 11px; opacity: .55; margin-top: 6px; text-align: right; }
@media (max-width: 760px) { .s-pgal { grid-template-columns: 1fr; } }
