/* ===== HERO – FINAL CLEAN VERSION ===== */

.hero-modern {
  position: relative;
  overflow: hidden;
  min-height: 500px;
  display: flex;
  align-items: stretch;
  background: #0f223c;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-dark-layer {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(7, 28, 50, 0.90) 0%,
      rgba(7, 28, 50, 0.78) 32%,
      rgba(7, 28, 50, 0.38) 64%,
      rgba(7, 28, 50, 0.10) 100%
    );
}

.video-toggle {
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #1f2a44;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.16);
  transition: background 0.2s ease, transform 0.2s ease;
}

.video-toggle:hover {
  background: #ffffff;
}

.video-toggle:focus {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 40px;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 30px;
}

.hero-main {
  max-width: 720px; 
  width: 100%;
  color: #fff;
  padding-left: 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: #2f7d32;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 18px;
}

.hero-main h1 {
  margin: 0;
  font-size: 3.15rem;
  line-height: 1.02;
  font-weight: 600;
  letter-spacing: -0.035em;
  color: #ffffff;
}

.hero-main h1::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  margin-top: 16px;
  border-radius: 999px;
  background: #36c85a;
}

.hero-lead {
  margin: 16px 0 20px;
  max-width: 720px;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}

.hero-search-wrap {
  max-width: 720px;
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
}

.hero-search {
max-width: 720px;
  display: flex;
  align-items: center;
  min-height: 72px;
  padding: 0 24px 0 62px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(10, 18, 35, 0.16);
}

.hero-search:hover {
  box-shadow: 0 18px 40px rgba(10, 18, 35, 0.19);
}

.hero-search:focus-within {
  box-shadow: 0 18px 40px rgba(10, 18, 35, 0.24);
}

.search-icon {
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #8b929d;
  pointer-events: none;
}

.hero-search input {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0;
  font-size: 1rem;
  line-height: 1.4;
  color: #122033;
  outline: none;
  font-family: inherit;
}

.hero-search input::placeholder {
  color: #98a2b3;
  opacity: 1;
}

#suggestions {
  margin-top: 10px;
}

.hero-popular {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin-top: 16px;
  color: #fff;
}

.hero-popular-label {
  margin-right: 14px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
}

.hero-popular a {
  position: relative;
  text-decoration: none;
  color: #d8e6c6;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0 12px;
  transition: color 0.2s ease;
}

.hero-popular a:first-of-type {
  padding-left: 0;
}

.hero-popular a + a::before {
  content: "|";
  position: absolute;
  left: -2px;
  color: rgba(255, 255, 255, 0.55);
}

.hero-popular a:hover,
.hero-popular a:focus {
  color: #ffffff;
}

.hero-side-card {
  width: 100%;
  max-width: 350px;
  justify-self: end;
  align-self: center;
}

.hero-side-card-inner {
  padding: 28px 26px 24px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.16);
}

.hero-side-icon {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eef6ec;
  color: #2f7d32;
  margin-bottom: 18px;
}

.hero-side-kicker {
  margin: 0 0 8px;
  font-size: 0.95rem;
  line-height: 1.35;
  font-weight: 600;
  color: #111827;
}

.hero-side-card h3 {
  margin: 0 0 12px;

  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #111827;
}

.hero-side-text {
  margin: 0 0 20px;
  color: #4b5563;
  line-height: 1.65;
  font-size: 0.96rem;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.btn-primary,
.hero-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 18px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  transition: all 0.2s ease;
}

.btn-primary {
  background: #2e6f2e;
  color: #fff;
  gap: 10px;
  box-shadow: 0 10px 24px rgba(46, 111, 46, 0.22);
}

.btn-primary:hover,
.btn-primary:focus {
  background: #255c25;
}

.hero-btn-outline {
  background: #fff;
  color: #2e6f2e;
  border: 1.5px solid #a8c7a5;
}

.hero-btn-outline:hover,
.hero-btn-outline:focus {
  background: #f7fbf6;
}

/* delikatniejsze nagłówki na stronie głównej */
.home-shortcuts h2,
.home-news h2,
.section-label h2,
.section-title {
  font-size: 2rem;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #1f2a44;
}

