/*
|--------------------------------------------------------------------------
| SCALDED DAWG TRUCKING — QUOTE SYSTEM
|--------------------------------------------------------------------------
|
| Dedicated styling for quote.php.
| This file is intentionally separate from style.css so the existing
| website can remain untouched while the quote system is developed.
|
*/


/* ==========================================================================
   QUOTE PAGE VARIABLES
   ========================================================================== */

:root {
    --quote-bg: #03070b;
    --quote-panel: rgba(7, 17, 25, 0.92);
    --quote-panel-strong: rgba(9, 22, 32, 0.98);
    --quote-panel-soft: rgba(13, 31, 43, 0.72);

    --quote-cyan: #62e7ff;
    --quote-cyan-bright: #9af2ff;
    --quote-cyan-soft: rgba(98, 231, 255, 0.16);
    --quote-cyan-faint: rgba(98, 231, 255, 0.07);

    --quote-text: #edfaff;
    --quote-muted: #9fb9c4;
    --quote-dim: #6f8c98;

    --quote-border: rgba(98, 231, 255, 0.28);
    --quote-border-strong: rgba(98, 231, 255, 0.58);

    --quote-success: #87f4b8;
    --quote-warning: #ffd783;
    --quote-danger: #ff8e9a;

    --quote-shadow:
        0 0 0 1px rgba(98, 231, 255, 0.05),
        0 18px 45px rgba(0, 0, 0, 0.38);

    --quote-glow:
        0 0 20px rgba(98, 231, 255, 0.10);

    --quote-radius: 12px;
    --quote-radius-small: 8px;
}


/* ==========================================================================
   PAGE INTRO
   ========================================================================== */

.quote-page-intro {
    position: relative;
    overflow: hidden;

    max-width: 1120px;
    margin: 0 auto 34px;
    padding: 38px 40px 34px;

    border: 1px solid var(--quote-border);
    border-radius: var(--quote-radius);

    background:
        linear-gradient(
            135deg,
            rgba(98, 231, 255, 0.08),
            rgba(98, 231, 255, 0.015) 42%,
            rgba(0, 0, 0, 0) 72%
        ),
        var(--quote-panel);

    box-shadow:
        var(--quote-shadow),
        inset 0 0 50px rgba(98, 231, 255, 0.025);
}

.quote-page-intro::before {
    content: "";

    position: absolute;
    top: 0;
    left: 0;

    width: 115px;
    height: 3px;

    background: var(--quote-cyan);

    box-shadow:
        0 0 14px rgba(98, 231, 255, 0.8),
        0 0 34px rgba(98, 231, 255, 0.35);
}

.quote-page-intro::after {
    content: "";

    position: absolute;
    right: -90px;
    bottom: -120px;

    width: 280px;
    height: 280px;

    border: 1px solid rgba(98, 231, 255, 0.08);
    border-radius: 50%;

    box-shadow:
        0 0 0 35px rgba(98, 231, 255, 0.018),
        0 0 0 70px rgba(98, 231, 255, 0.012);
}

