

:root {

    --primario: #f4eded;
    --secundario: #f8f7f4;
    --oscuro: #b690a2;
    --blanco: #ffffff;
    --negro: #000000;
    --fuente: "Inter", sans-serif;
    --colorfuente: #373e48;

}

/* GENERAL */

html {
    font-size: 62.5%;
    box-sizing: border-box;
    text-align: center;
    font-family: var(--fuente);
}


*, *:before, *:after {
   box-sizing: inherit;
   margin: 0;
   padding: 0;
}

/* NAV */

.nav-container {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
}

@media (min-width: 769px) {
    .nav-container {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }
}

/* LOGO */

.logo-container {
    display: flex;
    align-items: center;
}

.logo-container div {
    height: 5rem;
}

.img-logo {
    width: 5rem;
}

.name-logo {
   width: 20rem;
   height: 5rem;
   object-fit: cover;
   object-position: center;
}

/* MENU */

.menu {
    position: absolute;
    display: flex;
    flex-direction: column;
    text-align: right;
    padding-top: 20rem;
    right: 0;
    top: -103rem;
    background-color: var(--colorfuente);
    width: 90%;
    height: 100vh;
    z-index: 5;
    transition: .2s ease;
}

.show-menu {
    top:0;
}

.menu li {
    list-style: none;
    margin-bottom: 5rem;
    padding-right: 2rem;
}

.menu a {
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 300;
}

.a-color {
    color: var(--secundario);
    transition: .2s all ease;
}

.a-color:hover {
    color: var(--oscuro)
}

.bg-redes {
    text-decoration: none;
    color: var(--blanco);
}

.hamburger {
	position: relative;
    background-color:transparent;
    top:0;
    right:0;
	height:2rem;
	-webkit-transform:translate3d(0, 0, 0);
	transform:translate3d(0, 0, 0);
	-webkit-transition:-webkit-transform 0.25s cubic-bezier(0.05, 1.04, 0.72, 0.98);
	transition:transform 0.25s cubic-bezier(0.05, 1.04, 0.72, 0.98);
	cursor:pointer;
	-webkit-user-select:none;
	-moz-user-select:none;
	-ms-user-select:none;
	user-select:none;
    z-index: 5;
}

@media (min-width: 769px) {
    .hamburger {
        display: none;
    }
}

._layer{
	background: var(--colorfuente);
	margin-bottom:4px;
	border-radius:2px;
	width:28px;
	height: .4rem;
	opacity:1;
	-webkit-transform:translate3d(0, 0, 0);
	transform:translate3d(0, 0, 0);
	-webkit-transition:all 0.25s cubic-bezier(0.05, 1.04, 0.72, 0.98);
	transition:all 0.25s cubic-bezier(0.05, 1.04, 0.72, 0.98);
}

.hamburger.is-active .-top{
	-webkit-transform:translateY(200%) rotate(45deg) !important;
	-ms-transform:translateY(200%) rotate(45deg) !important;
	transform:translateY(200%) rotate(45deg) !important;
    background-color: var(--primario);
}
.hamburger.is-active .-mid{
	opacity:0;
}
.hamburger.is-active .-bottom{
	-webkit-transform:translateY(-200%) rotate(135deg) !important;
	-ms-transform:translateY(-200%) rotate(135deg) !important;
	transform:translateY(-200%) rotate(135deg) !important;
    background-color: var(--primario);
}

@media (min-width: 769px) {
    .nav-container {
        padding: 3rem 0 0 6rem;
    }

    .menu {
        position: relative;
        width: max-content;
        display: flex;
        flex-direction: row;
        text-align: right;
        align-items: center;
        padding-top: 0;
        background-color: transparent;
        top: 0;
        height: 5rem;
    }
    
    .menu li {
        list-style: none;
        margin: 0;
    }
    
    .menu a {
        text-decoration: none;
        margin-right: 3rem;
        font-size: 1.5rem;
        font-weight: 300;
    }
    
    .a-color {
        color: var(--colorfuente);
        transition: .2s all ease;
    }
    
    .a-color:hover {
        color: var(--oscuro)
    }
    
    .bg-redes {
        background-color: var(--oscuro);
        color: var(--blanco);
        padding: 1rem 2rem;
        border-radius: 1.8rem;
        transition: .2s all ease;
    }
    
    .bg-redes:hover {
        background-color: var(--secundario);
        color: var(--oscuro);
    }
}