.shortcut-card h3,
.news-card-title,
.quick-card h3 {
  font-size: 1.1rem;
  line-height: 1.35;
  font-weight: 600;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 1100px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 38px;
    padding-bottom: 32px;
  }

  .hero-side-card {
    justify-self: start;
    max-width: 350px;
  }

  .video-toggle {
    top: 22px;
    right: 18px;
    transform: none;
  }
}

@media (max-width: 768px) {
  .hero-modern {
    min-height: auto;
  }

  .hero-main h1 {
    max-width: 720px;
    font-size: 2.5rem;
    line-height: 1.04;
  }

  .hero-lead {
    font-size: 0.98rem;
  }

  .hero-search-wrap {
    max-width: 100%;
  }

  .hero-search {
    min-height: 64px;
    padding: 0 20px 0 54px;
  }

  .search-icon {
    left: 20px;
  }

  .hero-side-card {
    max-width: 100%;
  }

  .hero-side-card-inner {
    padding: 24px 22px;
  }

  .hero-side-card h3 {
    font-size: 1.3rem;
  }

  .home-shortcuts h2,
  .home-news h2,
  .section-label h2,
  .section-title {
    font-size: 1.65rem;
  }
}

@media (max-width: 600px) {
  .hero-content {
    padding-top: 30px;
    padding-bottom: 24px;
  }

  .hero-main h1 {
    font-size: 2.2rem;
  }

  .hero-search {
    min-height: 60px;
  }

  .hero-popular {
    gap: 8px 0;
  }

  .hero-popular-label {
    width: 100%;
    margin-right: 0;
    margin-bottom: 4px;
  }

  .video-toggle {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
}

/* ===== FIX: input ma wyglądać jak całe zewnętrzne pole ===== */

.hero-search {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 72px;
  padding: 0 24px 0 62px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(10, 18, 35, 0.16);
  overflow: hidden;
}

.hero-search input {
  display: block;
  width: 100%;
  height: 72px;
  margin: 0;
  padding: 0;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  border-radius: 999px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  font-size: 1rem;
  line-height: 72px;
  color: #122033;
  font-family: inherit;
}

.hero-search input:focus,
.hero-search input:active,
.hero-search input:hover {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

.hero-search input::placeholder {
  color: #98a2b3;
  opacity: 1;
}

.search-icon {
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #8b929d;
  pointer-events: none;
  z-index: 2;
}

/* ===== WYRAŹNA ZIELONA LUPKA ===== */

.search-icon {
  color: #1f8f3a;
}

.search-icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 2.4;
}

.hero-search:focus-within .search-icon {
  color: #16742e;
}


/* ===== LEPSZE MEDIA QUERIES – HERO TYPO ===== */

@media (max-width: 1100px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 40px;
    padding-bottom: 34px;
  }

  .hero-main,
  .hero-lead,
  .hero-search-wrap {
    max-width: 760px;
    width: 100%;
  }

  .hero-side-card {
    justify-self: start;
    max-width: 360px;
  }

  .hero-main h1 {
    max-width: 11ch;
    font-size: clamp(2.9rem, 4.6vw, 4rem);
    line-height: 1.02;
  }
}

@media (max-width: 768px) {
  .hero-content {
    padding-top: 34px;
    padding-bottom: 28px;
    gap: 24px;
  }

  .hero-main h1 {
    max-width: 11ch;
    font-size: clamp(2.5rem, 7vw, 3.3rem);
    line-height: 1.05;
  }

  .hero-lead {
    font-size: 1rem;
    line-height: 1.68;
  }

  .hero-search {
    min-height: 64px;
  }

  .hero-search input {
    font-size: 1rem;
  }

  .hero-side-card h3 {
    font-size: 1.35rem;
    line-height: 1.18;
  }

  .home-shortcuts h2,
  .home-news h2,
  .section-label h2,
  .section-title {
    font-size: clamp(1.7rem, 4vw, 2rem);
    line-height: 1.15;
  }
}

