:root {
    --naranja: #fd6729;
    --negro: #383838;
    --gris: #585d64;
    --grisclaro: #f3f3f3;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
    font-size: 100%;
    color: var(--negro);
}
html {
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
}
body {
    overflow-x: hidden;
}
h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 3rem;
}
h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 24px;
}
h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}
h4 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--negro);
    font-weight: 500;
}
p {
    font-size: 1.2rem;
    margin-bottom: 10px;
    line-height: 28px;
}
b {
    color: var(--naranja);
}
a {
    text-decoration: none;
    color: var(--negro);
    font-weight: 600;
}
a:hover {
    color: var(--naranja);
}
hr {
    border: 1px solid var(--naranja);
    background-color: var(--naranja);
    width: 25%;
    margin-bottom: 50px;
}
footer {
    padding: 150px 0;
    text-align: center;
    flex-direction: column;
}
input {
    padding-bottom: 10px;
}
input::placeholder, textarea::placeholder {
    transition: 0.5s;
}
input, textarea {
    width: 100%;
    border: none;
    outline: none;
}
input:focus::placeholder, textarea:focus::placeholder {
    font-size: 1.3rem;
}
input + div, textarea + div {
    width: 100%;
    border-top: thin solid var(--gris);
    background-color: var(--gris);
    margin-bottom: 30px;
    position: relative;
}
input + div::after, textarea + div::after {
    content: '';
    display: block;
    position: absolute;
    top: -1px;
    left: -1px;
    width: 0;
    border: thin solid transparent;
    transition: 0.5s;
}
input:focus + div::after, 
textarea:focus + div::after {
    width: 100%;
    border-top: thin solid var(--naranja);
    background-color: var(--naranja);
}
iframe {
    height: 550px;
}
/*Navegador*/
nav {
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    position: fixed;
    top: -150px;
    left: 0;
    background-color: white;
    z-index: 10;
    padding: 0 40px;
    width: 100%;
    transition: 0.5s;
    box-shadow: 1px 1px 5px rgba(56, 56, 56, 0.28);
}
nav.visible {
    top: 0;
}
.noscroll {
    overflow: hidden;
}
.logonav {
    width: 90px;
    display: block
}
.logonav img {
    width: 100%;
}
.menu {
    list-style-type: none;
}
.menu li:not(:last-child) {
    margin-right: 25px;
}
.menu a {
    text-transform: uppercase;
    font-weight: 500;
    font-size: 1rem;
}
.menumvl {
    display: none;
}
nav .cita {
    color: var(--naranja);
    border: 1px solid var(--naranja);
    padding: 8px 35px;
}
nav .cita:hover {
    color: white;
    background-color: var(--naranja);
}
.burger {
    flex-direction: column;
    display: none;
}
.burger div {
    border: thin solid black;
}
/*Fin navegador*/
/*Elementos*/
button {
    background: transparent;
    border: none;
    cursor: pointer;
}
span.txt-rotate .wrap{
    font-family: 'Oswald', sans-serif;
    color: var(--naranja);
}
p + .btn {
    margin-top: 50px;
}
.btn {
    color: var(--negro);
    font-weight: 500;
    display: inline-block;
    font-size: 1rem;
    position: relative;
    padding: 8px 12px;
    transition: 0.5s;
    text-transform: uppercase;
    cursor: pointer;
}

.btn::after, .btn::before {
    content: '';
    display: block;
    position: absolute;
    background-color: var(--naranja);
    left: -5px;
    bottom: -2px;
    transition: 0.5s;
    box-shadow: 0 0 1px transparent;
}
.btn::after {
    width: 50%;
    /* height: 2px; */
    border: thin solid var(--naranja);
}
.btn::before {
    /* width: 2px; */
    border: thin solid var(--naranja);
    height: 60%;
}
.btn:hover {
    color: var(--naranja);
}
.btn:hover .flecha {
    margin-left: 10px;
}
.btn:hover::after {
    width: 75%;
}
.btn:hover::before {
    height: 80%;
}

