:root {
    --navy:    #0F1B3C;
    --navy-2:  #1A2F6F;
    --red:     #C8281A;
    --gold:    #C9A84C;
    --gold-lt: #E2C76A;
    --white:   #F5F3EE;
    --off:     #EAE7E0;
    --text:    #2d3748;
    --dim:     #6a7280;
    --border:  #e2dfd8;
    --green:   #22c55e;
    --ease:    cubic-bezier(.16,1,.3,1);
    --fd:      'Cormorant Garamond', serif;
    --fb:      'Barlow', sans-serif;
    --fc:      'Barlow Condensed', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--fb); color: var(--text); background: var(--off); -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

.qt-hero {
    background-image: url('images/hero/hero-quote.jpg');
    background-color: #0F1B3C;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 72px 0 60px;
    position: relative; overflow: hidden;
    margin-top: calc(-1 * (38px + 100px));
    padding-top: calc(38px + 100px + 72px);
}
.qt-hero::before {
    content: '';
    position: absolute; inset: 0;
    background: rgba(0, 0, 0, 0.62);
    pointer-events: none;
    z-index: 1;
}
.qt-hero::after {
    content: '';
    position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, #C8281A, #C9A84C 55%, transparent);
    z-index: 3;
}
.qt-hero__inner {
    max-width: 1200px; margin: 0 auto; padding: 0 40px;
    display: flex; flex-direction: column; align-items: center;
    text-align: center; gap: 20px; position: relative; z-index: 2;
}
.qt-hero__label {
    font-family: var(--fc); font-size: 11px; font-weight: 700;
    letter-spacing: .28em; text-transform: uppercase;
    color: var(--gold); display: block;
}
.qt-hero__title {
    font-family: var(--fd);
    font-size: clamp(32px, 5vw, 60px);
    font-weight: 600; color: var(--white);
    line-height: 1.08; letter-spacing: -.02em;
}
.qt-hero__sub {
    font-family: var(--fb); font-size: 16px; font-weight: 300;
    color: rgba(245,243,238,.5); line-height: 1.8;
    max-width: 560px;
}
.qt-hero__stats {
    display: flex; align-items: center; gap: 0;
    margin-top: 12px; flex-wrap: wrap; justify-content: center;
}
.qt-stat { display: flex; flex-direction: column; gap: 4px; padding: 0 28px; }
.qt-stat__num {
    font-family: var(--fd); font-size: 22px; font-weight: 700;
    color: var(--gold); line-height: 1;
}
.qt-stat__label {
    font-family: var(--fc); font-size: 10px; font-weight: 600;
    letter-spacing: .18em; text-transform: uppercase;
    color: rgba(245,243,238,.35);
}
.qt-stat__div { width: 1px; height: 36px; background: rgba(255,255,255,.1); flex-shrink: 0; }

.qt-section { padding: 52px 0 80px; }
.qt-section__inner { max-width: 1200px; margin: 0 auto; padding: 0 40px; }

.qt-alert {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 14px 18px; margin-bottom: 24px;
    background: #fff5f5; border-left: 3px solid var(--red);
    font-size: 13.5px; color: #7f1d1d; line-height: 1.65;
    animation: slideIn .4s var(--ease);
}
@keyframes slideIn { from{opacity:0;transform:translateY(-8px)} to{opacity:1;transform:none} }
.qt-alert svg { flex-shrink: 0; margin-top: 2px; }
.qt-alert p + p { margin-top: 4px; }

.qt-success {
    background: #fff; padding: 72px 32px;
    display: flex; flex-direction: column; align-items: center;
    text-align: center; gap: 20px;
    border-top: 4px solid var(--green);
    animation: popUp .6s var(--ease);
}
@keyframes popUp { from{opacity:0;transform:translateY(16px)} to{opacity:1;transform:none} }
.qt-success__icon {
    width: 80px; height: 80px; border-radius: 50%;
    background: rgba(34,197,94,.1); color: var(--green);
    border: 3px solid rgba(34,197,94,.2);
    display: flex; align-items: center; justify-content: center;
}
.qt-success h2 {
    font-family: var(--fd); font-size: clamp(24px,4vw,40px);
    font-weight: 600; color: var(--navy);
}
.qt-success p {
    font-family: var(--fb); font-size: 15px; font-weight: 300;
    color: var(--dim); line-height: 1.8; max-width: 480px;
}
.qt-success__actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }

