/* ==========================================================================
   07-home-hero-cls.css — Goodman Dermatology home hero critical CSS
   --------------------------------------------------------------------------
   Inlined originally as <style id="gd-critical-cls"> in functions.php.

   Source: frontend/uncode-child/functions.php:947-1078 (the wp_head action
           that printed this block before any async stylesheet loaded).

   Purpose: prevent Cumulative Layout Shift from Owl carousels and WPBakery
            elements that stack briefly before JS/CSS init on the home page.

   Status: NOT yet enqueued by functions.php. See docs/audit/css-restructure-recipe.md
           When swapping in: enqueue with high priority (early) on is_front_page()
           pages so it loads before render. The original inline-in-head approach
           may be preferable for LCP — verify before externalizing.
   ========================================================================== */

/* ── Hero wrapper padding (must match aqua.css to prevent CLS) ────────── */
.goodman-hero-slider { position: relative; overflow: hidden; }
@media (max-width: 1100px) { .goodman-hero-slider { padding: 60px 60px 80px; } }
@media (max-width: 959px)  { .goodman-hero-slider { padding: 24px 24px 48px; } }
@media (max-width: 480px)  { .goodman-hero-slider { padding: 16px 16px 40px; } }

/* ── Hero slider: show only the first slide before Owl inits ──────────── */
.goodman-hero-slider .ghs-carousel:not(.owl-loaded) {
	overflow: hidden;
	position: relative;
}
.goodman-hero-slider .ghs-carousel:not(.owl-loaded) .ghs-slide {
	display: flex !important;
	align-items: stretch;
	gap: 64px;
}
.goodman-hero-slider .ghs-carousel:not(.owl-loaded) .ghs-slide:not(:first-child) {
	position: absolute;
	left: -9999px;
	opacity: 0;
}
.goodman-hero-slider .ghs-carousel:not(.owl-loaded) .ghs-slide__left {
	flex: 0 0 480px;
	display: flex;
	align-items: flex-end;
}
.goodman-hero-slider .ghs-carousel:not(.owl-loaded) .ghs-slide__right {
	flex: 1;
	min-width: 0;
}
.goodman-hero-slider .ghs-carousel:not(.owl-loaded) .ghs-slide__right img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 20px;
}
.goodman-hero-slider .ghs-carousel:not(.owl-loaded) .ghs-slide__heading {
	font-family: 'Lora', 'Georgia', serif;
	font-size: clamp(40px, 5.5vw, 80px);
	line-height: 1.05;
	font-weight: 400;
}
.goodman-hero-slider .ghs-carousel:not(.owl-loaded) .ghs-slide__body {
	font-size: 16px;
	line-height: 1.5;
}

/* ── Generic Owl carousel: hide non-first items before init ───────────── */
.owl-carousel:not(.owl-loaded) {
	overflow: hidden;
}
.owl-carousel:not(.owl-loaded) > *:not(:first-child):not(.ghs-nav):not(.owl-stage-outer) {
	display: none !important;
}

/* ── Services cards: prevent stacking flash ──────────────────────────── */
.gd-services-cards:not(.owl-loaded) {
	display: flex;
	gap: 40px;
	overflow: hidden;
}
.gd-services-cards:not(.owl-loaded) .gd-service-card {
	flex: 0 0 calc(33.333% - 27px);
	min-width: 0;
}

/* ── Reviews carousel: hide overflow before init ─────────────────────── */
.gd-reviews-carousel:not(.owl-loaded) {
	display: flex;
	gap: 40px;
	overflow: hidden;
}
.gd-reviews-carousel:not(.owl-loaded) > * {
	flex: 0 0 calc(33.333% - 27px);
	min-width: 0;
}

/* ── Responsive: hero stacks at tablet ──────────────────────────────── */
@media (max-width: 1199px) {
	.goodman-hero-slider .ghs-carousel:not(.owl-loaded) .ghs-slide__left {
		flex: 0 0 380px;
	}
	.goodman-hero-slider .ghs-carousel:not(.owl-loaded) .ghs-slide {
		gap: 48px;
	}
}
@media (max-width: 959px) {
	.goodman-hero-slider .ghs-carousel:not(.owl-loaded) .ghs-slide {
		flex-direction: column-reverse;
		gap: 24px;
	}
	.goodman-hero-slider .ghs-carousel:not(.owl-loaded) .ghs-slide__left {
		flex: none;
		width: 100%;
	}
	.gd-services-cards:not(.owl-loaded) .gd-service-card {
		flex: 0 0 80%;
	}
	.gd-reviews-carousel:not(.owl-loaded) > * {
		flex: 0 0 80%;
	}
}


