/* ==========================================================================
   Reset y base
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
}

/* ==========================================================================
   Contenedor principal
   ========================================================================== */
body {
    min-width: 360px;
    overflow-x: hidden;
}

/* ==========================================================================
   Fuentes personalizadas
   ========================================================================== */
@font-face {
    font-family: 'Helvetica Neue';
    src: url('../fonts/HelveticaNeue-Condensed.woff2') format('woff2'),
        url('../fonts/HelveticaNeue-Condensed.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Agrandir';
    src: url('../fonts/Agrandir-Regular.woff2') format('woff2'),
        url('../fonts/Agrandir-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Agrandir';
    src: url('../fonts/Agrandir-TextBold.woff2') format('woff2'),
        url('../fonts/Agrandir-TextBold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Bebas Neue';
    src: url('../fonts/BebasNeueBold.woff2') format('woff2'),
        url('../fonts/BebasNeueBold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Octarine';
    src: url('../fonts/Octarine-Bold.woff2') format('woff2'),
        url('../fonts/Octarine-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Octarine';
    src: url('../fonts/Octarine-Light.woff2') format('woff2'),
        url('../fonts/Octarine-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/* ==========================================================================
   Banner principal
   ========================================================================== */
#banner {
    width: 100%;
    line-height: 0;
}

#banner picture {
    display: block;
    width: 100%;
}

#banner img {
    width: 100%;
    height: auto;
}

.contenido-banner {
    display: flex;
    flex-flow: column nowrap;
    width: auto;
    height: auto;
}

.contenido-banner img {
    width: 180px; 
    margin-left: auto; 
    margin-right: 40px;
    margin-top: 20px;
}

#texto {
    padding: 0px;
    padding-top: 33px;
    text-align: center;
    color: #000000;
}

/* ==========================================================================
   Sección de texto principal
   ========================================================================== */
.title-soap h1 {
    font-size: clamp(26px, 5vw, 40px);
    font-weight: bold;
    color: #000;
    margin: 0 0 10px 0;
    padding: 3% 15px 0 15px;
    font-family: 'Bebas Neue', sans-serif;
    text-align: left;
}

.contenido-texto p {
    font-size: 12px;
    font-family: 'Agrandir', sans-serif;
	line-height: 1.6;
    width: 91%;
    max-width: 850px;
    margin: 0 auto;
	padding: 0 30px 0px 30px;
    font-weight: 300;
    color: #000000;
}

.contenido-texto h2 {
    font-size: clamp(24px, 4vw, 40px);
    padding: 40px 15px 0 15px;
    color: #004990;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 0.02em;
}

.texto-azul {
    color: #137eca;
    padding-top: 5px;
}

/* ==========================================================================
   Cajas / Cards
   ========================================================================== */
#cajas {
    padding: 10px;
    display: flex;
    justify-content: center;
    text-align: center;
    padding-bottom: 30px;
    flex-wrap: wrap;
}

#cajas a {
    text-decoration: none;
    padding: 20px;
    width: 180px;
}

#cajas div {
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

#cajas img {
    width: 140px;
    height: auto;
}

#cajas h4 {
    color: #f5c300;
    font-size: 28px;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 1px;
    padding-top: 4%;
    padding-bottom: 6%;
}

#cajas hr {
    border: solid 4px #137eca;
    border-radius: 5px;
}

#cajas p {
    font-size: 36px;
    color: #fff;
    background-color: #004990;
    padding-bottom: 5px;
    padding-top: 8px;
    border-radius: 100px;
    font-family: 'Bebas Neue', sans-serif;
    width: 100%;
    min-width: 140px;
    text-align: center;
}

#cajas span {
    font-size: 29px;
    vertical-align: middle;
    font-family: 'Bebas Neue', sans-serif;
    padding-right: 2px;
}

/* ==========================================================================
   FAQ / Preguntas frecuentes
   ========================================================================== */
.faq-section {
    padding: 10px 20px;
}

.faq-container {
    display: flex;
    align-items: flex-start;
    gap: 50px;
    max-width: 1100px;
    margin: 0 auto;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    padding: 40px;
}

.faq-title {
    font-family: 'Bebas Neue', sans-serif;
    flex: 0 0 280px;
    font-size: 32px;
    font-weight: 300;
    color: #333;
    margin: 0;
    line-height: 1.2;
}

.faq-accordion {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: #f5f5f5;
    border-radius: 32px;
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    cursor: pointer;
    font-size: 16px;
    color: #333;
    gap: 15px;
}

.faq-question span:first-child {
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 22px;
    font-weight: 500;
}

.faq-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background-color: #004990;
    border-radius: 50%;
    position: relative;
}

.faq-icon::before,
.faq-icon::after {
    content: "";
    position: absolute;
    background-color: #fff;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease;
}

.faq-icon::before {
    width: 12px;
    height: 2px;
}

.faq-icon::after {
    width: 2px;
    height: 12px;
}

.faq-item.active .faq-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.faq-content {
    display: none;
    padding: 0 20px 18px 20px;
}

.faq-content p {
    margin: 0;
    font-size: 17px;
    line-height: 1.6;
    color: #555;
    font-family: 'Agrandir', sans-serif;
}

/* ==========================================================================
   Bloque SURA
   ========================================================================== */
.caja-sura {
    display: flex;
    align-items: flex-start;
    gap: 45px;
    max-width: 900px;
    margin: 0 auto;
    padding-top: 2%;
}

.sura01 {
    flex: 0 0 auto;
}

