@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('/fonts/PlusJakartaSans-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --smart-bg: #f4f7fa;
  --smart-surface: #ffffff;
  --smart-text: #1a2332;
  --smart-muted: #5c6b7f;
  --smart-accent: #0ea5b7;
  --smart-accent-hover: #0c8a99;
  --smart-hama: #f04137;
  --smart-hama-hover: #d9362d;
  --smart-radius: 12px;
  --smart-shadow: 0 4px 24px rgba(26, 35, 50, 0.08);
}

body.smart-portal {
  font-family: 'Plus Jakarta Sans', 'Poppins', sans-serif;
  background: var(--smart-bg);
  color: var(--smart-text);
}

body.smart-portal.theme-3 {
  background: var(--smart-bg);
}

body.smart-portal.theme-3 section,
body.smart-portal.theme-3 footer.footer-style-2 .footer-top {
  background: var(--smart-surface);
  border-radius: var(--smart-radius);
  box-shadow: var(--smart-shadow);
}

body.smart-portal .navy-dark-bg {
  background: linear-gradient(135deg, #1a2332 0%, #243044 100%) !important;
}

body.smart-portal .btn-primary {
  background: var(--smart-hama);
  border-color: var(--smart-hama);
}

body.smart-portal .btn-primary:hover {
  background: var(--smart-hama-hover);
  border-color: var(--smart-hama-hover);
}

body.smart-portal .btn-outline-smart {
  background: transparent;
  border: 2px solid var(--smart-accent);
  color: var(--smart-accent);
  border-radius: 50px;
  padding: 8px 20px;
  font-weight: 600;
}

body.smart-portal .btn-outline-smart:hover {
  background: var(--smart-accent);
  color: #fff;
}

body.smart-portal .title h4::before,
body.smart-portal .title h4 {
  color: var(--smart-text);
}

body.smart-portal .title h4::before {
  background: var(--smart-accent);
}

body.smart-portal .cart-name:hover,
body.smart-portal a:hover {
  color: var(--smart-accent);
}

body.smart-portal .buy-price {
  color: var(--smart-accent);
  font-weight: 700;
  font-size: 1.1rem;
}

body.smart-portal .product-box.common-cart-box {
  border-radius: var(--smart-radius);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

body.smart-portal .product-box.common-cart-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--smart-shadow);
}

body.smart-portal .smart-hero-badge {
  display: inline-block;
  background: rgba(14, 165, 183, 0.12);
  color: var(--smart-accent);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
}

body.smart-portal .review-section {
  background: var(--smart-surface);
  border-radius: var(--smart-radius);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--smart-shadow);
}

body.smart-portal #jak-testujemy {
  scroll-margin-top: 100px;
  border-top: 1px solid rgba(14, 165, 183, 0.15);
}

body.smart-portal .smart-methodology h2 {
  color: var(--smart-text);
  font-weight: 700;
  margin-bottom: 16px;
}

body.smart-portal .smart-methodology ul {
  margin: 0 0 16px;
  padding-left: 1.25rem;
  color: var(--smart-muted);
  line-height: 1.6;
}

body.smart-portal .smart-methodology ul li {
  margin-bottom: 8px;
}

body.smart-portal .smart-methodology p {
  color: var(--smart-muted);
  line-height: 1.6;
}

body.smart-portal .smart-trust-box {
  margin-top: 20px;
  padding: 16px 18px;
  background: var(--smart-bg);
  border: 1px solid rgba(14, 165, 183, 0.25);
  border-radius: var(--smart-radius);
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--smart-muted);
  max-width: 100%;
}

body.smart-portal .smart-trust-box p {
  margin-bottom: 10px;
  color: var(--smart-muted);
}

body.smart-portal .smart-trust-box p:last-child {
  margin-bottom: 0;
}

body.smart-portal .smart-trust-box a {
  font-weight: 600;
  color: var(--smart-accent);
  text-decoration: none;
}

body.smart-portal .smart-trust-box a:hover {
  text-decoration: underline;
}

