/* ===== Hero Section ===== */
.hero-section {
    position: relative;
}

.hero-section__inner {
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Breadcrumb */
.hero-section__breadcrumb-wrapper {
    position: absolute;
    top: 1rem;
    z-index: 10;
    width: 100%;
    overflow-x: auto;
}

.hero-section__breadcrumb-wrapper::-webkit-scrollbar {
    display: none;
}

@media (min-width: 1024px) {
    .hero-section__breadcrumb-wrapper {
        top: 3.5rem;
        overflow-x: hidden;
    }
}

.hero-section__breadcrumb-container {
    padding-left: 1rem;
    padding-right: 1rem;
}

.hero-section__breadcrumb-list {
    display: flex;
    list-style: none;
    flex-wrap: nowrap;
    max-width: fit-content;
    background: transparent;
    padding: 0;
    margin: 0;
}

.hero-section__breadcrumb-item {
    display: flex;
    align-items: center;
}

.hero-section__breadcrumb-link {
    display: flex;
    gap: 0.25rem;
    align-items: center;
    cursor: pointer;
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
    outline: none;
    text-decoration: none;
    color: var(--color-blue-100);
    padding: 0 0.5rem;
    font-size: 1rem;
    font-weight: 800;
    -webkit-font-smoothing: antialiased;
    transition: opacity 0.2s;
}

.hero-section__breadcrumb-link:hover {
    opacity: 0.8;
}

.hero-section__breadcrumb-link:focus-visible {
    z-index: 10;
    outline: 2px solid var(--color-blue-100);
    outline-offset: 2px;
}

.hero-section__breadcrumb-link--current {
    color: var(--dark-pink);
    cursor: default;
}

.hero-section__breadcrumb-link--current:hover {
    opacity: 1;
}

.hero-section__breadcrumb-separator {
    padding: 0 0.25rem;
    display: flex;
    align-items: center;
}

.hero-section__breadcrumb-home {
    height: 1rem;
    width: 1rem;
    fill: var(--color-blue-100);
}

.hero-section__breadcrumb-arrow {
    height: 1rem;
    width: 1rem;
    fill: var(--color-blue-100);
}

/* Background area */
.hero-section__bg-area {
    position: relative;
    width: 100%;
    overflow-x: clip;
    margin-bottom: 4rem;
}

.hero-section__bg-area--with-breadcrumbs {
    margin-top: 7rem;
}

@media (max-width: 1023px) {
    .hero-section__bg-area--with-breadcrumbs {
    margin-top: 3.5rem;
}
}

.hero-section__container {
    padding-left: 1rem;
    padding-right: 1rem;
    height: 100%;
    min-height: 50vw;
    position: relative;
}

@media (min-width: 1024px) {
    .hero-section__container {
        min-height: 22rem;
    }
}

/* White bg shape */
.hero-section__bg-shape-wrap {
    pointer-events: none;
    position: absolute;
    inset: 0;
}

.hero-section__bg-shape {
    position: absolute;
    left: -25%;
    bottom: 0;
    height: 100%;
    min-height: 75vw;
    width: 150%;
    border-bottom-left-radius: 75vw;
    border-bottom-right-radius: 75vw;
    background-color: var(--white);
    opacity: 1;
}

@media (min-width: 1024px) {
    .hero-section__bg-shape {
        left: auto;
        right: -20%;
        top: auto;
        aspect-ratio: 2 / 1;
        height: auto;
        width: 180%;
        min-width: auto;
        min-height: auto;
        border-bottom-left-radius: 9999px;
        border-bottom-right-radius: 9999px;
    }
}

/* Grid */
.hero-section__grid {
    display: grid;
    grid-auto-rows: auto;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
    padding-bottom: 5rem;
}

@media (min-width: 768px) {
    .hero-section__grid {
        grid-template-columns: repeat(12, 1fr);
    }
}

@media (min-width: 1024px) {
    .hero-section__grid {
        padding-bottom: 7rem;
    }
}

@media (max-width: 1023px) {
    .hero-section__grid {
        display: flex;
        justify-content: center;
    }
}

.hero-section__content {
    grid-column: 1 / -1;
}

@media (min-width: 1024px) {
    .hero-section__content {
        grid-column: span 6;
    }
}

/* Title */
.hero-section__title {
    margin-bottom: 1rem;
    margin-top: 0;
    line-height: 1.2;
}

@media (min-width: 1024px) {
    .hero-section__title {
        margin-bottom: 1.5rem;
        margin-right: 3.5rem;
    }
}

/* Description */
.hero-section__description {
    max-width: none;
}

.hero-section__description p {
    font-size: 1.125rem;
    line-height: 1.6;
    margin: 0;
}

/* Buttons */
.hero-section__buttons {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 640px) {
    .hero-section__buttons {
        flex-direction: row;
    }
}

@media (min-width: 768px) {
    .hero-section__buttons {
        gap: 1.5rem;
    }
}

/* Shared button base */
.hero-section__btn {
    z-index: 0;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    appearance: none;
    user-select: none;
    white-space: nowrap;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
    outline: none;
    min-width: 5rem;
    gap: 0.5rem;
    transition: background-color 0.3s, transform 0.2s, opacity 0.2s;
    padding: 0.75rem 0.75rem 0.75rem 2rem;
    height: 3.75rem;
    font-size: 1rem;
    font-weight: 800;
    -webkit-font-smoothing: antialiased;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    align-self: flex-start;
    line-height: 1.2;
}

.hero-section__btn:active {
    transform: scale(0.97);
}

.hero-section__btn:focus-visible {
    z-index: 10;
    outline: 1px dashed;
    outline-offset: 4px;
}

/* Pink variant */
.hero-section__btn--pink {
    background-color: var(--dark-pink);
    color: var(--white);
}

.hero-section__btn--pink:hover {
    background-color: var(--mid-pink);
}

.hero-section__btn--pink:focus-visible {
    outline-color: var(--dark-pink);
}

.hero-section__btn--pink .hero-section__btn-icon {
    background-color: var(--mid-pink);
}

.hero-section__btn--pink:hover .hero-section__btn-icon {
    background-color: var(--dark-pink);
}

/* Grey-blue variant */
.hero-section__btn--grey-blue {
    background-color: var(--bg-standard);
    color: var(--text-dark);
}

.hero-section__btn--grey-blue:hover {
    opacity: 1;
}

.hero-section__btn--grey-blue:focus-visible {
    outline-color: var(--color-blue-100);
}

.hero-section__btn--grey-blue .hero-section__btn-icon {
    background-color: var(--color-blue-100);
}

.hero-section__btn--grey-blue:hover .hero-section__btn-icon {
    opacity: .5;
}

/* Button elements */
.hero-section__btn-label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: break-spaces;
}

