/* ============================================================
   Science For Rehab — Homepage styles (front-page.php only)
   ============================================================ */

/* ── Shared homepage utilities ─────────────────────────────── */


.hp-section-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.hp-section-header {
    margin-bottom: 56px;
}

.hp-section-header--center {
    text-align: center;
    max-width: 680px;
    margin-inline: auto;
}

/* Team header (homepage, Over ons): wide enough to keep the heading on one line */
.hp-about .hp-section-header--center {
    max-width: 860px;
}

.hp-section-header h2 {
    margin-bottom: 16px;
}

.hp-section-sub {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    line-height: 1.75;
    margin: 0;
}

/* ── 1. Hero ────────────────────────────────────────────────── */

.hp-hero {
    background: #fff;
    padding-block: clamp(64px, 10vw, 112px) clamp(48px, 7vw, 88px);
    overflow: hidden;
    position: relative;
}

.hp-hero::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -80px;
    width: 560px;
    height: 560px;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(2, 78, 255, .06) 0%, transparent 70%);
    pointer-events: none;
}

.hp-hero__inner {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: start;
    gap: clamp(40px, 6vw, 72px);
    position: relative;
}

.hp-hero__content {
    max-width: 560px;
}

.hp-hero__heading {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.02;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    color: var(--color-text);
}

.hp-hero__sub {
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    font-weight: 500;
    color: var(--color-text);
    line-height: 1.6;
    margin-bottom: 12px;
}

.hp-hero__body {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.75;
    margin-bottom: 36px;
}

.hp-hero__actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 36px;
}

.hp-hero__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hp-hero__phone-line {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin: 0;
}

.hp-hero__phone {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text);
    text-decoration: none;
    transition: color .15s;
}

.hp-hero__phone:hover {
    color: var(--color-primary);
    text-decoration: none;
}

/* Trust wrap — arrow + text + badge */
.hp-hero__trust-wrap {
    position: relative;
    margin-top: 4rem;
}

/* Handwritten trust line */
.hp-hero__handwritten {
    font-family: 'Caveat', cursive;
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--color-text-muted);
    margin-bottom: 10px;
    display: inline-block;
    transform: rotate(-1deg);
    transform-origin: left center;
    letter-spacing: 0.01em;
}

.hp-hero__drawn-arrow {
    position: absolute;
    left: -30px;
    top: 30px;
    width: 40px;
    height: auto;
    mix-blend-mode: multiply;
    filter: invert(67%) sepia(10%) saturate(580%) hue-rotate(207deg) brightness(94%) contrast(88%) opacity(0.65);
    transform: rotate(55deg);
}

/* Google badge */
.hp-hero__google {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 12px 20px 12px 16px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    margin-top: 4px;
    text-decoration: none;
    color: inherit;
    transition: border-color .2s, box-shadow .2s, transform .2s;
}

.hp-hero__google:hover {
    border-color: rgba(2, 78, 255, .25);
    box-shadow: var(--shadow);
    transform: translateY(-1px);
}

.hp-hero__google-icon {
    flex-shrink: 0;
    display: block;
}

.hp-hero__google-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.hp-hero__google-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hp-hero__google-score {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--color-text);
    line-height: 1;
}

.hp-hero__stars {
    color: #FBBF24;
    font-size: 1rem;
    letter-spacing: 1px;
    line-height: 1;
}

.hp-hero__google-count {
    font-size: 0.78rem;
    color: var(--color-text-muted);
}

/* Trustpilot widget card below hero image */
.hp-hero__trustpilot {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 6px 14px;
    box-shadow: var(--shadow-sm);
    min-height: 66px;
}

.hp-hero__trustpilot a {
    font-size: 0.85rem;
    color: var(--color-primary);
}

/* Right visual */
.hp-hero__visual {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hp-hero__img {
    width: 100%;
    height: clamp(420px, 55vw, 500px);
    object-fit: cover;
    object-position: center top;
    border-radius: var(--radius-lg);
    display: block;
    box-shadow: 0 24px 64px rgba(2, 78, 255, .1), 0 8px 24px rgba(0, 0, 0, .06);
}

.hp-hero__blob {
    display: none;
}

.hp-hero__float-card {
    display: none;
}

.hp-hero__float-card strong {
    display: block;
    font-size: 0.9rem;
    color: var(--color-text);
}

.hp-hero__float-card span {
    font-size: 0.78rem;
    color: var(--color-text-muted);
}

.hp-hero__float-card--top {
    top: 10%;
    right: 0;
    left: auto;
}

.hp-hero__float-card--bottom {
    bottom: 12%;
    left: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 18px 24px;
}

.hp-float-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #024EFF, #17899B);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    flex-shrink: 0;
}

