/* 1. Usar un modelo de caja más intuitivo */
*, *::before, *::after {
  box-sizing: border-box;
}

/* 2. Eliminar márgenes y rellenos por defecto */
* {
  margin: 0;
  padding: 0;
}

/* 3. Asegurar una altura mínima para ocupar toda la pantalla */
html, body {
  min-block-size: 100svh; /* Usa Small Viewport Height para evitar saltos en móviles */
}

/* 4. Mejorar la altura de línea y el renderizado de texto */
body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* 5. Mejorar el manejo de elementos multimedia (imágenes, videos, etc.) */
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

/* 6. Heredar fuentes en elementos de formulario */
input, button, textarea, select {
  font: inherit;
}

/* 7. Evitar desbordamientos de texto */
p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

.lora {
  font-family: "Lora", serif;
  font-optical-sizing: auto;
  font-weight: 1em;
  font-style: normal;
}

.navbar > .container-fluid {
  justify-content: center;
}

.hero-section {
    height: 50vh;
    max-height: 50vh;
}

.gradient-hero {
    background-image: url(../images/Grupo-51.webp);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    color: #fff;
    padding: 5rem 0;
    height: 100%;
    display: flex;    
    align-items: center;

}

.gradient-hero h1 {
    text-align: center;
    font-family: "Montserrat", Sans-serif;
    font-size: calc(2em + 1vw);
    font-weight: 600;
    color: #FFFFFF;
}

.formulario {
    color: #111527;
}

.formulario .formulario_cab {
    padding: calc(1em + 4vw);
}

.formulario a {
    text-decoration: none;
    color: #111527;
    transition: color 0.3s ease;
}

.formulario a:hover {
    text-decoration: underline;
    color: #B91818;
}

.formulario h2 {
    font-family: Lora;
    font-size: calc(2em + 1vw);
    font-weight: 500;
}

.formulario .mensaje {
    margin: 50px 0 0 0;
}

.formulario form {
    padding: 40px;;
}

.subrayado {
    background-color: #B91818;
}

.form_cont {
    margin-top: 12px;
    padding: 1vw;
    background-color: #f4f4f4;
    border-radius: 1em 1em 0 0;
    font-weight: 600;
}
.footer {
  padding-top: 12px;
  background-color: #B91818;
  color: bisque;
  font-size: 1em;
}

.footer a {
  text-decoration: none;
  font-weight: 400;
  color: #f18a00;
  font-variation-settings: 'wght' 400;
  transition: font-variation-settings 0.3s ease;
}

.footer a:hover {
  text-decoration: underline;
  font-variation-settings: 'wght' 800;
}