/*
Theme Name: Ekaterina Alekseeva
Theme URI: https://psycholog-kate.ru/
Author: OpenAI Codex
Description: Custom theme for clinical psychologist Ekaterina Alekseeva.
Version: 1.3.28
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: ekaterina-alekseeva
*/

:root {
  --ink: #173128;
  --muted: #607068;
  --green: #16875d;
  --green-bright: #21a875;
  --green-dark: #0d4a36;
  --green-deep: #083a2a;
  --mint: #e5f5ed;
  --mint-2: #d3eee1;
  --paper: #f7faf8;
  --white: #ffffff;
  --line: #dce8e1;
  --shadow: 0 18px 50px rgba(20, 88, 64, .09);
  --radius: 24px;
  --sans: "Avenir Next", Avenir, "Segoe UI", Arial, sans-serif;
  --display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: var(--sans); font-size: 16px; line-height: 1.55; }
body.lock { overscroll-behavior: none; }
a { color: inherit; }
img { display: block; width: 100%; }
button { font: inherit; }
.container { width: min(1160px, calc(100% - 44px)); margin-inline: auto; }
.narrow { width: min(800px, calc(100% - 44px)); margin-inline: auto; }
.kicker { display: inline-flex; margin: 0 0 18px; padding: 8px 13px; border-radius: 999px; background: var(--white); color: var(--green-dark); font-size: .78rem; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; letter-spacing: -.025em; }
h1, h2, h3, p, li, a { overflow-wrap: break-word; }
h1 { max-width: 880px; margin-bottom: 25px; font-size: clamp(3.35rem, 6vw, 5.8rem); line-height: .98; }
h2 { margin-bottom: 22px; font-size: clamp(2.4rem, 4.2vw, 4rem); line-height: 1.06; }
h3 { margin-bottom: 10px; font-size: 1.48rem; line-height: 1.18; }
p { margin-bottom: 1em; }
.lead { max-width: 700px; color: var(--muted); font-size: clamp(1.06rem, 1.5vw, 1.25rem); line-height: 1.62; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 13px 23px; border: 1px solid var(--green); border-radius: 999px; background: var(--green); color: #fff; font-weight: 800; text-decoration: none; transition: transform .18s ease, background .18s ease, box-shadow .18s ease; }
.button:hover { transform: translateY(-2px); background: var(--green-dark); border-color: var(--green-dark); box-shadow: 0 10px 26px rgba(13,74,54,.18); }
.button.ghost { background: var(--white); color: var(--green-dark); border-color: var(--white); }
.button.ghost:hover { background: #f1faf5; }
.text-link { color: var(--green-dark); font-weight: 800; text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #67c79f; outline-offset: 3px; }

.site-header { position: sticky; z-index: 30; top: 0; padding: 16px 0; border-bottom: 1px solid rgba(220,232,225,.8); background: rgba(255,255,255,.94); backdrop-filter: blur(16px); }
.nav { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.brand { flex: 0 0 auto; text-decoration: none; }
.brand strong { display: block; color: var(--green-dark); font-family: var(--display); font-size: 1.32rem; font-weight: 600; line-height: 1.05; letter-spacing: -.02em; }
.brand span { display: block; margin-top: 4px; color: var(--muted); font-size: .69rem; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { position: relative; padding: 8px 0; color: #334a41; font-size: .86rem; font-weight: 720; text-decoration: none; white-space: nowrap; }
.nav-links a[aria-current="page"] { color: var(--green); }
.nav-links a[aria-current="page"]::after { content: ""; position: absolute; right: 0; bottom: 1px; left: 0; height: 2px; border-radius: 4px; background: var(--green); }
.nav-links .nav-cta { padding: 11px 17px; border: 0; border-radius: 999px; background: var(--green); color: #fff; }
.nav-links .nav-cta::after { display: none; }
.menu-btn { display: none; width: 68px; height: 44px; border: 0; border-radius: 999px; background: var(--mint); color: var(--green-dark); font-weight: 800; cursor: pointer; }

.hero { padding: 20px 0 0; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .72fr; gap: 14px; align-items: stretch; }
.hero-copy { position: relative; min-height: 620px; overflow: hidden; padding: 64px 54px; border-radius: var(--radius); background: linear-gradient(145deg, var(--mint) 0%, #dff4e8 62%, #cdebdc 100%); }
.hero-copy::after { content: ""; position: absolute; right: -120px; bottom: -180px; width: 430px; height: 430px; border: 80px solid rgba(255,255,255,.28); border-radius: 50%; pointer-events: none; }
.hero-copy > * { position: relative; z-index: 1; }
.hero-copy h1 { max-width: 650px; color: var(--green-deep); }
.headline-chip { display: inline-block; margin-bottom: 7px; padding: .02em .12em .08em; border-radius: .13em; background: var(--green); color: #fff; }
.headline-name { display: block; margin-top: .08em; }
.hero-copy .lead { max-width: 570px; color: #47665a; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 32px; }
.portrait-wrap { position: relative; min-height: 620px; overflow: hidden; margin: 0; border-radius: var(--radius); background: var(--green-dark); }
.portrait-wrap img { height: 100%; object-fit: cover; object-position: center; }
.portrait-caption { position: absolute; right: 18px; bottom: 18px; left: 18px; padding: 18px 20px; border-radius: 16px; background: rgba(8,58,42,.88); color: #fff; font-size: .88rem; backdrop-filter: blur(10px); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 14px; }
.fact { min-height: 132px; padding: 27px; border-radius: 20px; background: var(--paper); }
.fact:nth-child(2) { background: var(--mint); }
.fact:nth-child(3) { background: var(--green-dark); color: #fff; }
.fact strong { display: block; margin-bottom: 6px; font-size: 1.45rem; font-weight: 800; letter-spacing: -.03em; }
.fact span { color: var(--muted); font-size: .84rem; }
.fact:nth-child(3) span { color: rgba(255,255,255,.68); }

.portrait-editorial { padding: 54px 0 100px; }
.portrait-editorial-grid { display: grid; grid-template-columns: .9fr 1.1fr; min-height: 610px; overflow: hidden; border-radius: 30px; background: var(--green-dark); color: #fff; }
.portrait-editorial-visual { position: relative; min-height: 610px; overflow: hidden; background: linear-gradient(150deg, var(--mint-2), #b8e2cd); }
.portrait-editorial-visual::before { content: ""; position: absolute; inset: 38px 38px auto; height: calc(100% - 76px); border: 1px solid rgba(255,255,255,.62); border-radius: 260px 260px 28px 28px; }
.portrait-editorial-visual img { position: absolute; right: 2%; bottom: 0; width: 94%; height: 96%; object-fit: contain; object-position: center bottom; }
.portrait-editorial-copy { display: flex; flex-direction: column; justify-content: center; padding: 70px 72px; }
.portrait-editorial-copy .kicker { align-self: flex-start; background: rgba(255,255,255,.1); color: #d4f2e4; }
.portrait-editorial-copy h2 { max-width: 650px; }
.portrait-editorial-copy .lead { color: rgba(255,255,255,.72); }
.portrait-editorial-copy .button { align-self: flex-start; margin-top: 18px; background: #fff; border-color: #fff; color: var(--green-dark); }

.photo-promise { padding-top: 0; }
.photo-promise-card { position: relative; min-height: 610px; overflow: hidden; border-radius: 30px; background: var(--green-deep); }
.photo-promise-card > img { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: center 42%; filter: saturate(.82); }
.photo-promise-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,58,42,.93) 0%, rgba(8,58,42,.72) 46%, rgba(8,58,42,.08) 78%); }
.photo-promise-copy { position: relative; z-index: 1; display: flex; min-height: 610px; flex-direction: column; justify-content: center; width: 54%; padding: 62px; color: #fff; }
.photo-promise-copy .kicker { align-self: flex-start; background: rgba(255,255,255,.12); color: #d4f2e4; }
.photo-promise-copy p { color: rgba(255,255,255,.76); }
.photo-promise-copy .button { align-self: flex-start; margin-top: 16px; background: #fff; border-color: #fff; color: var(--green-dark); }

section { padding: 100px 0; }
.page-hero { padding: 22px 0 0; border: 0; }
.page-hero .container { min-height: 430px; padding: 64px 58px; border-radius: var(--radius); background: linear-gradient(145deg, var(--mint), #d6efe3); }
.page-hero h1 { max-width: 920px; color: var(--green-deep); }
.page-hero .lead { margin-bottom: 0; color: #45685a; }
.split { display: grid; grid-template-columns: .78fr 1.22fr; gap: 70px; align-items: start; }
.split-balanced { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }
.section-note { max-width: 430px; color: var(--muted); }

.link-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.link-card { position: relative; min-height: 260px; overflow: hidden; padding: 30px; border-radius: 20px; background: var(--paper); text-decoration: none; transition: transform .18s ease, box-shadow .18s ease; }
.link-card:nth-child(3n + 2) { background: var(--mint); }
.link-card:nth-child(3n) { background: var(--green-dark); color: #fff; }
.link-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.link-card span { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; margin-bottom: 42px; border-radius: 50%; background: var(--white); color: var(--green); font-weight: 800; }
.link-card:nth-child(3n) span { color: var(--green-dark); }
.link-card p { color: var(--muted); }
.link-card:nth-child(3n) p { color: rgba(255,255,255,.7); }
.link-card strong { color: var(--green-dark); font-size: .86rem; }
.link-card:nth-child(3n) strong { color: #fff; }

.feature-band { margin-inline: max(14px, calc((100vw - 1320px)/2)); padding: 88px 0; border-radius: 30px; background: var(--green-dark); color: #fff; }
.feature-band .kicker { background: rgba(255,255,255,.12); color: #c4ead8; }
.feature-band .lead, .feature-band p { color: rgba(255,255,255,.72); }
.feature-band .button { background: #fff; border-color: #fff; color: var(--green-dark); }
.request-list, .rule-list, .faq-list, .service-list { display: grid; gap: 12px; border: 0; }
.request, .rule, .step { display: grid; grid-template-columns: 44px 1fr; gap: 20px; padding: 24px; border: 0; border-radius: 18px; background: var(--paper); }
.request:nth-child(even), .rule:nth-child(even) { background: var(--mint); }
.request > span, .rule > span, .step > span { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; border-radius: 50%; background: var(--white); color: var(--green); font-weight: 800; }
.request p, .rule p, .step p { margin: 0; color: var(--muted); }
.feature-band .steps { display: grid; gap: 12px; }
.feature-band .step { border: 0; background: rgba(255,255,255,.08); }
.feature-band .step > span { background: rgba(255,255,255,.12); color: #c4ead8; }
.feature-band .step p { color: rgba(255,255,255,.7); }

.topic { margin-bottom: 14px; padding: 30px; border: 0; border-radius: 20px; background: var(--paper); }
.topic:nth-child(even) { background: var(--mint); }
.topic ul { columns: 2; column-gap: 48px; margin: 18px 0 0; padding-left: 20px; color: var(--muted); }
.topic li { break-inside: avoid; margin-bottom: 9px; }
.about-list { display: grid; gap: 10px; margin: 30px 0 0; padding: 0; list-style: none; }
.about-list li { padding: 17px 20px; border: 0; border-radius: 14px; background: var(--paper); }
.aside-block { margin-bottom: 12px; padding: 26px; border: 0; border-radius: 18px; background: var(--paper); }
.aside-block:nth-child(even) { background: var(--mint); }
.aside-block strong { display: block; margin-bottom: 7px; color: var(--green); font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; }
.aside-block p { margin: 0; }
.portrait-small { overflow: hidden; margin: 0; border-radius: var(--radius); background: var(--mint); }
.portrait-small img { max-height: 680px; object-fit: cover; }

.credentials { overflow: hidden; background: var(--paper); }
.credentials-head { display: grid; grid-template-columns: 1fr .78fr; gap: 70px; align-items: end; margin-bottom: 42px; }
.credentials-head p { margin: 0; color: var(--muted); }
.credentials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.credential-card { display: block; overflow: hidden; border-radius: 18px; background: #edf4f0; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease; }
.credential-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.credential-card img { height: 260px; object-fit: contain; padding: 12px; background: #eef4f1; }
.credential-card span { display: block; padding: 16px 18px 19px; border-top: 1px solid var(--line); color: var(--green-dark); font-size: .84rem; font-weight: 700; }

.service-list { gap: 14px; }
.service { display: grid; grid-template-columns: 1.1fr 1fr auto; gap: 38px; align-items: start; padding: 30px; border: 0; border-radius: 20px; background: var(--paper); }
.service:nth-child(even) { background: var(--mint); }
.service:nth-child(3) { background: var(--green-dark); color: #fff; }
.service p { margin: 0; color: var(--muted); }
.service:nth-child(3) p { color: rgba(255,255,255,.7); }
.service-link { display: inline-flex; margin-top: 12px; padding: 8px 13px; border-radius: 999px; background: var(--white); color: var(--green-dark); font-size: .84rem; font-weight: 800; text-decoration: none; }
.price { min-width: 120px; text-align: right; font-size: 1.5rem; font-weight: 850; line-height: 1.2; letter-spacing: -.03em; }
.locations { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.locations p { margin: 0; padding: 24px; border-radius: 18px; background: var(--mint); color: var(--muted); }
.locations strong { display: block; margin-bottom: 6px; color: var(--ink); }
.quote { margin: 0; font-size: clamp(2.1rem, 4vw, 4rem); font-weight: 760; line-height: 1.08; letter-spacing: -.04em; }
.notice { padding: 28px; border: 0; border-radius: 20px; background: var(--mint); }
.notice p:last-child { margin-bottom: 0; }

.faq-list { gap: 10px; }
details { overflow: hidden; border: 0; border-radius: 16px; background: var(--paper); }
details:nth-child(even) { background: var(--mint); }
summary { position: relative; padding: 23px 58px 23px 24px; font-weight: 760; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 18px; top: 15px; display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; background: var(--white); color: var(--green); font-size: 1.5rem; font-weight: 500; }
details[open] summary::after { content: "−"; }
details p { max-width: 720px; padding: 0 58px 23px 24px; color: var(--muted); }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-card { min-height: 210px; margin: 0 0 14px; padding: 30px; border: 0; border-radius: 20px; background: var(--paper); }
.contact-card:last-child { border: 0; }
.contact-card:nth-child(even) { background: var(--mint); }
.contact-card strong { display: block; margin-bottom: 38px; color: var(--green); font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; }
.contact-card a { font-size: clamp(1.5rem, 3vw, 2.35rem); font-weight: 780; line-height: 1.08; text-decoration: none; letter-spacing: -.035em; }
.contact-card p { margin: 10px 0 0; color: var(--muted); }
.cta { margin: 0 14px 22px; padding: 76px 0; border-radius: 28px; background: var(--mint); }
.cta-row { display: grid; grid-template-columns: 1fr auto; gap: 50px; align-items: center; }
.cta h2 { margin-bottom: 12px; }
.cta p { margin: 0; color: var(--muted); }
footer { margin-top: 22px; padding: 46px 0; background: var(--green-deep); color: rgba(255,255,255,.68); }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 45px; align-items: start; font-size: .8rem; }
.footer-grid p { max-width: 680px; margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-links a { color: #fff; }

.breadcrumbs { padding-top: 22px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; color: var(--muted); font-size: .82rem; list-style: none; }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: #a5b5ad; }
.breadcrumbs a { color: var(--green-dark); text-underline-offset: 3px; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.article-card { display: flex; min-width: 0; min-height: 360px; flex-direction: column; padding: 30px; border-radius: 22px; background: var(--paper); color: inherit; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease; }
.article-card:nth-child(3n + 2) { background: var(--mint); }
.article-card:nth-child(3n) { background: var(--green-dark); color: #fff; }
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.article-card time { margin-bottom: 54px; color: var(--muted); font-size: .78rem; }
.article-card:nth-child(3n) time, .article-card:nth-child(3n) p { color: rgba(255,255,255,.7); }
.article-card h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); }
.article-card p { color: var(--muted); }
.article-card strong { margin-top: auto; color: var(--green-dark); }
.article-card:nth-child(3n) strong { color: #fff; }
.article-layout { display: grid; grid-template-columns: minmax(0, 760px) 280px; gap: 72px; align-items: start; }
.article-layout > * { min-width: 0; }
.article-body { min-width: 0; font-size: 1.08rem; line-height: 1.75; }
.article-body h2 { margin-top: 58px; font-size: clamp(2rem, 3.6vw, 3rem); }
.article-body h3 { margin-top: 36px; }
.article-body ul, .article-body ol { padding-left: 24px; }
.article-body li { margin-bottom: 10px; }
.article-body .notice { margin: 38px 0; }
.article-related { margin-top: 42px; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); }
.article-related h2 { margin: 0 0 14px; font-family: var(--sans); font-size: 1rem; font-weight: 800; letter-spacing: 0; }
.article-related ul { display: grid; gap: 9px; margin: 0; padding-left: 20px; }
.article-related li { margin: 0; }
.article-related a { color: var(--green-dark); font-weight: 750; text-underline-offset: 3px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 28px; color: var(--muted); font-size: .84rem; }
.article-aside { position: sticky; top: 116px; }
.article-toc { margin-bottom: 18px; padding: 22px; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); }
.article-toc > strong, .article-toc summary { color: var(--green-dark); font-family: var(--display); font-size: 1.22rem; font-weight: 700; }
.article-toc summary { cursor: pointer; }
.article-toc ol { display: grid; gap: 9px; margin: 16px 0 0; padding: 0; list-style: none; }
.article-toc li { margin: 0; line-height: 1.35; }
.article-toc .toc-level-3 { padding-left: 14px; font-size: .9rem; }
.article-toc a { color: var(--muted); text-decoration: none; }
.article-toc a:hover { color: var(--green-dark); text-decoration: underline; text-underline-offset: 3px; }
.article-toc-mobile { display: none; }
.article-body h2[id], .article-body h3[id] { scroll-margin-top: 110px; }
.blog-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 34px; }
.blog-pagination .page-numbers { display: grid; min-width: 42px; min-height: 42px; place-items: center; padding: 8px 13px; border: 1px solid var(--line); border-radius: 999px; color: var(--green-dark); text-decoration: none; }
.blog-pagination .current, .blog-pagination a:hover { border-color: var(--green); background: var(--mint); }
.author-note { overflow: hidden; border-radius: 20px; background: var(--mint); }
.author-note img { aspect-ratio: 4 / 5; object-fit: cover; }
.author-note div { padding: 22px; }
.author-note strong { display: block; margin-bottom: 7px; }
.author-note p { margin: 0; color: var(--muted); font-size: .88rem; }
.social-share { display: flex; width: min(1160px, calc(100% - 44px)); justify-content: flex-end; margin: 0 auto 42px; padding-top: 8px; }
.share-native { min-height: 44px; padding: 10px 17px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--green-dark); font-size: .86rem; font-weight: 780; cursor: pointer; }
.share-native::before { content: "↗"; margin-right: 8px; }
.share-native:hover { border-color: var(--green); background: var(--mint); }
.floating-actions { position: fixed; right: 18px; bottom: max(18px, env(safe-area-inset-bottom)); z-index: 22; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.floating-actions a, .floating-actions button { min-height: 44px; padding: 11px 15px; border: 0; border-radius: 999px; box-shadow: 0 10px 30px rgba(8,58,42,.2); font-size: .8rem; font-weight: 800; text-decoration: none; cursor: pointer; }
.floating-whatsapp { background: var(--green); color: #fff; }
.back-to-top { width: 44px; padding: 0 !important; border: 1px solid var(--line) !important; border-radius: 50% !important; background: var(--white); color: var(--green-dark); font-size: 1.2rem !important; opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .18s ease, transform .18s ease; }
.back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }

body.dialog-open { overflow: hidden; }
.form-dialog { width: min(720px, calc(100% - 28px)); max-height: calc(100dvh - 28px); padding: 0; border: 0; border-radius: 26px; background: transparent; color: var(--ink); box-shadow: 0 30px 100px rgba(8,58,42,.32); }
.form-dialog::backdrop { background: rgba(8,58,42,.55); backdrop-filter: blur(5px); }
.dialog-card { position: relative; overflow-y: auto; max-height: calc(100dvh - 28px); padding: 42px; border-radius: 26px; background: var(--white); }
.dialog-card h2 { max-width: 560px; margin-bottom: 12px; font-size: clamp(2rem, 5vw, 3.2rem); }
.dialog-intro { max-width: 610px; margin: 0 0 28px; color: var(--muted); }
.dialog-close { position: absolute; top: 16px; right: 16px; display: grid; width: 42px; height: 42px; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); color: var(--green-dark); font: inherit; font-size: 1.55rem; cursor: pointer; }
.consultation-form { min-width: 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; min-width: 0; gap: 8px; color: var(--green-dark); font-size: .84rem; font-weight: 760; }
.field-wide { grid-column: 1 / -1; }
.field input, .field select, .field textarea { width: 100%; min-width: 0; padding: 14px 15px; border: 1px solid var(--line); border-radius: 13px; background: #fff; color: var(--ink); font: inherit; font-weight: 500; outline: none; transition: border-color .18s ease, box-shadow .18s ease; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(23,105,78,.12); }
.consent-list { display: grid; gap: 10px; margin-top: 18px; }
.consent-row { display: grid; grid-template-columns: 21px 1fr; gap: 11px; align-items: start; padding: 13px 14px; border-radius: 13px; background: var(--paper); color: var(--muted); font-size: .8rem; line-height: 1.45; cursor: pointer; }
.consent-row input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--green); }
.consent-row a { color: var(--green-dark); font-weight: 760; text-underline-offset: 2px; }
.form-note { margin: 14px 0 18px; color: var(--muted); font-size: .75rem; line-height: 1.5; }
.ea-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-status { min-height: 0; margin: 0 0 14px; padding: 0; font-size: .86rem; font-weight: 700; }
.form-status:empty { display: none; }
.form-status.is-success { padding: 12px 14px; border-radius: 12px; background: var(--mint); color: var(--green-dark); }
.form-status.is-error { padding: 12px 14px; border-radius: 12px; background: #fff1ef; color: #8d2f25; }
.form-submit { width: 100%; }
.form-submit:disabled { cursor: wait; opacity: .68; transform: none; }
.contact-form-card { padding: 42px; border-radius: 24px; background: var(--mint); }
.contact-form-card h2 { max-width: 760px; }
.contact-form-card .consultation-form { margin-top: 28px; }
.contact-form-card .field input, .contact-form-card .field select, .contact-form-card .field textarea { background: var(--white); }
.legal-layout { display: grid; grid-template-columns: minmax(0, 780px) 260px; gap: 64px; align-items: start; }
.legal-copy { font-size: 1rem; line-height: 1.72; }
.legal-copy h2 { margin-top: 52px; font-size: clamp(1.8rem, 3vw, 2.6rem); }
.legal-copy h3 { margin-top: 32px; }
.legal-copy ul, .legal-copy ol { padding-left: 24px; }
.legal-copy li { margin-bottom: 9px; }
.legal-copy a { color: var(--green-dark); }
.legal-nav { position: sticky; top: 108px; display: grid; gap: 9px; padding: 22px; border-radius: 18px; background: var(--paper); }
.legal-nav strong { margin-bottom: 5px; }
.legal-nav a { color: var(--green-dark); font-size: .86rem; }

@media (max-width: 980px) {
  body.lock::before { content: ""; position: fixed; inset: 0; z-index: 24; background: rgba(8,58,42,.34); backdrop-filter: blur(3px); touch-action: none; }
  .site-header { z-index: 30; }
  .nav-links { position: absolute; top: calc(100% + 8px); right: 0; left: 0; z-index: 31; display: flex; max-height: calc(100dvh - 96px); overflow-y: auto; overscroll-behavior: contain; flex-direction: column; align-items: stretch; gap: 4px; padding: 12px; border: 1px solid var(--line); border-radius: 22px; background: var(--white); box-shadow: 0 24px 70px rgba(8,58,42,.2); opacity: 0; visibility: hidden; transform: translateY(-10px) scale(.985); transform-origin: top center; pointer-events: none; transition: opacity .18s ease, transform .18s ease, visibility .18s ease; }
  .nav-links.open { opacity: 1; visibility: visible; transform: translateY(0) scale(1); pointer-events: auto; }
  .nav-links a { padding: 14px 16px; border-radius: 13px; font-size: 1rem; font-weight: 700; white-space: normal; }
  .nav-links a:hover, .nav-links a[aria-current="page"] { background: var(--mint); color: var(--green-dark); }
  .nav-links a[aria-current="page"]::after { display: none; }
  .nav-links .nav-cta { margin-top: 5px; padding: 15px 16px; text-align: center; }
  .menu-btn { position: relative; z-index: 32; display: inline-grid; place-items: center; }
  .hero-grid { grid-template-columns: 1fr 340px; }
  .hero-copy, .portrait-wrap { min-height: 560px; }
  .hero-copy { padding: 48px 40px; }
  .split, .split-balanced, .contact-grid { grid-template-columns: 1fr; gap: 42px; }
  .service { grid-template-columns: 1fr auto; }
  .service p { grid-column: 1 / -1; }
  .portrait-editorial-grid { grid-template-columns: .85fr 1.15fr; }
  .portrait-editorial-copy { padding: 52px 44px; }
  .photo-promise-copy { width: 68%; }
  .credentials-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .article-layout { grid-template-columns: minmax(0, 1fr) 240px; gap: 42px; }
  .legal-layout { grid-template-columns: 1fr; gap: 30px; }
  .legal-nav { position: static; }
}
@media (max-width: 680px) {
  .container, .narrow { width: min(100% - 28px, 1160px); }
  .site-header { padding: 13px 0; }
  .brand span { max-width: 190px; }
  .brand strong { font-size: 1.13rem; }
  .brand span { font-size: .64rem; }
  .menu-btn { width: auto; min-width: 64px; height: 42px; padding-inline: 14px; }
  .nav-links { max-height: calc(100dvh - 84px); border-radius: 18px; }
  h1, h2, h3 { overflow-wrap: normal; word-break: normal; hyphens: none; text-wrap: balance; }
  h1 { font-size: clamp(2.25rem, 10vw, 3rem); line-height: 1.05; }
  .hero-copy h1 { font-size: clamp(2.18rem, 9.8vw, 2.9rem); }
  .headline-chip { display: inline; margin-bottom: 5px; padding-inline: .1em; line-height: 1.12; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
  .headline-name { margin-top: .2em; }
  h2 { font-size: clamp(2.2rem, 9.5vw, 3rem); line-height: 1.08; }
  section { padding: 72px 0; }
  .hero { padding-top: 14px; }
  .hero-grid { display: flex; flex-direction: column; gap: 12px; }
  .hero-copy { min-height: 500px; padding: 38px 26px; border-radius: 20px; }
  .hero-copy::after { right: -190px; bottom: -210px; }
  .hero-actions .button { width: 100%; }
  .portrait-wrap { min-height: 520px; border-radius: 20px; }
  .portrait-caption { right: 12px; bottom: 12px; left: 12px; }
  .facts { grid-template-columns: 1fr; gap: 10px; margin-top: 10px; }
  .fact { min-height: auto; padding: 22px; }
  .portrait-editorial { padding: 38px 0 72px; }
  .portrait-editorial-grid { grid-template-columns: 1fr; min-height: 0; border-radius: 22px; }
  .portrait-editorial-visual { min-height: 410px; }
  .portrait-editorial-visual::before { inset: 22px 22px auto; height: calc(100% - 44px); }
  .portrait-editorial-visual img { right: -3%; width: 106%; height: 96%; }
  .portrait-editorial-copy { padding: 42px 26px 46px; }
  .portrait-editorial-copy .button { width: 100%; }
  .page-hero { padding-top: 14px; }
  .page-hero .container { min-height: 0; padding: 40px 22px 44px; border-radius: 20px; }
  .page-hero h1 { max-width: 100%; font-size: clamp(2.05rem, 8.9vw, 2.7rem); line-height: 1.08; }
  .page-hero .lead { font-size: 1rem; line-height: 1.58; text-wrap: pretty; }
  .route-help .page-hero h1,
  .route-process .page-hero h1,
  .route-services .page-hero h1,
  .route-blog-clinical-psychologist-difference .page-hero h1,
  .route-blog-first-consultation .page-hero h1,
  .route-blog-when-to-see-psychologist .page-hero h1,
  .route-personal-data-consent .page-hero h1,
  .route-privacy .page-hero h1 { font-size: clamp(1.82rem, 8vw, 2.35rem); line-height: 1.1; }
  .link-grid { grid-template-columns: 1fr; }
  .link-card { min-height: 230px; }
  .feature-band { margin-inline: 8px; padding: 65px 0; border-radius: 22px; }
  .route-home .feature-band { margin-bottom: 16px; }
  .photo-promise { padding-bottom: 72px; }
  .photo-promise-card { min-height: 690px; border-radius: 22px; }
  .photo-promise-card > img { object-position: 58% center; }
  .photo-promise-card::after { background: linear-gradient(0deg, rgba(8,58,42,.96) 0%, rgba(8,58,42,.72) 54%, rgba(8,58,42,.08) 100%); }
  .photo-promise-copy { justify-content: flex-end; width: 100%; min-height: 690px; padding: 34px 26px; }
  .photo-promise-copy .button { width: 100%; }
  .credentials { padding-bottom: 64px; }
  .credentials-head { grid-template-columns: 1fr; gap: 8px; margin-bottom: 24px; }
  .credentials-grid { display: flex; width: calc(100% + 14px); overflow-x: auto; gap: 10px; padding: 0 14px 16px 0; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .credentials-grid::-webkit-scrollbar { display: none; }
  .credential-card { flex: 0 0 84%; scroll-snap-align: start; }
  .credential-card img { height: 255px; }
  .form-dialog { width: calc(100% - 16px); max-height: calc(100dvh - 16px); border-radius: 20px; }
  .dialog-card { display: flex; height: calc(100dvh - 16px); max-height: calc(100dvh - 16px); flex-direction: column; overflow: hidden; padding: 18px 16px max(14px, env(safe-area-inset-bottom)); border-radius: 20px; }
  .dialog-close { top: 9px; right: 9px; width: 38px; height: 38px; font-size: 1.35rem; }
  .dialog-card .kicker { margin: 0 46px 7px 0; font-size: .68rem; }
  .dialog-card h2 { margin: 0 48px 7px 0; font-size: clamp(1.45rem, 7vw, 1.9rem); line-height: 1.04; }
  .dialog-intro { display: none; }
  .dialog-card .consultation-form { display: flex; min-height: 0; flex: 1; flex-direction: column; }
  .dialog-card .form-grid { grid-template-columns: 1fr; gap: 7px; }
  .dialog-card .field { gap: 3px; font-size: .72rem; line-height: 1.2; }
  .dialog-card .field input,
  .dialog-card .field select,
  .dialog-card .field textarea { min-height: 42px; padding: 9px 11px; border-radius: 11px; }
  .dialog-card .field textarea { height: 58px; min-height: 58px; resize: none; }
  .dialog-card .consent-list { gap: 5px; margin-top: 7px; }
  .dialog-card .consent-row { grid-template-columns: 18px 1fr; gap: 7px; padding: 7px 9px; border-radius: 10px; font-size: .66rem; line-height: 1.22; }
  .dialog-card .consent-row input { width: 16px; height: 16px; }
  .dialog-card .form-note { display: none; }
  .dialog-card .form-status { margin: 5px 0; font-size: .7rem; }
  .dialog-card .form-submit { position: sticky; bottom: 0; min-height: 46px; margin-top: 7px; flex: 0 0 auto; }
  .field-wide { grid-column: auto; }
  .contact-form-card { padding: 30px 20px; border-radius: 20px; }
  .legal-copy { overflow-wrap: anywhere; }
  .topic { padding: 24px; }
  .topic ul { columns: 1; }
  .request, .rule, .step { grid-template-columns: 40px 1fr; padding: 20px; }
  .service { grid-template-columns: 1fr; gap: 12px; padding: 24px; }
  .price { min-width: 0; text-align: left; }
  .locations { grid-template-columns: 1fr; }
  .contact-card { min-height: 190px; padding: 24px; }
  .contact-card strong { margin-bottom: 30px; }
  .cta { margin-inline: 8px; padding: 62px 0; border-radius: 22px; }
  .cta-row { grid-template-columns: 1fr; gap: 28px; }
  .cta-row .button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .breadcrumbs { padding-top: 16px; }
  .blog-grid, .article-layout { grid-template-columns: minmax(0, 1fr); }
  .article-card { min-height: 300px; padding: 25px; }
  .article-card time { margin-bottom: 36px; }
  .article-body { font-size: 1rem; line-height: 1.68; }
  .article-body h2 { margin-top: 42px; }
  .article-meta { display: grid; gap: 6px; }
  .article-aside { position: static; }
  .article-toc-desktop { display: none; }
  .article-toc-mobile { display: block; }
  .social-share { width: min(100% - 28px, 1160px); margin-bottom: 30px; }
  .share-native { width: 100%; }
  .floating-actions { right: 10px; bottom: max(10px, env(safe-area-inset-bottom)); }
  .floating-actions a, .floating-actions button { padding: 10px 12px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

.cookie-consent-copy a { color: #fff; font-weight: 760; text-underline-offset: 3px; }
.cookie-consent button { border: 1px solid rgba(255,255,255,.62); border-radius: 999px; font: inherit; font-weight: 800; cursor: pointer; }
.cookie-accept { border-color: #fff !important; background: #fff; color: var(--green-deep); }
.cookie-withdraw { background: transparent; color: #fff; }
.cookie-settings-link { padding: 0; border: 0; background: transparent; color: #fff; font: inherit; font-size: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

@media (max-width: 720px) { .dialog-card { height: auto; overflow-y: auto; } .dialog-card .consultation-form { flex: 0 1 auto; } }

.credential-card { cursor: zoom-in; }
.diploma-lightbox[hidden] { display: none; }
.diploma-lightbox { position: fixed; inset: 0; z-index: 1000; display: grid; grid-template-columns: minmax(48px, 1fr) minmax(0, auto) minmax(48px, 1fr); align-items: center; padding: 64px 16px 24px; background: rgba(18,24,22,.94); }
.diploma-lightbox__figure { grid-column: 2; display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: calc(100vw - 128px); max-height: calc(100vh - 88px); margin: 0; }
.diploma-lightbox__image { display: block; max-width: 100%; max-height: calc(100vh - 130px); object-fit: contain; box-shadow: 0 16px 50px rgba(0,0,0,.35); }
.diploma-lightbox__caption { color: #fff; font-size: 14px; text-align: center; }
.diploma-lightbox__close, .diploma-lightbox__nav { position: absolute; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; font: inherit; font-size: 32px; line-height: 1; cursor: pointer; transition: background .2s; }
.diploma-lightbox__close:hover, .diploma-lightbox__nav:hover { background: rgba(255,255,255,.26); }
.diploma-lightbox__close:focus-visible, .diploma-lightbox__nav:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.diploma-lightbox__close { top: 12px; right: 16px; }
.diploma-lightbox__prev { left: 16px; }
.diploma-lightbox__next { right: 16px; }

@media (max-width: 640px) {
  .diploma-lightbox { grid-template-columns: 40px minmax(0, 1fr) 40px; padding: 58px 8px 16px; }
  .diploma-lightbox__figure { max-width: 100%; max-height: calc(100vh - 74px); }
  .diploma-lightbox__image { max-height: calc(100vh - 115px); }
  .diploma-lightbox__nav { position: static; width: 40px; height: 56px; background: rgba(255,255,255,.12); }
  .diploma-lightbox__prev { grid-column: 1; justify-self: start; }
  .diploma-lightbox__next { grid-column: 3; justify-self: end; }
  .diploma-lightbox__close { top: 8px; right: 8px; }
}



/* Cookie banner: enlarged notice, 2026-09-15 */
.cookie-consent {
  position: fixed;
  right: 20px;
  bottom: 20px;
  left: 20px;
  z-index: 10000;
  display: none;
  pointer-events: none;
}
.cookie-consent.is-visible { display: block; }
.cookie-consent-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px;
  align-items: center;
  width: min(1120px, 100%);
  min-height: 230px;
  margin: 0 auto;
  padding: 42px 46px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 28px;
  background: var(--green-deep);
  color: #fff;
  box-shadow: 0 32px 100px rgba(0,0,0,.48);
  pointer-events: auto;
}
.cookie-consent-copy { display: grid; gap: 14px; }
.cookie-consent-copy strong {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  line-height: 1.08;
}
.cookie-consent-copy p {
  max-width: 650px;
  margin: 0;
  color: rgba(255,255,255,.86);
  font-size: 1rem;
  line-height: 1.65;
}
.cookie-consent-actions { display: flex; gap: 12px; }
.cookie-consent button {
  min-height: 56px;
  padding: 14px 20px;
  font-size: .92rem;
}
@media (max-width: 720px) {
  .cookie-consent {
    right: 8px;
    bottom: max(8px, env(safe-area-inset-bottom));
    left: 8px;
  }
  .cookie-consent-card {
    grid-template-columns: 1fr;
    min-height: min(460px, 58dvh);
    align-content: center;
    gap: 26px;
    padding: 32px 24px;
    border-radius: 24px;
  }
  .cookie-consent-copy strong { font-size: 1.85rem; }
  .cookie-consent-copy p { font-size: .96rem; line-height: 1.6; }
  .cookie-consent-actions { display: grid; grid-template-columns: 1fr; }
  .cookie-consent button { width: 100%; min-height: 56px; padding-inline: 14px; }
  body.cookie-banner-open .floating-actions { bottom: min(480px, 61dvh); }
}
