/* ============================================================
   YumanCare theme — Design 09 "quiet conversation"
   Ported from designs/design-09-quiet-conversation-mobile.html
   ============================================================ */

:root { --ink: #292521; --espresso: #392a23; --cream: #f7f1e8; --cream-deep: #ecdfd0; --white: #fffdf9; --clay: #b76b4e; --clay-dark: #8f4d37; --olive: #d8dfcc; --olive-dark: #65715b; --line: #d9ccbc; --muted: #71675f; --max: 72rem; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: "Libre Franklin", sans-serif; font-size: 1rem; line-height: 1.65; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea { font: inherit; }

.frame { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
.skip { position: absolute; left: .75rem; top: -10rem; z-index: 100; padding: .75rem 1rem; background: var(--white); color: var(--ink); }
.skip:focus { top: .75rem; }

/* Topline */
.topline { background: var(--espresso); color: #f7eee4; font-size: .77rem; }
.topline .frame { min-height: 2.6rem; display: flex; justify-content: space-between; align-items: center; gap: .75rem; }
.topline a { text-underline-offset: .2em; }

/* Header / nav */
header { position: sticky; top: 0; z-index: 30; background: rgba(247, 241, 232, .95); backdrop-filter: blur(.75rem); border-bottom: 1px solid var(--line); }
.nav { min-height: 4.6rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.wordmark { color: var(--espresso); font-family: "Playfair Display", serif; font-size: 1.65rem; letter-spacing: -.04em; text-decoration: none; }
.wordmark em { color: var(--clay); font-weight: 400; }
.desktop-nav { display: none; align-items: center; gap: 1.4rem; font-size: .8rem; font-weight: 700; }
.desktop-nav a { text-decoration: none; }
.desktop-nav a:hover { color: var(--clay-dark); }
.menu { position: relative; }
.menu summary { display: grid; place-items: center; min-width: 2.8rem; min-height: 2.8rem; border: 1px solid var(--line); border-radius: 50%; list-style: none; cursor: pointer; font-size: 0; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary::before { content: "☰"; font-size: .95rem; }
.menu[open] summary::before { content: "×"; font-size: 1.45rem; }
.menu ul { position: absolute; top: calc(100% + .75rem); right: 0; width: min(15rem, calc(100vw - 2rem)); margin: 0; padding: .5rem; list-style: none; background: var(--white); border: 1px solid var(--line); border-radius: .8rem; box-shadow: 0 1.3rem 3rem rgba(57, 42, 35, .15); }
.menu a { display: block; padding: .75rem .85rem; border-radius: .5rem; text-decoration: none; }
.menu a:hover { background: var(--cream-deep); }

/* Buttons */
.cta { display: inline-flex; align-items: center; justify-content: center; min-height: 2.9rem; padding: .7rem 1.1rem; border-radius: .25rem; border: 1px solid transparent; text-decoration: none; font-size: .84rem; font-weight: 800; cursor: pointer; }
.cta.clay { background: var(--clay); color: #fff; }
.cta.clay:hover { background: var(--clay-dark); }
.cta.dark { background: var(--espresso); color: #fff; }
.cta.outline { border-color: #b9a997; color: var(--espresso); }
.hero .cta.outline { border-color: #c4aa98; color: #fff8ee; }

/* Hero */
.hero { position: relative; padding: 2.8rem 0 3.25rem; overflow: hidden; background: var(--espresso); color: #fbf3e8; }
.hero::before { content: ""; position: absolute; top: -7rem; right: -7rem; width: 18rem; height: 18rem; border: 1px solid rgba(224, 180, 147, .45); border-radius: 50%; box-shadow: 0 0 0 2rem rgba(224, 180, 147, .08), 0 0 0 4rem rgba(224, 180, 147, .04); }
.hero-grid { position: relative; display: grid; gap: 1.5rem; }
.hero-copy { max-width: 40rem; }
.stamp { display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 1.3rem; color: #f0c1a7; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.stamp::before { content: ""; width: 2rem; height: 1px; background: #dca486; }
h1, h2, blockquote { font-family: "Playfair Display", serif; font-weight: 400; letter-spacing: -.035em; }
.hero h1 { max-width: 11ch; margin: 0; font-size: clamp(3rem, 13vw, 5.8rem); line-height: .94; }
.hero-lede { max-width: 35rem; margin: 1.3rem 0 0; color: #e3d5c8; font-size: 1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.5rem; }
.hero-visual { position: relative; }
.hero-visual img { width: 100%; height: 19rem; object-fit: cover; border-radius: 0 .9rem .9rem .9rem; opacity: .9; }
.hero-caption { position: absolute; left: .7rem; bottom: -.7rem; max-width: 14rem; padding: .75rem .9rem; background: var(--cream); color: var(--espresso); font-size: .78rem; line-height: 1.45; box-shadow: .5rem .5rem 0 rgba(183, 107, 78, .75); }
.hero-caption strong { display: block; margin-bottom: .15rem; font-size: .9rem; }

/* Signals bar */
.signals { background: var(--clay); color: #fffaf3; }
.signals .frame { display: grid; grid-template-columns: 1fr 1fr; }
.signal { min-height: 6rem; display: flex; flex-direction: column; justify-content: center; padding: .8rem; border-right: 1px solid rgba(255,255,255,.28); border-bottom: 1px solid rgba(255,255,255,.28); }
.signal:nth-child(2n) { border-right: 0; }
.signal:nth-last-child(-n+2) { border-bottom: 0; }
.signal small { margin-bottom: .25rem; color: #f9d4bd; font-size: .66rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.signal strong { font-size: .82rem; line-height: 1.35; }

/* Sections */
section { padding: 4.5rem 0; }
.kicker { margin: 0 0 .75rem; color: var(--clay-dark); font-size: .72rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.kicker.light { color: #e7b99d; }
h2 { margin: 0; max-width: 15ch; font-size: clamp(2.5rem, 9vw, 4.2rem); line-height: .98; }
.lede { max-width: 41rem; margin: 1rem 0 0; color: var(--muted); }

/* Opening ("Voor wie") */
.opening { background: var(--white); border-bottom: 1px solid var(--line); }
.opening-grid { display: grid; gap: 2.2rem; }
.opening-copy blockquote { margin: 1.5rem 0 0; padding-top: 1.2rem; border-top: 1px solid var(--line); color: var(--clay-dark); font-size: 1.55rem; line-height: 1.2; }
.opening-copy blockquote cite { display: block; margin-top: .7rem; color: var(--muted); font-family: "Libre Franklin", sans-serif; font-size: .73rem; font-style: normal; letter-spacing: .1em; text-transform: uppercase; }
.outline-list { display: grid; gap: .65rem; }
.outline-item { display: grid; grid-template-columns: 2.4rem 1fr; gap: .75rem; align-items: start; padding-bottom: .8rem; border-bottom: 1px solid var(--line); }
.outline-item:last-child { border-bottom: 0; }
.outline-item span { display: grid; place-items: center; width: 2.15rem; height: 2.15rem; border-radius: 50%; background: var(--olive); color: var(--olive-dark); font-size: .75rem; font-weight: 800; }
.outline-item h3 { margin: .2rem 0 0; font-size: .98rem; }
.outline-item p { margin: .2rem 0 0; color: var(--muted); font-size: .86rem; }

/* Route ("Aanmelden") */
.method { background: var(--olive); }
.method-grid { display: grid; gap: 1rem; margin-top: 1.6rem; }
.method-card { padding: 1.2rem; background: rgba(255,253,249,.62); border: 1px solid #bec9b4; border-radius: .9rem .2rem .9rem .9rem; }
.method-card .number { margin-bottom: .9rem; color: var(--clay-dark); font-family: "Playfair Display", serif; font-size: 2.1rem; line-height: 1; }
.method-card h3 { margin: 0; font-size: 1.02rem; }
.method-card p { margin: .5rem 0 0; color: #596151; font-size: .9rem; }

/* Profile ("Over mij") */
.profile { background: var(--cream); }
.profile-grid { display: grid; gap: 1.8rem; }
.profile img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: .2rem .9rem .9rem .9rem; }
.profile-copy p { color: var(--muted); }
.profile-copy .signature { margin-top: 1.2rem; color: var(--clay-dark); font-family: "Playfair Display", serif; font-size: 1.5rem; font-style: italic; }
.profile-copy a { display: inline-flex; margin-top: .45rem; color: var(--clay-dark); font-size: .84rem; font-weight: 800; text-underline-offset: .2em; }
.doc-link { align-items: center; gap: .45em; }
.doc-link svg { width: 1.05em; height: 1.05em; flex: none; }

/* Fees ("Tarieven") */
.fees { background: var(--white); border-block: 1px solid var(--line); }
.fees-grid { display: grid; gap: 1.3rem; margin-top: 1.6rem; }
.fee-lead { padding: 1.25rem; background: var(--espresso); color: #fff8ee; border-radius: .9rem .2rem .9rem .9rem; }
.fee-lead p { margin: .55rem 0 0; color: #decfc1; font-size: .9rem; }
.contract-tags { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1rem; }
.contract-tags span { padding: .4rem .6rem; border: 1px solid #806554; border-radius: 999px; color: #f5c9b0; font-size: .72rem; font-weight: 700; }
.fee-lines { margin-top: 1.1rem; }
.fee-line { display: flex; justify-content: space-between; gap: .8rem; padding: .7rem 0; border-bottom: 1px solid #58483f; font-size: .84rem; }
.fee-line strong { color: #f2c0a3; white-space: nowrap; }
.fee-notes { display: grid; gap: .6rem; }
.fee-notes details { padding: .9rem 1rem; border: 1px solid var(--line); border-radius: .7rem; }
.fee-notes summary { cursor: pointer; list-style: none; font-weight: 800; }
.fee-notes summary::-webkit-details-marker { display: none; }
.fee-notes summary::after { content: "+"; float: right; color: var(--clay-dark); font-size: 1.2rem; }
.fee-notes details[open] summary::after { content: "−"; }
.fee-notes p { margin: .65rem 0 0; color: var(--muted); font-size: .85rem; }

/* Contact */
.contact { background: var(--cream-deep); }
.contact-grid { display: grid; gap: 1.2rem; }
.contact-copy { padding: .2rem 0; }
.contact-copy h2 { max-width: 10ch; }
.contact-copy p { max-width: 35rem; color: var(--muted); }
.contact-details { display: grid; gap: .55rem; margin-top: 1.2rem; }
.contact-details a { display: flex; align-items: center; gap: .65rem; min-height: 2.8rem; text-decoration: none; font-weight: 800; }
.contact-details a::before { content: ""; width: .55rem; height: .55rem; border-radius: 50%; background: var(--clay); }

/* Form card */
.form-card { padding: 1.2rem; background: var(--white); border: 1px solid var(--line); border-radius: .9rem; }
.form-card h3 { margin: 0; font-family: "Playfair Display", serif; font-size: 1.8rem; font-weight: 400; }
.form-card > p { margin: .35rem 0 1rem; color: var(--muted); font-size: .8rem; }
form { display: grid; gap: .75rem; }
label { display: grid; gap: .3rem; color: var(--muted); font-size: .78rem; font-weight: 700; }
input, textarea { width: 100%; min-height: 2.9rem; padding: .7rem .75rem; border: 1px solid var(--line); border-radius: .4rem; background: var(--cream); color: var(--ink); }
textarea { min-height: 6rem; resize: vertical; }
input:focus, textarea:focus { outline: 3px solid rgba(183,107,78,.24); border-color: var(--clay); }
.privacy-note { margin: 0; color: var(--muted); font-size: .7rem; }
.privacy-note p { margin: 0; }
/* Form plugin notices (v9 inline success/error messages) */
.form-card .notices { margin: 0 0 .75rem; padding: .9rem 1rem; border-radius: .6rem; font-size: .85rem; line-height: 1.45; }
.form-card .notices p { margin: 0; }
.form-card .notices.green { background: var(--olive); color: #3f4a3c; border: 1px solid #bec9b4; }
.form-card .notices.red, .form-card .notices.error { background: #f3ded6; color: var(--clay-dark); border: 1px solid #d8a08c; }

/* Form plugin output (Grav forms) */
.form-card form > div { display: grid; gap: .3rem; }
.form-card .form-thankyou, .form-card [class*="thankyou"] { padding: 1rem 1.1rem; background: var(--olive); border-radius: .6rem; font-weight: 700; color: #414a38; }

/* Place / gallery */
.place { padding-top: 0; }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; }
.gallery img { width: 100%; height: 10rem; object-fit: cover; border-radius: .75rem; }
.gallery img:first-child { grid-column: 1 / -1; height: 13rem; }
.place-note { margin: 1rem 0 0; color: var(--muted); font-size: .85rem; }
.place-note p { margin: 0; }

/* Footer */
footer { padding: 2rem 0 7.2rem; background: var(--espresso); color: #eadbcd; font-size: .8rem; }
footer .frame { display: grid; gap: .55rem; }
footer a { color: inherit; }

/* Mobile sticky bar */
.sticky { position: fixed; z-index: 60; bottom: 0; left: 0; right: 0; padding: .55rem; background: rgba(57,42,35,.96); }
.sticky .frame { display: grid; grid-template-columns: 1fr 1.25fr; gap: .5rem; }
.sticky .cta { min-height: 2.8rem; }
.sticky .cta.outline { color: #fff8ee; border-color: #c4aa98; }

/* ============================================================
   Content pages (default template)
   ============================================================ */
.page { background: var(--white); border-bottom: 1px solid var(--line); }
.page h1 { margin: 0; max-width: 20ch; font-size: clamp(2.5rem, 9vw, 4.2rem); line-height: .98; }
.page p, .page li { color: var(--muted); max-width: 41rem; }
.page a { color: var(--clay-dark); font-weight: 700; text-underline-offset: .2em; }
.page ul, .page ol { padding-left: 1.2rem; max-width: 41rem; }
.page h2 { margin-top: 3rem; max-width: none; }
.page h3 { margin-top: 2rem; font-family: "Playfair Display", serif; font-weight: 400; letter-spacing: -.02em; }
.page .form-card { margin-top: 2.5rem; max-width: 38rem; }

/* ============================================================
   Responsive
   ============================================================ */
@media (min-width: 40rem) {
    .frame { width: min(100% - 3rem, var(--max)); }
    .hero { padding: 4.5rem 0 4.25rem; }
    .hero-grid { grid-template-columns: 1.05fr .95fr; align-items: center; gap: 3.5rem; }
    .hero-visual img { height: 31rem; }
    .signals .frame { grid-template-columns: repeat(4, 1fr); }
    .signal, .signal:nth-child(2n), .signal:nth-last-child(-n+2) { border-right: 1px solid rgba(255,255,255,.28); border-bottom: 0; }
    .signal:last-child { border-right: 0; }
    .opening-grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 4rem; }
    .method-grid { grid-template-columns: repeat(3, 1fr); }
    .profile-grid { grid-template-columns: .8fr 1fr; align-items: center; gap: 4rem; }
    .profile img { max-height: 38rem; }
    .fees-grid { grid-template-columns: 1.1fr .9fr; align-items: start; }
    .contact-grid { grid-template-columns: .9fr 1.1fr; align-items: start; gap: 4rem; }
    .gallery { grid-template-columns: 1.4fr 1fr 1fr; }
    .gallery img, .gallery img:first-child { height: 15rem; grid-column: auto; }
}

@media (min-width: 64rem) {
    .desktop-nav { display: flex; }
    .menu { display: none; }
    .hero { padding: 6.5rem 0 6rem; }
    .hero-grid { gap: 6rem; }
    .hero-visual img { height: 37rem; }
    section { padding: 6.5rem 0; }
    .sticky { display: none; }
    footer { padding-bottom: 2rem; }
}

/* ============ Notice banner (vakantie / patiëntenstop) ============ */
.notice { padding: .85rem 0; font-size: .84rem; line-height: 1.5; }
.notice .frame { display: flex; align-items: center; gap: .75rem; }
.notice p { margin: 0; }
.notice a { color: inherit; text-underline-offset: .2em; }
.notice.info { background: var(--olive); color: #3f4a3c; border-bottom: 1px solid #bec9b4; }
.notice.warning { background: var(--clay); color: #fffaf3; }

/* ============ Markdown copy inside sections ============ */
.md-copy { max-width: 46rem; margin-top: .5rem; }
.md-copy p { margin: 0 0 1.1rem; line-height: 1.65; }
.md-copy > p:first-of-type { color: var(--muted); }
.md-copy a { color: var(--clay-dark); font-weight: 700; text-underline-offset: .2em; }
.md-copy blockquote { margin: 1.6rem 0; padding-top: 1.2rem; border-top: 1px solid var(--line); color: var(--clay-dark); font-family: "Playfair Display", serif; font-size: 1.55rem; line-height: 1.2; }
.md-copy blockquote p { margin: 0; }
.md-copy blockquote cite { display: block; margin-top: .7rem; color: var(--muted); font-family: "Libre Franklin", sans-serif; font-size: .73rem; font-style: normal; letter-spacing: .1em; text-transform: uppercase; }

/* Opening list → outline items */
.opening .md-copy ol { counter-reset: yc-item; list-style: none; margin: 2.2rem 0 0; padding: 0; display: grid; gap: .65rem; max-width: 41rem; }
.opening .md-copy li { counter-increment: yc-item; display: grid; grid-template-columns: 2.4rem 1fr; gap: .75rem; align-items: start; padding-bottom: .8rem; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .86rem; line-height: 1.55; }
.opening .md-copy li:last-child { border-bottom: 0; padding-bottom: 0; }
.opening .md-copy li::before { content: counter(yc-item, decimal-leading-zero); display: grid; place-items: center; width: 2.15rem; height: 2.15rem; border-radius: 50%; background: var(--olive); color: var(--olive-dark); font-size: .75rem; font-weight: 800; }
.opening .md-copy li strong { display: block; margin-bottom: .15rem; color: var(--ink); font-size: .98rem; }

/* Route list → method cards */
.method .md-copy ol { counter-reset: yc-step; list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 40rem) { .method .md-copy ol { grid-template-columns: repeat(3, 1fr); } }
.method .md-copy li { counter-increment: yc-step; padding: 1.2rem; background: rgba(255, 253, 249, .62); border: 1px solid #bec9b4; border-radius: .9rem .2rem .9rem .9rem; color: #596151; font-size: .9rem; line-height: 1.55; }
.method .md-copy li::before { content: counter(yc-step, decimal-leading-zero); display: block; margin-bottom: .9rem; color: var(--clay-dark); font-family: "Playfair Display", serif; font-size: 2.1rem; line-height: 1; }
.method .md-copy li strong { display: block; margin-bottom: .4rem; color: var(--ink); font-size: 1.02rem; }

/* Profile paragraphs stay muted like the design */
.profile .md-copy p { color: var(--muted); }
