:root {
  /* Colores RM Soft */
  --rm-red-dark: #c51112;
  --rm-red: #de070e;
  --rm-purple: #ad52ed;
  --rm-cyan: #5ce6dd;
  --rm-lime: #bfff49;
  --rm-olive: #8ebf20;
  --negro: #393939;
  --blanco: #ececec;
  --sombra-ppal: #c9c9c9;
  --sombra-sec: #ffffff;
  --borde-negro: #00000050;
  --marcado: rgb(127, 195, 255);

  /* Colores adicionales */
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;

  /* Gradientes */
  --gradient-primary: linear-gradient(
    135deg,
    var(--rm-red) 0%,
    var(--rm-red-dark) 100%
  );
  --gradient-secondary: linear-gradient(
    135deg,
    var(--rm-purple) 0%,
    var(--rm-cyan) 100%
  );
  --gradient-bg: linear-gradient(135deg, var(--gray-50) 0%, #f3e8ff 100%);

  /* Sombras */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1),
    0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1),
    0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);

  /* Transiciones */
  --transition: all 0.3s ease;
  --transition-fast: all 0.15s ease;
  --transition-slow: all 0.5s ease;
}

/* Utilidades */
.text-center {
  text-align: center;
}
.text-red {
  color: var(--rm-red);
}
.text-purple {
  color: var(--rm-purple);
}
.text-cyan {
  color: var(--rm-cyan);
}
/* ------------ COLORES------------------ */
.bg-red {
  background-color: var(--rm-red);
}
.bg-purple {
  background-color: var(--rm-purple);
}
.bg-cyan {
  background-color: var(--rm-cyan);
}
.bg-lime {
  background-color: var(--rm-lime);
}
.bg-orange {
  background-color: #f97316;
}
.bg-yellow {
  background-color: #eab308;
}
.bg-green {
  background-color: #22c55e;
}
.bg-blue {
  background-color: #3b82f6;
}
.bg-gray {
  background-color: var(--gray-500);
}
.bg-white {
  background-color: var(--white);
}

/* ----------------------- Animaciones -----------------------*/
@keyframes show {
  from {
    opacity: 0.2;
    scale: 10%;
  }
  to {
    opacity: 1;
    scale: 100%;
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInDown {
  from {
    transform: translate3d(0, -100%, 0);
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes floatDelayed {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* Movimiento logos empresas */
@keyframes marquee {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes gradientShift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Focus states para accesibilidad */
.btn:focus,
.nav-link:focus,
.modal-close:focus,
.tab-btn:focus,
.indicator:focus,
.carousel-btn:focus {
  outline: 2px solid var(--rm-red);
  outline-offset: 2px;
}
/* -------------CUERPO DEL HTML ------------------ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/* Base */
html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
  /* overflow-x: hidden; */
}

a {
  text-decoration: none;
  color: inherit; /* Hereda el color del padre (útil para íconos) */
}
/* -------------------------------------------------------------- */

/* SECCIONES */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 1.3rem;
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
  color: var(--gray-700);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--rm-red);
  transform: scale(1.05);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -0.25rem;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--rm-red);
  transition: var(--transition);
}

.nav-link:hover::after {
  width: 100%;
}
/* SECCIONES DE PAGINA */
