/* ===================================================
   Contact Us Commercial Page Styles
   =================================================== */

/* Hero Section */
.cuc-hero {
    margin-top: 100px;
    padding: 100px 0 0;
}

.cuc-hero-row {
    --bs-gutter-x: 13px;
    align-items: center;
}

.cuc-hero-content {
    max-width: 627px;
}

.cuc-hero-content .heading-style-h2 {
    max-width: 575px;
    margin-bottom: 24px;
}

.cuc-hero-bold {
    font-weight: 700;
    max-width: 364px;
    margin-bottom: 24px;
}

.cuc-hero-desc {
    max-width: 468px;
    margin-bottom: 24px;
}

.cuc-hero-actions {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.cuc-hero-image {
    width: 600px;
    height: 504px;
    border-radius: 30px;
    overflow: hidden;
    background: #dedede;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cuc-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Assessment Section */
.cuc-assessment-section {
    padding: 120px 0 0;
}

.cuc-assessment-header {
    margin-bottom: 42px;
}

.cuc-assessment-header .heading-style-h3 {
    margin-bottom: 8px;
}

.cuc-assessment-cards {
    --bs-gutter-x: 28px;
    --bs-gutter-y: 24px;
    max-width: 1240px;
    margin: 0 auto;
    justify-content: center;
}

.cuc-assessment-card {
    background: #eef2f0;
    border: 2px solid rgba(0, 0, 0, 0.14);
    border-radius: 32px;
    padding: 42px;
    height: 261px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.cuc-card-icon {
    width: 42px;
    height: 42px;
    margin-bottom: 12px;
    display: block;
}

.cuc-card-title {
    font-family: "Montserrat", sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--ls-color-ink);
    margin-bottom: 12px;
}

.cuc-assessment-card .text-style-body {
    margin-bottom: 0;
}

/* Quote Form Section */
.cuc-quote-section {
    padding: 120px 0;
}

.cuc-quote-wrapper {
    border: 2.245px solid rgba(0, 0, 0, 0.05);
    border-radius: 72px;
    background: linear-gradient(226deg, #407e43 24%, #182f22 81%);
    padding: 13px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 41px;
    max-width: 1021px;
    margin: 0 auto;
}

.cuc-quote-left {
    flex: 0 0 319px;
    padding: 0 0 0 32px;
    color: #fff;
}

.cuc-quote-title {
    font-family: "Montserrat", sans-serif;
    font-size: 54px;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 16px;
}

.cuc-quote-desc {
    color: #fff;
    letter-spacing: -0.3px;
    max-width: 446px;
}

.cuc-quote-right {
    flex: 0 0 auto;
    background: #f6f6f6;
    border-radius: 64px;
    padding: 44px 44px 24px;
    box-shadow: 0 12px 8px rgba(0, 0, 0, 0.08), 0 4px 3px rgba(0, 0, 0, 0.03);
}

/* HubSpot Form Styles */
.cuc-form-root:empty {
    min-height: 427px;
}

.cuc-form-root .hs-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}

.cuc-form-root .hs-form-field {
    margin-bottom: 0;
}

.cuc-form-root .hs-form fieldset {
    display: contents;
    max-width: 100%;
}

.cuc-form-root .hs-form .hs-form-field.ls-hs-field-full,
.cuc-form-root .hs-form .hs_submit {
    grid-column: 1 / -1;
}

.cuc-form-root .hs-form .hs-form-field.ls-hs-field-half {
    grid-column: auto;
}

.cuc-form-root .hs-form .hs-form-field.ls-hs-field-hidden {
    display: none;
}

.cuc-form-root .hs-form .hs-form-field > label,
.cuc-form-root .hs-form fieldset > legend {
    display: none;
}

.cuc-form-root .hs-form .input input,
.cuc-form-root .hs-form .input select,
.cuc-form-root .hs-form .input textarea {
    width: 100%;
    height: 48px;
    padding: 12px 11px;
    border: 2px solid #d3d3d3;
    border-radius: 10px;
    background: #fff;
    font: 400 16px/1.55 "Montserrat", sans-serif;
    color: var(--ls-color-text);
    outline: none;
    transition: border-color 0.2s;
}

.cuc-form-root .hs-form .input input:focus,
.cuc-form-root .hs-form .input select:focus,
.cuc-form-root .hs-form .input textarea:focus {
    border-color: var(--ls-color-light-green);
    box-shadow: 0 0 0 0.18rem rgba(108, 181, 95, 0.22);
}

.cuc-form-root .hs-form .input select {
    appearance: none;
    padding-right: 38px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%23afafaf' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    color: #afafaf;
}

.cuc-form-root .hs-form .input select.ls-hs-select-has-value {
    color: #2f3532;
}

.cuc-form-root .hs-form .input textarea {
    min-height: 48px;
    resize: none;
}

.cuc-form-root .hs-form .ls-hs-field-textarea-large .input textarea {
    height: 119px;
    min-height: 119px;
}

.cuc-form-root .hs-form .input input::placeholder,
.cuc-form-root .hs-form .input select::placeholder,
.cuc-form-root .hs-form .input textarea::placeholder {
    color: #afafaf;
    opacity: 1;
}

.cuc-form-root .hs-form .hs_submit {
    margin-top: 0;
}

.cuc-form-root .hs-form .hs-button,
.cuc-form-root .hs-form input[type="submit"] {
    width: 100%;
    height: 48px;
    min-height: 48px;
    padding: 11px 24px;
    border: 3px solid #df585d;
    border-radius: 444px;
    background: linear-gradient(90deg, #9d2103 0%, #ca2c06 100%);
    color: #fff;
    font: 700 16px/1.45 "Montserrat", sans-serif;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.cuc-form-root .hs-form .hs-button:hover,
.cuc-form-root .hs-form .hs-button:focus,
.cuc-form-root .hs-form input[type="submit"]:hover,
.cuc-form-root .hs-form input[type="submit"]:focus {
    background: linear-gradient(90deg, #8f1d03 0%, #b92807 100%);
    border-color: #d84f52;
}

.cuc-form-root .hs-error-msgs,
.cuc-form-root .submitted-message {
    margin: 8px 0 0;
    padding-left: 0;
    font: 400 14px/1.55 "Montserrat", sans-serif;
    color: var(--ls-color-text);
}

.cuc-form-root .submitted-message {
    text-align: center;
}

.cuc-form-privacy {
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.55;
    color: var(--ls-color-text);
    text-align: center;
    max-width: 487px;
    margin: 9px 0 0;
}

.cuc-form-privacy a {
    color: var(--ls-color-text);
    text-decoration: underline;
}

/* Contact Us Directly Section */
.cuc-direct-section {
    padding: 0 0 120px;
}

.cuc-direct-section .heading-style-h3 {
    margin-bottom: 8px;
}

.cuc-direct-subtitle {
    margin-bottom: 24px;
}

.cuc-direct-btn {
    width: 251px;
    height: 48px;
    margin-bottom: 24px;
}

.cuc-direct-hours {
    margin-bottom: 0;
}

/* Visit Our Headquarters Section */
.cuc-visit-section {
    padding: 0 0 120px;
}

.cuc-visit-row {
    --bs-gutter-x: 64px;
}

.cuc-visit-content .heading-style-h3 {
    margin-bottom: 24px;
    color: #0a1013;
}

.cuc-visit-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 24px;
}

.cuc-visit-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    line-height: 1.55;
    color: var(--ls-color-text);
}

.cuc-visit-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    margin-top: 3px;
}

.cuc-visit-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.cuc-map-wrap {
    border-radius: 42px;
    overflow: hidden;
    height: 540px;
    background: #b1b1b1;
}

.cuc-map-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===================================================
   Responsive Styles
   =================================================== */

@media (max-width: 1199px) {
    .cuc-hero-image {
        width: 100%;
        height: 400px;
    }

    .cuc-quote-wrapper {
        flex-direction: column;
        border-radius: 42px;
        padding: 24px;
        gap: 32px;
        justify-content: center;
    }

    .cuc-quote-left {
        flex: none;
        width: 100%;
        padding: 32px;
        text-align: center;
    }

    .cuc-quote-title {
        font-size: 42px;
    }

    .cuc-quote-right {
        width: 100%;
        border-radius: 32px;
        padding: 32px;
    }

    .cuc-assessment-card {
        height: auto;
    }
}

@media (max-width: 991px) {
    .cuc-hero {
        padding: 48px 0 0;
    }

    .cuc-hero-content {
        margin-bottom: 32px;
    }

    .cuc-hero-image {
        height: 350px;
        border-radius: 20px;
    }

    .cuc-assessment-section {
        padding: 64px 0 0;
    }

    .cuc-quote-section {
        padding: 64px 0;
    }

    .cuc-direct-section {
        padding: 0 0 64px;
    }

    .cuc-visit-section {
        padding: 0 0 64px;
    }

    .cuc-map-wrap {
        height: 400px;
        border-radius: 28px;
        margin-top: 32px;
    }
}

@media (max-width: 767px) {
    .cuc-hero {
        padding: 32px 0 0;
    }

    .cuc-hero-content .heading-style-h2 {
        font-size: 36px;
    }

    .cuc-hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .cuc-hero-image {
        height: 280px;
        border-radius: 16px;
    }

    .cuc-assessment-section {
        padding: 48px 0 0;
    }

    .cuc-assessment-card {
        height: auto;
        padding: 28px;
        border-radius: 22px;
    }

    .cuc-quote-section {
        padding: 48px 0;
    }

    .cuc-quote-wrapper {
        border-radius: 28px;
        padding: 16px;
    }

    .cuc-quote-left {
        padding: 24px 16px;
    }

    .cuc-quote-title {
        font-size: 32px;
    }

    .cuc-quote-right {
        border-radius: 22px;
        padding: 20px;
    }

    .cuc-form-root .hs-form {
        grid-template-columns: 1fr;
    }

    .cuc-direct-section {
        padding: 0 0 48px;
    }

    .cuc-visit-section {
        padding: 0 0 48px;
    }

    .cuc-map-wrap {
        height: 300px;
        border-radius: 22px;
    }

    .cuc-visit-actions {
        flex-direction: column;
    }
}

/* === HERO TOP-SPACING STANDARDIZATION (nav→hero gap matched to commercial Figma reference, 2026-06-16) === */
@media (min-width: 992px) { .cuc-hero { padding-top: 90px !important; } }


/* === BOTTOM CTA BUTTON EQUAL-WIDTH STANDARDIZATION (match reference: stacked equal width) 2026-06-16 === */
.cuc-visit-actions { flex-direction: column !important; align-items: stretch !important; width: fit-content !important; }

/* QA 2026-07-03: bootstrap row gutters overflowed mobile by 8px */
@media (max-width: 991px) { .cuc-visit-row { margin-left: 0 !important; margin-right: 0 !important; } }

/* QA 2026-07-07: form panel blew out of the quote card — flex-basis auto sized the panel
   to the consent note's unwrapped max-content width after form standardization.
   Fill the card instead and let text wrap. */
@media (min-width: 992px) {
  .cuc-quote-right { flex: 1 1 auto !important; min-width: 0 !important; }
}
