/* =====================================================================
   OUR OFFERING — the three installation packages

   Loaded after kit.css by the Offering widgets only. Built from
   HTML/css/offering.css (packages, steps) and offering-v2.css (the
   comparison table), adjusted to the approved page comp.
   ===================================================================== */


/* =====================================================================
   1. PACKAGES
   ===================================================================== */
.of-packages {
    background: #FFF;
}

/* The hero's "Compare the packages" jumps here; clear the fixed header. */
.elementor-widget-ek_offer_packages {
    scroll-margin-top: 90px;
}

.of-packages .sec-head p {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.of-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto 1fr auto;
    gap: 24px;
    margin-top: 54px;
}

.of-card {
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    background: #FFF;
    border: 1px solid #E3E8ED;
    box-shadow: 0 10px 30px rgba(15, 30, 50, 0.06);
}

/* Subgrid lines the four bands up across all three cards, so a two-line
   promise on one does not leave its neighbours' splits at other heights.
   Where unsupported, each card keeps its own rows. */
@supports (grid-template-rows: subgrid) {
    .of-card {
        grid-row: span 4;
        grid-template-rows: subgrid;
    }
}

.of-card.is-featured {
    border-color: #0078D6;
    box-shadow: 0 18px 50px rgba(0, 120, 214, 0.16);
}

.of-card-head {
    position: relative;
    padding: 26px 30px 24px;
    background: #0B3B66;
    color: #FFF;
}

.of-card.is-featured .of-card-head {
    background: #0078D6;
}

.of-card-tag {
    position: absolute;
    top: 0;
    right: 0;
    padding: 6px 14px;
    background: #EF6D2C;
    color: #FFF;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.of-card-step {
    display: block;
    color: rgba(255, 255, 255, 0.70);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.of-card-head h3 {
    color: #FFF;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.2;
    margin: 0 0 8px;
}

.of-card-promise {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    font-weight: 500;
    line-height: 23px;
    margin: 0;
}

.of-card-split {
    display: flex;
    background: #F5F8FB;
    border-bottom: 1px solid #E3E8ED;
}

.of-split-half {
    flex: 1 1 50%;
    padding: 16px 20px;
}

.of-split-half + .of-split-half {
    border-left: 1px solid #E3E8ED;
}

.of-split-label {
    display: block;
    color: #8A939B;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.1px;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.of-split-value {
    display: block;
    color: #0F0F0F;
    font-size: 15px;
    font-weight: 600;
    line-height: 21px;
}

.of-card-body {
    padding: 26px 30px 20px;
}

.of-includes-label {
    display: block;
    color: #8A939B;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.of-includes {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0 0 22px;
    padding: 0;
    list-style: none;
}

.of-includes li {
    position: relative;
    padding-left: 28px;
    color: #2F3A44;
    font-size: 16px;
    line-height: 24px;
}

/* A filled blue tick for what we do; a hollow circle, greyed, for what
   somebody else does. */
.of-includes li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #0078D6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8'%3E%3Cpath d='M1 4.2 3.5 6.7 9 1.2' stroke='%23fff' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / 10px 8px;
}

.of-includes li.is-by-others {
    color: #8A939B;
}

.of-includes li.is-by-others::before {
    background: none;
    border: 1px solid #C6CFD6;
}

.of-card-note {
    color: #6B7680;
    font-size: 13px;
    line-height: 21px;
    margin: 0;
}

.of-card-foot {
    padding: 0 30px 30px;
}

.of-card-foot .default-btn {
    width: 100%;
    min-width: 0;
}

/* Blue outline button — the two cards either side of the highlighted one.
   The kit's hover fills the button from below with a circle, so the text
   and arrow turn white on hover like its other buttons. */
.default-btn.of-outline {
    background: #FFF;
    border: 1px solid #0078D6;
    color: #0078D6;
}

.default-btn.of-outline .btn-center::after {
    /* right-arrow.svg is black; tinted to the button's blue. */
    filter: invert(29%) sepia(92%) saturate(2370%) hue-rotate(193deg) brightness(92%) contrast(101%);
}

.default-btn.of-outline:hover {
    color: #FFF;
    border-color: #52C8EF;
}

.default-btn.of-outline:hover .btn-center::after {
    filter: invert(1);
}


/* =====================================================================
   2. COMPARISON TABLE — on black
   ===================================================================== */
.of-compare {
    background: #000;
}

.of-compare-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 24px;
}

