/* ==========================================================================
   ClimatePro s.r.o. — hlavní stylopis
   ========================================================================== */

:root {
  --ink: #10161c;
  --ink-2: #0b1015;
  --bg: #f5f7f8;
  --white: #fff;
  --border: #e2e8ed;
  --border-2: #edf1f4;
  --border-3: #dde4ea;

  --muted-1: #5d6b78;
  --muted-2: #66727e;
  --muted-3: #7d8b98;
  --muted-4: #8b98a5;
  --muted-5: #4a5762;
  --muted-6: #414e5a;
  --muted-7: #3d4a56;
  --muted-8: #96a3af;
  --muted-9: #8493a1;
  --muted-10: #9aa6b1;

  --gray-bg-1: #f7f9fa;
  --gray-bg-2: #fbfcfd;
  --gray-bg-3: #eef2f5;
  --gray-bg-4: #eef4fa;
  --gray-bg-5: #f2f5f7;
  --gray-bg-6: #e6ebef;
  --gray-bg-7: #f0f3f6;
  --gray-bg-8: #e6eaee;

  --dark-muted-1: #93a2af;
  --dark-muted-2: #8e9daa;
  --dark-muted-3: #b9c6d2;
  --dark-muted-4: #c2cfda;
  --dark-muted-5: #c9d6e2;
  --dark-muted-6: #dfe7ee;
  --dark-muted-7: #6c7a87;
  --dark-muted-8: #7f8d9a;

  --blue: oklch(0.52 0.12 235);
  --blue-hover: oklch(0.42 0.12 235);
  --blue-bg: #eef4fa;

  --amber: oklch(0.62 0.15 45);
  --amber-hover: oklch(0.7 0.14 45);
  --amber-light: oklch(0.78 0.13 45);
  --amber-light-2: oklch(0.72 0.13 45);
  --amber-link: oklch(0.82 0.11 45);
  --amber-ink: #150c05;

  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'IBM Plex Sans', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  margin: 0;
  letter-spacing: -0.02em;
  text-wrap: balance;
  font-weight: 700;
}

p { margin: 0; text-wrap: pretty; }

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-hover); text-decoration: underline; }

button { font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: 15px; }

img { display: block; max-width: 100%; height: auto; }

ul, ol { margin: 0; }

