/* ========================================
   Medicines - Market Access in Bulgaria
   ======================================== */

/* --- Intro Section --- */
.med-intro {
  padding: 4rem 0 3rem;
  background: var(--bg-white);
}

.med-intro-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.med-intro-content p {
  font-size: 1.05rem;
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.med-intro-content p:last-child {
  margin-bottom: 0;
}

.med-institutions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.25rem;
}

.med-institution-tag {
  background: linear-gradient(135deg, rgba(27, 138, 58, 0.08), rgba(23, 166, 138, 0.08));
  border: 1px solid rgba(27, 138, 58, 0.15);
  border-radius: 20px;
  padding: 0.4rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--green-heading);
}

/* --- Services Grid Section --- */
.med-services {
  padding: 5rem 0;
  background: var(--bg-light);
}

.med-section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.med-section-header h2 {
  font-size: 1.8rem;
  color: var(--green-heading);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.med-section-header p {
  font-size: 1.05rem;
  color: var(--text-gray);
  font-style: italic;
  max-width: 700px;
  margin: 0 auto;
}

.med-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.med-card {
  background: var(--bg-white);
  border-radius: 8px;
  padding: 1.75rem 1.5rem;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.med-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.med-card-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--green-heading), var(--teal));
}

.med-card-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.med-card-number {
  width: 36px;
  height: 36px;
  background: var(--green-heading);
  color: var(--text-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
}

.med-card h4 {
  font-size: 0.95rem;
  color: var(--accent-blue);
  font-weight: 700;
  line-height: 1.4;
  margin-top: 0.4rem;
}

.med-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.med-card ul li {
  padding: 0.25rem 0 0.25rem 1.25rem;
  position: relative;
  font-size: 0.85rem;
  color: var(--text-gray);
  line-height: 1.6;
}

.med-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-heading);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .med-cards-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .med-intro {
    padding: 3rem 0 2rem;
  }

  .med-services {
    padding: 3.5rem 0;
  }

  .med-section-header h2 {
    font-size: 1.4rem;
  }

  .med-intro-content {
    text-align: left;
  }

  .med-institutions {
    justify-content: flex-start;
  }
}
