/* Modern Request-a-Quote page — Ace red/black/white professional theme. */
.ace-qp { background: #fff; }

/* Hero — clean white with red accent */
.ace-qp-hero {
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 56px 0 0;
    position: relative;
    overflow: hidden;
}
.ace-qp-hero::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px;
    background: linear-gradient(90deg, #9f1722 0%, #c81e2b 50%, #9f1722 100%);
}
.ace-qp-crumb { font-size: 13px; color: #9aa1ab; margin: 0 0 12px; }
.ace-qp-crumb a { color: #9f1722; text-decoration: none; font-weight: 600; }
.ace-qp-crumb a:hover { text-decoration: underline; }
.ace-qp-hero h1 {
    font-size: clamp(30px, 4vw, 44px); font-weight: 800; margin: 0 0 10px;
    letter-spacing: -.02em; color: #14161b;
}
.ace-qp-hero h1 span { color: #9f1722; }
.ace-qp-hero > .ace-container > p { font-size: 16px; color: #5a6068; max-width: 660px; margin: 0 0 34px; }
.ace-qp-hero .ace-button { margin: 6px 0 34px; }

/* Stats — beautiful red-accented cards */
.ace-qp-stats {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
    padding-bottom: 44px;
}
.ace-qp-stats div {
    background: #fff; border: 1px solid #eee; border-top: 3px solid #9f1722;
    border-radius: 14px; padding: 22px 20px; text-align: center;
    box-shadow: 0 6px 24px rgba(17,19,21,.06);
    transition: transform .25s, box-shadow .25s;
    animation: aceQpIn .5s ease backwards;
}
.ace-qp-stats div:nth-child(2) { animation-delay: .08s; }
.ace-qp-stats div:nth-child(3) { animation-delay: .16s; }
.ace-qp-stats div:nth-child(4) { animation-delay: .24s; }
.ace-qp-stats div:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(159,23,34,.12); }
.ace-qp-stats strong { display: block; font-size: 32px; font-weight: 800; color: #9f1722; line-height: 1.1; }
.ace-qp-stats span { font-size: 12px; color: #7d848e; text-transform: uppercase; letter-spacing: .8px; font-weight: 600; }

/* Main */
.ace-qp-main { padding: 44px 0 20px; background: #fafbfc; }
.ace-qp-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: 30px; align-items: start; }

/* Items */
.ace-qp-items-title { font-size: 22px; font-weight: 800; margin: 0 0 16px; display: flex; align-items: center; gap: 10px; color: #14161b; }
.ace-qp-items-title span {
    font-size: 13px; font-weight: 800; color: #fff; background: #9f1722;
    min-width: 28px; height: 28px; border-radius: 999px;
    display: inline-flex; align-items: center; justify-content: center; padding: 0 8px;
}
.ace-qp-list { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.ace-qp-item {
    display: flex; align-items: center; gap: 16px;
    background: #fff; border: 1px solid #e7eaee; border-radius: 14px; padding: 14px 16px;
    transition: box-shadow .2s, transform .2s;
    animation: aceQpIn .4s ease backwards;
}
.ace-qp-item:hover { box-shadow: 0 10px 28px rgba(17,19,21,.08); transform: translateY(-1px); }
@keyframes aceQpIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.ace-qp-thumb { width: 64px; height: 64px; flex: none; border-radius: 10px; overflow: hidden; background: #f2f4f6; }
.ace-qp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ace-qp-info { flex: 1; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ace-qp-info strong { font-size: 15px; color: #16181d; }
.ace-qp-info small { font-size: 12.5px; color: #6a7078; }
.ace-qp-qty { font-size: 12.5px; font-weight: 700; color: #9f1722; }
.ace-qp-remove {
    width: 34px; height: 34px; flex: none; border-radius: 50%;
    border: 1px solid #e0e4e8; background: #fff; color: #9aa1ab;
    font-size: 20px; line-height: 1; cursor: pointer; transition: all .2s;
}
.ace-qp-remove:hover { border-color: #9f1722; color: #9f1722; background: #fdf0f1; }

.ace-qp-empty {
    background: #fff; border: 1px dashed #d5d9de; border-radius: 18px;
    padding: 48px 36px; text-align: center; margin-bottom: 26px;
}
.ace-qp-empty svg { color: #9f1722; margin-bottom: 14px; opacity: .5; }
.ace-qp-empty h2 { margin: 0 0 10px; font-size: 22px; color: #14161b; }
.ace-qp-empty p { margin: 0 0 22px; color: #6a7078; }

.ace-qp-why { background: #fff; border: 1px solid #e7eaee; border-radius: 16px; padding: 26px 28px; }
.ace-qp-why h3 { margin: 0 0 14px; font-size: 18px; font-weight: 800; color: #14161b; }
.ace-qp-why h3 span { color: #9f1722; }
.ace-qp-why ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.ace-qp-why li { font-size: 14px; color: #4a4f56; padding-left: 30px; position: relative; }
.ace-qp-why li::before {
    content: "✓"; position: absolute; left: 0; top: 0;
    width: 20px; height: 20px; border-radius: 50%;
    background: #fdf0f1; color: #9f1722; font-weight: 800; font-size: 12px;
    display: inline-flex; align-items: center; justify-content: center;
}

/* Form — clean white card with red accents */
.ace-qp-formwrap { position: sticky; top: 24px; }
.ace-qp-form {
    background: #fff;
    border: 1px solid #e7eaee; border-top: 4px solid #9f1722; border-radius: 18px;
    padding: 30px 28px;
    box-shadow: 0 20px 50px rgba(17,19,21,.1);
}
.ace-qp-form h3 { margin: 0 0 6px; font-size: 21px; font-weight: 800; color: #14161b; }
.ace-qp-form-sub { margin: 0 0 20px; font-size: 13.5px; color: #7d848e; }
.ace-qp-field { display: block; margin-bottom: 14px; }
.ace-qp-field > span { display: block; font-size: 12px; font-weight: 700; color: #3d4348; margin-bottom: 7px; }
.ace-qp-field input, .ace-qp-field textarea {
    width: 100%; min-height: 46px; padding: 10px 14px; font-size: 14.5px;
    background: #fafbfc; border: 1px solid #dfe3e8;
    border-radius: 10px; color: #14161b; font-family: inherit; box-sizing: border-box;
    transition: border-color .2s, box-shadow .2s;
}
.ace-qp-field textarea { resize: vertical; }
.ace-qp-field input:focus, .ace-qp-field textarea:focus {
    outline: none; border-color: #9f1722; background: #fff;
    box-shadow: 0 0 0 3px rgba(159,23,34,.12);
}
.ace-qp-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ace-qp-submit { width: 100%; min-height: 52px; font-size: 15px; margin-top: 6px; }
.ace-qp-privacy { font-size: 12px; color: #9aa1ab; text-align: center; margin: 12px 0 0; }
.ace-qp-contact {
    margin-top: 16px; background: #14161b; border-radius: 14px; padding: 20px 22px;
    font-size: 14px; color: #c3c8cc;
}
.ace-qp-contact p { margin: 0 0 6px; }
.ace-qp-contact p:last-child { margin: 0; }
.ace-qp-contact strong { color: #fff; }
.ace-qp-contact a { color: #ff8f95; font-weight: 700; text-decoration: none; }
.ace-qp-contact a:hover { text-decoration: underline; }

/* Services — with images */
.ace-qp-services { padding: 54px 0 10px; background: #fff; }
.ace-qp-services h2, .ace-qp-steps h2 {
    font-size: 26px; font-weight: 800; margin: 0 0 8px; text-align: center; color: #14161b;
}
.ace-qp-services h2 span, .ace-qp-steps h2 span { color: #9f1722; }
.ace-qp-sec-sub { text-align: center; color: #7d848e; font-size: 15px; margin: 0 0 26px; }
.ace-qp-svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ace-qp-svc-grid a {
    border-radius: 16px; overflow: hidden; text-decoration: none;
    background: #fff; border: 1px solid #e7eaee;
    transition: transform .25s, box-shadow .25s;
    display: flex; flex-direction: column;
}
.ace-qp-svc-grid a:hover { transform: translateY(-5px); box-shadow: 0 18px 44px rgba(17,19,21,.12); }
.ace-qp-svc-img {
    height: 130px; background-size: cover; background-position: center;
    position: relative;
}
.ace-qp-svc-img::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(20,22,27,.55) 100%);
}
.ace-qp-svc-body { padding: 18px 20px 20px; }
.ace-qp-svc-body strong { display: block; font-size: 16px; color: #14161b; margin-bottom: 4px; }
.ace-qp-svc-body span { font-size: 13px; color: #6a7078; }
.ace-qp-svc-body em {
    display: inline-block; margin-top: 10px; font-style: normal;
    font-size: 13px; font-weight: 700; color: #9f1722;
}

/* Steps */
.ace-qp-steps { padding: 50px 0 64px; background: #fafbfc; }
.ace-qp-steps ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ace-qp-steps li {
    background: #fff; border: 1px solid #e7eaee; border-radius: 16px; padding: 24px;
    display: flex; gap: 16px; align-items: flex-start;
    transition: transform .25s, box-shadow .25s;
}
.ace-qp-steps li:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(17,19,21,.08); }
.ace-qp-steps li span {
    width: 44px; height: 44px; flex: none; border-radius: 12px;
    background: #9f1722; color: #fff; font-weight: 800; font-size: 18px;
    display: inline-flex; align-items: center; justify-content: center;
}
.ace-qp-steps li strong { display: block; font-size: 15px; margin-bottom: 4px; color: #16181d; }
.ace-qp-steps li div { font-size: 13.5px; color: #6a7078; }

.ace-quote-error { background: #fdf0f1; border: 1px solid #e5c7cb; color: #9f1722; padding: 14px 18px; border-radius: 10px; margin-bottom: 20px; font-weight: 600; }

@media (max-width: 900px) {
    .ace-qp-grid { grid-template-columns: 1fr; }
    .ace-qp-formwrap { position: static; }
    .ace-qp-stats { grid-template-columns: repeat(2, 1fr); }
    .ace-qp-svc-grid { grid-template-columns: repeat(2, 1fr); }
    .ace-qp-steps ol { grid-template-columns: 1fr; }
    .ace-qp-hero { padding: 40px 0 0; }
}