.quote-kicker {
    margin: 0 0 10px;

    color: var(--quote-cyan);

    font-family: "Orbitron", sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.quote-page-intro h1 {
    position: relative;
    z-index: 1;

    margin: 0 0 16px;

    color: var(--quote-text);

    font-family: "Orbitron", sans-serif;
    font-size: clamp(2rem, 4vw, 3.15rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.02em;
}

.quote-page-intro > p:not(.quote-kicker):not(.quote-test-notice) {
    position: relative;
    z-index: 1;

    max-width: 900px;
    margin: 0;

    color: var(--quote-muted);

    font-family: "Rajdhani", sans-serif;
    font-size: 1.12rem;
    font-weight: 500;
    line-height: 1.62;
}

.quote-test-notice {
    position: relative;
    z-index: 1;

    display: inline-flex;
    align-items: center;

    margin: 22px 0 0;
    padding: 10px 14px;

    border: 1px solid rgba(255, 215, 131, 0.28);
    border-radius: 999px;

    background: rgba(255, 215, 131, 0.06);

    color: var(--quote-warning);

    font-family: "Rajdhani", sans-serif;
    font-size: 0.93rem;
    font-weight: 600;
    letter-spacing: 0.015em;
}

.quote-test-notice::before {
    content: "";

    width: 7px;
    height: 7px;
    margin-right: 9px;

    border-radius: 50%;

    background: var(--quote-warning);

    box-shadow: 0 0 10px rgba(255, 215, 131, 0.7);
}


/* ==========================================================================
   FORM SHELL
   ========================================================================== */

.quote-form {
    max-width: 1120px;
    margin: 0 auto 54px;

    color: var(--quote-text);

    font-family: "Rajdhani", sans-serif;
}

.quote-form * {
    box-sizing: border-box;
}

.quote-form [hidden] {
    display: none !important;
}


/* ==========================================================================
   SECTION CARDS
   ========================================================================== */

.quote-section {
    position: relative;

    margin: 0 0 22px;
    padding: 30px 32px 32px;

    border: 1px solid var(--quote-border);
    border-radius: var(--quote-radius);

    background:
        linear-gradient(
            180deg,
            rgba(98, 231, 255, 0.025),
            rgba(98, 231, 255, 0) 150px
        ),
        var(--quote-panel);

    box-shadow:
        var(--quote-shadow),
        inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.quote-section::before {
    content: "";

    position: absolute;
    top: -1px;
    left: 28px;

    width: 84px;
    height: 2px;

    background: linear-gradient(
        90deg,
        var(--quote-cyan),
        rgba(98, 231, 255, 0)
    );

    box-shadow: 0 0 14px rgba(98, 231, 255, 0.45);
}

.quote-section-heading {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 18px;
    align-items: start;

    margin-bottom: 26px;
    padding-bottom: 20px;

    border-bottom: 1px solid rgba(98, 231, 255, 0.12);
}

.quote-section-heading > span {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 58px;
    height: 42px;

    border: 1px solid var(--quote-border-strong);
    border-radius: 7px;

    background:
        linear-gradient(
            135deg,
            rgba(98, 231, 255, 0.18),
            rgba(98, 231, 255, 0.04)
        );

    color: var(--quote-cyan-bright);

    font-family: "Orbitron", sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.12em;

    box-shadow:
        inset 0 0 18px rgba(98, 231, 255, 0.05),
        0 0 16px rgba(98, 231, 255, 0.06);
}

.quote-section-heading h2 {
    margin: 0 0 5px;

    color: var(--quote-text);

    font-family: "Orbitron", sans-serif;
    font-size: clamp(1.2rem, 2vw, 1.48rem);
    font-weight: 600;
    letter-spacing: 0.015em;
}

.quote-section-heading p {
    margin: 0;

    color: var(--quote-muted);

    font-size: 1rem;
    font-weight: 500;
    line-height: 1.45;
}


/* ==========================================================================
   GRID / LABELS
   ========================================================================== */

.quote-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 22px;
}

.quote-span-2 {
    grid-column: 1 / -1;
}

.quote-form label {
    display: flex;
    flex-direction: column;
    gap: 8px;

    color: #cde2ea;

    font-size: 0.99rem;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0.015em;
}


/* ==========================================================================
   INPUTS / SELECTS / TEXTAREAS
   ========================================================================== */

.quote-form input[type="text"],
.quote-form input[type="email"],
.quote-form input[type="tel"],
.quote-form input[type="number"],
.quote-form input[type="date"],
.quote-form input[type="time"],
.quote-form input[type="datetime-local"],
.quote-form select,
.quote-form textarea {
    width: 100%;
    min-height: 48px;
    padding: 11px 13px;

    border: 1px solid rgba(98, 231, 255, 0.22);
    border-radius: var(--quote-radius-small);

    outline: none;

    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.015),
            rgba(255, 255, 255, 0)
        ),
        rgba(2, 9, 14, 0.88);

    color: var(--quote-text);

    font-family: "Rajdhani", sans-serif;
    font-size: 1.04rem;
    font-weight: 500;

    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        background 0.18s ease,
        transform 0.18s ease;
}

.quote-form textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.45;
}

.quote-form input::placeholder,
.quote-form textarea::placeholder {
    color: #64808d;
    opacity: 1;
}

.quote-form select {
    cursor: pointer;
}

.quote-form select option {
    background: #07121a;
    color: var(--quote-text);
}

.quote-form input[type="date"],
.quote-form input[type="time"],
.quote-form input[type="datetime-local"] {
    color-scheme: dark;
}

.quote-form input[type="text"]:hover,
.quote-form input[type="email"]:hover,
.quote-form input[type="tel"]:hover,
.quote-form input[type="number"]:hover,
.quote-form input[type="date"]:hover,
.quote-form input[type="time"]:hover,
.quote-form input[type="datetime-local"]:hover,
.quote-form select:hover,
.quote-form textarea:hover {
    border-color: rgba(98, 231, 255, 0.38);
}

.quote-form input[type="text"]:focus,
.quote-form input[type="email"]:focus,
.quote-form input[type="tel"]:focus,
.quote-form input[type="number"]:focus,
.quote-form input[type="date"]:focus,
.quote-form input[type="time"]:focus,
.quote-form input[type="datetime-local"]:focus,
.quote-form select:focus,
.quote-form textarea:focus {
    border-color: var(--quote-cyan);

    background:
        linear-gradient(
            180deg,
            rgba(98, 231, 255, 0.04),
            rgba(98, 231, 255, 0)
        ),
        rgba(2, 9, 14, 0.98);

    box-shadow:
        0 0 0 3px rgba(98, 231, 255, 0.08),
        0 0 18px rgba(98, 231, 255, 0.08);
}

.quote-form input:required:invalid:not(:placeholder-shown),
.quote-form textarea:required:invalid:not(:placeholder-shown) {
    border-color: rgba(255, 142, 154, 0.40);
}