/* ==========================================================================
   SECTION B — Homepage hero CLS reserves (from style.css :730-813)
   --------------------------------------------------------------------------
   .home .background-inner min-heights, .custom-hero-carousel container
   reserves, hero text stabilization, testimonial slider reserve,
   services slider reserves.
   ========================================================================== */

/* Homepage hero: reserve space to reduce CLS on mobile */
@media (max-width: 959px) {
	.home .background-inner {
		min-height: 460px; /* conservative height to match hero composition */
		background-size: cover;
		background-position: center;
	}
}

/* Reserve hero height on desktop/tablet to prevent slider jump */
@media (min-width: 960px) {
	.home .background-inner {
		min-height: 560px;
	}
}

/* Homepage hero slider (from index-to-scan.html structure) */
/* Reserve space based on the Uncode hero slider containers */
.home .custom-hero-carousel .uncode-slider.owl-carousel-container,
.home .custom-hero-carousel .uncode-slider .owl-carousel {
	min-height: clamp(420px, 56vw, 720px);
}

/* Ensure Owl wrapper itself reserves height before JS init */
.home .custom-hero-carousel .owl-carousel.owl-height-auto,
.home .custom-hero-carousel .owl-carousel.owl-height,
.home .custom-hero-carousel .owl-carousel .owl-stage-outer {
	min-height: clamp(420px, 56vw, 720px);
}

/* Make each slide row respect the reserved height */
.home .custom-hero-carousel .owl-carousel .vc_row.row-internal {
	min-height: inherit;
}

/* Stabilize hero text: prevent mid-load animations and position consistently */
.home .custom-hero-carousel .row-child {
	display: grid;
	align-items: end;
	min-height: inherit; /* match container reserve */
}
.home .custom-hero-carousel .owl-carousel .vc_row.row-internal {
	display: grid;
	align-items: end;
	min-height: inherit;
}
.home .custom-hero-carousel .uncont,
.home .custom-hero-carousel .heading-text,
.home .custom-hero-carousel .text-lead,
.home .custom-hero-carousel .btn-container {
	transition: none !important;
	animation: none !important;
	opacity: 1 !important;
	transform: none !important;
}

/* Ensure background element respects the reserved box */
.home .custom-hero-carousel .row-background .background-wrapper,
.home .custom-hero-carousel .row-background .background-inner {
	min-height: inherit;
}

/* Testimonial slider reserve */
.home #slider-114118 .owl-carousel {
	min-height: clamp(260px, 36vw, 420px);
}

/* (removed rules that hid hero text prior to slider initialization) */

/* Services slider: reserve stage height across breakpoints to avoid reflow */
.home #slider-services .owl-stage-outer {
	min-height: 380px;
}
@media (min-width: 560px) and (max-width: 991px) {
	.home #slider-services .owl-stage-outer {
		min-height: 420px;
	}
}
@media (min-width: 992px) {
	.home #slider-services .owl-stage-outer {
		min-height: 480px;
	}
}


/* ==========================================================================
   SECTION C — WPBakery hero carousel layout (from style.css :1142-1247)
   --------------------------------------------------------------------------
   .custom-hero-carousel — .owl-item .uncell min-heights, .uncont
   max-widths, .owl-dots positioning, all responsive blocks,
   RevSlider CLS reserves.
   ========================================================================== */

/* Custom Hero - Carousel */
.custom-hero-carousel .owl-item .uncell {
	min-height: 720px; 
	display: flex; 
	flex-wrap: wrap; 
	align-items: flex-end;
	padding: 0 36px 70px 36px;
}

.custom-hero-carousel .owl-item .uncont {
	width: 100%;
	max-width: 560px;
	padding: 70px 0 40px 0;
	margin: 0 0 -26px 0!important;	
}

.custom-hero-carousel .owl-item .uncont .uncode_text_column {	
	width: 100%;
	max-width: 500px;
	font-weight: 600;
}

.custom-hero-carousel .owl-item .uncont > div,
.custom-hero-carousel .owl-item .uncont > .btn-container {
	margin: 0 0 26px 0!important;
}

