@import url('https://fonts.googleapis.com/css2?family=Tenor+Sans&display=swap');

:root{
  --bg:#0a3d2a;
  --bg-deep:#072b1d;
  --glass:rgba(8,45,28,.72);
  --glass-deep:rgba(6,35,22,.82);
  --ink:#f4f8f2;
  --ink-dark:#0d1f16;
  --muted:rgba(244,248,242,.78);
  --muted-dark:#4a5a50;
  --accent:#7fc45a;
  --accent-deep:#4a8f3a;
  --line:rgba(244,248,242,.14);
  --line-dark:rgba(10,61,42,.15);
  --radius:6px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:96px}
body{margin:0;min-width:320px;background:var(--bg);color:var(--ink);font:16px/1.6 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;-webkit-font-smoothing:antialiased}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
button,input{font:inherit}
p,h1,h2,h3{margin-top:0}

.background-meadow{position:fixed;inset:0;z-index:-1;pointer-events:none;background:var(--bg-deep);overflow:hidden}
.background-meadow video{width:100%;height:100%;display:block;object-fit:cover;object-position:center;filter:saturate(.95) brightness(.82) contrast(1.04)}
.background-meadow::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(10,61,42,.18),rgba(10,61,42,.34))}

.site-header{position:sticky;top:0;z-index:30;min-height:82px;padding:0 clamp(16px,4vw,56px);display:flex;align-items:center;justify-content:space-between;gap:20px;color:var(--ink);background:rgba(7,43,29,.94);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border-bottom:1px solid var(--line)}
.header-identity{display:flex;align-items:baseline;gap:12px;white-space:nowrap}
.header-identity span{font-size:11px;letter-spacing:.08em;text-transform:uppercase;font-weight:500;color:rgba(244,248,242,.55)}
.header-identity strong{font-size:clamp(20px,2vw,28px);font-weight:700;letter-spacing:0;color:var(--ink)}
.site-header nav{display:flex;align-items:center;gap:clamp(14px,2vw,30px);font-size:13px;font-weight:600}
.site-header nav a{padding:10px 0;color:var(--ink);transition:color .2s}
.site-header nav a:hover{color:var(--accent)}
.menu-button{display:none;border:1px solid var(--line);border-radius:99px;background:transparent;color:var(--ink);padding:8px 14px;cursor:pointer}

main{width:min(1160px,calc(100% - 32px));margin:auto;padding:0 0 100px}

.meadow-hero{min-height:calc(100svh - 82px);display:flex;align-items:flex-end;padding:0 0 clamp(30px,6vh,64px)}
.hero-panel{width:min(680px,100%);padding:clamp(26px,3vw,40px);color:var(--ink);background:var(--glass);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border-radius:var(--radius);border:1px solid var(--line)}
.hero-panel .eyebrow{color:rgba(244,248,242,.72)}
.hero-panel h1{font-size:clamp(32px,4vw,52px);font-weight:700;line-height:1.08;letter-spacing:-.01em;margin:16px 0 18px;color:var(--ink)}
.hero-panel .lead{font-size:clamp(15px,1.3vw,18px);line-height:1.55;color:var(--muted);max-width:620px;margin:0}

.button{display:inline-flex;justify-content:space-between;align-items:center;gap:36px;padding:15px 22px;border-radius:999px;background:var(--accent);color:var(--ink-dark);font-size:13px;font-weight:700;letter-spacing:.01em;transition:transform .2s,box-shadow .2s;border:0;cursor:pointer}
.button:hover{transform:translateY(-2px);box-shadow:0 12px 30px rgba(127,196,90,.35)}

.eyebrow{font-size:11px;line-height:1.35;letter-spacing:.12em;text-transform:uppercase;font-weight:600;color:var(--accent);margin-bottom:12px}

.page-card{position:relative;width:100%;margin:clamp(36px,5vh,64px) auto;padding:clamp(28px,3.6vw,52px);background:var(--glass);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border-radius:var(--radius);border:1px solid var(--line);color:var(--ink)}
.section-heading{display:grid;grid-template-columns:.5fr 1.5fr;gap:5vw;margin-bottom:36px}
.section-heading h2{margin:0}
.page-card h2{font-size:clamp(28px,3.2vw,44px);font-weight:700;line-height:1.12;letter-spacing:-.01em;margin:12px 0 22px;color:var(--ink)}
.page-card h3{font-size:19px;font-weight:600;line-height:1.3;margin:0 0 8px;color:var(--ink)}
.page-card p{color:var(--muted);font-size:16px;line-height:1.6}

/* Контакты */

.contact-card{padding:clamp(28px,3.6vw,52px);background:var(--glass)}
.contact-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:clamp(24px,3vw,44px);align-items:start}
.contact-left{min-width:0}
.contact-left h2{margin:8px 0 16px}
.contact-note{font-size:15px;line-height:1.55;color:var(--muted);margin-bottom:20px;max-width:460px}