/* ==========================================================================
   SERVICE LEVEL CHOICES
   ========================================================================== */

.quote-choice-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.quote-choice {
    position: relative;

    display: block !important;

    min-height: 148px;
    padding: 0 !important;

    cursor: pointer;
}

.quote-choice input {
    position: absolute;

    width: 1px;
    height: 1px;

    opacity: 0;
    pointer-events: none;
}

.quote-choice > span {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;

    height: 100%;
    padding: 22px 20px;

    border: 1px solid rgba(98, 231, 255, 0.20);
    border-radius: 10px;

    background:
        linear-gradient(
            145deg,
            rgba(98, 231, 255, 0.035),
            rgba(98, 231, 255, 0)
        ),
        rgba(3, 11, 17, 0.78);

    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        transform 0.18s ease,
        background 0.18s ease;
}

.quote-choice:hover > span {
    transform: translateY(-3px);

    border-color: var(--quote-cyan);

    background:
        linear-gradient(
            145deg,
            rgba(98, 231, 255, 0.14),
            rgba(98, 231, 255, 0.025)
        ),
        rgba(3, 11, 17, 0.92);

    box-shadow:
        0 0 0 1px rgba(98, 231, 255, 0.10),
        0 0 24px rgba(98, 231, 255, 0.18),
        0 12px 28px rgba(0, 0, 0, 0.28);
}

.quote-choice input:checked + span {
    border-color: var(--quote-cyan);

    background:
        linear-gradient(
            145deg,
            rgba(98, 231, 255, 0.15),
            rgba(98, 231, 255, 0.025)
        ),
        rgba(3, 11, 17, 0.92);

    box-shadow:
        inset 0 0 28px rgba(98, 231, 255, 0.04),
        0 0 0 2px rgba(98, 231, 255, 0.05),
        0 0 24px rgba(98, 231, 255, 0.09);
}

.quote-choice input:focus-visible + span {
    outline: 2px solid var(--quote-cyan);
    outline-offset: 3px;
}

.quote-choice strong {
    position: relative;

    padding-left: 24px;

    color: var(--quote-text);

    font-family: "Orbitron", sans-serif;
    font-size: 0.93rem;
    font-weight: 600;
    line-height: 1.35;
}

.quote-choice strong::before {
    content: "";

    position: absolute;
    top: 0.32em;
    left: 0;

    width: 10px;
    height: 10px;

    border: 1px solid var(--quote-cyan);
    border-radius: 50%;

    background: transparent;

    box-shadow: 0 0 10px rgba(98, 231, 255, 0.16);
}

.quote-choice input:checked + span strong::before {
    background: var(--quote-cyan);

    box-shadow:
        0 0 0 3px rgba(98, 231, 255, 0.12),
        0 0 14px rgba(98, 231, 255, 0.7);
}

.quote-choice small {
    display: block;

    margin-top: 12px;

    color: var(--quote-muted);

    font-size: 0.96rem;
    font-weight: 500;
    line-height: 1.48;
}


/* ==========================================================================
   CONDITIONAL FIELDS
   ========================================================================== */

.quote-conditional-field {
    animation: quoteFieldReveal 0.20s ease-out;
}

@keyframes quoteFieldReveal {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ==========================================================================
   OWNER REVIEW NOTICE
   ========================================================================== */

.quote-review-notice {
    position: relative;

    margin: 0 0 22px;
    padding: 18px 20px 18px 52px;

    border: 1px solid rgba(255, 215, 131, 0.36);
    border-radius: 10px;

    background:
        linear-gradient(
            90deg,
            rgba(255, 215, 131, 0.10),
            rgba(255, 215, 131, 0.025)
        ),
        rgba(18, 15, 7, 0.72);

    color: #ffe8b5;

    font-size: 1rem;
    font-weight: 600;
    line-height: 1.45;

    box-shadow:
        inset 0 0 30px rgba(255, 215, 131, 0.025),
        0 12px 26px rgba(0, 0, 0, 0.20);
}

.quote-review-notice::before {
    content: "!";

    position: absolute;
    top: 17px;
    left: 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 22px;
    height: 22px;

    border: 1px solid var(--quote-warning);
    border-radius: 50%;

    color: var(--quote-warning);

    font-family: "Orbitron", sans-serif;
    font-size: 0.75rem;
    font-weight: 800;

    box-shadow: 0 0 12px rgba(255, 215, 131, 0.18);
}


/* ==========================================================================
   DIMENSIONS
   ========================================================================== */

.quote-dimensions-area {
    margin-top: 22px;
}

.quote-dimensions-area > p,
.quote-additional-stops-area > p {
    margin: 0;
    padding: 15px 17px;

    border: 1px dashed rgba(98, 231, 255, 0.18);
    border-radius: 8px;

    background: rgba(98, 231, 255, 0.025);

    color: var(--quote-dim);

    font-size: 0.98rem;
    font-weight: 500;
}

.quote-dimensions-note {
    margin: 0 0 16px;
    padding: 13px 15px;

    border-left: 3px solid var(--quote-cyan);
    border-radius: 0 7px 7px 0;

    background: rgba(98, 231, 255, 0.055);

    color: #b7d6df;

    font-size: 0.98rem;
    font-weight: 500;
}

.quote-dimension-item,
.quote-additional-stop {
    position: relative;

    margin-top: 18px;
    padding: 22px;

    border: 1px solid rgba(98, 231, 255, 0.19);
    border-radius: 10px;

    background:
        linear-gradient(
            135deg,
            rgba(98, 231, 255, 0.03),
            rgba(98, 231, 255, 0)
        ),
        rgba(2, 9, 14, 0.64);

    box-shadow:
        inset 0 0 24px rgba(98, 231, 255, 0.018);
}

.quote-dimension-item-heading,
.quote-additional-stop-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;

    margin-bottom: 18px;
    padding-bottom: 13px;

    border-bottom: 1px solid rgba(98, 231, 255, 0.11);
}