.custom-hero-carousel .owl-item .uncont > .btn-container {
	margin-top: 14px!important;
}

.custom-hero-carousel .owl-dots {
	bottom: 64px!important;
}

@media (max-width: 1199px) {
.custom-hero-carousel .owl-item .uncell {
	min-height: 640px; 
	padding-bottom: 60px;
}

.custom-hero-carousel .owl-item .uncont {
	max-width: 500px;
}

.custom-hero-carousel .owl-dots {
	bottom: 54px!important;
}
}

@media (max-width: 959px) {
.custom-hero-carousel .owl-item .uncont,
.custom-hero-carousel .owl-item .uncont:not(.overflow-hidden-mask) {
	max-width: 500px!important;
}
}

@media (max-width: 767px) {
.custom-hero-carousel .owl-item .uncell {
	min-height: 480px; 
	padding-bottom: 50px;
}

.custom-hero-carousel .owl-item .uncont {
	max-width: 500px;
	padding: 70px 0 35px 0;
	margin: 0 0 -20px 0!important;	
}

.custom-hero-carousel .owl-item .uncont > div,
.custom-hero-carousel .owl-item .uncont > .btn-container {
	margin: 0 0 20px 0!important;
}

.custom-hero-carousel .owl-item .uncont > .btn-container {
	margin-top: 10px!important;
}

.custom-hero-carousel .owl-dots {
	bottom: 40px!important;
}
}

/* Reserve space for top hero/slider to prevent CLS */
.home .revslider-container,
.home .rev_slider_wrapper,
.home .rs-module-wrap,
.home .rs-module {
	min-height: 720px;
}
@media (max-width: 1199px) {
	.home .revslider-container,
	.home .rev_slider_wrapper,
	.home .rs-module-wrap,
	.home .rs-module {
		min-height: 640px;
	}
}
@media (max-width: 767px) {
	.home .revslider-container,
	.home .rev_slider_wrapper,
	.home .rs-module-wrap,
	.home .rs-module {
		min-height: 480px;
	}
}


/* ==========================================================================
   SECTION D — Goodman hero slider component (from aqua.css §16)
   --------------------------------------------------------------------------
   Full hero slider: tokens, wrapper, slide layout, typography, button,
   image, Owl Carousel reset, custom nav, dots, responsive breakpoints.
   ========================================================================== */

/* ── Tokens ──────────────────────────────────────────────────────────────── */
:root {
    --gd-rose:          #96556E;
    --gd-blue:          #286179;
    --gd-blue-medium:   #063958;
    --gd-dark-gray:     #48575C;
    --gd-almost-black:  #252D30;
    --gd-almost-white:  #FFFFFF;
    --gd-light-tan:     #F2F0ED;
    --gd-light-blue:    #E3F0F5;
    --gd-border-dark:   rgba(21, 34, 41, 0.20);
    --gd-border-light:  rgba(245, 254, 254, 0.20);
    --gd-px:            116px;  /* horizontal page padding */
    --gd-py:            120px;  /* vertical section padding */
}

/* ── Wrapper ─────────────────────────────────────────────────────────────── */
.goodman-hero-slider {
    position: relative;
    overflow: hidden;
}

/* ── Slide layout ─────────────────────────────────────────────────────────── */
.goodman-hero-slider .ghs-slide {
    display: flex !important;
    align-items: stretch;
    gap: 104px;
    min-height: 560px;
}

.goodman-hero-slider .ghs-slide__left {
    flex: 0 0 480px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.goodman-hero-slider .ghs-slide__copy {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* ── Slide typography ─────────────────────────────────────────────────────── */
.goodman-hero-slider .ghs-slide__heading {
    font-family: 'Lora', 'Georgia', serif;
    font-size: clamp(40px, 5.5vw, 80px);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--gd-almost-black);
    margin: 0;
}

.goodman-hero-slider .ghs-slide__body {
    font-size: 16px;
    line-height: 1.5;
    color: var(--gd-almost-black);
    margin: 0;
    max-width: 420px;
}

/* ── Button ───────────────────────────────────────────────────────────────── */
.goodman-hero-slider .ghs-slide__btn-row {
    margin-top: 16px;
}

.goodman-hero-slider .ghs-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 56px;
    padding: 0 20px;
    border: 2px solid var(--gd-border-dark);
    border-radius: 28px;
    font-size: 16px;
    font-weight: 500;
    color: var(--gd-almost-black);
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s;
    white-space: nowrap;
}

