:root {
  --forest: #31564d;
  --forest-deep: #213e38;
  --sage: #76958a;
  --ivory: #f7f3ed;
  --paper: #fffdf9;
  --rose: #d8aaa6;
  --rose-deep: #a96f6a;
  --sand: #ddd0bf;
  --ink: #25312e;
  --muted: #68736f;
  --line: rgba(37, 49, 46, 0.16);
  --body: "Manrope", Arial, sans-serif;
  --container: min(1180px, calc(100vw - 48px));
}

* { box-sizing: border-box; min-width: 0; }
html { scroll-behavior: smooth; max-width: 100%; overflow-x: clip; }
body {
  margin: 0;
  max-width: 100%;
  overflow-x: clip;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
h1, h2, h3, p, a { overflow-wrap: break-word; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { background: var(--rose); color: var(--forest-deep); }

.skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 100;
  padding: 10px 16px; background: white; transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header {
  width: var(--container); height: 100px; margin: 0 auto; display: flex; align-items: center;
  justify-content: space-between; border-bottom: 1px solid var(--line); position: relative; z-index: 20;
}
.brand { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1; }
.brand-name { font-size: 1.65rem; font-weight: 800; letter-spacing: .09em; }
.brand-dot { color: var(--rose-deep); }
.brand-subline { margin-top: 7px; font-size: .6rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.main-nav { display: flex; align-items: center; gap: 36px; }
.main-nav a { font-size: .82rem; font-weight: 600; text-decoration: none; }
.main-nav a:not(.nav-cta) { position: relative; }
.main-nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; bottom: -7px; width: 100%; height: 1px; background: var(--forest); transform: scaleX(0); transform-origin: right; transition: transform .25s; }
.main-nav a:hover::after, .main-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { padding: 12px 20px; border: 1px solid var(--forest); border-radius: 100px; transition: background .25s, color .25s; }
.nav-cta:hover { background: var(--forest); color: white; }
.menu-toggle { display: none; }

.hero {
  width: var(--container); min-height: calc(100vh - 100px); margin: 0 auto; padding: 58px 0 64px;
  display: grid; grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
  column-gap: 44px; align-items: center; position: relative;
}
.eyebrow { margin: 0 0 21px; color: var(--rose-deep); font-size: .72rem; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-weight: 700; line-height: 1.08; letter-spacing: -.055em; }
h1 { margin-bottom: 32px; font-size: clamp(3.2rem, 5.7vw, 5.7rem); }
.accent { color: var(--rose-deep); }
.hero-lead { max-width: 620px; margin-bottom: 36px; font-size: 1.1rem; line-height: 1.75; color: #53615d; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 9px; min-height: 52px; padding: 0 26px; border-radius: 100px; text-decoration: none; font-size: .84rem; font-weight: 700; transition: transform .25s, background .25s, color .25s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--forest); color: white; }
.button-primary:hover { background: var(--forest-deep); }
.button-outline { border: 1px solid var(--forest); color: var(--forest-deep); }
.button-outline:hover { background: var(--forest-deep); color: white; }
.text-link { font-size: .82rem; font-weight: 700; text-underline-offset: 5px; }
.text-link span { margin-left: 5px; }

.hero-photo { margin: 0; position: relative; align-self: stretch; min-height: 610px; overflow: hidden; border-radius: 6px; box-shadow: 0 26px 60px rgba(33,62,56,.14); }
.hero-photo img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 58% center; }
.hero-photo figcaption { position: absolute; left: 24px; right: 24px; bottom: 22px; display: flex; align-items: center; gap: 10px; width: fit-content; max-width: calc(100% - 48px); padding: 10px 15px; border-radius: 100px; background: rgba(247,243,237,.9); color: var(--forest-deep); backdrop-filter: blur(10px); font-size: .72rem; font-weight: 700; }
.hero-photo figcaption span { width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: var(--rose-deep); }

.section { padding: 100px max(24px, calc((100vw - 1180px) / 2)); }
.section-number { font-size: .72rem; color: var(--rose-deep); font-weight: 700; }
.intro { display: grid; grid-template-columns: 80px 1fr 1.05fr; gap: 36px; background: var(--paper); }
.intro h2, .ways h2, .team h2, .impact-copy h2 { font-size: clamp(3rem, 5.2vw, 5.2rem); margin-bottom: 0; }
.intro-copy { padding-top: 45px; max-width: 590px; }
.large-copy { font-size: clamp(1.25rem, 1.7vw, 1.6rem); font-weight: 500; line-height: 1.55; letter-spacing: -.025em; }
.intro-copy > p:last-child { max-width: 480px; color: var(--muted); }

.section-dark { background: var(--forest-deep); color: white; }
.support-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 56px; }
.support-header .eyebrow { align-self: flex-start; color: var(--rose); }
.support h2 { max-width: 700px; margin: 0; text-align: right; font-size: clamp(3.2rem, 6vw, 6rem); }
.support h2 em { color: var(--rose); }
.support-story { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); margin-bottom: 54px; background: var(--ivory); color: var(--ink); overflow: hidden; border-radius: 5px; }
.support-story-photo { min-height: 560px; margin: 0; }
.support-story-photo img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; }
.support-story-copy { padding: clamp(36px, 5vw, 66px); display: flex; flex-direction: column; justify-content: center; }
.support-story-copy .eyebrow { margin-bottom: 20px; }
.support-story-copy h3 { max-width: 560px; margin-bottom: 25px; font-size: clamp(2.15rem, 3.7vw, 3.8rem); line-height: 1.04; letter-spacing: -.05em; }
.support-story-copy .large-copy { margin-bottom: 20px; font-size: clamp(1.1rem, 1.45vw, 1.35rem); }
.support-story-copy > p:not(.eyebrow):not(.large-copy) { margin-bottom: 16px; color: var(--muted); }
.support-story-copy .button { width: fit-content; margin-top: 12px; }
.support-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.22); }
.support-card { min-height: 275px; padding: 26px 25px; border-right: 1px solid rgba(255,255,255,.22); display: flex; flex-direction: column; }
.support-card:last-child { border-right: 0; }
.card-index { color: var(--rose); font-size: .7rem; font-weight: 700; }
.support-card h3 { margin: auto 0 14px; font-size: 1.4rem; font-weight: 700; letter-spacing: -.03em; }
.support-card p { margin-bottom: 0; color: rgba(255,255,255,.66); font-size: .85rem; line-height: 1.65; }

