/* Play Bay – palette taken from the logo */
:root {
    --cream: #FBF9F1;
    --paper: #F6F2E8;
    --navy: #24456B;
    --ink: #3B4A5C;
    --red: #E4572E;
    --cobalt: #2A5AA8;
    --mustard: #E8B23A;
    --orange: #EFA531;
    --sage: #7A9E87;
    --sky: #8FB0D8;
    --pink: #EFA59B;
    --forest: #3E5A3A;

    --tint-pink: #FBE3DE;
    --tint-blue: #E3ECF6;
    --tint-green: #E4EEE6;
    --tint-yellow: #FBEFD3;

    --font-hand: 'Patrick Hand', 'Neucha', 'Varela Round', cursive;
    --font-body: 'Nunito', 'Rubik', system-ui, sans-serif;
    --radius: 28px;
    --max: 1120px;
    --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.65;
    overflow-x: hidden;
}

/* Hebrew reads better in a Hebrew-native face */
.locale-he { --font-hand: 'Varela Round', 'Rubik', sans-serif; --font-body: 'Rubik', system-ui, sans-serif; }
.locale-ru { --font-hand: 'Neucha', 'Nunito', cursive; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--cobalt); }
p { margin: 0 0 .9em; }
p:last-child { margin-bottom: 0; }

h1, h2, h3 { font-family: var(--font-hand); color: var(--navy); font-weight: 400; line-height: 1.15; margin: 0 0 .5em; }

.visually-hidden {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

.skip-link { position: absolute; inset-inline-start: 1rem; top: -4rem; background: var(--navy); color: #fff; padding: .5rem 1rem; border-radius: 8px; z-index: 100; }
.skip-link:focus { top: 1rem; }

:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; border-radius: 6px; }

main { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter) 4rem; }