.quote-dimension-item-heading h3,
.quote-additional-stop-heading h3 {
    margin: 0;

    color: var(--quote-cyan-bright);

    font-family: "Orbitron", sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.quote-dimension-controls,
.quote-additional-stop-controls {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px 18px;

    margin-top: 20px;
    padding-top: 18px;

    border-top: 1px solid rgba(98, 231, 255, 0.10);
}

.quote-dimension-controls p,
.quote-additional-stop-controls p {
    flex: 1 1 420px;

    margin: 0;

    color: var(--quote-muted);

    font-size: 0.94rem;
    line-height: 1.45;
}

.quote-remove-item,
.quote-remove-stop {
    appearance: none;

    padding: 7px 11px;

    border: 1px solid rgba(255, 142, 154, 0.42);
    border-radius: 6px;

    background: rgba(255, 142, 154, 0.055);

    color: #ffb4bc;

    font-family: "Rajdhani", sans-serif;
    font-size: 0.90rem;
    font-weight: 700;
    letter-spacing: 0.04em;

    cursor: pointer;

    transition:
        border-color 0.18s ease,
        background 0.18s ease,
        color 0.18s ease,
        transform 0.18s ease;
}

.quote-remove-item:hover,
.quote-remove-stop:hover {
    transform: translateY(-1px);

    border-color: var(--quote-danger);

    background: rgba(255, 142, 154, 0.11);

    color: #ffd4d8;
}


/* ==========================================================================
   ADDITIONAL STOPS
   ========================================================================== */

.quote-additional-stops-area {
    margin-top: 22px;
}

.quote-stop-timing-fields {
    margin-top: 2px;
}


/* ==========================================================================
   FILE UPLOAD
   ========================================================================== */

.quote-form input[type="file"] {
    width: 100%;
    padding: 12px;

    border: 1px dashed rgba(98, 231, 255, 0.28);
    border-radius: 9px;

    background: rgba(98, 231, 255, 0.025);

    color: var(--quote-muted);

    font-family: "Rajdhani", sans-serif;
    font-size: 0.98rem;
}

.quote-form input[type="file"]::file-selector-button {
    margin-right: 14px;
    padding: 9px 13px;

    border: 1px solid rgba(98, 231, 255, 0.36);
    border-radius: 6px;

    background: rgba(98, 231, 255, 0.08);

    color: var(--quote-cyan-bright);

    font-family: "Rajdhani", sans-serif;
    font-size: 0.92rem;
    font-weight: 700;

    cursor: pointer;
}


/* ==========================================================================
   REVIEW SUMMARY
   ========================================================================== */

.quote-review-summary-controls {
    display: flex;
    align-items: center;
    justify-content: flex-start;

    margin-bottom: 18px;
}

.quote-review-summary {
    padding: 4px 0 0;
}

.quote-review-summary > p:first-child {
    margin: 0;
    padding: 18px;

    border: 1px dashed rgba(98, 231, 255, 0.20);
    border-radius: 8px;

    color: var(--quote-muted);

    background: rgba(98, 231, 255, 0.025);
}

.quote-review-summary-section {
    overflow: hidden;

    margin: 0 0 16px;

    border: 1px solid rgba(98, 231, 255, 0.17);
    border-radius: 9px;

    background: rgba(2, 9, 14, 0.58);
}

.quote-review-summary-section h3 {
    margin: 0;
    padding: 12px 16px;

    border-bottom: 1px solid rgba(98, 231, 255, 0.14);

    background:
        linear-gradient(
            90deg,
            rgba(98, 231, 255, 0.10),
            rgba(98, 231, 255, 0.015)
        );

    color: var(--quote-cyan-bright);

    font-family: "Orbitron", sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}

.quote-review-summary-section dl {
    display: grid;
    grid-template-columns: minmax(170px, 0.7fr) minmax(0, 1.7fr);

    margin: 0;
}

.quote-review-summary-section dt,
.quote-review-summary-section dd {
    margin: 0;
    padding: 10px 15px;

    border-bottom: 1px solid rgba(98, 231, 255, 0.07);

    font-size: 0.97rem;
    line-height: 1.4;
}

.quote-review-summary-section dt {
    color: #8fb0bc;

    font-weight: 600;
}

.quote-review-summary-section dd {
    color: #e4f6fb;

    font-weight: 500;

    overflow-wrap: anywhere;
}

.quote-review-summary-section dt:last-of-type,
.quote-review-summary-section dd:last-of-type {
    border-bottom: 0;
}

.quote-review-summary-note {
    margin: 18px 0 0;
    padding: 13px 15px;

    border-left: 3px solid var(--quote-cyan);

    background: rgba(98, 231, 255, 0.045);

    color: var(--quote-muted);

    font-size: 0.94rem;
    line-height: 1.45;
}


/* ==========================================================================
   ACKNOWLEDGMENT
   ========================================================================== */

.quote-acknowledgment {
    padding-top: 24px;
    padding-bottom: 24px;
}

.quote-check {
    display: grid !important;
    grid-template-columns: auto 1fr;
    gap: 13px;
    align-items: start;

    cursor: pointer;
}

.quote-check input[type="checkbox"] {
    appearance: none;

    width: 21px;
    height: 21px;
    margin: 2px 0 0;

    border: 1px solid rgba(98, 231, 255, 0.48);
    border-radius: 5px;

    background: rgba(2, 9, 14, 0.88);

    cursor: pointer;

    transition:
        border-color 0.18s ease,
        background 0.18s ease,
        box-shadow 0.18s ease;
}

.quote-check input[type="checkbox"]:checked {
    border-color: var(--quote-cyan);

    background:
        linear-gradient(
            135deg,
            rgba(98, 231, 255, 0.95),
            rgba(98, 231, 255, 0.55)
        );

    box-shadow:
        0 0 0 3px rgba(98, 231, 255, 0.08),
        0 0 15px rgba(98, 231, 255, 0.18);
}

.quote-check input[type="checkbox"]:checked::after {
    content: "✓";

    display: block;

    color: #021015;

    font-family: Arial, sans-serif;
    font-size: 0.92rem;
    font-weight: 900;
    line-height: 19px;
    text-align: center;
}

.quote-check span {
    color: #c5dde5;

    font-size: 1rem;
    font-weight: 500;
    line-height: 1.52;
}


/* ==========================================================================
   BUTTONS INSIDE THE QUOTE EXPERIENCE
   ========================================================================== */

.quote-form .button {
    appearance: none;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 44px;
    padding: 10px 18px;

    border: 1px solid rgba(98, 231, 255, 0.62);
    border-radius: 7px;

    background:
        linear-gradient(
            180deg,
            rgba(98, 231, 255, 0.16),
            rgba(98, 231, 255, 0.055)
        ),
        #07131b;

    color: var(--quote-cyan-bright);

    font-family: "Orbitron", sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.055em;
    text-transform: uppercase;
    text-decoration: none;

    cursor: pointer;

    box-shadow:
        inset 0 0 16px rgba(98, 231, 255, 0.04),
        0 0 16px rgba(98, 231, 255, 0.05);

    transition:
        transform 0.18s ease,
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        background 0.18s ease;
}

.quote-form .button:hover:not(:disabled) {
    transform: translateY(-2px);

    border-color: var(--quote-cyan);

    background:
        linear-gradient(
            180deg,
            rgba(98, 231, 255, 0.23),
            rgba(98, 231, 255, 0.08)
        ),
        #07131b;

    box-shadow:
        0 0 0 2px rgba(98, 231, 255, 0.04),
        0 10px 24px rgba(0, 0, 0, 0.25),
        0 0 20px rgba(98, 231, 255, 0.09);
}

.quote-form .button:focus-visible {
    outline: 2px solid var(--quote-cyan);
    outline-offset: 3px;
}

.quote-form .button:disabled {
    opacity: 0.42;

    cursor: not-allowed;

    border-color: rgba(98, 231, 255, 0.24);

    box-shadow: none;

    filter: saturate(0.55);
}


/* ==========================================================================
   SUBMIT AREA
   ========================================================================== */

.quote-submit-area {
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: center;

    margin: 8px 0 0;
    padding: 30px 24px;

    border: 1px solid var(--quote-border);
    border-radius: var(--quote-radius);

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(98, 231, 255, 0.09),
            rgba(98, 231, 255, 0) 54%
        ),
        var(--quote-panel-strong);

    text-align: center;

    box-shadow:
        var(--quote-shadow),
        inset 0 0 40px rgba(98, 231, 255, 0.02);
}

