/* Fysiotherapie Sitters V2 — shared, build-free visual system. */
:root {
    --green: #00af50;
    --green-dark: #007d3a;
    --button: #00863d;
    --ink: #202b2d;
    --muted: #4f5e55;
    --sage: #e8f4ea;
    --hero: #eff6ed;
    --white: #fff;
    --page: #fbfcfa;
    --line: #dbe6dc;
    --footer: #2b3832;
    --container: 1240px;
    --gutter: 20px;
    --radius: 20px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--page); color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 700; letter-spacing: -.035em; line-height: 1.15; overflow-wrap: anywhere; }
h1 { font-size: clamp(1.9rem, 8.2vw, 2.5rem); }
h2 { font-size: clamp(1.65rem, 3vw, 2.3rem); }
h3 { font-size: 1.1rem; }
p { text-wrap: pretty; }
a { color: inherit; text-decoration: none; text-underline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
button, summary { font: inherit; }
a, button, summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
:focus-visible { outline: 3px solid var(--green-dark); outline-offset: 4px; border-radius: 4px; }
[tabindex="-1"]:focus:not(:focus-visible) { outline: none; }
::selection { background: #c1e7c8; }
.container { width: min(calc(100% - var(--gutter) * 2), var(--container)); margin-inline: auto; }
.icon { width: 24px; height: 24px; flex-shrink: 0; color: var(--green-dark); }
.eyebrow { font-size: .75rem; line-height: 1.5; color: var(--green-dark); text-transform: uppercase; font-weight: 700; letter-spacing: .065em; }
.underlined::after { content: ""; display: block; width: 60px; height: 3px; margin-top: 13px; background: var(--green); border-radius: 2px; }
.skip-link { position: fixed; top: 8px; left: 12px; z-index: 30; background: var(--green-dark); color: white; padding: 12px 18px; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

/* Compact identity and keyboard-accessible navigation. */
.site-header { position: sticky; top: 0; z-index: 20; background: white; border-bottom: 1px solid #edf1eb; }
.header-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; min-height: 80px; gap: 8px; position: relative; }
.brand { display: flex; align-items: center; gap: 9px; min-width: 0; }
.brand-logo { width: 52px; }
.brand-copy { display: flex; flex-direction: column; max-width: 205px; }
.brand-copy strong { font-size: .96rem; line-height: 1.25; letter-spacing: -.035em; }
.brand-copy > span { font-size: .68rem; line-height: 1.35; margin-top: 3px; font-style: italic; }
.menu-toggle { border: 0; background: transparent; width: 44px; height: 44px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 10px; cursor: pointer; flex-shrink: 0; }
.menu-toggle[hidden] { display: none; }
.menu-toggle span { width: 22px; height: 2px; background: var(--green-dark); transition: transform .18s, opacity .18s; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-7px) rotate(-45deg); }
.primary-nav { display: flex; flex-direction: column; gap: 4px; width: 100%; padding-block: 8px 18px; }
.primary-nav a { display: flex; align-items: center; gap: 8px; padding: 10px 13px; min-height: 44px; font-size: .9rem; border-radius: 8px; }
.primary-nav a:hover, .primary-nav a[aria-current] { color: var(--green-dark); background: var(--sage); }
.primary-nav .nav-appointment { background: var(--button); color: white; font-weight: 600; }
.primary-nav .nav-appointment .icon { color: inherit; width: 18px; height: 18px; }
.primary-nav .nav-appointment:hover, .primary-nav .nav-appointment[aria-current] { background: var(--green-dark); color: white; }
.js .primary-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: white; padding: 12px; border: 1px solid var(--line); border-radius: 0 0 16px 16px; box-shadow: 0 10px 24px #243b2714; max-height: calc(100dvh - 92px); overflow-y: auto; }
.js .primary-nav.is-open { display: flex; }

/* The right-hand photo flows into the page through a scalable SVG curve. */
.hero { position: relative; background: var(--hero); isolation: isolate; }
.clip-definitions { position: absolute; pointer-events: none; }
.hero-inner { position: relative; z-index: 2; padding-block: 30px 56px; }
.hero-copy { max-width: 560px; }
.hero-copy .eyebrow { margin-bottom: 12px; }
.hero-copy > p:not(.eyebrow) { max-width: 80%; font-size: 1rem; line-height: 1.5; margin-top: 18px; }
.hero-image { position: absolute; top: 0; right: 0; width: 65%; height: 100%; z-index: 0; overflow: hidden; opacity: .7; mask-image: linear-gradient(90deg, transparent 0%, transparent 30%, #000 95%); }
.hero-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--hero), transparent 60%); }
.hero-image picture, .hero-image img { width: 100%; height: 100%; display: block; }
.hero-image img { object-fit: cover; object-position: 72% center; }
.hero-copy h1 { position: relative; }
.button-group { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 23px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 10px 19px; border-radius: 14px; font-size: .9rem; font-weight: 650; line-height: 1.3; border: 1px solid transparent; transition: background-color .18s, box-shadow .18s; }
.button .icon { width: 19px; height: 19px; color: inherit; }
.button-primary { color: white; background: var(--button); border-color: var(--button); box-shadow: inset 0 1px 0 #ffffff20; }
.button-primary:hover { background: var(--green-dark); border-color: var(--green-dark); }
.button-secondary { background: #ffffffb8; border-color: var(--green-dark); color: #17452b; }
.button-secondary:hover { background: #def0df; }
.button:active { box-shadow: inset 0 2px 4px #0002; }
.hero .button { min-width: 210px; }

/* Two directions, one gently raised white group. */
.specializations { position: relative; z-index: 3; margin-top: -23px; border: 1px solid #e4ece3; border-radius: var(--radius); background: linear-gradient(120deg, white, #f7faf6); box-shadow: 0 3px 8px #243b270c; padding: 0 17px; }
.specialization { display: grid; grid-template-columns: 44px minmax(0, 1fr) 16px; gap: 12px; align-items: center; padding: 23px 0; }
.specialization + .specialization { border-top: 1px solid var(--line); }
.specialization-icon { width: 44px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: #e5f3dd; }
.specialization-icon .icon { width: 32px; height: 32px; stroke-width: 1.35; }
.specialization h2 { font-size: 1rem; letter-spacing: -.025em; }
.specialization p { margin-top: 7px; font-size: .875rem; line-height: 1.45; }
.specialization-arrow { width: 17px; height: 17px; }
.specialization:hover h2 { color: var(--green-dark); }

/* Photo-led treatment overview; additional information stays collapsed. */
.treatments { position: relative; margin-block: 34px; }
.section-heading { margin-bottom: 63px; }
.treatment-grid { display: grid; gap: 18px; }
.treatment-card { display: flex; flex-direction: column; min-width: 0; background: linear-gradient(135deg, white, #f6faf4); border: 1px solid #dce7da; border-radius: 17px; box-shadow: 0 2px 5px #1a40220c; overflow: hidden; transition: box-shadow .18s, border-color .18s; }
.treatment-card:hover { border-color: #91b99b; box-shadow: 0 5px 13px #1a402214; }
.treatment-card > img { width: 100%; height: 172px; object-fit: cover; object-position: center 54%; }
.treatment-card:nth-child(2) > img { object-position: 49% center; }
.treatment-card:nth-child(3) > img { object-position: center 47%; }
.treatment-card:nth-child(4) > img { object-position: center 49%; }
.treatment-caption { display: grid; grid-template-columns: 23px minmax(0, 1fr) 19px; align-items: center; gap: 12px; padding: 16px; min-height: 78px; flex: 1; }
.treatment-caption h3 { font-size: 1rem; line-height: 1.25; letter-spacing: -.02em; }
.treatment-caption > .icon { width: 23px; height: 29px; }
.treatment-caption > .card-arrow { width: 19px; height: 19px; }
.all-services > summary { display: flex; align-items: center; gap: 8px; position: absolute; top: 43px; left: 0; padding-block: 9px; min-height: 44px; cursor: pointer; list-style: none; color: var(--green-dark); font-size: .875rem; font-weight: 650; }
.all-services > summary::-webkit-details-marker { display: none; }
.all-services > summary .icon { width: 19px; height: 19px; transition: transform .18s; }
.all-services[open] > summary .icon { transform: rotate(90deg); }
.all-services > summary:hover { text-decoration: underline; }
.service-groups { display: grid; gap: 25px; padding: 26px; margin-top: 22px; background: white; border: 1px solid var(--line); border-radius: 18px; }
.service-groups section { scroll-margin-top: 105px; }
.service-groups h3 { font-size: 1.15rem; color: var(--green-dark); }
.service-groups p { margin-top: 10px; font-size: .94rem; }
.service-groups ul { padding-left: 20px; font-size: .94rem; margin-bottom: 0; }
.service-groups li { padding-block: 3px; }
.service-groups li::marker { color: var(--green-dark); }

/* Authentic portrait, kept within the practice introduction. */
.about { background: linear-gradient(120deg, #eef6ee, #eaf3e9); border-radius: 24px; padding: 24px 20px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 23px; }
.about-copy h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.about-copy > p { margin-top: 15px; font-size: .95rem; line-height: 1.5; }
.button-small { font-size: .85rem; min-height: 44px; padding: 9px 16px; border-radius: 20px; }
.about-copy .button { margin-top: 18px; }
.about-portrait { width: 145px; }
.about-portrait img { width: 100%; aspect-ratio: .86; object-fit: cover; object-position: center 9%; border-radius: 23px; }
.about-person h3 { font-size: 1.35rem; }
.about-person .eyebrow { margin-top: 5px; font-size: .7rem; }
.check-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: start; font-size: .9rem; line-height: 1.4; }
.check-list .icon { width: 19px; height: 19px; }
.personal-story { margin-top: 10px; }
.personal-story summary { min-height: 44px; display: flex; align-items: center; gap: 8px; color: var(--green-dark); cursor: pointer; font-size: .8rem; font-weight: 600; list-style: none; }
.personal-story summary::-webkit-details-marker { display: none; }
.personal-story .icon { width: 16px; height: 16px; }
.personal-story[open] .icon { transform: rotate(45deg); }
.personal-story p { font-size: .9rem; line-height: 1.55; margin-top: 7px; }

/* Organic green appointment ribbon, followed by a dark footer. */
.appointment { margin-block: 26px; padding: 25px 24px; border-radius: 24px; background: #dfefdc; position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.appointment::before { content: ""; position: absolute; z-index: -1; width: 70%; height: 200%; background: #cee6ca; left: -10%; top: -70%; border-radius: 0 0 70% 40%; transform: rotate(-24deg); }
.appointment h2 { font-size: 1.6rem; }
.appointment p { margin-top: 8px; font-size: .94rem; }
.appointment .button { white-space: nowrap; }
.site-footer { background: var(--footer); color: #f7faf7; padding-top: 32px; }
.footer-grid { display: grid; gap: 28px; padding-bottom: 24px; }
.footer-identity { display: flex; align-items: center; gap: 14px; margin-bottom: 15px; }
.footer-identity img { width: 72px; }
.footer-identity h2 { font-size: 1.1rem; line-height: 1.3; letter-spacing: -.02em; }
.footer-identity p { font-size: .72rem; margin-top: 4px; font-style: italic; }
.footer-brand > p { color: #d0dcd2; font-size: .85rem; margin-top: 7px; max-width: 310px; }
.footer-grid h3 { font-size: 1rem; letter-spacing: -.015em; margin-bottom: 10px; }
.footer-grid a { display: flex; align-items: center; gap: 10px; font-size: .88rem; min-height: 44px; width: fit-content; max-width: 100%; }
.footer-grid a span { overflow-wrap: anywhere; }
.footer-grid nav .icon { width: 12px; height: 12px; }
.footer-grid .icon { color: #d6e9d9; width: 19px; height: 19px; }
.footer-grid a:hover, .footer-bottom a:hover { text-decoration: underline; color: #b9e9be; }
address { display: flex; gap: 10px; font-style: normal; font-size: .88rem; line-height: 1.55; margin-top: 8px; }
address .icon { margin-top: 3px; }
address strong { font-size: .8rem; font-weight: 500; color: #c5d5c9; }
.footer-bottom { border-top: 1px solid #4c5d51; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 20px; align-items: center; padding-block: 12px; color: #d0dcd2; font-size: .75rem; }
.footer-bottom a { display: flex; align-items: center; gap: 8px; min-height: 44px; }
.footer-bottom .icon { color: inherit; width: 17px; height: 17px; transform: rotate(-90deg); }
.site-footer :focus-visible { outline-color: #aee6b9; }
@media (max-width: 359px) {
    :root { --gutter: 16px; }
    .brand-logo { width: 44px; }
    .brand { gap: 7px; }
    .brand-copy { max-width: 175px; }
    .brand-copy strong { font-size: .88rem; }
    .brand-copy > span { font-size: .64rem; }
    .header-inner { gap: 4px; }
    .hero-copy > p:not(.eyebrow) { max-width: 90%; }
    .specializations { padding-inline: 13px; }
    .specialization { gap: 9px; grid-template-columns: 40px minmax(0, 1fr) 14px; }
    .specialization-icon { width: 40px; }
    .specialization h2 { font-size: .95rem; }
    .about { padding-inline: 20px; }
}
@media (min-width: 380px) and (max-width: 599px) {
    .about { grid-template-columns: 145px minmax(0, 1fr); gap: 22px 16px; }
    .about-copy { grid-column: 1 / -1; }
    .about-person h3 { font-size: 1.18rem; }
    .check-list { gap: 9px; margin-top: 13px; }
    .check-list li { gap: 6px; font-size: .8rem; }
}
@media (min-width: 600px) {
    :root { --gutter: 28px; }
    .brand-logo { width: 72px; }
    .brand-copy { max-width: none; }
    .brand-copy strong { font-size: 1.12rem; }
    .brand-copy > span { font-size: .75rem; }
    .button-group { flex-direction: row; flex-wrap: wrap; }
    .hero .button { min-width: 0; }
    .specializations { display: grid; grid-template-columns: 1fr 1fr; padding: 22px; }
    .specialization { padding: 0 20px 0 0; grid-template-columns: 48px minmax(0, 1fr); gap: 14px; }
    .specialization + .specialization { padding: 0 0 0 20px; border-top: 0; border-left: 1px solid var(--line); }
    .specialization-icon { width: 48px; height: 58px; }
    .specialization-arrow { display: none; }
    .section-heading { margin-bottom: 25px; padding-right: 170px; }
    .all-services > summary { left: auto; right: 0; top: 0; }
    .treatment-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
    .treatment-card > img { height: 175px; }
    .service-groups { grid-template-columns: 1fr 1fr; }
    .about { grid-template-columns: 180px minmax(0, 1fr); gap: 24px 30px; padding: 30px; }
    .about-copy { grid-column: 1 / -1; }
    .about-portrait { width: 180px; }
    .about-person { align-self: center; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 25px 50px; }
    .footer-brand { grid-column: 1 / -1; }
}
@media (min-width: 768px) {
    .hero-inner { min-height: 455px; display: flex; align-items: center; padding-block: 40px 68px; }
    .hero-copy { width: 55%; }
    .hero-copy h1 { font-size: clamp(2.25rem, 4vw, 3.5rem); line-height: 1.08; }
    .hero-copy > p:not(.eyebrow) { max-width: 380px; margin-top: 22px; }
    .hero-image { width: 50%; opacity: 1; clip-path: url(#hero-wave); mask-image: none; }
    .hero-image::after { display: none; }
    .hero-image img { object-position: 65% center; }
    .hero::after { content: ""; position: absolute; inset: 0 1.1% 0 auto; width: 50%; z-index: -1; background: #dcebd5; clip-path: url(#hero-wave); }
    .specializations { margin-top: -40px; min-height: 150px; align-items: center; }
    .treatments { margin-block: 40px; }
    .about-copy h2 { font-size: 1.85rem; }
    .appointment { flex-direction: row; justify-content: space-between; align-items: center; min-height: 120px; gap: 22px; padding: 24px 32px; }
    .appointment h2 { font-size: 1.75rem; }
    .appointment p { font-size: .94rem; }
    .appointment .button { flex-shrink: 0; }
}
@media (min-width: 1100px) {
    :root { --gutter: 40px; }
    .header-inner { min-height: 94px; flex-wrap: nowrap; gap: 20px; }
    .brand { gap: 14px; }
    .brand-logo { width: 96px; }
    .brand-copy strong { font-size: 1.25rem; }
    .brand-copy > span { font-size: .75rem; }
    .menu-toggle { display: none; }
    .primary-nav, .js .primary-nav { display: flex; position: static; width: auto; flex-direction: row; padding: 0; border: 0; box-shadow: none; align-items: center; gap: 8px; overflow: visible; }
    .primary-nav a { font-size: .875rem; padding: 10px 12px; border-radius: 0; position: relative; white-space: nowrap; }
    .primary-nav a[aria-current]:not(.nav-appointment) { background: none; }
    .primary-nav a[aria-current]:not(.nav-appointment)::after { content: ""; height: 2px; background: var(--green); position: absolute; bottom: 0; left: 12px; right: 12px; }
    .primary-nav .nav-appointment { margin-left: 8px; padding-inline: 17px; border-radius: 13px; }
    .hero-image, .hero::after { width: 60%; }
    .hero-inner { min-height: 500px; padding-block: 48px 90px; }
    .hero-copy { width: 49%; }
    .hero-copy h1 { font-size: clamp(2.8rem, 3.75vw, 3.5rem); }
    .hero-copy > p:not(.eyebrow) { font-size: 1.125rem; max-width: 460px; }
    .hero-copy .eyebrow { font-size: .8rem; margin-bottom: 15px; }
    .button-group { margin-top: 27px; gap: 16px; }
    .button { min-height: 48px; padding-inline: 22px; font-size: .95rem; }
    .specializations { min-height: 174px; padding: 28px 34px; margin-top: -47px; border-radius: 24px; }
    .specialization { grid-template-columns: 82px minmax(0, 1fr); gap: 24px; padding-right: 34px; }
    .specialization + .specialization { padding-left: 34px; }
    .specialization-icon { width: 82px; height: 86px; border-radius: 23px; }
    .specialization-icon .icon { width: 50px; height: 50px; }
    .specialization h2 { font-size: 1.3rem; }
    .specialization p { font-size: 1rem; line-height: 1.5; }
    .treatments { margin-block: 40px; }
    .section-heading { margin-bottom: 27px; }
    .all-services > summary { top: 3px; font-size: .95rem; }
    .treatment-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .treatment-card > img { height: 175px; }
    .treatment-caption { min-height: 93px; padding: 16px 14px; gap: 10px; grid-template-columns: 24px minmax(0, 1fr) 17px; }
    .treatment-caption h3 { font-size: 1rem; }
    .treatment-caption .card-arrow { align-self: end; width: 17px; }
    .about { grid-template-columns: minmax(0, 1.7fr) 210px minmax(0, 1fr); gap: 30px; align-items: center; padding: 32px; }
    .about-copy { grid-column: auto; }
    .about-copy h2 { font-size: 1.85rem; }
    .about-copy > p { font-size: .95rem; margin-top: 13px; }
    .about-copy .button { margin-top: 15px; }
    .about-portrait { width: 210px; }
    .about-portrait img { aspect-ratio: .83; }
    .about-person h3 { font-size: 1.5rem; }
    .appointment { margin-block: 26px; padding-inline: 40px; }
    .appointment h2 { font-size: 2rem; }
    .footer-grid { grid-template-columns: 1.4fr .7fr 1fr; gap: 60px; }
    .footer-brand { grid-column: auto; }
    .footer-identity img { width: 90px; }
    .footer-identity h2 { font-size: 1.2rem; }
    .site-footer { padding-top: 30px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; }
}
.whatsapp-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--green-dark); font-size: .9rem; font-weight: 650; line-height: 1.4; text-decoration: none; }
.whatsapp-link .icon { flex: 0 0 19px; width: 19px; height: 19px; color: #008a45; }
.whatsapp-link:hover { text-decoration: underline; text-underline-offset: .16em; }
.site-footer .whatsapp-link .icon { color: #8ad59b; }
