/* Estilos genericos */
.content-fc{
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
}

.content-fc p{
    padding-top: 16px!important;
    margin-bottom: 0!important;
}

.content-fc ul li::after,
.content-fc ul li::before{
    display: none;
}

.content-fc ul li{
    margin-top: 0!important;
    padding-left: 0;
}

.content-fc .btn{
    padding: 10px 25px;
    border-radius: 5px;
    background-color: var(--bt-background);
    color: #fff;
    text-decoration: none;
    display: inline-block;
    width: fit-content;
    margin: 0px auto;
    margin-top: 32px;
    font-size: 16px;
    line-height: 24px;
}

.content-fc .btn:hover{
    background-color: var(--bt-hover-background);
}

.content-fc h2{
    color: #000;
    text-align: center;
    font-size: 36px;
    font-style: normal;
    font-weight: 500;
    line-height: 44px;
    padding-top: 0!important;
    max-width: 770px;
    margin: 0 auto;
}

.content-fc h3{
    padding-top: 16px!important;
    color: #222;
    font-size: 30px;
    font-style: normal;
    font-weight: 500;
    line-height: 38px;
    margin-bottom: 16px;
}

.content-fc .subtitle{
    color:#676767;
    text-align: center;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px;
    max-width: 770px;
    margin: 0 auto;
}

/* Banner */
.fc-banner{
    border-radius: 24px;
    background: rgba(238, 246, 255, 0.75);
    padding: 40px 32px;
    display: flex;
    gap: 56px;
    align-items: center;
    justify-content: center;
}

.fc-banner h1{
    color:  #393939;
    text-align: left;
    font-size: 48px;
    font-weight: 700;
    line-height: 56px;
}

