:root {
    --dfwco-emerald: #123b36;
    --dfwco-emerald-deep: #0c2f2b;
    --dfwco-gold: #be9140;
    --dfwco-gold-light: #d5b46f;
    --dfwco-cream: #f7f3eb;
    --dfwco-paper: #fffdf8;
    --dfwco-ink: #173d38;
    --dfwco-body: #4b625d;
    --dfwco-border: rgba(190, 145, 64, .42);
}

/* Approved v1.2 brand mark. Values intentionally override Core/theme logo sizing. */
body.dfwco-active .dfwco-custom-logo,
body.dfwco-active .dfwco-approved-logo,
body.dfwco-active .dfwco-logo {
    display: block !important;
    width: 178px !important;
    height: auto !important;
    max-width: 178px !important;
    max-height: none !important;
    object-fit: contain !important;
}

body.dfwco-active header .custom-logo-link,
body.dfwco-active header .dfwco-custom-logo-link,
body.dfwco-active header a:has(> img.dfwco-approved-logo) {
    display: inline-flex !important;
    align-items: center !important;
    flex: 0 0 auto !important;
    overflow: visible !important;
}

body.dfwco-active footer .dfwco-approved-logo,
body.dfwco-active .site-footer .dfwco-approved-logo {
    width: 164px !important;
    max-width: 164px !important;
}

