/* =========================================================
   Funtour – Botón flotante de WhatsApp + modales
   ========================================================= */

/* ---- Botón flotante ---- */
.funtour-wa-btn {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 99999;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    background: #25d366;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.15s ease;
}

.funtour-wa-btn:hover {
    background: #1ebe5d;
    transform: scale(1.06);
}

.funtour-wa-btn:focus {
    outline: 3px solid rgba(37, 211, 102, 0.5);
    outline-offset: 2px;
}

/* ---- Modales ---- */
.funtour-wa-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99998;
    background: rgba(0, 0, 0, 0.55);
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.funtour-wa-modal.funtour-wa-open {
    display: flex;
}

.funtour-wa-modal-box {
    position: relative;
    width: 100%;
    max-width: 400px;
    background: #fff;
    border-radius: 10px;
    padding: 28px 24px 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #1a1a1a;
}

.funtour-wa-close {
    position: absolute;
    top: 10px;
    right: 14px;
    border: none;
    background: none;
    font-size: 24px;
    line-height: 1;
    color: #666;
    cursor: pointer;
    padding: 4px;
}

.funtour-wa-close:hover {
    color: #000;
}

.funtour-wa-modal-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 18px;
    line-height: 1.4;
}

/* ---- Opciones de zona ---- */
.funtour-wa-zone-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.funtour-wa-zone-btn {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    text-align: left;
    border: 2px solid #25d366;
    background: #fff;
    border-radius: 8px;
    padding: 14px 16px;
    cursor: pointer;
    transition: background 0.15s ease;
}

.funtour-wa-zone-btn:hover {
    background: #eafaf0;
}

.funtour-wa-zone-name {
    font-size: 15px;
    font-weight: 700;
    color: #128c4a;
}

.funtour-wa-zone-desc {
    font-size: 12px;
    color: #666;
}

/* ---- Formulario ---- */
.funtour-wa-field {
    margin-bottom: 14px;
}

.funtour-wa-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #1a1a1a;
}

.funtour-wa-input {
    display: block;
    width: 100%;
    height: 42px;
    padding: 0 12px;
    font-size: 15px;
    color: #1a1a1a;
    background: #fff;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.funtour-wa-input:focus {
    border-color: #25d366;
    box-shadow: 0 0 0 2px rgba(37, 211, 102, 0.2);
}

.funtour-wa-input.funtour-wa-invalid {
    border-color: #c62828;
    box-shadow: 0 0 0 2px rgba(198, 40, 40, 0.15);
}

.funtour-wa-error {
    display: block;
    font-size: 12px;
    color: #c62828;
    margin-top: 4px;
}

.funtour-wa-submit {
    width: 100%;
    height: 44px;
    margin-top: 6px;
    border: none;
    border-radius: 4px;
    background: #25d366;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s ease;
}

.funtour-wa-submit:hover {
    background: #1ebe5d;
}

.funtour-wa-submit:disabled {
    background: #90caf9;
    cursor: not-allowed;
}

/* ---- Responsive ---- */
@media (max-width: 480px) {
    .funtour-wa-btn {
        width: 54px;
        height: 54px;
        right: 14px;
        bottom: 14px;
    }
}