.copy-email{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;max-width:460px;padding:16px 20px;background:transparent;border:1px solid var(--accent);border-radius:var(--radius);color:var(--ink);font-size:clamp(15px,1.5vw,18px);font-weight:600;cursor:pointer;transition:background .2s;text-align:left}
.copy-email:hover{background:rgba(127,196,90,.1)}
.copy-email svg{width:20px;height:20px;flex-shrink:0;color:var(--accent)}
.copy-status{margin-top:10px;font-size:13px;color:var(--accent);min-height:1.4em}

.qr-row{display:flex;align-items:center;gap:18px;margin-top:26px;padding-top:22px;border-top:1px solid var(--line)}
.qr-small{width:110px;height:110px;flex-shrink:0;background:#fff;padding:6px;border-radius:var(--radius)}
.qr-caption{font-size:13px;line-height:1.5;color:var(--muted);margin:0 0 8px}
.qr-caption b{color:var(--ink);font-weight:600}
.qr-download{display:inline-block;font-size:13px;font-weight:700;color:var(--accent)}

.contact-right{margin:0;width:100%}
.contact-right img{width:100%;height:auto;aspect-ratio:3/4;object-fit:cover;object-position:50% 20%;border-radius:var(--radius)}

.about-bottom{margin-top:30px;padding-top:26px;border-top:1px solid var(--line);display:grid;gap:14px}
.about-bottom p{margin:0;color:var(--muted);font-size:16px;line-height:1.65}

/* Направления */

.topic-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:0 40px;border:0}
.topic-grid article{min-height:0;padding:0;display:block;background:transparent;border-radius:0;margin-bottom:28px}
.topic-grid h3{font-size:19px;margin:0 0 6px;letter-spacing:0}
.topic-grid p{margin:0;font-size:15px;line-height:1.6;color:var(--muted)}

.scope-note{margin-top:14px;padding:0;background:transparent;color:rgba(244,248,242,.55);font-size:13px;line-height:1.6}

/* Формат */

.therapy-card{background:var(--glass-deep);color:var(--ink)}
.therapy-card h2,.therapy-card h3,.therapy-card p,.therapy-card .eyebrow{color:var(--ink)}
.therapy-card .eyebrow{color:var(--accent)}
.therapy-card .steps{display:grid;grid-template-columns:1fr;gap:0}
.therapy-card .steps article{padding:0;background:transparent;min-height:0}
.therapy-card .steps h3{font-size:24px;font-weight:700;margin:0 0 10px}
.therapy-card .steps p{margin:0;font-size:16px;line-height:1.6;color:var(--muted)}

/* Документы */

.documents{display:grid;grid-template-columns:.78fr 1.22fr;gap:5vw;align-items:start}
.document-links{display:grid}
.document-links button{display:grid;grid-template-columns:1fr auto;gap:16px;align-items:center;width:100%;padding:18px 0;border:0;border-bottom:1px solid var(--line);background:transparent;color:var(--ink);text-align:left;font-size:15px;font-weight:600;line-height:1.4;cursor:pointer;transition:color .2s}
.document-links button:hover{color:var(--accent)}
.document-links button b{font-size:12px;font-weight:600;color:rgba(244,248,242,.55)}

.legal-note{margin-top:24px;font-size:12px;line-height:1.6;color:rgba(244,248,242,.5)}

/* Статьи */

.articles-panel{width:100%;margin:clamp(36px,5vh,64px) auto;padding:0;background:transparent}
.articles-head{display:grid;grid-template-columns:.72fr 1.28fr;gap:5vw;align-items:center;padding:clamp(28px,3.5vw,48px);background:var(--glass-deep);color:var(--ink);border-radius:var(--radius);border:1px solid var(--line)}
.articles-head h2{color:var(--ink);margin:8px 0 22px}
.articles-head .eyebrow{color:var(--accent)}
.articles-toggle{display:inline-flex;align-items:center;justify-content:space-between;gap:24px;padding:13px 20px;border:0;background:var(--accent);color:var(--ink-dark);font-weight:700;font-size:13px;border-radius:999px;cursor:pointer}

.search-wrap{padding:22px 24px;background:rgba(7,43,29,.55);border-radius:var(--radius);color:var(--ink);border:1px solid var(--line)}
.search-wrap label{display:block;font-size:14px;font-weight:600;margin-bottom:8px;color:var(--ink)}
.search-hint{font-size:13px;line-height:1.45;color:var(--muted);margin:6px 0 14px}
.search-box{display:flex;align-items:center;gap:10px;border-bottom:1px solid var(--accent)}
.search-box span{font-size:22px;color:var(--accent)}
.search-box input{width:100%;border:0;outline:0;background:transparent;padding:12px 0;font-size:16px;color:var(--ink)}
.search-box input::placeholder{color:rgba(244,248,242,.45)}
.search-box button{border:0;background:transparent;font-size:20px;cursor:pointer;color:var(--ink);visibility:hidden}
.search-box button.visible{visibility:visible}
#result-count{font-size:13px;color:var(--muted);margin-top:10px}

.articles-drawer{margin-top:40px}
.articles-drawer[hidden]{display:none}
.article-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;align-items:stretch}