.of-compare .of-compare-title {
    color: #FFF;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
}

.of-compare-head p {
    color: rgba(255, 255, 255, 0.50);
    font-size: 14px;
    margin: 0;
}

.of-compare-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.of-compare-scroll:focus-visible {
    outline: 2px solid #71D8F0;
    outline-offset: 4px;
}

.of-compare-table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
    margin: 0;
    background: transparent;
    font-size: 15px;
}

.of-compare-table th,
.of-compare-table td {
    padding: 18px 20px;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    background: transparent;
    color: rgba(255, 255, 255, 0.85);
    line-height: 22px;
    text-align: center;
    vertical-align: middle;
}

.of-compare-table th:first-child {
    text-align: left;
    width: 30%;
}

.of-compare-table thead th {
    background: #0B1A2B;
    border-bottom: 0;
    color: #3D9BF0;
    font-size: 15px;
    font-weight: 500;
}

.of-compare-table tbody th {
    color: #FFF;
    font-weight: 500;
}

.of-compare-table tbody tr:hover th,
.of-compare-table tbody tr:hover td {
    background: rgba(255, 255, 255, 0.03);
}

.of-compare-table .is-pick {
    background: rgba(0, 120, 214, 0.10);
}

.of-compare-table thead .is-pick {
    color: #71D8F0;
}

.of-yes,
.of-no {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    vertical-align: middle;
}

.of-yes {
    background: #0078D6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8'%3E%3Cpath d='M1 4.2 3.5 6.7 9 1.2' stroke='%23fff' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / 10px 8px;
}

.of-no {
    border: 1px solid rgba(255, 255, 255, 0.30);
}

.of-cell-note {
    display: block;
    color: rgba(255, 255, 255, 0.45);
    font-size: 12px;
    line-height: 18px;
    margin-top: 2px;
}


/* =====================================================================
   3. STEP CARDS
   ===================================================================== */
.of-steps {
    background: #FFF;
}

.of-steps .sec-head p {
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}

.of-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 50px;
}

.of-step {
    background: #FFF;
    border: 1px solid #EEF1F4;
    box-shadow: 0 10px 30px rgba(15, 30, 50, 0.07);
}

.of-step-media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #E3E8ED;
}

.of-step-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.of-step-num {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 12px;
    background: #EF6D2C;
    color: #FFF;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.of-step-body {
    padding: 24px 26px 30px;
}

.of-step-body .of-step-title {
    color: #0F0F0F;
    font-size: 21px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 10px;
}

.of-step-body p {
    color: #55606A;
    font-size: 15px;
    line-height: 25px;
    margin: 0;
}


/* =====================================================================
   4. FINE PRINT — the FAQ widget in its split layout

   The seven warranty photo stages, as a numbered list inside one answer.
   ===================================================================== */
.faq-answer .of-stage-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px 26px;
    margin: 4px 0 20px;
    padding: 0;
    list-style: none;
    counter-reset: ofstage;
}

.faq-answer .of-stage-list li {
    position: relative;
    padding-left: 28px;
    color: #55606A;
    font-size: 15px;
    line-height: 26px;
    counter-increment: ofstage;
}

.faq-answer .of-stage-list li::before {
    content: counter(ofstage) ".";
    position: absolute;
    left: 0;
    color: #0078D6;
    font-weight: 600;
}


/* =====================================================================
   5. RESPONSIVE
   ===================================================================== */
@media (max-width: 1199px) {
    .of-grid,
    .of-steps-grid {
        gap: 18px;
    }

    .of-card-head,
    .of-card-body,
    .of-card-foot {
        padding-left: 24px;
        padding-right: 24px;
    }
}

@media (max-width: 991px) {
    .of-grid,
    .of-steps-grid {
        grid-template-columns: 1fr;
        max-width: 560px;
        margin-left: auto;
        margin-right: auto;
    }

    /* Stacked, there is nothing beside the featured card to lift it above. */
    .of-card.is-featured {
        box-shadow: 0 10px 30px rgba(15, 30, 50, 0.06);
    }
}

@media (max-width: 767px) {
    .of-card-head h3 {
        font-size: 22px;
    }

    .of-compare-head {
        flex-direction: column;
        gap: 6px;
    }

    .of-compare .of-compare-title {
        font-size: 21px;
    }

    .of-compare-table th,
    .of-compare-table td {
        padding: 14px 14px;
    }

    .faq-answer .of-stage-list {
        grid-template-columns: 1fr;
    }
}