.goodman-hero-slider .ghs-btn-outline:hover,
.goodman-hero-slider .ghs-btn-outline:focus {
    background-color: transparent !important;
    border-color: #252D30 !important;
    color: #252D30 !important;
    text-decoration: none !important;
}

/* ── Right image (single) ──────────────────────────────────────────────────── */
.goodman-hero-slider .ghs-slide__right {
    flex: 1;
    min-width: 0;
    border-radius: 24px;
    overflow: hidden;
}

.goodman-hero-slider .ghs-slide__right img {
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: cover;
    display: block;
    border-radius: 24px;
}

/* ── Owl Carousel reset ───────────────────────────────────────────────────── */
.goodman-hero-slider .owl-stage-outer { overflow: visible; }
.goodman-hero-slider .ghs-carousel .owl-item { opacity: 0; transition: opacity 0.5s ease; }
.goodman-hero-slider .ghs-carousel .owl-item.active { opacity: 1; }
.goodman-hero-slider .ghs-carousel .owl-nav,
.goodman-hero-slider .ghs-carousel .owl-dots { display: none; }

/* ── Custom nav ───────────────────────────────────────────────────────────── */
.goodman-hero-slider .ghs-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 480px;   /* match left column width */
    margin-top: 40px;
    position: relative;
    z-index: 2;
    padding: 0;
}

.goodman-hero-slider .ghs-prev,
.goodman-hero-slider .ghs-next {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: var(--gd-almost-black);
    display: flex;
    align-items: center;
    transition: color 0.2s;
    line-height: 1;
}

.goodman-hero-slider .ghs-prev:hover,
.goodman-hero-slider .ghs-next:hover {
    color: var(--gd-rose);
}

.goodman-hero-slider .ghs-prev svg,
.goodman-hero-slider .ghs-next svg {
    width: 20px;
    height: 14px;
}

.goodman-hero-slider .ghs-prev,
.goodman-hero-slider .ghs-next {
    min-width: 44px;
    min-height: 44px;
}

.goodman-hero-slider .ghs-dots {
    display: flex;
    gap: 20px;
    align-items: center;
}

.goodman-hero-slider .ghs-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gd-border-dark);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background 0.25s, transform 0.25s;
    position: relative;
}

.goodman-hero-slider .ghs-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
}

.goodman-hero-slider .ghs-dot.is-active {
    background: var(--gd-almost-black);
    transform: scale(1.3);
}

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
    .goodman-hero-slider {
        padding: 60px 60px 80px;
    }

    .goodman-hero-slider .ghs-slide {
        gap: 48px;
    }

    .goodman-hero-slider .ghs-slide__left {
        flex: 0 0 380px;
    }

    .goodman-hero-slider .ghs-nav {
        width: 380px;
    }
}

@media (max-width: 959px) {
    .goodman-hero-slider {
        padding: 24px 24px 48px;
    }

    .goodman-hero-slider .ghs-slide {
        flex-direction: column-reverse;
        gap: 24px;
        min-height: auto;
    }

    .goodman-hero-slider .ghs-slide__left {
        flex: none;
        width: 100%;
    }

    .goodman-hero-slider .ghs-slide__right img {
        min-height: 280px;
    }

    .goodman-hero-slider .ghs-nav {
        width: 100%;
    }

    .goodman-hero-slider .ghs-slide__heading {
        font-size: clamp(32px, 8vw, 52px);
    }
}

@media (max-width: 480px) {
    .goodman-hero-slider {
        padding: 16px 16px 40px;
    }

    .goodman-hero-slider .ghs-slide {
        gap: 20px;
    }
}


/* ==========================================================================
   SECTION E — Marquee (from aqua.css §17)
   --------------------------------------------------------------------------
   .gd-marquee-section — Goodman brand marquee powered by textMarquee.js.
   ========================================================================== */

/* ── Marquee (Goodman brand — powered by Uncode textMarquee.js) ───────────── */
.gd-marquee-section {
    overflow: hidden;
    pointer-events: none;
    user-select: none;
}

.gd-marquee-section .heading-text {
    margin-bottom: 0;
}