.article-card{position:relative;display:flex;flex-direction:row;background:var(--glass);border-radius:var(--radius);cursor:pointer;transition:background .25s ease,transform .25s ease;min-height:200px;overflow:hidden;border:1px solid var(--line)}
.article-card:hover{background:rgba(8,45,28,.86);transform:translateY(-2px)}
.card-image{width:44%;flex-shrink:0;overflow:hidden;background:rgba(7,43,29,.4);display:flex;align-items:center;justify-content:center}
.card-image img{width:100%;height:100%;object-fit:cover;object-position:center}
.card-copy{padding:22px 24px;display:flex;flex-direction:column;justify-content:center;flex:1;min-width:0}
.card-action{display:inline-block;font-size:10px;letter-spacing:.12em;text-transform:uppercase;font-weight:600;color:var(--accent);margin-bottom:10px}
.article-card h3{font-size:18px;font-weight:600;line-height:1.3;letter-spacing:0;margin:0;color:var(--ink);display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical;overflow:hidden}

.no-results{text-align:center;padding:60px;color:var(--muted)}

/* FAQ */

.details-list details{border-top:1px solid var(--line);padding:22px 0}
.details-list details:last-child{border-bottom:1px solid var(--line)}
summary{cursor:pointer;list-style:none;font-size:17px;font-weight:600;line-height:1.4;color:var(--ink)}
summary::-webkit-details-marker{display:none}
summary::after{content:"+";float:right;color:var(--accent);font-weight:400}
details[open] summary::after{content:"−"}
.details-list p{color:var(--muted);margin:12px 0 0}

/* Соцсети */

.social-card{display:grid;grid-template-columns:.78fr 1.22fr;gap:5vw;align-items:start}
.social-icons{display:flex;flex-wrap:wrap;gap:14px}
.social-icons a{display:inline-flex;align-items:center;justify-content:center;width:52px;height:52px;border-radius:50%;border:1px solid var(--line);color:var(--accent);transition:background .2s}
.social-icons a:hover{background:rgba(127,196,90,.12)}
.social-icons svg{width:22px;height:22px;display:block}
.social-caption{margin-top:18px;font-size:13px;color:var(--muted);line-height:1.6}
.social-caption b{color:var(--ink);font-weight:600}

footer{padding:34px clamp(16px,5vw,56px);display:grid;grid-template-columns:1fr 1fr 1fr;gap:16px;align-items:center;color:var(--ink);background:rgba(7,43,29,.95);border-top:1px solid var(--line);font-size:13px}
footer p{text-align:center;margin:0;color:var(--muted)}
.footer-rights{text-align:right;color:rgba(244,248,242,.42);font-size:11px;line-height:1.45}

/* Диалоги */

