@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

/* --- SECCIÓN LIBERTAD (HERO) --- */
.seccion-libertad {
  position: relative;
  width: 92%;
  max-width: 1700px;
  margin: 3rem auto;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 4rem 4rem;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
  color: #ffffff;
  
  /* Degradado para proteger el texto sobre la foto de fondo */
  background: linear-gradient(90deg, rgba(4, 11, 20, 0.95) 0%, rgba(4, 11, 20, 0.8) 45%, rgba(4, 11, 20, 0.2) 100%),
              url("../ImagenesFondos/Fondo3.jpg") no-repeat center right;
  background-size: cover;
}

/* 1. Añade esta nueva clase para el brillo del texto */
.resplandor-azul {
  color: #2185ff;
  text-shadow: 0 0 15px rgba(217, 229, 231, 0.6);
}

.libertad-contenido {
  max-width: 700px;
  z-index: 2;
}

.etiqueta-trading {
  font-size: 0.85rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #eef0f3;
  margin-bottom: 1rem;
  font-weight: 600;
}

.titulo-libertad {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 1.5rem 0;
}

.resaltado-esmeralda {
  color: #1b68af; /* Verde/cyan brillante de la imagen */
}

.desc-libertad {
  font-size: 1rem;
  line-height: 1.6;
  color: #cbd5e1;
  margin-bottom: 2.5rem;
  max-width: 90%;
}

/* --- LISTA DE BENEFICIOS --- */
.beneficios-lista {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
  line-height: 1.8;
}

.beneficio-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.icono-beneficio {
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icono-beneficio svg {
  width: 28px;
  height: 28px;
}

.texto-beneficio {
  display: flex;
  flex-direction: column;
}

.beneficio-titulo {
  font-size: 0.95rem;
  font-weight: 700;
  color: #f8fafc;
}

.beneficio-desc {
  font-size: 0.8rem;
  color: #94a3b8;
  line-height: 1.3;
}

.separador-vertical {
  width: 1px;
  height: 35px;
  background-color: rgba(255, 255, 255, 0.15);
}

/* --- BOTONES DE ACCIÓN --- */
.botones-accion {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.btn-primario-esmeralda {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: linear-gradient(90deg, #0445c7 0%, #00d4ff 100%); 
  color: var(--text-light); 
  padding: 0.9rem 1.8rem;
  border: none;
  border-radius: 50px;
  box-shadow: 0 8px 20px rgba(0, 150, 255, 0.4);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.btn-primario-esmeralda:hover {
  background-color: #029fb4;
  transform: translateY(-2px);
}

.btn-primario-esmeralda svg {
  width: 18px;
  height: 18px;
}

.btn-secundario-outline {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background-color: transparent;
  color: #ffffff;
  padding: 0.9rem 1.8rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.btn-secundario-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
}

.btn-secundario-outline svg {
  width: 20px;
  height: 20px;
}

/* --- ANIMACIÓN CSS --- */
.animar-fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
}

.animar-fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1024px) {
  .titulo-libertad { font-size: 2.8rem; }
  .beneficios-lista { flex-wrap: wrap; }
  .separador-vertical { display: none; }
}

@media (max-width: 768px) {
  .seccion-libertad {
    background: linear-gradient(180deg, rgba(4, 11, 20, 0.3) 0%, rgba(4, 11, 20, 0.95) 60%),
                url('../ImagenesFondos/Fondo3.jpg') no-repeat 80% center;
    background-size: cover;
    padding: 3rem 2rem;
    align-items: flex-end;
    min-height: 700px;
  }
  
  .desc-libertad { max-width: 100%; }
  .beneficios-lista { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .botones-accion { flex-direction: column; width: 100%; align-items: stretch; }
  .botones-accion a { justify-content: center; text-align: center; }
}