.hp-float-stars {
    color: #FBBF24;
    font-size: 1rem;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.hp-hero__float-card--bottom strong {
    font-size: 1.1rem;
    font-weight: 800;
}

/* Central visual card */
.hp-hero__center-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 24px;
    padding: 32px 28px;
    box-shadow: 0 32px 80px rgba(2, 78, 255, .14), 0 8px 32px rgba(0, 0, 0, .08);
    width: 280px;
    position: relative;
    z-index: 1;
}

.hp-hero__center-card .hp-hero__stars {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.hp-hero__center-card-score {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--color-text);
    line-height: 1;
    margin-bottom: 4px;
}

.hp-hero__center-card-label {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 20px;
}

.hp-hero__center-card-divider {
    height: 1px;
    background: var(--color-border);
    margin-bottom: 16px;
}

.hp-hero__center-card-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hp-hero__center-card-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    color: var(--color-text);
}

.hp-hero__center-card-feature::before {
    content: '';
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, #024EFF, #17899B);
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8'%3E%3Cpath d='M1 4l3 3 5-6' stroke='white' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 10px;
    background-color: transparent;
    /* Use a two-layer background: gradient base + SVG check */
}

/* Override to use gradient + check icon together */
.hp-check-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #024EFF 0%, #17899B 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hp-check-dot svg {
    width: 10px;
    height: 10px;
}

/* ── 2. Trust bar ───────────────────────────────────────────── */

.hp-trust-bar {
    background: #fff;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    padding-block: 20px;
}

.hp-trust-bar__items {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: clamp(16px, 3vw, 40px);
}

.hp-trust-bar__items li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--color-text-muted);
    white-space: nowrap;
}

.hp-trust-bar__items li strong {
    color: var(--color-text);
}

.hp-trust-bar__sep {
    width: 1px;
    height: 20px;
    background: var(--color-border);
}

.hp-trust-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hp-trust-icon--star {
    background: #FEF3C7;
    color: #FBBF24;
    font-size: 0.65rem;
}

.hp-trust-icon--check {
    background: rgba(2, 78, 255, .08);
    color: var(--color-primary);
    font-size: 0.65rem;
    font-weight: 700;
}

.hp-mission__card-icon .lucide,
.hp-app__feat-icon .lucide {
    color: var(--color-primary);
}

/* ── 3. Onze Missie (old-site recreation) ───────────────────── */

.hp-missie__top {
    background: var(--color-bg-dark);
    padding-block: clamp(56px, 8vw, 96px) clamp(48px, 6vw, 72px);
    text-align: center;
}

.hp-missie__top-inner {
    max-width: 740px;
    margin-inline: auto;
}

.hp-missie__top h2 {
    font-size: clamp(2.25rem, 5vw, 3.25rem);
    margin-bottom: 28px;
}

.hp-missie__lead {
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    font-weight: 500;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

.hp-missie__top p:last-of-type {
    font-size: 1.025rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.75;
    margin: 0;
}

.hp-missie__top strong {
    color: rgba(255, 255, 255, 0.9);
}


/* 4-step dark section */
.hp-missie__steps {
    background: var(--color-bg-dark);
    padding-block: clamp(56px, 8vw, 88px);
    color: #fff;
}

/* Two-column: steps left, image right */
.hp-missie__steps-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: clamp(40px, 6vw, 72px);
    align-items: center;
}

.hp-missie__steps-left {
    text-align: left;
}

/* Section label; used on light sections too, so blue by default and grey-white on the dark mission section */
.hp-missie__steps-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.hp-missie .hp-missie__steps-label {
    color: rgba(255, 255, 255, 0.45);
}

.hp-missie__steps-left h2 {
    color: #fff;
    margin-bottom: 40px;
}

.hp-missie__steps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.hp-missie__step {
    padding: 28px 24px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    transition: background .2s, border-color .2s;
    display: flex;
    flex-direction: column;
}

