/* CleanWhale.pl — Robotyzacja sprzątania (cleanwhale.pl/roboty).
   Канон: design/DESIGN.md (futura-pt, плоский #2457c6, ореолы, радиусы clamp/6/999).
   Шапка и футер — копия родной оболочки cleanwhale.pl (как на /kaucja). */

:root {
  --cw99-blue: #2457c6;
  --cw99-blue-hover: #1c47a6;
  --cw99-yellow: #ffc73b;
  --cw99-green: #59b78b;
  --cw99-green-dark: #1f7a57;
  --cw99-card: #fafafa;
  --cw99-line: #e9e9e9;
  --cw99-dark: #242424;
  --cw99-muted: #5b6472;
  --chip-bg: #eef2fc;
  --r: clamp(10px, 1.05vw, 16px);
  --r-lg: clamp(14px, 1.5vw, 20px);
  --gutter: 3.6vw;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  font-family: futura-pt, "Futura", sans-serif;
  font-size: 16px;
  line-height: 1.4;
  color: #000;
  background: #fff;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }

.kc-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.kc-i { width: 20px; height: 20px; display: block; flex-shrink: 0; }

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

:focus-visible { outline: 2px solid var(--cw99-blue); outline-offset: 2px; }

/* ---------- Хедер — настоящий cleanwhale.pl ---------- */

.kc-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--cw99-blue);
}

.kc-header__bar {
  display: flex; align-items: center; gap: 1.3vw;
  padding: 10px var(--gutter);
}

.kc-logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.kc-logo img { height: 48px; }

