body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

h1, h2, h4, h5 {
  font-weight: bold;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
}

.section-title {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2.2rem;
  color: #04DEC9;
}

.section-content {
  margin-bottom: 3rem;
  max-width: 850px;
}

/* HERO */
.hero {
  background: url('../imagenes/doctorDerecho.png') center center/cover no-repeat;
  height: 60vh;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  position: relative;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0; right: 0;
  background-color: rgba(0,0,0,0.55); 
}

.hero .hero-content {
  position: relative;
  z-index: 1;
  animation: fadeInDown 1.2s ease-out;
}

.hero h1 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
}

.hero .btn {
  margin-top: 1rem;
  padding: 0.6rem 1.5rem;
  font-weight: bold;
  border-radius: 30px;
  transition: transform 0.3s, background 0.3s;
}

.hero .btn:hover {
  transform: scale(1.05);
  background: #04DEC9;
  color: #fff;
}

/* MARCO LEGAL CARDS */
.marco-card {
  border-left: 5px solid #04DEC9;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 700px;
}

.marco-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.marco-card .card-title {
  font-weight: bold;
  color: #04DEC9;
}

.marco-card .card-text {
  font-size: 0.95rem;
  color: #444;
}

/* Imagen */
.marco-img-card {
  max-width: 700px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.marco-img-card:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.marco-img-card img {
  max-height: 280px;
  object-fit: cover;
}

.marco-img-card .card-title {
  font-size: 1.2rem;
  color: #04DEC9;
  font-weight: bold;
}

/* Botones */
#marco-legal .btn {
  font-weight: bold;
  padding: 0.5rem 1.4rem;
  border-radius: 50px;
  transition: all 0.3s ease;
}

#marco-legal .btn-primary {
  background: #04DEC9;
  border: none;
  color: #fff;
}

#marco-legal .btn-primary:hover {
  background: #02b9a5;
}

#marco-legal .btn-outline-secondary {
  border-color: #04DEC9;
  color: #04DEC9;
}

#marco-legal .btn-outline-secondary:hover {
  background-color: #04DEC9;
  color: #fff;
}

/* Footer */
footer {
  background-color: #04DEC9;
  color: white;
  text-align: center;
  padding: 1.5rem 0;
  font-size: 0.95rem;
}

/* Animaciones */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
