/* 
 * soluciones.css
 * Contiene estilos específicos de la página soluciones.html,
 * incluyendo secciones como hero, servicios, beneficios, pasos,
 * y sus media queries.
 */

/* Wrappers para extender los fondos a los márgenes */
.solutions-hero-wrapper { background-color: #e6f0fa; width: 100%; }
.services-section-wrapper { background-color: #fff; width: 100%; }
.benefits-section-wrapper { background-color: #e6f0fa; width: 100%; }
.steps-section-wrapper { background-color: #fff; width: 100%; }

.solutions-hero { padding: 60px 0 0; text-align: center; }
.solutions-hero-content { display: flex; justify-content: space-between; align-items: stretch; flex-wrap: wrap; max-width: 100%; }
.solutions-hero-text { flex: 0 0 60%; text-align: left; padding-right: 20px; display: flex; flex-direction: column; justify-content: center; }
.solutions-hero-text h1 { font-size: 3.75em; color: #003087; margin-bottom: 30px; font-weight: 700; line-height: 1.2; } /* Manteniendo el título agrandado */
.solutions-hero-text p { font-size: 1.1em; color: #555; margin: 0; line-height: 1.8; }
.solutions-hero-image { flex: 0 0 35%; text-align: right; margin-right: 0; display: flex; align-items: flex-end; justify-content: flex-end; }
.solutions-hero-image__img { max-width: 420px; height: auto; }
.services-section { padding: 40px 0 60px; text-align: center; }
.services-section h2 { font-size: 2em; color: #003087; margin-bottom: 20px; font-weight: 700; }
.services-section p { font-size: 1em; color: #555; margin-bottom: 40px; line-height: 1.8; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.service-card { background-color: #fff; padding: 30px; border-radius: 10px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); transition: transform 0.3s ease; }
.service-card:hover { transform: translateY(-5px); }
.service-icon { width: 160px; height: 100px; margin: 0 auto 30px; display: block; object-fit: contain; }
.service-card h3 { font-size: 1.3em; color: #003087; margin-bottom: 15px; font-weight: 500; }
.service-card p { font-size: 0.95em; color: #666; margin-bottom: 20px; line-height: 1.6; }
.service-card a { color: #003087; text-decoration: none; }
.service-card a:hover { color: #f4a261; }

/* Aseguramos que el texto de los botones "Solicitar" sea blanco */
.service-card a.btn--small { 
  color: #fff !important; /* Forzamos el color blanco para el texto del botón */
}
.service-card a.btn--small:hover { 
  color: #fff !important; /* Mantenemos el texto blanco en hover */
}

.benefits-section { padding: 60px 0; text-align: center; }
.benefits-section h2 { font-size: 2em; color: #003087; margin-bottom: 20px; font-weight: 700; }
.benefits-section p { font-size: 1em; color: #555; margin-bottom: 40px; line-height: 1.8; }
.benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }

/* Tarjetas cuadradas para "Beneficios" con íconos centrados */
.benefit-card { 
  background-color: #fff; 
  padding: 20px; 
  border-radius: 10px; 
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); 
  transition: transform 0.3s ease; 
  display: flex; 
  flex-direction: column; 
  align-items: center; 
  text-align: center; 
  height: 250px; /* Cuadrado */
  width: 250px; /* Cuadrado */
  margin: 0 auto; /* Centrado */
}
.benefit-card:hover { transform: translateY(-5px); }
.benefit-icon { font-size: 2.5em; color: #f4a261; margin-bottom: 15px; }
.benefit-card h3 { font-size: 1.2em; color: #003087; margin-bottom: 10px; }
.benefit-card p { font-size: 0.9em; color: #666; line-height: 1.5; }

.steps-section { padding: 60px 0; text-align: center; }
.steps-section h2 { font-size: 2em; color: #003087; margin-bottom: 20px; font-weight: 700; }
.steps-section p { font-size: 1em; color: #555; margin-bottom: 40px; line-height: 1.8; }
.steps-section ol { list-style: none; counter-reset: steps; max-width: 800px; margin: 0 auto; text-align: left; }
.steps-section ol li { font-size: 1em; color: #555; margin-bottom: 20px; position: relative; padding-left: 40px; counter-increment: steps; line-height: 1.8; }
.steps-section ol li:before { content: counter(steps); position: absolute; left: 0; background-color: #f4a261; color: #fff; border-radius: 50%; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; font-size: 0.9em; }
.steps-section a { color: #003087; text-decoration: none; }
.steps-section a:hover { color: #f4a261; }

/* Media queries específicas de soluciones.html */
@media (max-width: 992px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .solutions-hero { padding: 40px 0 0; }
  .solutions-hero-content { flex-direction: column; text-align: center; }
  .solutions-hero-text { flex: 1; margin-bottom: 20px; text-align: center; padding-right: 0; }
  .solutions-hero-text h1 { font-size: 3em; }
  .solutions-hero-text p { font-size: 1em; margin: 0 auto 20px; }
  .solutions-hero-image { flex: 1; text-align: center; margin-right: 0; align-items: center; }
  .solutions-hero-image__img { max-width: 370px; }
  .services-section { padding: 20px 0 40px; }
  .services-grid { grid-template-columns: 1fr; }
  .benefits-section { padding: 40px 0; }
  .benefits-grid { grid-template-columns: 1fr; }
  .steps-section { padding: 40px 0; }
  .steps-section ol li { font-size: 0.95em; }
}

@media (max-width: 480px) {
  .solutions-hero-text h1 { font-size: 2.4em; }
  .solutions-hero-text p { font-size: 0.9em; }
  .solutions-hero-image__img { max-width: 320px; }
  .services-section h2, .benefits-section h2, .steps-section h2 { font-size: 1.6em; }
  .service-card h3 { font-size: 1.2em; }
  .service-card p { font-size: 0.9em; }
  .benefit-card h3 { font-size: 1em; }
  .benefit-card p { font-size: 0.85em; }
  .steps-section ol li { font-size: 0.9em; }
}