/***Cabecera****/
.div-fondo {
    height: 50vh!important;
    position: relative;
    display: flex;
	align-items: flex-start!important;
    justify-content: center;
    overflow: hidden;
}
.div-fondo h1 {
    position: relative;
    color: var(--negro);
    font-size: 3rem!important;
    font-weight: bold;
    text-align: center;
    padding: 5% 5%;
    z-index: 10;
    text-shadow: 5px 5px 10px rgba(255, 255, 255, 0.7);
    margin: 0 auto;
    max-width: 90%;
}
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 !important;
    padding: 0;
    width: 100%;
    height: 100%;
	min-width: 100vw;
    background: linear-gradient(to right, #a5d2f1, #6875b7);
    opacity: 0.8;
}
.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
	min-width: 100vw;
    background-image: url(https://solincomp.com/wp-content/uploads/2025/08/sol_inicab.webp);
    background-size: cover;
    background-position: center bottom;
	background-attachment: local;
}
.wave-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
	height: auto;
}
.wave-svg {
    width: 100%!important;
    height: auto;
    display: block;
    min-width: 100vw; 
}
.div-cab-inicio p {
    position: absolute;
    color: var(--azul-rey);
    font-size: 1.1rem !important;
    font-weight: bold;
    text-align: center;
    margin: 0 auto;
    max-width: 90%;
    top: 75%;
    left: 45%;
	right: 10%;
}
@media (max-width: 1100px) {
	.div-fondo {
		height: 30vh;
		max-height: 70%;
	}
	.div-cab-inicio p {
		top: 60%;
		left: 10%;
		right: 10%;
		color: var(--azul-oxford);
	}
}



/***IA****/
.div-ia {
	display: grid;
	justify-content: center;
}
.div-ia a {
	background: var(--azul-cel);
	padding: 0.5rem;
	border-radius: 8px;
	line-height: 1.5!important;
	&:hover {
		background: var(--azul-rey);
		color: var(--blanco);
	}
}
/***SERVICIOS****/
.div-servicios {
	justify-content: center;
	background: var(--azul-cel);
	padding: 2rem!important;
}
.col-servicios {
	display: flex;
	justify-content: center;
	gap: 1.5rem;
	width: 100%;
}

/* Cada tarjeta */
.col-servicios .columna {
	background: var(--blanco);
	padding: 1rem;
	border-radius: 16px;
	width: 100%; /* Opcional: asegura que ocupe todo el ancho de su celda */
	max-width: 350px; /* Evita que se vuelvan demasiado anchas */
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.col-servicios .wp-block-image img {
	border-radius: 8px !important;
	width: 80% !important;
	margin: 0 auto !important; /* Centrar la imagen horizontalmente */
	display: block !important;
}
.div-servicios .servicio-titulo {
	font-size: 1rem;
	font-weight: bold;
	color: var(--azul-rey);
	text-align: center;
	margin: 0;
	padding: 5px 0;
}
.div-servicios .servicio-texto {
	font-size: 0.9rem;
	color: var(--negro);
	text-align: justify;
	padding: 0;
	margin: 0;
}
@media (max-width: 768px) {
    .col-servicios {
        grid-template-columns: minmax(300px, 350px);
    }
}

/***SOLUCIONES****/
.div-soluciones {
	padding: 2rem!important;
}
.div-soluciones p {
	text-align: center;
}
.col-soluciones {
	display: flex;
	justify-content: center;
	gap: 1.5rem;
	width: 100%;
}
.col-soluciones .columna {
	background: linear-gradient(135deg, #1e88e5 0%, #0d47a1 100%); /* Azules profundos */
	padding: 1rem;
	border-radius: 16px;
	width: 100%;
	max-width: 350px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
	transition: transform 0.2s ease;
}

.col-soluciones .columna:hover {
	transform: translateY(-5px);
	box-shadow: 10px 8px 20px rgba(0, 0, 0, 0.7);
	cursor: pointer;
}
.div-soluciones h2 {
	text-align: center;
}
.col-soluciones h3 {
	color: var(--amarillo);
	line-height: 1.4rem;
}
.col-soluciones p {
	color: var(--blanco);
}

/***PROMOCIONES****/
.div-promocion {
	justify-content: center;
	background: var(--azul-cel);
	padding: 2rem !important;
	margin: 0;
}

.div-promocion h2 {
	text-align: center;
}

.div-promocion p {
	text-align: center;
}
.col-promocion {
	display: flex;
	justify-content: center;
	gap: 1.5rem;
	width: 100%;
}
.col-promocion .columna {
	background: var(--azul-rey);
	padding: 1rem;
	border-radius: 16px;
	width: 100%;
	max-width: 350px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	box-shadow: 0 4px 12px rgba(0, 0, 0,, 0.5);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	min-height: 400px; /* Altura mínima para alinear los botones */
}

/* Efecto hover */
.col-promocion .columna:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 20px rgba(255, 255, 255, 0.5);
}

/* Contenedor de la imagen */
.col-promocion .wp-block-image {
	margin: 0 auto;
	width: 100%;
	max-width: 300px;
	height: 200px;
	overflow: hidden;
	border-radius: 8px;
}

/* Imagen dentro del contenedor */
.col-promocion .wp-block-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
	border-radius: 8px;
}

/* Título de la tarjeta */
.col-promocion h3 {
	font-size: 1.1rem;
	font-weight: bold;
	color: var(--blanco);
	margin: 0.5rem 0 0.5rem;
	text-align: center;
}

.col-promocion p {
	font-size: 0.9rem;
	color: var(--blanco);
	text-align: center;
	padding: 0 0.5rem;
	margin: 0.5rem 0 1rem;
	line-height: 1.4;
	flex-grow: 1; /* Ocupa el espacio disponible */
}

.col-promocion .btn-informacion a {
	background: var(--azul-claro);
	color: var(--blanco);
	border: 2px solid var(--azul-claro);
	border-radius: 16px;
	position: relative;
	overflow: hidden;
	z-index: 1;
	text-decoration: none;
	display: inline-block;
	padding: 10px 20px;
	transition: color 0.3s ease; /* Transición solo para el color */
}

.col-promocion .btn-informacion a::after {
	content: "";
	position: absolute;
	width: 0;
	height: 100%;
	top: 0;
	left: 0;
	background: var(--amarillo);
	transition: width 0.5s ease;
	z-index: -1;
}

.col-promocion .btn-informacion a:hover {
	color: var(--negro);
	background: var(--amarillo)!important;
	border-color: var(--blanco)!important;
}

.col-promocion .btn-informacion a:hover::after {
	width: 100%;
}
