/* ========================================
   MEDIA QUERY: MÓVIL (max-width: 767px)
   ======================================== */
.blog-details__article-content a {
	color: #000!important;text-decoration: underline!important;
}

/* Contacto: subrayado solo en enlaces de contenido (formulario, textos) */
.contact-page__bottom .form-check-label a,
.contact-page__text a {
	color: #000 !important;
	text-decoration: underline !important;
}

/* Contacto: sin subrayado en enlaces de datos de contacto */
.contact-page__contact-list li > p > a,
.contact-page__link {
	text-decoration: none !important;
}

.logo-pie-item{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:72px;
  padding:8px;
  background:transparent;
}
.logo-pie-item img{
  max-height:56px;
  width:auto;
  object-fit:contain;
}

.section.bg-light.blog-three.blog-two p {
    color: black;
}
.contact-page__bottom, .form-check-label,
.about-one__text {
	color: #333!important;
}

.footer-widget__about-text {
	color: white!important;
}

.footer-widget__about-text p{
	color: white!important;
}
@media screen and (max-width:767px) {
    #suscribete_portada_input {
        margin-top: 30px!important;
        margin-bottom: 30px!important;
    }
	
	.main-slider-four__title {
		font-size: 30px!important;
	}
	
	.main-slider-four__subtitle {
			font-size: 24px!important;
		color:white!important;
		margin-bottom: 20px!important
	}

    /* Ajustes para botones de descarga azules en móvil */
    .botones-descarga-azul {
        flex-direction: column !important;
        gap: 12px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        align-items: center !important;
    }

    /* Botones azules - Sección 1: Todos con mismo ancho en móvil */
    #btn-app-store-1,
    
    #btn-google-play-1,
    
    #btn-web-app-1 {
        width: 190px !important;
        margin-bottom: 20px !important;
        padding: 12px 16px !important;
        justify-content: center !important;
        margin-left: 0px!important;
        background-color: #005ab5!important;
    }

    .botones-descarga-azul a i {
        font-size: 28px !important;
    }

    .botones-descarga-azul .download-app__store-content p {
        font-size: 12px !important;
        margin: 0 0 4px !important;
    }

    .botones-descarga-azul .download-app__store-content h3 {
        font-size: 16px !important;
    }

    /* Ajustes para botones de descarga estándar en móvil */
    .download-app__store {
        flex-direction: column !important;
        gap: 15px !important;
        align-items: center !important;
    }

    /* Botones estándar - Sección 2: Todos con mismo ancho en móvil */
    #btn-app-store-2,
    
    #btn-google-play-2,
    
    #btn-web-app-2 {
        width: 190px !important;
        margin-bottom: 20px !important;
        padding: 12px 16px !important;
        justify-content: center !important;
        margin-left: 0px;
    }

    .download-app__store a i {
        font-size: 32px !important;
    }

    .download-app__store .download-app__store-content p {
        font-size: 12px !important;
    }

    .download-app__store .download-app__store-content h3 {
        font-size: 16px !important;
    }
}

/* ========================================
   MEDIA QUERY: DESKTOP (min-width: 768px)
   ======================================== */
@media screen and (min-width:768px) {
	
		.main-slider-four__title {
		font-size: 60px!important;
			line-height: 133%!important;
	}
	
	.main-slider-four__subtitle {
			font-size: 24px!important;
		color:white!important;
		margin-bottom: 26px!important
	}

	
    #suscribete_portada_input {
        margin-top: 0px!important;
        margin-bottom: 0px!important;
        width: 450px!important;
    }

    #boton_suscripcion {
        margin-left: -70px!important;
    }

    /* Botones azules - Sección 1: Anchos individuales en desktop */
    #btn-app-store-1 {
        width: 140px !important;
    }

    #btn-google-play-1 {
        width: 150px !important;
    }

    #btn-web-app-1 {
        width: 140px !important;
		 
    }
	
	#btn-app-store-1,
    
    #btn-google-play-1,
    
	#btn-web-app-1 {
		
		background-color: #005ab5!important;
	}

    /* Botones estándar - Sección 2: Anchos individuales en desktop */
    #btn-app-store-2 {
        width: 160px !important;
    }

    #btn-google-play-2 {
        width: 190px !important;
    }

    #btn-web-app-2 {
        width: 160px !important;
    }
}

/* Centrado vertical para carrusel de colaboradores */
.brand-one .swiper-slide {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 80px !important;
}

.brand-one .swiper-slide img {
    max-height: 60px !important;
    width: auto !important;
    object-fit: contain !important;
}

/* Estilos para pasos - Cómo funciona */
.paso-item {
    text-align: center;
    margin-bottom: 30px;
}