.ways { display: grid; grid-template-columns: .88fr 1.12fr; gap: 68px; background: var(--ivory); align-items: start; }
.ways-copy { position: sticky; top: 50px; }
.ways-copy > p:last-child { max-width: 490px; margin-top: 30px; color: var(--muted); }
.ways-list { display: grid; gap: 20px; }
.way-card { min-height: 270px; padding: 38px; display: grid; grid-template-columns: 65px 1fr; gap: 26px; background: var(--sand); border-radius: 4px; }
.way-card-accent { background: var(--rose); }
.way-icon { width: 58px; height: 58px; border: 1px solid rgba(37,49,46,.38); border-radius: 50%; display: grid; place-items: center; font-size: 1.45rem; }
.way-card .eyebrow { margin-bottom: 36px; color: var(--forest-deep); }
.way-card h3 { margin-bottom: 14px; font-size: 1.75rem; font-weight: 700; letter-spacing: -.035em; }
.way-card p:last-child { margin-bottom: 0; max-width: 390px; color: rgba(37,49,46,.72); }

.team { background: var(--paper); }
.team-heading { display: flex; justify-content: space-between; align-items: start; margin-bottom: 52px; }
.team-heading h2 { text-align: right; }
.psychologist-card { display: grid; grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr); min-height: 540px; margin-bottom: 28px; background: var(--forest-deep); color: white; text-decoration: none; overflow: hidden; }
.psychologist-card > img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center 28%; transition: transform .5s ease; }
.psychologist-card:hover > img { transform: scale(1.025); }
.psychologist-card-reverse > img { order: 2; }
.psychologist-card-reverse .psychologist-card-copy { order: 1; }
.psychologist-card-copy { padding: clamp(36px, 5.5vw, 72px); display: flex; flex-direction: column; justify-content: center; }
.psychologist-card-copy .eyebrow { color: var(--rose); }
.psychologist-card-copy h3 { margin-bottom: 24px; font-size: clamp(2.5rem, 5vw, 4.8rem); line-height: 1; letter-spacing: -.055em; }
.psychologist-card-copy h3.long-name { font-size: clamp(2.2rem, 4.2vw, 4rem); overflow-wrap: anywhere; }
.psychologist-card-copy > p:not(.eyebrow) { max-width: 610px; color: rgba(255,255,255,.72); }
.profile-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 25px 0; }
.profile-tags span { padding: 7px 12px; border: 1px solid rgba(255,255,255,.27); border-radius: 100px; color: rgba(255,255,255,.86); font-size: .68rem; font-weight: 700; }
.card-link { margin-top: 10px; font-size: .8rem; font-weight: 700; text-decoration: underline; text-underline-offset: 5px; }
.match-panel { display: grid; grid-template-columns: 44px 1fr 44px 1fr 44px 1fr; gap: 20px; align-items: start; padding: 44px; background: var(--ivory); border: 1px solid var(--line); }
.match-number { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--forest); color: white; font-size: .72rem; font-weight: 700; }
.match-panel h3 { margin: 5px 0 14px; font-size: 1.22rem; line-height: 1.3; letter-spacing: -.025em; }
.match-panel p { margin: 0; color: var(--muted); font-size: .88rem; }
.match-button { grid-column: 2 / 4; width: fit-content; margin-top: 22px; }