.quote-submit-area .button {
    min-width: min(100%, 320px);
    min-height: 50px;
}

.quote-submit-area p {
    max-width: 620px;
    margin: 14px 0 0;

    color: var(--quote-dim);

    font-size: 0.94rem;
    line-height: 1.45;
}


/* ==========================================================================
   SMALL VISUAL DETAILS
   ========================================================================== */

.quote-section ::selection,
.quote-page-intro ::selection {
    background: rgba(98, 231, 255, 0.28);
    color: #ffffff;
}

.quote-section hr {
    border: 0;
    border-top: 1px solid rgba(98, 231, 255, 0.12);
}


/* ==========================================================================
   TABLET
   ========================================================================== */

@media (max-width: 960px) {

    .quote-page-intro {
        padding: 32px 28px 29px;
    }

    .quote-section {
        padding: 27px 26px 28px;
    }

    .quote-choice-grid {
        grid-template-columns: 1fr;
    }

    .quote-choice {
        min-height: auto;
    }

    .quote-review-summary-section dl {
        grid-template-columns: minmax(145px, 0.65fr) minmax(0, 1.35fr);
    }

}


/* ==========================================================================
   MOBILE
   ========================================================================== */

@media (max-width: 700px) {

    .quote-page-intro {
        margin-bottom: 20px;
        padding: 27px 19px 24px;

        border-radius: 10px;
    }

    .quote-page-intro h1 {
        font-size: clamp(1.7rem, 9vw, 2.3rem);
    }

    .quote-page-intro > p:not(.quote-kicker):not(.quote-test-notice) {
        font-size: 1rem;
    }

    .quote-test-notice {
        display: flex;

        border-radius: 8px;
    }

    .quote-section {
        margin-bottom: 16px;
        padding: 22px 17px 23px;

        border-radius: 10px;
    }

    .quote-section::before {
        left: 17px;
        width: 62px;
    }

    .quote-section-heading {
        grid-template-columns: 50px 1fr;
        gap: 12px;

        margin-bottom: 21px;
        padding-bottom: 16px;
    }

    .quote-section-heading > span {
        width: 46px;
        height: 37px;

        font-size: 0.78rem;
    }

    .quote-section-heading h2 {
        font-size: 1.08rem;
    }

    .quote-section-heading p {
        font-size: 0.92rem;
    }

    .quote-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .quote-span-2 {
        grid-column: auto;
    }

    .quote-form input[type="text"],
    .quote-form input[type="email"],
    .quote-form input[type="tel"],
    .quote-form input[type="number"],
    .quote-form input[type="date"],
    .quote-form input[type="time"],
    .quote-form input[type="datetime-local"],
    .quote-form select,
    .quote-form textarea {
        font-size: 16px;
    }

    .quote-dimension-item,
    .quote-additional-stop {
        padding: 18px 14px;
    }

    .quote-dimension-item-heading,
    .quote-additional-stop-heading {
        align-items: flex-start;
    }

    .quote-dimension-controls,
    .quote-additional-stop-controls {
        align-items: stretch;
        flex-direction: column;
    }

    .quote-dimension-controls .button,
    .quote-additional-stop-controls .button {
        width: 100%;
    }

    .quote-review-summary-section dl {
        display: block;
    }

    .quote-review-summary-section dt {
        padding-bottom: 3px;

        border-bottom: 0;

        color: var(--quote-cyan);
    }

    .quote-review-summary-section dd {
        padding-top: 0;
        padding-bottom: 12px;
    }

    .quote-review-summary-section dt:first-of-type {
        padding-top: 12px;
    }

    .quote-check {
        gap: 11px;
    }

    .quote-submit-area {
        padding: 24px 16px;
    }

}