/* ---------- Header ---------- */
.site-header {
    max-width: var(--max);
    margin: 0 auto;
    padding: 1.25rem var(--gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    position: relative;
}

.brand { flex-shrink: 0; display: flex; flex-direction: column; text-decoration: none; color: var(--navy); }
.brand__logo { width: 200px; }
.brand__tagline { font-size: .8rem; letter-spacing: .18em; margin-top: -.1rem; padding-inline-start: .3rem; }
.locale-he .brand__tagline { letter-spacing: .02em; }

.site-nav { display: flex; align-items: center; gap: 1.5rem; }
.site-nav__list, .lang-switch { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem 1.4rem; flex-wrap: wrap; }

.site-nav__link {
    color: var(--navy);
    text-decoration: none;
    font-weight: 600;
    padding: .3rem 0;
    border-bottom: 3px solid transparent;
}
.site-nav__link:hover, .site-nav__link.is-active { border-bottom-color: var(--orange); }

.lang-switch { gap: .3rem; }
.lang-switch__link {
    display: inline-block;
    min-width: 2.2rem;
    text-align: center;
    padding: .15rem .45rem;
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 700;
    color: var(--navy);
    text-decoration: none;
    background: var(--paper);
}
.lang-switch__link.is-active { background: var(--navy); color: #fff; }

.nav-toggle { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; }
.nav-toggle__bar { display: block; width: 26px; height: 3px; margin: 5px 0; background: var(--navy); border-radius: 3px; transition: transform .2s, opacity .2s; }

@media (max-width: 1080px) {
    .nav-toggle { display: block; }
    .site-nav {
        display: none;
        position: absolute;
        inset-inline: var(--gutter);
        top: 100%;
        z-index: 20;
        flex-direction: column;
        align-items: stretch;
        padding: 1.25rem 1.5rem;
        background: #fff;
        border-radius: 20px;
        box-shadow: 0 12px 40px rgba(36, 69, 107, .15);
    }
    .site-header.is-open .site-nav { display: flex; }
    .site-header.is-open .nav-toggle__bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .site-header.is-open .nav-toggle__bar:nth-child(2) { opacity: 0; }
    .site-header.is-open .nav-toggle__bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    .site-nav__list { flex-direction: column; }
    .brand__logo { width: 150px; }
}

/* ---------- Blobs & decoration ---------- */
.blob { border-radius: 46% 54% 48% 52% / 58% 44% 56% 42%; }
.blob--pink { background: var(--tint-pink); }
.blob--yellow { background: var(--tint-yellow); }
.blob--green { background: var(--tint-green); }
.blob--blue { background: var(--tint-blue); }

/* ---------- Buttons & links ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .8rem 1.7rem;
    border: 0;
    border-radius: 999px;
    background: var(--orange);
    color: var(--navy);
    font: 1.25rem var(--font-hand);
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 4px 0 #D28C1E;
    transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 #D28C1E; }
.btn:active { transform: translateY(2px); box-shadow: 0 2px 0 #D28C1E; }
.btn:disabled { opacity: .65; cursor: progress; transform: none; }
.btn--outline { background: transparent; box-shadow: inset 0 0 0 2px var(--orange); }
.btn--outline:hover { box-shadow: inset 0 0 0 2px var(--orange); background: var(--tint-yellow); }
[dir="rtl"] .btn__arrow, [dir="rtl"] .link span { display: inline-block; transform: scaleX(-1); }

.link { font-weight: 700; text-decoration: none; color: var(--red); }
.link:hover { text-decoration: underline; }

/* ---------- Hero ---------- */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 2rem;
    margin: 1rem 0 3rem;
}
.hero__text { padding: clamp(2rem, 5vw, 4rem) clamp(1.5rem, 5vw, 4rem); }
.hero__title { font-size: clamp(2.4rem, 5.5vw, 3.8rem); }
.hero__text .btn { margin-top: 1rem; }
.hero__photo {
    position: relative;
}
.hero__photo img {
    width: 100%;
    border-radius: 48% 52% 44% 56% / 52% 46% 54% 48%;
    aspect-ratio: 8 / 5;
    object-fit: cover;
}
.hero__photo::before {
    content: '';
    position: absolute;
    width: 90px; height: 90px;
    inset-inline-start: -10px; top: -20px;
    background: var(--mustard);
    border-radius: 50%;
    opacity: .9;
    z-index: -1;
}
.hero__art { display: grid; place-items: center; }
.icon { width: 64px; height: 64px; }
.icon--xl { width: 120px; height: 120px; }
.icon--xxl { width: 180px; height: 180px; }

.page-head { text-align: center; margin: 1.5rem auto 2.5rem; max-width: 720px; }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-bottom: 3.5rem; }
.cards--two { grid-template-columns: repeat(2, 1fr); }
.card { background: #fff; border-radius: var(--radius); padding: 2rem; position: relative; scroll-margin-top: 1.5rem; }
.card--pink { background: var(--tint-pink); }
.card--blue { background: var(--tint-blue); }
.card--green { background: var(--tint-green); }
.card--yellow { background: var(--tint-yellow); }
.card__icon .icon { width: 56px; height: 56px; margin-bottom: .75rem; }
.card__title { font-size: 1.8rem; }
.card .link, .card .btn { margin-top: .75rem; display: inline-flex; }

.section-title { font-size: clamp(2rem, 4vw, 2.8rem); }

/* ---------- About teaser ---------- */
.intro-me { display: grid; grid-template-columns: 240px 1fr; gap: 2.5rem; align-items: center; margin-bottom: 3.5rem; }
.intro-me__art { aspect-ratio: 1; display: grid; place-items: center; }
.intro-me .btn { margin-top: 1rem; }

.prose { display: grid; gap: 1.5rem; margin-bottom: 3.5rem; }
.prose__block { display: grid; grid-template-columns: 64px 1fr; gap: 1.5rem; align-items: start; }
.prose__block .card__icon .icon { margin: 0; }

/* ---------- Practical ---------- */
.practical { padding: clamp(2rem, 5vw, 3.5rem); margin-bottom: 3.5rem; text-align: center; border-radius: 40% 60% 46% 54% / 30% 34% 66% 70%; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin: 1.5rem 0 2rem; }
.fact { display: flex; flex-direction: column; align-items: center; gap: .25rem; }
.fact__icon { width: 48px; height: 48px; }
.fact dt { font: 1.4rem var(--font-hand); color: var(--navy); }
.fact dd { margin: 0; }

/* ---------- Steps (Hoe verloopt een traject) ---------- */
.steps { list-style: none; padding: 0; margin: 0 0 3.5rem; display: grid; gap: 1.25rem; scroll-margin-top: 1.5rem; }
.step {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr) minmax(0, 1fr) 110px;
    gap: 1.5rem;
    align-items: start;
    background: var(--paper);
    border-radius: var(--radius);
    padding: 1.75rem;
    font-size: .98rem;
}
.step__number {
    display: grid;
    place-items: center;
    width: 80px; height: 80px;
    font: 3rem/1 var(--font-hand);
    color: var(--navy);
    border-radius: 52% 48% 56% 44% / 46% 56% 44% 54%;
}
.step--1 .step__number { background: var(--tint-pink); }
.step--2 .step__number { background: var(--tint-green); }
.step--3 .step__number { background: var(--tint-yellow); }
.step--4 .step__number { background: var(--tint-blue); }
.step--5 .step__number { background: var(--tint-green); }
.step__title { font-size: 1.85rem; }
.step__icon { display: grid; place-items: center; align-self: center; }
.step__icon .icon { width: 96px; height: 96px; padding: 14px; border-radius: 50%; background: rgba(255, 255, 255, .7); }
.step__detail:empty { display: none; }
.step:has(.step__detail:empty) .step__lead { grid-column: span 2; max-width: 60ch; }