.dfwco-call-now {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    padding: 12px 20px !important;
    border: 1.5px solid var(--dfwco-gold) !important;
    border-radius: 999px;
    background: transparent !important;
    color: var(--dfwco-emerald) !important;
    font-weight: 700;
    line-height: 1;
    text-decoration: none !important;
    white-space: nowrap;
    transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.dfwco-call-now:hover,
.dfwco-call-now:focus {
    background: var(--dfwco-gold) !important;
    color: var(--dfwco-emerald-deep) !important;
    transform: translateY(-1px);
}

.dfwco-choice-section,
.dfwco-services-section {
    padding: clamp(56px, 7vw, 96px) 24px;
    background: var(--dfwco-cream);
}

.dfwco-choice-shell,
.dfwco-services-shell,
.dfwco-quote-shell {
    width: min(1180px, 100%);
    margin: 0 auto;
    box-sizing: border-box;
}

/*
 * Locked v1.2 quote-choice layout.
 * Equal columns, no diagonal wedge, no transformed overlays, protected text area.
 */
body.dfwco-active .dfwco-choice-shell {
    position: relative !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    align-items: stretch !important;
    overflow: hidden !important;
    border: 1px solid var(--dfwco-border) !important;
    border-radius: 24px !important;
    background: var(--dfwco-paper) !important;
    box-shadow: 0 22px 60px rgba(18, 59, 54, .12) !important;
    isolation: isolate !important;
    transform: none !important;
    clip-path: none !important;
}

/* Disable legacy/Core diagonal layers that caused the clipping shown in the screenshot. */
body.dfwco-active .dfwco-choice-shell::before,
body.dfwco-active .dfwco-choice-shell::after,
body.dfwco-active .dfwco-choice-card::before,
body.dfwco-active .dfwco-choice-card::after,
body.dfwco-active .dfwco-choice-residential::before,
body.dfwco-active .dfwco-choice-residential::after,
body.dfwco-active .dfwco-choice-commercial::before,
body.dfwco-active .dfwco-choice-commercial::after {
    display: none !important;
    content: none !important;
}

body.dfwco-active .dfwco-choice-shell .dfwco-choice-card {
    position: relative !important;
    inset: auto !important;
    z-index: 2 !important;
    display: flex !important;
    min-width: 0 !important;
    width: auto !important;
    min-height: 500px !important;
    margin: 0 !important;
    padding: clamp(42px, 4.4vw, 58px) !important;
    box-sizing: border-box !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    overflow: visible !important;
    transform: none !important;
    translate: none !important;
    clip-path: none !important;
}

body.dfwco-active .dfwco-choice-shell .dfwco-choice-card > * {
    position: relative !important;
    inset: auto !important;
    z-index: 3 !important;
    width: auto;
    max-width: 100% !important;
    box-sizing: border-box !important;
    transform: none !important;
    translate: none !important;
    text-indent: 0 !important;
}

body.dfwco-active .dfwco-choice-residential {
    background: var(--dfwco-paper) !important;
    color: var(--dfwco-ink) !important;
}

body.dfwco-active .dfwco-choice-commercial {
    border-left: 2px solid var(--dfwco-gold-light) !important;
    background: linear-gradient(145deg, #174d44, var(--dfwco-emerald-deep)) !important;
    box-shadow: none !important;
    color: #fff !important;
}

.dfwco-eyebrow {
    margin: 0 0 18px !important;
    color: var(--dfwco-gold) !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    letter-spacing: .15em !important;
    line-height: 1.35 !important;
    text-transform: uppercase !important;
}

.dfwco-choice-commercial .dfwco-eyebrow {
    color: var(--dfwco-gold-light) !important;
}

.dfwco-choice-card h2,
.dfwco-services-intro h2,
.dfwco-quote-copy h2 {
    margin: 0 0 22px !important;
    font-family: Georgia, 'Times New Roman', serif !important;
    font-weight: 500 !important;
    letter-spacing: -.025em !important;
}

body.dfwco-active .dfwco-choice-shell .dfwco-choice-card h2 {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    color: var(--dfwco-ink) !important;
    font-size: clamp(36px, 3.35vw, 54px) !important;
    line-height: 1.08 !important;
    overflow: visible !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
}

body.dfwco-active .dfwco-choice-shell .dfwco-choice-commercial h2 {
    color: #fff !important;
    font-size: clamp(35px, 3.1vw, 50px) !important;
}

body.dfwco-active .dfwco-choice-card > p:not(.dfwco-eyebrow):not(.dfwco-choice-note) {
    width: 100% !important;
    max-width: none !important;
    margin: 0 0 26px !important;
    color: var(--dfwco-body) !important;
    font-size: 17px !important;
    line-height: 1.75 !important;
}

body.dfwco-active .dfwco-choice-commercial > p:not(.dfwco-eyebrow):not(.dfwco-choice-note) {
    color: rgba(255, 255, 255, .9) !important;
}

.dfwco-starting-price {
    display: flex;
    margin: 4px 0 28px !important;
    flex-direction: column;
}

.dfwco-starting-price span {
    color: var(--dfwco-body);
    font-size: 15px;
}

.dfwco-starting-price strong {
    color: var(--dfwco-ink);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 58px;
    font-weight: 500;
    line-height: 1.05;
}

.dfwco-choice-note {
    margin: 0 0 30px !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.55 !important;
}

body.dfwco-active .dfwco-choice-button {
    margin-top: auto !important;
}

.dfwco-button {
    display: inline-flex;
    min-height: 50px;
    padding: 14px 24px;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-weight: 800;
    line-height: 1.25;
    text-align: center;
    text-decoration: none !important;
    transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}

.dfwco-button:hover,
.dfwco-button:focus {
    transform: translateY(-2px);
}

.dfwco-button-gold {
    border: 1px solid var(--dfwco-gold);
    background: var(--dfwco-gold);
    color: var(--dfwco-emerald-deep) !important;
}

.dfwco-button-gold:hover,
.dfwco-button-gold:focus {
    border-color: var(--dfwco-gold-light);
    background: var(--dfwco-gold-light);
}

.dfwco-button-outline {
    border: 2px solid var(--dfwco-gold-light);
    background: transparent;
    color: #fff !important;
}

.dfwco-button-outline:hover,
.dfwco-button-outline:focus {
    background: var(--dfwco-gold-light);
    color: var(--dfwco-emerald-deep) !important;
}

.dfwco-services-section {
    padding-top: 24px;
}

.dfwco-services-shell {
    overflow: hidden;
    border: 1px solid var(--dfwco-border);
    border-radius: 22px;
    background: var(--dfwco-paper);
    box-shadow: 0 16px 46px rgba(18, 59, 54, .08);
}

.dfwco-services-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(38px, 7vw, 96px);
    padding: clamp(44px, 6vw, 72px);
    align-items: start;
}

.dfwco-services-intro h2 {
    max-width: 620px;
    color: var(--dfwco-ink);
    font-size: clamp(43px, 5vw, 68px);
    line-height: 1.02;
}

.dfwco-services-copy {
    padding-top: 28px;
}

.dfwco-services-copy p {
    margin: 0 0 16px;
    color: var(--dfwco-body);
    font-size: 17px;
    line-height: 1.75;
}

.dfwco-service-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid var(--dfwco-border);
}

.dfwco-service-card {
    display: grid;
    grid-template-columns: 66px minmax(0, 1fr);
    gap: 22px;
    min-width: 0;
    min-height: 245px;
    padding: clamp(34px, 5vw, 54px);
    align-items: start;
    background: #fffefb;
}