.hero-section__btn-icon {
    display: inline-flex;
    height: 2.25rem;
    width: 2.25rem;
    flex: none;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    transition: background-color 0.3s, transform 0.3s;
}

.hero-section__btn:hover .hero-section__btn-icon {
    transform: translateX(0.25rem);
}

.hero-section__btn-icon svg {
    height: 1rem;
    width: 1rem;
    fill: var(--white);
}


/* ==========================================================================
   HERO SECTION – VARIANT EXTENSIONS
   Added to support: image, fullwidth-bg, centered, with-svg variants,
   plus eyebrow, shape dividers, alignment, and spacing utilities.
   ========================================================================== */

/* ── Eyebrow ─────────────────────────────────────────────────────────────── */
.hero-section__eyebrow {
    display: inline-block;
    font-size: var(--font-size-base);
    font-weight: 700;
    color: var(--dark-pink);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0 0 var(--spacing-sm) 0;
    line-height: 1.4;
}

/* ── Image element ───────────────────────────────────────────────────────── */

/* -------------------------
   Hero Section wrapper
------------------------- */
.hero-section__image-section {
	position: absolute;
	inset: 0; /* top/right/bottom/left = 0 */
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

/* -------------------------
   Inner container (image box)
------------------------- */
.hero-section__image-container {
	position: relative;
	width: 80%;
	height: 82%;
	margin-top: 10%;
	margin-bottom: 8%;
}

/* -------------------------
   Image styling
------------------------- */
.hero-section__image2 {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
	display: block;
}


.hero-section__image-wrap {
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.hero-section__image {
    width: 800px;
    height: 1000px;
    display: block;
    object-fit: cover;
}

/* ── SVG illustration ────────────────────────────────────────────────────── */
.hero-section__svg-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.hero-section__svg-wrap svg {
    width: 100%;
    max-width: 480px;
    height: auto;
    display: block;
}

/* ── Overlay (fullwidth-bg) ──────────────────────────────────────────────── */
.hero-section__overlay {
    display: none;
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, var(--hero-overlay-opacity, 0.6));
    z-index: 0;
    pointer-events: none;
}

/* ── Shape Dividers ──────────────────────────────────────────────────────── */
/* The shape divider is always the last child inside .hero-section__inner.
   It is anchored absolute to the <section> (position: relative),
   so it sits flush at the bottom regardless of variant height. */
.hero-section__shape-divider {
    position: absolute;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 2;
    pointer-events: none;
}

.hero-section__shape-divider--bottom {
    bottom: 0;
}

.hero-section__shape-divider--top {
    top: 0;
    transform: rotate(180deg);
}

.hero-section__shape-divider svg {
    display: block;
    width: 100%;
    height: 3rem;
}

@media (min-width: 1024px) {
    .hero-section__shape-divider svg {
        height: 5rem;
    }
}

.hero-section__shape-divider path {
    fill: var(--color-blue-50);
}

/* Brand logo SVG in with-svg variant */
.hero-section__brand-svg {
    width: 100%;
    max-width: 340px;
    height: auto;
    display: block;
}

/* ── Variant: image / with-svg (two-column grid) ─────────────────────────── */
.hero-section__grid--two-col {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    position: relative;
    padding-bottom: 5rem;
}

.hero-section__grid--two-col-sub-logo {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    position: relative;
    padding-bottom: 5rem;
}

@media (min-width: 1024px) {
    .hero-section__grid--two-col {
        grid-template-columns: 1fr 1fr;
        align-items: center;
        padding-bottom: 7rem;
    }

    .hero-section__grid--two-col-sub-logo {
        grid-template-columns: repeat(12, 1fr);
        align-items: center;
        padding-bottom: 7rem;
    }

    /* Override the inherited span-6 rule (designed for the 12-col standard grid).
       In the --two-col grid (1fr 1fr), span 6 creates implicit tracks and
       pushes the media column to a new row. Reset to automatic placement. */
    .hero-section__grid--two-col .hero-section__content {
        grid-column: auto;
    }

    .hero-section__grid--two-col-sub-logo .hero-section__content {
        grid-column: auto;
    }
}

.hero-section__content-sub-logo {
    grid-column: span 6 / span 6 !important;
}

/* Column ordering */
.hero-section__content--order-1 { order: 1; }
.hero-section__content--order-2 { order: 2; }
.hero-section__media-col--order-1 { order: 1; }
.hero-section__media-col--order-2 { order: 2; }

/* Force content visually first on mobile (correct reading order regardless of image side) */
@media (max-width: 1023px) {
    .hero-section__content--order-2 { order: 1; }
    .hero-section__media-col--order-1 { order: 2; }
}

/* ── Variant: fullwidth-bg ───────────────────────────────────────────────── */
.hero-section--fullwidth-bg {
    position: relative;
    min-height: 60vh;
    background-image: var(--hero-bg-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-section--fullwidth-bg .hero-section__inner {
    position: relative;
    z-index: 1;
}

.hero-section--fullwidth-bg .hero-section__overlay {
    display: block;
}

/* Text on background image */
.hero-section__content--on-bg .hero-section__title,
.hero-section__content--on-bg .hero-section__eyebrow {
    color: var(--white);
}

.hero-section__content--on-bg .hero-section__description p {
    color: rgba(255, 255, 255, 0.85);
}

/* Centred grid inside fullwidth-bg */
.hero-section__grid--centered {
    display: grid;
    grid-template-columns: 1fr;
    position: relative;
    padding-top: 5rem;
    padding-bottom: 5rem;
}

@media (min-width: 1024px) {
    .hero-section__grid--centered {
        padding-top: 8rem;
        padding-bottom: 8rem;
    }
}

/* ── Variant: centered (text-only) ──────────────────────────────────────── */
.hero-section--centered .hero-section__content {
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.hero-section--centered .hero-section__buttons {
    justify-content: center;
}

/* ── Alignment modifiers ─────────────────────────────────────────────────── */
.hero-section--align-center .hero-section__content {
    text-align: center;
}

.hero-section--align-center .hero-section__buttons {
    justify-content: center;
}

.hero-section--align-right .hero-section__content {
    text-align: right;
}

.hero-section--align-right .hero-section__buttons {
    justify-content: flex-end;
}

/* ── Spacing utilities ───────────────────────────────────────────────────── */
.hero-section--pt-sm  { padding-top: var(--spacing-sm); }
.hero-section--pt-md  { padding-top: var(--spacing-md); }
.hero-section--pt-lg  { padding-top: var(--spacing-lg); }
.hero-section--pt-xl  { padding-top: var(--spacing-xl); }

.hero-section--pb-sm  { padding-bottom: var(--spacing-sm); }
.hero-section--pb-md  { padding-bottom: var(--spacing-md); }
.hero-section--pb-lg  { padding-bottom: var(--spacing-lg); }
.hero-section--pb-xl  { padding-bottom: var(--spacing-xl); }

/* ── Image variant – decorative elements ────────────────────────────────── */

/* Relative container: allows absolute-positioned wave SVG behind the photo */
.hero-section__media-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-left: -1rem;
    margin-right: -1rem;
}

@media (min-width: 640px) {
    .hero-section__media-inner {
        margin-left: 0;
        margin-right: 0;
    }
}

/* Teal/pink curved wave SVG behind the photo */
.hero-section__deco-wave {
    position: absolute;
    left: -10%;
    top: 20%;
    width: 120%;
    pointer-events: none;
    z-index: 0;
}

@media (min-width: 640px) {
    .hero-section__deco-wave {
        left: 0;
        top: 40%;
        width: 100%;
    }
}

/* Photo clip-path wrapper: 4/5 aspect ratio, sits in front of wave */
.hero-section__image-clip-wrap {
    position: relative;
    aspect-ratio: 4 / 5;
    width: 60%;
    z-index: 1;
}

@media (min-width: 640px) {
    .hero-section__image-clip-wrap {
        width: 80%;
    }
}

/* Blob decoration SVG fills the clip-wrap exactly (acts as visual overlay) */
.hero-section__deco-blob {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* Photo inside clip-wrap fills the container; clip-path applied inline */
.hero-section__image-clip-wrap .hero-section__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* ── Logo variant ────────────────────────────────────────────────────────── */

/* Two-column grid: content takes available space, logo column is auto-sized */
.hero-section__grid--with-logo {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    position: relative;
    padding-top: 3.5rem;
    padding-bottom: 5rem;
}

@media (min-width: 768px) {
    .hero-section__grid--with-logo {
        padding-top: 5rem;
    }
}

@media (min-width: 1024px) {
    .hero-section__grid--with-logo {
        grid-template-columns: 1fr auto;
        align-items: center;
        padding-top: 7rem;
        padding-bottom: 7rem;
    }

    /* Override the span-6 rule (designed for the 12-col standard grid)
       so the content cell fills the single 1fr track instead of spanning
       6 implicit columns and pushing the logo col onto a new row. */
    .hero-section__grid--with-logo .hero-section__content {
        grid-column: auto;
    }
}

/* Sub-brand logo column */
.hero-section__logo-col {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

@media (min-width: 1024px) {
    .hero-section__logo-col {
        justify-content: center;
    }
}

/* Logo column ordering (mirrors media-col ordering pattern) */
.hero-section__logo-col--order-1 { order: 1; }
.hero-section__logo-col--order-2 { order: 2; }

@media (max-width: 1023px) {
    .hero-section__logo-col--order-1 { order: 2; }
}

/* Sub-brand logo image */
.hero-section__sub-logo {
    width: auto;
    max-width: 6rem;
    height: auto;
    display: block;
}

/* ── Logo variant – stacked layout ──────────────────────────────── */

/* Vertical padding: mirrors the previous grid wrapper values */
.hero-section--logo .hero-section__container {
    padding-top: 3.5rem;
    padding-bottom: 5rem;
}

@media (min-width: 768px) {
    .hero-section--logo .hero-section__container {
        padding-top: 5rem;
    }
}

@media (min-width: 1024px) {
    .hero-section--logo .hero-section__container {
        padding-top: 7rem;
        padding-bottom: 7rem;
    }
}

/* Sub-brand logo wrapper: flex left-aligned, positioned above bg-shape */
.hero-section__sub-logo-wrap {
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 1.5rem;
}

/* Hero content: positioned above bg-shape on all viewports */
.hero-section--logo .hero-section__content {
    position: relative;
}

/* Hero content: max 50% wide on desktop */
@media (min-width: 1024px) {
    .hero-section--logo .hero-section__content {
        /* max-width: 50%; */
        grid-column: auto; /* neutralise any inherited grid-column */
    }
}

/* ==========================================================================
   VARIANT: CONTACT
   Two-column layout: hero text (left) + white contact card with accordion (right)
   Reference: https://mentalcaregroup.nl/contact
   ========================================================================== */

/* ── Grid ────────────────────────────────────────────────────────────────── */
.hero-section__grid--contact {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    position: relative;
    padding-top: 3.5rem;
    padding-bottom: 3rem;
}

@media (min-width: 768px) {
    .hero-section__grid--contact {
        padding-top: 5rem;
    }
}

@media (min-width: 1024px) {
    .hero-section__grid--contact {
        /* 50/50 split mirrors reference two-column layout */
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        align-items: start;
        padding-top: 7rem;
        padding-bottom: 5rem;
    }

    /* Explicitly place both columns — overrides the inherited span 6 / 1 / -1 */
    .hero-section__grid--contact .hero-section__content {
        grid-column: 1; /* left column */
    }

    .hero-section__grid--contact .hero-section__contact-col {
        grid-column: 2; /* right column */
    }
}

/* ── Right column wrapper (card + optional form) ─────────────────────────── */
.hero-section__contact-col {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    min-height: 100%;
}

/* ── White contact card ──────────────────────────────────────────────────── */
/* Tailwind reference: rounded-[1.25rem] bg-white px-4 py-10 shadow-md lg:p-10 */
.hero-section__contact-card {
    background-color: #ffffff;
    border-radius: 1.25rem;
    padding: 2.5rem 1rem;              /* px-4 py-10 */
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-height: 100%;
}

@media (min-width: 1024px) {
    .hero-section__contact-card {
        padding: 2.5rem;               /* lg:p-10 */
    }
}

/* ── Org selector wrapper ────────────────────────────────────────────────── */
.hero-section__contact-selector {
    position: relative;
}

/* ── Org selector – pill trigger button ──────────────────────────────────── */
/* Mirrors reference: pill-shaped, border, flex between, org name + blue circle arrow */
.hero-section__contact-selector-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    width: 100%;
    background-color: #ffffff;
    border-radius: 9999px;
    border: 1.5px solid rgba(43, 90, 138, 0.25);
    padding: 1.25rem 1.5rem;
    font-size: 0.875rem;               /* text-[14px] */
    font-weight: 800;                  /* font-extrabold */
    font-family: inherit;
    color: var(--color-heading);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    outline: none;
    transition: border-color 0.2s;
    user-select: none;
    text-align: left;
}

.hero-section__contact-selector-btn:hover {
    border-color: rgba(43, 90, 138, 0.5);
}

.hero-section__contact-selector-btn:focus-visible {
    outline: 2px solid var(--color-blue-100);
    outline-offset: 2px;
}

/* Truncate long org names */
.hero-section__contact-selector-label {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ── Icon circle (shared: selector trigger + single-org fallback) ─────────── */
/* Tailwind reference: inline-flex h-9 w-9 flex-none items-center
                       justify-content rounded-full bg-mid-blue */
.hero-section__accordion-icon {
    display: inline-flex;
    height: 2.25rem;                   /* h-9 */
    width: 2.25rem;                    /* w-9 */
    flex: none;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background-color: var(--color-blue-100, #2B5A8A);
    transition: transform 0.25s ease, background-color 0.2s;
}

.hero-section__accordion-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    fill: #ffffff;
}

/* Rotate arrow when dropdown is open */
.hero-section__contact-selector-btn[aria-expanded="true"] .hero-section__accordion-icon {
    transform: rotate(180deg);
}

/* ── Dropdown panel (floating listbox) ───────────────────────────────────── */
.hero-section__contact-dropdown {
    position: absolute;
    top: calc(100% + 0.375rem);
    left: 0;
    right: 0;
    background-color: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 8px 24px -4px rgb(0 0 0 / 0.12), 0 2px 8px -2px rgb(0 0 0 / 0.08);
    z-index: 20;
    display: flex;
    flex-direction: column;
    padding: 0.375rem;
    border: 1px solid rgba(43, 90, 138, 0.12);
}

/* display: flex overrides the UA [hidden] rule — restore it explicitly */
.hero-section__contact-dropdown[hidden],
.hero-section__contact-panel[hidden] {
    display: none;
}

.hero-section__contact-dropdown-item {
    display: block;
    width: 100%;
    text-align: left;
    padding: 0.75rem 1rem;
    border-radius: 0.625rem;
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-heading);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    outline: none;
    transition: background-color 0.15s;
    user-select: none;
}

.hero-section__contact-dropdown-item:hover {
    background-color: rgba(43, 90, 138, 0.06);
}

.hero-section__contact-dropdown-item.is-selected {
    background-color: rgba(43, 90, 138, 0.1);
    color: var(--color-blue-100, #2B5A8A);
}

.hero-section__contact-dropdown-item:focus-visible {
    outline: 2px solid var(--color-blue-100);
    outline-offset: -2px;
}

/* ── Org contact panel ───────────────────────────────────────────────────── */
.hero-section__contact-panel {
    padding-top: 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
}

/* Single-org fallback: org name shown as label above the links */
.hero-section__contact-org-name {
    font-size: 0.875rem;
    font-weight: 800;
    color: var(--color-heading);
    margin: 0 0 0.25rem 0;
    line-height: 1.4;
}

/* ── Panel reveal animation (lazy-reveal feel) ───────────────────────────── */
/* Panels are hidden by default (HTML `hidden` attribute).
   When JS removes `hidden` and adds `is-active`, the fade+slide plays. */
.hero-section__contact-panel.is-active {
    animation: hcpFadeIn 0.25s ease forwards;
}

@keyframes hcpFadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Address inside expanded panel */
.hero-section__contact-item-address {
    font-size: var(--font-size-base);
    font-style: normal;
    line-height: 1.5;
    color: var(--color-body);
    margin: 0 0 0.25rem 0;
}

/* ── Contact links (phone / email) ───────────────────────────────────────── */
/* Tailwind: inline-flex flex-row-reverse gap-4 leading-6 text-primary
   (flex-row-reverse puts icon first visually; our HTML has icon first so no reverse needed) */
.hero-section__contact-link {
    display: inline-flex;
    align-items: center;
    gap: 1rem;                         /* gap-4 */
    font-size: var(--font-size-base);
    line-height: 1.5;                  /* leading-6 */
    color: var(--color-heading);
    text-decoration: none;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    transition: opacity 0.2s;
}

.hero-section__contact-link:hover {
    opacity: 0.75;                     /* hover:opacity-80 */
}

.hero-section__contact-link:focus-visible {
    outline: 2px solid var(--color-blue-100);
    outline-offset: 2px;
    border-radius: 2px;
}

/* Icon wrapper for phone / email */
.hero-section__contact-link-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 1.5rem;                     /* h-6 w-6 */
    height: 1.5rem;
}

.hero-section__contact-link-icon svg {
    width: 100%;
    height: 100%;
    fill: var(--dark-pink, var(--color-primary));
}

/* ── Website link – "Ga naar X" style ───────────────────────────────────── */
/* Tailwind: flex gap-2 font-light text-secondary */
.hero-section__contact-link--website {
    gap: 0.5rem;                       /* gap-2 */
    font-weight: 300;                  /* font-light */
    color: var(--color-link);          /* text-secondary */
}

.hero-section__contact-link--website .hero-section__contact-link-icon svg {
    fill: currentColor;                /* inherits text color, not dark-pink */
}

/* ── Right column – optional form ───────────────────────────────────────── */
.hero-section__contact-form-col {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.hero-section__contact-form-title {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--color-heading);
    margin: 0;
}

.hero-section__contact-form {
    width: 100%;
}

.hero-section__contact-form--empty {
    padding: var(--spacing-xl);
    border: 2px dashed #cdd5e0;
    border-radius: var(--radius-md);
    color: #6b7280;
    font-size: var(--font-size-base);
}

/* ── Form field normalisation (CF7 / Gravity Forms) ─────────────────────── */
.hero-section__contact-form input[type="text"],
.hero-section__contact-form input[type="email"],
.hero-section__contact-form input[type="tel"],
.hero-section__contact-form select,
.hero-section__contact-form textarea {
    width: 100%;
    font-family: inherit;
    font-size: var(--font-size-base);
    color: var(--color-body);
    background-color: #ffffff;
    border: 1px solid #cdd5e0;
    border-radius: var(--radius-md);
    padding: 0.625rem 0.875rem;
    transition: border-color 0.15s;
}

.hero-section__contact-form input[type="text"]:focus,
.hero-section__contact-form input[type="email"]:focus,
.hero-section__contact-form input[type="tel"]:focus,
.hero-section__contact-form select:focus,
.hero-section__contact-form textarea:focus {
    border-color: var(--dark-pink, var(--color-primary));
    outline: none;
    box-shadow: 0 0 0 3px rgb(184 55 115 / 0.15);
}

.hero-section__contact-form textarea {
    min-height: 8rem;
    resize: vertical;
}

.hero-section__contact-form input[type="submit"],
.hero-section__contact-form button[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    background-color: var(--dark-pink, var(--color-primary));
    color: #ffffff;
    font-family: inherit;
    font-size: var(--font-size-base);
    font-weight: 600;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: background-color 0.2s, opacity 0.2s;
}

.hero-section__contact-form input[type="submit"]:hover,
.hero-section__contact-form button[type="submit"]:hover {
    background-color: var(--color-primary-hover, #cf457e);
}

/* ===== Fix: ensure shape divider overlays media =====
   Purpose: force the SVG shape divider to render above image/media
   without changing existing layout. Applied as a minimal override. */
.hero-section {
    overflow: visible; /* avoid clipping the shape divider */
}

.hero-section__inner {
    position: relative;
    z-index: 1; /* base stacking context for section content */
}

/* Ensure the shape divider is above media elements */
.hero-section__shape-divider {
    z-index: 9999 !important;
    pointer-events: none;
}

/* Lower the stacking of image/media wrappers so the divider sits above */
.hero-section__image-section,
.hero-section__media-inner,
.hero-section__image-clip-wrap,
.hero-section__image-wrap,
.hero-section__image,
.hero-section__image2 {
    position: relative;
    z-index: 0;
}

/* Decorative SVGs should remain behind the photo */
.hero-section__deco-wave,
.hero-section__deco-blob {
    z-index: 0;
}

/* If any parent creates a stacking context (transform/opacity),
   this ensures the divider still visually sits above by using
   a very high z-index on the divider and keeping media at z-index:0. */