dialog{width:min(780px,calc(100% - 24px));max-height:92vh;padding:0;border:0;border-radius:var(--radius);background:#eef1ec;color:var(--ink-dark);box-shadow:0 40px 100px rgba(0,0,0,.55)}
dialog::backdrop{background:rgba(7,43,29,.9);backdrop-filter:blur(8px)}
.dialog-close{position:fixed;right:max(calc((100vw - 780px)/2 + 18px),24px);top:5vh;z-index:5;width:44px;height:44px;border:0;border-radius:50%;background:var(--bg-deep);color:var(--ink);font-size:24px;cursor:pointer}
.dialog-cover{display:none}
.dialog-content{padding:clamp(30px,5vw,56px)}
.dialog-content h2{font-size:clamp(24px,3vw,36px);font-weight:700;line-height:1.15;letter-spacing:-.01em;margin:14px 0 26px;color:var(--ink-dark)}
#dialog-body{max-width:720px;font:16px/1.72 Inter,Arial,sans-serif;color:#20302a}
#dialog-body p{margin:0 0 1.25em}

.read-next{margin-top:40px;padding-top:22px;border-top:1px solid var(--line-dark)}
.read-next .eyebrow{margin-bottom:8px;color:var(--accent-deep)}
.read-next a{display:inline-block;font-size:20px;font-weight:700;line-height:1.25;color:var(--accent-deep)}

/* Адаптив */

@media(max-width:980px){
  .site-header nav{display:none;position:absolute;top:82px;left:0;right:0;padding:24px;background:rgba(7,43,29,.98);flex-direction:column;align-items:flex-start;gap:14px}
  .site-header nav.open{display:flex}
  .menu-button{display:block}
  .contact-grid,.documents,.social-card,.articles-head,.section-heading{grid-template-columns:1fr;gap:28px}
  .contact-right{order:-1;max-width:420px}
  .topic-grid{grid-template-columns:1fr 1fr;gap:0 28px}
  .article-grid{grid-template-columns:1fr;gap:18px}
  .article-card{min-height:170px}
  .card-image{width:38%}
}

@media(max-width:640px){
  main{width:calc(100% - 24px)}
  .meadow-hero{min-height:calc(100svh - 70px)}
  .hero-panel{width:100%;padding:24px}
  .hero-panel h1{font-size:28px}
  .page-card{margin:26px auto;padding:22px 18px}
  .page-card h2{font-size:24px}
  .contact-right{max-width:100%}
  .qr-row{flex-direction:column;align-items:flex-start;gap:14px}
  .topic-grid{grid-template-columns:1fr;gap:0}
  .article-card{flex-direction:column;min-height:0}
  .card-image{width:100%;height:200px}
  .card-copy{padding:20px 22px}
  footer{grid-template-columns:1fr;gap:10px;padding:26px 18px;text-align:left}
  footer p,.footer-rights{text-align:left}
  .copy-email{width:100%;font-size:15px;padding:16px 18px}
}

@media(prefers-reduced-motion:reduce){
  .background-meadow video{display:none}
  .article-card,.button{transition:none}
}

/* Единая типографика заголовков */
.hero-panel h1,
.page-card h2,
.articles-head h2,
.dialog-content h2{
  font-family:"Bodoni Moda",Didot,"Times New Roman",serif;
  font-size:clamp(30px,3vw,42px);
  font-weight:600;
  line-height:1.02;
  letter-spacing:0;
  text-transform:uppercase;
}

.page-card h3,
.article-card h3,
.therapy-card .steps h3,
summary{
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size:20px;
  font-weight:600;
  line-height:1.15;
  letter-spacing:0;
  text-transform:uppercase;
}

/* Строгая единая типографика */
body,button,input,h1,h2,h3,p,a,span,strong,summary{
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
}

.hero-panel h1,
.page-card h2,
.articles-head h2,
.dialog-content h2{
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-weight:600;
  letter-spacing:0;
}

.page-card h3,
.article-card h3,
.therapy-card .steps h3,
summary{
  color:var(--accent);
  font-weight:600;
  letter-spacing:0;
}

.therapy-card .steps h3,
.therapy-card .steps h3 strong{
  color:var(--accent);
  font-weight:700;
}

/* Белые акценты и углы */
.contact-card::before,
.therapy-card::before,
.social-card::before{
  content:"";
  position:absolute;
  top:0;
  left:clamp(18px,3.6vw,52px);
  width:92px;
  height:5px;
  background:rgba(255,255,255,.9);
}

.documents::before,
.documents::after,
.article-card::before,
.article-card::after{
  content:"";
  position:absolute;
  width:42px;
  height:42px;
  pointer-events:none;
}

.documents::before,
.article-card::before{
  top:-1px;
  left:-1px;
  border-top:5px solid rgba(255,255,255,.92);
  border-left:5px solid rgba(255,255,255,.92);
}

.documents::after,
.article-card::after{
  right:-1px;
  bottom:-1px;
  border-right:5px solid rgba(255,255,255,.92);
  border-bottom:5px solid rgba(255,255,255,.92);
}

.legal-note-outside{
  max-width:900px;
  margin:calc(clamp(36px,5vh,64px) * -1 + 12px) 8px clamp(36px,5vh,64px);
  padding:0;
  color:rgba(244,248,242,.5);
  font-size:11px;
  line-height:1.55;
}

.articles-drawer{margin-top:26px}

.card-meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:10px;
}

.card-meta .card-action{margin-bottom:0}
.read-time{flex-shrink:0;color:rgba(244,248,242,.58);font-size:10px;line-height:1.2;white-space:nowrap}

@media(max-width:640px){
  .card-meta{margin-bottom:9px}
  .read-time{font-size:10px}
  .legal-note-outside{margin-top:-16px;margin-left:4px;margin-right:4px}
}

/* v32 — строгая типографика Prata + Tenor Sans */
:root{
  --ink:#faf9f2;
  --ink-dark:#faf9f2;
  --muted:rgba(250,249,242,.78);
  --muted-dark:rgba(250,249,242,.7);
  --accent:#ddf45f;
  --accent-deep:#ddf45f;
  --line:rgba(250,249,242,.22);
  --line-dark:rgba(250,249,242,.18);
  --glass:rgba(3,49,33,.79);
  --glass-deep:rgba(2,39,26,.88);
  --radius:2px;
}

body,
button,
input,
p,
a,
span,
strong,
summary{
  font-family:"Tenor Sans","Helvetica Neue",Arial,sans-serif;
}

body{color:var(--ink);font-weight:400}

h1,
h2,
.hero-panel h1,
.page-card h2,
.articles-head h2,
.dialog-content h2{
  font-family:Prata,Georgia,"Times New Roman",serif;
  font-weight:400;
  letter-spacing:-.035em;
  text-transform:none;
  color:var(--ink);
}

.page-card h3,
.article-card h3,
.therapy-card .steps h3,
summary{
  font-family:"Tenor Sans","Helvetica Neue",Arial,sans-serif;
  font-weight:400;
  letter-spacing:.025em;
  text-transform:uppercase;
  color:var(--ink);
}

.site-header{background:rgba(2,38,25,.94);min-height:82px}
.header-identity{gap:14px}
.header-identity span{font-weight:400;letter-spacing:.14em;color:rgba(250,249,242,.58)}
.header-identity strong{font-family:Prata,Georgia,"Times New Roman",serif;font-size:clamp(18px,1.8vw,24px);font-weight:400;letter-spacing:-.025em;color:var(--ink)}
.site-header nav{font-weight:400;letter-spacing:.035em}
.nav-cta{border:1px solid var(--accent);padding:10px 16px!important}
.menu-button{border-radius:0;border-color:rgba(250,249,242,.38);letter-spacing:.08em}

