/*======================================================================
  SERVICE PAGE - FULL WIDTH CONTENT SECTION
  New, additive stylesheet. Does not modify style.css, so every
  existing page keeps its current look exactly as-is.
  Colors reused from the site's existing palette:
  primary  #486f1f   |   secondary  #0F2D73
======================================================================*/

.service-full {
    position: relative;
    padding: 40px 0;
    background: #f8faf5;
    overflow: hidden;
}

.service-full::before {
    content: "";
    position: absolute;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: rgba(72, 111, 31, .05);
    top: -160px;
    left: -160px;
}

.service-full::after {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: rgba(15, 45, 115, .04);
    bottom: -140px;
    right: -140px;
}

.service-full .container {
    position: relative;
    z-index: 2;
}

.service-full__header {
    max-width: 720px;
    margin: 0 auto 50px;
    text-align: center;
}

.service-full__subtitle {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 50px;
    background: rgba(72, 111, 31, .10);
    color: #486f1f;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 18px;
    letter-spacing: .5px;
}

.service-full__header h2 {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    color: #222;
    margin: 0;
}

.service-full__image {
    width: 100%;
    margin-bottom: 50px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 70px rgba(0, 0, 0, .12);
}

.service-full__image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
    transition: .5s;
}

.service-full__image:hover img {
    transform: scale(1.02);
}

.service-full__body {
    /* max-width: 980px; */
    margin: 0 auto;
    background: #fff;
    border: 1px solid #eef2eb;
    border-radius: 24px;
    padding: 25px 60px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, .05);
}

/* Rich-text formatting coming from the admin editor */
.service-full__body h2,
.service-full__body h3,
.service-full__body h4 {
    color: #182b0e;
    font-weight: 800;
    margin: 30px 0 16px;
}

.service-full__body h2:first-child,
.service-full__body h3:first-child,
.service-full__body h4:first-child,
.service-full__body p:first-child {
    margin-top: 0;
}

.service-full__body h3 {
    font-size: 26px;
    padding-bottom: 10px;
}

.service-full__body h4 {
    font-size: 21px;
}

.service-full__body p {
    font-size: 17px;
    line-height: 32px;
    color: #555;
    margin-bottom: 5px;
}

.service-full__body a {
    color: #486f1f;
    font-weight: 600;
    text-decoration: underline;
}

.service-full__body strong {
    color: #222;
}

.service-full__body blockquote {
    margin: 30px 0;
    padding: 22px 28px;
    border-left: 4px solid #486f1f;
    background: rgba(72, 111, 31, .06);
    border-radius: 0 14px 14px 0;
    font-size: 18px;
    font-style: italic;
    color: #2f4b13;
}

.service-full__body ul,
.service-full__body ol {
    margin: 0 0 25px;
    padding: 0;
    list-style: none;
}

.service-full__body ul li,
.service-full__body ol li {
    position: relative;
    padding: 12px 0 12px 42px;
    font-size: 16.5px;
    line-height: 26px;
    color: #444;
    border-bottom: 1px dashed #eef2eb;
}

.service-full__body ul li:last-child,
.service-full__body ol li:last-child {
    border-bottom: none;
}

.service-full__body ul li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 10px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #486f1f;
    color: #fff;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-full__body ol {
    counter-reset: service-full-counter;
}

.service-full__body ol li {
    counter-increment: service-full-counter;
}

.service-full__body ol li::before {
    content: counter(service-full-counter);
    position: absolute;
    left: 0;
    top: 10px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #0F2D73;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-full__body img {
    max-width: 100%;
    border-radius: 16px;
    margin: 10px 0 25px;
}

/*======================================================================
  RICH TEXT SUPPORT - Banner description & Intro content
  These sections already have their own p/h1 styling in style.css;
  these rules extend that for the extra tags the admin RTE can produce
  (lists, links, bold) without changing anything already working.
======================================================================*/
.inner-banner-content__rich p {
    padding: 10px;
    color: rgba(255, 255, 255, .92);
    font-size: 19px;
    line-height: 34px;
    /* max-width: 700px; */
    margin-bottom: 5px;
}