/* ---------- CTA ---------- */
.cta { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2rem; align-items: center; }
.cta__text { padding: clamp(2rem, 5vw, 3.5rem); }
.cta__title { font-size: clamp(2rem, 4vw, 2.8rem); display: flex; align-items: center; gap: .5rem; }
.cta__star { width: 44px; height: 44px; }
.cta .btn { margin-top: 1rem; }
.cta__photo img { width: 100%; border-radius: 50% 50% 46% 54% / 60% 52% 48% 40%; aspect-ratio: 39 / 16; object-fit: cover; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: start; }
.contact__aside .practical { border-radius: var(--radius); }
.contact__aside .facts { grid-template-columns: 1fr; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.25rem; }
.form-row { margin-bottom: 1.1rem; }
.form-label { display: inline-block; font-weight: 700; color: var(--navy); margin-bottom: .3rem; }
.form-label.required::after { content: ' *'; color: var(--red); }
.form-optional { display: inline-block; margin-bottom: .3rem; font-size: .85rem; color: var(--ink); opacity: .75; }
.form-control {
    width: 100%;
    padding: .75rem 1rem;
    border: 2px solid #E8DDD0;
    border-radius: 16px;
    background: #fff;
    font: inherit;
    color: var(--ink);
    transition: border-color .15s;
}
.form-control:focus { border-color: var(--cobalt); outline: none; }
.form-control[aria-invalid="true"] { border-color: var(--red); }
textarea.form-control { resize: vertical; min-height: 9rem; }
.form-error { color: #B3361C; font-size: .9rem; margin: .3rem 0 0; }
.form-note { font-size: .88rem; opacity: .85; }
.hp-row { position: absolute !important; inset-inline-start: -10000px; width: 1px; height: 1px; overflow: hidden; }

.alert { padding: .9rem 1.2rem; border-radius: 16px; margin-bottom: 1.25rem; font-weight: 600; }
.alert--success { background: var(--tint-green); color: var(--forest); }
.alert--error { background: #FBD9D0; color: #8E2A12; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #E9EEF5; margin-top: 2rem; }
.site-footer__inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 2.5rem var(--gutter);
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2.5rem;
    align-items: center;
    justify-content: space-between;
    font-size: .95rem;
}
.site-footer a { color: #fff; }
.site-footer__name { font: 1.6rem var(--font-hand); color: #fff; display: block; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .hero, .cta, .contact { grid-template-columns: 1fr; }
    .hero__photo { order: -1; }
    .cards, .cards--two { grid-template-columns: 1fr; }
    .intro-me { grid-template-columns: 1fr; text-align: center; }
    .intro-me__art { max-width: 180px; margin: 0 auto; }
    .step { grid-template-columns: 64px 1fr; }
    .step__number { width: 60px; height: 60px; font-size: 2.3rem; }
    .step__lead, .step__detail { grid-column: 2; }
    .step:has(.step__detail:empty) .step__lead { grid-column: 2; }
    .step__icon { display: none; }
}

@media (max-width: 600px) {
    .facts { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .step { grid-template-columns: 1fr; padding: 1.4rem; }
    .step__lead, .step__detail, .step:has(.step__detail:empty) .step__lead { grid-column: 1; }
    .prose__block { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .btn { transition: none; }
}
