/* ECOTECHNIK ET1 - regulator cyrkulacji CWU */
@import url("fonts.css");

:root {
  --navy: #0d2f52;
  --navy-2: #123d69;
  --blue: #1e6fc0;
  --blue-2: #2b8be0;
  --sky: #5fb8f0;
  --water: #eaf5fd;
  --green: #4fae3a;
  --graphite: #2b2b2e;
  --text: #1d2a36;
  --muted: #5b6b7a;
  --line: #dde6ee;
  --bg: #ffffff;
  --bg-soft: #f4f8fb;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(13, 47, 82, .10);
  --wrap: 1180px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.7 "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6em; color: var(--navy); font-weight: 800; letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.2em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: .85em 1.6em; border-radius: 999px; border: 2px solid transparent; font: inherit; font-weight: 700; font-size: .95rem; letter-spacing: .02em; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--navy-2); color: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, .8); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--navy); }
.btn-outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn-outline:hover { background: var(--blue); color: #fff; }

/* ---------- top bar + header ---------- */
.topbar { background: var(--graphite); color: #cfd6dd; font-size: .8rem; font-weight: 600; letter-spacing: .03em; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topbar a { color: #cfd6dd; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: #fff; }
.topbar svg { width: 14px; height: 14px; }
.topbar-contact { display: flex; gap: 22px; }
.topbar-claim { text-transform: uppercase; }

.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header .wrap, .topbar .wrap { max-width: 1320px; }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 20px; }
.logo { display: block; flex: none; }
.logo img { height: 26px; width: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.nav a { display: block; white-space: nowrap; padding: 10px 9px; border-radius: 8px; color: var(--text); text-decoration: none; font-weight: 700; font-size: .79rem; letter-spacing: .05em; text-transform: uppercase; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--blue); background: var(--water); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; color: var(--navy); }
.nav-toggle svg { width: 28px; height: 28px; }

/* ---------- hero ---------- */
.hero { position: relative; height: calc(100vh - 38px - var(--header-h)); height: calc(100svh - 38px - var(--header-h)); min-height: 460px; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--navy) url("../img/hero-poster.webp") center/cover no-repeat; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(20deg, rgba(9, 32, 58, .9) 0%, rgba(9, 32, 58, .55) 32%, rgba(9, 32, 58, 0) 58%); }
.hero .wrap { position: relative; z-index: 1; padding-top: 40px; padding-bottom: 56px; }
.hero-title { margin: 0; color: #fff; line-height: 1; text-shadow: 0 2px 14px rgba(0, 0, 0, .35); }
.hero-brand { display: block; margin-bottom: 14px; }
.hero-brand img { height: clamp(18px, 1.6vw, 24px); width: auto; filter: drop-shadow(0 1px 6px rgba(0, 0, 0, .4)); }
.hero-product { display: block; font-size: clamp(1.5rem, 2.8vw, 2.4rem); font-weight: 700; letter-spacing: -.01em; }
.hero-model { display: block; font-size: clamp(4rem, 9vw, 7.5rem); font-weight: 800; letter-spacing: -.03em; color: var(--sky); margin-top: 4px; }
.hero-tagline { margin: 12px 0 0; font-size: clamp(1rem, 1.5vw, 1.25rem); font-weight: 600; color: #e6f0f9; text-shadow: 0 1px 8px rgba(0, 0, 0, .45); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

/* ---------- sections ---------- */
.section { padding: 96px 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--navy); color: #d7e3ef; }
.section-dark h2, .section-dark h3 { color: #fff; }
.eyebrow { display: block; font-size: .78rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.section-dark .eyebrow { color: var(--sky); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.lead { font-size: 1.1rem; color: var(--muted); }
.section-dark .lead { color: #b9cbdc; }

.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); }

.checklist { list-style: none; padding: 0; margin: 22px 0; }
.checklist li { position: relative; padding-left: 34px; margin-bottom: 12px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/14px no-repeat; }

/* benefits */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.benefit { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; box-shadow: 0 4px 14px rgba(13, 47, 82, .04); }
.benefit-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--water); color: var(--blue); margin-bottom: 18px; }
.benefit-icon svg { width: 30px; height: 30px; }
.benefit.green .benefit-icon { background: #ecf7e8; color: var(--green); }
.benefit p { color: var(--muted); margin: 0; }

/* steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: step; }
.step { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); counter-increment: step; display: flex; flex-direction: column; }
.step img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.step-body { padding: 22px 24px 26px; position: relative; }
.step-body::before { content: counter(step); position: absolute; top: -22px; left: 24px; width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; display: grid; place-items: center; border: 4px solid #fff; }
.step h3 { margin-top: 14px; color: var(--navy); }
.step p { color: var(--muted); margin: 0; font-size: .95rem; }

/* stat band */
.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255, 255, 255, .12); border-radius: var(--radius); overflow: hidden; margin-top: 56px; }
.stat { background: var(--navy-2); padding: 26px 22px; text-align: center; }
.stat strong { display: block; font-size: 2rem; font-weight: 800; color: #fff; line-height: 1.1; }
.stat span { font-size: .85rem; color: #b9cbdc; }

/* features */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 40px; }
.feature { display: flex; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.feature-icon { flex: none; width: 48px; height: 48px; border-radius: 12px; background: var(--water); color: var(--blue); display: grid; place-items: center; }
.feature-icon svg { width: 26px; height: 26px; }
.feature h3 { margin-bottom: .3em; font-size: 1.05rem; }
.feature p { color: var(--muted); margin: 0; font-size: .95rem; }
.feature .tag { display: inline-block; margin-top: 8px; font-size: .78rem; font-weight: 700; color: var(--blue); background: var(--water); border-radius: 999px; padding: 2px 10px; }

/* display / screens */
.screens { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin: 28px 0; }
.screen figure { margin: 0; }
.screen img { border-radius: 10px; border: 6px solid var(--graphite); }
.screen figcaption { font-size: .88rem; color: var(--muted); margin-top: 10px; }
.keys { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 24px; list-style: none; padding: 0; }
.keys li { display: flex; gap: 12px; align-items: baseline; font-size: .95rem; }
.key svg { display: inline-block; vertical-align: -2px; }
.key { flex: none; min-width: 62px; text-align: center; font-size: .72rem; font-weight: 800; letter-spacing: .06em; color: #fff; background: var(--graphite); border-radius: 6px; padding: 3px 8px; }

/* schemes */
.schemes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.scheme { margin: 0; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.scheme:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.scheme button { all: unset; display: block; cursor: zoom-in; width: 100%; }
.scheme img { aspect-ratio: 4 / 3; object-fit: contain; width: 100%; background: #fff; padding: 10px; }
.scheme figcaption { padding: 14px 18px 18px; font-weight: 700; color: var(--navy); font-size: .95rem; border-top: 1px solid var(--line); }
.scheme figcaption small { display: block; font-weight: 500; color: var(--muted); font-size: .82rem; }
.uses { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; justify-content: center; }
.uses span { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: .88rem; font-weight: 600; }

/* specs */
.specs { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.specs th, .specs td { text-align: left; padding: 14px 20px; border-bottom: 1px solid var(--line); font-size: .95rem; vertical-align: top; }
.specs th { width: 48%; font-weight: 600; color: var(--muted); }
.specs td { font-weight: 700; color: var(--navy); }
.specs tr:last-child th, .specs tr:last-child td { border-bottom: 0; }
.dims { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.dims img { background: #fff; border-radius: 10px; border: 1px solid var(--line); padding: 10px; }

/* downloads */
.downloads { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 56px; }
.download { display: flex; align-items: center; gap: 18px; padding: 22px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--text); transition: box-shadow .2s, border-color .2s; }
.download:hover { border-color: var(--blue); box-shadow: var(--shadow); color: var(--text); }
.download-icon { flex: none; width: 52px; height: 52px; border-radius: 12px; background: #fdecea; color: #d23b2f; display: grid; place-items: center; font-weight: 800; font-size: .75rem; }
.download strong { display: block; color: var(--navy); }
.download span { font-size: .85rem; color: var(--muted); }

/* accordion (faq) */
.accordion { display: grid; gap: 12px; }
.accordion details { background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.accordion summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; font-weight: 700; color: var(--navy); position: relative; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 12px; height: 12px; border-right: 3px solid var(--blue); border-bottom: 3px solid var(--blue); transform: translateY(-75%) rotate(45deg); transition: transform .2s; }
.accordion details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.accordion .acc-body { padding: 0 22px 20px; color: var(--muted); }
.accordion .acc-body ul { margin: 0; }
.accordion .acc-body li { margin-bottom: 6px; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.tab { font: inherit; font-weight: 700; font-size: .88rem; padding: 10px 18px; border-radius: 999px; border: 2px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; }
.tab[aria-selected="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.tab-panel[hidden] { display: none; }

/* warranty band */
.band { display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; background: linear-gradient(120deg, var(--navy) 0%, var(--blue) 100%); color: #dfeaf5; border-radius: 20px; padding: 40px 44px; }
.band h2 { color: #fff; font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: .3em; }
.band p { margin: 0; }
.band-badge { width: 110px; height: 110px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .5); display: grid; place-items: center; text-align: center; color: #fff; font-weight: 800; line-height: 1.05; }
.band-badge strong { font-size: 2.4rem; display: block; }
.band-badge span { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }

/* blog cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); text-decoration: none; color: var(--text); transition: transform .2s; }
.card:hover { transform: translateY(-4px); color: var(--text); }
.card img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.card-meta { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-bottom: 8px; }
.card h3 { font-size: 1.12rem; margin-bottom: .5em; }
.card p { color: var(--muted); font-size: .93rem; flex: 1; }
.card-more { font-weight: 700; color: var(--blue); font-size: .9rem; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: start; }
.form { background: #fff; border-radius: 18px; padding: 34px; box-shadow: var(--shadow); color: var(--text); }
.form fieldset { border: 0; padding: 0; margin: 0 0 18px; }
.form legend { font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.radio { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 8px; font-size: .93rem; cursor: pointer; }
.radio input { margin-top: .35em; accent-color: var(--blue); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .85rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.field input, .field textarea { width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fbfdff; color: var(--text); }
.field input:focus, .field textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(30, 111, 192, .15); }
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: .8rem; color: var(--muted); margin: 14px 0 0; }
.form-status { margin-top: 14px; font-weight: 600; color: var(--green); }
.contact-info h3 { color: #fff; }
.contact-list { list-style: none; padding: 0; margin: 22px 0 0; }
.contact-list li { display: flex; gap: 14px; margin-bottom: 18px; align-items: flex-start; }
.contact-list svg { flex: none; width: 22px; height: 22px; color: var(--sky); margin-top: 3px; }
.contact-list a { color: #fff; text-decoration: none; font-weight: 600; }
.contact-list a:hover { color: var(--sky); }
.contact-list strong { color: #fff; }

/* footer */
.footer { background: #0a2440; color: #93a8bd; font-size: .88rem; padding: 48px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; padding-bottom: 28px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer img { height: 22px; width: auto; margin-bottom: 14px; }
.footer h4 { color: #fff; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 12px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 6px; }
.footer a { color: #c4d3e1; text-decoration: none; }
.footer a:hover { color: #fff; }
.footer-bottom { padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .8rem; }

/* patent badge */
.patent { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 22px; padding: 6px 14px 6px 10px; border-radius: 999px; background: #ecf7e8; color: #2f7a20; font-size: .85rem; font-weight: 700; letter-spacing: .02em; }
.patent svg { width: 20px; height: 20px; flex: none; }
.patent-hero { margin: 14px 0 0; background: rgba(255, 255, 255, .14); color: #fff; backdrop-filter: blur(4px); border: 1px solid rgba(255, 255, 255, .35); text-shadow: none; }
.patent-center { display: flex; width: max-content; max-width: 100%; margin: 36px auto 0; }
.patent-footer { margin: 0; background: rgba(255, 255, 255, .08); color: #c4d3e1; font-size: .8rem; }
.nav a.nav-buy { background: var(--blue); color: #fff; }
.nav a.nav-buy:hover { background: var(--navy-2); color: #fff; }

/* buy now (price tiles) */
.prices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; max-width: 900px; margin: 0 auto; }
.price { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 34px 32px; box-shadow: var(--shadow); }
.price-pro { border: 2px solid var(--blue); }
.price-label { align-self: flex-start; font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); background: var(--water); border-radius: 999px; padding: 4px 12px; margin-bottom: 16px; }
.price h3 { margin-bottom: .4em; }
.price-value { margin: 0 0 4px; color: var(--navy); font-size: 1.4rem; font-weight: 700; }
.price-note { margin: 0 0 18px; color: var(--muted); font-size: .92rem; }
.coop { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.coop-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 30px 28px; box-shadow: var(--shadow); }
.coop-card .feature-icon { margin-bottom: 18px; }
.coop-card h3 { margin-bottom: .4em; }
.coop-card p { flex: 1; color: var(--muted); }
.coop-card .btn { align-self: flex-start; }
.price .checklist { flex: 1; }
.price .btn { align-self: stretch; }

/* buy modal form */
.buy .modal-dialog { max-width: 560px; overflow: auto; }
.buy .form { box-shadow: none; border-radius: 0; padding: 24px 26px 28px; }
.buy-choice { margin: 0 0 16px; padding: 12px 16px; border-radius: 10px; background: var(--water); color: var(--navy); font-weight: 700; }
.field select { width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fbfdff; color: var(--text); }

/* drawings in the installer accordion */
.acc-img { max-width: 400px; margin: 4px 0 16px; }
.acc-img img { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px; }
.accordion .acc-body ol { margin: 0; padding-left: 1.4em; }
.accordion .acc-body ol li { margin-bottom: 6px; }

/* ---------- modal (film / lightbox) ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(6, 20, 36, .88); }
.modal.is-open { display: flex; }
.modal-dialog { position: relative; width: 100%; max-width: 1040px; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, .4); max-height: calc(100vh - 40px); display: flex; flex-direction: column; }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.modal-head h2 { font-size: 1.05rem; margin: 0; }
.modal-close { background: var(--bg-soft); border: 0; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; color: var(--navy); display: grid; place-items: center; flex: none; }
.modal-close:hover { background: var(--water); }
.modal-close svg { width: 20px; height: 20px; }
.langs { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; padding: 12px 14px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.lang { all: unset; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px 6px 4px; border-radius: 8px; font-size: .72rem; font-weight: 800; letter-spacing: .05em; color: var(--navy); border: 2px solid transparent; }
.lang img { width: 44px; height: 29px; object-fit: cover; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); }
.lang:hover { background: #fff; }
.lang[aria-pressed="true"] { border-color: var(--blue); background: #fff; }
.lang:focus-visible { outline: 3px solid var(--sky); }
.modal-video { background: #000; }
.modal-video video { width: 100%; aspect-ratio: 16 / 9; max-height: calc(100vh - 220px); background: #000; }
.lightbox .modal-dialog { max-width: 1400px; background: #fff; }
.lightbox img { width: 100%; height: auto; max-height: calc(100vh - 120px); object-fit: contain; }
body.modal-open { overflow: hidden; }

/* ---------- blog pages ---------- */
.page-hero { background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 60%, var(--blue) 100%); color: #d7e3ef; padding: 72px 0 64px; }
.page-hero h1 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.9rem); max-width: 900px; }
.page-hero p { max-width: 720px; margin: 0; font-size: 1.08rem; }
.breadcrumbs { font-size: .82rem; margin-bottom: 18px; color: #9fb7cd; }
.breadcrumbs a { color: #cfe0ef; text-decoration: none; }
.breadcrumbs a:hover { color: #fff; }
.article { max-width: 780px; margin: 0 auto; padding: 64px 20px 80px; font-size: 1.04rem; }
.article h2 { font-size: 1.55rem; margin-top: 1.8em; }
.article h3 { margin-top: 1.5em; }
.article img, .article figure { border-radius: var(--radius); margin: 28px 0; }
.article figure img { margin: 0; }
.article figcaption { font-size: .85rem; color: var(--muted); margin-top: 8px; }
.article .meta { color: var(--muted); font-size: .88rem; margin-bottom: 24px; }
.callout { background: var(--water); border-left: 4px solid var(--blue); border-radius: 0 12px 12px 0; padding: 20px 24px; margin: 28px 0; }
.callout p:last-child { margin: 0; }
.table-wrap { overflow-x: auto; margin: 24px 0; }
.article table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.article th, .article td { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.article th { background: var(--bg-soft); color: var(--navy); }
.article-cta { margin-top: 48px; padding: 30px; border-radius: 16px; background: var(--bg-soft); display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.article-cta p { margin: 0; font-weight: 700; color: var(--navy); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card, .scheme { transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1300px) {
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: calc(var(--header-h) + 38px) 0 auto 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px rgba(13, 47, 82, .12); display: none; max-height: calc(100vh - var(--header-h)); overflow: auto; }
  .header.is-scrolled .nav { top: var(--header-h); }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; padding: 10px 16px 18px; }
  .nav a { padding: 14px 12px; font-size: .9rem; }
  .schemes { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .section { padding: 72px 0; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .benefits, .steps, .cards { grid-template-columns: 1fr; }
  .steps, .cards { max-width: 560px; margin-left: auto; margin-right: auto; }
  .features { grid-template-columns: 1fr; }
  .stat-band { grid-template-columns: repeat(2, 1fr); }
  .band { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 36px 26px; }
  .footer-grid { grid-template-columns: 1fr; }
  .downloads { grid-template-columns: 1fr; }
  .prices { grid-template-columns: 1fr; max-width: 560px; }
  .coop { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .topbar-claim { display: none; }
  .topbar .wrap { justify-content: center; }
  .topbar-contact { gap: 16px; }
  .topbar-contact .t-mail { display: none; }
  .hero { min-height: 420px; }
  .hero::after { background: linear-gradient(0deg, rgba(9, 32, 58, .9) 0%, rgba(9, 32, 58, .5) 35%, rgba(9, 32, 58, 0) 60%); }
  .hero .wrap { padding-bottom: 32px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .schemes, .screens, .keys, .dims, .form-row { grid-template-columns: 1fr; }
  .form { padding: 24px 18px; }
  .specs th, .specs td { padding: 12px 14px; display: block; width: 100%; }
  .specs th { padding-bottom: 0; border-bottom: 0; }
  .modal { padding: 0; }
  .modal-dialog { border-radius: 0; max-height: 100vh; height: 100%; justify-content: flex-start; }
  .modal-video { flex: 1; display: flex; align-items: center; }
  .lang img { width: 34px; height: 23px; }
  .stat { padding: 20px 12px; }
  .stat strong { font-size: 1.5rem; white-space: nowrap; }
  .logo img { height: 22px; }
  .price { padding: 28px 22px; }
  .buy .form { padding: 20px 18px 24px; }
}
.dim-btn { all: unset; display: block; cursor: zoom-in; }
.dim-btn:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 10px; }
.footer-links { display: inline-flex; gap: 20px; flex-wrap: wrap; }
.consents { display: block; margin: 4px 0 18px; }
.consent { display: block; margin-bottom: 10px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; line-height: 1.5; color: var(--text); cursor: pointer; }
.check input { flex: none; width: 18px; height: 18px; margin: .1em 0 0; accent-color: var(--blue); }
.check a.consent-more { color: var(--blue); text-decoration: underline; white-space: nowrap; }
.consent-full { margin: 6px 0 0 28px; font-size: .78rem; line-height: 1.5; color: var(--muted); }
.consent-full a, .form-note a { color: var(--blue); }
.legal h2 { font-size: 1.3rem; }
.legal ul { padding-left: 1.2em; }

/* catalogue price (02.11.2026) */
.hero-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 14px; }
.hero-badges .patent-hero { margin: 0; }
.hero-price { display: inline-flex; align-items: baseline; gap: 8px; padding: 6px 16px 7px; border-radius: 999px; background: #fff; color: var(--navy); text-decoration: none; box-shadow: 0 6px 20px rgba(0, 0, 0, .25); transition: transform .2s, box-shadow .2s; }
.hero-price:hover { color: var(--navy); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0, 0, 0, .3); }
.hero-price-label { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.hero-price-value { font-size: 1.15rem; font-weight: 800; color: var(--blue); letter-spacing: -.01em; }
.hero-price-tax { font-size: .8rem; font-weight: 600; color: var(--muted); }

.price-tag { position: relative; margin: 4px 0 20px; padding: 18px 20px 16px; border-radius: 14px; background: linear-gradient(135deg, var(--water) 0%, #fff 100%); border: 1px solid #cfe5f6; overflow: hidden; }
.price-tag::after { content: ""; position: absolute; right: -30px; top: -30px; width: 110px; height: 110px; border-radius: 50%; background: radial-gradient(circle, rgba(95, 184, 240, .28), rgba(95, 184, 240, 0) 70%); }
.price-tag-label { display: block; font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.price-big { display: flex; align-items: flex-end; gap: 8px; margin: 2px 0 6px; line-height: 1; color: var(--navy); }
.price-amount { font-size: clamp(2.8rem, 6vw, 3.6rem); font-weight: 800; letter-spacing: -.03em; color: var(--blue); }
.price-cur { display: flex; flex-direction: column; font-size: 1.3rem; font-weight: 800; line-height: 1.05; padding-bottom: 5px; }
.price-cur small { font-size: .8rem; font-weight: 600; color: var(--muted); }
.price-tag-note { display: block; font-size: .85rem; color: var(--muted); }
@media (max-width: 640px) {
  .hero-badges { gap: 8px; }
  .hero-price { padding: 5px 14px 6px; }
}

/* language switch PL / EN (02.11.2026) */
.lang-switch { display: inline-flex; align-items: center; gap: 2px; padding-left: 14px; border-left: 1px solid rgba(255, 255, 255, .2); }
.topbar .lang-switch a { padding: 2px 7px; border-radius: 6px; font-weight: 700; letter-spacing: .06em; }
.topbar .lang-switch a[aria-current="true"] { background: rgba(255, 255, 255, .14); color: #fff; }

/* article pages (blog, privacy policy): page title aligned with the text column (02.11.2026) */
.page-hero:has(+ .article) .wrap { max-width: 780px; }
@media (max-width: 640px) { .article { padding-left: 16px; padding-right: 16px; } }

/* forms sent via api/send.php (02.11.2026) */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.captcha input { max-width: 160px; }
.form-status.is-error { color: #c0392b; }