.hp-field { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

@keyframes cpUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes cpIn { from { transform: translateX(24px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ==========================================================================
   Layout helpers
   ========================================================================== */

.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.container-md { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 900px; margin: 0 auto; padding: 0 24px; }
.container-xs { max-width: 800px; margin: 0 auto; padding: 0 24px; }

.section { padding: 76px 0; }
.section-tight { padding: 56px 0 70px; }
.section-sm { padding: 60px 0; }

.bg-white { background: var(--white); }
.bg-dark { background: var(--ink); color: #fff; }
.border-top { border-top: 1px solid var(--border); }
.border-bottom { border-bottom: 1px solid var(--border); }

.eyebrow {
  display: inline-block;
  font: 500 11px/1 var(--font-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}
.eyebrow-light { color: var(--amber-light); }
.eyebrow-amber { color: var(--amber); }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 11px;
  padding: 16px 24px;
  font: 600 16px/1 var(--font-body);
  cursor: pointer;
  text-decoration: none;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn:hover { text-decoration: none; }

.btn-amber { background: var(--amber); color: var(--amber-ink); }
.btn-amber:hover { background: var(--amber-hover); color: var(--amber-ink); }

.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--blue); color: #fff; }

.btn-outline-white { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.28); }
.btn-outline-white:hover { border-color: #fff; color: #fff; }

.btn-outline { background: none; color: var(--ink); border: 1px solid #cfd8e0; }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }

.btn-sm { padding: 11px 15px; border-radius: 9px; font-size: 14px; }
.btn-block { width: 100%; }

.btn[disabled], .btn.is-disabled {
  background: var(--gray-bg-6); color: var(--muted-10); cursor: not-allowed;
}
.btn.is-disabled:hover { background: var(--gray-bg-6); color: var(--muted-10); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--muted-5);
  border: 1px solid var(--border-3);
  padding: 11px 16px;
  border-radius: 999px;
  font: 500 14px/1 var(--font-body);
  cursor: pointer;
}
.pill.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

.chip {
  background: none;
  border: 1px solid var(--border-3);
  padding: 11px 15px;
  border-radius: 9px;
  font: 500 14px/1 var(--font-body);
  color: var(--muted-5);
  cursor: pointer;
}
.chip.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ==========================================================================
   Promo bar + header
   ========================================================================== */

.promo-bar {
  background: var(--ink);
  color: var(--dark-muted-5);
  font: 500 13px/1 var(--font-mono);
  letter-spacing: 0.02em;
  padding: 11px 24px;
  display: flex;
  gap: 26px;
  justify-content: center;
  flex-wrap: wrap;
  text-align: center;
}
.promo-bar .accent { color: var(--amber-light-2); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  padding-top: 14px;
  padding-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 11px;
  background: var(--blue);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font: 700 17px/1 var(--font-display); flex: none;
}
.brand-text { display: flex; flex-direction: column; align-items: flex-start; }
.brand-name { font: 700 19px/1 var(--font-display); letter-spacing: -0.03em; color: var(--ink); }
.brand-sub { font: 400 10px/1.4 var(--font-mono); color: var(--muted-3); letter-spacing: 0.09em; text-transform: uppercase; }

.main-nav { display: flex; gap: 4px; margin-left: auto; flex-wrap: wrap; }
.nav-link {
  background: transparent; border: none; padding: 9px 13px; border-radius: 9px;
  font: 500 14px/1 var(--font-body); color: var(--muted-1); cursor: pointer;
  text-decoration: none; display: inline-block;
}
.nav-link:hover { background: var(--gray-bg-3); color: var(--ink); text-decoration: none; }
.nav-link.is-active { background: var(--gray-bg-3); color: var(--ink); }

.header-actions { display: flex; align-items: center; gap: 12px; flex: none; }
.phone-link { font: 600 15px/1 var(--font-body); color: var(--ink); white-space: nowrap; }
.phone-link:hover { color: var(--blue); text-decoration: none; }

.cart-btn {
  position: relative; background: var(--ink); color: #fff; border: none;
  padding: 11px 16px; border-radius: 10px; font: 600 14px/1 var(--font-body);
  cursor: pointer; white-space: nowrap;
}
.cart-btn:hover { background: var(--blue); }
.cart-btn .cart-count { margin-left: 8px; font: 500 13px/1 var(--font-mono); opacity: 0.75; }

.nav-toggle { display: none; }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero { background: var(--ink); color: #fff; overflow: hidden; }
.hero .container {
  padding: 76px 24px 84px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero-copy { animation: cpUp .6s ease both; }
.hero-badge {
  display: inline-block; font: 500 11px/1 var(--font-mono); letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--amber-light);
  border: 1px solid rgba(255,255,255,0.18); padding: 8px 12px; border-radius: 999px;
}
.hero h1 { font-size: 58px; line-height: 1.02; margin: 22px 0 20px; font-weight: 700; }
.hero-lead { font-size: 19px; line-height: 1.6; color: var(--dark-muted-3); margin: 0 0 30px; max-width: 540px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 32px; margin-top: 40px; flex-wrap: wrap; }
.hero-stats .stat-num { font: 700 30px/1 var(--font-display); color: #fff; }
.hero-stats .stat-label { font: 400 13px/1.4 var(--font-mono); color: var(--dark-muted-2); margin-top: 6px; }

.hero-media {
  aspect-ratio: 4/5; border-radius: 18px; overflow: hidden; position: relative;
  border: 1px solid rgba(255,255,255,0.12);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }

/* generic photo frame used across the site for stock photos */
.photo-frame { position: relative; overflow: hidden; background: var(--gray-bg-8); }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.photo-cap {
  position: absolute; left: 12px; bottom: 10px; right: 12px;
  font: 500 10px/1.5 var(--font-mono); color: #fff; letter-spacing: 0.06em;
  text-shadow: 0 1px 6px rgba(0,0,0,0.65); text-transform: uppercase;
  opacity: 0; pointer-events: none;
}

/* ==========================================================================
   Trust bar
   ========================================================================== */

.trust-bar { padding: 26px 0; }
.trust-item { display: flex; gap: 12px; align-items: flex-start; }
.trust-dot { width: 9px; height: 9px; border-radius: 2px; background: var(--amber); margin-top: 6px; flex: none; }
.trust-title { font: 600 15px/1.3 var(--font-body); }
.trust-desc { font-size: 13px; line-height: 1.5; color: var(--muted-2); margin-top: 3px; }

/* ==========================================================================
   Cards: services / products / plans / reviews / blog / team / refs
   ========================================================================== */

.card { background: #fff; border: 1px solid var(--border); border-radius: 16px; }

.service-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 26px; transition: border-color .15s ease; }
.service-card:hover { border-color: var(--amber); }
.service-card .num { font: 500 11px/1 var(--font-mono); color: var(--muted-4); letter-spacing: 0.1em; }
.service-card h3 { font-size: 21px; margin: 14px 0 10px; }
.service-card p { font-size: 15px; line-height: 1.62; color: var(--muted-1); margin: 0 0 16px; }
.service-card .price { font: 600 15px/1 var(--font-body); color: var(--blue); }

.product-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.product-media { position: relative; aspect-ratio: 4/3; }
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-badge {
  position: absolute; top: 12px; left: 12px; background: var(--amber); color: var(--amber-ink);
  font: 600 11px/1 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase;
  padding: 7px 10px; border-radius: 6px;
}
.product-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.product-meta { display: flex; justify-content: space-between; gap: 10px; font: 500 11px/1 var(--font-mono); color: var(--muted-4); letter-spacing: 0.08em; text-transform: uppercase; }
.product-card h3 { font-size: 19px; margin: 10px 0 8px; }
.product-card .desc { font-size: 14px; line-height: 1.6; color: var(--muted-1); margin: 0 0 14px; flex: 1; }
.product-specs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.product-specs span { background: var(--gray-bg-5); color: var(--muted-5); font: 500 12px/1 var(--font-mono); padding: 7px 9px; border-radius: 6px; }
.product-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; }
.product-price { font: 700 21px/1 var(--font-display); }
.product-note { font-size: 12px; color: var(--muted-4); margin-top: 5px; }

.btn-add {
  background: var(--ink); color: #fff; border: none; padding: 12px 16px; border-radius: 9px;
  font: 600 14px/1 var(--font-body); cursor: pointer; white-space: nowrap;
}
.btn-add:hover { background: var(--blue); }

.plan-card { border-radius: 18px; padding: 30px; display: flex; flex-direction: column; border: 1px solid var(--border); background: #fff; color: var(--ink); }
.plan-card.is-featured { background: var(--ink); color: #fff; border-color: var(--ink); }
.plan-card .tag { font: 500 11px/1 var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.7; }
.plan-card h3 { font-size: 25px; margin: 12px 0 6px; }
.plan-card .price { font: 700 32px/1 var(--font-display); margin: 12px 0 4px; }
.plan-card .per { font-size: 13px; opacity: 0.7; margin-bottom: 20px; }
.plan-card ul { margin: 0 0 24px; padding-left: 18px; display: flex; flex-direction: column; gap: 9px; flex: 1; list-style: disc; }
.plan-card li { font-size: 14.5px; line-height: 1.55; }

.review-card { border: 1px solid rgba(255,255,255,0.14); border-radius: 16px; padding: 26px; }
.review-stars { font: 500 14px/1 var(--font-mono); color: var(--amber-light); letter-spacing: 0.14em; }
.review-text { font-size: 16px; line-height: 1.65; color: var(--dark-muted-6); margin: 16px 0 20px; }
.review-name { font: 600 15px/1 var(--font-body); }
.review-meta { font-size: 13px; color: var(--dark-muted-2); margin-top: 5px; }

.faq-item { background: #fff; border: 1px solid var(--border); border-radius: 13px; overflow: hidden; }
.faq-question {
  width: 100%; text-align: left; background: none; border: none; padding: 19px 22px;
  font: 600 16px/1.4 var(--font-body); color: var(--ink); cursor: pointer;
  display: flex; justify-content: space-between; gap: 16px;
}
.faq-sign { color: var(--amber); flex: none; font-size: 18px; line-height: 1; }
.faq-answer { font-size: 15px; line-height: 1.65; color: var(--muted-1); margin: 0; padding: 0 22px 20px; display: none; }
.faq-item.is-open .faq-answer { display: block; }

.blog-card {
  text-align: left; background: #fff; border: 1px solid var(--border); border-radius: 18px;
  overflow: hidden; cursor: pointer; padding: 0; display: block; text-decoration: none; color: inherit;
}
.blog-card:hover { border-color: var(--amber); text-decoration: none; color: inherit; }
.blog-media { aspect-ratio: 16/9; position: relative; }
.blog-body { padding: 26px; }
.blog-meta { font: 500 11px/1 var(--font-mono); color: var(--muted-4); letter-spacing: 0.1em; text-transform: uppercase; }
.blog-card h2 { font-size: 23px; margin: 11px 0 10px; }
.blog-lead { font-size: 15px; line-height: 1.62; color: var(--muted-1); margin: 0; }
.blog-more { font: 600 14px/1 var(--font-body); color: var(--blue); margin-top: 16px; }

.ref-card { background: #fff; border: 1px solid var(--border); border-radius: 18px; overflow: hidden; }
.ref-media { aspect-ratio: 16/10; position: relative; }
.ref-body { padding: 26px; }
.ref-place { font: 500 11px/1 var(--font-mono); color: var(--muted-4); letter-spacing: 0.1em; text-transform: uppercase; }
.ref-card h2 { font-size: 22px; margin: 11px 0 10px; }
.ref-desc { font-size: 15px; line-height: 1.62; color: var(--muted-1); margin: 0 0 18px; }
.ref-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; border-top: 1px solid var(--border-2); padding-top: 16px; }
.ref-stats .v { font: 700 17px/1 var(--font-display); }
.ref-stats .l { font-size: 12px; color: var(--muted-4); margin-top: 4px; }

.team-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.team-media { aspect-ratio: 1; position: relative; }
.team-body { padding: 20px; }
.team-name { font: 600 17px/1.3 var(--font-body); }
.team-role { font-size: 13px; color: var(--blue); margin-top: 5px; }
.team-note { font-size: 13.5px; line-height: 1.6; color: var(--muted-2); margin: 10px 0 0; }

.stat-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 26px; }
.stat-card .n { font: 700 34px/1 var(--font-display); color: var(--blue); }
.stat-card .l { font-size: 14px; line-height: 1.5; color: var(--muted-1); margin-top: 10px; }

.cert-card { border: 1px solid var(--border); border-radius: 14px; padding: 22px; background: #fff; }
.cert-card .t { font: 600 16px/1.35 var(--font-body); }
.cert-card .d { font-size: 13.5px; line-height: 1.6; color: var(--muted-2); margin-top: 8px; }

.info-card { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 22px; }
.info-card h3 { font-size: 17px; margin-bottom: 8px; }
.info-card p { font-size: 14px; line-height: 1.6; color: var(--muted-1); }

/* ==========================================================================
   Calculator (home)
   ========================================================================== */

.calculator {
  background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 38px;
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 44px; align-items: center;
}
.calculator h2 { font-size: 32px; margin: 12px 0 12px; }
.calculator p { font-size: 15px; line-height: 1.62; color: var(--muted-1); margin: 0 0 22px; }
.calc-slider-label { display: block; font: 600 13px/1 var(--font-body); margin-bottom: 9px; }
.calc-slider-label span { color: var(--blue); }
.calc-slider { width: 100%; accent-color: var(--blue); margin-bottom: 20px; }
.calc-sides { display: flex; gap: 8px; flex-wrap: wrap; }

.calc-result { background: var(--ink); border-radius: 16px; padding: 30px; color: #fff; }
.calc-result .label { font: 400 12px/1 var(--font-mono); color: var(--dark-muted-2); letter-spacing: 0.1em; text-transform: uppercase; }
.calc-result .kw { font: 700 54px/1 var(--font-display); margin: 12px 0 6px; }
.calc-result .note { font-size: 15px; line-height: 1.6; color: var(--dark-muted-3); margin-bottom: 22px; }
.calc-result .product-box { border-top: 1px solid rgba(255,255,255,0.14); padding-top: 20px; }
.calc-result .product-label { font: 400 12px/1 var(--font-mono); color: var(--dark-muted-2); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 10px; }
.calc-result .product-name { font: 600 19px/1.3 var(--font-display); }
.calc-result .product-price { font-size: 14px; color: var(--dark-muted-3); margin-top: 6px; }

/* ==========================================================================
   Steps
   ========================================================================== */

.step { border-top: 2px solid var(--ink); padding-top: 18px; }
.step .no { font: 700 13px/1 var(--font-mono); color: var(--amber); letter-spacing: 0.1em; }
.step h3 { font-size: 19px; margin: 12px 0 9px; }
.step p { font-size: 14px; line-height: 1.6; color: var(--muted-1); }

/* ==========================================================================
   Service detail rows / pricing table
   ========================================================================== */

.service-detail-row {
  background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 32px;
  display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 36px;
}
.service-detail-row .tag { font: 500 11px/1 var(--font-mono); color: var(--muted-4); letter-spacing: 0.1em; text-transform: uppercase; }
.service-detail-row h2 { font-size: 27px; margin: 12px 0 12px; }
.service-detail-row .price { font: 600 17px/1 var(--font-body); color: var(--blue); }
.service-detail-row .time { font-size: 13px; color: var(--muted-3); margin-top: 8px; }
.service-detail-row .desc { font-size: 16px; line-height: 1.65; color: var(--muted-6); margin: 0 0 18px; }
.service-detail-row ul { margin: 0; padding-left: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 9px 24px; list-style: disc; }
.service-detail-row li { font-size: 14px; line-height: 1.55; color: var(--muted-1); }

.price-table { background: #fff; border: 1px solid var(--border); border-radius: 18px; overflow: hidden; }
.price-group-name {
  background: var(--gray-bg-1); padding: 16px 26px; font: 600 14px/1 var(--font-mono);
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-5); border-bottom: 1px solid var(--border);
}
.price-row {
  display: grid; grid-template-columns: 1.6fr 1fr auto; gap: 20px; padding: 17px 26px;
  border-bottom: 1px solid var(--border-2); align-items: center;
}
.price-row:last-child { border-bottom: none; }
.price-row .t { font: 600 16px/1.4 var(--font-body); }
.price-row .d { font-size: 14px; line-height: 1.5; color: var(--muted-2); }
.price-row .p { font: 700 18px/1 var(--font-display); white-space: nowrap; }

.price-cta {
  margin-top: 26px; background: var(--ink); color: #fff; border-radius: 18px; padding: 32px;
  display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap;
}
.price-cta h2 { font-size: 26px; margin-bottom: 8px; }
.price-cta p { font-size: 15px; color: var(--dark-muted-3); margin: 0; }

/* ==========================================================================
   Forms
   ========================================================================== */

.field { display: flex; flex-direction: column; gap: 7px; }
.field.span-2 { grid-column: span 2; }
.field label, .field-label { font: 600 13px/1 var(--font-body); color: var(--muted-5); }
.field input, .field textarea {
  border: 1px solid var(--border-3); border-radius: 10px; padding: 13px 14px;
  font-size: 15px; background: var(--gray-bg-2); width: 100%;
}
.field input:focus, .field textarea:focus { border-color: var(--blue); outline: none; }
.field textarea { resize: vertical; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.checkbox-row { display: flex; gap: 11px; align-items: flex-start; cursor: pointer; }
.checkbox-row input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--blue); flex: none; }
.checkbox-row .checkbox-text { font-size: 13px; line-height: 1.55; color: var(--muted-1); }

.form-hint { font-size: 12.5px; color: var(--muted-4); margin-top: 12px; }

.option-btn {
  text-align: left; background: var(--gray-bg-2); border: 1px solid var(--border-3);
  border-radius: 10px; padding: 13px 14px; cursor: pointer;
  display: flex; justify-content: space-between; gap: 12px; width: 100%;
}
.option-btn .label { font: 500 14.5px/1.3 var(--font-body); color: var(--ink); }
.option-btn .price { font: 600 14px/1.3 var(--font-mono); color: var(--muted-5); }
.option-btn.is-active { background: var(--blue-bg); border-color: var(--blue); }

/* ==========================================================================
   Cart page
   ========================================================================== */

.cart-grid { display: grid; grid-template-columns: 1.35fr 0.85fr; gap: 24px; align-items: start; }
.cart-items { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 10px 24px; }
.cart-item-row {
  display: grid; grid-template-columns: 64px 1fr auto auto; gap: 16px; align-items: center;
  padding: 18px 0; border-bottom: 1px solid var(--border-2);
}
.cart-item-row:last-of-type { border-bottom: none; }
.cart-item-thumb { aspect-ratio: 1; border-radius: 9px; overflow: hidden; background: var(--gray-bg-8); }
.cart-item-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-name { font: 600 16px/1.35 var(--font-body); }
.cart-item-meta { font-size: 13px; color: var(--muted-3); margin-top: 4px; }
.cart-item-sum { font: 700 17px/1 var(--font-display); }
.cart-item-remove { background: none; border: none; padding: 6px 0 0; font-size: 12.5px; color: var(--muted-8); cursor: pointer; text-decoration: underline; }

.qty-control { display: flex; align-items: center; gap: 2px; border: 1px solid var(--border-3); border-radius: 9px; overflow: hidden; width: fit-content; }
.qty-control button { background: var(--gray-bg-1); border: none; width: 34px; height: 34px; font-size: 17px; cursor: pointer; color: var(--muted-5); }
.qty-control .qty-val { width: 36px; text-align: center; font: 600 15px/1 var(--font-mono); }

.order-panel { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 26px; margin-top: 14px; }
.order-panel h2 { font-size: 22px; margin-bottom: 18px; }

.order-summary { background: var(--ink); color: #fff; border-radius: 18px; padding: 28px; position: sticky; top: 110px; }
.order-summary h2 { font-size: 21px; margin-bottom: 20px; }
.summary-row { display: flex; justify-content: space-between; gap: 14px; color: var(--dark-muted-4); font-size: 15px; }
.summary-row + .summary-row { margin-top: 11px; }
.summary-total {
  border-top: 1px solid rgba(255,255,255,0.16); margin-top: 18px; padding-top: 18px;
  display: flex; justify-content: space-between; align-items: baseline;
}
.summary-total .label { font: 600 16px/1 var(--font-body); }
.summary-total .value { font: 700 30px/1 var(--font-display); }
.summary-vat { font-size: 12.5px; color: var(--dark-muted-2); margin-top: 6px; }

.empty-cart { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 46px; text-align: center; }
.order-success { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 46px; text-align: center; }
.order-success h1 { font-size: 38px; margin: 16px 0 12px; }
.order-success p { font-size: 17px; line-height: 1.65; color: var(--muted-1); max-width: 560px; margin: 0 auto 8px; }

/* ==========================================================================
   Cart drawer
   ========================================================================== */

.cart-drawer { position: fixed; inset: 0; z-index: 60; display: none; justify-content: flex-end; }
.cart-drawer.is-open { display: flex; }
.cart-drawer-overlay { position: absolute; inset: 0; background: rgba(9,14,19,0.5); border: none; padding: 0; cursor: pointer; }
.cart-drawer-panel {
  position: relative; width: 420px; max-width: 92vw; background: var(--bg); height: 100%;
  display: flex; flex-direction: column; animation: cpIn .25s ease both;
  box-shadow: -20px 0 60px rgba(9,14,19,0.28);
}
.cart-drawer-header {
  padding: 22px 24px; border-bottom: 1px solid var(--border); display: flex;
  justify-content: space-between; align-items: center; background: #fff;
}
.cart-drawer-close { background: none; border: none; font-size: 22px; color: var(--muted-3); cursor: pointer; padding: 0 4px; }
.cart-drawer-body { flex: 1; overflow-y: auto; padding: 18px 24px; }
.cart-drawer-empty { font-size: 15px; line-height: 1.6; color: var(--muted-1); }
.cart-drawer-line { background: #fff; border: 1px solid var(--border); border-radius: 13px; padding: 16px; display: grid; grid-template-columns: 1fr auto; gap: 12px; }
.cart-drawer-line + .cart-drawer-line { margin-top: 12px; }
.cart-drawer-footer { padding: 22px 24px; border-top: 1px solid var(--border); background: #fff; }
.cart-drawer-subtotal { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.cart-drawer-subtotal .label { font: 600 15px/1 var(--font-body); }
.cart-drawer-subtotal .value { font: 700 24px/1 var(--font-display); }
.cart-drawer-note { font-size: 12.5px; color: var(--muted-4); margin-top: 11px; text-align: center; }

/* ==========================================================================
   Cookie bar
   ========================================================================== */

.cookie-bar { position: fixed; bottom: 18px; left: 18px; right: 18px; z-index: 70; display: flex; justify-content: center; }
.cookie-bar[hidden] { display: none; }
.cookie-card {
  background: var(--ink); color: #fff; border-radius: 16px; padding: 22px 26px; max-width: 960px; width: 100%;
  display: grid; grid-template-columns: 1fr auto; gap: 26px; align-items: center;
  box-shadow: 0 20px 50px rgba(9,14,19,0.35);
}
.cookie-card .title { font: 600 16px/1.4 var(--font-body); margin-bottom: 6px; }
.cookie-card p { font-size: 13.5px; line-height: 1.6; color: var(--dark-muted-3); margin: 0; }
.cookie-card a { color: var(--amber-link); }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ==========================================================================
   Legal pages
   ========================================================================== */

.legal-meta { font-size: 14px; color: var(--muted-3); margin: 0 0 30px; }
.legal-body { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 36px; display: flex; flex-direction: column; gap: 26px; }
.legal-block h2 { font-size: 21px; margin-bottom: 11px; }
.legal-block p { font-size: 15.5px; line-height: 1.75; color: var(--muted-6); margin: 0; }
.legal-nav { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }

/* ==========================================================================
   Contact
   ========================================================================== */

.contact-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 24px; align-items: start; }
.contact-form-card { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 30px; }
.contact-info-card { background: var(--ink); color: #fff; border-radius: 18px; padding: 28px; }
.contact-info-card h2 { font-size: 21px; margin-bottom: 18px; }
.contact-row + .contact-row { margin-top: 13px; }
.contact-row .l { font: 500 11px/1 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--dark-muted-2); margin-bottom: 5px; }
.contact-row .v { color: var(--dark-muted-4); font-size: 15px; line-height: 1.55; }
.contact-info-list { display: flex; flex-direction: column; gap: 13px; font-size: 15px; line-height: 1.55; color: var(--dark-muted-4); }
.map-card { background: #fff; border: 1px solid var(--border); border-radius: 18px; overflow: hidden; margin-top: 14px; }
.map-media { aspect-ratio: 16/10; background: var(--gray-bg-8); display: flex; align-items: center; justify-content: center; }
.map-media span { font: 500 10px/1.5 var(--font-mono); color: var(--muted-9); letter-spacing: 0.08em; text-transform: uppercase; text-align: center; padding: 0 20px; }
.map-body { padding: 22px; }
.map-body .t { font: 600 16px/1.35 var(--font-body); }
.map-body p { font-size: 14px; line-height: 1.6; color: var(--muted-1); margin: 8px 0 0; }

.lead-success { padding: 30px 0; text-align: center; }
.lead-success h2 { font-size: 26px; margin-bottom: 12px; }
.lead-success p { font-size: 16px; line-height: 1.65; color: var(--muted-1); margin: 0; }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer { background: var(--ink-2); color: var(--dark-muted-1); margin-top: auto; }
.footer-grid { max-width: 1240px; margin: 0 auto; padding: 56px 24px 30px; display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 36px; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-brand .mark { width: 34px; height: 34px; border-radius: 10px; background: var(--blue); display: flex; align-items: center; justify-content: center; color: #fff; font: 700 16px/1 var(--font-display); }
.footer-brand .name { font: 700 18px/1 var(--font-display); color: #fff; letter-spacing: -0.03em; }
.footer-col p { font-size: 14px; line-height: 1.65; margin: 0 0 16px; }
.footer-address { font-size: 13.5px; line-height: 1.75; }
.footer-heading { font: 600 13px/1 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.footer-links a { background: none; border: none; padding: 0; font: 400 14px/1.4 var(--font-body); color: var(--dark-muted-1); cursor: pointer; text-align: left; text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: none; }
.footer-contact { display: flex; flex-direction: column; gap: 12px; font-size: 14px; line-height: 1.5; }
.footer-contact a { color: #fff; font-weight: 600; text-decoration: none; }
.footer-contact a.muted { color: var(--dark-muted-1); font-weight: 400; }
.footer-bank { font: 500 12px/1.5 var(--font-mono); color: var(--dark-muted-7); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.09); }
.footer-bottom .container { padding: 20px 24px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13px; }
.footer-bottom-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-cookie-btn { background: none; border: none; padding: 0; font: 400 13px/1 var(--font-body); color: var(--dark-muted-1); cursor: pointer; text-decoration: underline; }

body { display: flex; flex-direction: column; min-height: 100vh; }
main { flex: 1; width: 100%; }

/* ==========================================================================
   404
   ========================================================================== */

.error-page { text-align: center; padding: 110px 24px; }
.error-page .code { font: 700 100px/1 var(--font-display); color: var(--border-3); }
.error-page h1 { font-size: 32px; margin: 10px 0 14px; }
.error-page p { font-size: 16px; color: var(--muted-1); margin: 0 0 26px; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-media { order: -1; aspect-ratio: 16/9; }
  .hero h1 { font-size: 42px; }
  .calculator { grid-template-columns: 1fr; padding: 28px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .service-detail-row { grid-template-columns: 1fr; }
  .cart-grid { grid-template-columns: 1fr; }
  .order-summary { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  section h2 { font-size: 30px !important; }
}

@media (max-width: 640px) {
  .site-header .container { flex-wrap: wrap; gap: 14px; padding-top: 12px; padding-bottom: 12px; }
  .main-nav { order: 3; width: 100%; margin-left: 0; overflow-x: auto; flex-wrap: nowrap; gap: 2px; padding-bottom: 2px; }
  .nav-link { white-space: nowrap; }
  .phone-link { display: none; }
  .hero .container { padding: 44px 20px 56px; }
  .hero h1 { font-size: 32px; }
  .hero-lead { font-size: 16px; }
  .hero-badge { font-size: 10px; }
  .hero-stats { gap: 22px; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .section { padding: 48px 0; }
  .section-tight { padding: 40px 0 48px; }
  section h1 { font-size: 30px !important; }
  section h2 { font-size: 26px !important; }
  .calc-result .kw { font-size: 40px; }
  .service-detail-row ul { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .field.span-2 { grid-column: span 1; }
  .cart-item-row { grid-template-columns: 48px 1fr; grid-template-areas: "thumb name" "thumb qty" "thumb sum"; row-gap: 8px; }
  .price-cta { flex-direction: column; align-items: flex-start; }
  .cookie-card { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; padding: 44px 20px 24px; }
  .footer-bottom .container { flex-direction: column; align-items: flex-start; }
  .promo-bar { font-size: 11px; gap: 14px; padding: 9px 16px; }
}
