/* ==================================================
   SERVICES ARCHIVE PAGE
   Uses the site's existing theme variables from :root
   (--primary-color, --accent-color, --secondary-color,
   --text-color, --white-color, --divider-color, --bg-color)
   so it automatically matches your theme. Visual language
   mirrors the testimonials page (glow badge, gradient accent
   word, diamond divider, gold ring accents) for consistency.
   Link this file on services.php only.
================================================== */

div.page-header.dark-section.parallaxie.services-page {
    height: 500px;
    min-height: 350px;
    background-image: url('../images/services-banner.webp');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

/* ===== Mobile hero fix (mirrors the same fix applied to about.php) =====
   The bottom of this file already has a generic site-wide fallback for
   .page-header at max-width: 991px (aspect-ratio 3/1 + background-size:
   contain + solid fill). This block overrides that specifically for the
   services banner with the same technique validated on the about page:
   size the mobile banner to (roughly) the source photo's own aspect
   ratio instead of an arbitrary fixed height, so background-size: cover
   doesn't need to crop most of the width away, and keep it strictly
   centered via background-position.

   1.45/1 is the ratio that worked well for the about-page banner — it
   has NOT been verified against services-banner.webp's real dimensions
   (that file wasn't available here). Before shipping, hover the banner
   image in DevTools (Elements > hover the element > "Rendered size"
   tooltip, same as we did for about.php) and adjust the aspect-ratio
   below to match if it's a different photo/ratio.

   --hero-focus-x lets the horizontal focal point be nudged without
   touching the ratio, in case 50% doesn't land on the important part
   of the photo once viewed live.

   This selector (div.page-header.dark-section.parallaxie.services-page)
   is more specific than the generic .page-header fallback further down
   this file, so it wins automatically — no need to touch that rule.
   Scoped to mobile only — desktop is untouched. ===== */
@media (max-width: 767px) {

    div.page-header.dark-section.parallaxie.services-page {
        --hero-focus-x: 50%;
        height: auto !important;
        aspect-ratio: 1.45 / 1 !important; /* TODO: confirm against services-banner.webp's real ratio */
        min-height: 220px !important;
        max-height: 340px !important;
        background-size: cover !important;
        background-position: var(--hero-focus-x) center !important;
        background-repeat: no-repeat;
        background-attachment: scroll !important; /* avoid iOS "fixed" bg shift/crop bugs */
    }

    div.page-header.dark-section.parallaxie.services-page img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: var(--hero-focus-x, 50%) center !important;
    }
}

.services-intro-section {
    position: relative;
    padding: 96px 0 20px;
    overflow: hidden;
    text-align: center;
}

.services-intro-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 100%;
    background-image: radial-gradient(rgba(22, 22, 22, 0.06) 1.5px, transparent 1.5px);
    background-size: 20px 20px;
    z-index: 0;
    pointer-events: none;
    -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 70%);
    mask-image: radial-gradient(ellipse at center, #000 30%, transparent 70%);
}

.services-intro-inner {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 auto;
}

.services-intro-badge-wrap {
    position: relative;
    display: inline-block;
    margin-bottom: 26px;
}

.services-intro-badge-wrap::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 260px;
    height: 140px;
    transform: translate(-50%, -50%);
    background: radial-gradient(ellipse at center, rgba(176, 141, 87, 0.22) 0%, transparent 70%);
    filter: blur(6px);
    z-index: -1;
    pointer-events: none;
}

.services-intro-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-color);
    border: 1px solid rgba(176, 141, 87, 0.35);
    background: rgba(176, 141, 87, 0.08);
    border-radius: 999px;
    padding: 8px 20px 8px 16px;
}

.services-intro-badge svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.services-intro-title {
    font-size: clamp(28px, 3.6vw, 42px);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--primary-color);
    margin: 0 auto 14px !important;
    text-align: center !important;
    width: 100% !important;
    display: block !important;
    overflow: visible !important;
    height: auto !important;
    max-height: none !important;
}

.services-intro-title .text-accent {
    background: linear-gradient(100deg, var(--accent-color) 20%, #d8b988 50%, var(--accent-color) 80%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--accent-color);
}

.services-intro-divider {
    position: relative;
    display: block;
    width: 104px;
    height: 8px;
    margin: 0 auto 20px;
    background:
        radial-gradient(circle, var(--accent-color) 0 3px, transparent 3.5px) center / 8px 8px no-repeat,
        linear-gradient(to right, transparent, var(--accent-color) 22%, var(--accent-color) 78%, transparent) center / 100% 1px no-repeat;
    opacity: 0.85;
}

.services-intro-text {
    font-size: 16.5px;
    line-height: 1.9;
    color: var(--text-color);
    text-align: center;
    margin: 0 auto;
}

.services-intro-text strong {
    color: var(--primary-color);
    font-weight: 600;
}

@media (max-width: 991px) {
    .services-intro-section {
        padding: 60px 0 16px;
    }
}

@media (max-width: 767px) {
    .services-intro-section {
        padding: 44px 0 14px;
    }

    .services-intro-title {
        font-size: 24px;
    }

    .services-intro-text {
        font-size: 15px;
    }

    .services-intro-section::before {
        width: 100%;
    }
}


/* ==================================================
   SERVICES GRID
================================================== */

.services-grid-section {
    position: relative;
    padding: 0 0 100px;
    
}

/* Swiper carousel wrapper */
.services-swiper {
    position: relative;
    overflow: visible;
}

.services-swiper .swiper-wrapper {
    align-items: flex-start;
}

.services-swiper .swiper-slide {
    height: auto;
    display: flex;
}

.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    background: var(--white-color);
    border: 1px solid var(--divider-color);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 16px 36px -24px rgba(22, 22, 22, 0.18);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 48px -20px rgba(22, 22, 22, 0.22);
    border-color: rgba(176, 141, 87, 0.4);
}