.social-impact { display: grid; grid-template-columns: .7fr 1.3fr; gap: 70px; align-items: center; background: var(--sand); overflow: hidden; }
.impact-certificate { padding: 22px; background: rgba(255,255,255,.45); border: 1px solid rgba(37,49,46,.13); border-radius: 6px; }
.impact-certificate img { display: block; width: 100%; height: auto; }
.impact-copy { max-width: 650px; }
.impact-copy .large-copy { margin: 35px 0 22px; }
.impact-copy > p:last-child { color: rgba(37,49,46,.68); }

.contact { background: var(--rose-deep); color: white; text-align: center; }
.contact-inner { max-width: 760px; margin: 0 auto; }
.contact .eyebrow { color: var(--ivory); opacity: .75; }
.contact h2 { margin-bottom: 28px; font-size: clamp(4rem, 8vw, 8rem); }
.contact p { max-width: 600px; margin: 0 auto 35px; color: rgba(255,255,255,.76); }
.button-light { background: var(--ivory); color: var(--forest-deep); }
.button-light:hover { background: white; }

.crisis-note { padding: 28px max(24px, calc((100vw - 1180px) / 2)); display: flex; gap: 20px; justify-content: center; align-items: baseline; background: var(--paper); font-size: .78rem; }
.crisis-note strong { color: var(--forest-deep); }
.crisis-note p { margin: 0; color: var(--muted); }

