* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


/*-----FONTS-----*/
@font-face {
  font-family: 'Inter-Light';
  src: url('../fonts/Inter-Light.woff2') format('woff2'),
    url('../fonts/Inter-Light.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Inter-ExtraLight';
  src: url('../fonts/Inter-ExtraLight.woff2') format('woff2'),
    url('../fonts/Inter-ExtraLight.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-Regular.woff2') format('woff2'),
    url('../fonts/Inter-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Inter-Bold';
  src: url('../fonts/Inter-Bold.woff2') format('woff2'),
    url('../fonts/Inter-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'LFTEticaSheriff-Regular';
  src: url('../fonts/LFTEticaSheriff-Regular.woff2') format('woff2'),
    url('../fonts/LFTEticaSheriff-Regular.ttf') format('truetype');
  font-style: normal;
}


@font-face {
  font-family: 'LFTEticaSheriff-SemiBd';
  src: url('../fonts/LFTEticaSheriff-SemiBd.woff2') format('woff2'),
    url('../fonts/LFTEticaSheriff-SemiBd.ttf') format('truetype');
  font-style: normal;
}

@font-face {
  font-family: 'LFTEticaSheriff-Bold';
  src: url('../fonts/LFTEticaSheriff-Bold.woff2') format('woff2'),
    url('../fonts/LFTEticaSheriff-Bold.ttf') format('truetype');
  font-style: normal;
}

:root {
  --rojo: #C32A26;
  --naranja: #EFA220;
  --marron: #7b3f28;
  --verde: #1F9562;
  --verde2: #024C36;
  --dorado: #EFB810;
  --max-width: 1200px;

  /* Fuentes */
  --font-principal-regular: 'LFTEticaSheriff-Regular', serif;
  --font-principal-semi: 'LFTEticaSheriff-SemiBd', serif;
  --font-principal-bold: 'LFTEticaSheriff-Bold', serif;
  --font-parrafo: 'Inter', sans-serif;

  /* Tamaños de fuente */
  --font-size-title: 60px;
  --font-size-subtitle: 35px;
  --font-size-paragraph: 20px;
}


body {
  font-family: 'Inter', sans-serif;
}

/*SELECCIÓN DE TEXTO*/
/* Cambiar color de selección de texto */
::selection {
  background: var(--rojo);
  color: white;
}

/* Para compatibilidad con Firefox */
::-moz-selection {
  background: var(--rojo);
  color: white;
}


/**************************
  MISIÓN-VISIÓN-PORPÓSITO
***************************/
.mision-vision {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  padding: 50px 0px 50px 0px;
}

.bloque {
  display: flex;
  width: 100%;
  height: auto;
}

.mv-texto {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: white;
  text-align: center;
  margin: 0;
}

.mv-imagen {
  width: 50%;
  object-fit: cover;
  height: auto;
  display: block;
}

/* Colores de fondo */
.vision-bg {
  background-color: var(--naranja);
}

.mision-bg {
  background-color: var(--rojo);
}

/* Tipografía */
.mv-titulo {
  font-family: var(--font-principal-semi);
  font-weight: normal;
  font-size: 50px;
  margin: 0.5em 0 0.3em 0;
}

.mv-parrafo {
  font-family: var(--font-principal-regular);
  font-size: 20PX;
  margin: 0 3em 1em;
}

/* Responsive: solo cambia orden */
@media (max-width: 768px) {
  .bloque {
    flex-direction: column;
  }

  .mv-texto,
  .mv-imagen {
    width: 100%;
  }

  .mv-imagen {
    max-height: 250px;
  }

  /* Visión: imagen arriba, texto abajo */
  .bloque-vision {
    flex-direction: column-reverse;
  }
}

/* -------------------- ANIMACIONES -------------------- */
@keyframes slideInRight {
  0% {
    transform: translateX(100px);
    opacity: 0;
  }

  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInLeft {
  0% {
    transform: translateX(-100px);
    opacity: 0;
  }

  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

.animate-right,
.animate-left {
  opacity: 0;
  transform: translateX(0);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.animate-right.visible {
  animation: slideInRight 1s ease forwards;
}

.animate-left.visible {
  animation: slideInLeft 1s ease forwards;
}

@keyframes fadeInUp {
  0% {
    transform: translateY(40px);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.animate-text {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.animate-text.visible {
  animation: fadeInUp 1s ease forwards;
}