/*   
Theme Name: Clínica dental
Theme URI: the-theme's-homepage
Description: Tema personalizado
Author: VRESTUDIO
Author URI: your-URI
Version: 1.0
.
General comments/License Statement if any.
.
*/
/*----------------------------RESET----------------------*/
img{max-width: 100%;height: auto;}
ul {list-style: none;padding: 0;margin: 0;}
a {text-decoration: none;color: var(--white);}
h1,h2,h3,h4,h5,h6,p,figure,blockquote {margin: 0;}
time, picture{display: block;}

/*----------------------------VARIABLES----------------------*/

:root{
	--ink: #252525;
    --blue:#073366;
    --bright-blue:#0871d9;
    --gold:#c6a900;
    --white:#fff;
	
/*efectos*/
--bs-cenital-8: 0 0 8px rgba(0 0 0 / 25%);
}

body{font-family: "Montserrat", sans-serif; color:var(--blue)}
header{background-color: var(--blue);}

/*--------------CABECERA-----------*/
.cabecera{
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
}

.cabecera_nav{
    width: 100%;
    padding: 14px;
    background-color: rgb(255 255 255 / 90%);
    position: fixed;
    bottom: 60px;
    left: 0;
    right: 0;
    margin: auto;
    text-align: center;
    box-shadow: var(--bs-cenital-8);
    z-index: 991;
    display: none;
}
.cabecera_menu .menu-item{
margin-top:24px;
margin-bottom: 16px;
}
.cabecera_menu .menu-item a{
    color: var(--blue);
	font-weight: bold;
	text-transform:uppercase;
}
.cabecera_menu .menu-item a:hover{
	text-decoration:underline;
	color: var(--gold);
}

#check{display:none;}

#check:checked ~ .cabecera_nav{
display:block
}


.burguer{
    width: 100%;
    height: 60px;
    position: fixed;
    bottom: -1px;
    left: 0;
    right: 0;
    margin: auto;
    background-color: rgb(255 255 255 / 90%);
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content:center;
    z-index: 990;
    box-shadow: var(--bs-cenital-8);
    cursor: pointer;
	padding:6px;
}

.contorno_icomenu{
	width: 45px;
    height: 45px;
    border-radius: 10px;
    background-color: #EBEBEB;
    box-shadow: 6px 6px 10px -1px rgba(0, 0, 0, 0.15),
        -6px -6px 10px -1px rgba(255, 255, 255, 0.7);
    align-content: center;
    justify-items: center;
}

.ico_menu{
    width: 20px;
    height: 24px;
}

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

.boton_whatsapp{
    width: 40px;
    height: 40px;
    position: fixed;
    bottom: 5%;
    right: 7%;
    margin: auto;
    z-index: 999;
    cursor: pointer;
	padding:4px;
}
.contorno_icowhatsapp{
	width: 65px;
    height: 65px;
    border-radius: 35px;
    background-color: var(--bright-blue);
    box-shadow: 6px 6px 10px -1px rgba(0, 0, 0, 0.15);
    align-content: center;
    justify-items: center;
}
.ico_whatsapp img{
	width:35px;
}

/*------------HOME---------*/


/* HERO */

.hero{
    margin-top: 16px;
    margin-bottom: 40px;
    color: var(--white);
    display: flex;
    flex-direction: column;
	border-radius: 15px;
}

.titulo_h1{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 38px;
    border-radius: 15px;
    background-color: var(--blue);
    color: var(--white);
    order: 2;
}

.titulo_h1 > img{
	display: none;
    width: 220px;
    margin-bottom: 55px;
    object-fit: contain;
    object-position: left center;
}

.titulo_h1 h1{
    margin: 0 0 20px;
    color: var(--white);
    font-size: clamp(30px, 3vw, 48px);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -1.5px;
    text-transform: uppercase;
}

.titulo_h1 p{
    margin: 0 0 30px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
}

.imagen_hero{
	overflow: hidden;
    order: 1;
    height: 360px;
	border-radius:15px 15px 0px 0px;
}

.imagen_hero img{
    object-fit: cover;
}

/* BOTONES */