/* thin gold accent that draws in from the center on hover, echoes the review cards */
.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0%;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(to right, transparent, var(--accent-color), transparent);
    transition: width 0.45s ease;
    z-index: 3;
}

.service-card:hover::after {
    width: 100%;
}

.service-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--secondary-color);
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-card-image img {
    transform: scale(1.06);
}

/* soft gradient so the icon badge always reads clearly over any photo */
.service-card-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.32) 0%, transparent 45%);
    z-index: 1;
}

/* icon medallion, overlapping the bottom of the image like a seal */
.service-card-icon {
    position: absolute;
    left: 20px;
    bottom: -20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #d8b988, var(--accent-color));
    border: 3px solid var(--white-color);
    box-shadow: 0 8px 16px -6px rgba(176, 141, 87, 0.55);
    color: var(--white-color);
    z-index: 2;
}

.service-card-icon svg {
    width: 19px;
    height: 19px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-card-body {
    padding: 28px 20px 18px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-card-title {
    font-size: 17px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 7px;
}

.service-card-text {
    font-size: 13.5px;
    line-height: 1.65;
    color: var(--text-color);
    opacity: 0.85;
    margin-bottom: 16px;
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    width: fit-content;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--accent-color);
    text-decoration: none;
    padding-top: 14px;
    border-top: 1px solid var(--divider-color);
    width: 100%;
    transition: gap 0.25s ease, color 0.25s ease;
}

.service-card-link svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.25s ease;
}

.service-card-link:hover {
    gap: 11px;
    color: var(--primary-color);
}

.service-card-link:hover svg {
    transform: translateX(3px);
}

/* ---- Swiper navigation + pagination, gold-themed ---- */
.services-swiper .swiper-button-prev,
.services-swiper .swiper-button-next {
    top: 38%;
    width: 42px;
    height: 42px;
    margin-top: 0;
    background: var(--white-color);
    border: 1px solid var(--divider-color);
    border-radius: 50%;
    box-shadow: 0 10px 24px -12px rgba(22, 22, 22, 0.3);
    color: var(--accent-color);
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.services-swiper .swiper-button-prev:hover,
.services-swiper .swiper-button-next:hover {
    background: var(--accent-color);
    color: var(--white-color);
    border-color: var(--accent-color);
}

.services-swiper .swiper-button-prev::after,
.services-swiper .swiper-button-next::after {
    font-size: 15px;
    font-weight: 700;
}

.services-swiper .swiper-button-prev {
    left: -6px;
}

.services-swiper .swiper-button-next {
    right: -6px;
}

.services-swiper .swiper-pagination {
    position: static;
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.services-swiper .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    margin: 0 !important;
    background: var(--accent-color);
    opacity: 0.3;
}

.services-swiper .swiper-pagination-bullet-active {
    opacity: 1;
    width: 22px;
    border-radius: 5px;
}

/* Tablet */
@media (max-width: 991px) {
    .services-swiper .swiper-button-prev,
    .services-swiper .swiper-button-next {
        display: none;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .services-grid-section {
        padding: 6px 0 60px;
    }

    .service-card-body {
        padding: 30px 20px 18px;
    }
}/* ==================================================
   SERVICES ARCHIVE PAGE
   Uses the site's existing theme variables from :root
   (--primary-color, --accent-color, --secondary-color,
   --text-color, --white-color, --divider-color, --bg-color)
   so it automatically matches your theme. Visual language
   mirrors the testimonials page (glow badge, gradient accent
   word, diamond divider, gold ring accents) for consistency.
   Link this file on services.php only.
================================================== */

.services-intro-section {
    position: relative;
    padding: 96px 0 20px;
    
    overflow: hidden;
    text-align: center;
}

.services-intro-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 100%;
    background-image: radial-gradient(rgba(22, 22, 22, 0.06) 1.5px, transparent 1.5px);
    background-size: 20px 20px;
    z-index: 0;
    pointer-events: none;
    -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 70%);
    mask-image: radial-gradient(ellipse at center, #000 30%, transparent 70%);
}

.services-intro-inner {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 auto;
}

.services-intro-badge-wrap {
    position: relative;
    display: inline-block;
    margin-bottom: 26px;
}

.services-intro-badge-wrap::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 260px;
    height: 140px;
    transform: translate(-50%, -50%);
    background: radial-gradient(ellipse at center, rgba(176, 141, 87, 0.22) 0%, transparent 70%);
    filter: blur(6px);
    z-index: -1;
    pointer-events: none;
}

.services-intro-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-color);
    border: 1px solid rgba(176, 141, 87, 0.35);
    background: rgba(176, 141, 87, 0.08);
    border-radius: 999px;
    padding: 8px 20px 8px 16px;
}

