/*-- -------------------------- -->
<---            Hero            -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
    #hero-wc {
        /* push down past the fixed nav */
        padding: clamp(8rem, 18vw, 12rem) 1rem clamp(16rem, 26vw, 22rem);
        position: relative;
        z-index: 1;
        overflow: hidden;
        min-height: 100vh;
        display: flex;
        align-items: center;
        border-bottom: 3px solid #22C55E;
    }

    /* Dark overlay over background image */
    #hero-wc:before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(
            to right,
            rgba(23, 30, 38, 0.95) 0%,
            rgba(23, 30, 38, 0.75) 50%,
            rgba(23, 30, 38, 0.2) 100%
        );
        z-index: 1;
    }

    /* Background image */
    #hero-wc .cs-background {
        position: absolute;
        inset: 0;
        z-index: 0;
    }

    #hero-wc .cs-background img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    #hero-wc .cs-container {
        width: 100%;
        max-width: 80rem;
        margin: auto;
        position: relative;
        z-index: 2;
        display: flex;
        flex-direction: column;
        gap: 3rem;
        align-items: flex-start;
    }

    /* Left: Content */
    #hero-wc .cs-content {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }
    #hero-wc .cs-hero-actions {
        display: flex;
        align-items: stretch;
        gap: 0.75rem;
        flex-wrap: nowrap;
        width: 100%;
    }
    #hero-wc .cs-hero-actions .cs-hero-button,
    #hero-wc .cs-hero-actions .cs-hero-phone {
        flex: 1;
        font-size: 0.8125rem;
        padding: 0.875rem 0.75rem;
        margin: 0;
        text-align: center;
        justify-content: center;
    }
    #hero-wc .cs-desktop-text { display: none !important; }
    #hero-wc .cs-mobile-text { display: inline !important; }
    #hero-wc .cs-hero-phone {
        font-family: 'Barlow', sans-serif;
        font-size: 1.1875rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.02em;
        line-height: 1.2em;
        text-decoration: none;
        text-align: center;
        color: #fff;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        background-color: transparent;
        border: 2px solid #fff;
        border-radius: 0.5rem;
        padding: 0.875rem 1.5rem;
        margin: 0.5rem 0 0;
        transition: background-color 0.3s, color 0.3s;
    }
    #hero-wc .cs-hero-phone:hover {
        background-color: #1A1F17;
        color: var(--primary);
    }
    #hero-wc .cs-hero-phone .cs-phone-icon {
        filter: brightness(0) invert(1);
        width: 1.25rem;
        height: 1.25rem;
        transition: filter 0.3s;
    }
    #hero-wc .cs-hero-phone:hover .cs-phone-icon {
        filter: none;
    }

    #hero-wc .cs-hero-stars {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }
    #hero-wc .cs-stars-icons {
        color: #f5a623;
        font-size: 1.25rem;
        letter-spacing: 0.05em;
        line-height: 1;
    }
    #hero-wc .cs-stars-text {
        font-size: 1rem;
        font-weight: 600;
        color: #fff;
        white-space: nowrap;
    }

    #hero-wc .cs-title {
        font-size: clamp(2rem, 5.5vw, 5rem);
        font-weight: 700;
        line-height: 1.1em;
        color: #ffffff;
        margin: 0;
        max-width: 14ch;
        text-shadow:
            1px 1px 0 #333,
            2px 2px 0 #222,
            3px 3px 0 #111,
            4px 4px 8px rgba(0,0,0,0.5);
    }

    #hero-wc .cs-title span {
        color: #ffffff;
    }

    #hero-wc .cs-title .cs-highlight {
        color: #f5a623;
        text-shadow:
            1px 1px 0 #b8760f,
            2px 2px 0 #9a6209,
            3px 3px 0 #7a4e07,
            4px 4px 8px rgba(0,0,0,0.5);
    }

    #hero-wc .cs-text {
        font-size: clamp(1rem, 1.8vw, 1.25rem);
        color: rgba(255,255,255,0.85);
        max-width: 34rem;
        line-height: 1.7em;
        margin: 0;
    }

    /* Hero bullet points */
    #hero-wc .cs-hero-bullets {
        list-style: none;
        margin: 0;
        padding: 0;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.625rem 1.5rem;
    }
    #hero-wc .cs-hero-bullets li {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        font-family: 'Satoshi', sans-serif;
        font-size: clamp(0.9rem, 1.5vw, 1.0625rem);
        font-weight: 600;
        color: #fff;
    }
    #hero-wc .cs-hero-bullets i,
    #hero-wc .cs-hero-bullets svg {
        color: #22C55E;
        stroke: #22C55E;
        flex-shrink: 0;
        width: 1.125rem;
        height: 1.125rem;
    }

    /* Hero CTA button */
    #hero-wc .cs-hero-button {
        margin: 0.5rem 0 0;
        font-family: 'Barlow', sans-serif;
        font-size: clamp(0.875rem, 2vw, 1.1875rem);
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.02em;
        line-height: 1.2em;
        text-decoration: none;
        text-align: center;
        padding: 0.875rem 1.5rem;
        background-color: #22C55E;
        color: #fff;
        border-radius: 0.5rem;
        display: inline-block;
        transition: background-color 0.3s, transform 0.3s;
    }

    #hero-wc .cs-hero-button:hover {
        background-color: #15803D;
        transform: translateY(-2px);
    }

    /* Right: Van Image */
    #hero-wc .cs-van-wrap {
        display: none;
    }

    /* Right: Quote Form Card */
    #hero-wc .cs-form-card {
        width: 100%;
        background: #1A1F17;
        border-radius: 0.75rem;
        padding: 1.25rem;
        box-shadow: 0 24px 64px rgba(0,0,0,0.3);
        border: 2px solid rgba(255,255,255,0.85);
    }

    #hero-wc .cs-form-title {
        font-family: 'Barlow', sans-serif;
        font-size: clamp(1.25rem, 2vw, 1.5rem);
        font-weight: 700;
        color: var(--headerColor);
        text-align: center;
        margin: 0 0 1rem;
    }

    #hero-wc .cs-form-subtitle {
        font-size: 0.9375rem;
        color: var(--bodyTextColor);
        margin: 0 0 1.5rem;
    }

    #hero-wc .cs-form {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    #hero-wc .cs-label {
        font-size: 0.875rem;
        font-weight: 700;
        color: var(--headerColor);
        display: flex;
        flex-direction: column;
        gap: 0.375rem;
    }

    #hero-wc .cs-input,
    #hero-wc .cs-select {
        width: 100%;
        height: 3rem;
        padding: 0 1rem;
        border: 1.5px solid #d1d5db;
        border-radius: 0.5rem;
        font-size: 1rem;
        font-family: inherit;
        color: #1a1a1a;
        background: #ffffff;
        outline: none;
        transition: border-color 0.2s, box-shadow 0.2s;
        appearance: none;
    }

    #hero-wc .cs-input:focus,
    #hero-wc .cs-select:focus {
        border-color: var(--primary);
        box-shadow: 0 0 0 3px rgba(255, 106, 62, 0.12);
        background: #1A1F17;
    }

    #hero-wc .cs-input::placeholder {
        color: #9ca3af;
    }
    #hero-wc .cs-select {
        color: #9ca3af;
    }
    #hero-wc .cs-select:valid,
    #hero-wc .cs-select option:not([disabled]) {
        color: #1a1a1a;
    }

    #hero-wc .cs-consent {
        display: flex;
        align-items: flex-start;
        gap: 0.625rem;
        cursor: pointer;
    }
    #hero-wc .cs-consent-check {
        width: 1.125rem;
        height: 1.125rem;
        flex-shrink: 0;
        margin-top: 0.125rem;
        accent-color: var(--primary);
        cursor: pointer;
    }
    #hero-wc .cs-consent span {
        font-size: 0.8125rem;
        color: var(--bodyTextColor);
        line-height: 1.5;
    }

    #hero-wc .cs-button-solid {
        width: 100%;
        padding: 1rem 1.5rem;
        background-color: var(--primary);
        color: #fff;
        font-family: 'Barlow', sans-serif;
        font-size: 1.125rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.02em;
        border: none;
        border-radius: 0.5rem;
        cursor: pointer;
        position: relative;
        overflow: hidden;
        transition: color 0.3s;
        margin-top: 0.25rem;
    }

    #hero-wc .cs-button-solid:before {
        content: '';
        position: absolute;
        height: 100%;
        width: 0%;
        background: #000;
        top: 0;
        left: 0;
        z-index: -1;
        transition: width 0.3s;
    }

    #hero-wc .cs-button-solid:hover:before {
        width: 100%;
    }
}

