/* General */
.ac-header, .ac-features {
    width: 80%;
    margin: 0 auto;
    padding: 60px 20px;
    
  }
  
  /* Encabezado */
  .ac-header-content {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
    text-align: left;
  }
  
  .ac-header-img {
    width: 200px;
    height: 200px;
    
  }
  
  .ac-header-text {
    max-width: 600px;
  }
  
  .ac-title {
    font-size: 2.8rem;
    margin: 0;
    color: #25476a;
  }
  
  .ac-description {
    font-size: 1.2rem;
    color: #151515;
    margin-top: 10px;
  }
  
  .ac-divider {
    margin: 30px auto;
    width: 80px;
    height: 4px;
    background-color: #25476a;
    border: none;
  }
  
  .ac-subtitle {
    font-size: 1.8rem;
    text-align: center;
    margin-top: 50px;
    color: black;
  }
  
  /* Características (apartados) */
  .ac-wrapper {
    display: flex;
    align-items: stretch;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0;
  }
  
  .ac-img {
    flex: 0 0 600px; /* Ajusta el ancho lateral */
    margin: 60px 0;
    display: flex;
    align-items: stretch;
    justify-content: center;
    padding-right: 20px;
  }
  
  .ac-img img {
    width: auto;
    height: 100%;
    border-radius: 12px;
    object-fit: cover;
  }

  .ac-features {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    max-width: 100%; 
  }
  
  .feature {
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: start;
    border: 1px solid #eee;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Sombra sutil */
    padding: 20px;
    background-color: #fff;
    transition: all 0.4s ease;
  }

  
  .feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 123, 255, 0.3);
  }
  
  .feature-img {
    width: 100px;
    height: 100px;
    object-fit: contain;    
  }
  
  
  .feature-title {
    font-size: 1.5rem;
    margin: 0;
    color: #25476a;
  }
  
  .feature-description {
    font-size: 1rem;
    color: #151515;
    margin-top: 8px;
    
  }
  
  .feature-text {
    max-width: 600px;
  }
  
/* Responsive: imagen de la izquierda desaparece en pantallas más pequeñas */
@media screen and (max-width: 1279px) {
  .ac-img {
    display: none;
  }

  .ac-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .ac-features {
    align-items: center;
    max-width: 90%;
  }
}

/* Responsive: tarjetas con imagen centrada en vertical */
@media screen and (max-width: 1024px) {
  .feature {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .feature-img {
    margin-bottom: 10px;
  }

  .feature-text {
    max-width: 100%;
  }

  .ac-header-content {
    flex-direction: column;
    text-align: center;
  }

  .ac-header-text {
    max-width: 100%;
  }

  .ac-header-img {
    margin-bottom: 10px;
  }
}



  @keyframes bounce {
    0%   { transform: translateY(0); }
    30%  { transform: translateY(-10px); }
    50%  { transform: translateY(0); }
    70%  { transform: translateY(-6px); }
    100% { transform: translateY(0); }
  }