:root {
  --navy: #06121f;
  --navy-2: #0b2740;
  --ink: #142231;
  --muted: #5b6b7b;
  --line: #dbe7f2;
  --bg: #ffffff;
  --bg-alt: #f1f7fd;
  --brand: #009bfb; /* logo blue */
  --cta: #0080d4;
  --cta-d: #006bb3;
  --accent: #29adff;
  --amber: #ffb020;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(6, 18, 31, 0.12);
  --font: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 64px; } /* links like #calc stop below the sticky header */
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
a[href^='tel:'] { white-space: nowrap; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
svg { width: 1.1em; height: 1.1em; fill: currentColor; flex: none; }

.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 16px; }
.wrap--narrow { max-width: 780px; }
.center { text-align: center; margin-top: 2rem; }
.muted { color: var(--muted); }
.small { font-size: 0.85rem; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  padding: 0.8em 1.3em; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
  transition: transform 0.15s, background 0.15s, box-shadow 0.15s;
}
.btn:active { transform: scale(0.98); }
.btn--sm { padding: 0.5em 1em; font-size: 0.95rem; }
.btn--lg { padding: 0.95em 1.6em; font-size: 1.08rem; }
.btn--block { width: 100%; }
.btn--call { background: var(--cta); color: #fff; box-shadow: 0 6px 18px rgba(0, 128, 212, 0.35); }
.btn--call:hover { background: var(--cta-d); }
.btn--ghost { border-color: rgba(255, 255, 255, 0.45); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.1); }
.btn--ghost-dark { border-color: var(--navy); color: var(--navy); }
.btn--ghost-dark:hover { background: var(--navy); color: #fff; }
.btn--ghost-light { border-color: rgba(255, 255, 255, 0.4); color: #fff; }
.btn--ghost-light:hover { background: rgba(255, 255, 255, 0.12); }
.btn--wa { background: #25d366; color: #06301a; }

/* Google rating badge next to call buttons */
.gbadge { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 0.88rem; color: var(--muted); text-decoration: none; }
.gbadge:hover { text-decoration: underline; }
.gbadge--dark { color: rgba(255, 255, 255, 0.8); }
.calc__result .gbadge { align-self: center; margin-top: 0; }

/* Messenger buttons */
.msg { margin-top: 1rem; }
.msg__or { font-size: 0.85rem; color: var(--muted); margin: 0 0 8px; }
.msg__or span { display: block; }
.msg__btns { display: flex; gap: 8px; }
.msg__reply { display: flex !important; align-items: center; gap: 6px; margin-top: 4px; font-weight: 600; color: var(--cta-d); }
.contact .msg__reply { color: var(--accent); }
.msg__reply svg { width: 1em; height: 1em; }

/* WhatsApp mode (desktop, or phones outside opening hours): main buttons open WhatsApp */
.cta-wa .msg__btns, .cta-wa .mobilebar__wa, .cta-wa .msg__or > strong { display: none !important; }
.btn--call.is-wa, .mobilebar__call.is-wa { background: #1faa59; box-shadow: 0 6px 18px rgba(31, 170, 89, 0.35); }
.btn--call.is-wa:hover { background: #178a48; }
.bigphone.is-wa { color: #4ade80; }

.note--prices a { color: inherit; }
.msg__btns .btn { flex: 1; }
.contact .msg__or { color: rgba(255, 255, 255, 0.7); }
.contact .msg__btns .btn { flex: 0 1 auto; }

/* Top bar */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(6, 18, 31, 0.96); backdrop-filter: blur(8px); color: #fff; }
.topbar__in { display: flex; align-items: center; gap: 16px; height: 62px; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 38px; width: auto; }
.footer .logo img { height: 44px; }
.langs { display: flex; gap: 2px; margin-left: auto; }
.langs a { text-decoration: none; font-size: 0.85rem; font-weight: 700; padding: 6px 8px; border-radius: 6px; opacity: 0.7; }
.langs a:hover { opacity: 1; }
.langs a[aria-current] { opacity: 1; background: rgba(255, 255, 255, 0.12); }

/* Hero */
.hero {
  color: #fff;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(0, 155, 251, 0.28), transparent 60%),
    radial-gradient(700px 400px at -10% 110%, rgba(0, 90, 170, 0.35), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  padding: 56px 0 64px;
}
.hero__in { display: grid; gap: 40px; align-items: center; grid-template-columns: 1.35fr 1fr; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.3rem); font-weight: 850; }
.hero h1 em { font-style: normal; color: var(--accent); }
.lead { font-size: 1.12rem; opacity: 0.92; max-width: 36em; }
/* Desktop hero: key numbers, single CTA, proof photo */
.hide-desktop { display: none !important; }
.wa-only { display: none; }
.cta-wa .wa-only { display: block; }
.hero__stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0 36px; margin: 1.6rem 0 0.4rem; }
.hero__stats > * { display: flex; flex-direction: column; }
.hero__stats > * + * { padding-left: 36px; border-left: 1px solid rgba(255, 255, 255, 0.15); }
.hero__stats strong { font-size: 2rem; font-weight: 850; letter-spacing: -0.02em; color: var(--accent); line-height: 1.1; white-space: nowrap; }
.hero__stats span { font-size: 0.9rem; opacity: 0.75; }
.hero__stats > * > span { white-space: nowrap; }
/* The savings stat links to the calculator */
.hero__stat-link { color: inherit; text-decoration: none; }
.hero__stat-link:hover > span { text-decoration: underline; opacity: 1; }
.hero__textlink { align-self: center; color: #fff; font-weight: 700; text-decoration: none; padding: 0 6px; }
.hero__textlink:hover { text-decoration: underline; }
/* Button with a second line (reply promise in WhatsApp mode) */
.btn__txt { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.2; }
.btn__sub { font-size: 0.72em; font-weight: 600; opacity: 0.85; }
.cta-wa .trust li.wa-only { display: flex; }
.hero__proof { position: relative; margin: 0; align-self: stretch; min-height: 460px; border-radius: 24px; overflow: hidden; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35); }
.hero__proof img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.hero__proof::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(6, 18, 31, 0.55), transparent 40%); pointer-events: none; }
.hero__tag {
  position: absolute; bottom: 16px; left: 16px; z-index: 1; padding: 6px 12px; border-radius: 999px; font-size: 0.8rem; font-weight: 600;
  background: rgba(6, 18, 31, 0.7); backdrop-filter: blur(6px); color: #fff;
}
.hero__review {
  position: absolute; left: 16px; right: 16px; top: 16px; z-index: 1; display: grid; gap: 6px; padding: 18px 20px;
  background: #fff; color: var(--ink); border-radius: 16px; text-decoration: none; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}
.hero__rating { display: flex; align-items: center; gap: 6px; font-size: 0.9rem; color: var(--muted); }
.hero__rating strong { color: var(--ink); }
.hero__review q { font-size: 1.05rem; font-weight: 600; line-height: 1.4; }
.hero__review small { color: var(--muted); font-size: 0.8rem; }

.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.6rem 0 1.8rem; }
.trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 0.95rem; opacity: 0.95; }
.trust li { display: flex; align-items: center; gap: 6px; }
.trust a { text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.trust a:hover { text-decoration: underline; }
.stars { display: inline-flex; color: var(--amber); }
.stars svg { width: 1em; height: 1em; }

.checks { list-style: none; padding: 0; margin: 0 0 1.2rem; }
.checks li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 0.55rem; }
.checks svg { color: var(--cta); margin-top: 0.2em; }

/* Sections */
.section { padding: 72px 0; }
.section--alt { background: var(--bg-alt); }
.section__lead { color: var(--muted); font-size: 1.08rem; margin-bottom: 2rem; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.note { color: var(--muted); font-size: 0.88rem; margin-top: 1rem; }

.cards { display: grid; gap: 18px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card p { color: var(--muted); margin: 0; }
.card__icon { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: rgba(0, 128, 212, 0.1); color: var(--cta); margin-bottom: 14px; }
.card__icon svg { width: 24px; height: 24px; }
/* Experience stats (in the reviews section) */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 28px; }
.bento__stat {
  grid-column: span 2; position: relative; overflow: hidden; border-radius: 24px; padding: 32px;
  display: flex; flex-direction: column; justify-content: flex-end; min-height: 220px; color: #fff;
}
.bento__stat--dark { background: radial-gradient(500px 260px at 100% 0%, rgba(0, 155, 251, 0.35), transparent 70%), var(--navy); }
.bento__stat--brand { background: radial-gradient(500px 260px at 0% 100%, rgba(255, 255, 255, 0.22), transparent 70%), linear-gradient(135deg, #0aa3ff, #0067b8); }
.bento__stat strong { font-size: clamp(3.4rem, 8vw, 5.2rem); line-height: 0.95; font-weight: 900; letter-spacing: -0.04em; }
.bento__label { font-size: 1.2rem; font-weight: 700; margin-top: 8px; }
.bento__sub { opacity: 0.75; font-size: 0.95rem; margin-top: 2px; }

.also { margin-top: 16px; border-radius: 20px; padding: 22px 24px; background: var(--bg-alt); display: flex; gap: 24px; align-items: center; }
.also h3 { flex: none; margin: 0; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.also ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; flex-wrap: wrap; }
.also li { display: flex; gap: 8px; align-items: flex-start; }
.also li svg { color: var(--cta); margin-top: 3px; }
.also strong { display: block; font-size: 0.95rem; }
.also span { display: none; }

.team { width: 100%; border-radius: var(--radius); margin-top: 24px; aspect-ratio: 21 / 9; object-fit: cover; }

/* Prices & warranty */
.offer__grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 24px; align-items: start; }
.offer__prices, .offer__side { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.offer__side { box-shadow: var(--shadow); }
.prices { width: 100%; border-collapse: collapse; }
.prices th, .prices td { padding: 16px 0; border-bottom: 1px solid var(--line); }
.prices tr:last-child th, .prices tr:last-child td { border-bottom: 0; }
.prices th { text-align: left; font-weight: 600; }
.prices td { text-align: right; white-space: nowrap; color: var(--muted); }
.prices td strong { font-size: 1.45rem; color: var(--navy-2); }
.offer__facts { list-style: none; margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.offer__facts li { display: flex; align-items: center; gap: 10px; }
.offer__facts svg { color: var(--cta); width: 1.2em; height: 1.2em; }
.offer__facts strong { color: var(--navy-2); }
.warranty { display: flex; gap: 14px; align-items: center; background: var(--navy); color: #fff; border-radius: 12px; padding: 16px; margin-bottom: 18px; }
.warranty__icon { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: linear-gradient(135deg, #29adff, #0067b8); box-shadow: 0 6px 16px rgba(0, 128, 212, 0.35); }
.warranty__icon svg { width: 28px; height: 28px; color: #fff; }
.warranty strong { font-size: 1.1rem; }
.warranty p { margin: 2px 0 0; opacity: 0.8; font-size: 0.9rem; }
.offer__side h3 { margin-bottom: 0.6rem; }
.offer__side .checks { margin-bottom: 18px; }
.offer__side .gbadge { display: flex; justify-content: center; }
.usedcheck {
  margin-top: 40px; display: grid; grid-template-columns: auto 1fr auto; gap: 16px 24px; align-items: center;
  background: var(--bg-alt); border: 1px solid #cfe6f8; border-radius: 20px; padding: 24px;
}
.usedcheck__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: #fff; color: var(--cta); box-shadow: 0 6px 16px rgba(0, 128, 212, 0.15); }
.usedcheck__icon svg { width: 26px; height: 26px; }
.usedcheck h3 { margin-bottom: 0.4rem; }
.usedcheck p { margin: 0; color: var(--muted); }
.usedcheck__cta { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.usedcheck__cta strong { font-size: 0.95rem; color: var(--cta-d); background: #fff; border-radius: 999px; padding: 5px 14px; }

/* Calculator */
.calc { background: var(--bg-alt); }
.calc__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; }
.calc__inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; background: #fff; padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); }
label span, .field--slider label { display: block; font-size: 0.9rem; font-weight: 600; margin-bottom: 6px; color: var(--ink); }

/* Slider field: label + number box on one row, slider below */
.field--slider {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: 1fr 120px; align-items: center; gap: 4px 12px;
}
.field--slider label { margin: 0; }
.field--slider input[type='number'] { text-align: right; font-weight: 700; padding: 8px 12px; }
.field--slider input[type='range'], .field__scale { grid-column: 1 / -1; }
.field__scale { display: flex; justify-content: space-between; font-size: 0.78rem; color: var(--muted); margin-top: -2px; }

input[type='range'] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 32px; padding: 0; margin: 4px 0 0;
  border: 0; background: transparent; cursor: pointer; box-shadow: none;
}
input[type='range']:focus { box-shadow: none; }
input[type='range']::-webkit-slider-runnable-track {
  height: 8px; border-radius: 999px;
  background: linear-gradient(to right, var(--brand) var(--p, 50%), var(--line) var(--p, 50%));
}
input[type='range']::-moz-range-track { height: 8px; border-radius: 999px; background: var(--line); }
input[type='range']::-moz-range-progress { height: 8px; border-radius: 999px; background: var(--brand); }
input[type='range']::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 26px; height: 26px; margin-top: -9px; border-radius: 50%;
  background: #fff; border: 3px solid var(--brand); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
input[type='range']::-moz-range-thumb {
  width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 3px solid var(--brand); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
input[type='range']:focus-visible { outline: none; }
input[type='range']:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(0, 155, 251, 0.3); }
input[type='range']:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 4px rgba(0, 155, 251, 0.3); }
input {
  width: 100%; font: inherit; font-size: 1.05rem; padding: 12px 14px; border-radius: 10px;
  border: 1.5px solid var(--line); background: #fff; color: var(--ink);
}
input:focus { border-color: var(--cta); outline: none; box-shadow: 0 0 0 3px rgba(0, 128, 212, 0.18); }
.calc__bar { display: none; }
.calc__result { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.calc__big span, .calc__row span { opacity: 0.8; font-size: 0.95rem; }
.calc__big strong { display: block; font-size: clamp(2.2rem, 5vw, 3rem); color: var(--accent); line-height: 1.1; }
.calc__row { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid rgba(255, 255, 255, 0.15); padding-top: 12px; }
.calc__row strong { font-size: 1.25rem; }
.calc__nums { display: flex; flex-direction: column; gap: 14px; transition: filter 0.3s; }
.calc__after { display: flex; flex-direction: column; gap: 14px; margin-top: auto; }

/* Locked: results blurred, lead form shown; unlocked: form hidden, call button shown */
.calc__gate { display: none; }
[data-locked] .calc__nums { filter: blur(6px); opacity: 0.7; user-select: none; pointer-events: none; }
[data-locked] .calc__gate { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid rgba(255, 255, 255, 0.15); padding-top: 16px; }
[data-locked] .calc__after { display: none; }
[data-locked] .calc__bar strong { filter: blur(4px); }
.calc__gate-title { font-size: 1.2rem; }
.calc__gate-text { margin: -4px 0 4px; font-size: 0.92rem; opacity: 0.8; }
.calc__gate-field span { color: rgba(255, 255, 255, 0.85); font-size: 0.85rem; margin-bottom: 4px; }
.calc__gate-field input { padding: 10px 12px; }
/* Phone: fixed +371 prefix, visitor types only the 8 digits */
.calc__phone { display: flex; align-items: stretch; background: #fff; border-radius: 10px; overflow: hidden; }
.calc__phone b { display: flex; align-items: center; padding: 0 10px 0 12px; color: var(--ink); font-weight: 700; background: var(--bg-alt); border-right: 1.5px solid var(--line); }
.calc__phone input { border: 0; border-radius: 0; letter-spacing: 0.02em; }
.calc__phone:focus-within { box-shadow: 0 0 0 3px rgba(41, 173, 255, 0.45); }
.calc__gate-check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.85rem; line-height: 1.4; cursor: pointer; }
.calc__gate-check input { width: 20px; height: 20px; flex: none; margin: 1px 0 0; accent-color: var(--accent); }
.calc__gate-check span { color: rgba(255, 255, 255, 0.85); font-weight: 500; margin: 0; font-size: 0.85rem; }
.calc__gate .btn { margin-top: 4px; }
.calc__gate .btn:disabled { opacity: 0.7; cursor: wait; }
.calc__fallback { margin: 0; padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, 0.08); font-size: 0.88rem; line-height: 1.4; }
.calc__gate-privacy { opacity: 0.6; font-size: 0.75rem; line-height: 1.4; }

/* Steps */
/* Steps as cards: big faint number, time label, the last card is the result */
.steps__list { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.steps__list li { counter-increment: s; position: relative; display: flex; flex-direction: column; align-items: flex-start; background: var(--bg-alt); border-radius: 20px; padding: 22px 22px 24px; }
.steps__list li::before {
  content: counter(s); position: absolute; top: 4px; right: 16px; font-size: 4.6rem; font-weight: 900; line-height: 1; letter-spacing: -0.04em; color: rgba(0, 128, 212, 0.1);
}
/* Chevron between cards */
.steps__list li:not(:last-child)::after {
  content: ''; position: absolute; z-index: 1; top: 50%; right: -14px; width: 10px; height: 10px; margin-top: -5px;
  border-top: 2.5px solid var(--accent); border-right: 2.5px solid var(--accent); transform: rotate(45deg);
}
.steps__list h3 { position: relative; margin: 0 0 6px; }
.steps__list p { position: relative; color: var(--muted); margin: 0; }
.steps__time { position: relative; display: inline-flex; align-items: center; gap: 6px; margin-bottom: 18px; padding: 5px 11px; border-radius: 999px; background: #fff; color: var(--cta-d); font-size: 0.82rem; font-weight: 700; }
.steps__time svg { width: 14px; height: 14px; fill: currentColor; }
.steps__list li:last-child { background: radial-gradient(400px 220px at 0% 100%, rgba(255, 255, 255, 0.2), transparent 70%), linear-gradient(135deg, #0aa3ff, #0067b8); color: #fff; }
.steps__list li:last-child::before { color: rgba(255, 255, 255, 0.18); }
.steps__list li:last-child p { color: rgba(255, 255, 255, 0.85); }
.steps__save { position: relative; margin-bottom: 14px; font-size: 0.82rem; font-weight: 600; line-height: 1.3; color: rgba(255, 255, 255, 0.85); }
.steps__save strong { display: block; font-size: 1.9rem; font-weight: 900; color: #fff; letter-spacing: -0.02em; }

/* Reviews */
.review { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.review blockquote { margin: 0; font-size: 1.02rem; }
.review figcaption { color: var(--muted); font-size: 0.85rem; margin-top: auto; }
.review h3 { margin: 0; font-size: 1.1rem; letter-spacing: -0.01em; }
.review blockquote { color: var(--muted); }
.reviews .bento { margin-top: 0; }
.reviews__list { margin-top: 16px; }
.reviews__rating { text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.reviews__rating:hover { text-decoration: underline; }

/* Gallery */
.gallery { background: var(--navy); color: #fff; }
.gallery .section__lead { color: rgba(255, 255, 255, 0.75); }
.gallery__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.gallery__grid figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; background: #000; }
.gallery__grid a { display: block; cursor: zoom-in; }
.gallery__grid img { aspect-ratio: 16 / 8; object-fit: cover; width: 100%; height: auto; transition: transform 0.3s; }
.gallery__grid a:hover img { transform: scale(1.04); }
.gallery__grid figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 16px 12px; font-weight: 600; font-size: 0.95rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent); pointer-events: none;
}
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1200px, 94vw); max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(3, 10, 18, 0.88); }
.lightbox img { max-width: 100%; max-height: 84vh; border-radius: 10px; margin: 0 auto; }
.lightbox__cap { color: #fff; text-align: center; margin: 10px 0 0; }
.lightbox__close {
  position: absolute; top: -14px; right: -14px; width: 40px; height: 40px; border-radius: 50%; border: 0;
  background: #fff; color: var(--ink); font-size: 1.6rem; line-height: 1; cursor: pointer; box-shadow: var(--shadow);
}

/* FAQ */
/* Two columns: title + "ask us" card stays in view on the left, questions on the right */
.faq__grid { display: grid; grid-template-columns: 320px 1fr; gap: 48px; align-items: start; }
.faq__side { position: sticky; top: 96px; }
.faq__help { margin-top: 20px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px; box-shadow: var(--shadow); }
.faq__help strong { display: block; font-size: 1.15rem; }
.faq__help p { margin: 4px 0 16px; color: var(--muted); font-size: 0.95rem; }
.faq__help .btn { width: 100%; }
.faq__help .btn svg { width: 20px; height: 20px; }
.faq__tel { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 12px; font-weight: 700; text-decoration: none; color: var(--ink); }
.faq__tel svg { width: 16px; height: 16px; color: var(--cta); }
.faq__tel:hover { text-decoration: underline; }
.faq__list { display: grid; gap: 10px; }

/* Each question is a soft card; the open one is highlighted */
details { background: #fff; border: 1px solid var(--line); border-radius: 16px; transition: background 0.2s, border-color 0.2s; }
details[open] { background: #f5fbff; border-color: #b9dcf5; }
summary {
  cursor: pointer; list-style: none; padding: 18px 60px 18px 22px; font-weight: 700; font-size: 1.05rem; position: relative;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: ''; position: absolute; right: 18px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%;
  background: var(--bg-alt) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230080d4' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform 0.25s, background-color 0.2s;
}
details[open] summary::after { transform: rotate(45deg); background-color: #fff; }
summary:focus-visible { outline: 2px solid var(--cta); outline-offset: 2px; border-radius: 16px; }
details p { color: var(--muted); margin: 0; padding: 0 22px 20px; }
/* Smooth open/close where supported (others just open instantly) */
details::details-content { block-size: 0; overflow: hidden; transition: block-size 0.3s ease, content-visibility 0.3s allow-discrete; }
details[open]::details-content { block-size: auto; block-size: calc-size(auto, size); }
@media (prefers-reduced-motion: reduce) { details::details-content, summary::after { transition: none; } }

/* Contact */
.contact { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; }
.contact__in { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.contact .muted { color: rgba(255, 255, 255, 0.7); }
.contact .muted a { color: #fff; }
.bigphone {
  display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 900;
  font-size: clamp(1.8rem, 5vw, 2.6rem); color: var(--accent); margin: 0.6rem 0 0.4rem;
}
.contact__more { list-style: none; padding: 0; margin: 4px 0 16px; display: grid; gap: 8px; }
.contact__more li { display: flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, 0.7); flex-wrap: wrap; }
.contact__more svg { width: 1.05em; height: 1.05em; color: var(--accent); }
.contact__more a { color: #fff; font-weight: 600; }
.bigphone svg { width: 0.9em; height: 0.9em; }
.find { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 20px; padding: 28px; }
.find h3 { margin-top: 1.6rem; }
.find h3:first-child { margin-top: 0; }
.find p { opacity: 0.9; }
.find h3 { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255, 255, 255, 0.6); margin-bottom: 12px; }
.find__addr { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.find__pin { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(135deg, #29adff, #0067b8); box-shadow: 0 6px 16px rgba(0, 128, 212, 0.35); }
.find__pin svg { width: 24px; height: 24px; color: #fff; }
.find__addr strong { display: block; font-size: 1.25rem; line-height: 1.2; }
.find__addr div span { display: block; opacity: 0.7; font-size: 0.95rem; margin-top: 2px; }
.find__photo { border-radius: 12px; margin-bottom: 1rem; }
.find__btns { display: flex; gap: 10px; flex-wrap: wrap; }
.navbtn svg { width: 1.25em; height: 1.25em; }
.navbtn--gmaps svg { color: #4285f4; }
.navbtn--waze svg { color: #33ccff; }
.hours { list-style: none; padding: 0; margin: 0; max-width: 260px; }
.hours li { display: flex; justify-content: space-between; gap: 24px; padding: 4px 0; }


/* Footer */
.footer { background: #07141f; color: rgba(255, 255, 255, 0.75); padding: 40px 0 110px; font-size: 0.92rem; }
.footer__in { display: grid; grid-template-columns: 1fr auto; gap: 16px 32px; align-items: start; }
.footer p { margin: 0.6rem 0 0; }
.footer__social { display: flex; gap: 16px; flex-wrap: wrap; }
.footer__social { align-items: center; }
.social { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; transition: color 0.15s; }
.social svg { width: 22px; height: 22px; }
.social:hover { color: #fff; }
.social--facebook:hover svg { color: #0866ff; }
.social--youtube:hover svg { color: #ff0000; }
.social--draugiem:hover svg { color: #ff6600; }
.footer__legal { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 16px; }

/* Mobile bottom bar */
.mobilebar { display: none; }

@media (max-width: 900px) {
  .hero__in, .calc__grid, .contact__in, .offer__grid { grid-template-columns: 1fr; }
  .hero__proof { min-height: 320px; }
  .usedcheck { grid-template-columns: 1fr; }
  .usedcheck__icon { width: 44px; height: 44px; border-radius: 14px; }
  .usedcheck__cta strong { align-self: center; }
  .usedcheck__cta { align-items: stretch; text-align: center; }
  .cards--3 { grid-template-columns: 1fr 1fr; }
  .steps__list { grid-template-columns: 1fr 1fr; }
  .steps__list li::after { display: none; }
  .bento { grid-template-columns: 1fr 1fr; }
  .also { flex-direction: column; align-items: flex-start; gap: 12px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 52px 0; }
  .hero { padding: 36px 0 44px; }
  .topbar__call span { display: none; }
  .topbar__call { padding: 0.55em; }
  .topbar__call svg { width: 1.3em; height: 1.3em; }
  /* First screen must fit above the sticky call bar */
  .hide-phone { display: none !important; }
  .hide-desktop { display: revert !important; }
  .hero__ctas .btn--ghost.hide-desktop { display: inline-flex !important; }
  .trust li.hide-desktop { display: flex !important; }
  .hero { padding: 18px 0 24px; }
  .hero h1 { font-size: 1.8rem; margin-bottom: 0; }
  .hero .lead { font-size: 0.98rem; margin: 10px 0 0; }
  .hero__ctas { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 20px 0 18px; }
  .hero__ctas .btn { width: 100%; padding: 0.8em 0.6em; font-size: 0.95rem; }
  .hero__stats { margin: 20px 0 0; gap: 0; grid-template-columns: repeat(3, 1fr); }
  .hero__stats > * + * { padding-left: 12px; }
  .hero__stats > *:not(:last-child) { padding-right: 12px; }
  .hero__stats strong { font-size: 1.35rem; }
  .hero__stats span { font-size: 0.74rem; line-height: 1.25; }
  .hero__stats > * > span { white-space: normal; }
  /* One "why trust us" card: review on top, years / hours / address strip below */
  .hero__proof-m { display: block !important; margin: 0; padding: 7px; background: #fff; color: var(--ink); border-radius: 14px; }
  .hero__proof-m-review { display: flex; gap: 12px; align-items: center; padding-right: 5px; color: inherit; text-decoration: none; }
  .hero__proof-m img { flex: none; width: 52px; height: 52px; border-radius: 10px; object-fit: cover; }
  .hero__proof-m .hero__rating { font-size: 0.78rem; }
  .hero__proof-m q { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 0.8rem; font-weight: 600; line-height: 1.35; margin-top: 2px; }
  .trust { display: grid; grid-template-columns: auto 1fr; gap: 5px 18px; font-size: 0.86rem; }
  .trust li:last-child { grid-column: 1 / -1; }
  .trust li { white-space: nowrap; }
  .hero__proof-m .trust { margin: 7px 0 0; padding: 7px 5px 1px; border-top: 1px solid var(--line, #e5e9ef); font-size: 0.78rem; color: var(--muted); gap: 4px 16px; }
  .hero__proof-m .trust strong { color: var(--ink); }
  .hero__proof-m .trust svg { color: var(--cta); }
  .cards--3, .cards--2, .steps__list, .gallery__grid { grid-template-columns: 1fr; }
  .bento { gap: 10px; margin-top: 20px; }
  .bento__stat { grid-column: span 1; min-height: 0; padding: 20px 18px; border-radius: 20px; }
  .bento__stat strong { font-size: 2.8rem; }
  .bento__label { font-size: 0.95rem; line-height: 1.25; }
  .bento__sub { font-size: 0.8rem; }
  .also { padding: 18px; }
  .also ul { flex-direction: column; gap: 10px; }

  /* Steps: compact vertical timeline */
  .steps__list { gap: 14px; }
  .steps__list li { padding: 18px 18px 20px; }
  .steps__list li::before { font-size: 3.6rem; top: 2px; right: 12px; }
  .steps__list li:not(:last-child)::after { display: block; top: auto; bottom: -11px; right: auto; left: 50%; margin: 0 0 0 -5px; transform: rotate(135deg); }
  .steps__time { margin-bottom: 12px; }
  .steps__list h3 { font-size: 1.05rem; }
  .steps__list p { font-size: 0.95rem; }
  .steps .center { margin-top: 1rem; }
  .steps .center .btn { width: 100%; }

  /* Price card duplicates the hero on phones — prices are the next section */
  
  /* Sticky savings bar so results stay visible while dragging sliders */
  .calc__bar {
    display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 8px; position: sticky; top: 70px; z-index: 5;
    background: var(--navy); color: #fff; border-radius: 12px; padding: 10px 14px; box-shadow: var(--shadow);
  }
  .calc__bar span { display: block; font-size: 0.72rem; opacity: 0.75; }
  .calc__bar strong { font-size: 1.05rem; white-space: nowrap; }
  .calc__bar div:first-child strong { color: var(--accent); }

  /* Swipeable rows (gallery, reviews) */
  .swipe {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px;
    margin: 0 -16px; padding: 0 16px 8px; scroll-padding: 0 16px; scrollbar-width: none;
  }
  .swipe::-webkit-scrollbar { display: none; }
  .swipe > * { flex: 0 0 84%; scroll-snap-align: start; }
  .gallery__grid.swipe img { aspect-ratio: 4 / 3; }
  .lightbox__close { top: 8px; right: 8px; }
  .calc__inputs { padding: 18px; gap: 18px 12px; }
  .field--slider { grid-template-columns: 1fr 100px; }
  .find, .offer__prices, .offer__side, .usedcheck { padding: 18px; }
  .prices td strong { font-size: 1.2rem; }
  .prices th { font-size: 0.95rem; padding-right: 8px; }
  .footer__in { grid-template-columns: 1fr; }
  .footer { padding-bottom: 96px; }
  .mobilebar {
    display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.12);
  }
  .mobilebar a {
    display: flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; font-weight: 800;
    border-radius: 12px; padding: 14px 8px;
  }
  .mobilebar__call { flex: 1; background: var(--cta); color: #fff; }
  .mobilebar__wa { flex: 0 0 56px; background: #25d366; color: #fff; }
  .mobilebar__wa svg { width: 1.6em; height: 1.6em; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* FAQ on tablets and phones: title, questions, then the "ask us" card */
@media (max-width: 900px) {
  .faq__grid { grid-template-columns: 1fr; gap: 0; }
  .faq__side { display: contents; }
  .faq__side h2 { order: 1; }
  .faq__list { order: 2; }
  .faq__help { order: 3; margin-top: 16px; box-shadow: none; }
}
@media (max-width: 640px) {
  summary { padding: 16px 54px 16px 16px; font-size: 1rem; }
  summary::after { right: 14px; }
  details p { padding: 0 16px 16px; font-size: 0.95rem; }
}

/* Cookie bar: both choices equally prominent */
.consent {
  position: fixed; z-index: 70; right: 16px; bottom: 16px; max-width: 420px; padding: 16px 18px;
  background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 16px 40px rgba(6, 18, 31, 0.18); font-size: 0.9rem;
}
.consent[hidden] { display: none; }
.consent p { margin: 0 0 12px; color: var(--muted); line-height: 1.45; }
.consent__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.consent__btn { background: var(--bg-alt); color: var(--ink); border-color: var(--line); }
.consent__btn:hover { background: #e3f0fb; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
@media (max-width: 640px) {
  .consent { left: 10px; right: 10px; max-width: none; bottom: calc(80px + env(safe-area-inset-bottom)); padding: 14px; font-size: 0.85rem; }
}

/* Calculator fits one laptop screen (e.g. MacBook Air, ~700px under the header) */
@media (min-width: 901px) {
  .calc { padding: 40px 0; }
  .calc .section__lead { margin-bottom: 1.1rem; }
  /* Both cards always the same height; the inputs spread evenly over the taller card */
  .calc__grid { gap: 20px; align-items: stretch; }
  .calc__inputs { padding: 18px 20px; gap: 6px 14px; align-content: space-between; }
  .calc__inputs input { padding: 7px 12px; font-size: 1rem; }
  .calc__inputs input[type='range'] { height: 26px; margin: 0; padding: 0; }
  .field__scale { display: none; }
  .calc__result { padding: 20px 22px; gap: 10px; }
  .calc__big strong { font-size: 2.2rem; }
  [data-locked] .calc__row { display: none; }
  .calc__gate { display: none; }
  [data-locked] .calc__gate { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 10px; padding-top: 12px; }
  [data-locked] .calc__gate > * { grid-column: 1 / -1; }
  [data-locked] .calc__gate > .calc__gate-field { grid-column: auto; }
  .calc__gate-text { margin: -2px 0 2px; font-size: 0.85rem; }
  .calc__gate .btn { margin-top: 2px; padding-top: 0.7em; padding-bottom: 0.7em; }
  .calc .note { margin: 8px 0 0; font-size: 0.8rem; }
}

/* Privacy policy page */
.policy h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: 1.2rem; }
.policy h2 { font-size: 1.2rem; margin: 1.8rem 0 0.4rem; }
.policy p { color: var(--muted); margin: 0 0 0.6rem; }
.calc__gate-privacy a { color: inherit; }