.services-intro-badge svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.services-intro-title {
    font-size: clamp(28px, 3.6vw, 42px);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--primary-color);
    margin: 0 auto 14px !important;
    text-align: center !important;
    width: 100% !important;
    display: block !important;
    overflow: visible !important;
    height: auto !important;
    max-height: none !important;
}

.services-intro-title .text-accent {
    background: linear-gradient(100deg, var(--accent-color) 20%, #d8b988 50%, var(--accent-color) 80%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--accent-color);
}

.services-intro-divider {
    position: relative;
    display: block;
    width: 104px;
    height: 8px;
    margin: 0 auto 20px;
    background:
        radial-gradient(circle, var(--accent-color) 0 3px, transparent 3.5px) center / 8px 8px no-repeat,
        linear-gradient(to right, transparent, var(--accent-color) 22%, var(--accent-color) 78%, transparent) center / 100% 1px no-repeat;
    opacity: 0.85;
}

.services-intro-text {
    font-size: 16.5px;
    line-height: 1.9;
    color: var(--text-color);
    text-align: center;
    margin: 0 auto;
}

.services-intro-text strong {
    color: var(--primary-color);
    font-weight: 600;
}

@media (max-width: 991px) {
    .services-intro-section {
        padding: 60px 0 16px;
    }
}

@media (max-width: 767px) {
    .services-intro-section {
        padding: 44px 0 14px;
    }

    .services-intro-title {
        font-size: 24px;
    }

    .services-intro-text {
        font-size: 15px;
    }

    .services-intro-section::before {
        width: 100%;
    }
}


/* ==================================================
   SERVICES GRID
================================================== */

.services-grid-section {
    position: relative;
    padding: 0 0 100px;
   
}

/* Swiper carousel wrapper */
.services-swiper {
    position: relative;
    overflow: visible;
}

.services-swiper .swiper-wrapper {
    align-items: flex-start;
}

.services-swiper .swiper-slide {
    height: auto;
    display: flex;
}

.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    background: var(--white-color);
    border: 1px solid var(--divider-color);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 16px 36px -24px rgba(22, 22, 22, 0.18);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 48px -20px rgba(22, 22, 22, 0.22);
    border-color: rgba(176, 141, 87, 0.4);
}

/* thin gold accent that draws in from the center on hover, echoes the review cards */
.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0%;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(to right, transparent, var(--accent-color), transparent);
    transition: width 0.45s ease;
    z-index: 3;
}

.service-card:hover::after {
    width: 100%;
}

.service-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--secondary-color);
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-card-image img {
    transform: scale(1.06);
}

/* soft gradient so the icon badge always reads clearly over any photo */
.service-card-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.32) 0%, transparent 45%);
    z-index: 1;
}

/* icon medallion, overlapping the bottom of the image like a seal */
.service-card-icon {
    position: absolute;
    left: 20px;
    bottom: -20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #d8b988, var(--accent-color));
    border: 3px solid var(--white-color);
    box-shadow: 0 8px 16px -6px rgba(176, 141, 87, 0.55);
    color: var(--white-color);
    z-index: 2;
}

.service-card-icon svg {
    width: 19px;
    height: 19px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-card-body {
    padding: 28px 20px 18px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-card-title {
    font-size: 17px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 7px;
}

.service-card-text {
    font-size: 13.5px;
    line-height: 1.65;
    color: var(--text-color);
    opacity: 0.85;
    margin-bottom: 16px;
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    width: fit-content;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--accent-color);
    text-decoration: none;
    padding-top: 14px;
    border-top: 1px solid var(--divider-color);
    width: 100%;
    transition: gap 0.25s ease, color 0.25s ease;
}

.service-card-link svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.25s ease;
}

.service-card-link:hover {
    gap: 11px;
    color: var(--primary-color);
}

.service-card-link:hover svg {
    transform: translateX(3px);
}