.background-meadow video{filter:saturate(.94) brightness(.78) contrast(1.05)}
.background-meadow::after{background:linear-gradient(180deg,rgba(4,43,29,.18),rgba(2,30,20,.39))}

.hero-panel{width:min(700px,100%);padding:clamp(30px,4vw,52px);border-radius:0;border-color:rgba(250,249,242,.28);background:rgba(3,49,33,.81)}
.hero-panel .hero-qualification{text-align:left;margin-bottom:18px;color:rgba(250,249,242,.68);letter-spacing:.22em}
.hero-panel h1{display:grid;gap:0;margin:0;font-size:clamp(48px,7vw,82px);line-height:.94;letter-spacing:-.055em}
.hero-panel h1 span{font-family:inherit;color:inherit}
.hero-practice{margin:26px 0 12px;color:var(--accent);font-size:13px;letter-spacing:.15em;text-transform:uppercase}
.hero-panel .lead{max-width:630px;color:rgba(250,249,242,.86);font-size:clamp(16px,1.35vw,18px)}
.hero-meta{display:flex;align-items:center;gap:14px;margin:26px 0 20px;color:var(--ink);font-size:13px;letter-spacing:.11em;text-transform:uppercase}
.hero-meta strong{font-weight:400}
.hero-meta i{width:34px;height:1px;background:rgba(250,249,242,.5)}
.button,.articles-toggle{border:1px solid var(--accent);border-radius:0;background:rgba(2,38,25,.35);color:var(--ink);font-weight:400;letter-spacing:.12em;text-transform:uppercase;box-shadow:none}
.button:hover,.articles-toggle:hover{background:rgba(221,244,95,.1);box-shadow:none}
.hero-cta{min-width:190px;justify-content:center}

.eyebrow{font-weight:400;letter-spacing:.16em;color:var(--accent)}
.page-card,.articles-head,.article-card,.search-wrap{border-radius:0;border-color:rgba(250,249,242,.22)}
.page-card{background:rgba(3,49,33,.82)}
.page-card h2,.articles-head h2{font-size:clamp(30px,4vw,50px);line-height:1.08}
.page-card p,.topic-grid p,.details-list p{color:var(--muted)}
.contact-left h2{max-width:620px}
.contact-note{font-size:17px;line-height:1.65}
.contact-right img{border-radius:0}
.copy-email{border-radius:0;border-color:var(--accent);font-weight:400}
.copy-email:hover{background:rgba(221,244,95,.08)}
.qr-small{border-radius:0}

.topic-grid{gap:0 46px}
.topic-grid article{padding-top:18px;border-top:1px solid rgba(250,249,242,.26)}
.topic-grid h3{font-size:18px;color:var(--ink)}
.scope-note{max-width:860px;margin-top:8px;color:rgba(250,249,242,.48)!important;font-size:12px!important}

.therapy-card .steps h3,
.therapy-card .steps h3 strong{font-family:Prata,Georgia,"Times New Roman",serif;font-weight:400;color:var(--ink);text-transform:none}
.therapy-card .steps h3{font-size:clamp(25px,3vw,38px)}

.document-links button{font-weight:400;letter-spacing:.01em;color:var(--ink)}
.document-links button:hover,.document-links button b{color:var(--accent)}
.legal-note,.legal-note-outside{color:rgba(250,249,242,.45)}

.articles-head{background:rgba(2,39,26,.89)}
.search-wrap{background:rgba(2,38,25,.55);border-color:rgba(250,249,242,.25)}
.search-wrap label{font-weight:400;letter-spacing:.03em}
.search-box{padding:0 15px;border:1px solid var(--accent);background:rgba(2,38,25,.46)}
.search-box input{color:var(--ink)}
.search-box input::placeholder{color:rgba(250,249,242,.44)}
.article-card{background:rgba(3,49,33,.83)}
.article-card:hover{background:rgba(3,49,33,.92)}
.article-card h3{color:var(--ink);font-size:18px;line-height:1.35}
.card-action{color:var(--accent);font-weight:400}
.read-time{color:rgba(250,249,242,.55)}

summary{color:var(--ink)}
summary::after{color:var(--accent)}
.social-icons a{border-radius:0;color:var(--accent)}
.social-icons a:hover{background:rgba(221,244,95,.08)}

footer{background:rgba(2,38,25,.96)}

dialog{background:rgba(2,38,25,.98);color:var(--ink);border:1px solid rgba(250,249,242,.25);border-radius:0}
dialog::backdrop{background:rgba(2,22,15,.92)}
.dialog-close{border-radius:0;border:1px solid var(--accent);background:rgba(2,38,25,.98);color:var(--ink)}
.dialog-content h2{color:var(--ink)}
#dialog-body{font:16px/1.72 "Tenor Sans","Helvetica Neue",Arial,sans-serif;color:rgba(250,249,242,.87)}
.document-content,.document-content p,.document-content li,.document-content strong,.document-content h3{color:rgba(250,249,242,.87)}
.read-next a{font-family:Prata,Georgia,"Times New Roman",serif;font-weight:400;color:var(--ink)}

