/* Extra content sections (prefix .xs-) - responsive, independent of theme layout rules */
.xs-section {
    position: relative;
    padding: 80px 0;
    background: #fff;
}

.xs-section.xs-alt {
    background: #f7f7f5;
}

.xs-section.xs-dark {
    background: #1d1d1b;
    color: #fff;
}

.xs-head {
    max-width: 760px;
    margin: 0 auto 45px;
    text-align: center;
}

.xs-head .xs-sub {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: #a11d0f;
}

.xs-head h2 {
    font-size: 40px;
    line-height: 1.25;
    font-family: 'Abril Fatface', cursive;
    margin-bottom: 14px;
}

.xs-dark .xs-head h2 {
    color: #fff;
}

.xs-head p {
    margin: 0;
    font-size: 16px;
    line-height: 1.75;
    color: #666;
}

.xs-dark .xs-head p {
    color: #d6d6d6;
}

.xs-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.xs-grid.xs-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.xs-grid.xs-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.xs-card {
    height: 100%;
    padding: 30px 24px;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 10px;
    box-shadow: 0 6px 22px rgba(0, 0, 0, .05);
    transition: transform .25s ease, box-shadow .25s ease;
}

.xs-alt .xs-card {
    background: #fff;
}

.xs-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .1);
}

.xs-card .xs-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: #a11d0f;
    color: #fff;
    font-size: 24px;
    line-height: 56px;
    text-align: center;
}

.xs-card h3,
.xs-card h4 {
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.35;
    color: #222;
}

.xs-card p {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: #666;
}

.xs-card a.xs-more {
    display: inline-block;
    margin-top: 14px;
    font-weight: 600;
    color: #a11d0f;
}

/* numbered steps */
.xs-step {
    position: relative;
    padding-top: 42px;
}

.xs-step .xs-num {
    position: absolute;
    top: -22px;
    left: 24px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #a11d0f;
    color: #fff;
    font-weight: 700;
    line-height: 46px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(161, 29, 15, .35);
}

/* stats / trust bar */
.xs-stats {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.xs-stat {
    padding: 26px 16px;
    text-align: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, .08);
}

.xs-stat strong {
    display: block;
    font-size: 34px;
    line-height: 1.2;
    color: #fff;
}

.xs-stat span {
    font-size: 14px;
    color: #d6d6d6;
}

/* chips */
.xs-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.xs-chips li a,
.xs-chips li span {
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid #e2e2e2;
    border-radius: 50px;
    background: #fff;
    font-size: 15px;
    color: #333;
    transition: all .25s ease;
}

.xs-chips li a:hover {
    border-color: #a11d0f;
    background: #a11d0f;
    color: #fff;
}

/* FAQ */
.xs-faq {
    max-width: 860px;
    margin: 0 auto;
}

.xs-faq details {
    margin-bottom: 14px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .04);
}

.xs-faq summary {
    position: relative;
    padding: 18px 54px 18px 22px;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.5;
    color: #222;
    cursor: pointer;
    list-style: none;
}

.xs-faq summary::-webkit-details-marker {
    display: none;
}

.xs-faq summary::after {
    content: '+';
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: #a11d0f;
}

.xs-faq details[open] summary::after {
    content: '\2212';
}

.xs-faq details p {
    margin: 0;
    padding: 0 22px 20px;
    font-size: 15px;
    line-height: 1.75;
    color: #666;
}

/* call to action banner */
.xs-cta {
    padding: 60px 0;
    background: #a11d0f;
    color: #fff;
}

.xs-cta .xs-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.xs-cta h2 {
    margin: 0 0 8px;
    font-size: 32px;
    line-height: 1.3;
    font-family: 'Abril Fatface', cursive;
    color: #fff;
}

.xs-cta p {
    margin: 0;
    font-size: 16px;
    color: #f6dcd8;
}

.xs-cta .xs-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.xs-btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 50px;
    background: #fff;
    color: #a11d0f;
    font-weight: 600;
    text-align: center;
    transition: all .25s ease;
}

.xs-btn:hover {
    background: #1d1d1b;
    color: #fff;
}

.xs-btn.xs-btn-outline {
    background: transparent;
    border: 2px solid #fff;
    padding: 12px 26px;
    color: #fff;
}

.xs-btn.xs-btn-outline:hover {
    background: #fff;
    color: #a11d0f;
}

/* two column text + list */
.xs-split {
    display: grid;
    gap: 40px;
    align-items: center;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.xs-split h2 {
    margin-bottom: 16px;
    font-size: 36px;
    line-height: 1.25;
    font-family: 'Abril Fatface', cursive;
}

.xs-split p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
}