/* ---- Swiper navigation + pagination, gold-themed ---- */
.services-swiper .swiper-button-prev,
.services-swiper .swiper-button-next {
    top: 38%;
    width: 42px;
    height: 42px;
    margin-top: 0;
    background: var(--white-color);
    border: 1px solid var(--divider-color);
    border-radius: 50%;
    box-shadow: 0 10px 24px -12px rgba(22, 22, 22, 0.3);
    color: var(--accent-color);
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.services-swiper .swiper-button-prev:hover,
.services-swiper .swiper-button-next:hover {
    background: var(--accent-color);
    color: var(--white-color);
    border-color: var(--accent-color);
}

.services-swiper .swiper-button-prev::after,
.services-swiper .swiper-button-next::after {
    font-size: 15px;
    font-weight: 700;
}

.services-swiper .swiper-button-prev {
    left: -6px;
}

.services-swiper .swiper-button-next {
    right: -6px;
}

.services-swiper .swiper-pagination {
    position: static;
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.services-swiper .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    margin: 0 !important;
    background: var(--accent-color);
    opacity: 0.3;
}

.services-swiper .swiper-pagination-bullet-active {
    opacity: 1;
    width: 22px;
    border-radius: 5px;
}

/* Tablet */
@media (max-width: 991px) {
    .services-swiper .swiper-button-prev,
    .services-swiper .swiper-button-next {
        display: none;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .services-grid-section {
        padding: 6px 0 60px;
    }

    .service-card-body {
        padding: 30px 20px 18px;
    }
}/* ==================================================
   SERVICES ARCHIVE PAGE
   Uses the site's existing theme variables from :root
   (--primary-color, --accent-color, --secondary-color,
   --text-color, --white-color, --divider-color, --bg-color)
   so it automatically matches your theme. Visual language
   mirrors the testimonials page (glow badge, gradient accent
   word, diamond divider, gold ring accents) for consistency.
   Link this file on services.php only.
================================================== */

.services-intro-section {
    position: relative;
    padding: 96px 0 20px;
    overflow: hidden;
    text-align: center;
}

.services-intro-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 100%;
    background-image: radial-gradient(rgba(22, 22, 22, 0.06) 1.5px, transparent 1.5px);
    background-size: 20px 20px;
    z-index: 0;
    pointer-events: none;
    -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 70%);
    mask-image: radial-gradient(ellipse at center, #000 30%, transparent 70%);
}

.services-intro-inner {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 auto;
}

.services-intro-badge-wrap {
    position: relative;
    display: inline-block;
    margin-bottom: 26px;
}

.services-intro-badge-wrap::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 260px;
    height: 140px;
    transform: translate(-50%, -50%);
    background: radial-gradient(ellipse at center, rgba(176, 141, 87, 0.22) 0%, transparent 70%);
    filter: blur(6px);
    z-index: -1;
    pointer-events: none;
}

.services-intro-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-color);
    border: 1px solid rgba(176, 141, 87, 0.35);
    background: rgba(176, 141, 87, 0.08);
    border-radius: 999px;
    padding: 8px 20px 8px 16px;
}

.services-intro-badge svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.services-intro-title {
    font-size: clamp(28px, 3.6vw, 42px);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--primary-color);
    margin: 0 auto 14px !important;
    text-align: center !important;
    width: 100% !important;
    display: block !important;
    overflow: visible !important;
    height: auto !important;
    max-height: none !important;
}

.services-intro-title .text-accent {
    background: linear-gradient(100deg, var(--accent-color) 20%, #d8b988 50%, var(--accent-color) 80%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--accent-color);
}

.services-intro-divider {
    position: relative;
    display: block;
    width: 104px;
    height: 8px;
    margin: 0 auto 20px;
    background:
        radial-gradient(circle, var(--accent-color) 0 3px, transparent 3.5px) center / 8px 8px no-repeat,
        linear-gradient(to right, transparent, var(--accent-color) 22%, var(--accent-color) 78%, transparent) center / 100% 1px no-repeat;
    opacity: 0.85;
}

.services-intro-text {
    font-size: 16.5px;
    line-height: 1.9;
    color: var(--text-color);
    text-align: center;
    margin: 0 auto;
}

.services-intro-text strong {
    color: var(--primary-color);
    font-weight: 600;
}

@media (max-width: 991px) {
    .services-intro-section {
        padding: 60px 0 16px;
    }
}

@media (max-width: 767px) {
    .services-intro-section {
        padding: 44px 0 14px;
    }

    .services-intro-title {
        font-size: 24px;
    }

    .services-intro-text {
        font-size: 15px;
    }

    .services-intro-section::before {
        width: 100%;
    }
}


/* ==================================================
   SERVICES GRID
================================================== */

.services-grid-section {
    position: relative;
    padding: 0 0 100px;
    
}

/* Swiper carousel wrapper */
.services-swiper {
    position: relative;
    overflow: visible;
}

.services-swiper .swiper-wrapper {
    align-items: flex-start;
}

.services-swiper .swiper-slide {
    height: auto;
    display: flex;
}

.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    background: var(--white-color);
    border: 1px solid var(--divider-color);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 16px 36px -24px rgba(22, 22, 22, 0.18);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 48px -20px rgba(22, 22, 22, 0.22);
    border-color: rgba(176, 141, 87, 0.4);
}

/* thin gold accent that draws in from the center on hover, echoes the review cards */
.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0%;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(to right, transparent, var(--accent-color), transparent);
    transition: width 0.45s ease;
    z-index: 3;
}

.service-card:hover::after {
    width: 100%;
}

.service-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--secondary-color);
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-card-image img {
    transform: scale(1.06);
}

/* soft gradient so the icon badge always reads clearly over any photo */
.service-card-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.32) 0%, transparent 45%);
    z-index: 1;
}

/* icon medallion, overlapping the bottom of the image like a seal */
.service-card-icon {
    position: absolute;
    left: 20px;
    bottom: -20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #d8b988, var(--accent-color));
    border: 3px solid var(--white-color);
    box-shadow: 0 8px 16px -6px rgba(176, 141, 87, 0.55);
    color: var(--white-color);
    z-index: 2;
}

.service-card-icon svg {
    width: 19px;
    height: 19px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-card-body {
    padding: 28px 20px 18px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-card-title {
    font-size: 17px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 7px;
}

.service-card-text {
    font-size: 13.5px;
    line-height: 1.65;
    color: var(--text-color);
    opacity: 0.85;
    margin-bottom: 16px;
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    width: fit-content;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--accent-color);
    text-decoration: none;
    padding-top: 14px;
    border-top: 1px solid var(--divider-color);
    width: 100%;
    transition: gap 0.25s ease, color 0.25s ease;
}

.service-card-link svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.25s ease;
}

