/*
 * Homepage sections (redesign). Shared base, header, footer and components live in css/site.css.
 * Breakpoints: mobile < 768px, tablet 768–1023px, desktop >= 1024px.
 */

/* ---------- Hero ---------- */
.hero { background: var(--bg-subtle); padding-block: 28px 48px; }
.hero__row { display: flex; flex-direction: column; gap: 48px; }
.hero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.hero__badge { gap: 8px; font-size: 13px; padding: 6px 12px; }
.hero__badge .dot { width: 7px; height: 7px; color: var(--bg-brand); }
.hero__title {
    max-width: 560px;
    color: var(--text-primary);
    font-weight: var(--font-weight-extrabold);
    font-size: 40px;
    line-height: 1.1;
    letter-spacing: -0.03em;
}
.hero__title em { font-style: normal; color: var(--text-brand-display); }
.hero__lead {
    max-width: 540px;
    color: var(--text-secondary);
    font-size: 17px;
    line-height: 1.55;
}
.hero__ctas { display: flex; flex-direction: column; gap: 10px; width: 100%; }
.hero__ctas .btn { width: 100%; }
.hero__trust { display: flex; flex-direction: column; gap: 8px; }
.hero__trust li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-weight: var(--font-weight-medium);
    font-size: 14px;
}
.hero__trust svg { width: 16px; height: 16px; color: var(--support-green-700); }
.hero__visual { position: relative; width: 100%; max-width: 576px; padding-top: 24px; }

@media (min-width: 768px) {
    .hero { padding-block: 56px 80px; }
    .hero__title { font-size: 52px; line-height: 1.08; }
    .hero__lead { font-size: 19px; }
    .hero__ctas { flex-direction: row; flex-wrap: wrap; gap: 12px; width: auto; }
    .hero__ctas .btn { width: auto; }
    .hero__trust { flex-direction: row; flex-wrap: wrap; gap: 24px; }
    .hero__trust li { gap: 6px; }
    .hero__trust svg { width: 18px; height: 18px; }
    .hero__visual { margin-inline: auto; padding: 60px 0 0 24px; }
}
@media (min-width: 1024px) {
    .hero { padding-block: 72px 112px; }
    .hero__row { flex-direction: row; align-items: center; gap: 64px; }
    .hero__copy { flex: 1 1 560px; min-width: 0; gap: 28px; }
    .hero__badge { font-size: 14px; padding: 7px 14px; }
    .hero__badge .dot { width: 8px; height: 8px; }
    .hero__title { font-size: 64px; }
    .hero__lead { font-size: 20px; }
    .hero__visual { flex: 0 1 576px; min-height: 520px; margin: 0; }
}

/* Keep both hero buttons on one row (as in the 1440 frame) once there is room for them. */
@media (min-width: 1280px) {
    .hero__copy { min-width: max-content; }
    .hero__ctas { flex-wrap: nowrap; }
}

/* ---------- Hoe het werkt (step cards) ---------- */
.steps__inner { display: flex; flex-direction: column; gap: 28px; }
.card-grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
.step-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
    border: 1px solid var(--border-brand);
    border-radius: 24px;
    background: var(--bg-subtle);
}
.step-card__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-pill);
    background: var(--bg-brand);
    color: var(--text-on-brand);
    font-weight: var(--font-weight-bold);
    font-size: 18px;
    line-height: normal;
}
.step-card__title, .benefit-card__title {
    color: var(--text-primary);
    font-weight: var(--font-weight-bold);
    font-size: 22px;
    line-height: 1.3;
}
.step-card__body, .benefit-card__body {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
    .card-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; }
    .step-card { padding: 32px; }
}
@media (min-width: 1024px) {
    .steps__inner { gap: 56px; align-items: center; }
    .steps__inner .section-header { align-items: center; text-align: center; }
    .steps__inner .section-title { max-width: 760px; }
    .steps__inner .section-intro { max-width: 680px; }
    .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; }
    .card-grid > :last-child:nth-child(odd) { grid-column: auto; }
    .step-card { min-height: 304px; }
}

/* ---------- Personeelsstructuur ---------- */
.feature__row { display: flex; flex-direction: column; gap: 32px; }
.feature__copy { display: flex; flex-direction: column; gap: 24px; }
.feature__bullets { display: flex; flex-direction: column; gap: 14px; }
.feature__bullets li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-primary);
    font-weight: var(--font-weight-medium);
    font-size: 15px;
    line-height: 1.4;
}
.bullet-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    border-radius: var(--radius-pill);
    background: var(--bg-brand);
    color: var(--icon-on-brand);
}
.bullet-icon svg { width: 14px; height: 14px; }

.team-card {
    background: var(--bg-page);
    border-radius: 20px;
    box-shadow: var(--shadow-float);
    padding: 20px 18px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.team-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 12px; }
.team-card__title { font-weight: var(--font-weight-bold); font-size: 16px; line-height: normal; color: var(--text-primary); }
.team-card__invite { font-size: 12px; padding: 7px 12px; }
.member { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 12px; }
.member + .member { border-top: 1px solid var(--border-default); }
.member__who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: var(--radius-pill);
    font-weight: var(--font-weight-bold);
    font-size: 13px;
    line-height: normal;
}
.member__name { font-weight: var(--font-weight-semibold); font-size: 15px; line-height: normal; color: var(--text-primary); }
.member__hours { font-weight: var(--font-weight-medium); font-size: 12px; line-height: normal; color: var(--text-secondary); margin-top: 2px; }
/* The mobile frame shows four team members. */
.member--extra { display: none; }