.site-footer { padding: 58px max(24px, calc((100vw - 1180px) / 2)); background: var(--forest-deep); color: white; display: grid; grid-template-columns: 1fr auto; gap: 38px 30px; align-items: end; }
.brand-footer .brand-subline { color: rgba(255,255,255,.5); }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px 28px; }
.footer-links a { font-size: .78rem; text-underline-offset: 4px; }
.footer-partners { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 18px; padding-top: 7px; }
.footer-partner-card { min-height: 150px; padding: 18px 22px; display: flex; flex-direction: column; justify-content: space-between; gap: 14px; background: var(--ivory); color: var(--forest-deep); border-radius: 5px; }
.footer-partner-card > span { font-size: .63rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.footer-partner-card img { display: block; width: 100%; height: 84px; object-fit: contain; object-position: left center; }
.footer-standard img { max-width: 520px; }
.footer-operator img { max-width: 480px; }
.footer-credit, .footer-year { margin: 0; color: rgba(255,255,255,.48); font-size: .7rem; }
.footer-year { text-align: right; }

/* Profil psycholożki */
.profile-hero { width: var(--container); min-height: calc(100vh - 100px); margin: 0 auto; padding: 48px 0 64px; display: grid; grid-template-columns: minmax(0, .95fr) minmax(360px, .75fr); gap: 50px; align-items: center; }
.back-link { display: inline-flex; gap: 8px; margin-bottom: 55px; color: var(--muted); font-size: .75rem; font-weight: 700; text-underline-offset: 5px; }
.profile-hero h1 { margin-bottom: 30px; font-size: clamp(4rem, 7.2vw, 7.2rem); }
.profile-hero h1.long-name { font-size: clamp(3.2rem, 6.2vw, 6.2rem); overflow-wrap: anywhere; }
.profile-lead { max-width: 650px; margin-bottom: 28px; color: var(--muted); font-size: 1.08rem; line-height: 1.8; }
.profile-hero .profile-tags span { border-color: var(--line); color: var(--forest-deep); background: rgba(255,255,255,.42); }
.profile-tags-large { margin-bottom: 34px; }
.profile-portrait { margin: 0; background: var(--sand); }
.profile-portrait img { display: block; width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.profile-portrait figcaption { padding: 18px 20px; display: flex; flex-direction: column; gap: 3px; background: var(--forest-deep); color: white; }
.profile-portrait figcaption span { color: var(--rose); font-size: .62rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.profile-portrait figcaption .profile-city { margin: 2px 0 5px; font-size: 1.05rem; letter-spacing: -.015em; }
.profile-portrait figcaption .profile-phone-placeholder { margin-top: 1px; color: rgba(255,255,255,.82); font-size: .82rem; font-weight: 500; }
.profile-portrait figcaption a { width: fit-content; max-width: 100%; font-size: .82rem; text-underline-offset: 4px; overflow-wrap: anywhere; }
.profile-about { display: grid; grid-template-columns: 70px .95fr 1.05fr; gap: 40px; background: var(--paper); }
.profile-about h2, .profile-section-heading h2, .offer-heading h2, .qualifications-heading h2 { margin: 0; font-size: clamp(2.9rem, 5.1vw, 5rem); }
.profile-about-copy { padding-top: 45px; max-width: 610px; }
.profile-about-copy p:not(.large-copy) { color: var(--muted); }
.profile-support .eyebrow { color: var(--rose); }
.profile-section-heading { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 52px; }
.profile-section-heading h2 { text-align: right; }
.profile-support-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.2); }
.profile-support-grid-four { grid-template-columns: repeat(4, 1fr); }
.profile-support-grid-five { grid-template-columns: repeat(5, 1fr); }
.profile-support-grid-five .profile-support-card { padding: 26px 22px; }
.profile-support-grid-five .profile-support-card h3 { font-size: 1.3rem; }
.profile-support-card { min-height: 310px; padding: 30px; display: flex; flex-direction: column; border-right: 1px solid rgba(255,255,255,.2); }
.profile-support-card:last-child { border-right: 0; }
.profile-support-card > span { color: var(--rose); font-size: .7rem; font-weight: 700; }
.profile-support-card h3 { margin: auto 0 16px; font-size: 1.45rem; letter-spacing: -.035em; }
.profile-support-card p { margin: 0; color: rgba(255,255,255,.64); font-size: .88rem; }
.offer { display: grid; grid-template-columns: .78fr 1.22fr; gap: 60px; background: var(--ivory); align-items: start; }
.offer-heading { position: sticky; top: 45px; }
.offer-intro { max-width: 440px; margin: 28px 0 0; color: var(--muted); }
.offer-list { border-top: 1px solid var(--line); }
.offer-item { padding: 33px 0; display: grid; grid-template-columns: 1fr auto; gap: 28px; border-bottom: 1px solid var(--line); }
.offer-for { margin-bottom: 10px; color: var(--rose-deep); font-size: .66rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.offer-item h3 { margin-bottom: 9px; font-size: 1.25rem; letter-spacing: -.025em; }
.offer-item div:first-child > p:last-child { max-width: 530px; margin: 0; color: var(--muted); font-size: .84rem; }
.offer-price { min-width: 100px; text-align: right; }
.offer-price strong { display: block; color: var(--forest-deep); font-size: 1.15rem; }
.offer-price span { color: var(--muted); font-size: .72rem; }
.diagnostics { background: var(--paper); }
.diagnostics-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 42px; margin-bottom: 52px; }
.diagnostics-heading h2 { max-width: 760px; margin: 0; text-align: right; font-size: clamp(2.9rem, 5.1vw, 5rem); }
.diagnostics-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.diagnostic-card { min-height: 245px; padding: 28px; display: flex; flex-direction: column; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.diagnostic-card .offer-for { margin-bottom: 36px; }
.diagnostic-card h3 { margin-bottom: 12px; font-size: 1.22rem; line-height: 1.3; letter-spacing: -.025em; }
.diagnostic-card p:not(.offer-for) { margin-bottom: 24px; color: var(--muted); font-size: .84rem; }
.diagnostic-card > strong { margin-top: auto; color: var(--forest-deep); font-size: 1.05rem; }
.diagnostics-note { margin: 24px 0 0; color: var(--muted); font-size: .78rem; }
.qualifications { display: grid; grid-template-columns: .85fr 1.15fr; gap: 65px; background: var(--sand); }
.qualifications-list { border-top: 1px solid rgba(37,49,46,.22); }
.qualifications-list > div { padding: 25px 0; display: grid; grid-template-columns: 110px 1fr; gap: 25px; border-bottom: 1px solid rgba(37,49,46,.22); }
.qualifications-list span { color: var(--rose-deep); font-size: .72rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.qualifications-list p { margin: 0; color: rgba(37,49,46,.76); }
.profile-contact { background: var(--rose-deep); color: white; text-align: center; }
.profile-contact > div { max-width: 800px; margin: 0 auto; }
.profile-contact .eyebrow { color: rgba(255,255,255,.7); }
.profile-contact h2 { margin-bottom: 28px; font-size: clamp(3.4rem, 7vw, 7rem); }
.profile-contact h2 span { color: var(--ivory); }
.profile-contact p { max-width: 650px; margin: 0 auto 34px; color: rgba(255,255,255,.75); }
.profile-email { display: block; width: fit-content; margin: 22px auto 0; color: rgba(255,255,255,.82); font-size: .82rem; text-underline-offset: 5px; }
.profile-location { display: block; width: fit-content; margin: 20px auto -14px; color: white; font-size: .92rem; font-weight: 700; }
.profile-phone { display: block; width: fit-content; max-width: 100%; margin: 7px auto 0; color: rgba(255,255,255,.82); font-size: .82rem; text-underline-offset: 5px; overflow-wrap: anywhere; }

/* Booking */
.booking-shell { width: var(--container); margin: 0 auto; padding: 64px 0 90px; }
.booking-heading { display: grid; grid-template-columns: .85fr 1.15fr; gap: 58px; align-items: end; margin-bottom: 48px; }
.booking-heading h1 { margin: 0; font-size: clamp(3.2rem, 6vw, 5.8rem); }
.booking-lead { max-width: 610px; margin: 0 0 7px; color: var(--muted); font-size: 1.08rem; }
.booking-panel { display: grid; grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr); gap: 24px; align-items: start; }
.booking-call-card { position: sticky; top: 24px; padding: clamp(30px, 4vw, 46px); background: var(--forest-deep); color: white; border-radius: 6px; }
.booking-call-card .eyebrow { color: var(--rose); }
.booking-call-card h2 { margin-bottom: 13px; font-size: clamp(1.8rem, 3vw, 2.7rem); letter-spacing: -.04em; }
.booking-phone { display: inline-block; margin-bottom: 28px; color: white; font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; line-height: 1.1; text-decoration-color: var(--rose); text-underline-offset: 7px; }
.booking-steps { margin: 0 0 32px; padding-left: 22px; color: rgba(255,255,255,.76); }
.booking-steps li { margin-bottom: 13px; padding-left: 5px; }
.booking-form { padding: clamp(30px, 5vw, 58px); background: var(--paper); border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 20px 45px rgba(33,62,56,.08); }
.booking-form-heading { margin-bottom: 32px; }
.booking-form-heading h2 { margin-bottom: 14px; font-size: clamp(2.2rem, 4vw, 3.5rem); }
.booking-form-heading > p:last-child { max-width: 620px; margin-bottom: 0; color: var(--muted); }
.form-field { display: grid; gap: 8px; margin-bottom: 20px; }
.form-field > span { color: var(--forest-deep); font-size: .79rem; font-weight: 700; }
.booking-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.booking-date-field { margin: 0 0 20px; padding: 0; border: 0; }
.booking-date-field legend { margin-bottom: 8px; color: var(--forest-deep); font-size: .79rem; font-weight: 700; }
.booking-calendar { max-width: 540px; padding: 18px; border: 1px solid rgba(37,49,46,.2); border-radius: 6px; background: var(--ivory); }
.calendar-header { display: grid; grid-template-columns: 42px 1fr 42px; gap: 10px; align-items: center; margin-bottom: 14px; }
.calendar-header strong { text-align: center; font-size: .96rem; text-transform: capitalize; }
.calendar-nav { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); color: var(--forest-deep); font: inherit; font-size: 1.5rem; cursor: pointer; }
.calendar-nav:disabled { opacity: .3; cursor: default; }
.calendar-weekdays, .calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.calendar-weekdays { margin-bottom: 7px; color: var(--muted); font-size: .68rem; font-weight: 700; text-align: center; }
.calendar-day { aspect-ratio: 1; min-height: 42px; padding: 0; border: 1px solid transparent; border-radius: 50%; background: transparent; color: var(--ink); font: inherit; font-size: .8rem; font-weight: 700; cursor: pointer; }
.calendar-day:hover:not(:disabled), .calendar-day:focus-visible { border-color: var(--forest); outline: none; }
.calendar-day.is-today { border-color: var(--rose-deep); }
.calendar-day.is-selected { background: var(--forest); color: white; }
.calendar-day:disabled { background: rgba(37,49,46,.07); color: rgba(37,49,46,.32); cursor: not-allowed; text-decoration: line-through; }
.calendar-day.is-unavailable { background: rgba(169,111,106,.12); color: rgba(37,49,46,.38); }
.calendar-help { max-width: 540px; margin: 9px 0 0; color: var(--muted); font-size: .74rem; }
.calendar-selection { min-height: 1.5em; margin: 7px 0 0; color: var(--forest-deep); font-size: .8rem; font-weight: 700; }
.booking-time-field { max-width: 260px; }
.booking-form input,
.booking-form select,
.booking-form textarea { width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid rgba(37,49,46,.27); border-radius: 4px; background: var(--ivory); color: var(--ink); font: inherit; }
.booking-form textarea { min-height: 130px; resize: vertical; }
.booking-form input:focus-visible,
.booking-form select:focus-visible,
.booking-form textarea:focus-visible { outline: 3px solid rgba(216,170,166,.55); outline-offset: 2px; border-color: var(--forest); }
.form-hint { margin: -8px 0 22px; color: var(--muted); font-size: .76rem; }
.booking-consent { display: flex; gap: 11px; align-items: flex-start; margin: 0 0 25px; color: var(--muted); font-size: .78rem; cursor: pointer; }
.booking-consent input { width: 20px; min-width: 20px; min-height: 20px; margin-top: 2px; padding: 0; }
.booking-submit { border: 0; cursor: pointer; }
.booking-submit-note { max-width: 620px; margin: 15px 0 0; color: var(--muted); font-size: .74rem; }
.booking-status { min-height: 1.5em; margin: 12px 0 0; color: var(--forest); font-size: .8rem; font-weight: 700; }

/* Join */
.join-hero { width: var(--container); min-height: calc(100vh - 100px); margin: 0 auto; padding: 64px 0 82px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 42px; align-items: center; }
.join-copy { max-width: 650px; }
.join-copy h1 { margin-bottom: 28px; font-size: clamp(3.2rem, 6vw, 5.8rem); }
.join-copy > p:not(.eyebrow) { max-width: 610px; color: var(--muted); }
.join-copy .large-copy { color: var(--ink) !important; }
.join-copy .button { margin-top: 12px; }
.join-email { display: block; width: fit-content; max-width: 100%; margin-top: 17px; color: var(--forest-deep); font-size: .86rem; font-weight: 700; overflow-wrap: anywhere; text-underline-offset: 5px; }
.join-card { padding: clamp(34px, 5vw, 62px); background: var(--forest-deep); color: white; border-radius: 6px; box-shadow: 0 26px 60px rgba(33,62,56,.14); }
.join-card .eyebrow { color: var(--rose); }
.join-card h2 { margin-bottom: 36px; font-size: clamp(2.3rem, 4vw, 4rem); }
.join-card h2 span { color: var(--rose); }
.join-card ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.22); }
.join-card li { padding: 17px 0; border-bottom: 1px solid rgba(255,255,255,.22); color: rgba(255,255,255,.76); }
.join-card li::before { content: "•"; margin-right: 11px; color: var(--rose); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 940px) {
  :root { --container: min(100% - 36px, 760px); }
  .site-header { height: 82px; }
  .menu-toggle { display: grid; gap: 7px; width: 44px; height: 44px; place-content: center; border: 0; background: transparent; cursor: pointer; }
  .menu-toggle span:not(.sr-only) { width: 25px; height: 1px; background: var(--ink); transition: transform .2s; }
  .menu-toggle[aria-expanded="true"] span:nth-last-child(2) { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .main-nav { display: none; position: absolute; top: 82px; left: 0; right: 0; padding: 28px; flex-direction: column; align-items: stretch; gap: 20px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px rgba(33,62,56,.08); }
  .main-nav.is-open { display: flex; }
  .nav-cta { text-align: center; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 65px; }
  .hero-copy { z-index: 2; }
  .hero-photo { min-height: 510px; width: min(100%, 690px); margin: 45px auto 0; }
  .section { padding-top: 100px; padding-bottom: 100px; }
  .intro { grid-template-columns: 45px 1fr; }
  .intro-copy { grid-column: 2; padding-top: 10px; }
  .support-header { display: block; }
  .support h2 { text-align: left; }
  .support-story { grid-template-columns: 1fr; }
  .support-story-photo { min-height: 460px; }
  .support-grid { grid-template-columns: 1fr 1fr; }
  .support-card:nth-child(2) { border-right: 0; }
  .support-card:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.22); }
  .ways { grid-template-columns: 1fr; gap: 55px; }
  .ways-copy { position: static; }
  .team-heading { display: block; }
  .team-heading h2 { text-align: left; }
  .psychologist-card { grid-template-columns: 1fr; }
  .psychologist-card-reverse > img,
  .psychologist-card-reverse .psychologist-card-copy { order: initial; }
  .psychologist-card > img { max-height: 620px; object-position: center 22%; }
  .match-panel { grid-template-columns: 44px 1fr; }
  .match-button { grid-column: 2; }
  .social-impact { grid-template-columns: 1fr; gap: 55px; }
  .impact-certificate { max-width: 690px; margin: 0 auto; }
  .profile-hero { min-height: 0; grid-template-columns: 1fr; gap: 50px; }
  .profile-portrait { max-width: 600px; }
  .profile-about { grid-template-columns: 45px 1fr; }
  .profile-about-copy { grid-column: 2; padding-top: 10px; }
  .profile-section-heading { display: block; }
  .profile-section-heading h2 { text-align: left; }
  .profile-support-grid-four { grid-template-columns: repeat(2, 1fr); }
  .profile-support-grid-five { grid-template-columns: repeat(2, 1fr); }
  .profile-support-grid-five .profile-support-card:last-child { grid-column: 1 / -1; }
  .profile-support-grid-four .profile-support-card:nth-child(2) { border-right: 0; }
  .profile-support-grid-four .profile-support-card:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.2); }
  .offer, .qualifications { grid-template-columns: 1fr; gap: 55px; }
  .offer-heading { position: static; }
  .diagnostics-heading { display: block; }
  .diagnostics-heading h2 { text-align: left; }
  .diagnostics-grid { grid-template-columns: repeat(2, 1fr); }
  .booking-heading, .booking-panel, .join-hero { grid-template-columns: 1fr; }
  .booking-call-card { position: static; }
  .join-hero { min-height: 0; gap: 48px; }
}