/* HERO */

.hero {
    position: relative;
    width: 100%;
}

.hero-container {
    width: 100%;
    padding: 5rem 0;
    border-bottom-left-radius: 5rem;
    border-bottom-right-radius: 5rem;
}

.hero-container_flex {
    display: flex;
    flex-direction: column-reverse;
    gap: 4rem;
}

.hero-texto {
    width: 100%;
}

.hero-texto h1 {
    width: 85%;
    margin: 0 auto;
    font-size: 5rem;
    text-align: center;
    color: var(--colorfuente);
}

.hero-img img {
    width: 70%;
    margin: 0 auto;
}

.btn span {
    font-family: var(--fuente);
}

.btn {
    display: inline-block;
    width: 70%;
    padding: 2rem 4rem;
    margin-top: 4rem;
    border-radius: 4rem;
    background-color: var(--oscuro);
    color: var(--blanco);
    font-size: 1.8rem;
    text-decoration: none;
}

.btn:hover {
    background-color: var(--secundario);
    color: var(--oscuro);
    transition: all .3s ease;
    cursor: pointer;
}


@media (min-width: 769px) {

    .hero-container_flex {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 4rem;
    }
    
    
    .hero-texto {
        width: 50%;
        height: 90%;
        padding-left: 5rem;
        margin: 0;
        text-align: left;
    }
    
    .hero-texto h1 {
        width: 100%;
        font-size: 6rem;
        text-align: left;
        color: var(--colorfuente);
        margin: 0;
        padding: 0;
    }
    
    .hero-img {
        display: flex;
        align-items: center;
        width: 50%;
    }
    
    .hero-img img {
        width: 70%;
        object-fit: cover;
    }
    
    .btn {
        width: fit-content;
        padding: 2rem 5rem;
        border-radius: 4rem;
        border: none;
        background-color: var(--oscuro);
        color: var(--blanco);
        font-size: 1.8rem;
        text-decoration: none;
    }

}

.intro {
    width: 80%;
    margin: 5rem auto 0 auto;
}

.intro p {
    font-size: 2rem;
    color: var(--colorfuente);
    text-align: left;
}

@media (min-width: 468px) {
    .intro {
        width: 100%;
        margin-top: 5rem;
    }
    
    .intro p {
        width: 70%;
        margin: 0 auto;
        font-size: 3rem;
        color: var(--colorfuente);
    }
}

/* QUIEN SOY */

.acerca {
    position: relative;
    width: 100%;
    height: 100vh;
    padding: 5rem 0;
    margin-top: 5rem;
    background-color: var(--colorfuente);
}

.acerca h2 {
    position: absolute;
    z-index: 2;
    font-size: 4rem;
    color: var(--blanco);
    display: inline-block;
    left: 0;
    right: 0;
}

.acerca p {
    position: absolute;
    top: 12rem; 
    width: 80%;
    right: 0;
    left: 0;
    margin: 0 auto;
    color: var(--blanco);
    font-size: 2rem;
    line-height: 3rem;
    text-align: left;
    z-index: 1;
    border-radius: 1rem;
}

.acerca img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    top: 0;
    left: 0;
    opacity: 70%;
}

.acerca div {
    display: none;
}