.sura01 img {
    max-width: 177px;
    height: auto;
	padding-top: 40px;
}

.sura02 p {
    font-family: 'Agrandir', sans-serif;
    font-weight: 300;
    margin: 0;
    font-size: clamp(15px, 2vw, 20px);
    line-height: 1.4;
    color: #333;
    text-align: justify;
    padding: 0 15px;
}

.sura02 p b {
    font-weight: bold;
}

/* ==========================================================================
   Footer
   ========================================================================== */
#footer {
    margin-bottom: 2%;
    text-align: center;
}

#footer img {
    width: 160px;
    height: auto;
    padding-top: 30px;
    padding-bottom: 30px;
}

#footer div {
    display: flex;
    justify-content: center;
    text-align: center;
}

#footer p {
    font-family: 'Agrandir', sans-serif;
    font-size: 13px;
}

.foo-line {
    padding: 0px 10px;
}

/* ==========================================================================
   Enlaces generales
   ========================================================================== */
a {
    color: blue;
	font-family: 'Agrandir';
}

a:visited {
    color: blue;
}

/* ==========================================================================
   Modal de carga
   ========================================================================== */
.modalLoading {
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(255, 255, 255, .8) url('../images/ajaxLoaderBig.gif') 50% 50% no-repeat;
}

/* ==========================================================================
   Media Queries - 1000px
   ========================================================================== */
@media (max-width: 1000px) {
    #banner {
        width: 100vw;
        height: auto;
        background-position: top;
        background-size: cover;
    }

    .contenido-banner {
        display: flex;
        flex-flow: column nowrap;
        width: auto;
        height: auto;
    }

    .contenido-banner img {
        width: 180px; 
        margin-left: auto; 
        margin-right: 40px;
        margin-top: 20px;
    }

    .caja-sura {
        max-width: 100%;
        display: block;
        justify-content: center;
        text-align: center;
        padding-top: 25px;
        margin: 0 auto;
        color: #014f96;
    }

    .sura01 {
        width: 100%;
    }

	.sura01 img {
		padding-top: 12px;
	}
	
	.title-soap h1 {
	  text-align: center;
	  letter-spacing: 0.01em;
    }
	
    .sura02 {
        margin: 0 auto;
        width: 90%;
        text-align: center;
        font-size: 17px;
    }
	
	.sura02 p {
		padding-right: 25px;
	}
	
	.contenido-texto h2 {
		padding-top: 10px;
	}

    .faq-container {
        flex-direction: column;
        gap: 30px;
    }

    .faq-title {
        flex: none;
        width: 100%;
        text-align: center;
    }

    .faq-accordion {
        width: 100%;
    }
}

/* ==========================================================================
   Media Queries - 668px
   ========================================================================== */
@media (max-width: 668px) {
    #banner {
        width: 100vw;
        height: auto;
        background-position: top;
        background-size: cover;
    }

    .contenido-banner {
        display: flex;
        flex-flow: column nowrap;
        width: auto;
        height: auto;
    }

    .contenido-banner img {
        padding-bottom: 20px;
        width: 100px; 
        margin-left: auto; 
        margin-right: 20px;
        margin-top: 10px;
    }

    #texto {
        padding-bottom: 20px;
        padding-top: 30px;
        padding-right: 20px;
        padding-left: 20px;
        text-align: center;
    }

    .sura01 img {
        max-width: 124px;
        height: auto;
        margin-bottom: 10px;
		padding-top: 0;
    }

    .title-soap h1 {
        font-size: 31px;
		text-align: center;
		letter-spacing: 0.01em;
		margin-left: 10%;
		margin-right: 10%;
    }

    .sura02 p {
        font-size: 15px;
    }

    .contenido-texto p {
        font-size: 11px;
    }

    .contenido-texto h2 {
        font-size: 28px;
        padding-top: 0px;
        color: #004990;
        letter-spacing: 0.01em;
		margin-left: 10%;
		margin-right: 10%;
    }

    .texto-azul {
        color: #e2c100;
    }

    #cajas {
        flex-direction: column;
        padding-top: 0px;
    }

    #cajas a {
        padding-top: 0px;
		width: 91%;
    }

    #cajas div {
        padding: 0px;
        margin: 8px;
        border: solid 2px #d1e0eb69;
        border-radius: 10px;
    }

    #cajas img {
        width: 130px;
        height: auto;
        padding-top: 10px;
    }

    #cajas h4 {
        color: #f5c300;
        font-size: 24px;
    }

    #cajas hr {
        border: none;
        border-radius: 5px;
    }

    #cajas p {
        font-size: 40px;
        color: #ffffff;
        background-color: #004990;  
        padding-bottom: 4px;
        padding-top: 8px;
        border-radius: 0px 0px 10px 10px;
        margin: 0px;
    }

    .faq-section {
        padding: 10px 15px;
    }

    .faq-container {
        padding: 25px 10px;
        border-radius: 15px;
    }

    .faq-title {
        font-size: 26px;
    }

    .faq-question {
        padding: 15px;
        font-size: 15px;
    }

    .faq-question span:first-child {
        font-size: 17px;
        font-weight: 500;
    }

    .faq-icon {
        width: 24px;
        height: 24px;
    }

    .faq-icon::before {
        width: 10px;
    }

    .faq-icon::after {
        height: 10px;
    }

    .faq-content {
        padding: 0 15px 15px 15px;
    }

    .faq-content p {
        font-size: 14px;
    }

    #footer div {
        flex-direction: column;
    }

    .foo-line {
        display: none;
    }
}