.hp-missie__step:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(2, 78, 255, 0.4);
}

.hp-missie__step-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(2,78,255,.20) 0%, rgba(23,137,155,.16) 100%);
    color: #6ea8ff;
    margin-bottom: 16px;
    flex-shrink: 0;
}

.hp-missie__step h3 {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    margin-bottom: 10px;
}

.hp-missie__step p {
    font-size: 0.925rem;
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.7;
    margin: 0 0 20px;
}

.hp-missie__cta {
    margin-top: 32px;
}

/* Right: portrait image */
.hp-missie__steps-right {
    align-self: stretch;
    display: flex;
    align-items: center;
}

.hp-missie__steps-img {
    width: 100%;
    height: 100%;
    max-height: 600px;
    object-fit: cover;
    object-position: center top;
    border-radius: var(--radius-lg);
    display: block;
    box-shadow: 0 24px 64px rgba(2, 78, 255, .15), 0 8px 24px rgba(0, 0, 0, .3);
}

/* Responsive */
@media (max-width: 1024px) {
    .hp-missie__steps-layout {
        grid-template-columns: 1fr;
    }

    .hp-missie__steps-right {
        display: none;
    }
}

@media (max-width: 540px) {
    .hp-missie__steps-grid {
        grid-template-columns: 1fr;
    }
}

/* ── 5. Specialismes & behandelingen ────────────────────────── */

.hp-behandelingen__header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.hp-behandelingen__sub {
    margin-top: .75rem;
    color: var(--color-text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

/* ── Bento collage grid ─────────────────────────────────────── */
/*
   Col: 1   2              3              4
   R1:  Fysiotherapie      Sportfysiotherapie (wide)
   R2:  Fysiotherapie      Sportmassage   Personal training
   R3:  Bekkenfysio (wide)                Dietist (wide)
*/
/* 6 cards on a 4-column bento: Fysiotherapie 2x2, cards 2, 5 and 6 span two columns */
.hp-behandelingen__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 16px;
}

.hp-treat-card:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
}

.hp-treat-card:nth-child(2),
.hp-treat-card:nth-child(5),
.hp-treat-card:nth-child(6) {
    grid-column: span 2;
}

/* Cards come from the pages under /behandelingen/: fill the row when the count leaves a gap */
@media (min-width: 861px) {
    .hp-treat-card:nth-child(3):last-child {
        grid-column: span 2;
    }

    .hp-treat-card:nth-child(5):last-child {
        grid-column: span 4;
    }
}

/* ── Card base ──────────────────────────────────────────────── */
.hp-treat-card {
    position: relative;
    display: block;
    height: 100%;           /* fills its grid cell */
    min-height: 200px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    color: #fff;
}

.hp-treat-card:hover {
    text-decoration: none;
    color: #fff;
}

/* Isolated bg — no repaint flicker on <a> hover */
.hp-treat-card__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
    pointer-events: none;
    transition: transform .5s ease;
}

.hp-treat-card:hover .hp-treat-card__bg {
    transform: scale(1.05);
}

/* Dark gradient — heavy at bottom */
.hp-treat-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,.90) 0%,
        rgba(0,0,0,.50) 40%,
        rgba(0,0,0,.08) 100%
    );
    z-index: 1;
}

/* Text pinned to bottom */
.hp-treat-card__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    padding: 24px 26px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hp-treat-card__title {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 1px 8px rgba(0,0,0,.5);
    line-height: 1.25;
}

.hp-treat-card__desc {
    font-size: 0.83rem;
    color: rgba(255,255,255,.78);
    line-height: 1.55;
    margin: 0;
    text-shadow: 0 1px 4px rgba(0,0,0,.4);
}

/* Always visible "Lees meer" — arrow widens on hover */
.hp-treat-card__link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255,255,255,.85);
    margin-top: 8px;
    transition: gap .2s, color .2s;
}

.hp-treat-card:hover .hp-treat-card__link {
    gap: 9px;
    color: #fff;
}

.hp-behandelingen__cta {
    text-align: center;
    margin-top: 2.5rem;
}