/* ==========================================================================
   VERY SMALL SCREENS
   ========================================================================== */

@media (max-width: 420px) {

    .quote-page-intro {
        padding-left: 15px;
        padding-right: 15px;
    }

    .quote-section {
        padding-left: 14px;
        padding-right: 14px;
    }

    .quote-section-heading {
        grid-template-columns: 1fr;
    }

    .quote-section-heading > span {
        width: 44px;
    }

    .quote-dimension-item-heading,
    .quote-additional-stop-heading {
        flex-direction: column;
    }

}


/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {

    .quote-form *,
    .quote-page-intro *,
    .quote-section * {
        scroll-behavior: auto !important;

        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;

        transition-duration: 0.01ms !important;
    }

}

/* ==========================================================================
   ROUND 1 — VALIDATION / PRIVACY / FILE PREFLIGHT
   ========================================================================== */

.quote-validation-summary {
    position: relative;

    margin: 0 0 22px;
    padding: 22px 24px;

    border: 1px solid rgba(255, 142, 154, 0.50);
    border-left: 4px solid var(--quote-danger);
    border-radius: var(--quote-radius);

    background:
        linear-gradient(
            90deg,
            rgba(255, 142, 154, 0.10),
            rgba(255, 142, 154, 0.025)
        ),
        rgba(19, 6, 9, 0.90);

    color: #ffd8dd;

    box-shadow:
        var(--quote-shadow),
        inset 0 0 28px rgba(255, 142, 154, 0.025);
}

.quote-validation-summary:focus {
    outline: 2px solid rgba(255, 142, 154, 0.72);
    outline-offset: 3px;
}

