/* ============================================================
   Midasoft — Pagini de industrie
   Fișier: midasoft-industrii.css
   Locație: /wp-content/themes/hello-elementor-child/
   Încărcare: functions.php → wp_enqueue_style()
   ============================================================ */

/* ---- HERO -------------------------------------------------- */
.ms-industry-hero {
  padding: 48px 0 40px;
}

.ms-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #085041;
  background: #E1F5EE;
  padding: 4px 12px;
  border-radius: 99px;
  margin-bottom: 14px;
}

.ms-hero-title {
  font-size: clamp(22px, 4vw, 34px);
  font-weight: 500;
  line-height: 1.3;
  color: #1a1a1a;
  margin-bottom: 12px;
  max-width: 640px;
}

.ms-hero-sub {
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 500;
  color: #1a1a1a;
  line-height: 1.35;
  max-width: 680px;
  margin-bottom: 24px;
}

.ms-hero-cta {
  display: inline-block;
  background: #534AB7;
  color: #fff !important;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 22px;
  border-radius: 6px;
  text-decoration: none !important;
  transition: background 0.15s;
}

.ms-hero-cta:hover {
  background: #3f389a;
}

/* ---- SECTION ----------------------------------------------- */
.ms-section {
  padding: 36px 0 8px;
}

.ms-section + .ms-section {
  border-top: 1px solid #efefef;
}

.ms-section-label {
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 16px;
  display: block;
}

.ms-section-title {
  font-size: 20px;
  font-weight: 500;
  color: #1a1a1a;
  margin-bottom: 20px;
  line-height: 1.3;
}

/* ---- ACCORDION -------------------------------------------- */
.ms-accordion {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ms-acc-item {
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  margin-bottom: 7px;
  overflow: hidden;
  transition: border-color 0.15s;
}

.ms-acc-item.ms-open {
  border-color: #c9c5ec;
}

.ms-acc-trigger {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background 0.12s;
  overflow: visible;
  height: auto;
  white-space: normal;
}

@media (max-width: 768px) {
  .ms-acc-trigger {
    align-items: flex-start;
  }
}

.ms-acc-trigger:hover {
  background: #fafafa;
}

.ms-acc-title {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  font-weight: 500;
  color: #1a1a1a;
  line-height: 1.35;
  word-break: break-word;
}

.ms-acc-chevron {
  font-size: 16px;
  color: #aaa;
  flex-shrink: 0;
  transition: transform 0.2s;
  display: inline-block;
  line-height: 1;
}

.ms-acc-item.ms-open .ms-acc-chevron {
  transform: rotate(180deg);
}

.ms-acc-body {
  padding: 0 16px 16px 16px;
  font-size: 13px;
  color: #555;
  line-height: 1.65;
}

.ms-acc-body p {
  margin-bottom: 8px;
}

.ms-acc-body p:last-child {
  margin-bottom: 0;
}

.ms-sol-ref {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: #999;
  margin-top: 10px !important;
}

/* ---- BADGES ----------------------------------------------- */
.ms-badge-app {
  background: #EEEDFE;
  color: #3C3489;
  font-size: 11px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 99px;
  white-space: nowrap;
  flex-shrink: 0;
}

.ms-badge-ai {
  background: #EEEDFE;
  color: #3C3489;
  font-size: 11px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 99px;
  white-space: nowrap;
  flex-shrink: 0;
}

.ms-badge-clasic {
  background: #f0f0f0;
  color: #666;
  font-size: 11px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 99px;
  border: 1px solid #e0e0e0;
  white-space: nowrap;
  flex-shrink: 0;
}

.ms-badge-ai-pill {
  background: #EEEDFE;
  color: #3C3489;
  font-size: 11px;
  font-weight: 500;
  padding: 2px 9px;
  border-radius: 99px;
  display: inline-block;
}

.ms-badge-pnrr {
  background: #E1F5EE;
  color: #085041;
  font-size: 11px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 99px;
  border: 1px solid #a0d9c5;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ---- APP LINK --------------------------------------------- */
.ms-app-link {
  display: inline-block;
  color: #534AB7 !important;
  font-size: 12px;
  font-weight: 500;
  margin-top: 10px;
  text-decoration: none !important;
  transition: opacity 0.15s;
}

.ms-app-link:hover {
  opacity: 0.75;
}

/* ---- RESPONSIVE ------------------------------------------- */
@media (max-width: 768px) {
  .ms-industry-hero {
    padding: 32px 0 28px;
  }

  .ms-hero-sub {
    font-size: 15px;
  }

  /* Ascunde badge-ul aplicației din trigger pe mobil — titlul e suficient */
  .ms-acc-trigger .ms-badge-app,
  .ms-acc-trigger .ms-badge-ai,
  .ms-acc-trigger .ms-badge-clasic {
    display: none;
  }

  .ms-section-title {
    font-size: 18px;
  }
}