.xs-checks {
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.xs-checks li {
    position: relative;
    margin-bottom: 12px;
    padding-left: 32px;
    font-size: 15px;
    line-height: 1.6;
    color: #444;
}

.xs-checks li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    top: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #a11d0f;
    color: #fff;
    font-size: 12px;
    line-height: 22px;
    text-align: center;
}

.xs-map {
    width: 100%;
    height: 380px;
    border: 0;
    border-radius: 10px;
}

@media (max-width: 1199px) {

    .xs-grid,
    .xs-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .xs-grid.xs-cols-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .xs-section {
        padding: 60px 0;
    }

    .xs-head h2,
    .xs-split h2 {
        font-size: 32px;
    }

    .xs-split {
        grid-template-columns: 1fr;
    }

    .xs-cta .xs-cta-inner {
        flex-direction: column;
        text-align: center;
    }

    .xs-cta .xs-cta-actions {
        justify-content: center;
    }
}

@media (max-width: 575px) {
    .xs-section {
        padding: 45px 0;
    }

    .xs-head {
        margin-bottom: 30px;
    }

    .xs-head h2,
    .xs-split h2 {
        font-size: 26px;
    }

    .xs-grid,
    .xs-grid.xs-cols-3,
    .xs-grid.xs-cols-2 {
        grid-template-columns: 1fr;
    }

    .xs-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .xs-stat strong {
        font-size: 26px;
    }

    .xs-cta h2 {
        font-size: 24px;
    }

    .xs-cta .xs-btn {
        width: 100%;
    }

    .xs-cta .xs-cta-actions {
        width: 100%;
    }

    .xs-faq summary {
        font-size: 16px;
    }

    .xs-map {
        height: 300px;
    }
}

/* Header: Services mega dropdown (desktop only) */
@media only screen and (min-width: 992px) {
    .main-menu .navigation>li>ul.services-menu {
        /* multi-column (not grid) so the theme JS can keep toggling display:block/none */
        -webkit-column-count: 3;
        column-count: 3;
        -webkit-column-gap: 10px;
        column-gap: 10px;
        width: 800px;
        max-width: 96vw;
        left: 50%;
        margin-left: -400px;
        padding: 18px;
        border-top: 3px solid #a11d0f;
        border-radius: 0 0 12px 12px;
        box-shadow: 0 18px 45px rgba(0, 0, 0, .16);
    }

    .main-menu .navigation>li>ul.services-menu>li {
        width: auto;
        padding: 0;
        -webkit-column-break-inside: avoid;
        break-inside: avoid;
        margin-bottom: 4px;
    }

    .main-menu .navigation>li>ul.services-menu>li>a {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 11px 12px;
        border: 0;
        border-radius: 8px;
        font-size: 14.5px;
        font-weight: 600;
        line-height: 1.35;
        text-transform: none;
        transition: background .2s ease, color .2s ease, padding-left .2s ease;
    }

    .main-menu .navigation>li>ul.services-menu>li>a i {
        flex: 0 0 34px;
        width: 34px;
        height: 34px;
        border-radius: 50%;
        background: #fbeceb;
        color: #a11d0f;
        font-size: 14px;
        line-height: 34px;
        text-align: center;
        transition: background .2s ease, color .2s ease;
    }

    .main-menu .navigation>li>ul.services-menu>li>a:hover {
        background: #f7f7f5;
        color: #a11d0f;
        padding-left: 16px;
    }

    .main-menu .navigation>li>ul.services-menu>li>a:hover i {
        background: #a11d0f;
        color: #fff;
    }

    .main-menu .navigation>li>ul.services-menu>li.services-menu-all {
        -webkit-column-span: all;
        column-span: all;
        margin-top: 6px;
        padding-top: 10px;
        border-top: 1px solid #eee;
    }

    .main-menu .navigation>li>ul.services-menu>li.services-menu-all>a {
        justify-content: center;
        gap: 8px;
        background: #a11d0f;
        color: #fff;
    }

    .main-menu .navigation>li>ul.services-menu>li.services-menu-all>a:hover {
        background: #1d1d1b;
        color: #fff;
        padding-left: 12px;
    }

    .main-menu .navigation>li>ul.services-menu>li.services-menu-all>a i {
        flex: none;
        width: auto;
        height: auto;
        background: transparent;
        color: inherit;
        line-height: 1;
    }
}

/* Mobile menu keeps its simple stacked list; hide the icons there */
@media only screen and (max-width: 991px) {
    .mobile-menu .navigation ul.services-menu>li>a i {
        display: none;
    }
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
    .main-menu .navigation>li>ul.services-menu {
        -webkit-column-count: 2;
        column-count: 2;
        width: 560px;
        margin-left: -280px;
    }
}
