/* Quote page: inherit Contact / theme styles. Only quote-specific layout remains. */

.pi-quote,
.pi-quote .container,
.pi-quote .box-form-contact,
.pi-quote .form-control,
.pi-quote select.form-control,
.pi-quote textarea.form-control {
    box-sizing: border-box;
}

.pi-quote__hero-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    border-radius: 16px;
    color: #1d4ed8;
    background: linear-gradient(145deg, #eff6ff 0%, #dbeafe 55%, #e0e7ff 100%);
    border: 1px solid rgba(59, 130, 246, 0.22);
    box-shadow: 0 10px 24px -16px rgba(37, 99, 235, 0.45);
}

.pi-quote__hero-icon svg {
    display: block;
}

.pi-quote .box-form-contact {
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
}

.pi-quote .form-group {
    margin-bottom: 16px;
}

.pi-quote .pi-quote__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 16px;
}

.pi-quote .pi-quote__field--wide {
    grid-column: 1 / -1;
}

.pi-quote textarea.form-control {
    height: auto;
    min-height: 110px;
}

.pi-quote .pi-quote__block + .pi-quote__block {
    margin-top: 28px;
    padding-top: 28px;
    border-top: 1px solid #e2e8f0;
}

.pi-quote .pi-quote__block h2 {
    font-size: 22px;
    line-height: 28px;
}

.pi-quote .pi-quote__block--choice,
.pi-quote .pi-quote__block + .pi-quote__block--choice {
    margin-top: 28px;
    padding: 24px 24px 20px;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #0A0A0A;
    border-radius: 16px;
    background: #f8fafc;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.pi-quote .pi-quote__choice-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 8px 24px;
    align-items: start;
}

.pi-quote .pi-quote__choice-type {
    margin-bottom: 0;
}

.pi-quote .box-form-contact .form-control,
.pi-quote .box-form-contact .contact-form-input,
.pi-quote .box-form-contact .iti .contact-form-input.form-control {
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    color: #3c3c43 !important;
    background: #ffffff !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
}

.pi-quote .box-form-contact .contact-form-input::placeholder,
.pi-quote .box-form-contact .iti .contact-form-input.form-control::placeholder {
    color: #9ca3af !important;
    opacity: 1;
}

.pi-quote .box-form-contact .form-control:focus,
.pi-quote .box-form-contact .contact-form-input:focus,
.pi-quote .box-form-contact .iti .contact-form-input.form-control:focus {
    border-color: #3b82f6 !important;
    outline: none !important;
}

.pi-quote .box-form-contact select.contact-form-input {
    min-height: 54px;
    padding: 12px 36px 12px 14px !important;
    cursor: pointer;
    background-color: #ffffff !important;
    appearance: menulist !important;
    -webkit-appearance: menulist !important;
}

.pi-quote .pi-quote__urgency {
    margin: 0;
    border: 0;
    padding: 0;
    min-width: 0;
}