.botones_hero{
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.boton_blanco,
.boton_contorno,
.boton_azul{
    display: inline-flex;
    max-width: 100%;
    border-radius: 30px;
}

.boton_blanco a,
.boton_contorno a,
.boton_azul a{
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 30px;
    border: 3px solid transparent;
    border-radius: inherit;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    transition: background-color .2s, color .2s;
}

.boton_blanco a{
    background-color: var(--white);
    color: var(--gold);
}

.boton_contorno a{
    border-color: var(--white);
    background-color: transparent;
    color: var(--white);
}

.boton_azul a{
    background-color: var(--blue);
    color: var(--white);
}

.boton_blanco a:hover{
    background-color: var(--gold);
    color: var(--white);
}

.boton_contorno a:hover{
    background-color: var(--white);
    color: var(--blue);
}

.boton_azul a:hover{
    background-color: var(--white);
}

.boton_blanco a:focus-visible,
.boton_contorno a:focus-visible,
.boton_azul a:focus-visible{
    outline: 3px solid var(--gold);
    outline-offset: 4px;
}

/* FRANJAS AZULES */

.separador{
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 15px;
    color: var(--white);
	background-color: var(--blue);
    width: 100%;
	height: auto;
	padding: 16px 0px;
}

.separador > div{
    flex-shrink: 0;
}

.separador p{
    margin: 0;
    font-size: 17px;
    font-weight: 900;
    line-height: 1.2;
    text-transform: uppercase;
}

.separador img{
    display: block;
    width: 15px;
    object-fit: contain;
}

/* BLOQUES DE TEXTO E IMAGEN */

.contenido_h2{
    padding-top: 40px;
    padding-bottom: 40px;
	display:flex;
	flex-direction:column;
}

.titulo_h2{
    padding: 20px;
	order:2;
}

.titulo_h2 h2{
    margin: 0 0 22px;
    color: var(--blue);
    font-size: clamp(28px, 3vw, 44px);
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: -1px;
    text-transform: uppercase;
}

.titulo_h2 h2 span{
    color: var(--gold);
}

.titulo_h2 p{
    margin: 0 0 35px;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.5;
}

.imagen_contenido_h2 img{
    height: 250px;
    object-fit: cover;
	Order:1;
}

/* TARJETAS DE TRATAMIENTOS */

.contenido_tratamientos{
    padding-top: 20px;
    padding-bottom: 20px;
}


.titulo_tratamientos{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background-color: var(--blue);
    font-size: 28px;
    font-weight: 900;
    line-height: 1.15;
	color: var(--white);
    border-radius: 15px;
	margin: 16px 0px;
    overflow: hidden;
    padding: 28px;
}

.titulo_tratamientos p{
    margin: 14px 0 20px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
}

.post{
    overflow: hidden;
    border-radius: 15px;
    background-color: var(--bright-blue);
    color: var(--white);
	margin: 16px 0px;
	padding: 16px;
}

.post a{
    display: block;
    height: 100%;
    color: var(--white);
    text-decoration: none;
}
.post h3{
    margin: 0 0 25px;
    font-size: 28px;
    font-weight: 900;
    line-height: 1.15;
}

.post p{
    margin: 0 0 12px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
}

/* BLOG */

.contenido_blog{
    padding-top: 60px;
}

.titulo_blog{
    align-items: start;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 55px;
    color: var(--blue);
    font-size: clamp(28px, 3vw, 44px);
    font-weight: 900;
    display: flex;
    flex-direction: column;
}

.titulo_blog h2{
    margin: 0;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    text-transform: uppercase;
}
.titulo_blog h2 span{
    color: var(--gold);
}

.contenido_blog .boton_azul{
    flex-shrink: 0;
}

.post_blog{
    overflow: hidden;
    border-radius: 15px;
    background-color: var(--blue);
    color: var(--white);
	margin: 16px 0px;
	box-shadow: 6px 6px 10px -1px rgb(0 0 0 / 45%), -6px -6px 10px -1px rgba(255, 255, 255, 0.7)
}



.post_blog a{
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 28px;
    color: var(--white);
    text-decoration: none;
}

.post_blog img{
    display: block;
    width: calc(100% + 56px);
    max-width: none;
    height: 260px;
    margin: -28px -28px 25px;
    object-fit: cover;
}

.post_blog h3{
    margin: 0 0 18px;
    font-size: 27px;
    font-weight: 900;
    line-height: 1.2;
}

.post_blog p{
    margin: 0 0 18px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
}

.blog .leer_noticia{
    align-self: flex-start;
    margin-top: auto;
    padding: 10px 20px;
    border-radius: 25px;
    background-color: var(--white);
    color: var(--gold);
    font-size: 15px;
    font-weight: 800;
}

/*------------FOOTER-----------------*/
footer{
	padding-top:25px;
    padding-bottom:95px;
    background-color: var(--blue);
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
}

footer a{
    color: inherit;
    text-decoration: none;
}

footer a:hover{
    color: #bea300;
}

/* DISTRIBUCIÓN PRINCIPAL */

footer > .container{
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.footer-logo_ubi,
.footer_horario_contacto{
    min-width: 0;
}

.footer-logo_ubi{
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-brand img{
    display: block;
    width: 64px;
    max-width: 100%;
    height: auto;
}

/* DIRECCIÓN, HORARIO Y CONTACTO */

.footer-label,
.footer_horario h4{
    margin: 0 0 12px;
    color: #ffffff;
    font-size: 24px;
    font-weight: 900;
    line-height: 1.2;
}

.footer_ubi p:not(.footer-label){
    margin: 0 0 12px;
    font-size: 23px;
    font-weight: 800;
    line-height: 1.4;
}

.footer_horario p{
    margin: 0 0 15px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
}

.footer_ubi a,
.footer_contacto > a{
    font-size: 14px;
    font-weight: 700;
}

.footer_contacto{
    margin-top: 30px;
}

.footer_contacto > a{
    overflow-wrap: anywhere;
}

/* FRANJA INFERIOR */

.footer-bottom{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
    max-width: none;
    margin-top: 45px;
    padding: 0;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.6;
}


/*---------------------EQUIPO-----------------*/
.cabecera_equipo img{
	margin-bottom:16px;
}


/*-----------------------------------------mediaquery----------------------------*/

@media (min-width:720px){
	.hero{
		margin-top:16px;
		margin-bottom:55px;
	}
	
	.titulo_h1{
		align-items:start;
	}
	
	.separador{
		flex-direction:row;
        margin-top: 36px;
        margin-bottom: 36px;
        justify-content: space-between;
        padding: 36px;
	}
	.contenido_h2{
		flex-direction:row;
	}
	.titulo_h2{
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
	.imagen_contenido_h2 img {
    height: 520px;
    width: 1080px;
}
	.contenido_tratamientos{
    display: flex;
    grid-auto-flow: row;
    flex-wrap: wrap;	
	}
	
	.titulo_tratamientos {
    width: 320px;
    margin: 16px 8px;
}
	.post {
    margin: 16px 8px;
    width: 320px;
}

	.contenido_blog{
	padding-top: 60px;
	}

	.titulo_blog{
		flex-direction:column;
	}
	
	.blog{
	display: flex;
    flex-direction: row;
    flex-wrap: wrap;
	}
	
	.post_blog{
	width: 320px;
    margin: 16px 8px;	
	}
	
	footer > .container{
        flex-direction: row;
        flex-wrap: wrap;
        align-items: flex-start;
        gap: 35px;
    }

    .footer-logo_ubi,
    .footer_horario_contacto{
        flex: 0 0 calc((100% - 35px) / 2);
    }

    footer .footer-bottom{
        flex: 0 0 100%;
    }
}


@media (min-width:992px){

	/*--------------CABECERA-----------*/
	.cabecera_logo{
	width:90px;
	}
	.logo img{
		width:40px;
	}
.cabecera {
        z-index: 9999;
        display: flex;
        justify-content: space-between;
        height: 60px;
        position: fixed;
        top: -1px;
        max-width: 100%;
        background-color: var(--blue);
        padding-left: 350px;
        padding-right: 350px;
    }

    .burguer{
        display: none;
    }
.cabecera_nav{
    width: auto;
    background-color: transparent;
    border-radius: 0;
    position: static;
    box-shadow: none;
    z-index: 991;
    display: flex;
    justify-content: flex-end;
	margin: 0px;
}
.cabecera_menu{
    display: flex;
}
.cabecera_menu .menu-item{
    margin-top:0px;
    margin-bottom: 0px;
    margin-left: 16px;
	margin-right: 16px;
}
.cabecera_menu .menu-item a{
color: var(--white);
	font-size: 10px;
	font-weight:bold;
	
}
.cabecera_menu .current-menu-item > a,
.cabecera_menu .current_page_item > a {
    color: var(--gold);
    font-weight: bold;
}
	
/*---HOME---*/
	    .hero{
        gap: 14px;
        display: flex;
        flex-direction: row;
        margin-top: 72px;
    }
		
	.imagen_hero{
		width:100%;
		height:auto;
		border-radius:25px;
		order:2;
	}
	
    .titulo_h1{
        min-height: 570px;
        padding: 26px;
		border-radius: 20px;
		justify-content:flex-end;
    }

    .titulo_h1 > img{
		display: block;
        margin-bottom: 35px;
		border-radius: 20px;
    }

    .imagen_hero img{
        min-height: 570px;
    }

    .botones_hero{
        gap: 12px;
    }

    .boton_blanco a,
    .boton_contorno a,
    .boton_azul a{
        padding: 12px 20px;
        font-size: 14px;
    }

    .separador{
        gap: 15px;
        justify-content: space-between;
        overflow-x: auto;
		max-width:100%;
        padding: 56px;
    }

    .separador p{
        font-size: 14px;
    }
	.separador img {
    width: 25px;
	}

    .contenido_h2{
        gap: 30px;
        padding-top: 70px;
        padding-bottom: 70px;
    }

    .titulo_h2{
        padding: 26px;
		order:1;
        justify-content: center;
    }

    .titulo_h2 p{
        font-size: 16px;
    }

	.imagen_contenido_h2{
		order:2;
	}
    .imagen_contenido_h2 img{
		width: 720px;
        height: 630px;
    }
	
	 .titulo_tratamientos {
      width: 410px;
	padding:26px;
	}
	
	 .post {
      width: 410px;
		padding:26px;
	}
	
    .titulo_blog {
        flex-direction: row;
		justify-content:space-between;
    }
	
	.blog{
		justify-content:space-between;
	}
        .post_blog {
        width: 305px;
    }
	
	.footer{
	padding-top: 55px;
    padding-bottom: 15px;
	}
	
	/*-----------equipo------------*/
	.cabecera_equipo img{
 	width:100%;
	height:720px;
	object-fit:cover;
}
}