@media (min-width: 769px) {
    .acerca {
        width: 100%;
        height: 100vh;
        background-color: var(--primario);
        margin-top: 10rem;
    }
    
    .acerca h2 {
        color: var(--blanco);
        font-size: 5rem;
        text-align: left;
        top: 7rem;
        left: 10rem;
    }
    
    .acerca p {
        position: absolute;
        top: 50%;
        left: 70%;
        transform: translate(-50%, -50%);
        width: 40%;
        color: var(--blanco);
        font-size: 2.5rem;
        text-align: left;
        line-height: 4rem;
        background-color: var(--colorfuente);
        padding: 3rem;
    }
    
    .acerca img {
        position: absolute;
        top: 0;
        left: 0;
        width: 70%;
        height: 100%;
        object-fit: cover;
        opacity: 100%;
    }

    .acerca div {
        display: block;
        position: absolute;
        width: 6rem;
        height: .3rem;
        background-color: var(--colorfuente);
        z-index: 3;
        left: 10.5rem;
    }
}

/* SERVICIOS */

.servicios {
    width: 80%;
    margin: 5rem auto;
}

.titulo-servicio {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.titulo-servicio_container {
    width: 30%;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
}

.barra {
    width: 5rem;
    height: .3rem;
    background-color: var(--oscuro);
    margin-bottom: 2rem;
}

.titulo-servicio_container h2 {
    font-size: 3rem;
    text-align: left;
    color: var(--colorfuente);
}

.titulo-servicio img {
    width: 100%;
    height: 20rem;
    object-fit: cover;
    border-radius: 1rem;
}

@media (min-width: 769px) {
    .servicios {
        width: 85%;
        margin: 10rem auto 0 auto;
    }

    .titulo-servicio {
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: space-around;
    }
    
    .titulo-servicio_container {
        width: 30%;
        display: flex;
        align-items: flex-start;
        flex-direction: column;
        justify-content: center ;
    }
    
    .barra {
        width: 5rem;
        height: .3rem;
        background-color: var(--oscuro);
        margin-bottom: 2rem;
    }
    
    .titulo-servicio_container h2 {
        font-size: 3.5rem;
        text-align: left;
        color: var(--colorfuente);
    }
    
    .titulo-servicio img {
        width: 70%;
        height: 25rem;
        object-fit: cover;
        border-radius: 1rem;
    }
}

/* GRID SERVICIOS */

.servicio-container {
    width: 100%;
}

.grid-servicios {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: repeat(2, 1fr);
    margin-top: 2rem;
}

.servicio {
    text-align: left;
    margin-top: 2.5rem;
}

.servicio h4 {
    font-size: 2rem;
    color: var(--colorfuente);
}

.servicio p {
    margin-top: 1rem;
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--colorfuente);
    line-height: 2rem;
}

@media (min-width: 468px) {
    .servicio-container {
        width: 100%;
    }
    
    .grid-servicios {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, 1fr);
        grid-column-gap: 3rem;
        grid-row-gap: 1rem;
        margin-top: 10rem;
    }
    
    .servicio {
        text-align: left;
    }
    
    .servicio h4 {
        font-size: 2rem;
        color: var(--colorfuente);
    }
    
    .servicio p {
        margin-top: 2rem;
        font-size: 1.5rem;
        font-weight: 300;
        color: var(--colorfuente);
        line-height: 2rem;
    }
}


/* CONSULTORIO */

.consultorio {
    width: 100%;
    background-color: var(--secundario);
    display: flex;
    flex-direction: column;
    padding: 5rem 0;
}

.consultorio-texto {
    width: 80%;
    text-align: left;
    margin: 0 auto;
}

.consultorio-texto h4 {
    font-size: 3.5rem;
    color: var(--colorfuente);
}

.consultorio-texto p {
    margin-top: 2rem;
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--colorfuente);
}

.img-consulorio-container {
    display: flex;
    width: 80%;
    margin: 4rem auto 0 auto;
    align-items: center;
}

.img-consulorio-container img {
    width: 50%;
   height: 30rem;
   object-fit: cover;
}