.qt-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 28px; align-items: start;
}

.qt-form { display: flex; flex-direction: column; gap: 3px; }
.qt-form-section { background: #fff; }
.qt-form-section__head {
    display: flex; align-items: flex-start; gap: 16px;
    padding: 24px 28px 18px;
    border-bottom: 1px solid var(--border);
}
.qt-form-section__num {
    width: 32px; height: 32px; border-radius: 50%;
    background: var(--navy); color: var(--gold);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--fc); font-size: 14px; font-weight: 700;
    flex-shrink: 0; margin-top: 2px;
}
.qt-form-section__head h3 {
    font-family: var(--fd); font-size: clamp(18px,2.5vw,24px);
    font-weight: 600; color: var(--navy); line-height: 1.2;
    margin-bottom: 3px;
}
.qt-form-section__head p {
    font-family: var(--fb); font-size: 13px; font-weight: 300;
    color: var(--dim);
}

.qt-form > .qt-form-section:not(:has(.qt-freight-grid)) > :not(.qt-form-section__head) { padding: 0 28px; }

.qt-freight-grid {
    display: grid; grid-template-columns: repeat(4,1fr); gap: 3px;
    padding: 20px 28px;
}
.qt-freight-card { cursor: pointer; }
.qt-freight-card input[type="radio"] { display: none; }
.qt-freight-card__inner {
    display: flex; flex-direction: column; align-items: center;
    gap: 10px; padding: 22px 14px;
    background: var(--off); border: 2px solid transparent;
    text-align: center;
    transition: background .25s, border-color .25s, transform .25s var(--ease);
}
.qt-freight-card:hover .qt-freight-card__inner {
    background: rgba(15,27,60,.04);
    border-color: rgba(15,27,60,.12);
}
.qt-freight-card--selected .qt-freight-card__inner,
.qt-freight-card input:checked ~ .qt-freight-card__inner {
    background: rgba(15,27,60,.06);
    border-color: var(--navy);
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(15,27,60,.1);
}
.qt-freight-card__inner svg {
    color: var(--dim);
    transition: color .25s;
}
.qt-freight-card--selected .qt-freight-card__inner svg,
.qt-freight-card input:checked ~ .qt-freight-card__inner svg { color: var(--red); }
.qt-freight-card__label {
    font-family: var(--fc); font-size: 12px; font-weight: 700;
    letter-spacing: .12em; text-transform: uppercase; color: var(--navy);
}
.qt-freight-card__desc {
    font-family: var(--fb); font-size: 11.5px; font-weight: 300;
    color: var(--dim); line-height: 1.5;
}

.qt-form-section > *:not(.qt-form-section__head) {
    padding-left: 28px; padding-right: 28px;
}
.qt-form-section > .qt-row,
.qt-form-section > .qt-field,
.qt-form-section > .qt-radio-row { padding-top: 18px; }
.qt-form-section > *:last-child { padding-bottom: 24px; }

.qt-freight-grid { padding: 20px 28px !important; }
.qt-sea-fields { padding-top: 0 !important; }

.qt-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.qt-field { display: flex; flex-direction: column; gap: 8px; }
.qt-field--focused .qt-label { color: var(--navy); }

.qt-label {
    font-family: var(--fc); font-size: 10.5px; font-weight: 700;
    letter-spacing: .18em; text-transform: uppercase; color: var(--dim);
    transition: color .2s;
}
.qt-req { color: var(--red); margin-left: 2px; }

