
	/* VARIABLES > COLORES BASE
	======================================================================================================================
	Definición de la paleta de colores base para el proyecto                                                            */

:root {  
  --font-base-size: 15px;
  --dark-pink: #f570a9;
  --medium-pink: #efafbd;
  --light-pink: #fbe3f9;
  --dark-orange: #ea5721;
  --light-orange: #f18930;
  --light-beige: #f4eede;
  --red-pink: #C53A63;
  --purple: #926886;
  --container-width: 90rem;
}


/*
========================================================================================================================
BASE
========================================================================================================================
Definimos los elementos HTML comunes y los elementos estructurales de la página                                       */         

html, body {
  font-size: var(--font-base-size);
  font-family: Lato;
}

h1 {
  font-size: 6rem;
  line-height: 1.1;
  font-family: Lato;
  font-weight: 900;
}
h2 {
  font-size: 3.6rem;
  line-height: 1.1;
}
h3 {
  font-size: 2rem;
  line-height: 1.1;  
}
p {
  font-size: 1.3rem;
  line-height: 1.2;
  color: #515151;
}

.black {
  font-weight: 700;
}

/* RESPONSIVE TIPOGRAFÍAS!!! */
@media (min-width: 800px) and (max-width: 1200px){
  h1 { font-size: 5.0rem; }
  h2 { font-size: 3.2rem; }


  .container-seccion-maps > div:nth-child(1) h2 {
    font-size: var(--24px) !important;
  }
  .container-seccion-maps > div:nth-child(3) h2 {
    font-size: var(--22px) !important;
}

.container-seccion-maps > div:nth-child(3) span {
  font-size: var(--32px) !important;
}

}

@media screen and (max-width: 1025px){
  h1 { font-size: 3.6rem; }
  h2 { font-size: 3.0rem; }
  h3 { font-size: 1.8rem; }
}

@media screen and (max-width: 769px){
  h1 { font-size: 3rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.5rem; }
  p  { font-size: var(--15px); line-height: 1.3;   padding-left:20px; padding-right: 20px;}
}

