/* Variables (si vas a usar custom properties) */
:root {
  --color-primario: #D90E11;  /* Rojo Loria */
  --color-fondo: #FCF9F4;     /* Fondo claro */
  --color-texto: #121212;     /* Negro elegante */
}
/* Poppins 500 - base principal */
@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins-500.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}

/* Poppins 600 - destacada */
@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins-600.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
}

/* Poppins 700 - para placeholders */
@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins-700.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

/* Aplicación global */
body {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  color: var(--color-texto);
  background-color: var(--color-fondo);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
textarea {
  resize: none ! important;
}

p{
  margin: 0;
  padding: 0;
}
a{
  text-decoration: none;
}
html {
  scroll-behavior: smooth;
}


.titulo {
  font-size: 40px;
  font-weight: 600;
  line-height: 110.00000000000001%;
  letter-spacing: 0%;
}

.subtitulo {
  font-size: 32px;
  font-weight: 600;
}

.texto-body {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.6; /* más aire entre líneas */
  letter-spacing: normal;
  color: var(--color-texto);
}
.texto-body-b {
  font-size: 16px;
  font-weight: 500;
}

.texto-error {
  font-size: 12px;
  font-weight: 500;
  color: red;
}

.boton-texto {
  font-size: 20px;
  font-weight: 600;
}

.subti-section{
  color: rgba(0, 0, 0, 0.20);
  font-family: 'Poppins';
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

/* Splash */
#splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #D90E11;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 500ms ease-in-out;
}

#splash-screen img {
  width: 180px;
  height: auto;
}

#splash-screen.fade-out {
  opacity: 0;
  pointer-events: none;
}

/* Main oculto inicialmente pero sin desaparecer */
#main-content {
  opacity: 0;
  transition: opacity 500ms ease-in-out;
}

/* Se mostrará cuando se agregue esta clase */
#main-content.visible {
  opacity: 1;
}

    .boton-derecha {
  text-align: right;
  margin-top: 16px;
}

.obligatorio {
  color: var(--color-primario);
  display: inline;
  font-weight: bold;
}