.material-icons {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;  /* Preferred icon size */
    display: inline-block;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;

    /* Support for all WebKit browsers. */
    -webkit-font-smoothing: antialiased;
    /* Support for Safari and Chrome. */
    text-rendering: optimizeLegibility;

    /* Support for Firefox. */
    -moz-osx-font-smoothing: grayscale;

    /* Support for IE. */
    font-feature-settings: 'liga';
}
.destacado {
    font-size: 2.6rem;
}
.destacado span {
    font-weight: bold;
    color: var(--naranja);
}
.material-icons.flecha {
    vertical-align: bottom;
    font-size: 1.9rem;
    transform: rotate(90deg);
    transition: transform 0.2s;
}
.material-icons.naranja {
    color: var(--naranja);
    font-size: 2.5rem;
    margin-right: 10px;
    position: relative;
    top: 5px;
    transform: rotate(0deg);
}
.vcentro .material-icons.naranja {
    position: static;
}
.btn .material-icons.flecha {
    transform: initial;
    font-size: inherit;
    color: var(--naranja);
    transition: 0.5s;
    font-size: 1.3rem;
}
.selectores {
    border-right: 1px solid var(--negro);
}
.selectores h4, .selectores .material-icons {
    transition: 0.5s;
}
.selectores h4 {
    font-size: 1.1rem;
    margin-left: 10px;
    margin-bottom: 0;
}
.selectores + .col60 {
    padding-left: 40px;
}
.selector {
    cursor: pointer;
    align-items: center;
    margin-bottom: 20px;
}
.selector.activo .material-icons {
    color: var(--naranja);
    font-size: 1.8rem;
    vertical-align: bottom;
    transform: rotate(0deg);
}

.selector.activo h4{
    font-size: 1.rem;
    color: var(--naranja);

}

.intro h2 {
    color: var(--gris);
}
p.nomargin {
    margin-bottom: 0;
}
/*Final elementos*/
/*Slider*/

/*Fin slider*/
/*Grid*/
.flex { 
    display: flex;
}
.fila {
    width: 100%;
    margin-bottom: 100px;
    overflow-x: hidden;
}
.fila.nomargin {
    margin-bottom: 0;
}
.txtcenter {
    text-align: center;
}
.centro {
    justify-content: center;
}
.vcentro {
    align-items: center;
}
.wrapper {
    width: 100%;
    padding: 0 40px;
    max-width: 1280px;
    margin: auto;
}
.wrapper.flex {
    flex-wrap: wrap;
}
.col25 {
    width: 25%;
}
.col30 {
    width: 30%;
}
.col40 {
    width: 40%;
}
.col50 {
    width: 50%;
}
.col60 {
    width: 60%;
}
.col70 {
    width: 70%;
}
.col75 {
    width: 75%;
}
/*Fin grid*/
.destacado {
    width: 60%;
    position: relative;
    top: 50px;
    line-height: 44px;
}
.col40 .destacado {
    width: 70%;
}
.col75 .destacado {
    width: 100%;
}
.intro p {
    width: 70%;
}
.intro  img{
    width: 100%;
}
/*Cabecera*/
.cabecera {
    height: 40vh;
    min-height: 500px;
    background-image: url('img/escaleras.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center bottom;
    margin-bottom: 100px;
}
.cabecera .wrapper {
    height: 100%;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    padding: 50px;
}
.cabecera p {
    font-family: 'Oswald', sans-serif;
    color: white;
    text-shadow: 1px 1px 10px black;
    font-size: 60px;
    
}
.cabecera p:first-child {
    margin-bottom: 30px;
}
/*Fin cabecera*/
/*Imágenes lateral*/
.cita:hover  h2, .cita:hover span {
    color: var(--naranja);
    cursor: pointer;
}
.lateral {
    flex: 1;
    height: 60vh;
    background-size: cover;
    background-position: center;
}
.deporte {
    background-image: url('img/fisio.jpg');
}
.trabajo {
    background-image: url('img/rehabilitacion.jpg');
}
.pisada {
    background-image: url('img/subir.jpg');
    background-position: bottom right;
}
.overlay {
    padding: 0 20px;
    height: 100%;
    width: 100%;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
}
.lateral:first-child h3 {
    color: white;
    
}
.overlay h3 {
    text-shadow: 1px 1px 1px black;
    font-weight: normal;
}
.linea {
    height: 10%;
    width: 2px;
    transition: 0.5s;
    background-color: var(--naranja);
    margin-bottom: 20px;
}
.lateral:hover .linea {
    height: 20%;
}
.lateral:hover .overlay {
    background-color: rgba(56, 56, 56, 0.4);
}
.lateral:hover .overlay h3 {
    color: white;
}
/*Fin imágenes lateral*/
.logo {
    justify-content: flex-end;
}
/*Tarjetas*/
.tarjeta {
    display: none;
}
.tarjeta.activo {
    display: block;
    -webkit-animation-name: fadeInRight;
    animation-name: fadeInRight;
    animation-duration: 0.6s;
}
.tarjeta .material-icons  {
    font-size: 2.5rem;
    color: var(--naranja);
}
.tarjeta > p {
    margin-bottom: 40px;
}
.tarjeta .flex > div {
    flex: 1;
    padding-right: 20px;
}
.tarhead {
    align-items: center;
    margin-bottom: 20px;
}
.tarhead .material-icons {
    margin-right: 20px;
}
.doblerehab, .doblepies {
    background-size: cover;
    background-position: center;
}
.doblerehab {
    background-image: url('img/rehabilitacion-suelo.jpg');
}
.doblepies {
    background-image: url('img/pies.jpg');
}
.dobletxt {
    padding: 60px 40px;
    background-color: var(--grisclaro);
}
/*Final tarjetas*/
.cita .material-icons {
    font-size: 3rem;
}
.fila.contacto {
    margin-bottom: 50px;
}
.contacto > div:first-child {
    margin-right: 40px;
}
.contacto p {
    font-size: 1.3rem;
}
.formulario {
    padding-left: 50px;
}
.alerta {
    display: none;
    padding: 12px;
    background: #58bd58;
    color: white;
    margin-top: 20px;
}
.alerta p {
    margin: 0;
    color: white;
}
.alerta.activo {
    display: block;
}
.social {
    margin-bottom: 30px;
    font-size: 30px;
    color: var(--gris);
}
.social a:hover i {
    color: var(--naranja);
}
.social a:not(:last-child) {
    margin-right: 30px;
}
.volver {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--naranja);
    height: 50px;
    width: 50px;
    justify-content: center;
    align-items: center;
}
.volver span {
    font-size: 30px;
    color: white;
}
/*Animaciones*/
.anima {
    opacity: 0;
}
.anima.slideInLeft {
    opacity: 1;
    -webkit-animation-name: slideInLeft;
    animation-name: slideInLeft;
    animation-timing-function: ease-out;
    animation-duration: 0.6s;
}
.fadeInRight {
    -webkit-animation-name: fadeInRight;
    animation-name: fadeInRight;
    animation-duration: 0.6s;
}
.bounce {
    -webkit-animation-name: bounce;
    animation-name: bounce;
    -webkit-transform-origin: center bottom;
    transform-origin: center bottom;
    animation-duration: 1s;
    animation-iteration-count: 3;
}