.quote-validation-summary h2 {
    margin: 0 0 7px;

    color: #ffd5da;

    font-family: "Orbitron", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.025em;
}

.quote-validation-summary > p {
    margin: 0 0 12px;

    color: #e9bfc5;

    font-size: 0.98rem;
    font-weight: 500;
    line-height: 1.45;
}

.quote-validation-summary ul {
    margin: 0;
    padding-left: 20px;
}

.quote-validation-summary li {
    margin: 6px 0;

    color: #ffc3ca;
}

.quote-validation-summary a {
    color: #ffd8dd;

    font-weight: 600;
    text-decoration-color: rgba(255, 216, 221, 0.45);
    text-underline-offset: 3px;
}

.quote-validation-summary a:hover,
.quote-validation-summary a:focus-visible {
    color: #ffffff;
    text-decoration-color: #ffffff;
}

.quote-form input.quote-field-invalid,
.quote-form select.quote-field-invalid,
.quote-form textarea.quote-field-invalid {
    border-color: var(--quote-danger) !important;

    box-shadow:
        0 0 0 3px rgba(255, 142, 154, 0.08),
        0 0 18px rgba(255, 142, 154, 0.08) !important;
}

.quote-choice-grid.quote-field-invalid {
    padding: 8px;

    border: 1px solid rgba(255, 142, 154, 0.44);
    border-radius: 11px;

    background: rgba(255, 142, 154, 0.025);
}

.quote-field-error {
    display: block;

    margin: 1px 0 0;

    color: #ffb6bf;

    font-size: 0.90rem;
    font-weight: 650;
    line-height: 1.35;
}

p.quote-field-error {
    margin: 8px 0 0;
}

.quote-file-help,
.quote-privacy-note {
    margin: 12px 0 0;

    color: var(--quote-muted);

    font-size: 0.94rem;
    font-weight: 500;
    line-height: 1.5;
}

.quote-file-help {
    padding: 13px 15px;

    border: 1px solid rgba(98, 231, 255, 0.12);
    border-radius: 7px;

    background: rgba(98, 231, 255, 0.025);
}

.quote-privacy-note {
    margin-top: 16px;
    padding-top: 15px;

    border-top: 1px solid rgba(98, 231, 255, 0.10);
}

.quote-privacy-note a {
    color: var(--quote-cyan);

    font-weight: 700;
    text-underline-offset: 3px;
}

.quote-privacy-note a:hover,
.quote-privacy-note a:focus-visible {
    color: var(--quote-cyan-bright);
}

.quote-form input[type="file"].quote-field-invalid {
    border-color: var(--quote-danger) !important;

    background: rgba(255, 142, 154, 0.035);
}

.quote-form input[aria-invalid="true"]:focus,
.quote-form select[aria-invalid="true"]:focus,
.quote-form textarea[aria-invalid="true"]:focus {
    border-color: var(--quote-danger) !important;

    box-shadow:
        0 0 0 3px rgba(255, 142, 154, 0.10),
        0 0 18px rgba(255, 142, 154, 0.10) !important;
}

@media (max-width: 700px) {

    .quote-validation-summary {
        padding: 18px 17px;
    }

}



/* ==========================================================================
   ROUND 2 — FILE CONTROLS / LIVE SUBMISSION / RESULTS
   ========================================================================== */

.quote-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.quote-file-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
}

.quote-secondary-button {
    appearance: none;
    min-height: 40px;
    padding: 8px 14px;
    border: 1px solid rgba(98, 231, 255, 0.28);
    border-radius: 8px;
    background: rgba(98, 231, 255, 0.045);
    color: var(--quote-cyan-bright);
    font-family: "Rajdhani", sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.quote-secondary-button:hover,
.quote-secondary-button:focus-visible {
    border-color: rgba(98, 231, 255, 0.62);
    background: rgba(98, 231, 255, 0.09);
    box-shadow: 0 0 16px rgba(98, 231, 255, 0.10);
    outline: none;
}

.quote-file-selection-status {
    color: var(--quote-muted);
    font-size: 0.94rem;
    font-weight: 600;
}

.quote-submit-area .button:disabled {
    opacity: 0.72;
    cursor: wait;
}

.quote-result-shell {
    max-width: 1040px;
    margin: 0 auto 54px;
    font-family: "Rajdhani", sans-serif;
}

.quote-result-card {
    position: relative;
    overflow: hidden;
    padding: 34px 36px;
    border: 1px solid var(--quote-border);
    border-radius: var(--quote-radius);
    background:
        linear-gradient(135deg, rgba(98, 231, 255, 0.075), rgba(98, 231, 255, 0.012) 52%, transparent 80%),
        var(--quote-panel);
    box-shadow: var(--quote-shadow), inset 0 0 48px rgba(98, 231, 255, 0.02);
}

.quote-result-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 140px;
    height: 3px;
    background: var(--quote-cyan);
    box-shadow: 0 0 18px rgba(98, 231, 255, 0.72);
}