.fc-banner-content{
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.fc-banner .btn{
    margin: inherit!important;
    margin-top: 32px!important;
}

.fc-banner-img img{
    border-radius: 12px;
}

/* CTAS */

.fc-ctas{
	padding: 56px 0;
	text-align: center;
}

.ctas-grid{
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 80px;
}

.number-item{
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.number-icon{
	font-size: 32px;
	font-weight: 700;
	line-height: 28px;
	color: #222222;
}

.number-image{
	display: flex;
	justify-content: center;
	align-items: center;
}

.number-description p{
	font-size: 16px;
	line-height: 24px;
    padding-top: 0!important;
	color: #676767;
	font-weight: 400;
}

/* Redes */
.redes-wrapper{
    padding-top: 48px;
    padding-bottom: 34px;
}

.redes-block{
    cursor: pointer;
    padding: 48px;
    border-radius: 24px;
    box-shadow: 0px 1px 8px 0px rgba(0, 0, 0, 0.05);
    background-color: #fff;
    display: flex;
    gap: 40px;
    align-items: center;
}

.redes-block:hover{
    box-shadow: 0px 1px 10px 0px rgba(0, 0, 0, 0.20);
}

.redes-block.redes-block-2{
    flex-direction: row-reverse;
}

.redes-info{
    font-size: 16px;
    line-height: 24px;
}

.redes-icons{
    margin-top: 24px;
    display: flex;
    align-items: center;
    gap: 71px;
}

.redes-icons img{
    width: 100%;
    height: 100%;
    max-width: 48px;
    max-height: 48px;
    border-radius: 12px;
}

.redes-icon-first,
.redes-icon-second{
    display: flex;
    gap: 10px;
    align-items: center;
}

.redes-icon-text{
    color:#676767;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px; 
}

/* Como funciona */
.tm-acc{
    background: rgba(167, 199, 231, 0.15);
    border-radius: 36px;
    padding: 56px 0;
}

.tm-acc-options{
    margin-top: 48px;
    display: flex;
    gap: 40px;
    justify-content: center;
    align-items: flex-start;
}

.tm-acc-options-items{
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: center;
    max-width: 241px;
}

.tm-acc-options-items span{
    display: inline-block;
    width: 60px;
    height: 60px;
    background: #215E7D;
    border-radius: 30px;
    color: #fff;
    margin: 0 auto;
    font-size: 32px;
    line-height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tm-acc-options-items p{
    padding-top: 0!important;
    font-size: 16px;
    line-height: 24px;
    color: #214358;
}

/* Especialidades */
.ventajas-container{
    padding-bottom: 100px;
    padding-top: 100px;
}
.ventajas-container ul{
    padding-top: 40px!important;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 40px;
    justify-content: center;
    align-items: flex-start;
    text-align: center;
    flex-wrap: wrap;
}

.ventajas-container ul li{
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.ventajas-container ul li .ventajas-content span{
    color: #215E7D;
    font-weight: 600;
}

.ventajas-container ul li .ventajas-content{
    min-width: 262px;
}

.ventajas-container ul li .ventajas-icon img{
    width: 100%;
    height: 100%;
    max-width: 56px;
    max-height: 56px;   
    margin: 0 auto;
}


/* Tabla de centros */
.centros-table{
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0px 1px 8px 0px rgba(0, 0, 0, 0.05);
    background-color: #fff;
}
.centros-row{
    display: grid;
    grid-template-columns: 1.2fr 2fr 160px;
    gap: 24px;
    align-items: center;
    padding: 20px 32px;
    border-bottom: 1px solid rgba(167, 199, 231, 0.35);
}
.centros-row:last-child{
    border-bottom: 0 none;
}
.centros-col-btn .btn{
    margin: 0!important;
}
.centros-row-hidden{
    display: none;
}
.centros-vermas-wrap{
    text-align: center;
    margin-top: 24px;
}
.centros-vermas{
    cursor: pointer;
    border: 0 none;
}
.centros-ciudad{
    border-bottom: 1px solid rgba(167, 199, 231, 0.35);
}
.centros-ciudad-head{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    background: none;
    border: 0 none;
    cursor: pointer;
    text-align: left;
}
.centros-ciudad-head h4{
    padding: 0!important;
    margin: 0;
    color: #222;
    font-size: 18px;
    line-height: 24px;
    font-weight: 600;
}
.centros-ciudad-toggle{
    font-size: 22px;
    color: #215E7D;
    line-height: 1;
}
.centros-ciudad.is-open .centros-ciudad-toggle{
    transform: rotate(45deg); /* el + se convierte en x */
}
.centros-ciudad-barrios{
    display: none;
    padding: 0 24px 18px 24px;
}
.centros-ciudad.is-open .centros-ciudad-barrios{
    display: block;
}
.centros-ciudad-barrios .centros-row{
    display: grid;
    grid-template-columns: 1.4fr 2fr 140px;
    gap: 16px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(167, 199, 231, 0.25);
}
.centros-ciudad-barrios .centros-row:last-child{
    border-bottom: 0 none;
}
.centros-col-nombre h5{
    margin: 0;
    padding: 0!important;
    font-size: 15px;
    font-weight: 600;
    color: #215E7D;
}
.centros-badges{
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.centro-badge{
    background: rgba(33, 94, 125, 0.08);
    color: #5a7a8c;
    font-size: 11px;
    line-height: 16px;
    padding: 2px 8px;
    border-radius: 12px;
}
.centros-col-btn{ text-align: right; }

/* Pruebas mas solicitadas */
.pruebas-container{
    padding: 56px 0;
}
.pruebas-grid{
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.prueba-card{
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 28px;
    border-radius: 16px;
    background-color: #fff;
    box-shadow: 0px 1px 8px 0px rgba(0, 0, 0, 0.05);
    text-decoration: none!important;
    transition: box-shadow .2s ease;
}
.prueba-card:hover{
    box-shadow: 0px 1px 12px 0px rgba(0, 0, 0, 0.12);
    text-decoration: none!important;
}
.prueba-card h3,
.prueba-card .prueba-incluye,
.prueba-card .prueba-precio,
.prueba-card:hover h3,
.prueba-card:hover .prueba-incluye,
.prueba-card:hover .prueba-precio{
    text-decoration: none!important;
}
.prueba-icon{
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.prueba-icon img{
    width: 28px;
    height: 28px;
}
.prueba-info{
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.prueba-info h3{
    padding-top: 0!important;
    margin: 0;
    color: #222;
    font-size: 18px;
    line-height: 24px;
    font-weight: 600;
}
.prueba-incluye{
    color: #676767;
    font-size: 15px;
    line-height: 22px;
}
.prueba-precio{
    color: #676767;
    font-size: 15px;
    line-height: 22px;
}
.prueba-precio strong{
    color: #215E7D;
    font-weight: 700;
}

/* Mapa como llegar */
.mapa-sede-container{
    padding: 56px 0;
}
.mapa-sede-box{
    margin-top: 40px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0px 1px 8px 0px rgba(0, 0, 0, 0.08);
    background-color: #fff;
}
.mapa-sede{
    width: 100%;
    height: 420px;
}
.mapa-sede-bar{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 20px 28px;
}
.mapa-sede-info h3{
    padding-top: 0!important;
    margin: 0;
    color: #222;
    font-size: 18px;
    line-height: 24px;
    font-weight: 600;
}
.mapa-sede-info span{
    color: #676767;
    font-size: 15px;
    line-height: 22px;
}
.mapa-sede-btn.btn{
    margin: 0!important;
    flex-shrink: 0;
}

/* Otros centros en la zona */
.otros-centros-container{
    padding: 56px 0;
    border-radius: 24px;
    background: rgba(238, 246, 255, 0.6);
    padding-left: 32px;
    padding-right: 32px;
    margin-top: 40px;
}
.otros-centros-head{
    margin-bottom: 28px;
}
.otros-centros-head h2{
    text-align: left!important;
    margin: 0!important;
    max-width: none!important;
    font-size: 28px;
    line-height: 36px;
}
.otros-centros-grid{
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}
.otro-centro-card{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 30px;
    background-color: #fff;
    box-shadow: 0px 1px 6px 0px rgba(0, 0, 0, 0.05);
    text-decoration: none!important;
    transition: box-shadow .2s ease, transform .2s ease;
}
.otro-centro-card:hover{
    box-shadow: 0px 1px 10px 0px rgba(0, 0, 0, 0.12);
    text-decoration: none!important;
    transform: translateY(-1px);
}
.otro-centro-card::before{
    content: "";
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    background: url("../media/image/b2b/redes-icon-1.gif") no-repeat center / contain;
}
.otro-centro-card span{
    color: #393939;
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
    text-decoration: none!important;
}
.otro-centro-card.otro-centro-todos span{
    color: #215E7D;
    font-weight: 600;
}
.otro-centro-card.otro-centro-todos::before{
    display: none;
}

.faq-sequens{
    padding: 60px 0;
}
.faq-sequens h2{
    text-align: center;
    margin-bottom: 32px;
}
.faq-sequens .tmd-accordion h3{
    position: relative;
    cursor: pointer;
    font-size: 18px;
    line-height: 26px;
    font-weight: 600;
    color: #215E7D;
    padding: 18px 40px 18px 0;
    margin: 0;
    border-bottom: 1px solid rgba(167, 199, 231, 0.35);
}
.faq-sequens .tmd-accordion h3::after{
    content: "+";
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 22px;
    color: #215E7D;
}
.faq-sequens .tmd-accordion h3.active::after{
    content: "-";
}
.faq-sequens .tmd-accordion p{
    display: none;
    padding: 12px 0 18px 0!important;
    margin: 0;
    color: #444;
    font-size: 16px;
    line-height: 24px;
    border-bottom: 1px solid rgba(167, 199, 231, 0.35);
}

.redes-container .redes-title{
    margin-top: 40px;

}

/* Responsive: cada fila se apila en móvil */
@media (max-width: 1189px){
    .fc-banner{
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .tm-acc-options{
        flex-wrap: wrap;
    }
    .ventajas-container ul{
        grid-template-columns: repeat(2,1fr);
    }

    .ventajas-container ul li .ventajas-content{
        min-width: 100%;
    }
}

@media (max-width: 768px){
    .fc-banner h1{    
        font-size: 32px;
        line-height: 40px;
    }
    .content-fc h2{
        font-size: 28px;
        line-height: 36px;
    }
    .centros-ciudad-barrios .centros-row{
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 12px 0;
    }
    .centros-col-btn{
        text-align: left;
    }

    .ctas-grid{
        grid-template-columns: 1fr;
    }

    .redes-block{
        padding: 16px;
    }

    .pruebas-grid{
        grid-template-columns: 1fr;
    }

    .otros-centros-container{
        padding-left: 20px;
        padding-right: 20px;
    }
    .otros-centros-head h2{
        font-size: 22px;
        line-height: 30px;
    }

    .mapa-sede{
        height: 300px;
    }
    .mapa-sede-bar{
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .mapa-sede-btn.btn{
        width: 100%;
        text-align: center;
    }

}

