

/* principal_responsive.css */

/* ========================= */
/* 🔁 ESTILOS RESPONSIVE     */
/* ========================= */

/* === Adaptación Responsive para móviles y tablets === */
@media screen and (max-width: 768px) {

  body {
    background-image: url("/static/img/p_fondo_responsive_unificado.png"); /* cambia si tienes otro fondo */
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    margin: 0;
    padding: 0;
    background-color: #e7e3da;
    max-width: 100vw;
    overflow-x: hidden;
  }

  .contenedor {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 80%;
    max-width: 350px;
    margin: 90px auto 40px auto;
    margin-left: 18px !important; /* hacia la izquierda */
    padding: 18px 16px;
    border-radius: 16px;
    background-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    gap: 0 !important;
    z-index: 5;
  }

  .contenedor > p:first-child {
    margin-bottom: 4px !important;
  }

  .card {
    padding: 12px 16px;
    margin: 8px 0;
    border-radius: 14px;
  }

  .card:first-of-type {
    margin-top: 4px !important;
  }

  .card + .card {
    margin-top: 10px !important;
  }

  .titulo-bienvenida {
    font-size: 18px;
  }

  .subtitulo-bienvenida {
    font-size: 13px;
  }

  .card p {
    font-size: 12px;
    text-align: left;
  }

  button {
    font-size: 11px;
    padding: 10px;
    margin-top: 10px;
  }

  /* Botón estilizado para “Empieza ahora” */
  .boton-empezar {
    font-size: 10px;
    width: 220px;
    padding: 8px 0;
    background-color: #8b1f14;
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    margin: 10px auto;
    display: block;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }

  .boton-empezar:hover {
    background-color: #a32419;
  }

  .registro-flotante {
    position: fixed;
    top: 22.5px;
    right: 30px;
    z-index: 20;
  }

  .registro-boton-superior {
    font-size: 9px;
    width: 280px;
    padding: 6px 0;
    background-color: #8b1f14;
    color: white;
    border: none;
    border-radius: 50px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: background-color 0.3s ease;
  }

  .registro-boton-superior:hover {
    background-color: #a32419;
  }

  
  /* ✅ MENÚ */
  .menu-icon {
    position: fixed;
    top: 20px;
    left: 20px;
    width: 29px;
    height: 29px;
    z-index: 100;
  }

  .menu-tooltip-wrapper {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 10;
  }

  .side-menu {
    width: 50vw;
    left: -50vw;
  }

  .side-menu li a {
    font-size: 12px;
    padding: 8px 0;
  }

  .side-menu li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
  }


  .barra-superior {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    z-index: 100;
  }


  .redes-sociales {
    position: absolute !important;
    bottom: 20px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    gap: 50px !important;
    z-index: 10 !important;
    margin-bottom: 8px !important;
  }

  .redes-sociales img {
    width: 18px;
    height: 18px;
  }

  .marca-registrada {
    position: absolute !important;
    bottom: 6px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    font-size: 9px !important;
    opacity: 0.8 !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
    margin-bottom: 2px !important;
  }

  .redes-sociales img[src*="youtube_shorts"] {
    width: 20px;
    transform: translateY(1px);
  }


   /* logo: colibrí+pqia.app, al lado del menú */
  .logo-responsive {
    display: block !important;
    position: absolute !important;
    top: 16px !important;
    left: 50% !important;                     /* Centrado horizontal */
    transform: translateX(-50%) !important;  /* Corrige el centrado */
    width: auto !important;
    height: auto !important;
    z-index: 10;
  }

  .logo-colibri-responsive {
    width: 225px  !important;      /* 🔽 Tamaño más pequeño del logo */
    max-width: 38vw  !important;
    height: auto;
  }

  body.principal .logo-responsive {
    transform: translateX(-43%) !important;
  }


    /* Oculta el botón de ayuda en responsive */
  .boton-ayuda {
    display: none !important;
  }
    }
