body {
  padding: 0;
  margin: 0;
  overflow-x: hidden;
  background: #f5faff;
  font-family: 'Inter', sans-serif;
  color: #0a1b32;
}

html {
  overflow-x: hidden;
}

.pagina-serviciu {
  padding: 140px 24px 80px;
  background: linear-gradient(to bottom, #f7fbff, #e6efff);
  color: #0a1b32;
  font-size: 1rem;
  line-height: 1.8;
  max-width: 960px;
  margin: 0 auto;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .pagina-serviciu {
    padding: 120px 16px 60px;
    font-size: 0.98rem;
  }
}

.header-blur-box {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  border-radius: 20px;
  padding: 40px 30px;
  margin-bottom: 60px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.05);
  text-align: center;
  animation: fade-in 0.8s ease both;
}

.header-blur-box h1 {
  font-size: 2.4rem;
  margin: 10px 0 20px;
  color: #1f4ba5;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.header-blur-box h3 {
  font-weight: 400;
  color: #3a4b6b;
  font-size: 1.2rem;
  margin-top: 10px;
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.continut-serviciu ul {
  margin: 20px 0;
  padding-left: 22px;
}

.continut-serviciu ul li {
  margin-bottom: 10px;
  list-style-type: disc;
  color: #1f2f45;
}

.continut-serviciu h2 {
  font-size: 1.8rem;
  margin-top: 60px;
  margin-bottom: 16px;
  color: #1f4ba5;
  border-left: 4px solid #1f4ba5;
  padding-left: 12px;
  background: #eef4ff;
  border-radius: 6px;
  padding: 10px 16px;
}

.continut-serviciu h3 {
  font-size: 1.3rem;
  margin-top: 36px;
  margin-bottom: 12px;
  color: #14397c;
}

.continut-serviciu p {
  margin-bottom: 18px;
  color: #2a2e42;
  font-size: 1.05rem;
  line-height: 1.8;
}

.continut-serviciu strong {
  color: #1f4ba5;
  font-weight: 700;
}

.continut-serviciu a {
  color: #1f4ba5;
  text-decoration: none;
  font-weight: 600;
}

.continut-serviciu a:hover {
  text-decoration: underline;
}

.hero-button {
  margin-top: 30px;
  display: inline-block;
  background-color: #1f4ba5;
  color: white;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.hero-button:hover {
  background-color: #133a84;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.beneficii-serviciu {
  background: linear-gradient(to bottom right, #eef6ff, #e2ecff);
  padding: 100px 20px;
  text-align: center;
  border-radius: 24px;
  margin-top: 80px;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.beneficii-serviciu.visible {
  opacity: 1;
  transform: translateY(0);
}

.beneficii-serviciu .badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #1f4ba5;
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 100px;
  text-transform: uppercase;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.beneficii-serviciu .badge::before {
  content: '📋';
  font-size: 1rem;
}

.beneficii-serviciu h2 {
  font-size: 2.4rem;
  font-weight: 700;
  color: #0a1b32;
  margin: 0 auto 20px;
  max-width: 700px;
}

.beneficii-serviciu .subtitlu {
  font-size: 1.1rem;
  color: #3c4a66;
  margin-bottom: 60px;
}

.grid-beneficii {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  justify-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.beneficiu-box {
  background: #ffffff;
  border: 2px solid #d6e5ff;
  border-radius: 20px;
  padding: 40px 20px;
  box-shadow: 0 8px 20px rgba(31, 75, 165, 0.06);
  transition: all 0.4s ease;
  width: 100%;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
}

.beneficiu-box.visible {
  opacity: 1;
  transform: translateY(0);
}

.beneficiu-box:hover {
  transform: scale(1.05) translateY(-4px);
  box-shadow: 0 0 0 4px rgba(31, 75, 165, 0.12), 0 24px 60px rgba(0, 0, 0, 0.1);
}

.beneficiu-box svg {
  width: 48px;
  height: 48px;
  background: #e6eeff;
  padding: 12px;
  border-radius: 50%;
  margin-bottom: 20px;
  stroke: #1f4ba5;
  stroke-width: 2;
}

.beneficiu-box p {
  font-weight: 600;
  color: #0a1b32;
  font-size: 1.05rem;
  line-height: 1.4;
}



.informatii-legale {
  background: #f9fbff;
  padding: 100px 20px 120px;
  border-top: 1px solid #d7e3f5;
  font-size: 1.05rem;
  color: #0a1b32;
  line-height: 1.8;
}

.informatii-legale .container-legal {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 40px;
}

.informatii-legale h2 {
  font-size: 2.6rem;
  margin-bottom: 30px;
  color: #1f4ba5;
  text-align: center;
}

.informatii-legale h3 {
  font-size: 1.8rem;
  margin-top: 40px;
  margin-bottom: 20px;
  color: #14397c;
}

.informatii-legale h4 {
  font-size: 1.3rem;
  margin-top: 30px;
  margin-bottom: 10px;
  color: #0a1b32;
}

.informatii-legale ul {
  padding-left: 24px;
  margin-bottom: 20px;
}

.informatii-legale ul li {
  margin-bottom: 10px;
  list-style: disc;
}

.informatii-legale p {
  margin-bottom: 20px;
}

.informatii-legale strong {
  color: #1f4ba5;
}

.informatii-legale a {
  color: #1f4ba5;
  text-decoration: none;
  font-weight: 600;
}

.informatii-legale a:hover {
  text-decoration: underline;
}

/* CTA - Vizitați site-ul nostru pentru medicina muncii */
.cta-section-muncii {
  background: linear-gradient(135deg, #1f4ba5, #3b82f6);
  color: white;
  text-align: center;
  padding: 80px 20px;
  position: relative;
  z-index: 10;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.15);
  clip-path: polygon(0 0, 100% 5%, 100% 100%, 0 95%);
}

.cta-container {
  max-width: 900px;
  margin: 0 auto;
  animation: fadeInUpCTA 1s ease-out;
}

.cta-section-muncii h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.cta-section-muncii p {
  font-size: 1.15rem;
  margin-bottom: 32px;
  color: #e3ecff;
}

.cta-main-button {
  display: inline-block;
  background: white;
  color: #1f4ba5;
  padding: 16px 36px;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

.cta-main-button:hover {
  background: #e8f0ff;
  transform: scale(1.08);
  box-shadow: 0 12px 28px rgba(255, 255, 255, 0.4);
}

@keyframes fadeInUpCTA {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .cta-section-muncii {
    padding: 60px 16px;
    clip-path: none;
  }

  .cta-section-muncii h2 {
    font-size: 1.5rem;
  }

  .cta-main-button {
    font-size: 1rem;
    padding: 12px 28px;
  }
}