.service-card-link:hover {
    gap: 11px;
    color: var(--primary-color);
}

.service-card-link:hover svg {
    transform: translateX(3px);
}

/* ---- Swiper navigation + pagination, gold-themed ---- */
.services-swiper .swiper-button-prev,
.services-swiper .swiper-button-next {
    top: 38%;
    width: 42px;
    height: 42px;
    margin-top: 0;
    background: var(--white-color);
    border: 1px solid var(--divider-color);
    border-radius: 50%;
    box-shadow: 0 10px 24px -12px rgba(22, 22, 22, 0.3);
    color: var(--accent-color);
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.services-swiper .swiper-button-prev:hover,
.services-swiper .swiper-button-next:hover {
    background: var(--accent-color);
    color: var(--white-color);
    border-color: var(--accent-color);
}

.services-swiper .swiper-button-prev::after,
.services-swiper .swiper-button-next::after {
    font-size: 15px;
    font-weight: 700;
}

.services-swiper .swiper-button-prev {
    left: -6px;
}

.services-swiper .swiper-button-next {
    right: -6px;
}

.services-swiper .swiper-pagination {
    position: static;
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.services-swiper .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    margin: 0 !important;
    background: var(--accent-color);
    opacity: 0.3;
}

.services-swiper .swiper-pagination-bullet-active {
    opacity: 1;
    width: 22px;
    border-radius: 5px;
}

/* Tablet */
@media (max-width: 991px) {
    .services-swiper .swiper-button-prev,
    .services-swiper .swiper-button-next {
        display: none;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .services-grid-section {
        padding: 6px 0 60px;
    }

    .service-card-body {
        padding: 30px 20px 18px;
    }
}/* ==================================================
   SERVICES ARCHIVE PAGE
   Uses the site's existing theme variables from :root
   (--primary-color, --accent-color, --secondary-color,
   --text-color, --white-color, --divider-color, --bg-color)
   so it automatically matches your theme. Visual language
   mirrors the testimonials page (glow badge, gradient accent
   word, diamond divider, gold ring accents) for consistency.
   Link this file on services.php only.
================================================== */

.services-intro-section {
    position: relative;
    padding: 96px 0 20px;
    overflow: hidden;
    text-align: center;
}

.services-intro-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 100%;
    background-image: radial-gradient(rgba(22, 22, 22, 0.06) 1.5px, transparent 1.5px);
    background-size: 20px 20px;
    z-index: 0;
    pointer-events: none;
    -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 70%);
    mask-image: radial-gradient(ellipse at center, #000 30%, transparent 70%);
}

.services-intro-inner {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 auto;
}

.services-intro-badge-wrap {
    position: relative;
    display: inline-block;
    margin-bottom: 26px;
}

.services-intro-badge-wrap::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 260px;
    height: 140px;
    transform: translate(-50%, -50%);
    background: radial-gradient(ellipse at center, rgba(176, 141, 87, 0.22) 0%, transparent 70%);
    filter: blur(6px);
    z-index: -1;
    pointer-events: none;
}

.services-intro-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-color);
    border: 1px solid rgba(176, 141, 87, 0.35);
    background: rgba(176, 141, 87, 0.08);
    border-radius: 999px;
    padding: 8px 20px 8px 16px;
}

.services-intro-badge svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.services-intro-title {
    font-size: clamp(28px, 3.6vw, 42px);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--primary-color);
    margin: 0 auto 14px !important;
    text-align: center !important;
    width: 100% !important;
    display: block !important;
    overflow: visible !important;
    height: auto !important;
    max-height: none !important;
}

.services-intro-title .text-accent {
    background: linear-gradient(100deg, var(--accent-color) 20%, #d8b988 50%, var(--accent-color) 80%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--accent-color);
}

.services-intro-divider {
    position: relative;
    display: block;
    width: 104px;
    height: 8px;
    margin: 0 auto 20px;
    background:
        radial-gradient(circle, var(--accent-color) 0 3px, transparent 3.5px) center / 8px 8px no-repeat,
        linear-gradient(to right, transparent, var(--accent-color) 22%, var(--accent-color) 78%, transparent) center / 100% 1px no-repeat;
    opacity: 0.85;
}

.services-intro-text {
    font-size: 16.5px;
    line-height: 1.9;
    color: var(--text-color);
    text-align: center;
    margin: 0 auto;
}

.services-intro-text strong {
    color: var(--primary-color);
    font-weight: 600;
}

@media (max-width: 991px) {
    .services-intro-section {
        padding: 60px 0 16px;
    }
}

@media (max-width: 767px) {
    .services-intro-section {
        padding: 44px 0 14px;
    }

    .services-intro-title {
        font-size: 24px;
    }

    .services-intro-text {
        font-size: 15px;
    }

    .services-intro-section::before {
        width: 100%;
    }
}


/* ==================================================
   SERVICES GRID
================================================== */

.services-grid-section {
    position: relative;
    padding: 0 0 100px;
    
}

/* Swiper carousel wrapper */
.services-swiper {
    position: relative;
    overflow: visible;
}

.services-swiper .swiper-wrapper {
    align-items: flex-start;
}

.services-swiper .swiper-slide {
    height: auto;
    display: flex;
}

.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    background: var(--white-color);
    border: 1px solid var(--divider-color);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 16px 36px -24px rgba(22, 22, 22, 0.18);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 48px -20px rgba(22, 22, 22, 0.22);
    border-color: rgba(176, 141, 87, 0.4);
}