.dfwco-service-card + .dfwco-service-card {
    border-left: 1px solid var(--dfwco-border);
}

.dfwco-service-icon {
    display: inline-flex;
    width: 62px;
    height: 62px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--dfwco-emerald);
    color: var(--dfwco-gold-light);
}

.dfwco-service-icon svg {
    width: 34px;
    height: 34px;
}

.dfwco-service-card h3 {
    margin: 2px 0 10px;
    color: var(--dfwco-ink);
    font-size: 21px;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.dfwco-service-card p {
    margin: 0 0 22px;
    color: var(--dfwco-body);
    font-size: 16px;
    line-height: 1.7;
}

.dfwco-service-card a {
    color: var(--dfwco-ink) !important;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .06em;
    text-decoration: none !important;
    text-transform: uppercase;
}

.dfwco-service-card a:hover,
.dfwco-service-card a:focus {
    color: var(--dfwco-gold) !important;
}

.dfwco-quote-section {
    scroll-margin-top: 120px;
    padding: clamp(64px, 8vw, 104px) 24px;
    background: var(--dfwco-emerald);
    color: #fff;
}

.dfwco-quote-shell {
    display: grid;
    grid-template-columns: minmax(280px, .85fr) minmax(460px, 1.15fr);
    gap: clamp(42px, 7vw, 92px);
    align-items: center;
}

.dfwco-quote-copy h2 {
    color: #fff;
    font-size: clamp(43px, 5vw, 66px);
    line-height: 1.04;
}

.dfwco-quote-copy > p:not(.dfwco-eyebrow),
.dfwco-quote-copy li {
    color: rgba(255, 255, 255, .86);
    font-size: 17px;
    line-height: 1.7;
}

.dfwco-quote-copy ul {
    margin: 24px 0 0;
    padding-left: 20px;
}

.dfwco-form-card {
    padding: clamp(28px, 4vw, 48px);
    border: 1px solid rgba(190, 145, 64, .4);
    border-radius: 18px;
    background: var(--dfwco-paper);
    box-shadow: 0 20px 56px rgba(0, 0, 0, .18);
    color: var(--dfwco-ink);
}

.dfwco-form-card .ff-el-group {
    margin-bottom: 18px;
}

.dfwco-form-card .ff-el-input--label label,
.dfwco-form-card label {
    color: var(--dfwco-ink) !important;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.dfwco-form-card input,
.dfwco-form-card select,
.dfwco-form-card textarea {
    min-height: 52px;
    border: 1px solid rgba(18, 59, 54, .28) !important;
    border-radius: 4px !important;
    background: #fff !important;
    color: var(--dfwco-ink) !important;
    font-size: 16px !important;
}

.dfwco-form-card textarea {
    min-height: 126px;
}

.dfwco-form-card input:focus,
.dfwco-form-card select:focus,
.dfwco-form-card textarea:focus {
    border-color: var(--dfwco-gold) !important;
    box-shadow: 0 0 0 3px rgba(190, 145, 64, .16) !important;
    outline: none;
}

.dfwco-form-card .ff-btn-submit,
.dfwco-form-card button[type='submit'] {
    width: 100%;
    min-height: 54px;
    border: 1px solid var(--dfwco-gold) !important;
    border-radius: 4px !important;
    background: var(--dfwco-gold) !important;
    color: var(--dfwco-emerald-deep) !important;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.dfwco-form-card .ff-btn-submit:hover,
.dfwco-form-card button[type='submit']:hover {
    border-color: var(--dfwco-gold-light) !important;
    background: var(--dfwco-gold-light) !important;
}

.dfwco-privacy-note {
    margin: 4px 0 0;
    color: #667873;
    font-size: 12px;
    line-height: 1.55;
}

.dfwco-form-error {
    color: #8d1d1d;
}

/* Fluent Forms dropdown repair on dark and light page sections. */
body.dfwco-active .fluentform select.ff-el-form-control:not([multiple]),
body.dfwco-active .fluentform select:not([multiple]) {
    height: 52px !important;
    min-height: 52px !important;
    max-height: 52px !important;
    background-color: #fff !important;
    color: var(--dfwco-ink) !important;
    color-scheme: light;
    opacity: 1 !important;
    -webkit-text-fill-color: var(--dfwco-ink) !important;
}

body.dfwco-active .fluentform select option,
body.dfwco-active .fluentform select optgroup {
    background: #fff !important;
    color: var(--dfwco-ink) !important;
    font-size: 16px !important;
    opacity: 1 !important;
    -webkit-text-fill-color: var(--dfwco-ink) !important;
}

body.dfwco-active .fluentform select option:disabled {
    color: #697a75 !important;
    -webkit-text-fill-color: #697a75 !important;
}

body.dfwco-active .fluentform .choices,
body.dfwco-active .fluentform .choices__inner,
body.dfwco-active .fluentform .choices__list--dropdown,
body.dfwco-active .fluentform .choices__list[aria-expanded] {
    background: #fff !important;
    color: var(--dfwco-ink) !important;
}

body.dfwco-active .fluentform .choices__item,
body.dfwco-active .fluentform .choices__placeholder {
    color: var(--dfwco-ink) !important;
    opacity: 1 !important;
}

body.dfwco-active .fluentform .choices__item--choice.is-highlighted {
    background: #f0e5ce !important;
    color: var(--dfwco-emerald-deep) !important;
}

@media (max-width: 1100px) and (min-width: 901px) {
    body.dfwco-active .dfwco-choice-shell .dfwco-choice-card {
        min-height: 470px !important;
        padding: 38px 34px !important;
    }

    body.dfwco-active .dfwco-choice-shell .dfwco-choice-card h2,
    body.dfwco-active .dfwco-choice-shell .dfwco-choice-commercial h2 {
        font-size: clamp(34px, 4vw, 44px) !important;
    }
}

@media (max-width: 900px) {
    body.dfwco-active .dfwco-choice-shell,
    .dfwco-services-intro,
    .dfwco-quote-shell {
        grid-template-columns: 1fr !important;
    }

    body.dfwco-active .dfwco-choice-commercial {
        border-top: 2px solid var(--dfwco-gold-light) !important;
        border-left: 0 !important;
    }

    body.dfwco-active .dfwco-choice-shell .dfwco-choice-card {
        min-height: auto !important;
    }

    .dfwco-service-cards {
        grid-template-columns: 1fr;
    }

    .dfwco-service-card + .dfwco-service-card {
        border-top: 1px solid var(--dfwco-border);
        border-left: 0;
    }

    .dfwco-services-copy {
        padding-top: 0;
    }
}

@media (max-width: 720px) {
    body.dfwco-active .dfwco-custom-logo,
    body.dfwco-active .dfwco-approved-logo,
    body.dfwco-active .dfwco-logo {
        width: 140px !important;
        max-width: 140px !important;
    }

    .dfwco-call-now {
        margin-left: 6px;
        padding: 10px 14px !important;
        font-size: 13px;
    }

    .dfwco-choice-section,
    .dfwco-services-section,
    .dfwco-quote-section {
        padding-right: 16px;
        padding-left: 16px;
    }

    body.dfwco-active .dfwco-choice-shell .dfwco-choice-card,
    .dfwco-services-intro,
    .dfwco-service-card,
    .dfwco-form-card {
        padding: 30px 24px !important;
    }

    body.dfwco-active .dfwco-choice-shell .dfwco-choice-card h2,
    body.dfwco-active .dfwco-choice-shell .dfwco-choice-commercial h2 {
        font-size: clamp(32px, 10.5vw, 43px) !important;
    }

    .dfwco-service-card {
        grid-template-columns: 52px minmax(0, 1fr);
        gap: 16px;
    }

    .dfwco-service-icon {
        width: 50px;
        height: 50px;
    }

    .dfwco-service-icon svg {
        width: 28px;
        height: 28px;
    }

    .dfwco-form-card .ff-t-container {
        display: block !important;
    }

    .dfwco-form-card .ff-t-cell {
        width: 100% !important;
        margin-right: 0 !important;
    }
}

/* v2.1.0 managed primary navigation and professional dropdowns */
body.dfwco-active .dfwcc-primary-nav > ul > li > a,
body.dfwco-active .dfwcc-site-header .dfwcc-primary-nav a {
    position: relative;
}
body.dfwco-active .dfwcc-primary-nav > ul > li:not(.dfwco-menu-quote) > a::after {
    content: "";
    position: absolute;
    right: 18px;
    bottom: 10px;
    left: 18px;
    height: 2px;
    background: var(--dfwco-gold);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .18s ease;
}
body.dfwco-active .dfwcc-primary-nav > ul > li:hover > a::after,
body.dfwco-active .dfwcc-primary-nav > ul > li:focus-within > a::after,
body.dfwco-active .dfwcc-primary-nav > ul > li.current-menu-item > a::after,
body.dfwco-active .dfwcc-primary-nav > ul > li.current-menu-ancestor > a::after {
    transform: scaleX(1);
}
body.dfwco-active .dfwcc-primary-nav > ul > li.dfwco-menu-quote > a {
    margin-left: 12px;
    padding-right: 24px;
    padding-left: 24px;
    background: var(--dfwco-emerald-deep);
    color: #fff !important;
    font-weight: 800;
}
body.dfwco-active .dfwcc-primary-nav > ul > li.dfwco-menu-quote > a:hover,
body.dfwco-active .dfwcc-primary-nav > ul > li.dfwco-menu-quote > a:focus {
    background: var(--dfwco-gold);
    color: var(--dfwco-emerald-deep) !important;
}

@media (min-width: 1101px) {
    body.dfwco-active .dfwcc-primary-nav > ul > li.dfwco-menu-parent {
        position: relative;
    }
    body.dfwco-active .dfwcc-primary-nav > ul > li.dfwco-menu-parent > ul.sub-menu {
        top: calc(100% + 1px);
        width: 360px;
        padding: 14px;
        border: 1px solid rgba(18,59,54,.14);
        border-top: 3px solid var(--dfwco-gold);
        border-radius: 0 0 12px 12px;
        background: #fff;
        box-shadow: 0 24px 55px rgba(10,37,34,.18);
        opacity: 0;
        visibility: hidden;
        transform: translateY(8px);
        transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
        z-index: 99999;
    }
    body.dfwco-active .dfwcc-primary-nav > ul > li.dfwco-menu-parent:hover > ul.sub-menu,
    body.dfwco-active .dfwcc-primary-nav > ul > li.dfwco-menu-parent:focus-within > ul.sub-menu {
        display: grid !important;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    body.dfwco-active .dfwcc-primary-nav > ul > li.dfwco-menu-mega > ul.sub-menu {
        width: min(610px, 70vw);
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 4px 12px;
    }
    body.dfwco-active .dfwcc-primary-nav > ul > li.dfwco-menu-service-areas > ul.sub-menu {
        right: 0;
        left: auto;
        width: min(660px, 72vw);
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    body.dfwco-active .dfwcc-primary-nav > ul > li.dfwco-menu-commercial > ul.sub-menu,
    body.dfwco-active .dfwcc-primary-nav > ul > li.dfwco-menu-residential > ul.sub-menu,
    body.dfwco-active .dfwcc-primary-nav > ul > li.dfwco-menu-industries > ul.sub-menu {
        left: 50%;
        transform: translate(-50%, 8px);
    }
    body.dfwco-active .dfwcc-primary-nav > ul > li.dfwco-menu-commercial:hover > ul.sub-menu,
    body.dfwco-active .dfwcc-primary-nav > ul > li.dfwco-menu-commercial:focus-within > ul.sub-menu,
    body.dfwco-active .dfwcc-primary-nav > ul > li.dfwco-menu-residential:hover > ul.sub-menu,
    body.dfwco-active .dfwcc-primary-nav > ul > li.dfwco-menu-residential:focus-within > ul.sub-menu,
    body.dfwco-active .dfwcc-primary-nav > ul > li.dfwco-menu-industries:hover > ul.sub-menu,
    body.dfwco-active .dfwcc-primary-nav > ul > li.dfwco-menu-industries:focus-within > ul.sub-menu {
        transform: translate(-50%, 0);
    }
    body.dfwco-active .dfwcc-primary-nav ul.sub-menu li {
        width: 100%;
    }
    body.dfwco-active .dfwcc-primary-nav ul.sub-menu li a {
        min-height: 46px;
        padding: 12px 14px;
        border-radius: 7px;
        background: transparent;
        color: var(--dfwco-ink) !important;
        font-size: 13px;
        font-weight: 750;
        line-height: 1.35;
        white-space: normal;
    }
    body.dfwco-active .dfwcc-primary-nav ul.sub-menu li a:hover,
    body.dfwco-active .dfwcc-primary-nav ul.sub-menu li a:focus,
    body.dfwco-active .dfwcc-primary-nav ul.sub-menu li.current-menu-item > a {
        background: #f2eadb;
        color: var(--dfwco-emerald-deep) !important;
    }
}

@media (max-width: 1100px) {
    body.dfwco-active .dfwcc-primary-nav > ul > li.dfwco-menu-quote > a {
        margin-left: 0;
    }
    body.dfwco-active .dfwcc-primary-nav ul ul a {
        padding-left: 34px;
    }
}
