/* Wariant B: lokalny projekt do porównania. */
.modern {
  --ink: #1d1d1f;
  --muted: #626268;
  --paper: #f5f5f7;
  --line: #e2e2e5;
  --red: #bd352b;
  --red-dark: #98281f;
  --radius: 22px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Manrope, Arial, sans-serif;
  background: #fff;
}
html:has(.modern) { scroll-padding-top: 160px; }
.modern .container { width: min(calc(100% - 88px), 1320px); }
.modern .variant-bar { padding: 9px 32px; background: #f5f5f7; color: #626268; font-size: 11px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.variant-bar nav { display: flex; gap: 22px; }
.variant-bar a { text-decoration: underline; text-underline-offset: 3px; }
.modern .site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.95); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid #dfdfe3; }
.modern .header-main { padding-block: 8px; gap: 28px; }
.modern .brand { width: 118px; }
.modern .header-search { border-radius: 999px; height: 42px; background: #f5f5f7; border-color: transparent; max-width: 420px; margin-left: 36px; }
.modern .header-search input { font-size: 12px; }
.modern .header-search button { width: 40px; height: 40px; }
.modern .header-phone strong { font-size: 15px; }
.modern .store-link { font-size: 12px; }
.modern .main-nav { height: 45px; font-size: 12px; gap: 20px; font-weight: 500; }
.modern .nav-primary { border: 0; padding-right: 0; }
.modern .nav-primary::after { display: none; }
.modern .hero.hero-systems { padding-block: 64px 38px; }
.modern .hero-systems .hero-copy { display: block; text-align: center; margin-bottom: 36px; }
.modern .hero-systems .intro-line { display: block; color: #606066; font-size: 14px; letter-spacing: .1px; margin-bottom: 22px; }
.modern .hero-systems h1 { font-size: clamp(70px,8vw,116px); line-height: .97; letter-spacing: -.068em; font-weight: 700; }
.modern .hero-systems h1 > span { color: var(--red); background: linear-gradient(100deg,#dc6450 5%,#b52b26 90%); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.modern .hero-systems .hero-details { display: block; }
.modern .hero-systems .hero-description { font-size: 18px; line-height: 1.6; max-width: 620px; margin: 26px auto 0; color: #626268; }
.modern .hero-systems .hero-actions { justify-content: center; gap: 27px; margin-top: 25px; }
.modern .button { min-height: 48px; border-radius: 999px; font-size: 14px; padding: 12px 23px; font-weight: 500; }
.modern .text-button { font-size: 14px; font-weight: 500; }
.modern .scene-jumps { display: flex; justify-content: center; gap: 10px; margin-bottom: 28px; }
.modern .scene-jumps a { display: flex; align-items: center; gap: 9px; padding: 10px 16px; min-height: 44px; border: 1px solid #e2e2e5; border-radius: 999px; font-size: 12px; background: #fff; font-weight: 500; }
.modern .scene-jumps a > .icon { width: 17px; height: 17px; color: var(--red); }
.modern .scene-jumps a:hover { background: #f5f5f7; border-color: #bcbcc1; }
.modern .system-scenes { gap: 22px; }
.modern .system-scene { border: 0; border-radius: 28px; background: #f5f5f7; scroll-margin-top: 20px; box-shadow: 0 12px 35px #1d1d1f04; }
.modern .scene-heading { padding: 31px 32px 8px; background: transparent; border: 0; display: block; }
.modern .scene-heading > .icon { display: none; }
.modern .scene-heading .scene-eyebrow { color: #68686e; font-size: 10px; letter-spacing: 1.65px; font-weight: 600; margin: 0 0 12px; min-height: 0; }
.modern .scene-heading h2 { font-size: clamp(24px,2.25vw,34px); letter-spacing: -.045em; line-height: 1.14; max-width: 470px; text-wrap: balance; }
.modern .scene-heading p:not(.scene-eyebrow) { color: #626268; font-size: 13px; margin-top: 11px; min-height: 0; max-width: none; }
.modern .hero-systems .scene-canvas { height: clamp(305px,29vw,405px); background: radial-gradient(ellipse at 50% 60%, #ffffff 5%, #f5f5f7 75%); overflow: hidden; }
.modern .house-drawing > rect, .modern .industry-drawing > rect { display: none; }
.modern .house-drawing { filter: drop-shadow(0 18px 12px #3b414015); }
.modern .industrial-scene { color: #f5f5f7; background: #1c2023; }
.modern .industrial-scene .scene-heading { background: transparent; }
.modern .industrial-scene .scene-heading .scene-eyebrow { color: #c0c6c9; }
.modern .industrial-scene .scene-heading p:not(.scene-eyebrow) { color: #c2c7cb; }
.modern .industrial-scene .scene-canvas { background: radial-gradient(ellipse at 50% 55%,#3f4d51 0%,#232a2e 50%,#1c2023 78%); }
.modern .industry-drawing { filter: drop-shadow(0 16px 18px #0008); }
.modern .hero-systems .hotspot { border-radius: 999px; font-size: 11px; padding: 6px 13px 6px 6px; min-height: 44px; gap: 7px; border-color: #dddde2; background: #fffffff2; box-shadow: 0 3px 18px #0000000a; }
.modern .hero-systems .hotspot-dot { width: 26px; height: 26px; font-size: 19px; background: #1d1d1f; }
.modern .hero-systems .hotspot:hover { border-color: var(--red); }
.modern .industrial-scene .hotspot { color: #f5f5f7; background: #343c41f5; border-color: #68737b; box-shadow: 0 3px 18px #0003; }
.modern .industrial-scene .hotspot-dot { background: #f5f5f7; color: #1d1d1f; }
.modern .scene-footer { min-height: 63px; padding: 14px 25px; background: transparent; border: 0; color: #65656c; font-size: 10px; flex-direction: row; align-items: center; }
.modern .scene-footer button { font-size: 12px; min-height: 32px; }
.modern .industrial-scene .scene-footer { color: #c5cbce; }
.modern .industrial-scene .scene-footer button { color: #f5f5f7; }
.modern .scenes-note { margin-top: 22px; color: #6a6a70; font-size: 11px; }
.modern .benefits-wrap { border: 0; }
.modern .benefits { padding-block: 20px 48px; gap: 28px; }
.modern .benefits > div { padding-left: 25px; }
.modern .benefits strong { font-size: 13px; font-weight: 600; }
.modern .benefits p > span { font-size: 12px; }
.modern h2 { font-size: clamp(38px,4.3vw,62px); letter-spacing: -.05em; line-height: 1.05; }
.modern .section-label { font-size: 12px; margin-bottom: 14px; }
.modern .integrators-section { padding-block: 70px 80px; scroll-margin-top: 20px; }
.modern .section-heading { margin-bottom: 32px; align-items: end; }
.modern .section-heading > p { font-size: 15px; max-width: 375px; line-height: 1.7; }
.modern .filter-bar { border: 0; border-radius: 22px; background: #f5f5f7; padding: 12px; }
.modern .filter-button { border-radius: 999px; min-height: 44px; font-size: 12px; padding-inline: 13px; background: transparent; }
.modern .filter-button.active { background: #1d1d1f; }
.modern .integrator-search { border: 0; background: #fff; border-radius: 999px; width: 235px; padding: 6px 12px; min-height: 44px; }
.modern .integrator-search input { background: transparent; font-size: 13px; }
.modern .result-line { font-size: 12px; padding-block: 20px 17px; }
.modern .integrator-grid { gap: 16px; }
.modern .integrator-card { min-height: 250px; border-radius: 24px; padding: 26px 23px 22px; border-color: transparent; background: #f5f5f7; }
.modern .integrator-card:hover { background: #ededf0; border-color: #d7d7dc; transform: translateY(-4px); box-shadow: 0 10px 30px #1d1d1f0a; }
.modern .card-top { margin-bottom: 24px; }
.modern .card-top > .icon { width: 30px; height: 30px; }
.modern .card-category { background: #e9e9ed; font-size: 10px; border-radius: 999px; padding: 4px 8px; }
.modern .integrator-card h3 { font-size: 19px; letter-spacing: -.035em; }
.modern .integrator-card p { font-size: 13px; line-height: 1.7; margin-top: 9px; }
.modern .card-bottom { font-size: 11px; }
.modern .card-bottom .icon { border-radius: 50%; background: #e0e0e5; padding: 5px; width: 28px; height: 28px; }
.modern .integrator-bottom { margin-top: 25px; }
.modern .news-section { padding-block: 74px; background: #f5f5f7; border: 0; }
.modern .news-layout { gap: 90px; }
.modern .news-intro h2 { font-size: clamp(40px,4.5vw,66px); }
.modern .news-intro > p:not(.section-label) { font-size: 16px; line-height: 1.8; }
.modern .news-item { border-color: #d6d6dc; padding-block: 23px; }
.modern .news-item h3 { font-size: 20px; letter-spacing: -.025em; line-height: 1.4; }
.modern .news-topic { font-size: 12px; margin-bottom: 9px; }
.modern .solutions-section { background: #fff; padding-block: 80px 54px; }
.modern .solution-grid { gap: 20px; }
.modern .solution-card { border: 0; border-radius: 26px; background: #f5f5f7; }
.modern .product-image { height: 275px; background: #f5f5f7; border: 0; }
.modern .product-image img { mix-blend-mode: multiply; }
.modern .thermostat-image img { width: 190px; height: 190px; }
.modern .product-type { top: 23px; left: 24px; border: 0; background: #fff; border-radius: 999px; font-size: 9px; padding: 6px 10px; }
.modern .solution-copy { padding: 26px; }
.modern .solution-copy h3 { font-size: 24px; letter-spacing: -.04em; }
.modern .solution-copy p { font-size: 14px; }
.modern .solution-link { padding-top: 26px; font-size: 13px; font-weight: 500; }
.modern .manufacturer-line { padding-top: 45px; }
.modern .manufacturer-line > span { font-size: 11px; }
.modern .manufacturer-line b { color: #636369; }
.modern .support-section { padding-block: 80px; gap: 85px; }
.modern .support-copy h2 { font-size: clamp(44px,4.5vw,66px); letter-spacing: -.055em; }
.modern .support-copy > p:not(.section-label) { font-size: 16px; line-height: 1.8; }
.modern .service-row h3 { font-size: 20px; }
.modern .service-row p { font-size: 14px; line-height: 1.8; }
.modern .contact-band { background: #1d1d1f; padding-block: 60px; }
.modern .contact-band h2 { font-size: 35px; letter-spacing: -.035em; }
.modern .contact-band p { color: #d1d1d6; font-size: 15px; margin-top: 14px; }
.modern .contact-band .button { background: #fff; color: #1d1d1f; }
.modern .site-footer { background: #f5f5f7; padding-top: 45px; }
.modern .footer-top h2 { font-size: 13px; letter-spacing: 0; }
.modern .footer-top a, .modern .footer-contact, .modern .footer-top p { font-size: 12px; }
.modern .footer-bottom { font-size: 10px; }
.modern .footer-logo { width: 165px; mix-blend-mode: multiply; }
.modern .contact-dialog { border-radius: 24px; }
.modern .contact-dialog h2 { font-size: 32px; }
.modern .dialog-close { border-radius: 50%; width: 40px; height: 40px; }
.modern .contact-dialog select, .modern .contact-dialog textarea { border-radius: 12px; }
.modern .motion-arrival { animation: modern-arrival .65s cubic-bezier(.2,.7,.2,1) both; }
@keyframes modern-arrival { from { transform: translateY(18px); } to { transform: translateY(0); } }
@media (min-width: 651px) and (max-width: 1150px) {
  .modern .main-nav { gap: 12px; font-size: 11px; }
  .modern .header-main { gap: 20px; }
  .modern .header-search { margin-left: 15px; }
  .modern .filter-bar { flex-wrap: wrap; }
  .modern .integrator-search { width: 100%; }
  .modern .category-filters { gap: 3px; }
  .modern .filter-button { font-size: 12px; }
  .modern .news-layout, .modern .support-section { gap: 45px; }
  .modern .scene-heading { padding: 25px 25px 8px; }
  .modern .scene-heading h2 { font-size: 29px; }
  .modern .hero-systems .hotspot { font-size: 10px; }
}
@media (min-width: 651px) and (max-width: 900px) {
  .modern .main-nav { flex-wrap: wrap; height: auto; padding-block: 9px; }
  .modern .main-nav a { min-height: 28px; }
  .modern .container { width: calc(100% - 48px); }
  .modern .scene-heading { min-height: 142px; padding: 24px 20px 8px; }
  .modern .scene-heading h2 { font-size: 25px; }
  .modern .scene-heading p:not(.scene-eyebrow) { font-size: 12px; }
  .modern .hero-systems .scene-canvas { height: 300px; }
  .modern .scene-footer { flex-direction: column; align-items: flex-start; padding: 12px 20px; }
  .modern .benefits { gap: 13px; }
  .modern .benefits > div { padding-left: 15px; gap: 12px; }
  .modern .benefits strong { font-size: 12px; }
  .modern .benefits p > span { font-size: 11px; }
  .modern .integrator-grid { grid-template-columns: repeat(2,1fr); }
  .modern .news-layout { grid-template-columns: 1fr; gap: 35px; }
  .modern .news-intro > p:not(.section-label) { max-width: 550px; }
  .modern .solution-grid { grid-template-columns: 1fr; }
  .modern .solution-card { display: grid; grid-template-columns: 1fr 1fr; }
  .modern .product-image { height: 290px; }
}
@media (max-width: 650px) {
  html:has(.modern) { scroll-padding-top: 160px; }
  .modern .container { width: calc(100% - 36px); }
  .modern .variant-bar { padding: 8px 18px; font-size: 10px; gap: 10px; }
  .variant-bar nav { gap: 12px; }
  .variant-bar nav a:last-child { display: none; }
  .modern .header-main { gap: 13px; padding-block: 8px; }
  .modern .brand { width: 104px; }
  .modern .header-search { width: 100%; max-width: none; height: 40px; margin: 0; }
  .modern .header-search input { font-size: 12px; }
  .modern .menu-toggle { border-radius: 50%; }
  .modern .main-nav { height: auto; font-size: 13px; gap: 0; padding-block: 0 12px; max-height: 55dvh; overflow-y: auto; }
  .modern .main-nav a { min-height: 44px; }
  .modern .hero.hero-systems { padding-block: 42px 27px; }
  .modern .hero-systems .intro-line { font-size: 11px; line-height: 1.6; margin-bottom: 18px; }
  .modern .hero-systems h1 { font-size: clamp(54px,14.8vw,90px); letter-spacing: -.065em; line-height: 1.02; }
  .modern .hero-systems .hero-copy { margin-bottom: 24px; }
  .modern .hero-systems .hero-description { font-size: 15px; line-height: 1.7; margin-top: 22px; max-width: 420px; }
  .modern .hero-systems .hero-actions { margin-top: 22px; gap: 17px; flex-wrap: wrap; }
  .modern .hero-systems .hero-actions .button, .modern .hero-systems .hero-actions .text-button { font-size: 13px; }
  .modern .hero-systems .hero-actions .button { padding: 12px 18px; }
  .modern .scene-jumps { gap: 8px; margin-bottom: 20px; }
  .modern .scene-jumps a { font-size: 11px; gap: 6px; padding: 9px 11px; }
  .modern .scene-jumps a > .icon { width: 16px; height: 16px; }
  .modern .system-scenes { gap: 20px; }
  .modern .system-scene { border-radius: 24px; }
  .modern .scene-heading { padding: 25px 23px 10px; }
  .modern .scene-heading h2 { font-size: 30px; }
  .modern .scene-heading .scene-eyebrow { font-size: 10px; margin-bottom: 12px; }
  .modern .scene-heading p:not(.scene-eyebrow) { font-size: 12px; margin-top: 10px; }
  .modern .hero-systems .scene-canvas { height: 300px; }
  .modern .hero-systems .hotspot { font-size: 10px; gap: 6px; padding: 6px 10px 6px 5px; }
  .modern .hero-systems .hotspot-dot { width: 24px; height: 24px; }
  .modern .scene-footer { padding: 10px 19px 20px; min-height: 53px; font-size: 9px; gap: 9px; }
  .modern .scene-footer button { font-size: 11px; }
  .modern .scenes-note { font-size: 11px; margin-top: 18px; }
  .modern .benefits { padding-block: 6px 28px; gap: 0; }
  .modern .benefits > div, .modern .benefits > div:first-child { padding: 18px 0; border-left: 0; gap: 16px; }
  .modern .benefits strong { font-size: 13px; }
  .modern .benefits p > span { font-size: 12px; }
  .modern .integrators-section { padding-block: 40px 50px; }
  .modern h2 { font-size: 38px; }
  .modern .section-heading { margin-bottom: 25px; }
  .modern .section-heading > p { font-size: 14px; max-width: 380px; margin-top: 16px; }
  .modern .section-label { font-size: 11px; }
  .modern .filter-bar { border-radius: 18px; padding: 10px; gap: 12px; }
  .modern .filter-button { font-size: 11px; padding-inline: 10px; border-color: transparent; }
  .modern .category-filters { gap: 4px; }
  .modern .integrator-search { width: 100%; padding: 5px 9px; min-height: 44px; }
  .modern .integrator-search input { font-size: 16px; }
  .modern .result-line { font-size: 11px; }
  .modern .integrator-grid { gap: 10px; }
  .modern .integrator-card { padding: 19px 16px 16px; border-radius: 20px; min-height: 270px; }
  .modern .card-top { gap: 10px; margin-bottom: 15px; }
  .modern .card-category { font-size: 9px; padding: 3px 6px; }
  .modern .card-top > .icon { width: 27px; height: 27px; margin: 0; }
  .modern .integrator-card h3 { font-size: 17px; }
  .modern .integrator-card p { font-size: 12px; }
  .modern .card-bottom { font-size: 10px; }
  .modern .card-bottom .icon { width: 24px; height: 24px; padding: 4px; }
  .modern .integrator-bottom { gap: 10px; }
  .modern .integrator-bottom .text-button { font-size: 12px; }
  .modern .news-section { padding-block: 45px; }
  .modern .news-layout { gap: 30px; }
  .modern .news-intro h2 { font-size: 42px; }
  .modern .news-intro > p:not(.section-label) { font-size: 15px; }
  .modern .news-item { padding-block: 20px; }
  .modern .news-item h3 { font-size: 18px; }
  .modern .solutions-section { padding-block: 50px 35px; }
  .modern .solution-grid { gap: 18px; }
  .modern .product-image { height: 230px; }
  .modern .thermostat-image img { width: 170px; height: 170px; }
  .modern .solution-copy { padding: 24px; }
  .modern .solution-copy h3 { font-size: 24px; }
  .modern .solution-copy p { font-size: 14px; }
  .modern .solution-link { font-size: 13px; }
  .modern .manufacturer-line { padding-top: 28px; }
  .modern .manufacturer-line b { font-size: 15px; }
  .modern .support-section { padding-block: 45px; gap: 35px; }
  .modern .support-copy h2 { font-size: 44px; }
  .modern .support-copy > p:not(.section-label) { font-size: 15px; }
  .modern .service-row h3 { font-size: 19px; }
  .modern .service-row p { font-size: 14px; }
  .modern .contact-band { padding-block: 42px; }
  .modern .contact-band h2 { font-size: 32px; }
  .modern .contact-band p { font-size: 14px; }
  .modern .contact-dialog { padding: 34px 22px 24px; }
  .modern .contact-dialog h2 { font-size: 28px; }
  .modern .contact-dialog select, .modern .contact-dialog textarea { font-size: 16px; }
}
@media (max-width: 360px) {
  .modern .container { width: calc(100% - 28px); }
  .modern .hero-systems h1 { font-size: 52px; }
  .modern .scene-jumps a { font-size: 10px; padding-inline: 9px; }
  .modern .hero-systems .hero-actions { gap: 12px; }
  .modern .hero-systems .hero-actions .button, .modern .hero-systems .hero-actions .text-button { font-size: 12px; }
  .modern .hero-systems .scene-canvas { height: 280px; }
  .modern .hero-systems .hotspot { font-size: 9px; gap: 4px; padding-right: 8px; }
  .modern .scene-footer { padding-inline: 14px; }
  .modern .scene-footer button { font-size: 10px; }
  .modern .integrator-card { padding: 18px 13px 14px; min-height: 285px; }
  .modern .integrator-card h3 { font-size: 16px; }
  .modern .card-bottom { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .modern .motion-arrival { animation: none; }
  .modern .integrator-card:hover, .modern .hotspot:hover { transform: none; }
}
@media print {
  .modern .variant-bar { display: none; }
  .modern .site-header { position: static; }
  .modern .hero-systems h1 { font-size: 58px; }
  .modern .hero-systems h1 > span { -webkit-text-fill-color: var(--red); background: none; }
  .modern .motion-arrival { animation: none; }
}
