/*
Theme Name: Sandoval Child
Template: sandoval-theme
Version: 1.0.3
Description: Tema hijo para personalizaciones de Industrias Sandoval.
Text Domain: sandoval-child
*/

/* Agrega tus modificaciones debajo de esta línea. */

h2,
h3,
h4 {
    font-size: 30px;
}

.eyebrow{
	font-size: 17px;
}




/* Estilo general de los tres iconos */
.solution-links .icon {
    display: block;
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;

    /* Oculta los símbolos originales */
    font-size: 0;
    line-height: 0;
}

/* 1. Tecnología médica */
.solution-links a:nth-child(1) .icon {
    background-image: url("http://localhost/Sandoval/wp-content/uploads/2026/09/latido-del-corazon.png");
}

/* 2. Administración de impresión */
.solution-links a:nth-child(2) .icon {
    background-image: url("http://localhost/Sandoval/wp-content/uploads/2026/09/impresora.png");
}

/* 3. Administración de cómputo */
.solution-links a:nth-child(3) .icon {
    background-image: url("http://localhost/Sandoval/wp-content/uploads/2026/09/computadora.png");
}

/* Restaurar botón de la página de contacto */
body .contact-card .btn {
    display: inline-flex !important;
    color: #ffffff !important;
    opacity: 1 !important;
    visibility: visible !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    text-decoration: none !important;
}

.feature-box {

	margin: 40px;
}



.contact-grid a {
    color: #ffffff;
        text-decoration: none;
}



/* Imagen dentro de la tarjeta de contacto */
.contact-card {
    position: relative;
    overflow: hidden;
    min-height: 440px;
}

/* Mantiene el contenido sobre la imagen */
.contact-card > * {
    position: relative;
    z-index: 2;
}

/* Asesora de contacto */
.contact-card::after {
    content: "";
    position: absolute;
    z-index: 1;
    right: -15px;
    bottom: -10px;
    width: 310px;
    height: 320px;

    background-image: url("http://localhost/Sandoval/wp-content/uploads/2026/09/Imagen-de-ChatGPT-25-sept-2026-01_59_49-p.m.png");
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: contain;

    pointer-events: none;
}


/* Datos de contacto visibles en el footer */
.site-footer .footer-column p,
.site-footer .footer-column a,
.site-footer .footer-column span {
    color: var(--footer-text, #ffffff) !important;
    opacity: 1 !important;
}

.site-footer .footer-column a {
    color: var(--footer-link, #ffffff) !important;
}

.site-footer .footer-column a:hover {
    color: var(--footer-hover, #8fe7ff) !important;
}


/* Teléfono y correo en la página de contacto */
body .contact-grid > div p a,
body .contact-grid > div a:not(.btn) {
    color: #194484 !important;
    opacity: 1 !important;
    visibility: visible !important;
    text-decoration: none;
}

/* Hover de los datos de contacto */
body .contact-grid > div p a:hover {
    color: #0491c5 !important;
    text-decoration: underline;
}

/* Los enlaces del footer permanecen blancos */
body .site-footer .footer-column a,
body .site-footer .footer-column p {
    color: #ffffff !important;
    opacity: 1 !important;
}


/* Logos del carrusel de clientes */
.clients-section .client-logo-item {
    flex: 0 0 290px !important;
    width: 290px !important;
    height: 160px !important;
    padding: 10px !important;
}

.clients-section .client-logo-item img {
    width: 100% !important;
    height: 135px !important;
    max-width: 270px !important;
    max-height: 135px !important;
    object-fit: contain !important;
}

@media (max-width: 650px) {
    .clients-section .client-logo-item {
        flex-basis: 220px !important;
        width: 220px !important;
        height: 125px !important;
    }

    .clients-section .client-logo-item img {
        height: 100px !important;
        max-width: 205px !important;
        max-height: 100px !important;
    }
}

/* Inteligencia artificial en las páginas de soluciones */
.sandoval-ai-block {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    align-items: center;
    gap: 48px;
    max-width: 1180px;
    margin: 70px auto;
    padding: 52px 56px;
    overflow: hidden;
    background: #eef5fa;
    border: 1px solid rgba(25, 68, 132, 0.08);
    border-radius: 24px;
}

.sandoval-ai-content h2 {
    margin: 8px 0 22px;
    color: #194484;
    font-family: "Source Serif Variable", "Source Serif 4", Georgia, serif;
    font-size: clamp(30px, 3.2vw, 46px);
    line-height: 1.08;
}

.sandoval-ai-content p {
    margin: 0 0 18px;
    color: #194484;
    font-family: Lato, Arial, sans-serif;
    font-size: 17px;
    line-height: 1.55;
}

.sandoval-ai-content .eyebrow {
    color: #0491c5;
    font-family: Lato, Arial, sans-serif;
    font-size: 17px;
    font-weight: 700;
}

.sandoval-ai-image {
    height: 390px;
    overflow: hidden;
    border-radius: 20px;
}

.sandoval-ai-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 800px) {
    .sandoval-ai-block {
        grid-template-columns: 1fr;
        gap: 30px;
        margin: 45px 20px;
        padding: 34px 26px;
    }

    .sandoval-ai-image {
        height: 280px;
    }

    .sandoval-ai-content h2 {
        font-size: 30px;
    }
}