.contact-card::before,
.therapy-card::before,
.social-card::before,
.documents::before,
.documents::after,
.article-card::before,
.article-card::after{content:none}

@media(max-width:640px){
  .site-header{min-height:74px}
  .header-identity{align-items:flex-start;flex-direction:column;gap:0}
  .header-identity strong{font-size:17px}
  .header-identity span{font-size:9px}
  .site-header nav{top:74px}
  .hero-panel{padding:28px 21px}
  .hero-panel h1{font-size:clamp(43px,15vw,62px)}
  .hero-panel .lead{font-size:16px}
  .hero-meta{font-size:12px;gap:10px}
  .hero-meta i{width:22px}
  .page-card h2,.articles-head h2{font-size:30px}
  .topic-grid article{margin-bottom:22px}
}

/* v33 — единая строгая типографика и исправленная мобильная компоновка */
body,
button,
input,
p,
a,
span,
strong,
summary,
h1,
h2,
h3,
.header-identity strong,
.hero-panel h1,
.page-card h2,
.articles-head h2,
.dialog-content h2,
.therapy-card .steps h3,
.therapy-card .steps h3 strong,
.read-next a{
  font-family:"Tenor Sans","Helvetica Neue",Arial,sans-serif;
}

h1,h2,h3,
.page-card h2,
.articles-head h2,
.dialog-content h2,
.page-card h3,
.article-card h3,
.therapy-card .steps h3,
summary{
  font-weight:400;
  letter-spacing:0;
  text-transform:none;
}

.site-header{min-height:78px}
.header-identity{align-items:baseline;flex-direction:row;gap:12px}
.header-identity span{font-size:12px;font-weight:600;letter-spacing:.1em;color:var(--accent)}
.header-identity strong{font-size:clamp(18px,2vw,23px);font-weight:400;letter-spacing:0;color:var(--ink)}
.site-header nav,.menu-button{font-size:15px;letter-spacing:0;text-transform:none}

.meadow-hero{min-height:calc(100svh - 78px);padding:0}
.background-meadow video{filter:saturate(.96) brightness(.82) contrast(1.04)}

.page-card h2,.articles-head h2{
  margin:0 0 24px;
  font-size:clamp(28px,3.2vw,38px);
  line-height:1.22;
}
.section-heading{display:block;margin-bottom:28px}
.section-heading h2{margin:0}
.page-card p,.topic-grid p,.details-list p{font-size:16px;line-height:1.6}

.contact-left h2{margin:0 0 18px}
.contact-note{font-size:16px;line-height:1.6}
.qr-row{display:grid;grid-template-columns:110px minmax(0,1fr);align-items:center;gap:18px;max-width:460px}
.qr-row>div{min-width:0}
.qr-caption{margin:0 0 8px;font-size:13px;line-height:1.45}
.qr-caption b{font-size:13px;font-weight:400;color:var(--accent)}
.qr-download{font-size:13px;font-weight:400;color:var(--accent)}

.topic-grid h3{font-size:18px;line-height:1.35;color:var(--accent);text-transform:none}
.scope-note-outside{
  max-width:900px;
  margin:-42px 8px 46px;
  color:rgba(250,249,242,.48);
  font-size:12px;
  line-height:1.55;
}

.therapy-card .steps h3,
.therapy-card .steps h3 strong{
  margin:0 0 10px;
  font-size:18px;
  line-height:1.4;
  color:var(--accent);
}
.therapy-price{margin:0 0 8px;color:var(--ink)!important}
.therapy-price strong{font-size:18px;font-weight:600;color:var(--ink)}

.documents h2{max-width:520px}
.document-links button{font-size:16px;font-weight:400;line-height:1.45}
.document-links button b{font-size:13px;font-weight:400;color:var(--accent)}

.article-card h3{font-size:18px;line-height:1.4;color:var(--ink);text-transform:none}
.card-action,.read-time,#result-count,.search-hint{font-size:13px}

.faq h2{margin-bottom:12px}
.details-list details{padding:20px 0}
.details-list summary{font-size:16px;font-weight:400;line-height:1.5;color:var(--ink);text-transform:none}

.social-card h2{margin:0}
.social-caption,.social-caption b{font-size:13px;font-weight:400}

@media(max-width:980px){
  .site-header nav{top:78px}
}

@media(max-width:640px){
  .site-header{min-height:72px;padding:0 16px}
  .header-identity{align-items:flex-start;flex-direction:column;gap:1px}
  .header-identity span{font-size:11px;line-height:1.15}
  .header-identity strong{font-size:17px;line-height:1.2}
  .menu-button{padding:9px 14px;font-size:15px}
  .site-header nav{top:72px}
  .meadow-hero{min-height:calc(100svh - 72px)}
  .page-card h2,.articles-head h2{font-size:28px;line-height:1.25}
  .qr-row{grid-template-columns:92px minmax(0,1fr);gap:14px}
  .qr-small{width:92px;height:92px}
  .scope-note-outside{margin:-14px 4px 34px;font-size:12px}
  .document-links button{font-size:16px}
  .article-card h3{font-size:18px}
  .details-list summary{font-size:16px}
}