body.smart-portal .blog-card-smart {
  border-radius: var(--smart-radius);
  overflow: hidden;
  box-shadow: var(--smart-shadow);
  background: var(--smart-surface);
  height: 100%;
}

body.smart-portal .blog-card-smart img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

body.smart-portal .blog-card-smart .news-info {
  padding: 16px;
}

body.smart-portal .gradient-bar-smart {
  height: 3px;
  background: linear-gradient(90deg, var(--smart-accent), var(--smart-hama));
}

body.smart-portal .header-btm .navbar-nav .nav-link {
  font-weight: 500;
}

body.smart-portal .categories-btn {
  background: var(--smart-accent) !important;
}

body.smart-portal .pagination .active a,
body.smart-portal .pagination li a:hover {
  background: var(--smart-accent) !important;
  border-color: var(--smart-accent);
}

body.smart-portal .fhq-btn {
  border-color: var(--smart-accent);
  color: var(--smart-accent);
}

body.smart-portal .fhq-btn:hover,
body.smart-portal .fhq-btn--active {
  background: var(--smart-accent);
  border-color: var(--smart-accent);
}

/* Strona główna — sekcja hero */
body.smart-portal .smart-hero,
body.smart-portal.theme-3 section.smart-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #ffffff 0%, var(--smart-bg) 60%, #e6f6f8 100%);
  padding: 72px 0;
  margin-bottom: 24px;
  border-radius: var(--smart-radius);
}

body.smart-portal .smart-hero-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

body.smart-portal .smart-hero-glow-1 {
  width: 320px;
  height: 320px;
  top: -80px;
  right: 10%;
  background: rgba(14, 165, 183, 0.15);
  filter: blur(80px);
}

body.smart-portal .smart-hero-glow-2 {
  width: 240px;
  height: 240px;
  bottom: -60px;
  left: 5%;
  background: rgba(240, 65, 55, 0.08);
  filter: blur(80px);
}

body.smart-portal .smart-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}

body.smart-portal .smart-hero-content h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--smart-text);
  line-height: 1.15;
  margin-bottom: 16px;
}

body.smart-portal .smart-hero-desc {
  color: var(--smart-muted);
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 34rem;
  margin-bottom: 28px;
}

body.smart-portal .smart-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

body.smart-portal .smart-hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 50px;
  padding: 10px 22px;
  font-weight: 600;
}

body.smart-portal .smart-hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

body.smart-portal .smart-hero-svg-wrap {
  width: 100%;
  max-width: 420px;
}

body.smart-portal .smart-hero-svg-wrap svg {
  width: 100%;
  height: auto;
  display: block;
}

body.smart-portal .smart-float {
  animation: smart-float 6s ease-in-out infinite;
}

body.smart-portal .smart-hero-signal {
  animation: smart-dash 2s linear infinite;
}

body.smart-portal .smart-hero-signal-delay {
  animation-delay: 0.4s;
}

body.smart-portal .smart-hero-signal-delay-2 {
  animation-delay: 0.8s;
}

@keyframes smart-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes smart-dash {
  to {
    stroke-dashoffset: -24;
  }
}

@media (max-width: 991.98px) {
  body.smart-portal .smart-hero {
    padding: 40px 0;
  }

  body.smart-portal .smart-hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  body.smart-portal .smart-hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  body.smart-portal .smart-hero-actions {
    justify-content: center;
  }

  body.smart-portal .smart-hero-svg-wrap {
    max-width: 320px;
    margin: 0 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.smart-portal .smart-float,
  body.smart-portal .smart-hero-signal {
    animation: none;
  }
}

/* Strona główna — korzyści portalu (Sekcja 1) */
body.smart-portal .smart-usp,
body.smart-portal.theme-3 section.smart-usp {
  background: var(--smart-surface);
  padding: 40px 0 48px;
  margin-bottom: 24px;
  border-radius: var(--smart-radius);
}

body.smart-portal .smart-usp-heading {
  text-align: center;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: var(--smart-text);
  margin-bottom: 28px;
}

body.smart-portal .smart-usp-grid {
  margin-left: -10px;
  margin-right: -10px;
}

body.smart-portal .smart-usp-grid > [class*='col-'] {
  padding-left: 10px;
  padding-right: 10px;
  margin-bottom: 20px;
}

body.smart-portal .smart-usp-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
  padding: 22px 20px;
  background: var(--smart-bg);
  border: 1px solid rgba(14, 165, 183, 0.12);
  border-radius: var(--smart-radius);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

body.smart-portal .smart-usp-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--smart-shadow);
  border-color: rgba(14, 165, 183, 0.35);
  text-decoration: none;
  color: inherit;
}

