/* Variables de tema y fuentes */
:root {
  --theme-grey-light: #f4f4f4;
  --theme-grey-dark: #ededed;
  --theme-beige: #eeeee5;
  --theme-brown-light: #5e4345;
  --theme-brown-dark: #584445;
  --theme-orange: #dc7247;
  --fs-base: 20px;
}

/* Clases de color de texto */
.c-white { color: white; }
.c-grey-light { color: var(--theme-grey-light); }
.c-brown-light { color: var(--theme-brown-light); }
.c-brown-dark { color: var(--theme-brown-dark); }
.c-orange { color: var(--theme-orange); }

/* Clases de color de fondo */
.bg-grey-light { background: var(--theme-grey-light); }
.bg-brown-light { background: var(--theme-brown-light); }
.bg-brown-dark { background: var(--theme-brown-dark); }
.bg-orange { background: var(--theme-orange); }
.bg-beige { background: var(--theme-beige); }

/* Clases de peso de fuente */
.f-400 { font-weight: 400; }
.f-500 { font-weight: 500; }
.f-700 { font-weight: 700; }

/* Utilidades generales */
.no-overflow { overflow: hidden; }

/* Definición de fuentes */
@font-face {
  font-family: 'Portrait';
  src:  url('/ka/apps/clinicaredondo/fonts/Portrait-Regular-Web.woff2') format('woff2'),
        url('/ka/apps/clinicaredondo/fonts/Portrait-Regular-Web.woff') format('woff');
}

/* Fuente por defecto */
* { font-family: 'DM Sans', sans-serif; }

/* Estilo del cuerpo */
body {
  background: var(--theme-grey-dark);
}

/* Estilos de encabezados */
h1, h2, h3 { font-family: 'Portrait'; }




label {
  font-size: 15px;
}


h1 {
  font-size: 2.2rem;
}

p, li {
  font-size: 1.125rem;
}


@media (max-width: 768px) {
  h1 {
    font-size: 1.75rem;
  }
  
  p,li {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.75rem;
  }
  
  p,li {
    font-size: 0.875rem;
  }
}


@media (min-width: 1920px) {
  h1 {
    font-size: 3.75rem;
  }
  
  p,li {
    font-size: 1.5rem;
  }

}


h2 { font-size: calc(1.675rem + 1.5vw); }

/* Estilos de enlaces */
a {
  color: var(--theme-brown-light);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* Estilo de listas no ordenadas */
ul { padding-left: 20px; }
li { margin-bottom: 5px; }

/* Estilos del encabezado */
header > [class*="container"] {
  padding: 36px 5%;
  background-color: var(--theme-grey-light);
}
header [class*="col-"] {
  display: flex;
  justify-content: end;
  flex-direction: column;
}

/* Estilos de logotipo de encabezado */
#header-logo {
  width: 360px;
  max-width: calc(100% - 20px);
}

/* Estilos de imagen principal */
#img-hero {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

@media screen and (max-width: 990px) {
  #img-hero { position: initial; }
}

/* Estilos de contenido de la sección 1 */
#div-ppal-seccion1 {
  padding: 0; 
  position: relative;
}
#section1-content {
  z-index: 1;
  margin: 15%;
  max-width: 600px;
}

@media (max-width: 768px) {
  #section1-content {
    margin: 10%;
  }
}

/* Estilos de la lista de la sección 5 */
.lista-seccion5 { padding-top: 30px; }

/* Estilo del título de testimonios */
.titulo-testimonios {
  letter-spacing: 2px;
  font-weight: 500;
}

/* Estilo del contenedor de números de sección */
#contenedor-seccion-numeros { padding: 10px 25%; }

#contenedor-seccion-numeros h2 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
}

/* Estilo de párrafo en tarjetas */
.parrafo-tarjeta {
  color: var(--theme-brown-light);
  line-height: 1.2;
}

/* Estilo de comillas */
#comillas {
  margin: 0 auto;
  position: relative;
  top: -25%;
  width: 75%;
  min-width: 50px;
}

@media screen and (max-width:1024px) {
  #contenedor-seccion-numeros { padding: 10px 15%; }
}

/* Estilos de imagen y lista para pantallas pequeñas */
@media screen and (max-width:767px) {
  #img-1, #img-2 { max-height: 52vh; }

  .xs-inner-shadow { box-shadow: inset 0 -25px 20px 7px rgb(0 0 0 / 1%); }

  .lista-seccion5 { padding-top: 5px; }

  #comillas {
    top: -1rem;
    left: -2.5rem;
  }
  .titulo-formulario { align-self: center; }
}

/* Estilos del formulario */
form {
  background: white;
  padding: 15px;
}

form #comments {
  min-height: 142px; 
  resize: none;
}

#form1 {
  position: relative;
  top: -8vh;
}

@media screen and (max-width:990px) { 
  #form1 { top: -15px; }
}

/* Estilos del marcador de posición */
::placeholder {
  color: #333 !important;
  opacity: 1 !important;
}

/* Estilos de entradas de texto en formularios */
form input[type="text"],
form input[type="email"],
form select,
form textarea {
  border-radius: 0 !important;
  border: 2px solid var(--theme-brown-dark) !important;
  margin-bottom: 10px;
}

form input[type="checkbox"] {
  border-radius: 0 !important;
  width: 18px;
  height: 18px;
}

.form-check { margin-bottom: 10px; }

/* Estilos de botones */
button {
  border: none;
  padding: 10px 15px;
  color: white;
  min-width: 300px;
}
button:hover {
  background: var(--theme-brown-light);
}

@media screen and (max-width:575px) { 
  button { width: calc(100% - 10px); }
}

/* Estilos de redes sociales */
#rrss {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
}

/* Estilos de error en formularios */
span.error {
  color: red;
  display: block;
  text-align: left;
  position: relative;
  top: -8px;
  font-size: 12px;
}

input.has-error, textarea.has-error {
  outline: 2px solid red;
  outline-offset: -2px;
}

/* Estilos de etiquetas */
label {
  margin-bottom: 0px !important;
  line-height: 1.6;
  display: block;
}
