/*---------------------------------------
  GENERAL           
-----------------------------------------*/

:root {
    --color1: #12243a;
    --color2: #32b2cf;
    --color3: #59677B;
    --color4: #528AAC;
    --color5: #E4F0F1;
    --color6: #FFFFFF;
    --color7: #000000;
    --color8: #263238;
    --color9: #707070;
    --color10: #f1f1f1;
    --max-width-laptop: 1050px;
    --padding-section: 25px;
}

body {
      overflow-x: hidden;
      background-color: var(--color1);
    }
    
*,*:before,*:after{
  -webkit-box-sizing:border-box;
  -moz-box-sizing:border-box;
  box-sizing:border-box;
  margin:0;
  padding:0;
}

html, body {
  height: 100%;
  width: 100%;
  font-family: "Source Sans 3", sans-serif;
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
  color: inherit;
}

/*---------------------------------------
  WHATSAPP      
-----------------------------------------*/

.float{
	position:fixed;
	width:60px;
	height:60px;
	bottom:30px;
	right:40px;
	background-color:#25d366;
	color:#FFF;
	border-radius:50px;
	text-align:center;
  font-size:30px;
	box-shadow: 2px 2px 3px #999;
  z-index:100;
}
.my-float{
	margin-top:13px;
}

/*---------------------------------------
  CONTAINER / SECTION       
-----------------------------------------*/

.site-wrap {
  width: 100%;
}

.section-ubicacion {
  background-color: var(--color2);
  height: 6px;
  padding: 0 var(--padding-section);
  animation: slide-in 800ms;
}

.section-header {
  background-color: var(--color1);
  display: flex;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 10;
  padding: 6px var(--padding-section);
}

.container-header {
  max-width: var(--max-width-laptop);
  width: 100%;
  min-height: 80px;
  margin: 0 auto;
  padding: 12px 0 16px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: solid 1px var(--color3);
}

.section-hero {
  position: relative;
  width:100%;
  padding: 0 var(--padding-section);
  min-height: calc(80dvh - 80px);
  /*max-height: 500px;*/
  background-color: var(--color1);
}

.container-hero {
  max-width: var(--max-width-laptop);
  width: 100%;
  margin: 0 auto;
  display: flex;
}

.section-nosotros {
  width: 100%;
  display: flex;
  background-color: var(--color3);
  padding: 0px var(--padding-section);
}

