.news-section {
  padding: 50px 0 100px;
  background:
    radial-gradient(ellipse 700px 400px at 90% 0%, rgba(29, 95, 214, 0.06), transparent),
    radial-gradient(ellipse 500px 350px at 0% 100%, rgba(154, 200, 50, 0.05), transparent);
}

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

.news-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.25s ease;
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--glass-shadow);
  background: var(--glass-bg-strong);
}
.news-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.news-card-body { padding: 28px; }
.news-card:has(.news-card-img) .news-card-body { padding-top: 22px; }

.news-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.type-offer { background: #fdeaea; color: #d64545; }
.type-notice { background: var(--blue-light); color: var(--blue); }
.type-news { background: #e6f7ee; color: #1e9e5a; }

.news-card h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}
.news-date {
  font-size: 0.78rem;
  color: var(--gray);
  font-weight: 600;
  margin-bottom: 12px;
}
.news-body {
  font-size: 0.92rem;
  white-space: pre-line;
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--gray);
}

/* Tabs: Ofertat / Pakot */
.tab-switch {
  display: inline-flex;
  gap: 4px;
  margin-bottom: 30px;
  padding: 5px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg);
  box-shadow: 0 10px 26px rgba(15, 42, 82, .06);
}
.tab-btn {
  min-height: 42px;
  padding: 10px 26px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--gray);
  font-family: inherit;
  font-size: .87rem;
  font-weight: 800;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.tab-btn:hover { color: var(--heading); }
.tab-btn.is-active {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 20px rgba(29, 95, 214, .28);
}

/* Packages */
.pkg-grid { display: grid; gap: 28px; }
.pkg-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--bg);
  box-shadow: 0 22px 50px rgba(15, 42, 82, .1);
}
.pkg-head {
  position: relative;
  padding: 38px 40px 34px;
  color: #fff;
  background:
    radial-gradient(ellipse 520px 300px at 88% 0%, rgba(93, 155, 255, .35), transparent 70%),
    linear-gradient(135deg, #0b2a57 0%, #061630 100%);
}
.pkg-tag {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 14px;
  border: 1px solid rgba(191, 214, 255, .35);
  border-radius: 99px;
  color: #bfd6ff;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.pkg-head h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  line-height: 1.14;
  letter-spacing: -.022em;
}
.pkg-head > p {
  max-width: 460px;
  margin: 0 0 26px;
  color: rgba(255, 255, 255, .78);
  font-size: .95rem;
  line-height: 1.6;
}
.pkg-price {
  display: inline-flex;
  align-items: flex-end;
  gap: 30px;
  padding: 16px 26px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 16px;
  background: rgba(255, 255, 255, .07);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.pkg-price > div { display: flex; flex-direction: column; gap: 3px; }
.pkg-price-label {
  color: rgba(255, 255, 255, .62);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.pkg-price-old {
  color: rgba(255, 255, 255, .6);
  font-size: 1.3rem;
  font-weight: 700;
  text-decoration: line-through;
}
.pkg-price-new {
  color: #fff;
  font-size: clamp(2.1rem, 4vw, 2.9rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.022em;
}
.pkg-body { padding: 34px 40px 36px; }
.pkg-groups {
  columns: 3;
  column-gap: 36px;
}
.pkg-group {
  break-inside: avoid;
  margin-bottom: 24px;
}
.pkg-group h3 {
  margin: 0 0 10px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--border);
  color: var(--heading);
  font-size: .92rem;
  line-height: 1.35;
}
.pkg-group ul,
.pkg-list { margin: 0; padding: 0; list-style: none; }
.pkg-group li,
.pkg-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 6px;
  color: var(--gray);
  font-size: .85rem;
  line-height: 1.45;
}
.pkg-group li::before,
.pkg-list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--blue);
  font-weight: 800;
  font-size: .8rem;
}
.pkg-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px 34px;
}
.pkg-list li { color: var(--heading); font-weight: 600; margin-bottom: 9px; }
.pkg-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
}
.pkg-note { margin: 0; color: var(--gray); font-size: .9rem; font-style: italic; }
.pkg-cta { min-height: 52px; padding: 14px 34px; border-radius: 12px; }

@media (max-width: 960px) {
  .pkg-groups { columns: 2; }
  .pkg-head { padding: 32px 26px 30px; }
  .pkg-body { padding: 28px 26px 30px; }
}

@media (max-width: 640px) {
  .tab-switch { display: grid; grid-template-columns: 1fr 1fr; width: 100%; margin-bottom: 22px; }
  .tab-btn { padding: 10px 12px; font-size: .84rem; }
  .pkg-grid { gap: 20px; }
  .pkg-card { border-radius: 20px; box-shadow: 0 14px 34px rgba(15, 42, 82, .09); }
  .pkg-head { padding: 26px 18px 22px; text-align: center; }
  .pkg-tag { margin-bottom: 12px; }
  .pkg-head h2 { font-size: 1.62rem; }
  .pkg-head > p { max-width: none; margin: 0 auto 18px; font-size: .88rem; }
  .pkg-price {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 14px 18px;
    border-radius: 14px;
    text-align: left;
  }
  .pkg-price > div:first-child { padding-right: 14px; border-right: 1px solid rgba(255, 255, 255, .18); }
  .pkg-price-old { font-size: 1.15rem; }
  .pkg-price-new { font-size: 2.15rem; }
  .pkg-body { padding: 18px 14px 22px; }
  .pkg-groups { columns: 1; }
  .pkg-group {
    margin-bottom: 10px;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--bg-soft);
  }
  .pkg-group h3 {
    margin-bottom: 9px;
    padding-bottom: 0;
    border-bottom: 0;
    font-size: .86rem;
  }
  .pkg-group li { margin-bottom: 5px; font-size: .83rem; }
  .pkg-group li:last-child { margin-bottom: 0; }
  .pkg-list {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--bg-soft);
  }
  .pkg-list li { margin-bottom: 7px; font-size: .84rem; }
  .pkg-list li:last-child { margin-bottom: 0; }
  .pkg-foot {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    margin-top: 18px;
    padding-top: 18px;
    text-align: center;
  }
  .pkg-note { font-size: .85rem; }
  .pkg-cta { width: 100%; justify-content: center; }
}

@media (max-width: 720px) {
  .news-grid { grid-template-columns: 1fr; }
}

/* Articles (blog) */
.article-card {
  display: block;
  color: inherit;
  text-decoration: none;
}
.article-readmore {
  display: inline-block;
  margin-top: 10px;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--blue);
}

.article-detail {
  padding: 60px 0 100px;
}
.article-detail-inner {
  max-width: 760px;
  margin: 0 auto;
}
.article-back {
  display: inline-block;
  margin-bottom: 24px;
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
}
.article-detail-cover {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 32px;
}
.article-detail-date {
  font-size: 0.85rem;
  color: var(--gray);
  font-weight: 600;
  margin-bottom: 10px;
}
.article-detail-inner h1 {
  margin-bottom: 24px;
}
.article-detail-body p {
  margin-bottom: 18px;
  line-height: 1.7;
}

/* Homepage teaser */
.news-teaser { background: var(--bg-soft); }
.news-teaser .services-grid { grid-template-columns: repeat(3, 1fr); }
.news-teaser-footer { text-align: center; margin-top: 36px; }

@media (max-width: 960px) {
  .news-teaser .services-grid { grid-template-columns: 1fr; }
}