/* Círculo principal (blanco grande) */
.circulo-paso {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto 25px auto;
    background-color: #ffffff;
    border-radius: 50%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Imagen/icono dentro del círculo */
.circulo-paso img {
    max-width: 90px;
    max-height: 90px;
    width: auto;
    height: auto;
}

/* Círculo pequeño con el número (absoluto) */
.numero-paso {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 50px;
    height: 50px;
    background-color: #ffffff;
    border: 3px solid #e0e0e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

.numero-paso h3 {
    margin: 0;
    padding: 0;
    font-size: 22px;
    font-weight: 700;
    color: #0077E6;
    line-height: 1;
}

/* Título del paso */
.titulo-paso {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1a1a1a;
}

.titulo-paso a {
    color: inherit;
    text-decoration: none;
}

/* Descripción del paso */
.descripcion-paso {
    font-size: 15px;
    line-height: 1.6;
    color: #666666;
    max-width: 320px;
    margin: 0 auto;
}

/* Botones de descarga con fondo azul */
.botones-descarga-azul {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: .5% !important;
    justify-content: flex-start !important;
    align-items: center !important;
    margin-left: 1.5% !important;
    margin-right: 1.5% !important;
}

.botones-descarga-azul a {
    background-color: #0077E6 !important;
    border: 2px solid #0077E6 !important;
    padding: 8px !important;
    border-radius: 4px !important;
    transition: all 0.3s ease !important;
    width: 30% !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 8px !important;
}

.botones-descarga-azul a:hover {
    background-color: #0066cc !important;
    border-color: #0066cc !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 119, 230, 0.3) !important;
}

.botones-descarga-azul a i {
    font-size: 24px !important;
    color: #ffffff !important;
    flex-shrink: 0 !important;
}

.botones-descarga-azul .download-app__store-content {
    text-align: left !important;
    flex: 1 !important;
}

.botones-descarga-azul .download-app__store-content p {
    color: #ffffff !important;
    opacity: 0.9 !important;
    font-size: 11px !important;
    margin: 0 0 8px !important;
    line-height: 1.2 !important;
}

.botones-descarga-azul .download-app__store-content h3 {
    color: #ffffff !important;
    font-size: 15px !important;
    margin: 0 !important;
    white-space: nowrap !important;
    line-height: 1.2 !important;
    font-weight: 600 !important;
}

/* Estilos para los botones de descarga estándar (sección inferior) */
.download-app__store a {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px !important;
}

.download-app__store a i {
    font-size: 28px !important;
    color: #ffffff !important;
    flex-shrink: 0 !important;
}

.download-app__store .download-app__store-content {
    text-align: left !important;
    flex: 1 !important;
}

.services-one__img img {
    max-width: 370px!important;
    height: auto!important;
}

/* Carrusel especialidades: sin efecto al pasar el ratón */
.services-one__single::before {
    display: none !important;
}

.services-one__single:hover::before {
    opacity: 0 !important;
    transform: none !important;
}

.services-one__single:hover .services-one__title a {
    color: var(--sonchoy-black) !important;
}

.services-one__single:hover .services-one__img::before,
.services-one__single:hover .services-one__img::after {
    opacity: 0 !important;
    height: 0 !important;
}

.services-one__single:hover .services-one__img img {
    transform: scale(1.05) !important;
}

.services-one__single:hover .services-one__icon::before {
    transform: scale(0) !important;
}

.services-one__single:hover .services-one__icon span {
    transform: scale(1) !important;
}

.services-one__single,
.services-one__single .services-one__title a,
.services-one__single .services-one__img img,
.services-one__single .services-one__icon::before,
.services-one__single .services-one__img::before,
.services-one__single .services-one__img::after {
    transition: none !important;
}

/* Testimonios: sin efecto al pasar el ratón */
.testimonial-one__text-box::before {
    display: none !important;
}

.testimonial-one__single:hover .testimonial-one__text-box::before {
    opacity: 0 !important;
    transform: none !important;
}

.testimonial-one__single:hover .testimonial-one__text {
    color: inherit !important;
}

.testimonial-one__single .testimonial-one__text,
.testimonial-one__single .testimonial-one__text-box::before {
    transition: none !important;
}

/* Fuentes personalizadas para esta página específica */
h1,

h2,

h3,

h4,

h5,

h6 {
    font-family: 'Bauhaus Regular', cursive !important;
    letter-spacing: 1px !important;
    margin-top: 1em !important;

    /* Espacio arriba */
    margin-bottom: 0.5em !important;

    /* Espacio abajo */
}

body,

p,

span,

div,

a,

li,

ul,

ol,

td,

th,

input,

textarea,

button,

label {
    font-family: 'Open Sans', sans-serif !important;
}

/* ========================================
   FORMULARIO DE SUSCRIPCIÓN
   ======================================== */
/* Móvil: Centrado y disposición vertical */
@media screen and (max-width: 767px) {
    #form2 {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    #form2 .cta-one__btn-box:first-child {
        float: none !important;
        width: 100% !important;
        margin-bottom: 15px !important;
    }

    #form2 .cta-one__btn-box:last-child {
        float: none !important;
        margin-left: 0 !important;
    }
}

/* Desktop: Float left/right */
@media screen and (min-width: 768px) {
    #form2 .cta-one__btn-box:first-child {
        float: left !important;
    }

    #form2 .cta-one__btn-box:last-child {
        float: right !important;
        margin-left: 10px !important;
    }

    #form2::after {
        content: "";
        display: table;
        clear: both;
    }
}