/* Дропдауны на details */
.kc-dd { position: relative; }
.kc-dd summary {
  list-style: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 7px;
  color: #fff; font-size: 15px; font-weight: 500; white-space: nowrap;
}
.kc-dd summary::-webkit-details-marker { display: none; }
.kc-dd summary img { width: 20px; height: 20px; }
.kc-dd summary .kc-i { width: 14px; height: 14px; color: #fff; opacity: 0.8; transition: transform 0.15s ease; }
.kc-dd[open] > summary .kc-i { transform: rotate(180deg); }

.kc-dd__panel {
  position: absolute; top: calc(100% + 12px); left: 0; z-index: 60;
  background: #fff; border-radius: var(--r);
  box-shadow: 0 0 max(14px, 1.2vw) rgba(0, 0, 0, 0.18);
  padding: 12px;
}
.kc-dd__panel a {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px; border-radius: 6px;
  color: #000; font-size: 14.5px; font-weight: 500; white-space: nowrap;
}
.kc-dd__panel a:hover { background: var(--chip-bg); color: var(--cw99-blue); }
.kc-dd__panel a img { width: 20px; height: 20px; }

.kc-dd__panel--cities { columns: 2; column-gap: 8px; min-width: 300px; }
.kc-dd__panel--cities a { break-inside: avoid; display: block; }

.kc-dd__panel--more { min-width: 300px; }
.kc-dd__all { color: var(--cw99-blue) !important; font-weight: 700 !important; margin-top: 4px; }
.kc-dd__all .kc-i { width: 16px; height: 16px; }

/* Мессенджеры */
.kc-header__msgrs { display: flex; align-items: center; gap: 13px; flex-shrink: 0; }
.kc-header__msgrs img { width: 20px; height: 20px; }
.kc-header__msgrs a { opacity: 0.9; }
.kc-header__msgrs a:hover { opacity: 1; }

/* Сервисные табы */
.kc-tabs { display: flex; align-items: center; gap: 5px; margin: 0 auto; }
.kc-tab {
  display: inline-flex; align-items: center; gap: 9px;
  background: #fff; color: #000;
  padding: 10px 13px; border-radius: 6px;
  font-size: 14.5px; font-weight: 500; white-space: nowrap;
  cursor: pointer;
}
.kc-tab:hover { color: var(--cw99-blue); }
.kc-tab img { width: 21px; height: 21px; }
.kc-dd--more summary.kc-tab { color: #000; }
.kc-dd--more summary.kc-tab:hover { color: var(--cw99-blue); }
.kc-dd--more summary.kc-tab .kc-i { color: #000; opacity: 0.6; }

/* Подарок с жёлтым тултипом */
.kc-gift { position: relative; flex-shrink: 0; display: inline-flex; }
.kc-gift > img { width: 30px; height: 30px; }
.kc-gift__tip {
  position: absolute; top: calc(100% + 12px); right: -12px;
  background: var(--cw99-yellow); color: #000;
  font-size: 12.5px; font-weight: 500; white-space: nowrap;
  padding: 6px 10px; border-radius: 6px;
}

/* Konto osobiste */
.kc-account {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(255, 255, 255, 0.18);
  padding: 10px 16px; border-radius: 6px;
  color: #fff; font-size: 15px; font-weight: 500; white-space: nowrap;
  flex-shrink: 0;
}
.kc-account:hover { background: rgba(255, 255, 255, 0.28); }
.kc-account img { width: 19px; height: 19px; }

/* ---------- Футер (копия тёмного футера cleanwhale.pl) ---------- */

.kc-footer { background: var(--cw99-dark); color: #fff; padding: 3.4vw var(--gutter) 2vw; }

.kc-footer__top {
  display: grid;
  grid-template-columns: 190px 1fr 1.9fr 0.8fr;
  gap: 3vw;
  align-items: start;
}

.kc-footer__whalemark { width: 94px; height: 40px; display: block; }

.kc-footer__title {
  font-size: 15px; font-weight: 700; color: #fff;
  padding-bottom: 12px; margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.kc-footer__col a { display: block; color: #cfcfcf; font-size: 13.5px; margin-bottom: 12px; }
.kc-footer__col a:hover { color: #fff; }

.kc-footer__two { column-count: 2; column-gap: 2.4vw; }
.kc-footer__all { display: inline-block; margin-top: 6px; color: #fff !important; font-weight: 500; }

.kc-footer__cities { margin-top: 2.6vw; font-size: 13px; line-height: 1.7; color: #8d8d8d; }
.kc-footer__cities a { color: #8d8d8d; }
.kc-footer__cities a:hover { color: #fff; }

.kc-footer__addr {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2vw; flex-wrap: wrap;
  margin-top: 1.8vw;
}
.kc-footer__addr-left { display: flex; align-items: center; gap: 2.6vw; flex-wrap: wrap; }
.kc-footer__addr-left a { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: #fff; }
.kc-footer__addr-left img { width: 16px; height: 16px; }
.kc-footer__addr-left a:hover { color: #cfcfcf; }

.kc-footer__legal { display: flex; gap: 10px; flex-wrap: wrap; }
.kc-footer__legal a {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 10px;
  padding: 10px 18px;
  font-size: 13px; color: #fff;
}
.kc-footer__legal a:hover { background: rgba(255, 255, 255, 0.08); }

.kc-footer__bottom {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 2vw; flex-wrap: wrap;
  margin-top: 2vw;
}
.kc-footer__bottom p { font-size: 12px; line-height: 1.6; color: #8d8d8d; }
.kc-footer__pay { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.kc-footer__pay img { height: 22px; width: auto; max-width: 100%; }



/* =====================================================================
   /inspekcje — CleanWhale Inspect (prefiks in-)
   ===================================================================== */
:root { --in-tip: #fff3cf; --in-tint: #eef2fc; --in-warn: #e4410d; --in-orange: #f5a623; }
.kc-tab--active { background: var(--cw99-yellow); }
.kc-tab--active:hover { color: #000; }
.kc-card { background: #fff; border-radius: var(--r); box-shadow: 0 0 max(12px, 1.1vw) rgba(0, 0, 0, 0.1); }
[hidden] { display: none !important; }
.in-demo { display: inline-block; font-size: 12px; font-weight: 500; color: var(--cw99-muted); background: var(--in-tint); border-radius: 999px; padding: 3px 9px; }
.in-opt { font-weight: 400; opacity: 0.55; font-size: 0.9em; }

/* Podnawigacja */
.in-subnav { position: sticky; top: 68px; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 2vw; padding: 8px var(--gutter); background: #fff; box-shadow: 0 0 max(12px, 1.1vw) rgba(0, 0, 0, 0.08); }
.in-subnav__links { display: flex; gap: clamp(14px, 2vw, 30px); overflow-x: auto; scrollbar-width: none; }
.in-subnav__links::-webkit-scrollbar { display: none; }
.in-subnav__links a { font-size: 15px; font-weight: 500; white-space: nowrap; padding: 12px 0; }
.in-subnav__links a:hover { color: var(--cw99-blue); }

/* Przyciski */
.in-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 24px; background: var(--cw99-blue); color: #fff; border: 0; border-radius: 6px; font-size: 16px; font-weight: 700; line-height: 1.2; cursor: pointer; white-space: nowrap; text-align: center; }
.in-btn:hover { background: var(--cw99-blue-hover); }
.in-btn .kc-i { width: 18px; height: 18px; }
.in-btn[disabled] { opacity: 0.6; cursor: default; }
.in-btn--sm { padding: 11px 18px; font-size: 14.5px; flex-shrink: 0; }
.in-btn--ghost { background: #fff; color: var(--cw99-blue); box-shadow: inset 0 0 0 2px var(--cw99-blue); }
.in-btn--ghost:hover { background: var(--in-tint); }
.in-btn--yellow { background: var(--cw99-yellow); color: #000; }
.in-btn--yellow:hover { background: #ffea84; }
.in-btn--white { background: #fff; color: var(--cw99-blue); }
.in-btn--white:hover { background: var(--in-tint); }
.in-btn--wide { width: 100%; min-height: 52px; }

/* Typografia */
.in-h1 { margin: 1.1vw 0 1.2vw; font-family: Montserrat, futura-pt, sans-serif; font-size: clamp(30px, 3.5vw, 54px); font-weight: 900; line-height: 1.08; }
.in-h2 { font-family: Montserrat, futura-pt, sans-serif; font-size: clamp(25px, 2.55vw, 40px); font-weight: 900; line-height: 1.12; text-align: center; }
.in-h2--left { text-align: left; }
.in-sub { max-width: 760px; margin: 0.9vw auto 0; text-align: center; font-size: clamp(15px, 1.15vw, 18px); line-height: 1.5; color: var(--cw99-muted); }
.in-sub--left { margin-left: 0; text-align: left; }
.in-section { padding: clamp(40px, 4.4vw, 72px) var(--gutter); }
.in-section__head { margin-bottom: clamp(24px, 2.4vw, 40px); }
.in-hint { font-size: 13.5px; line-height: 1.45; color: var(--cw99-muted); margin-top: 8px; }
.in-hint a { color: var(--cw99-blue); font-weight: 500; }
.in-credits { margin-top: 14px; font-size: 12px; color: var(--cw99-muted); text-align: center; }
.in-tip { margin-top: 16px; padding: 14px 16px; background: var(--in-tip); border-radius: 6px; font-size: 14px; line-height: 1.5; }
.in-badge { display: inline-flex; align-items: center; padding: 9px 16px; border-radius: 999px; background: var(--in-tint); color: var(--cw99-blue); font-size: 14.5px; font-weight: 500; }
.in-lead { font-size: clamp(16px, 1.2vw, 19px); line-height: 1.5; color: rgba(0, 0, 0, 0.78); max-width: 620px; }
.in-copy-status { font-size: 13.5px; color: var(--cw99-green-dark); min-height: 1.4em; margin-top: 8px; }

/* Hero */
.in-hero { display: grid; grid-template-columns: 50fr 46fr; column-gap: 3.4vw; align-items: center; padding: 2.6vw var(--gutter) 2.4vw; }
.in-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6vw; }
.in-hero__ctas .in-btn { min-height: 52px; }
.in-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 1.8vw 0 0; padding: 0; }
.in-chips li { padding: 8px 14px; border-radius: 999px; background: var(--cw99-card); font-size: 14px; font-weight: 500; }
.in-hero__photo { margin: 0; position: relative; border-radius: var(--r-lg); overflow: hidden; }
.in-hero__photo img { width: 100%; aspect-ratio: 5 / 4.6; object-fit: cover; object-position: 60% 40%; }
.in-hero__photo figcaption, .in-problem__photo figcaption, .in-steps__photo figcaption, .in-ai__photo figcaption { position: absolute; right: 12px; bottom: 12px; background: rgba(0, 0, 0, 0.55); color: #fff; font-size: 12px; padding: 5px 9px; border-radius: 6px; }

/* Kalkulator */
.in-calc-section { background: var(--cw99-card); }
.in-calc { display: grid; grid-template-columns: 46fr 54fr; gap: 2.4vw; align-items: start; }
.in-calc__form { padding: clamp(18px, 1.8vw, 30px); }
.in-step { border: 0; padding: 0; margin: 0 0 18px; }
.in-step:last-child { margin-bottom: 0; }
.in-step__next { display: none; }
.in-field { margin-bottom: 16px; }
.in-field:last-child { margin-bottom: 0; }
.in-field label, .in-field__label { display: block; font-size: 16px; font-weight: 700; margin-bottom: 8px; line-height: 1.35; }
.in-field input[type="number"], .in-field input[type="text"], .in-field input[type="tel"], .in-field input[type="email"], .in-field select, .in-field textarea { width: 100%; min-width: 0; min-height: 50px; padding: 11px 14px; background: #fff; border: 1px solid var(--cw99-line); border-radius: 6px; font-size: 16px; color: #000; }
.in-field select { appearance: none; -webkit-appearance: none; padding-right: 38px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6.5 9.5 5.5 5.5 5.5-5.5' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; }
.in-field textarea { resize: vertical; }
.in-field input:focus, .in-field select:focus, .in-field textarea:focus { outline: none; border-color: var(--cw99-blue); }
.in-field input.is-bad { border-color: var(--in-warn); }
.in-field input[type="number"] { -moz-appearance: textfield; }
.in-field input[type="number"]::-webkit-inner-spin-button, .in-field input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.in-stepper { display: flex; align-items: stretch; background: #fff; border: 1px solid var(--cw99-line); border-radius: 6px; overflow: hidden; }
.in-stepper input { border: 0 !important; text-align: center; font-weight: 700; font-size: 20px !important; flex: 1; border-radius: 0 !important; }
.in-stepper__btn { width: 52px; flex-shrink: 0; border: 0; background: var(--cw99-card); color: #000; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.in-stepper__btn:hover { background: var(--in-tint); color: var(--cw99-blue); }
.in-stepper__btn .kc-i { width: 18px; height: 18px; }
.in-range { width: 100%; margin: 8px 0 0; accent-color: var(--cw99-blue); height: 44px; cursor: pointer; }
.in-scopes, .in-interests { display: flex; flex-wrap: wrap; gap: 8px; }
.in-scopes label, .in-interests label { position: relative; }
.in-scopes input, .in-interests input { position: absolute; opacity: 0; pointer-events: none; }
.in-scopes span, .in-interests span { display: inline-block; padding: 12px 16px; border-radius: 999px; font-size: 14.5px; cursor: pointer; box-shadow: inset 0 0 0 1px var(--cw99-line); }
.in-scopes input:checked + span, .in-interests input:checked + span { background: var(--cw99-blue); color: #fff; box-shadow: none; }
.in-scopes input:focus-visible + span, .in-interests input:focus-visible + span { outline: 2px solid var(--cw99-blue); outline-offset: 2px; }
.in-calc__out { position: sticky; top: 132px; }
.in-result { padding: clamp(20px, 2vw, 32px); }
.in-result__label { font-size: 15px; color: var(--cw99-muted); }
.in-result__big strong { font-family: Montserrat, futura-pt, sans-serif; font-weight: 900; font-size: clamp(30px, 3vw, 46px); line-height: 1.1; color: var(--cw99-blue); }
.in-result__net { margin-top: 4px; font-size: 15px; font-weight: 500; }
.in-result__lines { list-style: none; margin: 14px 0 0; padding: 12px 0 0; border-top: 1px solid var(--cw99-line); }
.in-result__lines li { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; padding: 5px 0; color: rgba(0, 0, 0, 0.8); }
.in-result__lines li b { font-weight: 500; white-space: nowrap; }
.in-result__portfolio { margin-top: 12px; padding: 12px 14px; background: var(--in-tip); border-radius: 6px; font-size: 14px; line-height: 1.45; }
.in-result__note { margin-top: 12px; font-size: 13px; line-height: 1.45; color: var(--cw99-muted); }
.in-result .in-btn--wide { margin-top: 14px; }
.in-mini { display: none; }

/* Problem */
.in-problem { display: grid; grid-template-columns: 1fr 1fr; gap: 2.4vw 3vw; align-items: center; }
.in-problem__head { grid-column: 1; }
.in-problem__photo { grid-column: 2; grid-row: 1; margin: 0; position: relative; border-radius: var(--r-lg); overflow: hidden; }
.in-problem__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.in-defects { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.in-defect { background: var(--cw99-card); border-radius: var(--r-lg); overflow: hidden; }
.in-defect img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.in-defect > div { padding: 16px 18px 20px; }
.in-defect__tag { display: inline-block; font-size: 12px; font-weight: 500; color: var(--in-warn); background: rgba(228, 65, 13, 0.1); border-radius: 999px; padding: 3px 9px; }
.in-defect h3 { font-size: 18px; font-weight: 700; margin-top: 8px; }
.in-defect p { font-size: 14px; line-height: 1.45; color: var(--cw99-muted); margin-top: 6px; }

/* RGB ↔ termowizja */
.in-compare-section { background: var(--cw99-dark); }
.in-compare-section .in-h2, .in-compare-section .in-sub { color: #fff; }
.in-compare-section .in-sub { color: rgba(255, 255, 255, 0.75); }
.in-compare { position: relative; max-width: 1100px; margin: 0 auto; aspect-ratio: 3 / 2; border-radius: var(--r-lg); overflow: hidden; user-select: none; touch-action: pan-y; background: #111; }
.in-compare__rgb, .in-compare__thermal { position: absolute; inset: 0; }
.in-compare__rgb { width: 100%; height: 100%; object-fit: cover; }
.in-compare__thermal { clip-path: inset(0 0 0 50%); }
.in-compare__thermal canvas { width: 100%; height: 100%; display: block; object-fit: cover; }
.in-compare__handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 0; cursor: ew-resize; }
.in-compare__handle::before { content: ''; position: absolute; top: 0; bottom: 0; left: -1px; width: 2px; background: #fff; }
.in-compare__handle span { position: absolute; top: 50%; left: 50%; width: 48px; height: 48px; transform: translate(-50%, -50%); border-radius: 50%; background: #fff; box-shadow: 0 0 18px rgba(0, 0, 0, 0.35); }
.in-compare__handle span::before, .in-compare__handle span::after { content: ''; position: absolute; top: 50%; width: 8px; height: 8px; border-top: 2px solid var(--cw99-blue); border-left: 2px solid var(--cw99-blue); }
.in-compare__handle span::before { left: 12px; transform: translateY(-50%) rotate(-45deg); }
.in-compare__handle span::after { right: 12px; transform: translateY(-50%) rotate(135deg); }
.in-compare__label { position: absolute; top: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(0, 0, 0, 0.55); color: #fff; font-size: 13px; font-weight: 500; pointer-events: none; }
.in-compare__label--l { left: 14px; }
.in-compare__label--r { right: 14px; }
.in-compare__note { max-width: 1100px; margin: 14px auto 0; font-size: 13px; line-height: 1.5; color: rgba(255, 255, 255, 0.6); }

/* Co sprawdzamy */
.in-grid6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.in-tile { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--cw99-card); }
.in-tile img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.in-tile > div { padding: 16px 18px 18px; }
.in-tile h3 { font-size: 19px; font-weight: 700; }
.in-tile p { font-size: 14.5px; line-height: 1.45; color: var(--cw99-muted); margin-top: 4px; }

/* Kroki */
.in-steps-section { background: var(--cw99-card); }
.in-steps-section .in-section__head { margin-bottom: 10px; }
.in-steps-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 0 3vw; align-items: center; max-width: 1200px; margin: 0 auto; }
.in-steps { list-style: none; margin: 0; padding: 0; }
.in-steps li { display: grid; grid-template-columns: 56px 1fr; column-gap: 14px; padding: 18px 0; border-top: 1px solid var(--cw99-line); }
.in-steps li:first-child { border-top: 0; }
.in-steps span { font-family: Montserrat, futura-pt, sans-serif; font-weight: 900; font-size: 22px; color: var(--cw99-blue); line-height: 1; }
.in-steps h3 { font-size: 19px; font-weight: 700; }
.in-steps p { font-size: 15px; line-height: 1.5; color: var(--cw99-muted); margin-top: 4px; }
.in-steps__photo { margin: 0; position: relative; border-radius: var(--r-lg); overflow: hidden; }
.in-steps__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }

/* Building Passport */
.in-passport { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.in-passport__model, .in-passport__dash { padding: clamp(18px, 1.8vw, 28px); }
.in-passport__modelhead { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 16px; }
.in-passport__hint { font-size: 14px; color: var(--cw99-muted); margin-top: 6px; }
.in-building { position: relative; margin-top: 10px; cursor: pointer; border-radius: var(--r); outline: none; }
.in-building:focus-visible { box-shadow: 0 0 0 2px var(--cw99-blue); }
.in-building svg { width: 100%; height: auto; display: block; }
.in-marker { position: absolute; transform: translate(-50%, -50%) scale(0.6); opacity: 0; pointer-events: none; display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; background: #fff; color: #000; border: 0; font: inherit; font-size: 13.5px; font-weight: 700; box-shadow: 0 0 18px rgba(0, 0, 0, 0.2); cursor: pointer; transition: transform 0.25s ease, opacity 0.25s ease; white-space: nowrap; }
.in-marker span { color: var(--in-warn); }
.in-marker--thermal span { color: var(--in-orange); }
.in-building.is-open .in-marker { opacity: 1; transform: translate(-50%, -50%) scale(1); pointer-events: auto; }
.in-building.is-open .in-marker:nth-of-type(2) { transition-delay: 0.08s; }
.in-building.is-open .in-marker:nth-of-type(3) { transition-delay: 0.16s; }
.in-marker.is-active { background: var(--cw99-blue); color: #fff; }
.in-marker.is-active span { color: var(--cw99-yellow); }
.in-obs { display: grid; grid-template-columns: 110px 1fr; gap: 14px; margin-top: 14px; padding: 12px; background: var(--cw99-card); border-radius: var(--r); }
.in-obs img { width: 110px; height: 90px; object-fit: cover; border-radius: 6px; }
.in-obs strong { font-size: 15.5px; }
.in-obs p { font-size: 14px; line-height: 1.45; margin: 4px 0 6px; color: rgba(0, 0, 0, 0.8); }
.in-dash__top { display: flex; align-items: center; gap: 18px; }
.in-score { position: relative; width: 104px; height: 104px; flex-shrink: 0; }
.in-score svg { width: 100%; height: 100%; }
.in-score > div { position: absolute; inset: 0; display: flex; align-items: baseline; justify-content: center; gap: 2px; }
.in-score strong { font-family: Montserrat, futura-pt, sans-serif; font-weight: 900; font-size: 30px; line-height: 104px; }
.in-score span { font-size: 13px; color: var(--cw99-muted); }
.in-dash__label { font-size: 14px; color: var(--cw99-muted); }
.in-dash__stats { font-size: 17px; margin: 4px 0 6px; }
.in-dash__stats strong { font-weight: 700; }
.is-warn { color: var(--in-warn); }
.is-urgent { color: #b3000c; }
.in-subscores { list-style: none; margin: 18px 0 0; padding: 0; }
.in-subscores li { display: grid; grid-template-columns: 90px 1fr 36px; align-items: center; gap: 12px; padding: 7px 0; font-size: 15px; }
.in-subscores b { text-align: right; font-weight: 700; }
.in-bar { height: 10px; background: var(--in-tint); border-radius: 999px; overflow: hidden; }
.in-bar i { display: block; height: 100%; background: var(--cw99-blue); border-radius: 999px; }
.in-timeline { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--cw99-line); }
.in-timeline__head { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.in-timeline__head span { color: var(--cw99-muted); }
.in-timeline ol { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 12px 0 0; padding: 0; }
.in-timeline li { background: var(--cw99-card); border-radius: var(--r); overflow: hidden; }
.in-timeline li.is-warn { box-shadow: inset 0 0 0 2px var(--in-warn); }
.in-timeline img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.in-timeline li div { padding: 8px 10px 10px; font-size: 13px; line-height: 1.35; }
.in-timeline li b { display: block; font-size: 15px; }
.in-passport__dash .in-btn--wide { margin-top: 16px; }

/* Analiza */
.in-ai { display: grid; grid-template-columns: 62fr 38fr; gap: 20px; align-items: start; }
.in-ai__photo { position: relative; margin: 0; border-radius: var(--r-lg); overflow: hidden; }
.in-ai__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.in-box { position: absolute; border: 2px solid var(--cw99-yellow); border-radius: 4px; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25); }
.in-box i { position: absolute; left: -2px; top: -26px; background: var(--cw99-yellow); color: #000; font-style: normal; font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 4px; white-space: nowrap; }
.in-box--thermal { border-color: var(--in-orange); }
.in-box--thermal i { background: var(--in-orange); }
.in-ai__panel { padding: clamp(18px, 1.8vw, 26px); }
.in-ai__label { font-size: 15px; font-weight: 700; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.in-ai__panel ul { list-style: none; margin: 14px 0 0; padding: 0; }
.in-ai__panel li { display: grid; grid-template-columns: 14px 1fr; column-gap: 10px; padding: 10px 0; border-top: 1px solid var(--cw99-line); }
.in-ai__panel li b { font-size: 15px; font-weight: 700; }
.in-ai__panel li small { grid-column: 2; font-size: 13px; color: var(--cw99-muted); }
.in-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--cw99-yellow); margin-top: 4px; }
.in-dot--thermal { background: var(--in-orange); }
.in-dot--review { background: var(--cw99-blue); }

/* Portfolio */
.in-portfolio-section { background: var(--cw99-card); }
.in-portfolio { max-width: 1100px; margin: 0 auto; padding: clamp(18px, 2vw, 30px); display: grid; grid-template-columns: 1fr 1.4fr; gap: 20px 28px; align-items: center; }
.in-portfolio__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.in-portfolio__stats div { background: var(--cw99-card); border-radius: var(--r); padding: 14px 16px; }
.in-portfolio__stats strong { display: block; font-family: Montserrat, futura-pt, sans-serif; font-weight: 900; font-size: 30px; line-height: 1.1; }
.in-portfolio__stats span { font-size: 13.5px; color: var(--cw99-muted); }
.in-map { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-lg); background: var(--in-tint); background-image: linear-gradient(rgba(36, 87, 198, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(36, 87, 198, 0.08) 1px, transparent 1px); background-size: 40px 40px; overflow: hidden; }
.in-city { position: absolute; display: flex; align-items: center; gap: 3px; transform: translate(-50%, -50%); }
.in-city i { width: 12px; height: 12px; border-radius: 50%; background: var(--cw99-green); box-shadow: 0 0 0 2px #fff; }
.in-city i.c-warn { background: var(--cw99-yellow); }
.in-city i.c-urgent { background: var(--in-warn); }
.in-city b { margin-left: 6px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.in-map__demo { position: absolute; right: 12px; bottom: 10px; font-size: 12px; color: var(--cw99-muted); }
.in-portfolio__filters { display: flex; flex-wrap: wrap; gap: 8px; }
.in-portfolio__filters span { padding: 8px 14px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--cw99-line); font-size: 14px; }
.in-portfolio .in-btn { justify-self: end; }

/* Segmenty */
.in-segments { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.in-seg { position: relative; display: block; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; color: #fff; }
.in-seg img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.3s ease; }
.in-seg:hover img { transform: scale(1.04); }
.in-seg span { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; background: linear-gradient(transparent, rgba(0, 0, 0, 0.7)); font-size: 17px; font-weight: 700; }
.in-seg--wide { grid-column: span 2; aspect-ratio: auto; }

/* Monitoring */
.in-years { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 1100px; margin: 0 auto; }
.in-years figure { margin: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--cw99-card); }
.in-years img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; transform: scale(var(--zoom, 1)); transform-origin: 45% 55%; }
.in-years figure { position: relative; }
.in-years figure > img { clip-path: inset(0); }
.in-years figcaption { padding: 12px 14px; font-size: 14.5px; }
.in-years figcaption b { display: block; font-size: 18px; }
.in-years .is-warn figcaption { color: var(--in-warn); }
.in-years .is-warn { box-shadow: inset 0 0 0 2px var(--in-warn); }
.in-offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 1100px; margin: clamp(22px, 2.4vw, 36px) auto 0; }
.in-offer { position: relative; display: flex; flex-direction: column; background: var(--cw99-card); border-radius: var(--r-lg); padding: clamp(20px, 1.8vw, 28px); }
.in-offer--reco { background: #fff; box-shadow: 0 0 max(14px, 1.3vw) rgba(0, 0, 0, 0.12); }
.in-offer__tag { position: absolute; top: 16px; right: 16px; background: var(--cw99-yellow); border-radius: 999px; padding: 5px 12px; font-size: 12.5px; font-weight: 700; }
.in-offer h3, .in-plan h3 { font-size: 22px; font-weight: 700; }
.in-offer p, .in-plan p { font-size: 15px; line-height: 1.5; color: var(--cw99-muted); margin: 8px 0 16px; }
.in-offer .in-btn, .in-plan .in-btn { margin-top: auto; width: 100%; }
.in-offer .in-btn.is-picked { background: var(--cw99-green); color: #fff; box-shadow: none; }

/* Cennik */
.in-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 1100px; margin: 0 auto; }
.in-plan { position: relative; display: flex; flex-direction: column; background: var(--cw99-card); border-radius: var(--r-lg); padding: clamp(20px, 1.8vw, 28px); }
.in-plan--reco { background: #fff; box-shadow: 0 0 max(14px, 1.3vw) rgba(0, 0, 0, 0.12); }
.in-plan__price { font-size: 16px !important; color: #000 !important; margin: 10px 0 8px !important; }
.in-plan__price strong { font-family: Montserrat, futura-pt, sans-serif; font-weight: 900; font-size: 28px; }

/* Naprawa */
.in-repair { display: grid; grid-template-columns: 40fr 60fr; gap: 24px; padding: clamp(20px, 2vw, 32px); align-items: center; }
.in-repair__card { display: grid; grid-template-columns: 38fr 62fr; gap: 18px; background: var(--cw99-card); border-radius: var(--r-lg); padding: 16px; }
.in-repair__card img { width: 100%; height: 100%; min-height: 180px; object-fit: cover; border-radius: var(--r); }
.in-repair__card h3 { font-size: 20px; font-weight: 700; margin-top: 8px; }
.in-repair__card dl { display: flex; gap: 22px; margin: 10px 0 14px; }
.in-repair__card dt { font-size: 12.5px; color: var(--cw99-muted); }
.in-repair__card dd { margin: 0; font-size: 17px; font-weight: 700; }
.in-repair__btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* Lead */
.in-leadgrid { display: grid; grid-template-columns: 40fr 60fr; gap: 3vw; align-items: start; }
.in-checklist { list-style: none; margin: 1.6vw 0 0; padding: 0; }
.in-checklist li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; line-height: 1.45; margin-bottom: 10px; }
.in-checklist .kc-i { color: var(--cw99-green); width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px; }
.in-form { padding: clamp(18px, 1.8vw, 30px); }
.in-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }
.in-form .in-field { margin-bottom: 0; }
.in-form > .in-field { margin: 14px 0; }
.in-form .in-field label { font-size: 14.5px; font-weight: 500; }
.in-interests { border: 0; padding: 0; margin: 16px 0 0; }
.in-interests legend { font-size: 14.5px; font-weight: 500; margin-bottom: 8px; width: 100%; }
.in-file input { display: block; width: 100%; font-size: 14px; padding: 10px; border: 1px dashed var(--cw99-line); border-radius: 6px; }
.in-form__error { color: var(--in-warn); font-size: 14px; margin-top: 10px; }
.in-form__done { display: flex; align-items: center; gap: 12px; font-size: 17px; font-weight: 500; padding: 10px 0; }
.kc-okmark { width: 26px; height: 26px; border-radius: 50%; background: var(--cw99-green); color: #fff; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.kc-okmark .kc-i { width: 15px; height: 15px; }
.in-form .in-btn--wide { margin-top: 16px; }

/* FAQ */
.in-faq { max-width: 860px; margin: clamp(20px, 2vw, 32px) auto 0; }
.in-faq details { background: var(--cw99-card); border-radius: var(--r); margin-bottom: 10px; }
.in-faq summary { cursor: pointer; padding: 16px 20px; font-size: 17px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.in-faq summary::-webkit-details-marker { display: none; }
.in-faq summary::after { content: ''; flex-shrink: 0; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform 0.15s; }
.in-faq details[open] summary::after { transform: rotate(-135deg); }
.in-faq p { padding: 0 20px 18px; font-size: 15.5px; line-height: 1.55; color: rgba(0, 0, 0, 0.8); }

/* Final */
.in-final { position: relative; min-height: 440px; display: flex; align-items: center; justify-content: center; overflow: hidden; background: var(--cw99-dark); }
.in-final img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.in-final__copy { position: relative; text-align: center; padding: clamp(40px, 5vw, 80px) var(--gutter); color: #fff; max-width: 900px; }
.in-final h2 { font-family: Montserrat, futura-pt, sans-serif; font-weight: 900; font-size: clamp(26px, 2.8vw, 44px); line-height: 1.12; text-shadow: 0 0 24px rgba(0, 0, 0, 0.5); }
.in-final__ctas { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: clamp(20px, 2vw, 32px); }
.in-final__ctas .in-btn { min-height: 54px; padding-left: 30px; padding-right: 30px; }
.in-final__credit { display: block; margin-top: 18px; font-size: 12px; opacity: 0.7; }

/* Sticky CTA */
.in-sticky { display: none; }

/* ---------- Tablet ---------- */
@media (max-width: 1280px) { .kc-tabs, .kc-gift { display: none; } }
@media (max-width: 1025px) {
  .kc-header__bar { justify-content: space-between; }
  .in-hero { grid-template-columns: 1fr; row-gap: 24px; }
  .in-hero__photo img { aspect-ratio: 16 / 9; }
  .in-calc { grid-template-columns: 1fr; }
  .in-calc__out { position: static; }
  .in-problem { grid-template-columns: 1fr; }
  .in-problem__photo { grid-column: 1; grid-row: auto; }
  .in-defects { grid-template-columns: repeat(2, 1fr); }
  .in-grid6 { grid-template-columns: repeat(2, 1fr); }
  .in-steps-grid { grid-template-columns: 1fr; gap: 20px; }
  .in-passport { grid-template-columns: 1fr; }
  .in-ai { grid-template-columns: 1fr; }
  .in-portfolio { grid-template-columns: 1fr; }
  .in-portfolio .in-btn { justify-self: start; }
  .in-segments { grid-template-columns: repeat(2, 1fr); }
  .in-plans, .in-offers { grid-template-columns: 1fr; max-width: 640px; }
  .in-repair { grid-template-columns: 1fr; }
  .in-leadgrid { grid-template-columns: 1fr; }
  .kc-footer__top { grid-template-columns: 1fr 1fr; }
  .kc-footer__whale { grid-column: 1 / -1; }
}

/* ---------- Telefon ---------- */
@media (max-width: 760px) {
  :root { --gutter: 5vw; }
  html { scroll-padding-top: 120px; }
  .kc-header__bar { padding: 9px var(--gutter); gap: 12px; justify-content: space-between; }
  .kc-logo img { height: 38px; }
  .kc-account span { display: none; }
  .kc-account { padding: 10px 12px; }
  .kc-dd--city { display: none; }
  .in-subnav { top: 56px; padding: 6px var(--gutter); gap: 10px; }
  .in-subnav__links a { font-size: 14px; }
  .in-subnav__cta { display: none; }
  .in-hero { padding-top: 22px; row-gap: 20px; }
  .in-h1 { margin: 14px 0 12px; }
  .in-hero__ctas .in-btn { flex: 1 1 100%; }
  .in-hero__photo img { aspect-ratio: 4 / 3; }
  /* Kalkulator: krótki przepływ krok po kroku */
  .in-calc__form { padding: 18px 16px; }
  .in-step { display: none; }
  .in-step.is-current { display: block; }
  .in-step__next { display: inline-flex; width: 100%; margin-top: 14px; }
  .in-mini { display: flex; align-items: center; justify-content: space-between; gap: 10px; position: sticky; top: 104px; z-index: 30; margin: -18px -16px 16px; padding: 12px 16px; background: var(--cw99-blue); color: #fff; border-radius: var(--r) var(--r) 0 0; font-size: 14px; }
  .in-mini strong { font-family: Montserrat, futura-pt, sans-serif; font-weight: 900; font-size: 18px; line-height: 1; }
  .in-mini a { color: #fff; font-weight: 700; white-space: nowrap; padding: 8px 0; text-decoration: underline; }
  .in-steps-dots { display: flex; gap: 6px; margin-bottom: 12px; }
  .in-result__big strong { font-size: 30px; }
  .in-defects { grid-template-columns: 1fr; }
  .in-problem__photo { display: none; }
  .in-compare { aspect-ratio: 4 / 3; }
  .in-grid6 { grid-template-columns: 1fr; }
  .in-tile img { aspect-ratio: 2 / 1; }
  .in-steps li { grid-template-columns: 44px 1fr; }
  .in-passport__model, .in-passport__dash { padding: 16px; }
  .in-marker { font-size: 12.5px; padding: 7px 10px; }
  .in-obs { grid-template-columns: 90px 1fr; }
  .in-obs img { width: 90px; height: 74px; }
  .in-timeline ol { grid-template-columns: 1fr; }
  .in-timeline li { display: grid; grid-template-columns: 96px 1fr; }
  .in-timeline img { aspect-ratio: auto; height: 100%; }
  .in-box i { font-size: 11px; }
  .in-portfolio__stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .in-segments { grid-template-columns: 1fr 1fr; gap: 10px; }
  .in-seg span { font-size: 14.5px; padding: 30px 12px 10px; }
  .in-seg--wide { grid-column: span 2; aspect-ratio: 2 / 1; }
  .in-years { grid-template-columns: 1fr; }
  .in-repair__card { grid-template-columns: 1fr; }
  .in-repair__card img { min-height: 160px; }
  .in-repair__btns .in-btn { width: 100%; }
  .in-form__grid { grid-template-columns: 1fr; }
  .in-final__ctas .in-btn { flex: 1 1 100%; }
  .in-sticky { position: fixed; left: 5vw; right: 5vw; bottom: 14px; z-index: 45; display: flex; align-items: center; justify-content: center; min-height: 52px; border-radius: 6px; background: var(--cw99-yellow); color: #000; font-size: 16px; font-weight: 700; box-shadow: 0 0 18px rgba(0, 0, 0, 0.18); transform: translateY(120%); transition: transform 0.2s ease; }
  .in-sticky.is-visible { transform: none; }
  .kc-footer { padding: 30px var(--gutter) 22px; }
  .kc-footer__top { grid-template-columns: 1fr; gap: 24px; }
  .kc-footer__two { column-count: 1; }
  .kc-footer__cities { margin-top: 24px; }
  .kc-footer__addr { flex-direction: column; align-items: flex-start; gap: 16px; margin-top: 20px; }
  .kc-footer__bottom { flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 20px; }
}