@media (max-width: 600px) {
  .hero-modern {
    min-height: auto;
  }

  .hero-content {
    padding-top: 28px;
    padding-bottom: 24px;
  }

  .hero-main h1 {
    max-width: 10ch;
    font-size: clamp(2.2rem, 8.5vw, 2.8rem);
    line-height: 1.06;
  }

  .hero-lead {
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .hero-search {
    min-height: 60px;
  }

  .hero-search input {
    font-size: 0.98rem;
  }

  .hero-side-card-inner {
    padding: 22px 20px;
  }

  .hero-side-card h3 {
    font-size: 1.25rem;
  }
}

/* ===== SZYBKI DOSTĘP – 6 KAFELKÓW JAK NA MOCKUPIE ===== */

.home-shortcuts {
  padding: 34px 0 28px;
  background: #ffffff;
}

.home-shortcuts .section-label {
  margin-bottom: 22px;
}

.home-shortcuts .section-label h2 {
  font-size: 2rem;
  line-height: 1.15;
  font-weight: 600;
  color: #122033;
  letter-spacing: -0.02em;
}

.home-shortcuts .section-label h2::after {
  content: "";
  display: block;
  width: 44px;
  height: 3px;
  margin-top: 12px;
  border-radius: 999px;
  background: #2f7d32;
}

.shortcut-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

.shortcut-card {
  min-height: 190px;
  padding: 22px 20px 18px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid #eef1f4;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
  text-decoration: none;
  color: #122033;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.shortcut-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
  border-color: #dfe6dd;
}

.shortcut-icon {
  width: 68px;
  height: 68px;
  border-radius: 999px;
  background: #eef4ec;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: #216b2a;
  flex-shrink: 0;
}

.shortcut-icon-svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.shortcut-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.shortcut-content h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.3;
  font-weight: 600;
  color: #101828;
}

.shortcut-content p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.45;
  color: #667085;
}

.shortcut-arrow {
  margin-top: auto;
  padding-top: 18px;
  font-size: 1.5rem;
  line-height: 1;
  color: #216b2a;
  transition: transform 0.2s ease;
}

.shortcut-card:hover .shortcut-arrow {
  transform: translateX(4px);
}

/* tablet */
@media (max-width: 1200px) {
  .shortcut-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* mniejsze laptopy */
@media (max-width: 800px) {
  .shortcut-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* mobile zostawimy potem */

/* ===== WSPÓLNY NAGŁÓWEK SEKCJI ===== */

.section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.section-label {
  margin: 0;
}

.section-label h2 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.12;
  font-weight: 650;
  letter-spacing: -0.03em;
  color: #122033;
}

.section-label h2::after {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  margin-top: 12px;
  border-radius: 999px;
  background: #2f7d32;
}

.section-all-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  text-decoration: none;
  color: #475467;
  font-size: 0.96rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.2s ease, transform 0.2s ease;
}

.section-all-link span {
  font-size: 1.2rem;
  line-height: 1;
  color: #216b2a;
  transition: transform 0.2s ease;
}

.section-all-link:hover {
  color: #122033;
}

.section-all-link:hover span {
  transform: translateX(4px);
}

/* ===== SZYBKI DOSTĘP ===== */

.home-shortcuts {
  padding: 34px 0 28px;
  background: #ffffff;
}

.shortcut-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

.shortcut-card {
  min-height: 190px;
  padding: 22px 20px 18px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid #eef1f4;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
  text-decoration: none;
  color: #122033;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.shortcut-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
  border-color: #dfe6dd;
}

.shortcut-icon {
  width: 68px;
  height: 68px;
  border-radius: 999px;
  background: #eef4ec;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: #216b2a;
  flex-shrink: 0;
}

.shortcut-icon-svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.shortcut-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.shortcut-content h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.3;
  font-weight: 600;
  color: #101828;
}

.shortcut-content p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.45;
  color: #667085;
}

.shortcut-arrow {
  margin-top: auto;
  padding-top: 18px;
  font-size: 1.5rem;
  line-height: 1;
  color: #216b2a;
  transition: transform 0.2s ease;
}