/* ========================================
   ESTILOS PARA CONTENIDO DE ARTÍCULOS DEL BLOG
   ======================================== */
/* Márgenes para encabezados y párrafos dentro del contenido del artículo */
.blog-details__article-content h1,

.blog-details__article-content h2,

.blog-details__article-content h3,

.blog-details__article-content h4,

.blog-details__article-content h5,

.blog-details__article-content h6 {
    margin-top: 30px !important;
    margin-bottom: 20px !important;
    font-weight: 700 !important;
}

.blog-details__article-content p {
    margin-top: 15px !important;
    margin-bottom: 15px !important;
}

.blog-details__article-content img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 7px !important;
}

/* El primer elemento no necesita margen superior */
.blog-details__article-content > *:first-child {
    margin-top: 0 !important;
}

/* El último elemento no necesita margen inferior */
.blog-details__article-content > *:last-child {
    margin-bottom: 0 !important;
}

/* Listado especialidades: cabecera con imagen al azar */
.page-header.page-header--with-bg {
    position: relative;
}
.page-header.page-header--with-bg .page-header__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.page-header.page-header--with-bg .page-header__inner {
    position: relative;
    z-index: 1;
}
.page-header.page-header--with-bg .page-header__inner h2,
.page-header.page-header--with-bg .thm-breadcrumb a,
.page-header.page-header--with-bg .thm-breadcrumb span {
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
    color: #fff;
}
.page-header.page-header--with-bg .page-header__bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.35);
}

/* Listado especialidades: 3 columnas, título dentro del cuadro */
.especialidades-listado .blog-one__single {
}
.especialidades-listado__link {
    display: block;
    text-decoration: none;
    color: inherit;

}
.especialidades-listado__link:hover {
    color: #fff;
}
.especialidades-listado .blog-one__img-box {
    position: relative;
    margin-bottom: 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.especialidades-listado .blog-one__img.especialidades-listado__img-wrap {
    position: relative;
    width: 100%;
    padding-bottom: 75%;
    overflow: hidden;
    background: #e9ecef;
    min-height: 0;
}
.especialidades-listado .blog-one__img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    z-index: 0;
}
.especialidades-listado .blog-one__img .especialidades-listado__img-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #dee2e6;
    color: #495057;
    font-weight: 600;
    text-align: center;
    padding: 1rem;
    line-height: 1.3;
    z-index: 0;
}
.especialidades-listado .blog-one__img-box .especialidades-listado__title {
    margin: 0;
    padding: 0.75rem 0 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: inherit;
}
.especialidades-listado__link:hover .especialidades-listado__title {
    color: var(--thm-primary, #0077E6);
}

/* Detalle de especialidades: botones de listado lateral */
.espdet-cat-btn {
    font-size: 14px !important;
    line-height: 1.2 !important;
    padding: 7px 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
}

.espdet-cat-btn__text {
    display: block !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* Página puente especialidades: listas del contenido principal */
.espdet-page .insurance-details__left .insurance-details__text-1 ul {
    padding-left: 1.5rem;
    margin-top: 20px;
}

.espdet-page .insurance-details__left .insurance-details__text-1 ul li {
    margin-bottom: 0.6rem;
}

.espdet-page .insurance-details__left .insurance-details__text-1 ul li::marker {
    color: #0077E6;
    font-size: 1.2em;
}

/* Página puente especialidades: overlay y legibilidad de cabecera */
.espdet-page .page-header.page-header--with-bg .page-header__bg::after {
    background: linear-gradient(90deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.15) 100%);
}

.espdet-page .page-header.page-header--with-bg .page-header__inner h2,
.espdet-page .page-header.page-header--with-bg .thm-breadcrumb a,
.espdet-page .page-header.page-header--with-bg .thm-breadcrumb span,
.espdet-page .page-header.page-header--with-bg .thm-breadcrumb li {
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* Página puente especialidades: sidebar sticky y scroll interno */
.espdet-page .espdet-sidebar {
    position: sticky;
    top: 100px;
    max-height: none;
    overflow-y: visible;
}

/* Página puente especialidades: items del listado lateral compactos */
.espdet-page .espdet-cat-list .espdet-cat-btn {
    font-size: 16px !important;
    padding: 0.55rem 1rem;
}

/* Página puente especialidades: separación visual entre secciones h2 */
.espdet-page .insurance-details__text-1 h2 {
    margin-top: 3rem;
    margin-bottom: 1.25rem;
    font-weight: 800;
}

.espdet-mobile-only {
    display: none;
}

/* Responsive: en móvil el sidebar deja de ser sticky */
@media (max-width: 768px) {
    .espdet-page .espdet-sidebar {
        position: static;
        top: auto;
        max-height: none;
        overflow-y: visible;
    }
    .espdet-mobile-only {
        display: block;
    }
}

/* Submenú cabecera (PC): ~10% más ancho que el tema (250px → 275px) */
@media screen and (min-width: 1200px) {
    .main-menu .main-menu__list > li > ul,
    .stricky-header .main-menu__list > li > ul {
        min-width: 275px;
    }
}