.gd-marquee-section .gd-marquee__text {
    font-family: 'Lora', 'Georgia', serif !important;
    font-size: 20px !important;
    font-weight: 400 !important;
    line-height: 28px !important;
    letter-spacing: 0 !important;
    color: var(--gd-dark-gray) !important;
    margin: 0 !important;
    padding: 0 !important;
}

.gd-marquee-section .gd-marquee__text span {
    color: inherit !important;
}

/* F7: Soft fade at marquee edges to prevent hard text clipping */
.gd-marquee-section {
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
}

@media (max-width: 768px) {
    .gd-marquee-section .gd-marquee__text {
        font-size: 16px !important;
        line-height: 24px !important;
    }
}


/* ── Homepage component sections (from aqua.css:2494-3111) ── */

/* ── Services section ──────────────────────────────────────────────────────── */
.gd-services-section {
    overflow: hidden;
}

.gd-services-section .gd-section__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 64px;
}

.gd-services-section .gd-section__title {
    font-family: 'Lora', 'Georgia', serif;
    font-size: clamp(40px, 4.5vw, 64px);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #fff;
    margin: 0;
}

.gd-services-section .gd-section__btn-row {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
}

.gd-services-cards {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

/* When Owl takes over, hide its built-in controls */
.gd-services-cards.owl-carousel .owl-nav,
.gd-services-cards.owl-carousel .owl-dots { display: none; }

.gd-service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.gd-service-card__image {
    position: relative;
    width: 100%;
    padding-bottom: 100%; /* 1:1 square — Safari-safe replacement for aspect-ratio */
    border-radius: 24px;
    overflow: hidden;
    display: block;
}

.gd-service-card__image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.gd-service-card:hover .gd-service-card__image img {
    transform: scale(1.05);
}

a.gd-service-card__title {
    text-decoration: none;
}

a.gd-service-card__title:hover {
    color: var(--gd-rose);
}

.gd-service-card__title {
    font-family: 'Lora', 'Georgia', serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.35;
    color: #fff;
    text-align: center;
    margin: 0;
    transition: color 0.3s ease;
}

/* Services slider custom nav */
.gd-services-section .ghs-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 64px;
    width: 100%;
    position: relative;
    z-index: 2;
}

.gd-services-section .ghs-prev,
.gd-services-section .ghs-next {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: color 0.2s;
    line-height: 1;
    color: rgba(255,255,255,0.7);
}

.gd-services-section .ghs-prev:hover,
.gd-services-section .ghs-next:hover {
    color: #fff;
}

.gd-services-section .ghs-prev svg,
.gd-services-section .ghs-next svg {
    width: 20px;
    height: 14px;
}

.gd-services-section .ghs-prev,
.gd-services-section .ghs-next {
    min-width: 44px;
    min-height: 44px;
}

.gd-services-section .ghs-dots {
    display: flex;
    gap: 20px;
    align-items: center;
}

.gd-services-section .ghs-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background 0.25s, transform 0.25s;
    background: rgba(255,255,255,0.3);
    position: relative;
}

.gd-services-section .ghs-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
}

.gd-services-section .ghs-dot.is-active {
    background: #fff;
    transform: scale(1.3);
}

/* Static layout when carousel is suppressed (desktop, <= 3 items) */
.gd-services-section.is-static-services .ghs-nav {
    display: none;
}

.gd-services-section.is-static-services .gd-services-cards {
    display: flex;
    gap: 40px;
}

.gd-services-section.is-static-services .gd-services-cards .gd-service-card {
    flex: 1 1 0%;
    min-width: 0;
}

/* ── CTA Banner ─────────────────────────────────────────────────────────────── */
.gd-cta-section {
    padding: var(--gd-py) var(--gd-px);
    background: #fff;
}

.gd-cta-card {
    background: var(--gd-light-tan);
    border-radius: 32px;
    padding: 80px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
    text-align: center;
}

.gd-cta-card__heading {
    font-family: 'Lora', 'Georgia', serif;
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 400;
    line-height: 1.2;
    color: var(--gd-blue);
    margin: 0;
    max-width: 640px;
}

/* ── Providers section ─────────────────────────────────────────────────────── */
.gd-providers-section {
    background: #fff;
    padding: var(--gd-py) var(--gd-px);
}

.gd-providers-section .gd-section__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 64px;
}