.pi-quote .pi-quote__chips,
.pi-quote .pi-quote__types {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pi-quote .pi-quote__chip,
.pi-quote .pi-quote__type {
    cursor: pointer;
    margin: 0;
}

.pi-quote .pi-quote__chip input,
.pi-quote .pi-quote__type input,
.pi-quote .pi-quote__hp {
    position: absolute;
    left: -9999px;
}

.pi-quote .pi-quote__chip span,
.pi-quote .pi-quote__type span {
    display: inline-flex;
    padding: 10px 14px;
    border-radius: 15px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #3c3c43;
    font-size: 14px;
    font-weight: 600;
}

.pi-quote .pi-quote__chip input:checked + span,
.pi-quote .pi-quote__type input:checked + span {
    background: #0A0A0A;
    border-color: #0A0A0A;
    color: #ffffff;
}

.pi-quote .form-control,
.pi-quote select.form-control,
.pi-quote textarea.form-control {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
}

[data-pi-quote-panel][hidden] {
    display: none !important;
}

.pi-quote .pi-quote__privacy {
    display: flex;
    justify-content: center;
    margin-top: 36px;
    margin-bottom: 24px;
}

.pi-quote .pi-quote__privacy .form-check {
    width: auto;
    max-width: 100%;
    padding-left: 0;
    margin-bottom: 0;
}

.pi-quote .pi-quote__privacy .form-check-input,
.pi-quote .pi-quote__privacy .form-check-input.contact-form-input[type="checkbox"] {
    float: none;
    margin: 0 !important;
    flex-shrink: 0;
    min-height: 0 !important;
    width: 1.125rem !important;
    height: 1.125rem !important;
    padding: 0 !important;
    appearance: none;
    -webkit-appearance: none;
    background-color: #ffffff !important;
    border: 1.5px solid #0A0A0A !important;
    border-radius: 4px !important;
    accent-color: #0A0A0A;
    box-shadow: none !important;
    outline: none !important;
    cursor: pointer;
}

.pi-quote .pi-quote__privacy .form-check-input:focus,
.pi-quote .pi-quote__privacy .form-check-input:focus-visible,
.pi-quote .pi-quote__privacy .form-check-input.contact-form-input[type="checkbox"]:focus,
.pi-quote .pi-quote__privacy .form-check-input.contact-form-input[type="checkbox"]:focus-visible {
    border-color: #0A0A0A !important;
    box-shadow: none !important;
    outline: none !important;
}

.pi-quote .pi-quote__privacy .form-check-input:checked,
.pi-quote .pi-quote__privacy .form-check-input.contact-form-input[type="checkbox"]:checked {
    background-color: #0A0A0A !important;
    border-color: #0A0A0A !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.5l3 3 6-6'/%3E%3C/svg%3E") !important;
    background-size: 12px 12px !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

.pi-quote .box-form-contact .btn.btn-brand-1-full,
.pi-quote .box-form-contact .btn.btn-brand-1-full:hover,
.pi-quote .box-form-contact .btn.btn-brand-1-full:focus,
.pi-quote .box-form-contact .btn.btn-brand-1-full:focus-visible,
.pi-quote .box-form-contact .btn.btn-brand-1-full:active {
    background: #0A0A0A !important;
    border-color: #0A0A0A !important;
    color: #ffffff !important;
}

.pi-quote .box-form-contact .btn.btn-brand-1-full {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto !important;
    min-width: 220px;
    max-width: 100%;
    min-height: 50px;
    margin-left: auto;
    margin-right: auto;
    padding: 12px 28px !important;
    border-radius: 15px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.1 !important;
    transition: transform 0.22s ease, background-color 0.22s ease, border-color 0.22s ease !important;
}

.pi-quote .box-form-contact .btn.btn-brand-1-full:hover,
.pi-quote .box-form-contact .btn.btn-brand-1-full:focus-visible,
.pi-quote .box-form-contact .btn.btn-brand-1-full:active {
    background: #111111 !important;
    border-color: #111111 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
}

.pi-quote .box-form-contact form.pi-quote__form {
    text-align: center;
}

.pi-quote .box-form-contact form.pi-quote__form > .pi-quote__block,
.pi-quote .box-form-contact form.pi-quote__form > .pi-quote__hp {
    text-align: left;
}

.pi-quote .btn.btn-brand-1-full:disabled {
    opacity: 0.72;
    cursor: wait;
    transform: none;
}

@media (max-width: 767px) {
    .pi-quote .pi-quote__grid,
    .pi-quote .pi-quote__choice-grid {
        grid-template-columns: 1fr;
    }

    .pi-quote .pi-quote__block--choice,
    .pi-quote .pi-quote__block + .pi-quote__block--choice {
        padding: 18px 16px 16px;
    }

    .pi-quote .box-form-contact .btn.btn-brand-1-full {
        width: 100% !important;
        min-width: 0;
    }
}