@media (max-width: 600px) {
  :root { --container: calc(100% - 32px); }
  body { line-height: 1.6; }
  .eyebrow { letter-spacing: .12em; overflow-wrap: anywhere; }
  .brand-name { font-size: 1.48rem; }
  .hero { padding-top: 52px; }
  h1 { font-size: clamp(2.55rem, 11.5vw, 3.5rem); }
  .intro h2,
  .ways h2,
  .team h2,
  .impact-copy h2,
  .profile-about h2,
  .profile-section-heading h2,
  .offer-heading h2,
  .qualifications-heading h2,
  .diagnostics-heading h2 { font-size: clamp(2.15rem, 10vw, 2.75rem); line-height: 1.12; letter-spacing: -.045em; }
  .hero-lead { font-size: 1rem; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { max-width: 100%; height: auto; min-height: 52px; padding-top: 13px; padding-bottom: 13px; white-space: normal; text-align: center; }
  .text-link { text-align: center; }
  .hero-photo { min-height: 390px; margin-top: 38px; }
  .hero-photo figcaption { left: 14px; right: 14px; bottom: 14px; max-width: calc(100% - 28px); white-space: normal; border-radius: 12px; }
  .section { padding: 80px 20px; }
  .intro { grid-template-columns: 1fr; }
  .section-number { display: none; }
  .intro-copy { grid-column: 1; }
  .support-header { margin-bottom: 50px; }
  .support h2 { font-size: clamp(2.15rem, 10vw, 2.75rem); line-height: 1.12; letter-spacing: -.045em; }
  .support-story { margin-bottom: 42px; }
  .support-story-photo { min-height: 310px; }
  .support-story-copy { padding: 30px 24px 34px; }
  .support-story-copy h3 { font-size: clamp(2rem, 10vw, 2.55rem); }
  .support-story-copy .button { width: 100%; }
  .support-grid { grid-template-columns: 1fr; }
  .support-card { min-height: 225px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.22); }
  .support-card:last-child { border-bottom: 0; }
  .way-card { min-height: 0; padding: 28px 24px; grid-template-columns: 1fr; }
  .way-card .eyebrow { margin-bottom: 24px; }
  .team-heading { margin-bottom: 46px; }
  .psychologist-card { min-height: 0; }
  .psychologist-card > img { max-height: 460px; }
  .psychologist-card-copy { padding: 32px 24px 38px; }
  .psychologist-card-copy h3 { font-size: 2.5rem; }
  .psychologist-card-copy h3.long-name { font-size: clamp(1.95rem, 9.5vw, 2.35rem); }
  .match-panel { padding: 28px 22px; gap: 18px 14px; }
  .match-button { width: 100%; margin-top: 12px; }
  .impact-certificate { padding: 10px; }
  .crisis-note { display: block; padding: 24px 20px; }
  .crisis-note p { margin-top: 5px; }
  .site-footer { grid-template-columns: 1fr; padding: 48px 20px; }
  .footer-links { flex-direction: column; gap: 12px; }
  .footer-partners { grid-column: 1; grid-template-columns: 1fr; }
  .footer-partner-card { min-height: 132px; padding: 16px; }
  .footer-partner-card img { height: auto; max-height: 82px; }
  .footer-year { text-align: left; }
  .profile-hero { padding-top: 38px; gap: 38px; }
  .back-link { margin-bottom: 42px; }
  .profile-hero h1 { font-size: clamp(3.15rem, 15vw, 4.35rem); }
  .profile-hero h1.long-name { font-size: clamp(2.65rem, 12vw, 3.6rem); }
  .profile-about { grid-template-columns: 1fr; }
  .profile-about-copy { grid-column: 1; }
  .profile-support-grid, .profile-support-grid-four, .profile-support-grid-five { grid-template-columns: 1fr; }
  .profile-support-grid-five .profile-support-card:last-child { grid-column: auto; }
  .profile-support-card { min-height: 245px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.2); }
  .profile-support-card:last-child { border-bottom: 0; }
  .offer-item { grid-template-columns: 1fr; }
  .offer-price { text-align: left; }
  .diagnostics-grid { grid-template-columns: 1fr; }
  .diagnostic-card { min-height: 0; }
  .qualifications-list > div { grid-template-columns: 1fr; gap: 8px; }
  .profile-contact h2 { font-size: clamp(2.45rem, 11vw, 3.2rem); line-height: 1.1; }
  .profile-email { max-width: 100%; overflow-wrap: anywhere; }
  .booking-shell { padding: 48px 0 70px; }
  .booking-heading { gap: 24px; margin-bottom: 34px; }
  .booking-heading h1, .join-copy h1 { font-size: clamp(2.8rem, 13vw, 3.8rem); }
  .booking-lead { font-size: 1rem; }
  .booking-form, .booking-call-card, .join-card { padding: 28px 22px; }
  .booking-row { grid-template-columns: 1fr; gap: 0; }
  .booking-calendar { padding: 14px 10px; }
  .calendar-weekdays, .calendar-grid { gap: 3px; }
  .calendar-day { min-height: 36px; font-size: .76rem; }
  .booking-time-field { max-width: none; }
  .booking-phone { font-size: clamp(1.9rem, 11vw, 2.65rem); }
  .booking-submit { width: 100%; }
  .join-hero { padding: 48px 0 70px; }
}
