/* ─────────────────────────────────────────
   RESET
───────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ─────────────────────────────────────────
   BASE
───────────────────────────────────────── */
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Open Sans", Helvetica, Arial, sans-serif;
  color: #444;
  background: #fff;
  font-size: 15px;
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ─────────────────────────────────────────
   CONTENEDOR GLOBAL
───────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

/* ─────────────────────────────────────────
   ANIMACIONES
───────────────────────────────────────── */

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.animate-fade-down {
  animation: fadeInDown 0.8s ease-out forwards;
}

.animate-fade-up {
  animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fade {
  animation: fadeIn 0.8s ease-out forwards;
}

/* DELAYS */
.delay-0 {
  animation-delay: 0s;
}

.delay-1 {
  animation-delay: 0.15s;
}

.delay-2 {
  animation-delay: 0.3s;
}

.delay-3 {
  animation-delay: 0.45s;
}

.delay-4 {
  animation-delay: 0.6s;
}

.delay-5 {
  animation-delay: 0.75s;
}

/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */

/* LAPTOP */
@media (max-width: 1200px) {
  body {
    font-size: 14px;
  }
}

/* TABLET */
@media (max-width: 992px) {
  body {
    font-size: 14px;
  }

  .container {
    padding: 0 16px;
  }
}

/* MOBILE */
@media (max-width: 768px) {
  body {
    font-size: 13px;
    line-height: 1.6;
  }

  .container {
    padding: 0 14px;
  }

  h1 {
    font-size: 30px;
  }

  h2 {
    font-size: 26px;
  }

  h3 {
    font-size: 22px;
  }
}

/* MOBILE PEQUEÑO */
@media (max-width: 480px) {
  body {
    font-size: 12px;
  }

  .container {
    padding: 0 12px;
  }

  h1 {
    font-size: 26px;
  }

  h2 {
    font-size: 22px;
  }

  h3 {
    font-size: 18px;
  }
}