body.smart-portal .smart-usp-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 14px;
  border-radius: 14px;
  background: rgba(14, 165, 183, 0.12);
  color: var(--smart-accent);
}

body.smart-portal .smart-usp-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--smart-text);
  margin: 0 0 8px;
  line-height: 1.3;
}

body.smart-portal .smart-usp-desc {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--smart-muted);
  margin: 0;
}

@media (max-width: 575.98px) {
  body.smart-portal .smart-usp {
    padding: 28px 0 32px;
  }

  body.smart-portal .smart-usp-card {
    padding: 18px 16px;
  }
}

/* Strona główna — tekst SEO (pełny, bez zwijania) */
body.smart-portal .smart-seo,
body.smart-portal.theme-3 section.smart-seo {
  background: var(--smart-surface);
  padding: 48px 0 56px;
  margin-bottom: 24px;
  border-radius: var(--smart-radius);
}

body.smart-portal .smart-seo-inner {
  margin: 0 auto;
}

body.smart-portal .smart-seo h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: var(--smart-text);
  margin-bottom: 20px;
  line-height: 1.25;
}

body.smart-portal .smart-seo-body {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--smart-muted);
}

body.smart-portal .smart-seo-body p {
  margin-bottom: 1rem;
}

body.smart-portal .smart-seo-body p:last-child {
  margin-bottom: 0;
}

body.smart-portal .smart-seo-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--smart-text);
  margin: 1.5rem 0 0.75rem;
}

@media (max-width: 575.98px) {
  body.smart-portal .smart-seo {
    padding: 32px 0 40px;
  }
}

/* Słownik — listing A-Z i strona hasła */
body.smart-portal .smart-glossary,
body.smart-portal.theme-3 section.smart-glossary,
body.smart-portal .smart-term,
body.smart-portal.theme-3 section.smart-term {
  background: var(--smart-surface);
  box-shadow: none;
}

body.smart-portal .smart-glossary-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

body.smart-portal .smart-glossary-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--smart-text);
  margin: 0;
}

body.smart-portal .smart-glossary-search-wrap {
  margin: 0;
}

body.smart-portal .smart-glossary-search {
  width: 220px;
  max-width: 100%;
  border: 1px solid #d5dee7;
  border-radius: 50px;
  padding: 10px 18px;
  font-size: 0.95rem;
  color: var(--smart-text);
  background: var(--smart-surface);
}

body.smart-portal .smart-glossary-search:focus {
  outline: none;
  border-color: var(--smart-accent);
}

body.smart-portal .smart-glossary-az {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-bottom: 40px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

body.smart-portal .smart-glossary-az a {
  color: var(--smart-text);
  text-decoration: none;
}

body.smart-portal .smart-glossary-az a:hover {
  color: var(--smart-accent);
}

body.smart-portal .smart-glossary-az-empty {
  color: #c5d0db;
}

body.smart-portal .smart-glossary-section {
  margin-bottom: 36px;
  scroll-margin-top: 100px;
}

body.smart-portal .smart-glossary-letter {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--smart-text);
  margin: 0 0 16px;
}

body.smart-portal .smart-glossary-letter a {
  color: inherit;
  text-decoration: none;
}

body.smart-portal .smart-glossary-letter a:hover {
  color: var(--smart-accent);
}

body.smart-portal .smart-glossary-sections-nav {
  letter-spacing: 0;
  gap: 8px 10px;
}