.qt-input, .qt-select, .qt-textarea {
    width: 100%; background: var(--off);
    border: 1.5px solid var(--border);
    padding: 12px 14px;
    font-family: var(--fb); font-size: 14px; font-weight: 300; color: var(--navy);
    outline: none; border-radius: 0;
    -webkit-appearance: none; appearance: none;
    transition: border-color .25s, background .25s, box-shadow .25s;
    line-height: 1.6;
}
.qt-input::placeholder, .qt-textarea::placeholder { color: #b0a9a0; }
.qt-input:focus, .qt-select:focus, .qt-textarea:focus {
    border-color: var(--navy); background: #fff;
    box-shadow: 0 0 0 3px rgba(15,27,60,.07);
}
.qt-input--error { border-color: var(--red); background: #fff5f5; }
.qt-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230F1B3C' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center;
    padding-right: 40px; cursor: pointer;
}
.qt-textarea { resize: vertical; min-height: 90px; }

.qt-radio-row { display: flex; gap: 20px; flex-wrap: wrap; }
.qt-radio-label {
    display: flex; align-items: center; gap: 8px;
    cursor: pointer; font-size: 14px; color: var(--text);
    user-select: none;
}
.qt-radio-label input[type="radio"] {
    width: 16px; height: 16px; cursor: pointer;
    accent-color: var(--navy); flex-shrink: 0;
}

.qt-sea-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.qt-submit-btn {
    display: flex; align-items: center; justify-content: center; gap: 12px;
    width: 100%; padding: 17px 24px;
    font-family: var(--fc); font-size: 14px; font-weight: 700;
    letter-spacing: .2em; text-transform: uppercase;
    background: var(--navy); color: var(--white); border: none; cursor: pointer;
    position: relative; overflow: hidden; isolation: isolate;
    transition: color .35s;
    margin-top: 3px;
}
.qt-submit-btn::before {
    content: ''; position: absolute; inset: 0;
    background: var(--red); transform: translateX(-101%);
    transition: transform .4s var(--ease); z-index: -1;
}
.qt-submit-btn:hover::before { transform: translateX(0); }
.qt-submit-btn:hover { color: var(--white); }
.qt-form__note {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    font-family: var(--fc); font-size: 10.5px; font-weight: 600;
    letter-spacing: .12em; text-transform: uppercase; color: var(--dim);
    padding: 14px 28px;
    background: #fff; border-top: 1px solid var(--border);
}
.qt-form__note svg { color: var(--green); flex-shrink: 0; }

.qt-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 28px;
    font-family: var(--fc); font-size: 12.5px; font-weight: 700;
    letter-spacing: .16em; text-transform: uppercase;
    border: 1.5px solid transparent;
    position: relative; overflow: hidden; isolation: isolate;
    cursor: pointer; transition: color .35s, border-color .35s;
}
.qt-btn::before { content:''; position:absolute; inset:0; transform:translateX(-101%); transition:transform .35s var(--ease); z-index:-1; }
.qt-btn:hover::before { transform:translateX(0); }
.qt-btn--primary { background:var(--navy); color:var(--white); border-color:var(--navy); }
.qt-btn--primary::before { background:var(--red); }
.qt-btn--primary:hover { color:var(--white); border-color:var(--red); }
.qt-btn--outline { background:transparent; color:var(--navy); border-color:var(--navy); }
.qt-btn--outline::before { background:var(--off); }
.qt-btn--outline:hover { color:var(--navy); }

.qt-sidebar { display: flex; flex-direction: column; gap: 3px; position: sticky; top: 80px; }

.qt-info-card {
    background: var(--navy); padding: 28px;
    display: flex; flex-direction: column; gap: 22px;
    border-bottom: 3px solid var(--gold);
}
.qt-info-card h3 {
    font-family: var(--fd); font-size: 22px; font-weight: 600;
    color: var(--white); line-height: 1.2;
}
.qt-steps-list { display: flex; flex-direction: column; gap: 18px; }
.qt-step-item { display: flex; align-items: flex-start; gap: 14px; }
.qt-step-item__num {
    width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
    background: rgba(201,168,76,.15); border: 1.5px solid rgba(201,168,76,.35);
    color: var(--gold); display: flex; align-items: center; justify-content: center;
    font-family: var(--fc); font-size: 13px; font-weight: 700; margin-top: 1px;
}
.qt-step-item strong {
    display: block; font-family: var(--fb); font-size: 13.5px; font-weight: 500;
    color: var(--white); margin-bottom: 4px;
}
.qt-step-item p {
    font-family: var(--fb); font-size: 12.5px; font-weight: 300;
    color: rgba(245,243,238,.45); line-height: 1.7;
}

