
/*           HERO LAYOUT           */

/* Na dużych ekranach hero = tekst + zdjęcie obok siebie */
@media (min-width: 900px) {
  .hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 32px;
  }

  .hero-text {
    flex: 1.3;
  }

  .hero-media {
    flex: 1;
    max-width: 460px;
  }
}

/* Dopracowanie typografii hero w Twoim stylu */
.hero h1 {
  font-size: 32px;
  margin-bottom: 10px;
}

.hero p {
  font-size: 16px;
  color: var(--muted);
}

/* Mały „badge” nad nagłówkiem */
.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  margin-bottom: 8px;
  border-radius: var(--radius-full);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: rgba(15,23,42,0.95);
  border: 1px solid var(--border-subtle);
  color: #cbd5f5;
}

/* Lista korzyści w hero */
.hero-benefits {
  list-style: none;
  padding-left: 0;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.hero-benefits li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 4px;
}

.hero-benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-alt));
  box-shadow: 0 0 0 3px rgba(56,189,248,0.18);
}

/* CTA w hero – przyciski obok siebie */
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

/* Zdjęcie w hero – dopasowane do dark/neon */
.hero-media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 26px;
  object-fit: cover;
  box-shadow: 0 24px 70px rgba(0,0,0,0.85);
  border: 1px solid rgba(148,163,253,0.28);
}

/* Na mniejszych ekranach obrazek trochę niższy */
@media (max-width: 900px) {
  .hero-media {
    margin-top: 14px;
  }

  .hero-media img {
    max-height: 260px;
    object-fit: cover;
  }
}

/*         BRANDS INFO STYLE       */

/* Typografia kart marek */
.brand-card h2 {
  margin: 0 0 10px;
  font-size: 24px;
  letter-spacing: -0.01em;
}

.brand-card p {
  margin: 0 0 8px;
  font-size: 15px;
  color: var(--muted);
}

/* Lista produktów marek – lekko podbita */
.brand-list {
  list-style: none;
  padding-left: 0;
  margin: 10px 0 4px;
  font-size: 16px;
  color: #e5e7eb;
}

.brand-list li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 4px;
}

.brand-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 14px;
  color: var(--accent);
}

/* Kolory marek – zostawiamy jak chciałeś */
.brand-card--husqvarna {
  border-left: 4px solid #005bbb;
}

.brand-card--stiga {
  border-left: 4px solid #f7c600;
}

/* Delikatny glow na hover kart marek */
.brand-card {
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast),
    border-color var(--transition-fast),
    background-color var(--transition-fast);
}

.brand-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 60px rgba(2,8,23,0.95);
  border-color: rgba(148,163,253,0.28);
  background:
    radial-gradient(circle at top left, rgba(56,189,248,0.12), transparent 55%),
    var(--bg-card);
}


/* SEKCJE ARTYKUŁÓW – PEŁNA SZEROKOŚĆ */

.articles-section {
  margin-top: 32px;
  margin-bottom: 32px;
  width: 100%;
}

.articles-section h2 {
  font-size: 20px;
  margin-bottom: 14px;
  color: #f9fafb;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  border-bottom: 1px solid rgba(148,163,253,0.18);
  padding-bottom: 6px;
}

/* Siatka na całą dostępna szerokość main */

.articles-grid {
  display: grid;
  width: 100%;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: stretch;
}

/* Karta artykułu */

.article-card {
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid rgba(148,163,253,0.16);
  box-shadow: var(--shadow-soft);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
  cursor: pointer;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 70px rgba(15,23,42,0.95);
  border-color: rgba(56,189,248,0.35);
}

/* Obrazek w karcie */

.article-card img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  border-bottom: 1px solid rgba(148,163,253,0.14);
  transition: transform 0.4s ease;
  background-color: white;
}

.article-card:hover img {
  transform: scale(1.05);
}

/* Treść karty */

.article-body {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
}

.article-body h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #f9fafb;
}

.article-body p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

/* Link do artykułu */

.article-link {
  margin-top: auto;
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.article-link:hover {
  color: white;
}

/* DOPRECYZOWANIE DLA WIĘKSZYCH EKRANÓW (opcjonalne sztywne progi) */

@media (min-width: 1300px) {
  .articles-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .article-card img {
    height: 200px;
  }
}

@media (min-width: 900px) and (max-width: 1299px) {
  .articles-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 899px) and (min-width: 601px) {
  .articles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .articles-grid {
    grid-template-columns: 1fr;
  }
}