/* v34 — окончательная иерархия, порядок блоков и полные изображения */
.meadow-hero{min-height:72svh}

.contact-card{padding:clamp(18px,2vw,24px)}
.contact-card .contact-left h2{margin-bottom:12px}
.contact-card .copy-email{padding:10px 14px}
.contact-card .copy-status{margin:6px 0 0;min-height:0}
.contact-card .copy-status:empty{display:none}
.contact-card .qr-row{margin-top:12px;padding-top:12px;gap:12px}
.contact-card .qr-caption{margin-bottom:4px;font-size:13px;line-height:1.4}
.contact-card .contact-left{max-width:620px}
.contact-card .copy-email{max-width:620px}
.contact-card .qr-row{max-width:620px}
.about-card .contact-note{max-width:620px;margin:0}

.therapy-card .steps article{display:block}
.therapy-price{margin:0 0 10px!important}
.therapy-price strong{
  display:block;
  font-size:clamp(28px,3.4vw,42px);
  font-weight:700;
  line-height:1.15;
  color:var(--ink);
}
.therapy-price + p{margin:0}

.documents h2{
  max-width:520px;
  margin:0;
  font-size:clamp(22px,2.4vw,30px);
  line-height:1.35;
}
.documents h2 em{font-style:normal;color:var(--accent)}

.article-card h3,
.details-list summary{
  font-size:18px;
  line-height:1.45;
  font-weight:400;
  letter-spacing:0;
  text-transform:none;
}

.card-image{background:rgba(2,38,25,.72)}
.card-image img{object-fit:contain;object-position:center}

@media(max-width:640px){
  .meadow-hero{min-height:58svh}
  .contact-card{margin-top:18px}
  .about-card .contact-right{order:0}
  .documents h2{font-size:22px;line-height:1.4}
  .therapy-price strong{font-size:30px}
  .article-card h3,.details-list summary{font-size:18px;line-height:1.45}
  .card-image{height:auto;aspect-ratio:4/3}
  .card-image img{width:100%;height:100%;object-fit:contain}
}

/* v35 — обновлённый блок «Обо мне» и единая линия поиска статей */
.about-copy{
  display:grid;
  gap:16px;
  max-width:680px;
}
.about-copy p{
  margin:0;
  color:var(--ink);
}
.search-wrap{
  padding:0;
  border:0;
  background:transparent;
  border-radius:0;
  text-align:left;
}
.search-wrap label,
.search-hint,
#result-count{text-align:left}
.search-box,
.articles-toggle{
  box-sizing:border-box;
  width:100%;
}
.articles-toggle{
  justify-content:space-between;
  text-align:left;
}

@media(max-width:980px){
  .articles-head{align-items:start}
}

/* v36 — цельное крупное имя в верхней панели */
.header-identity strong{
  font-family:Prata,Georgia,"Times New Roman",serif;
  font-size:clamp(20px,2.1vw,27px);
  font-weight:400;
  line-height:1.2;
  letter-spacing:-.025em;
  color:var(--ink);
}

@media(max-width:640px){
  .header-identity{
    flex-direction:row;
    align-items:center;
    white-space:nowrap;
  }
  .header-identity strong{font-size:18px}
}