body.smart-portal .smart-glossary-sections-nav a {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--smart-bg);
  font-size: 0.9rem;
  font-weight: 600;
}

body.smart-portal .smart-glossary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 16px;
}

body.smart-portal .smart-glossary-term {
  display: block;
  padding: 16px 18px;
  background: var(--smart-bg);
  border-radius: var(--smart-radius);
  color: var(--smart-text);
  text-decoration: none;
  font-weight: 500;
  line-height: 1.35;
  border: 1px solid transparent;
}

body.smart-portal .smart-glossary-term:hover {
  border-color: rgba(14, 165, 183, 0.35);
  color: var(--smart-accent);
  text-decoration: none;
}

body.smart-portal .smart-term-inner {
  max-width: 46rem;
  margin: 0 auto;
}

body.smart-portal .smart-term-inner--with-sidebar {
  max-width: 72rem;
}

body.smart-portal .smart-term-sidebar {
  padding: 22px 20px;
  background: var(--smart-surface);
  border-radius: var(--smart-radius);
  box-shadow: var(--smart-shadow);
  border: 1px solid rgba(14, 165, 183, 0.12);
}

body.smart-portal .smart-term-sidebar-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--smart-text);
  margin: 0 0 16px;
}

body.smart-portal .smart-term-sidebar-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

body.smart-portal .smart-term-sidebar-list li {
  border-bottom: 1px solid rgba(92, 107, 127, 0.15);
}

body.smart-portal .smart-term-sidebar-list li:last-child {
  border-bottom: none;
}

body.smart-portal .smart-term-sidebar-link {
  display: block;
  padding: 10px 4px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--smart-text);
  text-decoration: none;
  line-height: 1.4;
  transition: color 0.2s ease;
}

body.smart-portal .smart-term-sidebar-link:hover {
  color: var(--smart-accent);
}

body.smart-portal .smart-term-sidebar-tags {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(92, 107, 127, 0.15);
}

body.smart-portal .smart-term-sidebar-tags-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--smart-muted);
  margin: 0 0 10px;
}

body.smart-portal .smart-term-sidebar-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body.smart-portal .smart-term-sidebar-tag {
  display: inline-block;
  padding: 5px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--smart-accent);
  background: rgba(14, 165, 183, 0.08);
  border: 1px solid rgba(14, 165, 183, 0.25);
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

body.smart-portal .smart-term-sidebar-tag:hover {
  background: rgba(14, 165, 183, 0.14);
  border-color: var(--smart-accent);
}

@media (min-width: 992px) {
  body.smart-portal .smart-term-sidebar {
    position: sticky;
    top: 24px;
  }
}

@media (max-width: 991.98px) {
  body.smart-portal .smart-term-sidebar {
    margin-top: 32px;
  }
}

body.smart-portal .smart-term ::selection,
body.smart-portal .smart-post ::selection,
body.smart-portal .smart-author ::selection {
  background: rgba(14, 165, 183, 0.22);
  color: var(--smart-text);
}

body.smart-portal .smart-term a:focus-visible,
body.smart-portal .smart-post a:focus-visible,
body.smart-portal .smart-author a:focus-visible {
  outline: 2px solid var(--smart-accent);
  outline-offset: 3px;
}

body.smart-portal .smart-term-inner--with-sidebar .smart-term-title,
body.smart-portal .smart-term-inner--with-sidebar .smart-term-def {
  text-align: left;
}

body.smart-portal .smart-term-inner--with-sidebar .smart-glossary-grid {
  grid-template-columns: repeat(2, 1fr);
}

body.smart-portal .smart-term-sidebar-link {
  padding: 12px 4px;
}

body.smart-portal .smart-post,
body.smart-portal.theme-3 section.smart-post,
body.smart-portal .smart-author,
body.smart-portal.theme-3 section.smart-author {
  background: var(--smart-surface);
  box-shadow: none;
}

body.smart-portal .smart-post-inner {
  max-width: 46rem;
  margin: 0 auto;
}