@media (min-width: 880px) {
    .consultorio {
        width: 100%;
        background-color: var(--secundario);
        margin-top: 10rem;
        display: flex;
        flex-direction: row;
        padding: 8rem;
    }
    
    .consultorio-texto {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        width: 35%;
    }
    
    .consultorio-texto h4 {
        font-size: 3.5rem;
        color: var(--colorfuente);
    }
    
    .consultorio-texto p {
        margin-top: 2rem;
        font-size: 1.5rem;
        font-weight: 300;
        color: var(--colorfuente);
    }
    
    .img-consulorio-container {
        display: flex;
        align-items: center;
        justify-content: end;
        gap: 2rem;
        margin: 0;
    }
    
    .img-consulorio-container img {
       width: 45%;
       height: 100%;
       object-fit: cover;
       border-radius: 1rem;
    }
}

/* CALIDAD */

.calidad {
    width: 100%;
    height: fit-content;
    background-image: url(img/calidad.png);
    background-size: cover;
    background-position: center;
    padding: 5rem 0;
}

.calidad-titulo {
    width: 80%;
    margin: 0 auto;
}

.calidad h4 {
    font-size: 4rem;
    color: var(--secundario);
    text-align: left;
}

.calidad-grid {
    width: 60%;
    margin: 5rem auto 0 auto;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    text-align: left;
    gap: 3rem;
}

.calidad-item {
    background-color: var(--primario);
    padding: 4rem 2rem;
    border-radius: 1rem;
}

.calidad-item h5 {
    font-size: 2rem;
    color: var(--colorfuente);
}

.calidad-item p {
    font-size: 1.5rem;
    font-weight: 300;
    margin-top: 2rem;
    color: var(--colorfuente);
}

@media (min-width: 880px) {
    .calidad {
        padding: 10rem 0;
    }
    
    .calidad-titulo {
        width: 85%;
    }
    
    .calidad h4 {
        font-size: 4rem;
        color: var(--secundario);
        text-align: left;
    }
    
    .calidad-grid {
        width: 70%;
        margin: 5rem auto 0 auto;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        text-align: left;
        gap: 3rem;
    }
    
    .calidad-item {
        padding: 2rem;
        border-radius: 1rem;
    }
    
    .calidad-item h5 {
        font-size: 2rem;
        color: var(--colorfuente);
    }
    
    .calidad-item p {
        font-size: 1.5rem;
        font-weight: 300;
        line-height: 2rem;
        margin-top: 2rem;
        color: var(--colorfuente);
    }
}

/* FEEDBACK  */

.feedbacks {
    width: 100%;
    background-color: var(--secundario);
    padding: 8rem 0;
}

.feedbacks-titulo h4 {
    width: 85%;
    margin: 0 auto;
    font-size: 3rem;
    color: var(--colorfuente);
}

.feedbacks-titulo p {
    font-size: 1.5rem;
    color: var(--colorfuente);
    margin-top: 1rem;
}

.feedback-grid-container {
    width: 80%;
    overflow-x: scroll;
    overflow-y: hidden;
    margin: 5rem auto 0 auto;
}

.feedback-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 1fr;
    gap: 3rem;
    box-sizing: border-box;
}

.feedback {
    width: 30rem;
    text-align: left;
    padding: 2rem;
    border-radius: 1rem;
    background-color: var(--blanco);
    color: var(--colorfuente);
    opacity: 1;
}