.gd-providers-section .gd-section__title {
    font-family: 'Lora', 'Georgia', serif;
    font-size: clamp(40px, 4.5vw, 64px);
    font-weight: 400;
    letter-spacing: -0.02em;
    color: var(--gd-almost-black);
    margin: 0;
}

.gd-provider-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
}

.gd-provider-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    width: 280px;
}

.gd-provider-card__photo {
    position: relative;
    width: 100%;
    padding-bottom: 100%; /* 1:1 square — Safari-safe replacement for aspect-ratio */
    border-radius: 24px;
    overflow: hidden;
    background: var(--gd-light-blue);
}

.gd-provider-card__photo img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gd-provider-card__name {
    font-family: 'Lora', 'Georgia', serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.35;
    color: var(--gd-blue);
    text-align: center;
    margin: 0;
}

/* ── Split content sections ────────────────────────────────────────────────── */
.gd-split-section {
    padding: var(--gd-py) var(--gd-px);
    display: flex;
    align-items: center;
    gap: 120px;
}

.gd-split-section__copy {
    flex: 0 0 480px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.gd-split-section__headline {
    font-family: 'Lora', 'Georgia', serif;
    font-size: clamp(36px, 4vw, 64px);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--gd-almost-black);
    margin: 0;
}

.gd-split-section__body {
    font-size: 16px;
    line-height: 1.5;
    color: var(--gd-almost-black);
    margin: 0;
}

.gd-split-section__image {
    flex: 1;
    min-width: 0;
    border-radius: 24px;
    overflow: hidden;
}

.gd-split-section__image img {
    width: 100%;
    height: 100%;
    min-height: 480px;
    object-fit: cover;
    display: block;
    border-radius: 24px;
}

/* Services list (used in skin-cancer split section) */
.gd-services-list {
    flex: 1;
    min-width: 0;
}

.gd-services-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 32px 0;
    border-top: 1px solid var(--gd-border-dark);
    text-decoration: none;
    transition: color 0.2s;
}

.gd-services-list-item:last-child {
    border-bottom: 1px solid var(--gd-border-dark);
}

.gd-services-list-item:hover .gd-services-list-item__title {
    color: var(--gd-rose);
}

.gd-services-list-item__copy {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.gd-services-list-item__title {
    font-family: 'Lora', 'Georgia', serif;
    font-size: 28px;
    font-weight: 400;
    color: var(--gd-blue);
    transition: color 0.2s;
    margin: 0;
}

.gd-services-list-item__desc {
    font-size: 16px;
    line-height: 1.5;
    color: var(--gd-almost-black);
    margin: 0;
}

.gd-services-list-item__arrow {
    color: var(--gd-almost-black);
    flex-shrink: 0;
    font-size: 18px;
}

/* ── FAQ section ──────────────────────────────────────────────────────────── */
.gd-faq-section {
    background: var(--gd-light-blue);
    padding: var(--gd-py) var(--gd-px);
}

.gd-faq-section .gd-section__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding-bottom: 56px;
}

.gd-faq-section .gd-section__title {
    font-family: 'Lora', 'Georgia', serif;
    font-size: clamp(52px, 5vw, 80px);
    font-weight: 400;
    letter-spacing: -0.03em;
    color: var(--gd-almost-black);
    margin: 0;
}

.gd-faq-item {
    border-top: 1px solid var(--gd-border-dark);
    padding: 32px 0;
}

.gd-faq-item:last-of-type {
    border-bottom: 1px solid var(--gd-border-dark);
}

.gd-faq-item__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    text-align: left;
    gap: 32px;
}

.gd-faq-item__question {
    font-family: 'Lora', 'Georgia', serif;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.4;
    color: var(--gd-blue);
    flex: 1;
    margin: 0;
}

.gd-faq-item.is-open .gd-faq-item__question {
    color: var(--gd-almost-black);
}

.gd-faq-item__icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    position: relative;
    color: var(--gd-almost-black);
}

.gd-faq-item__icon::before,
.gd-faq-item__icon::after {
    content: '';
    position: absolute;
    background: currentColor;
    border-radius: 2px;
    transition: opacity 0.25s, transform 0.25s;
}