/* thin gold accent that draws in from the center on hover, echoes the review cards */
.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0%;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(to right, transparent, var(--accent-color), transparent);
    transition: width 0.45s ease;
    z-index: 3;
}

.service-card:hover::after {
    width: 100%;
}

.service-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--secondary-color);
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-card-image img {
    transform: scale(1.06);
}

/* soft gradient so the icon badge always reads clearly over any photo */
.service-card-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.32) 0%, transparent 45%);
    z-index: 1;
}

/* icon medallion, overlapping the bottom of the image like a seal */
.service-card-icon {
    position: absolute;
    left: 20px;
    bottom: -20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #d8b988, var(--accent-color));
    border: 3px solid var(--white-color);
    box-shadow: 0 8px 16px -6px rgba(176, 141, 87, 0.55);
    color: var(--white-color);
    z-index: 2;
}

.service-card-icon svg {
    width: 19px;
    height: 19px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-card-body {
    padding: 28px 20px 18px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-card-title {
    font-size: 17px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 7px;
}

.service-card-text {
    font-size: 13.5px;
    line-height: 1.65;
    color: var(--text-color);
    opacity: 0.85;
    margin-bottom: 16px;
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    width: fit-content;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--accent-color);
    text-decoration: none;
    padding-top: 14px;
    border-top: 1px solid var(--divider-color);
    width: 100%;
    transition: gap 0.25s ease, color 0.25s ease;
}

.service-card-link svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.25s ease;
}

.service-card-link:hover {
    gap: 11px;
    color: var(--primary-color);
}

.service-card-link:hover svg {
    transform: translateX(3px);
}

/* ---- Swiper navigation + pagination, gold-themed ---- */
.services-swiper .swiper-button-prev,
.services-swiper .swiper-button-next {
    top: 38%;
    width: 42px;
    height: 42px;
    margin-top: 0;
    background: var(--white-color);
    border: 1px solid var(--divider-color);
    border-radius: 50%;
    box-shadow: 0 10px 24px -12px rgba(22, 22, 22, 0.3);
    color: var(--accent-color);
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.services-swiper .swiper-button-prev:hover,
.services-swiper .swiper-button-next:hover {
    background: var(--accent-color);
    color: var(--white-color);
    border-color: var(--accent-color);
}

.services-swiper .swiper-button-prev::after,
.services-swiper .swiper-button-next::after {
    font-size: 15px;
    font-weight: 700;
}

.services-swiper .swiper-button-prev {
    left: -6px;
}

.services-swiper .swiper-button-next {
    right: -6px;
}

.services-swiper .swiper-pagination {
    position: static;
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.services-swiper .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    margin: 0 !important;
    background: var(--accent-color);
    opacity: 0.3;
}

.services-swiper .swiper-pagination-bullet-active {
    opacity: 1;
    width: 22px;
    border-radius: 5px;
}

/* Tablet */
@media (max-width: 991px) {
    .services-swiper .swiper-button-prev,
    .services-swiper .swiper-button-next {
        display: none;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .services-grid-section {
        padding: 6px 0 60px;
    }

    .service-card-body {
        padding: 30px 20px 18px;
    }
}/* ==================================================
   SERVICES ARCHIVE PAGE
   Uses the site's existing theme variables from :root
   (--primary-color, --accent-color, --secondary-color,
   --text-color, --white-color, --divider-color, --bg-color)
   so it automatically matches your theme. Visual language
   mirrors the testimonials page (glow badge, gradient accent
   word, diamond divider, gold ring accents) for consistency.
   Link this file on services.php only.
================================================== */

.services-intro-section {
    position: relative;
    padding: 96px 0 20px;
    overflow: hidden;
    text-align: center;
}

.services-intro-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 100%;
    background-image: radial-gradient(rgba(22, 22, 22, 0.06) 1.5px, transparent 1.5px);
    background-size: 20px 20px;
    z-index: 0;
    pointer-events: none;
    -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 70%);
    mask-image: radial-gradient(ellipse at center, #000 30%, transparent 70%);
}

.services-intro-inner {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 auto;
}

.services-intro-badge-wrap {
    position: relative;
    display: inline-block;
    margin-bottom: 26px;
}

.services-intro-badge-wrap::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 260px;
    height: 140px;
    transform: translate(-50%, -50%);
    background: radial-gradient(ellipse at center, rgba(176, 141, 87, 0.22) 0%, transparent 70%);
    filter: blur(6px);
    z-index: -1;
    pointer-events: none;
}

.services-intro-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-color);
    border: 1px solid rgba(176, 141, 87, 0.35);
    background: rgba(176, 141, 87, 0.08);
    border-radius: 999px;
    padding: 8px 20px 8px 16px;
}