.container-nosotros {
  max-width: var(--max-width-laptop);
  width: 100%;
  margin: 20px auto 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section-tratamientos {
  width: 100%;
  display: flex;
  background-color: var(--color2);
  padding: 0 var(--padding-section);
}

.container-tratamientos {
  max-width: var(--max-width-laptop);
  width: 100%;
  margin: 40px auto 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section-mapa {
  width: 100%;
  filter: grayscale(100%);
  margin: 0;
  padding: 0;
  line-height: 0;
}

.section-mapa:hover {
  filter: grayscale(0%)
}

footer {
  background-color: var(--color1);
  width: 100%;
  display: flex;
  margin: 0;
  color: var(--color5);
  padding: 0 var(--padding-section);
}

.footer-container {
  max-width: var(--max-width-laptop);
  width: 100%;
  margin: 45px auto;
}

/*---------------------------------------
  NAVIGATION       
-----------------------------------------*/

.menu-web {
  display: flex;
  flex-direction: row;
  list-style-type: none;
  margin: 0;
  padding: 0;
  font-size: 14.5px;
  font-family: "Source Sans 3", sans-serif;
 /* text-transform: uppercase; */
  letter-spacing: 1px;
  font-weight: 400;
  animation: fade-in 1.3s linear;
  align-items: center;
}

.menu-web > li {
  margin: 0 0 0 24px;
  overflow: hidden;
}

.navegacion {
  display: flex;
  height: 100%;
  align-items: center;
  vertical-align: middle;
}

/*---------------------------------------
  NAVEGATION MOBILE          
-----------------------------------------*/

.outer-menu {
  position: relative;
  top: -26.5px;
  left: -40px;
  z-index: 1;
  display: none;
  font-family: "Source Sans 3", sans-serif;
}

.outer-menu .checkbox-toggle {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  cursor: pointer;
  width: 40px;
  height: 50px;
  opacity: 0;
}

.outer-menu .checkbox-toggle:checked + .hamburger > div {
  transform: rotate(135deg);
}

.outer-menu .checkbox-toggle:checked + .hamburger > div:before,
.outer-menu .checkbox-toggle:checked + .hamburger > div:after {
  top: 0;
  transform: rotate(90deg);
}

.outer-menu .checkbox-toggle:checked ~ .menu {
  pointer-events: auto;
  visibility: visible;
}

.outer-menu .checkbox-toggle:checked ~ .menu > div > div {
  opacity: 1;
  transition: opacity 0.4s ease 0.4s;
}

.outer-menu .hamburger {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 40px;
  height: 50px;
  padding: 0px 0px;
  background: var(--color1); /* fondo burguer */
  border-radius: 0 0.12em 0.12em 0;
  cursor: pointer;
  transition: box-shadow 0.4s ease;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.outer-menu .hamburger > div {
  position: relative;
  flex: none;
  width: 100%;
  height: 2px;
  background: var(--color6); /* color burguer */
  transition: all 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.outer-menu .hamburger > div:before,
.outer-menu .hamburger > div:after {
  content: '';
  position: absolute;
  z-index: 1;
  top: -10px;
  left: 0;
  width: 100%;
  height: 2px;
  background: inherit;
  transition: all 0.4s ease;
}

.outer-menu .hamburger > div:after {
  top: 10px;
}

.outer-menu .menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  visibility: hidden;
  overflow: hidden;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  outline: 1px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

.outer-menu .menu > div {
  width: 100%;
  height: 100%;
  color: var(--color10); 
  background: var(--color1);
  transition: all 0.4s ease;
  flex: none;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.outer-menu .menu > div > div {
  text-align: center;
  max-width: 90vw;
  max-height: 100vh;
  opacity: 0;
  transition: opacity 0.5s ease;
  overflow-y: hidden;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.outer-menu .menu > div > div > ul {
  list-style: none;
  padding: 0 16px;
  margin: 0;
  display: block;
  max-height: 100vh;
  color: var(--color10); /*color botones*/
}

.outer-menu .menu > div > div > ul > li {
  padding: 0;
  margin: 30px;
  font-size: 22px;
  display: block;
}

.outer-menu .menu > div > div > ul > li > a {
  position: relative;
  display: inline;
  cursor: pointer;
  transition: color 0.4s ease;
}

.outer-menu .menu > div > div > ul > li > a:hover {
  color: var(--color10); /*color botones hover*/
}

.outer-menu .menu > div > div > ul > li > a:hover:after {
  width: 100%;
}

.outer-menu .menu > div > div > ul > li > a:after {
  content: '';
  position: absolute;
  z-index: 1;
  bottom: -0.15em;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color10); /*color subrayado botones*/
  transition: width 0.4s ease;
}

/*---------------------------------------
 BOTON TURNO          
-----------------------------------------*/

button {
  outline: none;
  cursor: pointer;
  border: none;
  padding: 5px 12px;
  margin: 0;
  font-family: "Source Sans 3", sans-serif;
  position: relative;
  display: inline-block;
  letter-spacing: 1.2px;
  font-weight: 700;
  font-size: 11px;
  border-radius: 500px;
  overflow: hidden;
  background: var(--color2);
  color: var(--color7);
  text-transform: uppercase;
  animation: fade-in 2s linear;
 }
 
 button span {
  position: relative;
  z-index: 10;
  transition: color 0.4s;
 }
 
 button:hover span {
  color: var(--color6);
 }
 
 button::before,
 button::after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
 }
 
 button::before {
  content: "";
  background: var(--color6);
  width: 120%;
  left: -10%;
  transform: skew(30deg);
  transition: transform 0.4s cubic-bezier(0.3, 1, 0.8, 1);
 }
 
 button:hover::before {
  transform: translate3d(100%, 0, 0);
 }
 
/*---------------------------------------
  LOGO            
-----------------------------------------*/

.logo {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.logo-imagen {
    width: 55px;
    margin: 5.5px 12px 0 0;
    animation: fade-in 1.3s linear;
}

.logo-imagen > img {
    width: 100%;
}

.logo-texto-kinesio > h1 {
    color: var(--color10);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 23.5px;
    letter-spacing: 1.6px;
    font-family: "Exo", sans-serif;
    margin: 0;
    padding: 0;
    animation: LeftAppear 1s ease 0.3s 1 reverse both;
}

.btn-header {
  color: var(--color6);
  cursor: pointer;
  position: relative;
}

.btn-header:hover {
  color: var(--color2);
  transition: all 1s ease;
}

/*---------------------------------------
  HERO  
-----------------------------------------*/

.hero-texto {
  width: 58%;
  padding: 50px 0 30px 0;
  color: white;
}

.movilidad {
  font-size: 22.5px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-family: "Raleway", sans-serif;
  color: var(--color2);
  text-shadow: 0px 1px 1px #0004;
  text-wrap: pretty;
  animation: fade-in 2.5s linear;
}

.hero-texto > h2 {
  font-size: 46px;
  font-weight: 900;
  font-family: "Exo", sans-serif;
  line-height: 56px;
  padding: 16px 0 18px 0;
  animation: fade-in 2s linear;
  text-shadow: 0px 2px 1px #0004;
  text-wrap: pretty;
}

.hero-texto > h3 {
  font-size: 18px;
  font-weight: 300;
  font-family: "Source Sans 3", sans-serif;
  color: var(--color10);
  padding: 0 0 10px 0;
  animation: fade-in 2.5s linear;
  text-shadow: 0px 1px 1px #0004;
  text-wrap: pretty;
  line-height: 18px;
}

.accion {
  padding: 18px 0 0 0;
}

.link {
  color: var(--color10);
  cursor: pointer;
  font-size: 15px;
  letter-spacing: 0.5px;
  font-weight: 500;
  font-family: "Exo", sans-serif;
  text-transform: uppercase;
  text-decoration: none;
  animation: fade-in 2.5s linear;
}

.link:hover {
  color: var(--color2);
  transition: all 1s ease;
}

.link--arrowed {
  display: inline-block;
  height: 2rem;
  line-height: 2rem;
}

.link--arrowed .arrow-icon {
  position: relative;
  top: -1px;
  transition: transform 0.3s ease;
  vertical-align: middle;
}

.link--arrowed .arrow-icon--circle {
  transition: stroke-dashoffset 0.3s ease;
  stroke-dasharray: 95;
  stroke-dashoffset: 95;
}

.link--arrowed:hover .arrow-icon {
  transform: translate3d(5px, 0, 0);
}

.link--arrowed:hover .arrow-icon--circle {
  stroke-dashoffset: 0;
}

.hero-imagen {
  width: 42%;
  animation: RightAppear 1s ease 0.3s 1 reverse both;
}

.hero-imagen > img {
  width: 100%;
}

.custom-shape-divider-bottom-1721663633 {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.custom-shape-divider-bottom-1721663633 svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 50px;
}

.custom-shape-divider-bottom-1721663633 .shape-fill {
  fill: var(--color3);
}

/*---------------------------------------
  NOSOTROS   
-----------------------------------------*/

.nosotros-perfiles {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.nosotros-textos {
  display: flex;
  flex-direction: column;
  padding: 0 0 20px 0;
}

.seccion-titulo {
  width: 100%;
  border-radius: 10px;
  color: var(--color10);
  text-align: left;
  font-family: "Exo", sans-serif;
  padding: 0 0 20px 0;
}

.encabezado-titulo {
  font-size: 36px;
  font-weight: 700;
}

.nosotros-desarrollo {
  columns: 2;
  column-gap: 15px;
  text-align: left;
  font-size: 16px;
  color: var(--color6);
  text-wrap: pretty;
}

.nosotros-perfiles .blog-card:first-of-type {
  margin-right: 25px;
}

.blog-card {
  display: flex;
  flex-direction: row;
  max-width: 700px;
  box-shadow: 0 3px 7px -1px rgba(0, 0, 0, 0.2);
  background: var(--color6);
  border-radius: 10px;
  overflow: hidden;
  z-index: 0;
  flex-direction: row-reverse;
}

.blog-card:hover .photo {
  transform: scale(1.05);
}

.blog-card .meta {
  position: relative;
  z-index: 0;
  flex-basis: 36%;
  height: auto;
}

.blog-card .photo {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-size: cover;
  background-position: top;
  transition: transform 0.2s;
}

.blog-card .description {
  padding: 15px;
  position: relative;
  z-index: 1;
  flex-basis: 64%;
}

.blog-card .description h2 {
  font-size: 25px;
  font-weight: 900;
  color: var(--color7);
  line-height: 27px;
}

.blog-card .description h3 {
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--color9);
  margin-top: 5px;
}

.blog-card .description h4 {
  font-size: 12.5px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color9);
  margin-top: 2px;
}

.blog-card p {
  position: relative;
  font-size: 14px;
  margin-top: 10px;
  color: var(--color7);
}

/*---------------------------------------
  TRATAMIENTOS          
-----------------------------------------*/

.grid { 
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  grid-gap: 25px;
  align-items: top;
  text-align: left;
  margin: 0;
  }

.card {
  max-width: 400px;
  display: block;
  overflow: hidden;
  border-radius: 5px;
  padding: 22px;
  background: var(--color6);
  box-shadow: 0 3px 7px -1px rgba(0, 0, 0, 0.2);
  }

  .card:hover {
    background: var(--color10);
  }

  .header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    grid-gap: 16px;
    gap: 16px;
  }

  .title {
    font-size: 19.5px;
    font-weight: 900;
    color: var(--color7);
    letter-spacing: -0.4px;
  }

  .divider-tratamientos {
    width: 100%;
    height: 2px;
    background-color: var(--color2);
    border-radius: 3px;
    margin: 7.5px 0 6px 0;
  }
  
  .image {
    display: block;
    height: 38px;
    width: 38px;
    border-radius: 8px;
    background-color: var(--color2);
    text-align: center;
    font-size: 19px;
    font-weight: 900;
    line-height: 38px;
  }

  .descriptions {
    padding: 16px 0 0 0px;
    color: var(--color9);
    font-size: 15px;
  }
  
  .descriptions > * > li {
    font-size: 15px;
    list-style: none;
    padding: 0 0 18px 0;
    font-weight: 400;
  }
  
/*---------------------------------------
  FOOTER           
-----------------------------------------*/

.grid-footer { 
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    grid-gap: 40px;
    align-items: top;
    font-size: 15px;
  }

.logo-texto-kinesio-footer {
  color: var(--color6);
  font-weight: 350;
  text-transform: uppercase;
  font-size: 19px;
  letter-spacing: 1.6px;
  margin: 0;
  padding: 0 0 11px 0;
}

.k96-color {
  color: var(--color2);
  font-weight: 700;
}

.grid-footer-texto {
  border-right: solid 1px var(--color3);
  line-height: 22px;
}

.grid-footer-texto:last-child {
  border-right: none;
}

.footer-titulo {
  text-transform: uppercase;
  padding: 0;
  color: var(--color2);
  font-size: 19px;
  font-weight: 700;
}

.grid-footer-texto > ul {
  list-style: none;
  padding: 11px 0 0 0;
}

.grid-footer-texto * a:hover {
  color:var(--color6);
  transition: all 0.2s ease;
  text-shadow: var(--color2) 1px 1px 2px;
}

.grid-footer-texto > a > img {
  width: 106px;
  filter:invert(1);
  padding: 5px 0 0 0;
}

/*---------------------------------------
  KEY FRAMES         
-----------------------------------------*/

@keyframes LoadBackground {
	0% {
		background-position: center bottom;
		background-size: 100%;
	}
	100% {
		background-position: center bottom;
		background-size: 103%;
	}
}

@keyframes LeftAppear {
	0% {
		opacity: 1;
		transform: translateX(0);
	}
	100% {
		opacity: 0;
		transform: translateX(-40px);
	}
}

@keyframes RightAppear {
	0% {
		opacity: 1;
		transform: translateX(0px);
	}
	100% {
		opacity: 0;
		transform: translateX(50px);
	}
}

@keyframes FadeLeft {
	0% {
		opacity: 0;
		transform: translateX(-20px);
	}
	100% {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes slide-in {
  from {transform: translateY(-200%);}
  to {transform: translateY(0%);}
  }

@keyframes fade-in {
  0% {opacity: 0;}
  100% {opacity: 1;}
  }

@keyframes LoadDiv {
	0% {
		opacity: 1;
		transform: scale(1);
	}
	100% {
		opacity: 0;
		transform: scale(1.2);
	}
}

/*---------------------------------------
  MEDIA QUERY           
-----------------------------------------*/

@media (max-width: 1200px) {
  .section-hero {
    position: relative;
    width:100%;
    padding: 0 var(--padding-section);
    min-height: calc(46dvh - 80px);
    /*max-height: 500px;*/
    background-color: var(--color1);
  }
}

@media (max-width: 900px) {
  .menu-web {
    display: none;
  }
  .menu-button-container {
    display: flex;
  }
  .navegation__buttons {
    display: none;
  }
  .outer-menu {
    display: block;
  }
  .nosotros-desarrollo {
    columns: 1;
  }
  .movilidad {
    font-size: 19px;
  }
  .hero-texto > h2 {
    font-size: 38.5px;
    line-height: 44px;
    padding: 14px 0 14px 0;
    text-wrap: pretty;
  }
  .hero-texto > h3 {
    font-size: 16px;
    font-weight: 300;
    padding: 0 0 10px 0;
    line-height: 18px;
  }
}

@media (max-width: 700px) {
  .section-hero {
    position: relative;
    width:100%;
    padding: 0 var(--padding-section);
    min-height: calc(62dvh - 80px);
    /*max-height: 500px;*/
    background-color: var(--color1);
  }
  .nosotros-perfiles {
    flex-direction: column;
    align-items: center;
  }
  .nosotros-perfiles .blog-card:first-of-type {
    margin-right: 0px;
    margin-bottom: 20px;
  }
  .blog-card .meta {
    flex-basis: 40%;
  }
  .blog-card .description {
    flex-basis: 60%;
  }
  .section-hero {
    width:100%;
    padding: 10px var(--padding-section) 0px;
  }
  .footer-container {
    margin: 25px auto;
  }
  .grid-footer { 
    grid-gap: 0px;
  }
  .grid-footer-texto {
    padding: 20px 0 20px 0;
    border-right: none;
    border-bottom: solid 1px var(--color3);
  }
  .grid-footer-texto:last-child {
    border-bottom: none;
  }
  .grid { 
    margin: 0 auto;
  }
  .hero-texto {
    padding: 20px 0;
  }
  .movilidad {
    font-size: 19px;
  }
  .hero-texto > h2 {
    font-size: 38.5px;
    line-height: 44px;
    padding: 14px 0 14px 0;
    text-wrap: pretty;
  }
  .hero-texto > h3 {
    font-size: 16px;
    font-weight: 300;
    padding: 0 0 10px 0;
    line-height: 18px;
  }
  .accion {
    padding: 6px 0 0 0;
  }
  .link {
    font-size: 14px;
  }
  .container-nosotros {
    margin: 15px auto 45px;
  }
  .container-tratamientos {
    margin: 30px auto 40px;
  }
}

@media (max-width: 600px) {
  .container-hero {
    max-width: var(--max-width-laptop);
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
  }
  .hero-texto {
    width:100%;
  }
  .hero-imagen {
    width: 100%;
    display: flex;
    align-items: end;
    justify-content: right;
    margin: 0 0 80px 0;
  }
  .hero-imagen > img {
    width: 85%;
  }
}