.user {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.linea {
    width: 3rem;
    height: .3rem;
    background-color: var(--oscuro);
}

.feedback p {
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 2rem;
}

.feedback h5 {
    font-size: 1.6rem;
    margin-top: 2rem;
    color: var(--oscuro);
}

@media (min-width: 769px) {
    .feedbacks {
        width: 100%;
        background-color: var(--secundario);
        padding: 10rem 0;
    }
    
    .feedbacks-titulo h4 {
        font-size: 3.5rem;
        color: var(--colorfuente);
    }
    
    .feedbacks-titulo p {
        font-size: 1.5rem;
        color: var(--colorfuente);
        margin-top: 1rem;
    }

    .feedback-grid-container {
        width: 100%;
        margin-top: 8rem;
    }
    
    .feedback-grid {
        margin: 0 10rem;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: 1fr;
        gap: 4rem;
    }
    
    .feedback {
        width: fit-content;
        text-align: left;
        padding: 2rem;
        border-radius: 1rem;
        background-color: var(--blanco);
        color: var(--colorfuente);
    }
    
    .user {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 2rem;
    }
    
    .linea {
        width: 3rem;
        height: .3rem;
        background-color: var(--oscuro);
    }
    
    .feedback p {
        font-size: 1.5rem;
        font-weight: 300;
        line-height: 2rem;
    }
    
    .feedback h5 {
        font-size: 1.6rem;
        margin-top: 2rem;
        color: var(--oscuro);
    }
}



/* CONTACTO */

.contacto {
    width: 100%;
    background-color: var(--oscuro);
}

.contacto-logo {
    position: absolute;
    width: 5rem;
    color: var(--blanco);
    margin: 2rem;
}

.contacto-img {
    width: 100%;
    height: 40rem;
    object-fit: cover;
    object-position: right;
}

.contacto-texto {
    width: 100%;
    color: var(--blanco);
}

.contacto-texto h4 {
    width: 85%;
    margin: 0 auto;
    font-size: 3.5rem;
    text-align: left;
    padding-top: 5rem;
}

.datos-container {
    position: relative;
    display: flex;
    text-align: left;
    flex-direction: column;
}

.dato {
    width: 85%;
    margin: 2rem auto 0 auto;
    font-size: 1.5rem;
    font-weight: 300;
}

.dato p {
    margin-bottom: .5rem;
}

.dato a {
    text-decoration: none;
    color: var(--blanco);
}

.protocolo {
    position: absolute;
    left: 20%;
    font-size: 1.5rem;
    color: var(--blanco);
    bottom: 0;
}

.barrablanca {
    width: 5rem;
    height: .3rem;
    background-color: var(--blanco);
    margin-bottom: 2rem;
}

.foot {
    color: var(--blanco);
    margin-top: 8rem;
    padding: 2rem;
}

@media (min-width: 468px) {
    .contacto {
        width: 100%;
        background-color: var(--oscuro);
    }
    
    .contacto-logo {
        position: absolute;
        width: 5rem;
        color: var(--blanco);
        margin: 2rem;
    }
    
    .contacto-img {
        width: 100%;
        height: 40rem;
        object-fit: cover;
        object-position: center;
    }
    
    .contacto-texto {
        width: 100%;
        color: var(--blanco);
    }
    
    .contacto-texto h4 {
        font-size: 3.5rem;
        text-align: left;
    }
    
    .datos-container {
        display: flex;
        text-align: left;
        flex-direction: column;
        margin-top: 5rem;
    }
    
    .dato {
        font-size: 1.5rem;
        font-weight: 300;
        margin: 2rem 0 0 10rem;
    }
    
    .dato p {
        margin-bottom: .5rem;
    }
    
    .dato a {
        text-decoration: none;
        color: var(--blanco);
    }
   
    .barrablanca {
        width: 5rem;
        height: .3rem;
        background-color: var(--blanco);
        margin-bottom: 2rem;
    }
}

.bt-wsp {
    position: fixed;
    display: block;
    width: 6rem;
    height: 6rem;
    background-color: var(--colorfuente);
    color: var(--secundario);
    border-radius: 50%;
    font-size: 4rem;
    text-align: center;
    line-height: 6rem;
    box-shadow: 0 .1rem 1rem rgba(0, 0, 0, 0.3);
    right: 3rem;
    bottom: 3rem;
    transition: all .5s;
    cursor: pointer;
    z-index: 5;
}

.bt-wsp:hover {
    background-color: var(--secundario);
    color: var(--colorfuente);
}





