/*
Theme Name: SOFNACH Home Approved
Description: Genesis child theme basado en el mockup HTML/CSS aprobado de SOFNACH.
Author: SOFNACH
Version: 1.4.0
Template: genesis
Text Domain: sofnach
*/
.sofnach-hero-benefit {
    display: flex;
    align-items: center;
    gap: 14px;
}

.sofnach-hero-benefit__icon {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
}

.sofnach-hero-benefit__icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

.sofnach-hero-benefit__text {
    font-size: 14px;
    line-height: 1.35;
    font-weight: 600;
    color: #0b214a;
	
/* ==========================================
   SOFNACH - Beneficios del Hero
   ========================================== */

.sofnach-hero-benefit {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px;
    width: 100%;
}

.sofnach-hero-benefit__icon {
    display: block;
    width: 26px !important;
    height: 26px !important;
    min-width: 26px !important;
    max-width: 26px !important;
    flex: 0 0 26px !important;
    color: #0867e8;
}

.sofnach-hero-benefit__icon svg {
    display: block !important;
    width: 26px !important;
    height: 26px !important;
    min-width: 26px !important;
    max-width: 26px !important;
}

.sofnach-hero-benefit__text {
    display: block;
    margin: 0;
    color: #0b214a;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
}

/* Móvil */
@media (max-width: 780px) {

    .sofnach-hero-benefit {
        margin-bottom: 16px;
    }

}
	
	/* Texto pequeño superior del Hero */
.sofnach-eyebrow {
    color: #1769AA;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

/* H1 principal del Hero */
.sofnach-hero-title {
    color: #082B5C;
    font-size: 56px;
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -1.5px;
    margin-top: 0;
    margin-bottom: 20px;
	
	@media (max-width: 780px) {

    .sofnach-hero-title {
        font-size: 40px;
        line-height: 1.1;
        letter-spacing: -0.8px;
		
		
		/* SOFNACH - Imagen principal del Hero */
.sofnach-hero-image img {
    width: 120% !important;
    max-width: 1205% !important;
    height: auto !important;
    display: block;
    margin-left: -7.5%;
}
    }

    .sofnach-eyebrow {
        font-size: 12px;
    }
}
}
	
	/* Columna visual del Hero */
.sofnach-hero-visual {
    overflow: visible !important;
}

.sofnach-hero-visual .panel-grid-cell,
.sofnach-hero-visual .so-panel,
.sofnach-hero-visual .panel-widget-style {
    overflow: visible !important;
}

/* Imagen del Hero */
.sofnach-hero-visual img {
    width: 120% !important;
    max-width: none !important;
    height: auto !important;
    display: block !important;
    position: relative;
    left: -10%;
	
	/* SOFNACH - Alinear botón de SiteOrigin a la izquierda */
.sofnach-button-left {
    text-align: left !important;
}

.sofnach-button-left .ow-button-base {
    text-align: left !important;
}

.sofnach-button-left .ow-button-base a {
    margin-left: 0 !important;
    margin-right: auto !important;
}
}
	

/* ==========================================
   SOFNACH - Imagen Datos → Decisiones
   Escritorio
   ========================================== */

.sofnach-decision-visual {
    width: 100%;
    display: flex;
    justify-content: center;
    overflow: visible;
}

.sofnach-decision-visual img {
    display: block;
    width: 115% !important;
    height: auto !important;
    max-width: none !important;

    /* Baja la imagen sin aumentar la altura de la fila */
    transform: translateY(55px);
}
	
	/* =========================================================
   SOFNACH - HERO ¿QUÉ ES SOFNACH?
   ========================================================= */

.sofnach-about-hero {
    width: 100%;
    max-width: 680px;
}


/* Eyebrow */

.sofnach-about-hero__eyebrow {
    margin: 0 0 14px;
    padding: 0;
    color: #1769aa;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 1.3px;
    text-transform: uppercase;
}


/* H1 */

.sofnach-about-hero__title {
    margin: 0 0 20px !important;
    padding: 0 !important;
    color: #082b5c;
    font-size: 50px;
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -1.2px;
}


/* Párrafos */

.sofnach-about-hero p {
    max-width: 650px;
    margin: 0 0 14px;
    padding: 0;
    color: #4e617a;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.55;
}

.sofnach-about-hero p + p {
    margin-bottom: 20px;
}


/* Pregunta destacada */

.sofnach-about-hero__question {
    margin: 0 0 24px;
    padding: 8px 0 8px 16px;
    border-left: 3px solid #0867e8;
    color: #082b5c;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.45;
}


/* =========================================================
   BOTONES
   ========================================================= */

.sofnach-about-hero__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin: 0;
    padding: 0;
}


/* Base de ambos botones */

.sofnach-about-hero__actions .sofnach-about-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    height: 58px;
    margin: 0;
    padding: 0 24px;

    box-sizing: border-box;
    border-radius: 7px;

    font-size: 16px;
    font-weight: 700;
    line-height: 1;

    text-align: center;
    text-decoration: none;
}


/* Fuerza el centrado del texto */

