/* Botón moderno con colores de marca y efecto hover */
.btn-modern {
    background: #db9ca7; /* Color principal */
    color: white;
    border: none;
    padding: 14px 32px;
    font-size: 18px;
    border-radius: 40px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(37, 117, 252, 0.4);
    transition: all 0.3s ease;
    font-weight: 700;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  }
  .btn-modern:hover {
    background:#db9ca7; 
    box-shadow: 0 15px 25px #eed0d5;
    transform: translateY(-4px);
  }

  /* Fondo superpuesto semi-transparente */
  .overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 20px;
  }
  .overlay.active {
    display: flex;
  }

  /* Contenedor del pop-up con bordes redondeados y sombra */
  .popup {
    background: #fff;
    border-radius: 16px;
    max-width: 420px;
    width: 100%;
    padding: 35px 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    text-align: center;
    position: relative;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    transform: translateY(-40px);
    opacity: 0;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .overlay.active .popup {
    transform: translateY(0);
    opacity: 1;
  }

  /* Tipografía jerarquizada */
  .popup h2 {
    margin-bottom: 18px;
    font-weight: 800;
    font-size: 28px;
    color: #222;
    letter-spacing: 0.03em;
  }
  .popup p {
    font-size: 17px;
    color: #555;
    line-height: 1.5;
    margin-bottom: 28px;
  }

  /* Botón Aceptar dentro del pop-up */
  .popup .btn-cta {
    background: #db9ca7;
    color: white;
    border: none;
    padding: 12px 28px;
    font-size: 18px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 700;
    transition: background-color 0.3s ease;
  }
  .popup .btn-cta:hover {
    background: #db9ca7;
  }

  /* Adaptación móvil */
  @media (max-width: 480px) {
    .popup {
      padding: 25px 20px;
    }
    .popup h2 {
      font-size: 24px;
    }
    .btn-modern, .popup .btn-cta {
      font-size: 16px;
      padding: 12px 24px;
    }
  }