    :root {
      --blanco: #ffffff;
      --blanco-opaco: #f4f4f4;
      --rojo: #ff0000;
      --gris-claro: #969696;
      --gris-oscuro: #666666;
      --sombra: rgba(0, 0, 0, 0.1);
    }
    
    body {
      background-color: var(--blanco);
      font-family: 'Exo 2', sans-serif;
      animation: fadeIn 0.6s ease-in;
    }

    a {
        text-decoration: none !important;
    }

    hr {
      color:white
    }
    /* Animación de carga */
    @keyframes fadeIn {
      from {opacity: 0;}
      to {opacity: 1;}
    }

    /* ====== NAVBAR ====== */
    .navbar {
      background-color: var(--blanco-opaco);
      border-bottom: 2px solid var(--gris-claro);
      box-shadow: 0 2px 5px var(--sombra);
    }
    .navbar-nav .nav-link {
      color: var(--rojo);
      font-weight: 600;
      transition: color 0.3s ease;

    }
    .nav-item{
      padding: 8px;
    }
    .navbar-nav {
      color: #ff0000;
    }
    .nav-link:hover {
      color: #cc0000;
    }
    .btn-menu {
      background-color: var(--rojo);
      color: var(--blanco);
      border-radius: 8px;
      padding: 5px 12px;
      border: none;
      transition: background 0.3s ease;
    }
    .btn-menu:hover {
      background-color: #cc0000;
    }

    /* ====== OFFCANVAS ====== */
    .offcanvas-header {
      background-color: var(--rojo);
      color: var(--blanco);
    }
    .offcanvas-body .btn {
      width: 100%;
      margin-bottom: 10px;
      font-weight: 600;
      border-radius: 8px;
      background-color: var(--rojo);
      color: var(--blanco);
      transition: background 0.3s ease;
    }
    .offcanvas-body {
      background-color: #ff0000;
    }
    .btn:hover {
      background-color: #cc0000;
    }
    /* ====== TITULOS ====== */
    h1 {
      font-size: clamp(28px, 4vw, 40px);
      font-weight: 800;
      color: var(--gris-oscuro);
    }
    h3, h4 {
      font-weight: 600;
      color: var(--gris-oscuro);
    }
    .text-danger {
      color: #ff0000 !important;
      transition: 0.3s ease;
    }
    .text-danger:hover {
      color: #cc0000 !important;
    }

    /* ====== FORMULARIO ====== */
    .card {
      border-radius: 12px;
      box-shadow: 0 4px 10px var(--sombra);
      background-color: var(--blanco-opaco);
      transition: transform 0.3s ease;
    }
    .card:hover {
      transform: translateY(-3px);
    }
    .form-control {
      border-radius: 8px;
      border: 1px solid var(--gris-claro);
    }f
    .btn-danger {
      background-color: var(--rojo);
      border-radius: 8px;
      font-weight: 600;
      transition: background 0.3s ease;
    }
    .btn-danger:hover {
      background-color: #cc0000;
    }

    /* ====== FOOTER ====== */
    footer {
        background-color: var(--blanco-opaco);
    }
    footer a {
        color: var(--gris-oscuro);
    }
    footer a:hover {
        color: var(--rojo);
    }
    footer h5 {
      margin-bottom: 1rem;
      font-weight: 700;
      color: var(--rojo);
    }
    .copy {
      color: var(--gris-claro);
    }

    /* ====== PLACEHOLDER IMAGEN ====== */
    .placeholder-img {
      background-color: var(--blanco-opaco);
      border: 0.5px solid var(--blanco-opaco);
      border-radius: 12px;
      box-shadow: 0 2px 6px var(--sombra);
      overflow: hidden;
    }
    .placeholder-img img {
      max-width: 100%;
      height: auto;
      display: block;
    }


    /* Igual altura solo en pantallas medianas y grandes */
@media (min-width: 768px) {
  .row.align-items-stretch {
    display: flex;
  }
  .placeholder-img {
    display: flex;
  }
  .placeholder-img img {
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
  .col-md-5.d-flex {
    display: flex;
  }
  .col-md-5.d-flex .card {
    flex: 1;
  }
}