.quote-result-card.is-review {
    border-color: rgba(255, 215, 131, 0.34);
}

.quote-result-card.is-review::before {
    background: var(--quote-warning);
    box-shadow: 0 0 18px rgba(255, 215, 131, 0.60);
}

.quote-result-card.is-error {
    border-color: rgba(255, 142, 154, 0.42);
}

.quote-result-card.is-error::before {
    background: var(--quote-danger);
    box-shadow: 0 0 18px rgba(255, 142, 154, 0.60);
}

.quote-result-kicker {
    margin: 0 0 10px;
    color: var(--quote-cyan);
    font-family: "Orbitron", sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.quote-result-card h1 {
    margin: 0 0 12px;
    color: var(--quote-text);
    font-family: "Orbitron", sans-serif;
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 1.08;
}

.quote-result-lead {
    max-width: 820px;
    margin: 0;
    color: var(--quote-muted);
    font-size: 1.08rem;
    line-height: 1.6;
}

.quote-estimate-amount {
    margin: 28px 0 8px;
    color: var(--quote-cyan-bright);
    font-family: "Orbitron", sans-serif;
    font-size: clamp(2.4rem, 7vw, 4.8rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    text-shadow: 0 0 26px rgba(98, 231, 255, 0.22);
}

.quote-estimate-label {
    margin: 0 0 26px;
    color: var(--quote-muted);
    font-size: 0.98rem;
    font-weight: 600;
}

.quote-result-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 26px 0;
}

.quote-result-stat {
    padding: 16px 17px;
    border: 1px solid rgba(98, 231, 255, 0.14);
    border-radius: 9px;
    background: rgba(2, 9, 14, 0.64);
}

.quote-result-stat span {
    display: block;
    margin-bottom: 6px;
    color: #7895a1;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.quote-result-stat strong {
    color: var(--quote-text);
    font-size: 1.12rem;
    font-weight: 700;
}

.quote-result-notice {
    margin: 24px 0 0;
    padding: 16px 18px;
    border-left: 3px solid var(--quote-cyan);
    background: rgba(98, 231, 255, 0.045);
    color: #bed4dc;
    line-height: 1.55;
}

.quote-result-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.quote-round2-diagnostics {
    margin-top: 24px;
    padding: 18px 20px;
    border: 1px dashed rgba(255, 215, 131, 0.34);
    border-radius: 9px;
    background: rgba(255, 215, 131, 0.035);
    color: #d6c79f;
}

.quote-round2-diagnostics summary {
    cursor: pointer;
    color: var(--quote-warning);
    font-weight: 700;
}

.quote-round2-diagnostics dl {
    display: grid;
    grid-template-columns: minmax(160px, 0.7fr) minmax(0, 1.3fr);
    gap: 8px 16px;
    margin: 16px 0 0;
}

.quote-round2-diagnostics dt {
    color: #ae9a67;
    font-weight: 700;
}

.quote-round2-diagnostics dd {
    margin: 0;
    color: #e3d8b9;
    overflow-wrap: anywhere;
}

@media (max-width: 760px) {
    .quote-result-card {
        padding: 26px 20px;
    }

    .quote-result-grid {
        grid-template-columns: 1fr;
    }

    .quote-round2-diagnostics dl {
        grid-template-columns: 1fr;
        gap: 3px 0;
    }

    .quote-round2-diagnostics dd {
        margin-bottom: 9px;
    }
}

/* Supporting file Browse button */

#quote-attachments::file-selector-button {
    margin-right: 14px;
    padding: 10px 16px;

    border: 1px solid rgba(98, 231, 255, 0.45);
    border-radius: 7px;

    background: rgba(98, 231, 255, 0.07);
    color: var(--quote-cyan);

    font-family: "Orbitron", sans-serif;
    font-size: 0.78rem;
    font-weight: 600;

    cursor: pointer;

    transition:
        background 0.18s ease,
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        color 0.18s ease;
}

#quote-attachments::file-selector-button:hover {
    border-color: var(--quote-cyan);

    background: rgba(98, 231, 255, 0.16);
    color: #ffffff;

    box-shadow:
        0 0 18px rgba(98, 231, 255, 0.22);
}

/* Safari / older Chromium fallback */

#quote-attachments::-webkit-file-upload-button {
    margin-right: 14px;
    padding: 10px 16px;

    border: 1px solid rgba(98, 231, 255, 0.45);
    border-radius: 7px;

    background: rgba(98, 231, 255, 0.07);
    color: var(--quote-cyan);

    font-family: "Orbitron", sans-serif;
    font-size: 0.78rem;
    font-weight: 600;

    cursor: pointer;
}

#quote-attachments::-webkit-file-upload-button:hover {
    border-color: var(--quote-cyan);
    background: rgba(98, 231, 255, 0.16);
    color: #ffffff;
    box-shadow: 0 0 18px rgba(98, 231, 255, 0.22);
}