/* v37 — выравнивание текста блока «Обо мне» по ширине */
.about-copy p{
  text-align:justify;
  text-justify:inter-word;
  hyphens:auto;
  -webkit-hyphens:auto;
}
/* Threads card stack; live API items replace the initial approved set. */
.threads-panel{overflow:hidden;min-height:650px}
.threads-panel[hidden],.threads-controls[hidden]{display:none!important}
.threads-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:28px;margin-bottom:28px}
.threads-heading h2{margin-bottom:0}
.threads-controls{display:flex;align-items:center;gap:12px;flex:0 0 auto}
.threads-controls button{width:44px;height:44px;border:1px solid var(--accent);border-radius:0;background:transparent;color:var(--ink);cursor:pointer;font-size:20px;line-height:1}
.threads-controls button:hover{background:rgba(221,244,95,.1)}
.threads-controls span{min-width:64px;text-align:center;color:var(--muted);font-size:13px;font-variant-numeric:tabular-nums}
.threads-stage{height:390px;position:relative;isolation:isolate;touch-action:pan-y}
.thread-slide{position:absolute;left:7%;top:50px;width:86%;min-height:270px;padding:26px 28px;border:1px solid rgba(3,49,33,.18);background:#f8f7f1;color:#123b2c;box-shadow:0 24px 55px rgba(0,20,12,.25);display:flex;flex-direction:column;gap:22px;transition:transform .65s cubic-bezier(.2,.75,.2,1),opacity .5s;pointer-events:none}
.thread-slide.active{z-index:4;opacity:1;transform:translate(0,0) rotate(-.5deg);pointer-events:auto}
.thread-slide.previous{z-index:3;opacity:.62;transform:translate(-6%,-11%) rotate(-3deg) scale(.94)}
.thread-slide.next{z-index:2;opacity:.48;transform:translate(7%,12%) rotate(2.5deg) scale(.93)}
.thread-slide.hidden-card{z-index:1;opacity:0;transform:translate(15%,22%) rotate(5deg) scale(.88)}
.thread-author{display:flex;align-items:center;gap:13px;padding-bottom:16px;border-bottom:1px solid rgba(3,49,33,.18)}
.thread-author>span{width:43px;height:43px;display:grid;place-items:center;border-radius:50%;background:#0b4b34;color:#fff;font-size:12px;font-weight:600}
.thread-author>div{display:grid;gap:2px}
.thread-author b{font-size:15px;font-weight:600;color:#123b2c}
.thread-author small{font-size:12px;color:#668074}
.thread-slide p{margin:0;color:#173f31;font-size:clamp(17px,1.8vw,22px);line-height:1.45}
.thread-slide a{margin-top:auto;align-self:flex-start;color:#2f6c46;font-size:12px;letter-spacing:.06em;text-transform:uppercase}
@media(max-width:640px){.threads-panel{min-height:620px}.threads-heading{align-items:flex-start;flex-direction:column}.threads-controls{width:100%;justify-content:space-between}.threads-stage{height:400px}.thread-slide{left:4%;width:92%;min-height:290px;padding:22px 20px}.thread-slide.previous{transform:translate(-3%,-8%) rotate(-2deg) scale(.96)}.thread-slide.next{transform:translate(3%,10%) rotate(2deg) scale(.95)}}

/* Legal documents use white paper independently of the meadow theme. */
.documents{display:block}
#document-dialog{background:#fff;color:#202923;border:0;border-radius:8px;width:min(860px,calc(100% - 24px));color-scheme:light}
#document-dialog .dialog-content{padding:28px clamp(20px,5vw,48px) 36px}
#document-dialog .dialog-content h2{color:#183225;font-size:clamp(24px,4vw,32px);margin:12px 32px 20px 0}
#document-dialog .eyebrow,#document-dialog .section-lead,#document-dialog .legal-note,#document-dialog #document-points{color:#283c30}
#document-dialog #document-points{font:16px/1.65 Arial,sans-serif;overflow-wrap:anywhere}
#document-dialog #document-points h3{color:#183225;font:700 19px/1.35 Arial,sans-serif;margin:28px 0 12px}
#document-dialog #document-points p{margin:0 0 16px}
#document-dialog .dialog-close{position:sticky;display:block;float:right;top:12px;margin:12px 12px 0 0;right:12px;background:#fff;color:#183225;border:1px solid #b7c5bc;border-radius:50%;width:40px;height:40px;z-index:5}
#document-dialog a{color:#24553a}
.document-is-open{overflow:hidden}
.document-downloads{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0 24px}
.document-downloads a{padding:9px 13px;border:1px solid #a4b8ab;border-radius:4px;text-decoration:none;font:14px/1.4 Arial,sans-serif}
.documents-instruction{font-size:15px;line-height:1.65;margin:16px 0 22px}
.documents .document-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.documents .document-card{background:#fff;color:#243c2d;padding:18px;border:1px solid #ced7d0;border-radius:5px;min-width:0}
.documents .document-card .document-kind{font:12px/1.5 Arial,sans-serif;color:#57705e;margin:0 0 9px}
.documents .document-card>button{display:flex;align-items:start;gap:12px;justify-content:space-between;color:#233f2c;background:none;border:0;padding:0;width:100%;text-align:left;font:16px/1.45 Arial,sans-serif;cursor:pointer}
.documents .document-card>button b{font-size:12px;font-weight:400;flex-shrink:0;color:#426c50}
.document-card-downloads{display:flex;gap:16px;flex-wrap:wrap;margin-top:14px}
.documents .document-card-downloads a{color:#335c40;font:13px/1.5 Arial,sans-serif;text-underline-offset:3px}
.contact-actions{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 8px}
.contact-actions a{color:var(--ink);font-size:13px;text-underline-offset:4px}
.contact-action-note{font-size:11px;line-height:1.45;max-width:330px;margin:0 0 8px;opacity:.85}
.booking-flow{margin-top:22px;padding-top:18px;border-top:1px solid rgba(255,255,255,.25)}
.booking-flow h3{font-size:21px;margin:0 0 16px}
.booking-flow ol{padding-left:22px;margin:0;display:grid;gap:12px;font-size:15px;line-height:1.65}
.booking-flow li{padding-left:4px}
.booking-cancellation{font-size:14px;line-height:1.65;margin:18px 0 0}
.inline-document{font:inherit;color:inherit;background:none;border:0;border-bottom:1px solid currentColor;padding:0;cursor:pointer;text-align:left}
@media(max-width:600px){.documents .document-links{grid-template-columns:1fr}#document-dialog .dialog-content{padding-top:16px}.contact-actions{gap:6px 12px}}