body.smart-portal .smart-post-title {
  font-size: clamp(1.75rem, 3.2vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--smart-text);
  margin: 0 0 24px;
  line-height: 1.15;
}

body.smart-portal .smart-post-media {
  margin: 0 0 28px;
  border-radius: var(--smart-radius);
  overflow: hidden;
  background: var(--smart-bg);
}

body.smart-portal .smart-post-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 740;
  object-fit: cover;
}

body.smart-portal .smart-post-body {
  max-width: 70ch;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--smart-text);
}

body.smart-portal .smart-post-body p {
  margin: 0 0 1rem;
}

body.smart-portal .smart-post-author {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(92, 107, 127, 0.2);
}

body.smart-portal .smart-post-author h2 {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--smart-text);
}

body.smart-portal .smart-post-author a {
  font-weight: 600;
  color: var(--smart-accent);
  text-decoration: none;
}

body.smart-portal .smart-post-author a:hover {
  text-decoration: underline;
}

body.smart-portal .smart-author-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  align-items: start;
  max-width: 72rem;
  margin: 0 auto;
}

body.smart-portal .smart-author-profile img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

body.smart-portal .smart-author-role {
  margin: 14px 0 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--smart-muted);
}

body.smart-portal .smart-author-bio {
  max-width: 70ch;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--smart-text);
}

body.smart-portal .smart-author-main h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 32px 0 12px;
  color: var(--smart-text);
}

body.smart-portal .smart-author-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

body.smart-portal .smart-author-list li {
  border-bottom: 1px solid rgba(92, 107, 127, 0.15);
}

body.smart-portal .smart-author-list a {
  display: block;
  padding: 12px 0;
  color: var(--smart-text);
  font-weight: 500;
  text-decoration: none;
}

body.smart-portal .smart-author-list a:hover {
  color: var(--smart-accent);
}

@media (max-width: 767.98px) {
  body.smart-portal .smart-author-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  body.smart-portal .smart-term-inner--with-sidebar .smart-glossary-grid {
    grid-template-columns: 1fr;
  }
}

body.smart-portal .smart-term-back {
  margin: 0 0 16px;
  text-align: left;
}

body.smart-portal .smart-term-back a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--smart-accent);
  text-decoration: none;
}

body.smart-portal .smart-term-back a:hover {
  text-decoration: underline;
}

body.smart-portal .smart-term-title {
  text-align: center;
  font-size: clamp(1.75rem, 3.2vw, 2.4rem);
  font-weight: 700;
  color: var(--smart-text);
  margin: 0 0 28px;
}

body.smart-portal .smart-term-def {
  text-align: center;
  padding: 28px 32px;
  margin-bottom: 40px;
  border-radius: 18px;
  border: 2px solid transparent;
  background:
    linear-gradient(var(--smart-surface), var(--smart-surface)) padding-box,
    linear-gradient(90deg, var(--smart-accent), var(--smart-hama)) border-box;
}

body.smart-portal .smart-term-def h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--smart-text);
  margin: 0 0 12px;
}

body.smart-portal .smart-term-def-body,
body.smart-portal .smart-term-def-body p {
  color: var(--smart-muted);
  line-height: 1.65;
  margin: 0;
}

body.smart-portal .smart-term-body {
  color: var(--smart-muted);
  line-height: 1.7;
  margin-bottom: 48px;
}

body.smart-portal .smart-term-body h2,
body.smart-portal .smart-term-body h3 {
  color: var(--smart-text);
  font-weight: 700;
  margin: 1.5rem 0 0.75rem;
}

body.smart-portal .smart-term-related h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--smart-text);
  margin: 0 0 18px;
}

@media (max-width: 767.98px) {
  body.smart-portal .smart-glossary-head {
    flex-direction: column;
    align-items: stretch;
  }

  body.smart-portal .smart-glossary-search {
    width: 100%;
  }

  body.smart-portal .smart-glossary-grid {
    grid-template-columns: 1fr;
  }
}

/* Strona główna — interaktywny rzut mieszkania */
body.smart-portal .smart-house,
body.smart-portal.theme-3 section.smart-house {
  background: var(--smart-surface);
  padding: 48px 0 56px;
  margin-bottom: 24px;
  border-radius: var(--smart-radius);
}