@-webkit-keyframes slideInLeft {
    from {
      -webkit-transform: translate3d(-100%, 0, 0);
      transform: translate3d(-100%, 0, 0);
      visibility: visible;
    }
  
    to {
      -webkit-transform: translate3d(0, 0, 0);
      transform: translate3d(0, 0, 0);
    }
  }
  
  @keyframes slideInLeft {
    from {
      -webkit-transform: translate3d(-100%, 0, 0);
      transform: translate3d(-100%, 0, 0);
      visibility: visible;
    }
  
    to {
      -webkit-transform: translate3d(0, 0, 0);
      transform: translate3d(0, 0, 0);
    }
  }
  @-webkit-keyframes fadeInRight {
    from {
      opacity: 0;
      -webkit-transform: translate3d(100%, 0, 0);
      transform: translate3d(100%, 0, 0);
    }
  
    to {
      opacity: 1;
      -webkit-transform: translate3d(0, 0, 0);
      transform: translate3d(0, 0, 0);
    }
  }
  
  @keyframes fadeInRight {
    from {
      opacity: 0;
      -webkit-transform: translate3d(100%, 0, 0);
      transform: translate3d(100%, 0, 0);
    }
  
    to {
      opacity: 1;
      -webkit-transform: translate3d(0, 0, 0);
      transform: translate3d(0, 0, 0);
    }
  }
  @-webkit-keyframes bounce {
    from,
    20%,
    53%,
    80%,
    to {
      -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
      animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
      -webkit-transform: translate3d(0, 0, 0);
      transform: translate3d(0, 0, 0);
    }
  
    40%,
    43% {
      -webkit-animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
      animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
      -webkit-transform: translate3d(0, -30px, 0);
      transform: translate3d(0, -30px, 0);
    }
  
    70% {
      -webkit-animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
      animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
      -webkit-transform: translate3d(0, -15px, 0);
      transform: translate3d(0, -15px, 0);
    }
  
    90% {
      -webkit-transform: translate3d(0, -4px, 0);
      transform: translate3d(0, -4px, 0);
    }
  }
  
  @keyframes bounce {
    from,
    20%,
    53%,
    80%,
    to {
      -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
      animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
      -webkit-transform: translate3d(0, 0, 0);
      transform: translate3d(0, 0, 0);
    }
  
    40%,
    43% {
      -webkit-animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
      animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
      -webkit-transform: translate3d(0, -30px, 0);
      transform: translate3d(0, -30px, 0);
    }
  
    70% {
      -webkit-animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
      animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
      -webkit-transform: translate3d(0, -15px, 0);
      transform: translate3d(0, -15px, 0);
    }
  
    90% {
      -webkit-transform: translate3d(0, -4px, 0);
      transform: translate3d(0, -4px, 0);
    }
  }
  /*Fin animaciones*/