.inner-banner-content__rich strong,
.inner-banner-content__rich b {
    color: #fff;
}

.inner-banner-content__rich a {
    color: #fff;
    text-decoration: underline;
}

.inner-banner-content__rich ul,
.inner-banner-content__rich ol {
    margin: 0 0 20px;
    padding-left: 22px;
    color: rgba(255, 255, 255, .92);
    font-size: 18px;
    line-height: 32px;
}

.service-intro-v2__rich p {
    font-size: 17px;
    line-height: 32px;
    color: #666;
    margin-bottom: 20px;
}

.service-intro-v2__rich strong,
.service-intro-v2__rich b {
    color: #222;
}

.service-intro-v2__rich a {
    color: #486f1f;
    font-weight: 600;
    text-decoration: underline;
}

.service-intro-v2__rich ul,
.service-intro-v2__rich ol {
    margin: 0 0 20px;
    padding-left: 20px;
    color: #666;
    font-size: 16.5px;
    line-height: 30px;
}

/*======================================================================
  DYNAMIC NAV DROPDOWN (header services menu, footer services list)
======================================================================*/
.cv-nav__submenu .cv-nav__empty,
.cv-offcanvas__submenu .cv-offcanvas__empty {
    color: #9aa08e;
    font-size: 13px;
    padding: 10px 20px;
    display: block;
}

/*======================================================================
  SERVICES LISTING PAGE (services.php)
======================================================================*/
.services-listing {
    position: relative;
    padding: 110px 0;
    background: #f8faf5;
    overflow: hidden;
}

.services-listing::before {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(72, 111, 31, .05);
    top: -160px;
    left: -160px;
    z-index: 0;
}

.services-listing .container {
    position: relative;
    z-index: 2;
}

.services-listing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.services-listing-card {
    position: relative;
    display: block;
    border-radius: 20px;
    overflow: hidden;
    height: 360px;
    box-shadow: 0 15px 40px rgba(10, 30, 63, .08);
    text-decoration: none;
}

.services-listing-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
    background: #e9efe2;
}

.services-listing-card:hover img {
    transform: scale(1.08);
}

.services-listing-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 30, 10, 0) 30%, rgba(15, 30, 10, .55) 65%, rgba(15, 30, 10, .92) 100%);
}

.services-listing-card__content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 24px 26px 28px;
    z-index: 3;
}

.services-listing-card__content h3 {
    font-size: 21px;
    font-weight: 700;
    color: #fff !important;
    margin: 0 0 10px;
}

.services-listing-card__content p {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, .85);
    margin: 0 0 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.services-listing-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 13.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.services-listing-card__link i {
    transition: transform .3s ease;
}

.services-listing-card:hover .services-listing-card__link i {
    transform: translate(3px, -3px);
}

.services-listing-empty {
    text-align: center;
    max-width: 480px;
    margin: 0 auto;
    padding: 60px 30px;
    background: #fff;
    border-radius: 20px;
    border: 1px solid #eef2eb;
}

.services-listing-empty i {
    font-size: 42px;
    color: #486f1f;
    margin-bottom: 18px;
}

.services-listing-empty p {
    color: #666;
    font-size: 16px;
    margin: 0;
}

/*=============================
RESPONSIVE
=============================*/
@media (max-width: 991px) {
    .services-listing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-full {
        padding: 80px 0;
    }

    .service-full__header h2 {
        font-size: 34px;
    }

    .service-full__body {
        padding: 40px 30px;
    }

    .service-full__image img {
        height: 320px;
    }
}

@media (max-width: 767px) {
    .services-listing-grid {
        grid-template-columns: 1fr;
    }

    .services-listing {
        padding: 70px 0;
    }

    .service-full {
        padding: 60px 0;
    }

    .service-full__header h2 {
        font-size: 27px;
    }

    .service-full__body {
        padding: 30px 20px;
        border-radius: 18px;
    }

    .service-full__body p {
        font-size: 16px;
        line-height: 28px;
    }

    .service-full__image img {
        height: 220px;
    }
}