/* Request for quotation — Matrix HSE inquiry look */

.quote-page {
    font-family: 'Outfit', sans-serif;
    background: #f4f5f7;
    color: var(--text-primary, #1a1a1a);
}

.quote-hero {
    padding: 108px 24px 40px;
    background: linear-gradient(160deg, #151820 0%, #1c1f2a 52%, #1a1e2b 100%);
    text-align: center;
}

.quote-hero-inner {
    max-width: 760px;
    margin: 0 auto;
}

.quote-hero-badge {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 14px;
    border-radius: 999px;
    background: rgba(180, 74, 63, 0.18);
    color: #f3c2bd;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.quote-hero h1 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    color: #fff;
    margin: 0;
    letter-spacing: -0.02em;
}

.quote-hero-accent {
    color: var(--brand-primary, #b44a3f);
}

.quote-hero-subtitle {
    margin: 0 auto;
    max-width: 640px;
    font-size: 16px;
    line-height: 1.65;
    color: #9ca3af;
}

.quote-main {
    max-width: 920px;
    margin: 0 auto;
    padding: 36px 20px 88px;
}

.quote-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-lg, 20px);
    box-shadow: var(--shadow-md, 0 4px 16px rgba(0, 0, 0, 0.12));
    overflow: hidden;
}

.quote-banner {
    padding: 16px 20px;
    border-radius: var(--radius-md, 12px);
    margin-bottom: 22px;
    font-size: 15px;
    line-height: 1.5;
}

.quote-banner--ok {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.quote-banner--err {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.quote-section {
    padding: 28px 32px;
    border-bottom: 1px solid #e5e7eb;
}

.quote-section:last-of-type {
    border-bottom: none;
}

.quote-section-title {
    margin: 0 0 20px;
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary, #1a1a1a);
}

.quote-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 20px;
}

.quote-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.quote-field--full {
    grid-column: 1 / -1;
}

.quote-field label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary, #1a1a1a);
}

.quote-required {
    color: var(--brand-primary, #b44a3f);
}

.quote-input,
.quote-select,
.quote-textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #d1d5db;
    border-radius: var(--radius-sm, 8px);
    padding: 12px 14px;
    font-size: 15px;
    font-family: inherit;
    color: var(--text-primary, #1a1a1a);
    background: #fff;
    appearance: none;
    -webkit-appearance: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.quote-input:focus,
.quote-select:focus,
.quote-textarea:focus {
    outline: none;
    border-color: var(--brand-primary, #b44a3f);
    box-shadow: 0 0 0 3px rgba(180, 74, 63, 0.15);
}

.quote-input[readonly] {
    background: #f8fafc;
    color: #334155;
}

.quote-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23666' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

.quote-textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.5;
}

.quote-industry-other.is-hidden {
    display: none;
}

.quote-footer {
    padding: 24px 32px 28px;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.quote-submit {
    align-self: flex-start;
    background: linear-gradient(135deg, var(--brand-primary, #b44a3f), var(--brand-dark, #8b3a32));
    color: #fff;
    border: none;
    border-radius: var(--radius-md, 12px);
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.quote-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md, 0 4px 16px rgba(0, 0, 0, 0.12));
}

.quote-honeypot {
    position: absolute;
    left: -9999px;
    height: 0;
    overflow: hidden;
}

.quote-error {
    color: #dc2626;
    font-size: 13px;
}

.quote-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 760px) {
    .quote-section,
    .quote-footer {
        padding-left: 20px;
        padding-right: 20px;
    }

    .quote-grid {
        grid-template-columns: 1fr;
    }
}