/* Cards without a photo: brand gradient with a large faint icon */
.hp-treat-card--plain .hp-treat-card__bg {
    background: linear-gradient(140deg, var(--color-bg-dark) 0%, #0b1638 60%, rgba(2, 78, 255, .55) 130%);
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 24px;
}

.hp-treat-card__icon {
    width: 96px;
    height: 96px;
    color: rgba(255, 255, 255, .12);
}

/* Responsive: 2 columns (first and last card full width), then 1 column */
@media (max-width: 860px) {
    .hp-behandelingen__grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 240px;
    }

    .hp-treat-card:nth-child(n) {
        grid-column: auto;
        grid-row: auto;
    }

    .hp-treat-card:nth-child(1),
    .hp-treat-card:last-child {
        grid-column: span 2;
    }
}

@media (max-width: 520px) {
    .hp-behandelingen__grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 220px;
    }

    .hp-treat-card:nth-child(1),
    .hp-treat-card:last-child {
        grid-column: auto;
    }
}

/* ── 3. Mission (legacy — kept for reference) ───────────────── */

.hp-mission__inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
}

.hp-mission__content h2 {
    margin-bottom: 20px;
}

.hp-mission__content p {
    color: var(--color-text-muted);
    font-size: 1.025rem;
    line-height: 1.75;
}

.hp-mission__content .btn {
    margin-top: 8px;
}

.hp-mission__cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hp-mission__card {
    background: rgba(2, 78, 255, .03);
    border: none;
    border-left: 3px solid var(--color-primary);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 18px 20px 18px 24px;
    box-shadow: none;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.hp-mission__card-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(2, 78, 255, .08), rgba(23, 137, 155, .08));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hp-mission__card h4 {
    font-size: 0.95rem;
    margin-bottom: 4px;
    color: var(--color-text);
}

.hp-mission__card p {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin: 0;
    line-height: 1.55;
}

/* ── 4. Steps / Werkwijze ───────────────────────────────────── */

.hp-steps__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
}

.hp-steps__grid::before {
    display: none;
}

.hp-step {
    padding: 28px 0 0;
    border-top: 2px solid var(--color-border);
    position: relative;
}

.hp-step:hover {
    box-shadow: none;
    transform: none;
}

.hp-step__number {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: 16px;
    color: var(--color-primary);
    background: none;
    -webkit-text-fill-color: var(--color-primary);
}

.hp-step h3 {
    font-size: 1.05rem;
    margin-bottom: 10px;
}

.hp-step p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.65;
    margin: 0;
}

/* ── 5. App section ─────────────────────────────────────────── */

.hp-app__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
}

.hp-app__device {
    display: flex;
    justify-content: center;
}

.hp-app__phone {
    width: 240px;
    background: #1a1a2e;
    border-radius: 36px;
    padding: 16px;
    box-shadow: 0 24px 64px rgba(2, 78, 255, .18), 0 8px 24px rgba(0, 0, 0, .2);
    position: relative;
}

.hp-app__phone::before {
    content: '';
    display: block;
    width: 60px;
    height: 6px;
    background: rgba(255, 255, 255, .12);
    border-radius: 3px;
    margin: 0 auto 14px;
}

.hp-app__phone-screen {
    background: #fff;
    border-radius: 24px;
    padding: 20px 16px;
    min-height: 320px;
}

.hp-app__phone-header {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    gap: 8px;
}

.hp-app__phone-header::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #024EFF, #17899B);
    display: block;
}

.hp-app__phone-item {
    font-size: 0.8rem;
    color: var(--color-text);
    padding: 10px 12px;
    margin-bottom: 6px;
    background: var(--color-bg-alt);
    border-radius: var(--radius);
    border-left: 3px solid transparent;
    border-image: var(--gradient-btn) 1;
}

/* Simplified border approach for items */
.hp-app__phone-item {
    position: relative;
    padding-left: 16px;
}

.hp-app__phone-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gradient-btn);
    border-radius: 2px;
}

.hp-app__phone-progress {
    margin-top: 16px;
    font-size: 0.75rem;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.hp-app__phone-bar {
    flex: 1;
    height: 6px;
    background: var(--color-bg-alt);
    border-radius: 3px;
    overflow: hidden;
}

.hp-app__phone-bar-fill {
    height: 100%;
    width: 68%;
    background: var(--gradient-btn);
    border-radius: 3px;
}

.hp-app__content h2 {
    margin-bottom: 16px;
}

.hp-app__content > p {
    color: var(--color-text-muted);
    font-size: 1.025rem;
    line-height: 1.75;
    margin-bottom: 32px;
}

.hp-app__features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hp-app__features li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.hp-app__feat-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(2, 78, 255, .08), rgba(23, 137, 155, .08));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(2, 78, 255, .1);
}