.qt-contact-card {
    background: #fff; padding: 24px;
    display: flex; flex-direction: column; gap: 14px;
}
.qt-contact-card h4 {
    font-family: var(--fd); font-size: 18px; font-weight: 600; color: var(--navy);
}
.qt-contact-items { display: flex; flex-direction: column; gap: 10px; }
.qt-contact-item {
    display: flex; align-items: center; gap: 10px;
    font-family: var(--fb); font-size: 13.5px; font-weight: 400; color: var(--navy);
    padding: 10px 14px; border: 1.5px solid var(--border); background: var(--off);
    transition: background .25s, border-color .25s, color .25s;
}
.qt-contact-item svg { flex-shrink: 0; color: var(--gold); }
.qt-contact-item:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.qt-contact-item:hover svg { color: var(--gold); }
.qt-contact-hours {
    font-family: var(--fc); font-size: 10px; font-weight: 600;
    letter-spacing: .14em; text-transform: uppercase; color: var(--dim);
}

.qt-services-list {
    background: var(--off); padding: 24px;
    display: flex; flex-direction: column; gap: 12px;
    border-left: 3px solid var(--gold);
}
.qt-services-list h4 {
    font-family: var(--fd); font-size: 18px; font-weight: 600; color: var(--navy);
    margin-bottom: 4px;
}
.qt-svc-item {
    display: flex; align-items: center; gap: 10px;
    font-family: var(--fb); font-size: 13px; font-weight: 300; color: var(--text);
    line-height: 1.5;
}
.qt-svc-item svg { flex-shrink: 0; color: var(--green); }

@media (max-width: 1100px) {
    .qt-layout { grid-template-columns: 1fr 300px; gap: 20px; }
    .qt-freight-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 768px) {
    .qt-hero {
        margin-top: calc(-1 * (34px + 85px));
        padding-top: calc(34px + 85px + 48px);
        padding-bottom: 40px;
    }
    .qt-hero__inner { padding: 0 20px; }
    .qt-hero__stats { gap: 0; }
    .qt-stat { padding: 0 16px; }

    .qt-section { padding: 28px 0 52px; }
    .qt-section__inner { padding: 0 20px; }

    .qt-layout { grid-template-columns: 1fr; }
    .qt-sidebar { position: static; order: -1; }

    .qt-freight-grid { grid-template-columns: repeat(2,1fr); padding: 16px 20px !important; }
    .qt-form-section__head { padding: 18px 20px 14px; }
    .qt-form-section > *:not(.qt-form-section__head) { padding-left: 20px; padding-right: 20px; }
    .qt-row { grid-template-columns: 1fr; gap: 14px; }
    .qt-sea-fields { grid-template-columns: 1fr; }
    .qt-radio-row { flex-direction: column; gap: 12px; }
    .qt-form__note { padding: 12px 20px; }
    .qt-info-card,.qt-contact-card,.qt-services-list { padding: 22px; }
}

@media (max-width: 480px) {
    .qt-hero {
        margin-top: calc(-1 * (30px + 76px));
        padding-top: calc(30px + 76px + 40px);
    }
    .qt-hero__title { font-size: 28px; }
    .qt-hero__sub   { font-size: 14px; }
    .qt-hero__stats { flex-direction: column; gap: 16px; }
    .qt-stat__div   { display: none; }
    .qt-freight-grid { grid-template-columns: 1fr 1fr; gap: 2px; }
    .qt-freight-card__inner { padding: 16px 10px; }
    .qt-freight-card__desc  { display: none; }
    .qt-submit-btn { padding: 15px; font-size: 12.5px; }
    .qt-success { padding: 48px 20px; }
    .qt-success__actions { flex-direction: column; align-items: stretch; }
    .qt-btn { justify-content: center; }
    .qt-form-section__num { width: 26px; height: 26px; font-size: 12px; }
}

@media (max-width: 360px) {
    .qt-section__inner,.qt-hero__inner { padding: 0 14px; }
    .qt-form-section__head { padding: 14px 16px 12px; }
    .qt-form-section > *:not(.qt-form-section__head) { padding-left: 16px; padding-right: 16px; }
    .qt-freight-grid { padding: 12px 16px !important; }
    .qt-freight-card__inner { padding: 13px 8px; }
    .qt-freight-card__label { font-size: 10.5px; }
}