.shortcut-card:hover .shortcut-arrow {
  transform: translateX(4px);
}

/* ===== AKTUALNOŚCI ===== */

.home-news {
  padding-top: 16px;
}

.news-head {
  margin-bottom: 0;
}

.news-card-title {
  font-size: 1.12rem;
  line-height: 1.3;
  font-weight: 600;
  color: #122033;
}

.news-card-text {
  font-size: 0.96rem;
  line-height: 1.55;
  color: #667085;
}

.news-all-link {
  display: none;
}

/* ===== RESPONSIVE DESKTOP/TABLET ===== */

@media (max-width: 1200px) {
  .shortcut-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 800px) {
  .shortcut-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


/* ===== STATUS + AKTUALNOŚCI JAK NA MOCKUPIE ===== */

.home-status-news {
  padding: 20px 0 34px;
  background: #ffffff;
}

.status-news-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 22px;
  align-items: stretch;
}

.status-panel,
.updates-panel {
  background: #ffffff;
  border: 1px solid #e9eef3;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
  padding: 18px 18px 14px;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.panel-head h3 {
  margin: 0;
  font-size: 1.4rem;
  line-height: 1.2;
  font-weight: 650;
  color: #122033;
  letter-spacing: -0.02em;
}

.panel-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #475467;
  font-size: 0.92rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.panel-link span {
  color: #216b2a;
  font-size: 1.1rem;
}

.panel-link:hover {
  color: #122033;
}

/* STATUSY */

.status-list {
  display: flex;
  flex-direction: column;
}

.status-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 2px;
  border-top: 1px solid #eef2f6;
}

.status-item:first-child {
  border-top: 0;
}

.status-main {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.status-name {
  font-size: 1rem;
  font-weight: 500;
  color: #122033;
}

.status-dot,
.legend-dot {
  width: 10px;
  height: 10px;
  min-width: 10px;
  border-radius: 50%;
  display: inline-block;
}

.status-dot--ok,
.legend-dot--ok {
  background: #1f7a31;
}

.status-dot--warn,
.legend-dot--warn {
  background: #f4b400;
}

.status-dot--error,
.legend-dot--error {
  background: #e5484d;
}

.status-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.status-label {
  font-size: 0.92rem;
  font-weight: 500;
}

.status-label--ok {
  color: #1f7a31;
}

.status-label--warn {
  color: #d99100;
}

.status-label--error {
  color: #d92d20;
}

.status-arrow {
  color: #216b2a;
  font-size: 1.15rem;
}

.status-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding-top: 14px;
  margin-top: 6px;
  border-top: 1px solid #eef2f6;
  font-size: 0.82rem;
  color: #667085;
}

.status-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* AKTUALNOŚCI */

.updates-list {
  display: flex;
  flex-direction: column;
}

.update-item {
  border-top: 1px solid #eef2f6;
}

.update-item:first-child {
  border-top: 0;
}

.update-card-link {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
  padding: 16px 2px;
  text-decoration: none;
  color: inherit;
}

.update-date-box {
  width: 64px;
  min-height: 64px;
  border-radius: 14px;
  border: 1px solid #e9eef3;
  background: #f9fbfc;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.update-day {
  font-size: 1.4rem;
  font-weight: 700;
  color: #101828;
}

.update-month {
  margin-top: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #667085;
}

.update-content {
  min-width: 0;
}

.update-title {
  margin: 0 0 6px;
  font-size: 1rem;
  line-height: 1.35;
  font-weight: 600;
  color: #122033;
}

.update-text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #667085;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.update-side {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 2px;
  flex-shrink: 0;
}

.update-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #eef6ff;
  color: #2563eb;
  font-size: 0.76rem;
  font-weight: 600;
}

.update-arrow {
  color: #216b2a;
  font-size: 1.1rem;
}

.updates-empty {
  margin: 0;
  padding: 18px 2px;
  color: #667085;
  font-size: 0.95rem;
}

/* RESPONSIVE później jeszcze dopracujemy, ale już nie rozsypie desktopu */
@media (max-width: 1100px) {
  .status-news-grid {
    grid-template-columns: 1fr;
  }
}