.services-intro-badge svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.services-intro-title {
    font-size: clamp(28px, 3.6vw, 42px);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--primary-color);
    margin: 0 auto 14px !important;
    text-align: center !important;
    width: 100% !important;
    display: block !important;
    overflow: visible !important;
    height: auto !important;
    max-height: none !important;
}

.services-intro-title .text-accent {
    background: linear-gradient(100deg, var(--accent-color) 20%, #d8b988 50%, var(--accent-color) 80%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--accent-color);
}

.services-intro-divider {
    position: relative;
    display: block;
    width: 104px;
    height: 8px;
    margin: 0 auto 20px;
    background:
        radial-gradient(circle, var(--accent-color) 0 3px, transparent 3.5px) center / 8px 8px no-repeat,
        linear-gradient(to right, transparent, var(--accent-color) 22%, var(--accent-color) 78%, transparent) center / 100% 1px no-repeat;
    opacity: 0.85;
}

.services-intro-text {
    font-size: 16.5px;
    line-height: 1.9;
    color: var(--text-color);
    text-align: center;
    margin: 0 auto;
}

.services-intro-text strong {
    color: var(--primary-color);
    font-weight: 600;
}

@media (max-width: 991px) {
    .services-intro-section {
        padding: 60px 0 16px;
    }
}

@media (max-width: 767px) {
    .services-intro-section {
        padding: 44px 0 14px;
    }

    .services-intro-title {
        font-size: 24px;
    }

    .services-intro-text {
        font-size: 15px;
    }

    .services-intro-section::before {
        width: 100%;
    }
}


/* ==================================================
   SERVICES GRID
================================================== */

.services-grid-section {
    position: relative;
    padding: 0 0 100px;
   
}

/* Swiper carousel wrapper */
.services-swiper {
    position: relative;
    overflow: visible;
}

.services-swiper .swiper-wrapper {
    align-items: flex-start;
}

.services-swiper .swiper-slide {
    height: auto;
    display: flex;
}

.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    background: var(--white-color);
    border: 1px solid var(--divider-color);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 16px 36px -24px rgba(22, 22, 22, 0.18);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 48px -20px rgba(22, 22, 22, 0.22);
    border-color: rgba(176, 141, 87, 0.4);
}

/* thin gold accent that draws in from the center on hover, echoes the review cards */
.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0%;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(to right, transparent, var(--accent-color), transparent);
    transition: width 0.45s ease;
    z-index: 3;
}

.service-card:hover::after {
    width: 100%;
}

.service-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--secondary-color);
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-card-image img {
    transform: scale(1.06);
}

/* soft gradient so the icon badge always reads clearly over any photo */
.service-card-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.32) 0%, transparent 45%);
    z-index: 1;
}

/* icon medallion, overlapping the bottom of the image like a seal */
.service-card-icon {
    position: absolute;
    left: 20px;
    bottom: -20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #d8b988, var(--accent-color));
    border: 3px solid var(--white-color);
    box-shadow: 0 8px 16px -6px rgba(176, 141, 87, 0.55);
    color: var(--white-color);
    z-index: 2;
}

.service-card-icon svg {
    width: 19px;
    height: 19px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-card-body {
    padding: 28px 20px 18px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-card-title {
    font-size: 17px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 7px;
}

.service-card-text {
    font-size: 13.5px;
    line-height: 1.65;
    color: var(--text-color);
    opacity: 0.85;
    margin-bottom: 16px;
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    width: fit-content;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--accent-color);
    text-decoration: none;
    padding-top: 14px;
    border-top: 1px solid var(--divider-color);
    width: 100%;
    transition: gap 0.25s ease, color 0.25s ease;
}

.service-card-link svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.25s ease;
}

.service-card-link:hover {
    gap: 11px;
    color: var(--primary-color);
}

.service-card-link:hover svg {
    transform: translateX(3px);
}

/* ---- Swiper navigation + pagination, gold-themed ---- */
.services-swiper .swiper-button-prev,
.services-swiper .swiper-button-next {
    top: 38%;
    width: 42px;
    height: 42px;
    margin-top: 0;
    background: var(--white-color);
    border: 1px solid var(--divider-color);
    border-radius: 50%;
    box-shadow: 0 10px 24px -12px rgba(22, 22, 22, 0.3);
    color: var(--accent-color);
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.services-swiper .swiper-button-prev:hover,
.services-swiper .swiper-button-next:hover {
    background: var(--accent-color);
    color: var(--white-color);
    border-color: var(--accent-color);
}

.services-swiper .swiper-button-prev::after,
.services-swiper .swiper-button-next::after {
    font-size: 15px;
    font-weight: 700;
}

.services-swiper .swiper-button-prev {
    left: -6px;
}

.services-swiper .swiper-button-next {
    right: -6px;
}

.services-swiper .swiper-pagination {
    position: static;
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.services-swiper .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    margin: 0 !important;
    background: var(--accent-color);
    opacity: 0.3;
}

.services-swiper .swiper-pagination-bullet-active {
    opacity: 1;
    width: 22px;
    border-radius: 5px;
}

/* Tablet */
@media (max-width: 991px) {
    .services-swiper .swiper-button-prev,
    .services-swiper .swiper-button-next {
        display: none;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .services-grid-section {
        padding: 6px 0 60px;
    }

    .service-card-body {
        padding: 30px 20px 18px;
    }
}
/* Replace swiper rules with responsive CSS Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Tablet Layout */
@media (max-width: 991px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

/* Mobile Layout */
@media (max-width: 575px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ==================================================
   SERVICE CARD UI — isolated final overrides
================================================== */
.services-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 26px;
    align-items: stretch;
}

.services-grid .service-card {
    grid-column: span 2;
    min-width: 0;
    height: 100%;
    background: #fff;
    border: 1px solid rgba(20, 32, 51, 0.10);
    border-radius: 20px;
    box-shadow: 0 14px 38px rgba(20, 32, 51, 0.08);
    overflow: hidden;
    transform: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.services-grid .service-card:nth-child(4) {
    grid-column: 2 / span 2;
}

.services-grid .service-card:nth-child(5) {
    grid-column: 4 / span 2;
}

.services-grid .service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(212, 106, 9, 0.30);
    box-shadow: 0 22px 48px rgba(20, 32, 51, 0.14);
}

.services-grid .service-card::after {
    display: none;
}

.services-grid .service-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    background: #e9e3dc;
    overflow: hidden;
}

.services-grid .service-card-image::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(15, 25, 40, 0.04), rgba(15, 25, 40, 0.28));
    pointer-events: none;
}