.hp-app__features strong {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 3px;
    color: var(--color-text);
}

.hp-app__features p {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.55;
    margin: 0;
}

/* ── 6. About / Team ────────────────────────────────────────── */

.hp-about__team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.hp-team-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    transition: box-shadow .2s, transform .2s;
}

.hp-team-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.hp-team-card__photo {
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(2,78,255,.06), rgba(23,137,155,.08));
}

.hp-team-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform .4s ease;
}

.hp-team-card:hover .hp-team-card__photo img {
    transform: scale(1.04);
}

.hp-team-card__info {
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hp-team-card__info .hp-team-card__name {
    margin: 0;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: inherit;
    color: var(--color-text);
    line-height: 1.3;
}

.hp-team-card__info .hp-team-card__bio {
    margin: 4px 0 0;
    font-size: 0.85rem;
    line-height: 1.55;
    color: var(--color-text-muted);
}

.hp-team-card__info span {
    font-size: 0.8rem;
    font-weight: 600;
}

.hp-about__cta {
    text-align: center;
}

@media (max-width: 900px) {
    .hp-about__team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .hp-about__team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

/* ── 7. Stats ───────────────────────────────────────────────── */

.hp-stats {
    position: relative;
    padding-block: clamp(56px, 8vw, 88px);
    overflow: hidden;
    background: var(--color-bg-dark);
}

.hp-stats__bg {
    position: absolute;
    inset: 0;
    background-image: url('../images/stats-bg.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.18;
    pointer-events: none;
}

.hp-stats__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(2,78,255,.12) 0%, rgba(23,137,155,.08) 100%);
    pointer-events: none;
}

.hp-stats__inner {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: var(--max-w);
    margin-inline: auto;
    padding-inline: clamp(16px, 4vw, 48px);
}

.hp-stat {
    position: relative;
    padding-left: 24px;
    border-left: 2px solid rgba(255,255,255,.1);
}

.hp-stat:first-child {
    border-left: none;
    padding-left: 0;
}

.hp-stat__number {
    display: block;
    font-size: clamp(2.75rem, 5vw, 4.5rem);
    font-weight: 900;
    background: linear-gradient(95deg, #024EFF 0%, #17899B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}

.hp-stat__number span {
    font-size: 0.6em;
    opacity: .85;
}

.hp-stat__label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, .6);
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ── 8. Reviews: styles live in main.css (shared with the flex reviews block) ── */

/* ── 9. Pricing ─────────────────────────────────────────────── */

.hp-pricing__table-wrap {
    overflow-x: auto;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.hp-pricing__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    background: #fff;
}

.hp-pricing__table thead {
    background: var(--color-bg-alt);
}

.hp-pricing__table th {
    padding: 16px 20px;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    border-bottom: 1px solid var(--color-border);
}

.hp-pricing__table th:last-child,
.hp-pricing__table td:last-child {
    text-align: right;
}

.hp-pricing__table tbody tr {
    border-bottom: 1px solid var(--color-border);
    transition: background .15s;
}

.hp-pricing__table tbody tr:last-child {
    border-bottom: none;
}

.hp-pricing__table tbody tr:nth-child(even) {
    background: #fafbfe;
}

.hp-pricing__table tbody tr:hover {
    background: rgba(2, 78, 255, .03);
}

.hp-pricing__table td {
    padding: 16px 20px;
    color: var(--color-text);
    line-height: 1.5;
}

.hp-pricing__table td:last-child {
    font-weight: 700;
    color: var(--color-primary);
    white-space: nowrap;
}

.hp-pricing__note {
    margin-top: 32px;
    padding: 24px 28px;
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.hp-pricing__note p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0;
    line-height: 1.65;
}

.hp-pricing__note-items {
    flex: 1 1 520px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 32px;
}

.hp-pricing__cta {
    margin-top: 24px;
    text-align: center;
}

.hp-pricing__note-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text);
    margin: 0 0 6px;
}

