/* Public planner styling — mirrors the live TwenteNannies/IJsselNannies planner.
   Brand colour comes from --primary (set per brand in the layout). */
@font-face {
    font-family: 'bjola';
    src: url('/fonts/bjola-webfont.woff2') format('woff2'),
         url('/fonts/bjola-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'reklame';
    src: url('/fonts/reklame-webfont.woff2') format('woff2'),
         url('/fonts/reklame-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary: #ED6C7A;
    --green: #78A790;
    --green-dark: #6a9580;
    --cream: #FFFDED;
    --text: #707070;
    --muted: #9a9a9a;
}

* { box-sizing: border-box; }
/* Keep the hidden attribute authoritative even on elements with a display rule (e.g. .form-grid). */
[hidden] { display: none !important; }

body {
    margin: 0;
    font-family: "PT Sans", system-ui, sans-serif;
    color: var(--text);
    background: #fff;
    line-height: 1.6;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* ---- Hero ---- */
/* Wrapper around hero + cream band: clips the photo's right bleed horizontally
   while letting it overflow downward over the cream. */
.planner-hero { position: relative; overflow-x: clip; }
.hero { position: relative; min-height: max(540px, 38vw); background: var(--primary); color: #fff; }
/* White oval holding the (coloured) brand logo, anchored to the top-left corner. */
.hero__brand { position: absolute; top: -28px; left: -6px; width: 314px; height: 174px; background: #fff; border-radius: 0 0 100% 40%; z-index: 3; }
.hero__brand img { position: absolute; left: 20px; top: 52px; height: 74px; width: auto; }
/* Heading + form are centred (matches the live planner). */
.hero__inner { padding: 140px 0 90px; position: relative; z-index: 3; text-align: center; }
/* Scales with the viewport (capped at natural width); sits higher and overflows
   a little over the cream (z-index above the cream band). */
.hero__photo { position: absolute; right: -85px; top: 80px; width: 47vw; max-width: 870px; height: auto; z-index: 2; pointer-events: none; }
.hero h1 { font-family: 'bjola', "PT Sans", sans-serif; font-size: 48px; font-weight: 400; max-width: 345px; margin: 0 auto 26px; line-height: 1.05; }

/* Pink section headings use Bjola (mirrors the live planner). */
.section__title, .panel__title, fieldset.form-block legend, .nanny-profile__heading {
    font-family: 'bjola', "PT Sans", sans-serif; font-weight: 400;
}
/* Family/nanny name in the greeting — script font, like the live sub-heading. */
.sub-heading { font-family: 'reklame', "PT Sans", cursive; font-weight: 400; }
.page-head__title .sub-heading { font-family: 'reklame', "PT Sans", cursive; font-size: 2.7rem; line-height: 1.05; margin: 2px 0 0; color: #fff; }
.page-head__avatar { width: 130px; height: 130px; border-radius: 50%; overflow: hidden; margin: 18px auto 0; background: #fff; display: flex; align-items: center; justify-content: center; position: relative; z-index: 3; }
.page-head__avatar img { width: 100%; height: 100%; object-fit: cover; }
.page-head__avatar .placeholder { color: var(--muted); font-size: 2.6rem; }

/* cream wave at the bottom of the hero */
.hero__wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; display: block; line-height: 0; }
.hero__wave svg { width: 100%; height: 70px; display: block; }

/* ---- Login form on hero ---- */
.login-form { max-width: 340px; margin: 0 auto; }
.login-form input[type=email],
.login-form input[type=password],
.login-form input[type=text] {
    width: 100%; border: 0; border-radius: 999px; padding: 13px 22px; margin-bottom: 14px;
    font-size: 1rem; font-family: inherit; color: var(--text);
}
.login-form input::placeholder { color: var(--muted); }

.btn {
    display: inline-flex; align-items: center; gap: 8px; border: 0; cursor: pointer;
    background: var(--green); color: #fff; border-radius: 999px; padding: 11px 26px;
    font-size: 1rem; font-weight: 700; font-family: inherit;
}
.btn:hover { background: var(--green-dark); text-decoration: none; }
.btn--block { width: 100%; justify-content: center; }
.login-error { background: rgba(255,255,255,.92); color: #c0392b; border-radius: 12px; padding: 9px 16px; margin-bottom: 14px; font-size: .9rem; }

.impersonate-bar { position: sticky; top: 0; z-index: 50; background: #2d2d2d; color: #fff; display: flex; align-items: center; justify-content: center; gap: 16px; padding: 8px 16px; font-size: .9rem; }
.impersonate-bar button { background: #fff; color: #2d2d2d; border: 0; border-radius: 999px; padding: 5px 14px; font-weight: 700; cursor: pointer; font-family: inherit; }

/* Auth pages (forgot / reset) */
.hero--auth { min-height: auto; }
.auth-lead { color: rgba(255,255,255,.92); max-width: 420px; margin: 0 auto 22px; }
.auth-back { margin: 16px 0 0; }
.auth-back a { color: #fff; text-decoration: underline; }
.flash-status {
    position: fixed; top: 16px; left: 0; right: 0; margin: 0 auto; width: fit-content; max-width: calc(100% - 32px);
    z-index: 100; background: var(--green); color: #fff; text-align: center; padding: 12px 26px;
    border-radius: 999px; font-weight: 600; box-shadow: 0 10px 26px rgba(0,0,0,.18);
    animation: flash-in .3s ease both, flash-out .5s ease 4.5s forwards;
}
@keyframes flash-in { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
@keyframes flash-out { to { opacity: 0; transform: translateY(-12px); visibility: hidden; } }
.hero .login-form .help { color: rgba(255,255,255,.9); font-size: .9rem; margin-top: 6px; }
.hero .login-form .help a { color: #fff; text-decoration: underline; }

/* ---- Sections ---- */
.section { padding: 30px 0 60px; background: var(--cream); }
.section--white { background: #fff; }

/* Cream band under the hero wave holding the "wachtwoord vergeten" text. */
.cream-band { background: var(--cream); text-align: center; padding: 6px 0 64px; }
.cream-band p { margin: 0; color: var(--text); }
.cream-band a { color: var(--primary); text-decoration: underline; }
.section__title { color: var(--primary); font-weight: 700; font-size: 1.7rem; margin: 0 0 24px; }

/* ---- Contact cards ---- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact__intro p { margin: 0 0 14px; max-width: 30rem; }
.contact__intro p:first-child { font-size: 1.2rem; font-weight: 700; color: #555; }
.contact__cards { display: flex; flex-direction: column; gap: 14px; }
.card {
    display: flex; align-items: center; gap: 14px; background: #fff; border-radius: 14px;
    padding: 16px 20px; box-shadow: 0 6px 18px rgba(0,0,0,.05);
}
.card__icon { color: var(--primary); font-size: 1.3rem; width: 26px; text-align: center; }
.card__body { flex: 1; }
.card__body strong { display: block; color: #555; }
.card__chev { color: var(--primary); font-size: 1.2rem; }

/* ---- Footer ---- */
.footer { background: #fff; padding: 26px 0; border-top: 1px solid #f0e9e9; }
.footer__row { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer__logo img { height: 60px; width: auto; }
.footer__copy { color: var(--muted); font-size: .85rem; }
.footer__social { display: flex; gap: 12px; }
.footer__social a { color: var(--primary); font-size: 1.15rem; }

/* ---- Planner inner pages (logged in) ---- */
/* Primary header band with the brand oval, nav and page title, closed off with
   the same cream wave as the hero. */
.page-head { position: relative; background: var(--primary); color: #fff; padding-bottom: 70px; }
.page-head__bar { position: relative; z-index: 3; display: flex; align-items: center; justify-content: flex-end; padding: 18px 0; }
.page-head__title { position: relative; z-index: 3; text-align: center; padding: 18px 0 30px; }
.page-head__title h1 { font-family: 'bjola', "PT Sans", sans-serif; font-weight: 400; font-size: 2.4rem; margin: 0; }
.page-head__title p { margin: 8px auto 0; max-width: 540px; color: rgba(255,255,255,.92); }
.page-head__actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 20px; position: relative; z-index: 3; }
a.hero__brand { text-decoration: none; }
a.footer__logo { text-decoration: none; display: inline-block; }
.page-head .hero__wave svg { height: 70px; }

.planner-nav { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.planner-nav a { color: #fff; padding: 7px 14px; border-radius: 999px; font-weight: 600; font-size: .95rem; }
.planner-nav a:hover { background: rgba(255,255,255,.16); text-decoration: none; }
.planner-nav a.is-active { background: #fff; color: var(--primary); }
.planner-nav form { margin: 0; }
.planner-nav button { background: rgba(255,255,255,.16); color: #fff; border: 0; cursor: pointer; padding: 7px 14px; border-radius: 999px; font-weight: 600; font-size: .95rem; font-family: inherit; }
.planner-nav button:hover { background: rgba(255,255,255,.28); }

.planner-section { background: var(--cream); padding: 10px 0 70px; min-height: 40vh; }
.planner-section .container { max-width: 760px; }
.planner-section--wide .container { max-width: 1040px; }
/* Two-column dashboard layout (nanny home mirrors the live planner). */
.dashboard-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; align-items: start; }
.dashboard-col { min-width: 0; }
@media (max-width: 768px) { .dashboard-cols { grid-template-columns: 1fr; } }
.panel { background: #fff; border-radius: 16px; padding: 26px 28px; box-shadow: 0 6px 18px rgba(0,0,0,.05); margin-bottom: 22px; }
.panel__title { color: var(--primary); font-weight: 700; font-size: 1.25rem; margin: 0 0 18px; }
.lead-note { color: var(--text); margin: 0 0 18px; }
.lead-note a { text-decoration: underline; }

/* ---- Forms on light background ---- */
.form-field { margin-bottom: 18px; }
.form-field > label { display: block; font-weight: 600; color: #555; margin-bottom: 6px; }
.form-field input[type=text], .form-field input[type=email], .form-field input[type=tel],
.form-field input[type=password], .form-field input[type=date], .form-field input[type=time],
.form-field input[type=datetime-local], .form-field input[type=number],
.form-field select, .form-field textarea {
    width: 100%; border: 1px solid #e3ddd0; border-radius: 12px; padding: 12px 16px;
    font-size: 1rem; font-family: inherit; color: var(--text); background: #fff;
}
.form-field textarea { min-height: 110px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: 0; border-color: var(--primary); }
.form-field .hint { color: var(--muted); font-size: .85rem; margin-top: 5px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.form-grid--3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 18px; }
.form-check { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.form-check input { width: 18px; height: 18px; }
.form-check label { font-weight: 600; color: #555; }
.form-error { color: #c0392b; font-size: .85rem; margin-top: 5px; }
.form-actions { display: flex; gap: 12px; align-items: center; margin-top: 8px; flex-wrap: wrap; }
fieldset.form-block { border: 0; border-top: 1px solid #efe9dc; margin: 0 0 8px; padding: 22px 0 0; }
fieldset.form-block:first-of-type { border-top: 0; padding-top: 0; }
fieldset.form-block legend { font-weight: 400; color: var(--primary); padding: 0; margin-bottom: 14px; font-size: 1.5rem; }
/* ---- Profile wizard ---- */
.wizard-progress { list-style: none; display: flex; flex-wrap: nowrap; gap: 14px; padding: 0 0 16px; margin: 0 0 24px; border-bottom: 1px solid #efe9dc; overflow-x: auto; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.wizard-progress li { display: flex; align-items: center; gap: 7px; color: var(--muted); font-weight: 600; font-size: .85rem; cursor: pointer; white-space: nowrap; flex: 0 0 auto; }
.wizard-progress li span { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: #efe9dc; color: #fff; font-size: .78rem; flex-shrink: 0; }
@media (max-width: 560px) {
    /* On small screens show just the numbered circles (scrollable row) to stay compact. */
    .wizard-progress li { font-size: 0; gap: 0; }
    .wizard-progress li.is-active { font-size: .85rem; gap: 7px; color: var(--primary); }
}
.wizard-progress li.is-active { color: var(--primary); }
.wizard-progress li.is-active span { background: var(--primary); }
.wizard-progress li.is-done span { background: var(--green); }
.wizard-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 22px; }
.wizard-nav [data-next], .wizard-nav [data-submit] { margin-left: auto; }

/* ---- Child block (collapsible) ---- */
.child-block { border: 1px solid #efe9dc; border-radius: 12px; margin-bottom: 12px; background: #fffdf8; overflow: hidden; }
.child-block__summary { cursor: pointer; list-style: none; padding: 13px 18px; font-weight: 700; color: #555; display: flex; align-items: center; }
.child-block__summary::-webkit-details-marker { display: none; }
.child-block__summary::after { content: "\f078"; font-family: "Font Awesome 6 Free"; font-weight: 900; margin-left: auto; color: var(--primary); font-size: .85rem; transition: transform .2s; }
.child-block[open] .child-block__summary::after { transform: rotate(180deg); }
.child-block__fields { padding: 4px 18px 16px; }

/* Profile photo upload */
.photo-field { display: flex; align-items: center; gap: 16px; }
.photo-field__preview { width: 72px; height: 72px; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: #fff; border: 1px solid #e3ddd0; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 1.6rem; }
.photo-field__preview img { width: 100%; height: 100%; object-fit: cover; }

/* Birthdate + age */
.birthdate { display: flex; align-items: center; gap: 12px; }
.birthdate input { flex: 1; }
.birthdate__age { font-size: .92rem; font-weight: 700; white-space: nowrap; }
.birthdate__age--ok { color: var(--green); }
.birthdate__age--error { color: #c0392b; }

/* ---- Agreement ---- */
.agreement { max-height: 460px; overflow-y: auto; padding-right: 10px; color: var(--text); }
.agreement p { margin: 0 0 12px; }
.agreement-signed { display: flex; align-items: center; gap: 14px; }
.agreement-signed i { color: var(--green); font-size: 1.6rem; }
.agreement-signed strong { color: #555; }
.agreement-signed .meta { color: var(--muted); font-size: .9rem; }

.btn--sm { padding: 7px 18px; font-size: .9rem; }
.link-btn { background: 0; border: 0; cursor: pointer; color: var(--muted); font-size: .85rem; text-decoration: underline; padding: 2px 0; font-family: inherit; }
.link-btn:hover { color: var(--primary); }
.panel--link { padding: 0; }
.panel--link a { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; color: #555; }
.panel--link a:hover { text-decoration: none; }
.panel--link i { color: var(--primary); }
.meta--note { font-style: italic; color: var(--muted); }
.booking-note { margin-top: 6px; }
.booking-note > summary { cursor: pointer; list-style: none; color: var(--primary); font-size: .85rem; font-weight: 600; }
.booking-note > summary::-webkit-details-marker { display: none; }
.booking-note > summary::before { content: "\f105"; font-family: "Font Awesome 6 Free"; font-weight: 900; margin-right: 6px; }
.booking-note[open] > summary::before { content: "\f107"; }
.booking-note__body { white-space: pre-line; color: var(--text); font-size: .9rem; margin-top: 8px; }
.btn--outline { background: transparent; border: 2px solid var(--green); color: var(--green); padding: 9px 24px; }
.btn--outline:hover { background: var(--green); color: #fff; }
.btn--light { background: #fff; color: var(--primary); }
.btn--light:hover { background: #f6f0f0; }

/* ---- Booking list ---- */
.booking-list { display: flex; flex-direction: column; gap: 14px; }
.booking-card { display: flex; align-items: center; gap: 18px; background: #fff; border-radius: 14px; padding: 16px 20px; box-shadow: 0 6px 18px rgba(0,0,0,.05); }
.booking-card__date { text-align: center; min-width: 58px; }
.booking-card__date .day { display: block; font-size: 1.6rem; font-weight: 700; color: var(--primary); line-height: 1; }
.booking-card__date .mon { display: block; text-transform: uppercase; font-size: .75rem; color: var(--muted); letter-spacing: .04em; }
.booking-card__body { flex: 1; }
.booking-card__body strong { color: #555; }
.booking-card__body .meta { color: var(--muted); font-size: .9rem; }
.badge { display: inline-block; border-radius: 999px; padding: 4px 12px; font-size: .78rem; font-weight: 700; }
.badge--open { background: #fde9c8; color: #9a6a14; }
.badge--matched { background: #d9efe2; color: #2f7a55; }
.badge--archived { background: #eee; color: #888; }
.empty-state { text-align: center; color: var(--muted); padding: 26px 0; }

/* Rich content (handbook etc.) */
.prose { line-height: 1.65; color: var(--text); }
.prose h1, .prose h2, .prose h3, .prose h4 { font-family: 'bjola', 'PT Sans', sans-serif; font-weight: 400; color: var(--primary); line-height: 1.12; margin: 1.3em 0 .4em; }
.prose h1 { font-size: 1.9rem; }
.prose h2 { font-size: 1.5rem; }
.prose h3 { font-size: 1.25rem; }
.prose h4 { font-size: 1.1rem; }
.prose p { margin: 0 0 1em; }
.prose ul, .prose ol { margin: 0 0 1em 1.25em; padding: 0; }
.prose li { margin-bottom: .35em; }
.prose a { color: var(--primary); text-decoration: underline; }
.prose img { max-width: 100%; height: auto; border-radius: 10px; margin: .4em 0; }
.prose strong, .prose b { font-weight: 700; }
.prose hr { border: none; border-top: 1px solid #efe9dc; margin: 1.5em 0; }
.day-checks { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.day-check { display: flex; align-items: center; gap: 7px; font-weight: 400; color: var(--text); cursor: pointer; }
.day-check input { width: 16px; height: 16px; }
.results-count { color: var(--muted); margin: 4px 2px 16px; font-size: .9rem; }

/* ---- Beschikbare diensten: filter sidebar + results ---- */
.diensten-layout { display: grid; grid-template-columns: 300px 1fr; gap: 22px; align-items: start; }
.diensten-filter, .diensten-results { min-width: 0; }
.diensten-filter { position: sticky; top: 16px; }
.diensten-filter .panel { margin-bottom: 0; }
.diensten-filter .day-check { display: flex; align-items: center; gap: 8px; font-weight: 400; color: var(--text); margin-bottom: 5px; cursor: pointer; }
.diensten-filter .day-check input { width: 16px; height: 16px; }
@media (max-width: 820px) {
    .diensten-layout { grid-template-columns: 1fr; }
    .diensten-filter { position: static; }
}
.month-head { display: flex; align-items: center; justify-content: space-between; gap: 12px 16px; flex-wrap: wrap; margin-bottom: 14px; }
.month-head .panel__title { margin: 0; }
.month-head form { margin: 0; }
.booking-card__ico { color: var(--muted); margin-left: 8px; }
.tag { display: inline-block; border-radius: 999px; padding: 1px 10px; font-size: .72rem; font-weight: 700; vertical-align: middle; margin-left: 8px; }
.tag--today { background: var(--primary); color: #fff; }

/* Toggle switch (apply/withdraw) */
.switch { position: relative; display: inline-block; width: 46px; height: 26px; }
.switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.switch__slider { position: absolute; inset: 0; background: #d8d2c6; border-radius: 999px; transition: .2s; cursor: pointer; }
.switch__slider::before { content: ''; position: absolute; width: 20px; height: 20px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: .2s; }
.switch input:checked + .switch__slider { background: var(--green); }
.switch input:checked + .switch__slider::before { transform: translateX(20px); }
.switch input:disabled + .switch__slider { opacity: .6; cursor: default; }
.switch__label { display: block; font-size: .78rem; color: var(--muted); margin-top: 5px; text-align: center; }
.accordion__body--scroll { max-height: 420px; overflow-y: auto; }
.news-item { border-bottom: 1px solid #efe9dc; }
.news-item:last-child { border-bottom: 0; }
.news-item__summary { cursor: pointer; padding: 11px 0; font-weight: 700; color: var(--primary); list-style: none; }
.news-item__summary::-webkit-details-marker { display: none; }
.news-item__summary::before { content: "\f105"; font-family: "Font Awesome 6 Free"; font-weight: 900; margin-right: 9px; }
.news-item[open] .news-item__summary::before { content: "\f107"; }
.news-item__body { color: var(--text); padding: 0 0 12px; }
.news-item__body p { margin: 0 0 8px; }
.booking-card__side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.booking-card__actions { display: flex; gap: 10px; align-items: center; }
.booking-card__actions a, .booking-card__actions button { color: var(--muted); background: 0; border: 0; cursor: pointer; font-size: .95rem; padding: 0; }
.booking-card__actions a:hover, .booking-card__actions button:hover { color: var(--primary); }
.booking-card__actions form { margin: 0; display: inline; }

/* ---- Accordion (native details) ---- */
.accordion { background: #fff; border-radius: 16px; box-shadow: 0 6px 18px rgba(0,0,0,.05); margin-bottom: 16px; overflow: hidden; }
.accordion > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 18px 24px; font-weight: 700; color: #555; }
.accordion > summary::-webkit-details-marker { display: none; }
.accordion > summary::after { content: "\f078"; font-family: "Font Awesome 6 Free"; font-weight: 900; margin-left: auto; color: var(--primary); transition: transform .2s; font-size: .9rem; }
.accordion[open] > summary::after { transform: rotate(180deg); }
.accordion__count { background: var(--cream); color: var(--primary); border-radius: 999px; padding: 1px 11px; font-size: .85rem; }
/* Link that looks like an accordion header but navigates instead of expanding. */
.accordion--link { display: flex; align-items: center; gap: 10px; padding: 18px 24px; color: #555; font-weight: 700; }
.accordion--link:hover { text-decoration: none; color: #555; }
.accordion--link::after { content: "\f054"; font-family: "Font Awesome 6 Free"; font-weight: 900; margin-left: auto; color: var(--primary); font-size: .9rem; }
.accordion__body { padding: 4px 24px 22px; display: flex; flex-direction: column; gap: 12px; }

/* ---- Nanny card ---- */
.nanny-card { display: flex; gap: 16px; align-items: flex-start; background: var(--cream); border-radius: 14px; padding: 16px 18px; }
.nanny-card__avatar, .nanny-profile__avatar { flex-shrink: 0; line-height: 0; }
.nanny-card__avatar { width: 56px; height: 56px; }
.nanny-card__avatar img, .nanny-card__avatar .nanny-card__placeholder,
.nanny-profile__avatar img, .nanny-profile__avatar .nanny-card__placeholder { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.nanny-card__placeholder { display: flex; align-items: center; justify-content: center; background: #fff; color: var(--muted); font-size: 1.4rem; }
.nanny-card__body { flex: 1; }
.nanny-card__body strong { color: #555; }
.nanny-card__body .meta { display: flex; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: .9rem; margin-top: 2px; }
.nanny-card__body .meta i { margin-right: 4px; }
.nanny-card__more { margin-top: 10px; }
.nanny-card__more summary { cursor: pointer; color: var(--primary); font-weight: 600; font-size: .9rem; }
.nanny-card__profile { margin-top: 10px; }
.nanny-card__profile p { margin: 0 0 12px; font-size: .92rem; }
.nanny-card__profile strong { color: #555; }

/* ---- Nanny profile page ---- */
.nanny-profile__head { display: flex; gap: 22px; align-items: flex-start; flex-wrap: wrap; }
.nanny-profile__avatar { width: 110px; height: 110px; }
.nanny-profile__avatar .nanny-card__placeholder { font-size: 2.4rem; }
.nanny-profile__meta { flex: 1; min-width: 220px; }
.nanny-profile__facts { list-style: none; padding: 0; margin: 0 0 16px; display: flex; gap: 18px; flex-wrap: wrap; color: var(--muted); }
.nanny-profile__facts i { margin-right: 5px; color: var(--primary); }
.nanny-profile__body { border-top: 1px solid #efe9dc; margin-top: 22px; padding-top: 20px; }
.nanny-profile__body p { margin: 0 0 14px; }
.nanny-profile__body strong { color: #555; }
.nanny-profile__heading { font-family: 'bjola', "PT Sans", sans-serif; font-weight: 400; color: var(--primary); font-size: 1.9rem; margin: 0 0 14px; }
.nanny-profile__contact { margin: 0 0 20px; }
.nanny-profile__contact div { display: flex; gap: 8px; margin-bottom: 4px; }
.nanny-profile__contact dt { margin: 0; color: #555; font-weight: 700; }
.nanny-profile__contact dt::after { content: ":"; }
.nanny-profile__contact dd { margin: 0; color: var(--text); }
.nanny-profile__body .btn--block { margin: 4px 0 22px; }

/* ---- Star rating (pure CSS) ---- */
.stars-label { display: block; font-weight: 600; color: #555; margin-bottom: 6px; }
.stars { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.stars input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.stars label { color: #e3ddd0; font-size: 1.6rem; cursor: pointer; margin: 0; transition: color .12s; }
.stars label:hover, .stars label:hover ~ label, .stars input:checked ~ label { color: #f5b301; }
.stars input:focus-visible + label { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 3px; }

@media (max-width: 992px) {
    .hero__photo { display: none; }
    .hero__copy { max-width: 560px; }
}

@media (max-width: 768px) {
    .form-grid, .form-grid--3 { grid-template-columns: 1fr; }
    .page-head__title h1 { font-size: 1.9rem; }
}

@media (max-width: 768px) {
    .hero { min-height: 0; }
    .hero__brand { width: 230px; height: 130px; top: -22px; }
    .hero__brand img { left: 16px; top: 40px; height: 56px; }
    .hero__inner { padding: 120px 0 50px; }
    .hero h1 { font-size: 1.9rem; }
    .contact { grid-template-columns: 1fr; gap: 24px; }
    .footer__row { justify-content: center; text-align: center; }
}