@media (max-width: 1280px) {
    h1 {
        font-size: 2.5rem;
    }
    h2, .destacado {
        font-size: 2rem;
    }
    h3 {
        font-size: 1.6rem;
    }
    p, .contacto p {
        font-size: 1.1rem;
    }
    
} 
@media (max-width: 900px) {
    .logonav {
        width: 75px;
    }
    .wrapper {
        width: 80%;
    }
    .cabecera .wrapper,
    .intro p,
    .fila .col50,
    .tabs .col40, 
    .tabs .col60,
    .corredor img,
    .destacado
    {
        width: 100%;
    }
    .col50:first-child {
        margin-bottom: 20px;
    }
    .doble .col50,
    .corredor .logo
    {
        margin-bottom: 0;
    }
    .destacado {
        top: 0;
    }
    .doblepies, .doblerehab {
        height: 40vh;
    }
    .doblepies {
        order: -1;
    }
    .tabs .col40 {
        border: none;
        border-bottom: thin solid var(--gris);
        margin-bottom: 30px;
    }
    .tabs .col60 {
        padding: 0;
    }
    
    .selectores h4 {
    display: block;
    font-size: 1.4rem;
    }
    .tabs .tarjeta div {
    width: 100%;
    flex-wrap: wrap;
    flex: initial;
    }
    .tabs .tarjeta > div > div:first-child {
    margin-bottom: 20px;
    }
    .menu {
        display: none;
    }
    .burger {
        display: flex;
        justify-content: space-between;
        flex-direction: column;
        width: 28px;
        height: 18px;
        position: absolute;
        right: 30px;
        z-index: 10000;
        overflow: hidden;
        border-radius: 1px;
    }
    .burger div {
        width: 100%;
        border-top: thin solid var(--gris);
        transform-origin: left;
        opacity: 1;
        transition: 0.5s;
    }
    .menumvl {
        display: flex;
        list-style: none;
        font-size: 1.8rem;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        background-color: rgba(243, 243, 243, 0.95);
        height: 100%;
        z-index: 100;
        transition: 0.5s;
    }
    .burger.activo {
        position: fixed;
    }
    .burger.activo div:first-child {
    transform: rotate(45deg);
    }
    .burger.activo div:nth-child(2) {
        width: 0%;
        opacity: 0;
    }
    .burger.activo div:last-child {
        transform: rotate(-45deg);
    }
    .menumvl.activo {
        left: 0;
        right: 0;
    }
    .menumvl li:not(:last-child) {
    margin-bottom: 40px;
    }
    .menumvl hr {
        border: thin solid var(--gris);
        margin-bottom: 40px;
    }
    #contacto .col50 {
        padding: 0;
    }
    #contacto .fila.contacto {
        flex-wrap: wrap;
        justify-content: flex-start;
    }
    #contacto .fila.contacto div.vcentro {
        width: 100%;
        text-align: left;
        align-items: flex-start;
        justify-content: flex-start;
    }
    #contacto .fila.contacto div.vcentro:first-child {
        margin-bottom: 20px;
    }
} 
@media (max-width: 750px) {
    
    h1, h2  {
    font-size: 1.5rem;
    }
    h3 {
        font-size: 1.3rem;
    }
    p {
        font-size: 1rem;
    }
    iframe {
        height: 400px;
    }
    .menumvl li {
        font-size: 1.3rem;
    }
    .fila {
        margin-bottom: 60px;
    }
    .material-icons.naranja {
        font-size: 2rem;
    }
    .wrapper, .cabecera .wrapper {
        padding: 0;
    }
    .logonav {
        width:60px;
    }
    .corredor img,
    .destacado {
        width: 100%;
    }
    .corredor img {
    max-width: 400px;
    margin: auto;
    }
    .destacado {
        font-size: 2rem;
    }
    .cabecera {
        height: 100vh;
        padding: 30px;
    }
    .cabecera p {
        font-size: 44px;
        position: relative;
        bottom: 100px;
    }
    .imglateral {
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }
    .lateral {
        flex: initial;
        width: 90%;
        height: 75vh;

    }
    .lateral:not(:last-child) {
        margin-bottom: 20px;
    }
    .col50 {
        min-height: 240px;
    }
    .volver {
        bottom: 10px;
        right: 10px;
        height: 45px;
        width: 45px;
    }
    .dobletxt {
    padding: 40px 30px;
    }
    p + .btn {
        margin-top: 25px;
    }
    .selectores {
    display: flex;
    width: 100%;
    }
    .selectores .material-icons {
        transition: none;
        font-size: 2rem;
    }
    .selectores h4, .selectores .flecha {
        display: none;
    }
    .selector {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0;
        height: 70px;
        border: thin solid #dfdfdf;
    }
    .selector.activo {
        border-top: medium solid var(--naranja);
        
    }

    .tabs .col40 {
        border: none;
    }
}
