
/* comparar_responsive.css */

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

@media (max-width: 768px) {
html, body {
  background-color: #e7e3da !important; /* color de fondo base de PQIA */
  background-image: url("/static/img/p_fondo_responsive_unificado.png") !important;
  background-size: contain !important;
  background-position: center top !important;
  background-repeat: no-repeat !important;
  background-attachment: fixed !important;
  min-height: 100vh;
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden !important;
  display: flex;
  flex-direction: column;
}


  main {
  flex: 1;
}

.container {
  width: 90% !important;
  max-width: 280px !important;
  margin: 100px auto 40px auto !important;
  padding: 25px 20px !important;
  background-color: rgba(255, 255, 255, 0.35) !important;
  border-radius: 15px !important;
  text-align: center !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;

  /* Centrado 100% seguro y limpio */
  position: static !important;
  left: unset !important;
  transform: unset !important;
}s


  .intro-principal h1 {
    font-size: 11.5px;
    line-height: 1.3;
  }

  .intro-principal p {
    font-size: 10px;
    margin-top: 4px;
  }

  .card h2,
  .card h3,
  .card h4 {
    font-size: 13px;
  }

  .card p {
    font-size: 11px;
    text-align: justify;
  }

  .tabla-wrapper table {
    font-size: 11px;
  }

  .tabla-wrapper th {
    font-size: 10.5px;
    padding: 6px;
  }

  .tabla-wrapper td {
    font-size: 10.5px;
    padding: 4px;
  }


  .card.titulo-comparar h2 {
    font-family: 'Raleway', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #375e65; /* verde petróleo PQIA */
    text-align: center;
    margin: 0;
  }

  .tabla-wrapper td:first-child {
    color: #49486a;
    font-weight: 600; /* opcional, para mejor contraste */
  }


  .btn-cta {
    font-size: 10px;
    padding: 6px 10px;
    width: 100%;
  }

 .footer {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    background-color: transparent !important; /* o igual al body si prefieres */
    width: 100%;
    }


  /* ✅ Redes sociales (parte inferior centrada) */
  .redes-sociales {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px !important;
    margin-bottom: 4px !important;     /* acercar iconos al final de la ventana */
  }

  .redes-sociales img {
    width: 18px; 
    height: 18px; 
    transition: transform 0.3s ease;
  }

  .redes-sociales img:hover {
    transform: scale(1.2);
  }

  /* ✅ Marca registrada centrada abajo */
  .marca-registrada {
    font-size: 7px !important;               /* ⬅️ igual que en login o registro */
    color: #807e78 !important;
    text-align: center;
    opacity: 0.8;
    margin-bottom: 3px !important;
    font-family: 'Urbanist', sans-serif;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Ajuste visual específico solo para el icono de Shorts */
  .redes-sociales img[src*="youtube_shorts"] {
    width: 22px !important;
    height: auto;
    transform: translateY(1px);
  }



body.comparar {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
  overflow-x: hidden !important;
}


  /* Hace que se vea el logo: colibrí+pqia.app */
  body.principal .logo-superior {
    display: block !important;
  }

  .menu-icon {
    top: 20px;
    left: 20px;
    width: 26px;
  }

  .menu-tooltip-wrapper {
    top: 15px;
    left: 15px;
  }

  .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;
  }
  
  
  /* Hace que se vea el logo: colibrí+pqia.app */
  body.principal .logo-superior {
  display: block !important;
}

  .logo-superior {
    display: none !important;
  }
 

   /* 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;
}

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

}