@media (max-width: 640px) {
    .hp-pricing__note-items {
        grid-template-columns: 1fr;
        flex-basis: auto;
    }
}

/* ── 10. Blog ───────────────────────────────────────────────── */

.hp-blog {
    position: relative;
    background: var(--color-bg-dark);
    color: #fff;
}

.hp-blog__bg {
    position: absolute;
    inset: 0;
    background-image: url('https://placehold.co/1600x800/2a2a2a/3a3a3a');
    background-size: cover;
    background-position: center;
    z-index: 0;
    pointer-events: none;
}

.hp-blog__overlay {
    position: absolute;
    inset: 0;
    background: rgba(7, 8, 15, 0.78);
    z-index: 1;
    pointer-events: none;
}

.hp-blog .container {
    position: relative;
    z-index: 2;
}

.hp-blog .hp-section-header h2 {
    color: #fff;
}

/* Header left, "Alle artikelen" right on the header's baseline; below the cards on mobile */
.hp-blog__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 32px;
    row-gap: 48px;
}

.hp-blog__layout .hp-section-header {
    margin-bottom: 0;
    max-width: 620px;
}

.hp-blog .hp-section-sub {
    color: rgba(255, 255, 255, .72);
}

.hp-blog__layout .hp-blog__grid {
    grid-column: 1 / -1;
}

.hp-blog__all {
    grid-row: 1;
    grid-column: 2;
    align-self: end;
}

@media (max-width: 640px) {
    .hp-blog__layout {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 32px;
    }

    .hp-blog__all {
        grid-row: auto;
        grid-column: 1;
    }

    .hp-blog__all .btn {
        width: 100%;
        justify-content: center;
    }
}

.hp-blog__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.hp-blog-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow .2s, transform .2s;
    display: flex;
    flex-direction: column;
}

.hp-blog-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.hp-blog-card__img {
    display: block;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(2, 78, 255, .06), rgba(23, 137, 155, .08));
}

.hp-blog-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .4s ease;
}

.hp-blog-card:hover .hp-blog-card__img img {
    transform: scale(1.04);
}

.hp-blog-card__meta {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
}

.hp-blog-card__author {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.hp-blog-card__sep {
    color: rgba(255,255,255,.3);
    font-size: 0.75rem;
}

.hp-blog-card__body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.hp-blog-card__date {
    font-size: 0.75rem;
    color: rgba(255,255,255,.4);
}

.hp-blog-card__body h3 {
    font-size: 1.025rem;
    margin-bottom: 10px;
    line-height: 1.35;
    flex: 1;
}

.hp-blog-card__body h3 a {
    color: var(--color-text);
    text-decoration: none;
    transition: color .15s;
}

.hp-blog-card__body h3 a:hover {
    color: var(--color-primary);
}

.hp-blog-card__body p {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.65;
    margin-bottom: 20px;
}

.hp-blog-card__link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    transition: opacity .15s;
    margin-top: auto;
}

.hp-blog-card__link:hover {
    opacity: .75;
    text-decoration: none;
}

/* ── 11. Pre-footer CTA card ─────────────────────────────────── */

/* hp-prefooter base styles live in main.css */

/* ── Responsive ─────────────────────────────────────────────── */

@media (max-width: 1024px) {
    .hp-steps__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hp-steps__grid::before {
        display: none;
    }
}

@media (max-width: 900px) {
    .hp-hero__inner {
        grid-template-columns: 1fr;
    }

    .hp-hero__visual {
        display: none;
    }

    .hp-hero__content {
        max-width: 100%;
    }

    /* .hp-hero__drawn-arrow's -30px offset gets clipped by .hp-hero's
       overflow:hidden once the container's side padding shrinks on
       mobile — nudge the trust block back into view */
    .hp-hero__trust-wrap {
        margin-left: 28px;
    }

    .hp-mission__inner,
    .hp-app__inner,
    .hp-about__inner {
        grid-template-columns: 1fr;
    }

    .hp-app__device {
        order: -1;
    }


    .hp-blog__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .hp-steps__grid {
        grid-template-columns: 1fr;
    }

    .hp-stats__inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hp-stat {
        border-left: none;
        padding-left: 0;
        border-top: 2px solid rgba(255,255,255,.1);
        padding-top: 24px;
    }

    .hp-stat:first-child {
        border-top: none;
        padding-top: 0;
    }

    .hp-blog__grid {
        grid-template-columns: 1fr;
    }

    .hp-about__team {
        grid-template-columns: 1fr;
    }

    .hp-pricing__note {
        flex-direction: column;
        align-items: flex-start;
    }

    .hp-trust-bar__items {
        justify-content: flex-start;
        gap: 16px;
    }

    .hp-trust-bar__sep {
        display: none;
    }
}