/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
    #hero-wc .cs-trust-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}

/* Desktop - 1024px */
@media only screen and (min-width: 64rem) {
    #hero-wc {
        min-height: 100vh;
        align-items: center;
    }

    #hero-wc .cs-container {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 4rem;
    }

    #hero-wc .cs-content {
        flex: 1;
    }

    #hero-wc .cs-form-card {
        width: 28%;
        flex-shrink: 0;
    }

    #hero-wc .cs-van-wrap {
        display: flex;
        width: 44%;
        flex-shrink: 0;
        align-self: flex-end;
    }

    #hero-wc .cs-van-img {
        width: 100%;
        height: auto;
        object-fit: contain;
        object-position: bottom right;
        filter: drop-shadow(0 20px 40px rgba(0,0,0,0.5));
    }

    #hero-wc .cs-hero-actions {
        width: auto;
        gap: 1rem;
    }

    #hero-wc .cs-hero-actions .cs-hero-button,
    #hero-wc .cs-hero-actions .cs-hero-phone {
        font-size: 1.1875rem !important;
        padding: 1.25rem 2.5rem !important;
        flex: unset !important;
        width: auto !important;
    }
    #hero-wc .cs-desktop-text { display: inline !important; }
    #hero-wc .cs-mobile-text { display: none !important; }
}