.c-white        { color: #ffffff; }
.c-dark-pink    { color: #f570a9; }
.c-medium-pink  { color: #e4a8cc; }
.c-light-pink   { color: #fbe3f9; }
.c-dark-orange  { color: #ea5721; }
.c-light-orange { color: #f18930; }
.c-light-beige  { color: #f4eede; }

.bg-dark-pink    { background: #f570a9; }
.bg-medium-pink  { background: #e4a8cc; }
.bg-light-pink   { background: #fbe3f9; }
.bg-dark-orange  { background: #ea5721; }
.bg-light-orange { background: #f18930; }
.bg-light-beige  { background: #f4eede; }

.d-none {
  display: none;
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.img-fit {
  object-fit: contain;
  width: 100%;
  height: 100%;
}

.img-cover {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.hr-cta {
  max-width:70px;
  border:1.8px solid #916886;
}

.container {
  max-width: var(--container-width) !important;
}

@media (min-width: 1921px) {
  .container {
    max-width: 110rem !important;
  }
}

a.button {
  text-decoration: none;
}

#landing {
  background-color: #ffffff;
}

.title-ppal {
  text-transform: uppercase;
  font-weight: 700;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: calc(var(--space) * 2);
  margin-bottom: var(--space) ;
  color: var(--grey-600);
  font-size: var(--35px);
}
  .title-ppal::after {
    content: "";
    display: block;
    width: var(--45px); 
    height: var(--2px);
    background-color: #cacaca;
    margin-top: var(--25px);
  }

  h3.title-ppal,
  h2.title-ppal {
    font-size: var(--25px);
  } 
  
  .xtra{
    font-size: var(--35px) !important;
  }  

@media (max-width: 768px) {
  h3.title-ppal,
  h2.title-ppal {
    font-size: var(--17px);
  }
  
  .title-ppal {
    font-size: var(--20px);
    margin-bottom: calc(var(--space) * 2);
  }
    .title-ppal::after {
      height: var(--1px);
      width: var(--30px);
      margin-top: var(--10px);
    }

    .d-none {
      display: block;
    }

  .xtra{
    font-size: var(--20px) !important;
  }      


}

.subtitle {
  color: #505050;
  font-size: var(--30px);
  margin-top: var(--40px);
  margin-bottom: var(--35px);
  padding-bottom: var(--10px);
  border-bottom: var(--2px) solid #cacaca;
}

@media (max-width: 768px) { 
  .subtitle {
    font-size: var(--16px);
    margin-top: var(--30px);
    margin-bottom: var(--25px);
    border-bottom: var(--1px) solid #cacaca;
  }
}

/*
========================================================================================================================
SECCIONES
========================================================================================================================
Definimos las clases que se van a servir en todo el contenido principal de la landing (DESKTOP FIRST)                  */


/* ------------------------------------------ CTA - DESPUÉS DE HERO ------------------------------------------*/
.container-cta {
  background-color: #e8eae0;
  border: var(--2px) solid #cfd2c2;
  max-width: 30rem;
  padding: var(--30px);
  border-radius: var(--20px);
  margin-top: var(--30px);
}
  .container-cta p {
    font-size: var(--22px);
    margin-bottom: 0;
  }

.container-sub-cta {
  max-width: 50rem;
}
  .container-sub-cta p {
    font-size: var(--22px);
  }

@media (max-width:768px) {

  .container-cta {
    margin-top: var(--10px);
  }
  .container-sub-cta {
    max-width: 20rem;
  }
    .container-sub-cta p,
    .container-cta p {
      font-size: var(--18px);
    }
}


/* ------------------------------------------ 3 TARJETAS ------------------------------------------*/
#tres-tarjetas {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--70px);
  margin-top: var(--20px);
  margin-bottom: var(--20px);
}

#tres-tarjetas > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  background-color: #edeee7;
  border-radius: 16px;
  overflow: hidden;
  padding-top: var(--40px);
}

#tres-tarjetas > div img {
  width: auto;
  height: 15rem;
  object-fit: contain;
  margin-bottom: -1rem;
  z-index: 1;
}

#tres-tarjetas > div p {
  background-color: #cfd2c3;
  color: #fff; 
  text-align: center;
  font-weight: bold;
  width: 100%;
  padding: var(--40px);
  margin: 0;
}

@media (max-width:768px) {
  #tres-tarjetas {
    grid-template-columns: 1fr;
    gap: var(--30px);
  }

    #tres-tarjetas > div p {
      font-size: var(--20px);
    }
}

/* ------------------------------------------ FORMULARIO ------------------------------------------*/
#landing-form-container {
  padding: var(--space) calc(var(--space) * 2);
  overflow: hidden;
  margin-bottom: var(--40px);
  background-image: url(
    'https://www.clinicaplanas.com/ka/apps/clinicaplanas_assets/landings/labioplastia_camarahiperbarica/bg_form.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.container-form {
  background: transparent;
}

.container-form h2 {
  font-weight: 400;
  color:#936886;
}

.reservar-plaza {
  margin-top: .5rem;
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: 2px;
  color:#515151;
}

.form-group input, .form-group select {
  border-radius: 10px; 
  width: 450px;
}

#landing-form-container {
  margin-bottom: 40px; 

}


#landing input[type="checkbox"] {
  appearance: none; 
  -webkit-appearance: none; 
  -moz-appearance: none; 
  margin-right: 5px !important;
  width: 16px; 
  height: 16px;
  border: 1px solid #515151; 
  border-radius: 3px; 
  background-color: transparent; 
  cursor: pointer;
  position: relative;
}

#landing input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 5px;
  width: 5px;
  height: 10px;
  border: solid #515151; 
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

#landing-form form {
  margin-top: 0;
}

#landing .small-legal {
  width: 400px;
  padding-left: 10px;
  font-size: 12px;
  line-height: 1.4;
  color: #515151;
}

#landing-form input[type="text"], 
#landing-form input[type="email"] {
  width: 400px !important;
  padding: 25px !important;
  padding-left: 15px !important;
  margin-bottom: 5px;
  border: 2px solid #fff !important;
  border-radius: 10px;
  font-family: Lato;
  font-size: 16px;  
  letter-spacing: .1rem;
  color: #515151;
}

#landing-form input[type="text"]:focus, 
#landing-form input[type="email"]:focus,
#landing-form select:focus {
    outline: none; 
}

::placeholder {
  font-family: Lato;
  letter-spacing: .1rem;
  color: #515151;
}

#landing-form span.error {
  color: red;
  display: block;
  margin-top: -10px;
  margin-bottom: 15px;
}

#boton-formulario {
  background-color: #515151;
  color: white;
  font-size: var(--25px);
  font-weight: 400;
  border-radius: var(--10px);
  letter-spacing: 2px;
  padding: var(--10px) var(--16px);
  margin-top: var(--10px);
}

#privacy-policy p {
  margin-top: 10px;
  font-weight: 400;
  color: #515151;
}

#privacy-policy p a{
  font-weight: 700;
  color: #515151;
}

.recaptcha-wrapper {
  transform: scale(1); 
  transform-origin: 0 0;  
}


@media (max-width: 768px) {
  #landing-form-container {
    background-image: url(
    'https://www.clinicaplanas.com/ka/apps/clinicaplanas_assets/landings/labioplastia_camarahiperbarica/bg_form_xs.jpg');
    padding: var(--30px);
  }

  .container-form h2 {
    margin-top: 50px;
    font-size: 2.5rem;
    line-height: 1.3;
    margin-bottom: 0;
  }

  .reservar-plaza {
    margin-top: 0;
    font-size: var(--20px);
  }
  
  .small-legal {
    font-size: 2.5vw !important;
    width: 100% !important;
    max-width: 100%;
    word-wrap: break-word;
    padding-left: 10px;
  }

  #privacy-policy p {
    font-size: .8rem !important;
  }

  #boton-formulario {
    margin-bottom: .5rem;
  }

#landing-form {
  padding: 10px;
}

#landing-form input[type="text"], #landing-form input[type="email"] {
  height: 50px !important;
  margin-bottom: 5px;
  font-size: 14px;
}

#landing-form select {
  height: 50px !important;
  width: 100%;
  font-size: 14px;
  margin-bottom: 5px;
  padding: 10px !important;
}

#landing .small-legal {
  font-size: 14px;
  line-height: 1.4;
}

#landing-form > div {
  padding: 0 !important;
}

#boton-formulario {
  font-size: var(--18px);
}

.recaptcha-wrapper {
  transform: scale(0.95); 
}

}


#privacy-policy p {
  margin-top: 10px;
  font-weight: 400;
  color: #515151;
}

#privacy-policy p a{
  font-weight: 700;
  color: #515151;
}  