/* ── Section 2: Klacht categorieën ─────────────────────────── */

.hp-klachten {
    background: #fff;
    border-bottom: 1px solid var(--color-border);
}

/* Two-column split: statement left, list right */
.hp-klachten__layout {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 72px;
    align-items: center;
}

/* Left: statement panel */
.hp-klachten__statement {
    position: relative;
}


.hp-klachten__statement .hp-missie__steps-label {
    margin-bottom: 1rem;
}

.hp-klachten__statement h2 {
    line-height: 1.1;
    margin-bottom: 1.25rem;
}

.hp-klachten__copy {
    color: var(--color-text-muted);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* Right: 2-column grid of compact rows */
.hp-klachten__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

/* Individual complaint row */
.hp-kl-row {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--color-text);
    overflow: hidden;
    transition: border-color .2s, box-shadow .2s, transform .2s, background .2s;
}

/* Gradient left-edge accent — appears on hover */
.hp-kl-row::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: var(--gradient-btn);
    opacity: 0;
    transition: opacity .2s;
}

.hp-kl-row:hover {
    border-color: rgba(2,78,255,.3);
    box-shadow: 0 4px 18px rgba(2,78,255,.08);
    transform: translateX(4px);
    background: #fff;
    text-decoration: none;
    color: var(--color-text);
}

.hp-kl-row:hover::before {
    opacity: 1;
}

.hp-kl-row__label {
    flex: 1;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.3;
}

.hp-kl-row__arrow {
    color: var(--color-primary);
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity .2s, transform .2s;
    flex-shrink: 0;
}

.hp-kl-row:hover .hp-kl-row__arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Responsive */
@media (max-width: 1024px) {
    .hp-klachten__layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

}

@media (max-width: 600px) {
    .hp-klachten__list {
        grid-template-columns: 1fr;
    }
}

/* ── Vestigingen ────────────────────────────────────────────── */

.hp-vestigingen__header {
    text-align: center;
    max-width: 560px;
    margin: 0 auto 2.5rem;
}

.hp-vestigingen__sub {
    margin-top: .75rem;
    color: var(--color-text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

.hp-vestigingen__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 880px;
    margin: 0 auto;
}

.hp-vestiging-card__map {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: var(--radius) var(--radius) 0 0;
    margin: -32px -32px 24px;
    width: calc(100% + 64px);
}

.hp-vestiging-card__map iframe {
    width: 100%;
    height: 100%;
    display: block;
}

.hp-vestiging-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hp-vestiging-card__top {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.hp-vestiging-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(2,78,255,.10) 0%, rgba(23,137,155,.10) 100%);
    color: var(--color-primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.hp-vestiging-card__heading {
    margin: 0;
    font: inherit;
    letter-spacing: inherit;
}

.hp-vestiging-card__city {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 4px;
    color: var(--color-text);
    text-decoration: none;
    transition: color .2s ease;
}

a.hp-vestiging-card__city:hover,
a.hp-vestiging-card__city:focus-visible {
    color: var(--color-primary);
}

.hp-vestiging-card__sub {
    display: block;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.hp-vestiging-card__hosted {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin: 0;
    padding: 10px 14px;
    background: var(--color-bg-alt);
    border-radius: var(--radius);
    border-left: 3px solid var(--color-primary);
}

.hp-vestiging-card__features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.hp-vestiging-card__features li {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 0.9rem;
    color: var(--color-text);
}

.hp-vestiging-card__features li i {
    color: var(--color-primary);
    flex-shrink: 0;
}

.hp-vestiging-card__btns {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: auto;
}

@media (max-width: 640px) {
    .hp-vestigingen__grid {
        grid-template-columns: 1fr;
    }

    .hp-vestiging-card__btns {
        flex-direction: column;
    }

    .hp-vestiging-card__btns .btn {
        width: 100%;
        justify-content: center;
    }
}