@media (min-width: 768px) {
    .feature__bullets li { font-size: 16px; }
    .team-card { border-radius: 24px; padding: 24px 24px 16px; max-width: 520px; }
    .team-card__title { font-size: 18px; }
    .team-card__invite { font-size: 13px; padding: 8px 14px; }
    .member--extra { display: flex; }
}
@media (min-width: 1024px) {
    .feature__row { flex-direction: row; align-items: center; gap: 96px; }
    .feature__visual { flex: 0 0 520px; order: -1; }
    .feature__copy { flex: 1 1 0; gap: 28px; }
    .feature__copy .section-intro { max-width: 504px; }
}

/* ---------- Onze voordelen (benefit cards) ---------- */
.benefits__inner { display: flex; flex-direction: column; gap: 28px; }
.benefit-grid { align-items: start; }
.benefit-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
    border: 1px solid var(--border-default);
    border-radius: 24px;
    background: var(--bg-page);
}
.benefit-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--bg-brand-subtle);
    color: var(--icon-brand);
}
.benefit-card__icon svg { width: 28px; height: 28px; }
@media (min-width: 768px) {
    .benefit-card { padding: 32px 32px 36px; }
    .benefit-card__title { font-size: 24px; line-height: normal; }
}
@media (min-width: 1024px) {
    .benefits__inner { gap: 56px; }
}

/* ---------- Blog ---------- */
.blog__inner { display: flex; flex-direction: column; gap: 24px; }
.blog__head { display: flex; flex-direction: column; gap: 24px; }
.blog-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 20px;
    background: var(--bg-page);
    box-shadow: var(--shadow-soft);
    transition: box-shadow .15s ease;
}
.blog-card:hover { box-shadow: var(--shadow-float); }
.blog-card__media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 190px;
    background: linear-gradient(90deg, var(--bg-brand), var(--border-brand));
}
.blog-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.blog-card__tile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 88px;
    height: 88px;
    border-radius: 24px;
    background: var(--bg-page);
    color: var(--icon-brand);
}
.blog-card__tile svg { width: 44px; height: 44px; }
.blog-card__body { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 20px 20px 24px; }
.blog-card__tag { font-size: 11px; padding: 5px 10px; }
.blog-card__title { color: var(--text-primary); font-weight: var(--font-weight-extrabold); font-size: 22px; line-height: 1.25; }
.blog-card__excerpt { color: var(--text-secondary); font-size: 15px; line-height: 1.6; }
.blog-card__excerpt--long { display: none; }
.blog-card__more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding-top: 4px;
    color: var(--text-brand);
    font-weight: var(--font-weight-semibold);
    font-size: 15px;
    line-height: normal;
}
.blog-card__more svg { width: 16px; height: 16px; color: var(--icon-brand); }
.blog-card:hover .blog-card__more { text-decoration: underline; text-underline-offset: 3px; }

@media (min-width: 768px) {
    .blog__inner { gap: 48px; }
    .blog-card { flex-direction: row; align-items: stretch; border-radius: 28px; }
    .blog-card__media { flex: 0 0 42%; height: auto; min-height: 300px; }
    .blog-card__body { flex: 1 1 0; min-width: 0; justify-content: center; gap: 16px; padding: 40px; }
    .blog-card__tag { font-size: 12px; padding: 6px 12px; }
    .blog-card__title { font-size: 30px; line-height: 1.2; }
    .blog-card__excerpt { font-size: 17px; }
    .blog-card__excerpt--long { display: block; }
    .blog-card__excerpt--short { display: none; }
    .blog-card__more { gap: 8px; padding-top: 8px; font-size: 16px; }
    .blog-card__more svg { width: 18px; height: 18px; }
}
@media (min-width: 1024px) {
    .blog-card__media { flex: 0 1 540px; min-height: 340px; }
    .blog-card__tile { width: 128px; height: 128px; border-radius: 32px; }
    .blog-card__tile svg { width: 64px; height: 64px; }
    .blog-card__body { padding: 48px 56px; }
    .blog-card__title { font-size: 34px; }
    .blog .section-title { max-width: 640px; }
}

/* ---------- Mobile-only tuning to the 390 frame (< 768px) ---------- */
@media (max-width: 767px) {
    .feature__bullets { gap: 12px; }
    .feature__bullets li { font-size: 14px; gap: 10px; }
    .bullet-icon { width: 22px; height: 22px; }
    .bullet-icon svg { width: 12px; height: 12px; }

    .team-card { padding: 16px 16px 8px; }
    .team-card__head { padding-bottom: 8px; }
    .team-card__title { font-size: 14px; }
    .team-card__invite { font-size: 11px; padding: 6px 10px; }
    .member { padding-block: 10px; }
    .avatar { width: 34px; height: 34px; font-size: 11px; }
    .member__who { gap: 10px; }
    .member__name { font-size: 13px; }
    .member__hours { font-size: 11px; }
    .member .pill { font-size: 11px; padding: 5px 10px; }

    .benefits .section-title { max-width: 280px; }
    .benefit-grid { gap: 24px; }
    .benefit-card { gap: 12px; }
    .benefit-card__title { font-size: 20px; }
    .benefit-card__body { font-size: 15px; }

    .cta { padding-block: 24px 48px; }
}
