/* ============================================================
   DQ VISA & EVENTS — PREMIUM UI COMPONENTS
   ============================================================ */

/* ─── BUTTONS ─────────────────────────────────────────────── */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--r-full);
    font-size: var(--t-sm);
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
    cursor: pointer;
    border: 1.5px solid transparent;
    white-space: nowrap;
    min-height: 48px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn:hover::before { opacity: 1; }

.btn-primary {
    background: var(--c-primary);
    color: var(--c-gold);
    border-color: var(--c-primary);
}

.btn-primary:hover {
    background: var(--c-primary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(42, 10, 11, 0.25);
}

.btn-gold {
    background: var(--c-gold);
    color: var(--c-primary);
}

.btn-gold:hover {
    background: var(--c-gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(201, 162, 39, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--c-primary);
    border-color: var(--c-primary);
}

.btn-outline:hover {
    background: var(--c-primary);
    color: var(--c-gold);
    transform: translateY(-2px);
}

.btn-outline-gold {
    background: transparent;
    color: var(--c-gold);
    border-color: rgba(201, 162, 39, 0.5);
}

.btn-outline-gold:hover {
    background: var(--c-gold);
    color: var(--c-primary);
    border-color: var(--c-gold);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 10px 22px;
    font-size: var(--t-xs);
    min-height: 38px;
}

.btn-lg {
    padding: 18px 44px;
    font-size: var(--t-base);
}

/* ─── CARDS ───────────────────────────────────────────────── */

.card {
    background: var(--c-white);
    border-radius: var(--r-xl);
    box-shadow: var(--sh-sm);
    border: 1px solid var(--c-border-subtle);
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.card-hover:hover {
    transform: translateY(-6px);
    box-shadow: var(--sh-lg);
    border-color: rgba(201, 162, 39, 0.15);
}

.card-body { padding: 28px; }

.card-header {
    padding: 22px 28px;
    border-bottom: 1px solid var(--c-border-subtle);
}

.card-footer {
    padding: 20px 28px;
    border-top: 1px solid var(--c-border-subtle);
    background: var(--c-cream);
}

/* ─── BADGES ──────────────────────────────────────────────── */

.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: var(--r-full);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.badge-maroon {
    background: rgba(42, 10, 11, 0.06);
    color: var(--c-primary);
}

.badge-gold {
    background: rgba(201, 162, 39, 0.1);
    color: var(--c-gold-dark);
}

/* ─── DIVIDER ─────────────────────────────────────────────── */

.divider-gold {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 162, 39, 0.3), transparent);
    border: none;
    margin: 44px 0;
}

/* ─── FORMS ───────────────────────────────────────────────── */

.form-group { margin-bottom: 20px; }

.form-label {
    display: block;
    font-size: var(--t-xs);
    font-weight: 600;
    color: var(--c-primary);
    margin-bottom: 8px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid var(--c-border-subtle);
    border-radius: var(--r-md);
    font-family: var(--f-body);
    font-size: var(--t-base);
    background: var(--c-cream);
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--c-gold);
    box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.08);
    background: var(--c-white);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* ─── WHATSAPP FLOAT ──────────────────────────────────────── */

/* ─── BACK TO TOP ─────────────────────────────────────────── */

.back-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9990;
    width: 48px;
    height: 48px;
    background: var(--c-primary);
    color: var(--c-gold);
    border: none;
    border-radius: var(--r-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(42, 10, 11, 0.25);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease, background 0.3s ease, color 0.3s ease;
}

.back-to-top:hover {
    background: var(--c-gold) !important;
    color: var(--c-primary) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 28px rgba(201, 162, 39, 0.3);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
}

/* ─── WHATSAPP FLOAT ──────────────────────────────────────── */

.wa-float {
    position: fixed;
    bottom: 28px;
    left: 28px;
    z-index: var(--z-sticky);
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: var(--r-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
    transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
    cursor: pointer;
}

.wa-float:hover {
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45);
}

/* ─── OVERLAY ─────────────────────────────────────────────── */

.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: var(--z-overlay);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.overlay.active { display: flex; }

.modal {
    background: var(--c-white);
    border-radius: var(--r-2xl);
    max-width: 580px;
    width: 100%;
    max-height: 88vh;
    overflow-y: auto;
    box-shadow: var(--sh-xl);
}