.services-grid .service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.2, 0.65, 0.3, 1);
}

.services-grid .service-card:hover .service-card-image img {
    transform: scale(1.045);
}

.service-card-number {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    min-width: 42px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 11px;
    color: #fff;
    background: rgba(19, 30, 48, 0.68);
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.10em;
    backdrop-filter: blur(8px);
}

.services-grid .service-card-body {
    min-height: 245px;
    padding: 25px 26px 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-card-label {
    display: block;
    margin-bottom: 8px;
    color: #a84f00;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.13em;
    line-height: 1.3;
    text-transform: uppercase;
}

.services-grid .service-card-title {
    margin: 0 0 10px;
    color: #172235;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.services-grid .service-card-text {
    margin: 0 0 20px;
    color: #667080;
    font-size: 14px;
    line-height: 1.7;
    opacity: 1;
}

.services-grid .service-card-link {
    width: 100%;
    min-height: 46px;
    margin-top: auto;
    padding: 14px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #a84f00;
    border-top: 1px solid rgba(20, 32, 51, 0.10);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.3;
    text-transform: uppercase;
    text-decoration: none;
}

.services-grid .service-card-link svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    transition: transform 0.25s ease;
}

.services-grid .service-card-link:hover {
    color: #172235;
    gap: 12px;
}

.services-grid .service-card-link:hover svg {
    transform: translateX(4px);
}

.services-grid .service-card-link:focus-visible {
    outline: 3px solid rgba(212, 106, 9, 0.45);
    outline-offset: 4px;
}

@media (max-width: 991px) {
    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
    }

    .services-grid .service-card,
    .services-grid .service-card:nth-child(4) {
        grid-column: auto;
    }

    .services-grid .service-card:nth-child(5) {
        grid-column: 1 / -1;
        width: calc(50% - 11px);
        justify-self: center;
    }
}

@media (max-width: 575px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .services-grid .service-card,
    .services-grid .service-card:nth-child(4),
    .services-grid .service-card:nth-child(5) {
        grid-column: auto;
        width: 100%;
    }

    .services-grid .service-card-body {
        min-height: 225px;
        padding: 22px 20px 20px;
    }

    .services-grid .service-card-title {
        font-size: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .services-grid .service-card,
    .services-grid .service-card-image img,
    .services-grid .service-card-link svg {
        transition: none;
    }

    .services-grid .service-card:hover,
    .services-grid .service-card:hover .service-card-image img {
        transform: none;
    }
}

/* Keep service card content clean and readable despite legacy theme rules. */
.services-grid .service-card,
.services-grid .service-card:hover {
    background: var(--card-bg) !important;
    background-image: none !important;
    filter: none !important;
    opacity: 1 !important;
}

.services-grid .service-card::before,
.services-grid .service-card-body::before,
.services-grid .service-card-body::after {
    content: none !important;
    display: none !important;
}

.services-grid .service-card-body {
    position: relative;
    z-index: 2;
    background: var(--card-bg) !important;
    background-image: none !important;
    color: var(--color-heading-strong) !important;
    filter: none !important;
    opacity: 1 !important;
}

.services-grid .service-card-title {
    color: var(--color-heading) !important;
    opacity: 1 !important;
}

.services-grid .service-card-text {
    color: var(--color-text) !important;
    opacity: 1 !important;
}

.services-grid .service-card-label,
.services-grid .service-card-link {
    color: var(--color-brand-hover) !important;
    opacity: 1 !important;
}

/* Unified page-title hierarchy: navy title with orange highlighted words. */
.services-intro-title {
    color: var(--color-heading) !important;
}

.services-intro-title .text-accent {
    background: none !important;
    color: var(--color-brand) !important;
    -webkit-text-fill-color: currentColor !important;
}
@media only screen and (max-width: 991px){
	.hero,
	.page-header{
		height: auto !important;
		min-height: 0 !important;
		aspect-ratio: 3 / 1;
		padding: 0 !important;
		background-size: contain;
		background-color: var(--bg-color-section);
	}
}