
    /* hasta acá llega el css de estilo de menú
    main {
      padding: 1rem;
      padding-bottom: 8rem;
      max-width: 80%;
      margin: 0 auto;
      flex-grow: 1;
      width: 100%;        /* Se adapta al ancho disponible 
  box-sizing: border-box;


    }

    */

/* Tablets (pantallas medianas) */
@media (max-width: 768px) {
  main {
    padding: 1rem;
    max-width: 95%;   /* Un poco más de ancho en tablets */
    padding-bottom: 6rem;
  }
}

/* Celulares (pantallas pequeñas) */
@media (max-width: 480px) {
  main {
    padding: 0.5rem;
    max-width: 100%;  /* Ocupa todo el ancho en móviles */
    padding-bottom: 4rem;
  }
}

    h2 {
      margin-top: 25px;
      text-align: center;
      color: #0288d1;
      margin-bottom: 2rem;
      font-size: 1.6rem;
    }
    .tour-list {
      display: grid;
      grid-template-columns: 1fr;
      gap: 1.8rem;
    }
    .tour-item {
      background: white;
      border-radius: 10px;
      box-shadow: 0 2px 10px rgba(0,0,0,0.1);
      overflow: hidden;
      transition: transform 0.3s;
    }
    .tour-item:hover {
      transform: scale(1.02);
    }
    .tour-item img {
      width: 100%;
      max-height: 180px;
      object-fit: cover;
    }
    .tour-content {
      padding: 1rem 1.5rem;
    }
    .tour-content h3 {
      color: #01579b;
      font-size: 1.4rem;
      margin-bottom: 0.5rem;
    }
    .history {
      font-style: italic;
      color: #555;
      margin-bottom: 0.5rem;
    }
    .description {
      line-height: 1.4;
    }

    footer {
      background: #01579b;
      color: white;
      text-align: center;
      padding: 1rem;
      box-shadow: 0 -2px 5px rgba(0,0,0,0.2);
      position: relative;
      z-index: 50;
    }
    .footer-menu {
      display: flex;
      justify-content: center;
      gap: 1.5rem;
      margin-bottom: 0.8rem;
      flex-wrap: wrap;
    }
    .footer-menu a {
      color: white;
      font-weight: 600;
      text-decoration: none;
      font-size: 1rem;
    }
    .footer-menu a:hover {
      color: #80d8ff;
      text-decoration: underline;
    }

    .contactanos-btn {
      position: fixed;
      bottom: 70px;
      right: 20px;
      background: #28a745;
      color: white;
      border: none;
      border-radius: 30px;
      padding: 0.8rem 1.5rem;
      font-size: 1rem;
      font-weight: bold;
      cursor: pointer;
      box-shadow: 0 5px 15px rgba(0,0,0,0.3);
      animation: pulse 2s infinite;
      z-index: 1000;
    }
    .contactanos-btn:hover {
      background: #218838;
    }
    @keyframes pulse {
      0% { transform: scale(1); }
      50% { transform: scale(1.08); }
      100% { transform: scale(1); }
    }

    .modal {
      display: none;
      position: fixed;
      z-index: 2000;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.6);
      justify-content: center;
      align-items: center;
      padding: 1rem;
    }
    .modal-content {
      background-color: white;
      padding: 2.5rem 1.5rem 1.5rem;
      border-radius: 12px;
      max-width: 480px; /* Más ancho para pantallas grandes */
      width: 100%; /* Ocupa todo el ancho disponible hasta max-width */
      text-align: center;
      position: relative;
      box-shadow: 0 4px 20px rgba(0,0,0,0.25);
    }
    .modal-content button {
      display: block;
      margin: 0.5rem auto;
      padding: 0.7rem 1.2rem;
      border: none;
      border-radius: 8px;
      font-size: 1rem;
      font-weight: bold;
      cursor: pointer;
      width: 90%;
    }
    .whatsapp {
      background-color: #25D366;
      color: white;
      margin-top: 2rem;
      z-index: 1;
    }
    .whatsapp:hover {
      background-color: #1ebe5d;
    }
    .correo {
      background-color: #0288d1;
      color: white;
    }
    .correo:hover {
      background-color: #0277bd;
    }
    /* Quitamos el botón X, por lo tanto ocultamos su estilo */

    @media (max-width: 768px) {
      main {
        max-width: 95%;
        padding-bottom: 2rem;
      }
      .tour-content h3 { font-size: 1.3rem; }
      .history, .description { font-size: 0.95rem; }
      .modal-content {
        max-width: 90%; /* En pantallas pequeñas el modal se ajusta mejor */
      }
    }
    @media (max-width: 480px) {
      header h1 { font-size: 1.5rem; }
      nav.menu, .footer-menu { gap: 1rem; }
      nav.menu a, .footer-menu a { font-size: 0.9rem; }
      h2 { font-size: 1.3rem; }
      .tour-item img { max-height: 140px; }
      .contactanos-btn {
        bottom: 90px;
        right: 15px;
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
      }
    }