/* ===== NAJCZĘŚCIEJ ROZWIĄZYWANE PROBLEMY ===== */

.home-common-problems {
  padding: 8px 0 34px;
  background: #ffffff;
}

.common-problems-box {
  background: #f5f8f4;
  border: 1px solid #edf2eb;
  border-radius: 20px;
  padding: 24px 26px 18px;
}

.section-head--problems {
  margin-bottom: 18px;
}

.problems-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.problem-pill {
  min-height: 74px;
  background: #ffffff;
  border: 1px solid #e7ede6;
  border-radius: 16px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  text-decoration: none;
  color: #122033;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.problem-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.07);
  border-color: #dfe7dc;
}

.problem-pill-icon {
  width: 34px;
  height: 34px;
  min-width: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #216b2a;
}

.problem-pill-svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.problem-pill-text {
  font-size: 0.96rem;
  line-height: 1.35;
  font-weight: 500;
  color: #122033;
}

/* desktop/tablet */
@media (max-width: 1200px) {
  .problems-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 800px) {
  .problems-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


/* ===== DOLNE SKRÓTY NAD STOPKĄ ===== */

.home-bottom-shortcuts {
  padding: 8px 0 28px;
  background: #ffffff;
}

.bottom-shortcuts-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid #e7edf3;
  padding-top: 26px;
}

.bottom-shortcut {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 22px 12px;
  text-decoration: none;
  color: #122033;
  transition: background 0.2s ease;
}

.bottom-shortcut:hover {
  background: #fafcfb;
}

.bottom-shortcut-icon {
  width: 34px;
  height: 34px;
  min-width: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #216b2a;
  margin-top: 2px;
}

.bottom-shortcut-svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bottom-shortcut-content {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.bottom-shortcut-content strong {
  font-size: 1rem;
  line-height: 1.3;
  font-weight: 600;
  color: #122033;
}

.bottom-shortcut-content span {
  font-size: 0.9rem;
  line-height: 1.45;
  color: #667085;
}

@media (max-width: 1100px) {
  .bottom-shortcuts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 0;
  }
}

@media (max-width: 700px) {
  .bottom-shortcuts-grid {
    grid-template-columns: 1fr;
  }

  .bottom-shortcut {
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* ===== HOME FINAL: granat + róż, bez zieleni ===== */

.hero-badge {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.hero-main h1::after,
.home-shortcuts .section-label h2::after,
.section-label h2::after {
  background: #e5007d;
}

.hero-popular a {
  color: rgba(255, 255, 255, 0.88);
}

.hero-side-icon,
.shortcut-icon {
  background: #f4f6fb;
  color: #1f2a44;
}

.btn-primary {
  background: linear-gradient(135deg, #1f2a44 0%, #e5007d 100%);
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(229, 0, 125, 0.18);
}

.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(135deg, #14203a 0%, #c9006d 100%);
}

.hero-btn-outline {
  color: #1f2a44;
  border-color: #ccd4df;
}

.hero-btn-outline:hover,
.hero-btn-outline:focus {
  background: #f7f9fc;
}

.search-icon,
.hero-search:focus-within .search-icon {
  color: #1f2a44;
}

.shortcut-arrow,
.panel-link span,
.section-all-link span,
.status-arrow,
.update-arrow,
.bottom-shortcut-icon,
.problem-pill-icon {
  color: #1f2a44;
}

.shortcut-card:hover,
.problem-pill:hover {
  border-color: #d9e0ea;
}

.status-dot--ok,
.legend-dot--ok {
  background: #2e7d5b;
}

.status-label--ok {
  color: #2e7d5b;
}

.status-dot--warning,
.legend-dot--warning {
  background: #8b5cf6;
}

.status-label--warning {
  color: #7c3aed;
}

.common-problems-box {
  background: #f7f9fc;
  border-color: #e7edf5;
}

.problem-pill {
  border-color: #e6ebf2;
}

.bottom-shortcut:hover {
  background: #f8fafc;
}