/* Homepage modern sections — slider unchanged */

.home-about {
  padding: 80px 0 60px;
  background: #f8fafc;
}

.home-about__header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
}

.home-about__header h1 {
  font-family: 'League Spartan', sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
  color: #1a1a2e;
  margin: 0 0 16px;
  line-height: 1.25;
}

.home-about__header p {
  font-size: 1.35rem;
  color: #5a6270;
  margin: 0;
  line-height: 1.7;
}

.home-about__grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 32px;
  align-items: start;
}

@media (max-width: 991px) {
  .home-about__grid {
    grid-template-columns: 1fr;
  }
}

.home-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.home-card h3 {
  font-family: 'League Spartan', sans-serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: #1a1a2e;
  margin: 0 0 20px;
}

.home-card p {
  font-size: 1.5rem;
  line-height: 1.75;
  color: #4a5568;
  margin-bottom: 1em;
}

.home-card p:last-child {
  margin-bottom: 0;
}

.home-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 28px;
}

@media (max-width: 575px) {
  .home-features {
    grid-template-columns: 1fr;
  }
}

.home-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  background: #f1f5f9;
  border-radius: 12px;
  transition: background 0.2s ease;
}

.home-feature:hover {
  background: #e8f0fe;
}

.home-feature__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #2a83e8;
  color: #fff;
  border-radius: 10px;
  font-size: 20px;
}

.home-feature__text {
  font-size: 1.3rem;
  color: #374151;
  line-height: 1.55;
  margin: 0;
  padding-top: 4px;
}

.home-services {
  position: sticky;
  top: 100px;
}

.home-services__title {
  font-family: 'League Spartan', sans-serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: #1a1a2e;
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #2a83e8;
}

.home-services__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.home-services__list li {
  margin-bottom: 4px;
}

.home-services__list a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  color: #374151;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.25rem;
  line-height: 1.45;
  transition: background 0.2s ease, color 0.2s ease;
}

.home-services__list a:hover {
  background: #e8f0fe;
  color: #2a83e8;
}

.home-services__list a i {
  color: #0faa3b;
  font-size: 14px;
  flex-shrink: 0;
}

.home-content-blocks {
  padding: 0 0 80px;
  background: #f8fafc;
}

.home-content-blocks__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (max-width: 767px) {
  .home-content-blocks__grid {
    grid-template-columns: 1fr;
  }
}

.home-content-blocks .home-card ul {
  margin: 12px 0 0;
  padding-left: 0;
  list-style: none;
}

.home-content-blocks .home-card ul li {
  position: relative;
  padding: 10px 0 10px 22px;
  font-size: 1.35rem;
  color: #4a5568;
  line-height: 1.55;
  border-bottom: 1px solid #f1f5f9;
}

.home-content-blocks .home-card ul li:last-child {
  border-bottom: none;
}

.home-content-blocks .home-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 16px;
  width: 6px;
  height: 6px;
  background: #2a83e8;
  border-radius: 50%;
}

/* Blog / Novosti section */
#journal.home-journal {
  padding: 80px 0;
  background: #fff;
}

.home-journal .section-header {
  text-align: center;
  margin-bottom: 48px;
}

.home-journal .section-header h3 {
  font-family: 'League Spartan', sans-serif;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 600;
  color: #1a1a2e;
  margin: 0 0 12px;
}

.home-journal .section-header p {
  color: #5a6270;
  font-size: 1.3rem;
  margin: 0;
}

.home-journal .section-header .accent-line {
  width: 48px;
  height: 3px;
  background: #2a83e8;
  margin: 16px auto 0;
  border-radius: 2px;
}

.home-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 991px) {
  .home-blog-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
}

.home-blog-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.home-blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(42, 131, 232, 0.12);
}

.home-blog-card__img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.home-blog-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.home-blog-card:hover .home-blog-card__img img {
  transform: scale(1.04);
}

.home-blog-card__date {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(26, 26, 46, 0.85);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 20px;
  letter-spacing: 0.03em;
}

.home-blog-card__body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.home-blog-card__title {
  font-family: 'League Spartan', sans-serif;
  font-size: 1.45rem;
  font-weight: 600;
  color: #1a1a2e;
  margin: 0 0 12px;
  line-height: 1.35;
}

.home-blog-card__excerpt {
  font-size: 1.25rem;
  color: #6b7280;
  line-height: 1.65;
  margin: 0 0 16px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-blog-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.05rem;
  font-weight: 600;
  color: #2a83e8;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: gap 0.2s ease;
}

.home-blog-card__link:hover {
  gap: 10px;
  color: #1a6fd4;
}

.home-journal .btn-modern {
  display: inline-block;
  margin-top: 40px;
  padding: 16px 40px;
  background: #2a83e8;
  color: #fff;
  border-radius: 8px;
  font-size: 1.05rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.home-journal .btn-modern:hover {
  background: #1a6fd4;
  color: #fff;
  transform: translateY(-1px);
}
