/* =========================
   CONTACT PREMIUM FORM
========================= */

.quote-section-premium {
    padding-top: 40px;
}

.quote-grid-premium {
    align-items: start;
}

.quote-form-premium {
    position: relative;
    padding: 32px;
    border-radius: 30px;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04)),
        linear-gradient(145deg, rgba(11,20,46,.94), rgba(9,15,36,.92));
    border: 1px solid rgba(255,255,255,.10);
    box-shadow: 0 28px 90px rgba(3,8,26,.34);
}

.quote-form-premium::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at top left, rgba(37,201,255,.10), transparent 24%),
        radial-gradient(circle at bottom right, rgba(124,77,255,.12), transparent 30%);
}

.contact-side-cards {
    display: grid;
    gap: 16px;
    margin-top: 26px;
}

.contact-side-card {
    padding: 22px;
    border-radius: 24px;
}

.contact-side-card span {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    margin-bottom: 14px;
    font-weight: 800;
    background: linear-gradient(135deg, rgba(37,201,255,.18), rgba(124,77,255,.18));
    border: 1px solid rgba(255,255,255,.10);
}

.contact-side-card strong {
    display: block;
    font-size: 1.04rem;
    margin-bottom: 8px;
}

.contact-side-card p {
    color: var(--muted);
    margin: 0;
}

.step-progress {
    position: relative;
    z-index: 2;
    margin-bottom: 28px;
}

.step-progress-bar {
    width: 100%;
    height: 8px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.06);
    margin-bottom: 16px;
}

.step-progress-bar span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--blue), var(--blue-2), var(--purple-2));
    transition: width .35s ease;
}

.step-progress-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.step-dot {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.04);
    color: #dbe6ff;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.step-dot.is-active,
.step-dot.is-done {
    background: linear-gradient(135deg, rgba(37,201,255,.22), rgba(124,77,255,.20));
    border-color: rgba(255,255,255,.16);
    color: #fff;
    box-shadow: 0 0 0 6px rgba(37,201,255,.05);
}

.form-step {
    display: none;
    position: relative;
    z-index: 2;
}

.form-step.is-active {
    display: block;
    animation: fadeStep .35s ease;
}

.step-heading {
    margin-bottom: 22px;
}

.step-heading span {
    display: inline-block;
    color: #cfe4ff;
    font-size: .86rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    margin-bottom: 10px;
}

.step-heading h3 {
    font-size: 1.52rem;
    line-height: 1.1;
    margin-bottom: 8px;
}

.step-heading p {
    color: var(--muted);
    margin: 0;
}

.form-group label {
    color: rgba(255,255,255,.88);
    font-weight: 600;
    font-size: .95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(8,14,28,.88) !important;
    color: #ffffff !important;
    outline: none;
    transition: border-color .25s ease, box-shadow .25s ease, background .25s ease, transform .25s ease;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
    -webkit-appearance: none;
    appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #92a2c9;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: rgba(37,201,255,.45);
    background: rgba(10,18,34,.96) !important;
    box-shadow:
        0 0 0 4px rgba(37,201,255,.08),
        0 0 24px rgba(37,201,255,.08);
    transform: translateY(-1px);
}

.select-wrap {
    position: relative;
}

.select-wrap::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 18px;
    width: 10px;
    height: 10px;
    border-right: 2px solid rgba(255,255,255,.72);
    border-bottom: 2px solid rgba(255,255,255,.72);
    transform: translateY(-65%) rotate(45deg);
    pointer-events: none;
}

.custom-select {
    padding-right: 52px !important;
    color-scheme: dark;
}

.custom-select option {
    background: #0b1120 !important;
    color: #ffffff !important;
}

.pack-preview {
    margin-top: 18px;
    padding: 22px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.03));
    border: 1px solid rgba(255,255,255,.08);
}

.pack-preview-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(37,201,255,.10);
    border: 1px solid rgba(37,201,255,.16);
    color: #dbf7ff;
    font-size: .84rem;
    margin-bottom: 12px;
}

.pack-preview strong {
    display: block;
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.pack-preview p {
    color: var(--muted);
    margin: 0;
}

.step-actions {
    display: flex;
    justify-content: flex-end;
    gap: 14px;
    margin-top: 24px;
}

.step-actions-split {
    justify-content: space-between;
}

.form-note {
    text-align: center;
    color: var(--muted);
    font-size: .92rem;
    margin-top: 18px;
}

.alert {
    position: relative;
    z-index: 3;
    margin-bottom: 22px;
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.08);
}

.alert ul {
    margin: 0;
    padding-left: 18px;
}

.alert p {
    margin: 0;
}

.alert-success {
    background: linear-gradient(180deg, rgba(31, 186, 120, 0.16), rgba(31, 186, 120, 0.09));
    border-color: rgba(80, 255, 174, 0.22);
    color: #eafff3;
    box-shadow: 0 12px 35px rgba(31, 186, 120, 0.12);
}

.alert-error {
    background: linear-gradient(180deg, rgba(255, 84, 84, 0.14), rgba(255, 84, 84, 0.08));
    border-color: rgba(255, 120, 120, 0.18);
    color: #ffecec;
    box-shadow: 0 12px 35px rgba(255, 84, 84, 0.10);
}

.success-message-premium {
    padding: 18px 20px;
}

.success-message-premium strong {
    display: block;
    margin-bottom: 8px;
    font-size: 1rem;
    color: #ffffff;
}

.success-message-premium p {
    color: rgba(255,255,255,.88);
    line-height: 1.6;
}

.selected-pack-notice {
    display: none;
    margin-bottom: 22px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(37,201,255,.08);
    border: 1px solid rgba(37,201,255,.14);
    color: #eaf6ff;
    position: relative;
    z-index: 2;
}

.selected-pack-notice span {
    color: #cfe7ff;
    margin-right: 6px;
}

.selected-pack-notice strong {
    color: #fff;
}

@keyframes fadeStep {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 980px) {
    .quote-form-premium {
        padding: 24px;
    }
}

@media (max-width: 768px) {
    .step-progress-steps {
        gap: 10px;
    }

    .step-dot {
        width: 38px;
        height: 38px;
        font-size: .9rem;
    }

    .step-heading h3 {
        font-size: 1.32rem;
    }

    .step-actions,
    .step-actions-split {
        flex-direction: column;
    }

    .step-actions .btn,
    .step-actions-split .btn {
        width: 100%;
    }

    .quote-form-premium {
        padding: 20px;
        border-radius: 24px;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        min-height: 56px;
        border-radius: 16px;
        font-size: 16px;
    }

    .form-group textarea {
        min-height: 160px;
    }

    .pack-preview {
        padding: 18px;
        border-radius: 18px;
    }
}

@media (max-width: 520px) {
    .quote-form-premium {
        padding: 16px;
    }

    .step-heading p {
        font-size: .95rem;
    }

    .contact-side-card {
        padding: 18px;
        border-radius: 20px;
    }
}