.gd-faq-item__icon::before {
    width: 14px;
    height: 1.5px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.gd-faq-item__icon::after {
    width: 1.5px;
    height: 14px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.gd-faq-item.is-open .gd-faq-item__icon::after {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(90deg);
}

.gd-faq-item__answer {
    font-size: 16px;
    line-height: 1.5;
    color: var(--gd-almost-black);
    padding-top: 24px;
    display: none;
}

.gd-faq-item.is-open .gd-faq-item__answer {
    display: block;
}

.gd-location-faq.gd-faq-section {
    background: #fff;
    padding: 0 !important;
    margin: 0;
}

.gd-location-faq .gd-section__header {
    gap: 16px;
    padding-bottom: 12px;
    flex-wrap: wrap;
}

.gd-location-faq .gd-section__title {
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.gd-location-faq .gd-faq-item {
    padding: 16px 0;
}

.gd-location-faq .gd-faq-item__trigger {
    gap: 20px;
}

.gd-location-faq .gd-faq-item__answer {
    padding-top: 16px;
}

.gd-location-faq .gd-faq-item__answer > :first-child {
    margin-top: 0;
}

.gd-location-faq .gd-faq-item__answer > :last-child {
    margin-bottom: 0;
}

.gd-location-faq .gd-faq-item__answer a {
    color: var(--gd-blue);
    text-decoration: underline;
}

.gd-location-faq .gd-faq-item__answer ul,
.gd-location-faq .gd-faq-item__answer ol {
    margin: 16px 0 0;
    padding-left: 20px;
}

.gd-location-faq .gd-faq-item__answer li + li {
    margin-top: 8px;
}

/* F9: Tighten FAQ accordion on mobile — reduce padding and question size */
@media (max-width: 767px) {
    .gd-faq-item {
        padding: 20px 0;
    }
    .gd-faq-item__question {
        font-size: 18px;
        line-height: 1.35;
    }
    .gd-faq-item__trigger {
        gap: 16px;
    }
    .gd-faq-item__answer {
        padding-top: 16px;
    }
}

/* ── Locations strip ──────────────────────────────────────────────────────── */
.gd-locations-section {
    background: var(--gd-blue);
    padding: var(--gd-py) var(--gd-px);
    text-align: center;
}

.gd-locations-section__title {
    font-family: 'Lora', 'Georgia', serif;
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 400;
    color: #fff;
    margin: 0 0 64px;
}

.gd-locations-list {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
    margin-bottom: 64px;
}

.gd-location-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Lora', 'Georgia', serif;
    font-size: 22px;
    font-weight: 400;
    color: #fff;
    text-decoration: none;
}

.gd-location-item:hover {
    text-decoration: underline;
    color: #fff;
}

.gd-location-item svg {
    flex-shrink: 0;
    width: 18px;
    height: 22px;
    fill: currentColor;
}

/* ── Responsive adjustments ────────────────────────────────────────────────── */
@media (max-width: 1100px) {
    :root {
        --gd-px: 60px;
    }

    .gd-split-section {
        gap: 64px;
    }

    .gd-split-section__copy {
        flex: 0 0 380px;
    }

    .gd-services-cards:not(.owl-loaded) {
        flex-wrap: wrap;
    }

    .gd-services-cards:not(.owl-loaded) .gd-service-card {
        flex: 0 0 calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    :root {
        --gd-px: 24px;
        --gd-py: 72px;
    }

    .gd-split-section {
        flex-direction: column;
        gap: 40px;
    }

    .gd-split-section__copy {
        flex: none;
        width: 100%;
    }

    .gd-services-cards:not(.owl-loaded) {
        flex-direction: column;
    }

    .gd-services-cards:not(.owl-loaded) .gd-service-card {
        flex: none;
        width: 100%;
        flex-direction: row;
        align-items: center;
        gap: 24px;
    }

    .gd-services-cards:not(.owl-loaded) .gd-service-card__image {
        width: 80px;
        height: 80px;
        padding-bottom: 0;
        border-radius: 50%;
        flex-shrink: 0;
    }

    .gd-services-cards:not(.owl-loaded) .gd-service-card__title {
        text-align: left;
        font-size: 18px;
    }

    .gd-providers-section .gd-section__header,
    .gd-services-section .gd-section__header,
    .gd-faq-section .gd-section__header {
        flex-direction: column;
        gap: 24px;
    }

    .gd-mission-section {
        padding: 64px var(--gd-px);
    }
}