body.smart-portal .smart-house-heading {
  text-align: center;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: var(--smart-text);
  margin: 0 0 8px;
}

body.smart-portal .smart-house-lead {
  text-align: center;
  color: var(--smart-muted);
  max-width: 36rem;
  margin: 0 auto 32px;
  line-height: 1.6;
}

body.smart-portal .smart-house-plan {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

body.smart-portal .smart-house-svg {
  width: 100%;
  height: auto;
  display: block;
}

body.smart-portal .smart-house-hotspot {
  position: absolute;
  transform: translate(-50%, -9px); /* środek kropki (18px) = punkt left/top */
  z-index: 2;
  text-decoration: none;
  color: inherit;
}
body.smart-portal .smart-house-hotspot--biuro {
  left: 21.25%;
  top: 29%;
}

body.smart-portal .smart-house-hotspot--sypialnia {
  left: 81.25%;
  top: 45%;
}

body.smart-portal .smart-house-hotspot--salon {
  left: 55%;
  top: 20%;
}

body.smart-portal .smart-house-hotspot--kuchnia {
  left: 21.25%;
  top: 58%;
}

body.smart-portal .smart-house-hotspot--wejscie {
  left: 53.75%;
  top: 60%;
}

body.smart-portal .smart-house-dot {
  display: block;
  width: 18px;
  height: 18px;
  margin: 0 auto;
  border-radius: 50%;
  background: var(--smart-accent);
  box-shadow: 0 0 0 6px rgba(14, 165, 183, 0.2);
  animation: smart-house-pulse 2.4s ease-out infinite;
}

body.smart-portal .smart-house-card {
  display: block;
  min-width: 150px;
  margin-top: 10px;
  padding: 10px 12px;
  background: var(--smart-surface);
  border-radius: 10px;
  box-shadow: var(--smart-shadow);
  border: 1px solid rgba(14, 165, 183, 0.15);
}

body.smart-portal .smart-house-card strong {
  display: block;
  font-size: 0.95rem;
  color: var(--smart-text);
}

body.smart-portal .smart-house-card span {
  display: block;
  font-size: 0.8rem;
  color: var(--smart-muted);
  margin-top: 2px;
}

body.smart-portal .smart-house-hotspot:hover,
body.smart-portal .smart-house-hotspot:focus {
  z-index: 3;
}

body.smart-portal .smart-house-hotspot:hover .smart-house-card,
body.smart-portal .smart-house-hotspot:focus .smart-house-card {
  border-color: rgba(14, 165, 183, 0.4);
}

body.smart-portal .smart-house-hotspot:hover .smart-house-dot,
body.smart-portal .smart-house-hotspot:focus .smart-house-dot {
  background: var(--smart-hama);
  box-shadow: 0 0 0 6px rgba(240, 65, 55, 0.18);
}

body.smart-portal .smart-house-list {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 36rem;
}

body.smart-portal .smart-house-list a {
  display: flex;
  flex-direction: column;
  padding: 14px 16px;
  margin-bottom: 10px;
  background: var(--smart-bg);
  border-radius: var(--smart-radius);
  text-decoration: none;
  color: inherit;
  border: 1px solid transparent;
}

body.smart-portal .smart-house-list a:hover {
  border-color: rgba(14, 165, 183, 0.35);
  color: inherit;
}

body.smart-portal .smart-house-list strong {
  color: var(--smart-text);
}

body.smart-portal .smart-house-list span {
  font-size: 0.9rem;
  color: var(--smart-muted);
}

@keyframes smart-house-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(14, 165, 183, 0.35);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(14, 165, 183, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(14, 165, 183, 0);
  }
}

@media (max-width: 767.98px) {
  body.smart-portal .smart-house-plan {
    display: none;
  }

  body.smart-portal .smart-house-list {
    display: block;
    margin: 0 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.smart-portal .smart-house-dot {
    animation: none;
  }
}