.sofnach-about-btn > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin: 0;
    padding: 0;

    line-height: 1;
}


/* Botón azul */

.sofnach-about-hero__actions .sofnach-about-btn--primary {
    min-width: 190px;

    border: 1px solid #0867e8;
    background: #0867e8;
    color: #ffffff;

    box-shadow: 0 10px 24px rgba(8, 103, 232, 0.15);
}


/* Botón blanco */

.sofnach-about-hero__actions .sofnach-about-btn--secondary {
    min-width: 220px;

    gap: 9px;

    border: 1px solid #ccd9e8;
    background: #ffffff;
    color: #082b5c;

    box-shadow: none;
}


/* Flecha */

.sofnach-about-btn__arrow {
    position: relative;
    top: -1px;

    font-size: 17px;
    font-weight: 600;
}


/* Hover */

.sofnach-about-hero__actions .sofnach-about-btn--primary:hover,
.sofnach-about-hero__actions .sofnach-about-btn--primary:focus {
    background: #075bc9;
    border-color: #075bc9;
    color: #ffffff;
    text-decoration: none;
}

.sofnach-about-hero__actions .sofnach-about-btn--secondary:hover,
.sofnach-about-hero__actions .sofnach-about-btn--secondary:focus {
    background: #f5f9fd;
    border-color: #aebfd2;
    color: #082b5c;
    text-decoration: none;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 767px) {

    .sofnach-about-hero__title {
        font-size: 40px;
        line-height: 1.08;
        letter-spacing: -0.8px;
    }

    .sofnach-about-hero p {
        font-size: 16px;
    }

    .sofnach-about-hero__question {
        font-size: 17px;
    }

    .sofnach-about-hero__actions {
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
    }

    .sofnach-about-hero__actions .sofnach-about-btn {
        width: 100%;
        min-width: 0;
    }

}
	
	/* =========================================================
   BOTONES HERO ¿QUÉ ES SOFNACH?
   ========================================================= */

.sofnach-about-hero .sofnach-about-hero__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin: 0;
    padding: 0;
}


/* BASE DE AMBOS BOTONES */

.sofnach-about-hero .sofnach-about-hero__actions a.sofnach-about-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    height: 58px !important;
    min-height: 58px !important;

    margin: 0 !important;
    padding: 0 24px !important;

    box-sizing: border-box !important;

    border-radius: 7px !important;

    font-family: inherit !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1 !important;

    text-align: center !important;
    text-decoration: none !important;

    transition:
        background-color .2s ease,
        border-color .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}


/* TEXTO INTERIOR */

.sofnach-about-hero .sofnach-about-btn > span {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    margin: 0 !important;
    padding: 0 !important;

    font-size: inherit !important;
    font-weight: inherit !important;
    line-height: 1 !important;
}


/* BOTÓN PRINCIPAL */

.sofnach-about-hero
.sofnach-about-hero__actions
a.sofnach-about-btn--primary {
    min-width: 190px !important;

    background: #0867e8 !important;
    border: 1px solid #0867e8 !important;

    color: #ffffff !important;

    box-shadow: 0 10px 24px rgba(8, 103, 232, 0.18) !important;
}


/* Asegura que el texto también sea blanco */

.sofnach-about-hero
a.sofnach-about-btn--primary span {
    color: #ffffff !important;
}


/* BOTÓN SECUNDARIO */

.sofnach-about-hero
.sofnach-about-hero__actions
a.sofnach-about-btn--secondary {
    min-width: 220px !important;

    gap: 9px !important;

    background: #ffffff !important;
    border: 1px solid #ccd9e8 !important;

    color: #082b5c !important;

    box-shadow: none !important;
}


/* Texto secundario */

.sofnach-about-hero
a.sofnach-about-btn--secondary span {
    color: #082b5c !important;
}


/* FLECHA */

.sofnach-about-hero
.sofnach-about-btn__arrow {
    position: relative;
    top: -1px;

    font-size: 17px !important;
    line-height: 1 !important;
}


/* HOVER PRINCIPAL */

.sofnach-about-hero
.sofnach-about-hero__actions
a.sofnach-about-btn--primary:hover,
.sofnach-about-hero
.sofnach-about-hero__actions
a.sofnach-about-btn--primary:focus {
    background: #075bc9 !important;
    border-color: #075bc9 !important;

    color: #ffffff !important;

    text-decoration: none !important;

    transform: translateY(-1px);

    box-shadow: 0 12px 28px rgba(8, 103, 232, 0.22) !important;
}


/* HOVER SECUNDARIO */

.sofnach-about-hero
.sofnach-about-hero__actions
a.sofnach-about-btn--secondary:hover,
.sofnach-about-hero
.sofnach-about-hero__actions
a.sofnach-about-btn--secondary:focus {
    background: #f4f8fc !important;
    border-color: #aebfd2 !important;

    color: #082b5c !important;

    text-decoration: none !important;

    transform: translateY(-1px);
}
	
	.sofnach-about-hero {
    border: 5px solid red !important;
}
	
	body {
    outline: 8px solid red !important;
}
