/* Редакционный стиль: тёмный индиго, светлые панели, тонкие линии */
:root{--bg:#f0f2f2;--surface:#fff;--ink:#142536;--muted:#5b6c78;--teal:#345367;--teal-dark:#172f41;--coral:#a87b62;--coral-soft:#eee5dd;--mint-soft:#e3ebee;--yellow:#e9dcc9;--yellow-soft:#f3ece3;--line:#d8e0e3}
body{background:#071a2b;color:#142536}
header{background:#0b2031;border-bottom:1px solid rgba(212,231,238,.16);color:#fff}
header .nav{max-width:1440px}
header .nav-links a,header .ts-link{color:#e0e7e9}
header .nav-links a:hover,header .ts-link:hover{color:#fff}
header .logo-text small{color:#bfced4}
header .burger span{background:#fff}
header .btn-coral{background:#f1e7da;color:#102737}
@media(max-width:1150px){header .nav-links{background:#10283a}header .nav-links li{border-color:rgba(255,255,255,.15)}}
.hero{position:relative;max-width:1424px;margin:8px auto 0;border:1px solid rgba(220,239,246,.24);border-radius:24px;background-image:linear-gradient(90deg,rgba(4,21,37,.97) 0%,rgba(5,24,40,.80) 49%,rgba(7,28,42,.27) 100%),url('/img/hero-navy-water.jpg');background-size:cover;background-position:center;min-height:590px;display:flex;align-items:center;color:#f7f7f5;padding:84px 0;overflow:hidden}
.hero .wrap{width:100%}.hero-grid > [data-fill="hero"]{max-width:790px}
.hero h1{font-family:Georgia,'Times New Roman',serif;font-size:clamp(42px,5.5vw,75px);font-weight:400;letter-spacing:-.035em;line-height:1.06;max-width:850px;color:#fff}
.hero .goal,.hero .goal b,.hero .price-note,.hero .hero-note,.hero .hero-note b{color:#e5edf0}
.hero .goal{font-weight:400;font-size:18px}.hero .price-note span{color:#f0d4bd}
.hero .tag{background:rgba(255,255,255,.10);color:#e7eef0;border:1px solid rgba(255,255,255,.22);letter-spacing:.12em}
.hero .pill{background:rgba(255,255,255,.09);border-color:rgba(255,255,255,.22);color:#eef4f4;box-shadow:none}
.btn{border-radius:999px;box-shadow:inset 0 1px 1px rgba(255,255,255,.38),0 9px 18px -12px rgba(4,23,36,.7);text-shadow:none}
.btn-coral{background:#efe2d3;color:#112838;box-shadow:inset 0 1px 1px #fff,0 9px 20px -12px #071a2b}
.btn-coral:hover{background:#fff4e6}.btn-teal{background:#173448;color:white}.btn-outline{color:#173448;border-color:#728a99;background:transparent}
.hero .btn-outline{color:white;border-color:rgba(255,255,255,.65);background:rgba(255,255,255,.06)}
.stats,main#main>section,main#main>.learn,main#main>.ages,main#main>.booking,main#main>.about,main#main>.mat,main#main>.final-cta{max-width:1424px;margin:8px auto;border-radius:23px;overflow:hidden}
main#main>section{background:#f3f4f2;border:1px solid rgba(255,255,255,.35)}
main#main>section.learn,main#main>section.about,main#main>section.ages,main#main>section.mat,main#main>section.booking{background:linear-gradient(135deg,#f7f7f4 0%,#e5ebed 100%);border:1px solid #fff}
main#main>section h2,.blog-hero h1,.article h1{font-family:Georgia,'Times New Roman',serif;font-weight:400;letter-spacing:-.035em}
main#main>section h2{font-size:clamp(32px,4vw,48px)}
.tag,.tag.coral,.tag.yellow{background:#e4ebee;color:#334e60}
.stats{background:linear-gradient(110deg,#102d41,#385464);border:1px solid rgba(255,255,255,.22);color:#f0f5f6}
.stat b,.stat b .plus{color:#fff}.stat span,.stats .disclaimer{color:#c6d6dd}
.req,.learn-card,.step,.inc-card,.appr,.method,.rev-card,.mat-card,.quiz-card,.form-card,.post-card,.faq-item{background-image:linear-gradient(155deg,#fff 0%,#eff3f3 100%);background-color:#fff;border-color:#d4dee2;box-shadow:inset 0 1px 0 #fff,0 14px 34px -26px #526b7a}
.learn-num,.learn-card:nth-child(n) .learn-num{background-image:linear-gradient(160deg,#a8c0ca,#365a6c)}
.step .n,.step:nth-child(n) .n{background:linear-gradient(145deg,#698b9d,#1a3b50);color:white;box-shadow:inset 0 1px 2px #b9d1dc,0 8px 15px -10px #1a3b50}
.step .when,.step:nth-child(n) .when{background:#e1ebee;color:#29495b}
main#main>.final-cta{background:linear-gradient(120deg,#0c2538,#365569);color:#f3f8fa;border:1px solid rgba(255,255,255,.2)}
.final-cta h2,.final-cta p{color:#f3f8fa}.final-note{color:#c4d2d9}
footer{max-width:1424px;margin:auto;background:#071a2b;color:#c3d0d6}footer a{color:#c3d0d6}footer .foot-title{color:#f4f7f7}
.blog-hero,.article{color:#152b3a}.blog-hero{background:#f2f4f3;margin:8px auto 0;max-width:1424px;border-radius:24px 24px 0 0}.blog-hero+.wrap{background:#f2f4f3}
body:has(.article) {background:#f0f2f2}body:has(.article) footer{max-width:none}
body:has(.blog-hero){background:#f0f2f2}body:has(.blog-hero) footer{max-width:none}
.post-card{color:#142536}.post-more{color:#375a70}.post-cat{background:#e3ebee;color:#244357}
.copy-phone{color:#23475c;background:#eef3f4;border-color:#bdced5}
@media(max-width:640px){.hero{margin:4px 6px 0;min-height:560px;padding:56px 0;background-image:linear-gradient(90deg,rgba(4,21,37,.95),rgba(5,24,40,.76)),url('/img/hero-navy-water.jpg')}.hero h1{font-size:42px}.stats,main#main>section{margin:6px;border-radius:18px}.hero .goal{font-size:16px}}

/* Единый дизайн всех разделов и подвала */
main#main>section#zaprosy,main#main>section#otzyvy,main#main>section#blog-preview{
 background:linear-gradient(125deg,#0b2336 0%,#193b50 70%,#315466 100%);
 border:1px solid rgba(209,226,234,.23);color:#f3f6f6;
}
#zaprosy .sec-head h2,#otzyvy .rev-top h2,#blog-preview .sec-head h2{color:#f6f8f7}
#zaprosy .sub,#otzyvy .sub,#blog-preview .sub{color:#c8d6dd}
#zaprosy .tag,#otzyvy .tag,#blog-preview .tag{background:rgba(255,255,255,.12);color:#f1f6f7;border:1px solid rgba(255,255,255,.2)}
#zaprosy .req,#otzyvy .rev-card,#blog-preview .post-card{color:#142536;background-image:linear-gradient(150deg,#fbfcfb,#e7edef);border:1px solid #dee7ea;box-shadow:inset 0 1px 0 #fff,0 16px 30px -20px rgba(0,0,0,.55)}
#zaprosy .req p,#otzyvy .rev-card p,#blog-preview .post-body p{color:#526775}
#blog-preview .btn-outline{color:#edf5f7;border-color:#b8cbd4;background:rgba(255,255,255,.06)}
#blog-preview .btn-outline:hover{background:#e9f0f2;color:#10283b}
.myth-card{background:linear-gradient(125deg,#e7edef,#f7f6f2);border-color:#d5e0e4}
.myth-card .label{color:#45677a}.myth-card p{color:#536976}
.bg-mint,.bg-coral,.bg-yellow,.bg-teal,.bg-lav,.bg-pink,.bg-blue{background:linear-gradient(155deg,#f5f8f9,#cbdbe1)}
.mat-cover{color:#294f63;border:1px solid rgba(255,255,255,.8)}
.spec-photo .frame{background:linear-gradient(145deg,#d4e2e8,#9db6c2)}
.exp-badge{background:linear-gradient(145deg,#42667a,#162f42);box-shadow:0 14px 26px -14px #0c2638}
.tab-btn.active,.cat-btn.active{background:#1c3e53;border-color:#1c3e53;color:white}
.practice{background:linear-gradient(140deg,#0d293d,#36576a)}
.practice p,.practice .big small{color:#d3e1e6}.practice .big{color:#f1e3d4}
.rev-card .stars{color:#a18164}
.modal{background:linear-gradient(150deg,#fff,#e9f0f2);border:1px solid #d0dce1;box-shadow:0 30px 80px rgba(0,0,0,.4)}
.ai-toggle{background:#24485d;border-color:#dbe7eb}.ai-header,.ai-send{background:#1e4054}.ai-msg.user{background:#294d61}
footer{position:relative;background:linear-gradient(130deg,#081c2c,#122f42);border:1px solid rgba(216,233,239,.2);border-radius:23px 23px 0 0;padding:70px 0 28px;color:#cad7dd}
footer .foot-grid{gap:44px}
footer .foot-title{color:#f6f8f7;letter-spacing:.14em;font-size:12px}
footer a,footer li{color:#c4d4da}
footer a:hover{color:#fff}
footer .foot-logo .logo-text small{color:#b8ccd5}
footer .socials a{background:linear-gradient(145deg,#284c61,#102b3d);border-color:#537080;box-shadow:inset 0 1px 1px #7993a0,0 8px 15px -9px #000}
footer .socials a:hover{background:#e4e9e9;border-color:#e4e9e9}
footer .foot-bottom{border-color:rgba(214,231,236,.19);color:#a8bbc4}
footer .copy-phone{display:inline-flex;margin:8px 0 0;background:#203f52;border:1px solid #638193;color:#f4f7f7}
body:has(.blog-hero) footer,body:has(.article) footer{margin-top:32px}
@media(max-width:640px){footer{margin:6px 6px 0;border-radius:18px 18px 0 0;padding:46px 0 24px}footer .foot-grid{gap:30px}.hero h1{font-size:clamp(29px,8vw,42px);overflow-wrap:anywhere}}

.custom-pages-footer{padding:22px 0 28px;border-top:1px solid rgba(214,231,236,.19)}.custom-pages-list{display:flex;flex-wrap:wrap;gap:14px 24px}

/* Убираем контурные полосы по краям крупных блоков. */
.hero,.stats,main#main>section,main#main>section.learn,main#main>section.about,main#main>section.ages,main#main>section.mat,main#main>section.booking,main#main>section#zaprosy,main#main>section#otzyvy,main#main>section#blog-preview,main#main>.final-cta,footer{border:0;outline:0}
.custom-section{border:0;outline:0}

/* Длинные заголовки и отступ кнопки копирования */
.article h1 { overflow-wrap: anywhere; }
footer .copy-phone { margin-left: 14px; }

/* Список направлений доступен по кнопке рядом с пунктом меню. */
header .nav-direction{display:flex;align-items:center;gap:4px;position:relative}
header .direction-menu summary{list-style:none;cursor:pointer;color:#fff;font-size:20px;line-height:1;padding:4px 5px;border-radius:6px}
header .direction-menu summary::-webkit-details-marker{display:none}
header .direction-menu summary:focus-visible{outline:2px solid #fff}
header .direction-menu-list{position:absolute;top:100%;left:0;min-width:270px;max-height:min(70vh,520px);overflow:auto;padding:8px;background:#10283a;border-radius:12px;box-shadow:0 10px 25px rgba(0,0,0,.3);z-index:250}
header .direction-menu-list a{display:block;padding:9px 12px;color:#fff;white-space:normal;font-size:14px}
header .direction-menu-list a:hover{background:rgba(255,255,255,.1)}
.hero-test-link{display:inline-block;margin-top:10px;color:#eef7fa;text-decoration:underline;text-underline-offset:4px}
@media(max-width:1150px){
 header .nav-links{max-height:calc(100vh - 80px);overflow-y:auto}
 header .nav-direction{flex-wrap:wrap;justify-content:space-between}
 header .nav-direction .direction-menu{position:static}
 header .direction-menu-list{position:static;width:100%;max-height:none;box-shadow:none;padding:0 0 8px 12px}
 header .direction-menu[open]{flex-basis:100%}
 header .direction-menu[open] summary{position:absolute;right:0;top:14px}
 header .direction-menu-list a{padding:9px 4px;font-size:14px;white-space:normal}
}

/* Аккуратное копирование номера под кнопками на первом экране. */
.hero .hero-cta{margin-bottom:0}
.hero .hero-copy-phone{display:inline-flex;align-items:center;gap:7px;margin:13px 0 8px;padding:8px 14px;border:1px solid rgba(187,235,235,.48);border-radius:999px;background:rgba(13,45,63,.76);color:#ecf7f7;font-size:12px;font-weight:700;line-height:1.3;cursor:pointer}
.hero .hero-copy-phone::before{content:'⧉';font-size:15px;line-height:1;color:#9ce4df}
.hero .hero-copy-phone:hover{background:#1f5264;color:#fff}
.hero .hero-copy-phone:focus-visible{outline:2px solid #9ce4df;outline-offset:3px}

/* Убираем оформление FAQ с раскрывающегося меню в шапке. */
header details.direction-menu,header details.direction-menu[open]{background:transparent;background-image:none;border:0;box-shadow:none;border-radius:0;overflow:visible}
header .direction-menu summary{display:flex;align-items:center;justify-content:center;color:#d6eeef;font-weight:700}

/* Телефон и копирование в подвале не прижимаются друг к другу. */
footer .footer-phone-row{display:flex;align-items:center;flex-wrap:wrap;column-gap:20px;row-gap:10px}
footer .footer-phone-row .copy-phone{margin:0;flex:0 0 auto}
footer .footer-phone-row #fPhone{white-space:nowrap}

/* Общее меню в шапке: единая кнопка справа на всех экранах. */
header .nav>.btn{margin-left:auto}
header .burger{display:block;flex:0 0 auto;min-width:44px;min-height:44px;margin-left:0;border-radius:10px}
header .burger:focus-visible{outline:2px solid #9ce4df;outline-offset:2px}
header .nav-links{position:fixed;top:80px;left:auto;right:max(12px,calc((100vw - 1424px)/2));width:min(390px,calc(100vw - 24px));max-height:calc(100vh - 92px);overflow-y:auto;display:flex;flex-direction:column;align-items:stretch;gap:0;padding:10px 20px 18px;background:#10283a;border-radius:0 0 18px 18px;box-shadow:0 18px 35px rgba(0,0,0,.28);z-index:199;transform:translateY(-12px);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .2s,transform .2s,visibility .2s}
header .nav-links.open{transform:none;opacity:1;visibility:visible;pointer-events:auto}
header .nav-links li{border-bottom:1px solid rgba(255,255,255,.14)}
header .nav-links a{display:block;padding:14px 0;font-size:15.5px;white-space:normal}
header .nav-direction{flex-wrap:wrap;justify-content:space-between}
header .nav-direction .direction-menu{position:static}
header .direction-menu[open]{flex-basis:100%}
header .direction-menu[open] summary{position:absolute;right:0;top:12px}
header .direction-menu-list{position:static;width:100%;max-height:none;overflow:visible;box-shadow:none;padding:0 0 8px 12px}
header .direction-menu-list a{padding:9px 4px;font-size:14px;white-space:normal}
header .direction-menu summary{width:36px;height:36px;font-size:24px}
@media(max-width:1150px){header .burger{margin-left:auto}}
@media(prefers-reduced-motion:reduce){header .nav-links{transition:none}}
@media(max-width:360px){header .wrap.nav{padding-left:12px;padding-right:12px;gap:6px}}

/* Кнопка копирования номера: компактная, в стиле сайта. */
button.copy-phone{
  display:inline-flex;align-items:center;justify-content:center;gap:7px;
  min-height:36px;padding:8px 14px;border:1px solid #a9d8d5;border-radius:999px;
  background:linear-gradient(145deg,#fff,#e4f2f0);color:#25485b;
  font-family:inherit;font-size:12px;font-weight:700;line-height:1.25;
  box-shadow:inset 0 1px 1px rgba(255,255,255,.95),0 3px 0 #b7d5d2,0 6px 13px rgba(24,70,75,.18),0 0 9px rgba(102,225,211,.25);
  cursor:pointer;transition:transform .2s,box-shadow .2s,background .2s;
}
button.copy-phone::before{content:'⧉';font-size:15px;line-height:1;color:#268b85}
button.copy-phone:hover{background:linear-gradient(145deg,#fff,#d3eeea);transform:translateY(-1px)}
button.copy-phone:focus-visible{outline:2px solid #38aaa2;outline-offset:3px}
footer button.copy-phone,.hero button.hero-copy-phone{background:linear-gradient(145deg,#345f70,#173b4e);border-color:#72bdb8;color:#fff;box-shadow:inset 0 1px 1px rgba(255,255,255,.24),0 3px 0 #0b2a39,0 7px 15px rgba(0,0,0,.25),0 0 10px rgba(85,215,204,.2)}
footer button.copy-phone::before,.hero button.hero-copy-phone::before{color:#a4ece4}
footer button.copy-phone:hover,.hero button.hero-copy-phone:hover{background:linear-gradient(145deg,#407c86,#245469)}

/* На ПК телефон остаётся активной ссылкой, но выглядит как номер, а не кнопка. */
.phone-label-desktop{display:none}
@media (min-width: 769px){
  a.responsive-phone-link{display:inline-flex;align-items:center;justify-content:center;padding:8px 4px!important;min-height:40px;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;color:inherit!important;font-size:18px!important;font-weight:800;text-decoration:none;transform:none!important}
  a.responsive-phone-link:hover{color:#f47b60!important;text-decoration:underline}
  a.responsive-phone-link .phone-label-mobile{display:none}
  a.responsive-phone-link .phone-label-desktop{display:inline}
}

/* Пункты шапки видны на больших экранах, направления открываются по трём полоскам. */
header .direction-menu summary{font-size:20px;line-height:1}
@media (min-width:1151px){
  header .wrap.nav{max-width:1424px;gap:clamp(8px,1vw,16px)}
  header .nav>.btn{margin-left:0;flex:0 0 auto}
  header .burger{display:none}
  header .nav-links,header .nav-links.open{position:static;inset:auto;width:auto;max-height:none;overflow:visible;display:flex;flex:1 1 auto;flex-direction:row;justify-content:center;align-items:center;gap:clamp(7px,1vw,16px);padding:0;background:none;border:0;border-radius:0;box-shadow:none;transform:none;opacity:1;visibility:visible;pointer-events:auto;transition:none}
  header .nav-links li{border:0;flex:0 0 auto}
  header .nav-links a{display:inline-block;padding:8px 0;font-size:clamp(12px,1vw,14px);white-space:nowrap}
  header .nav-direction{position:relative;flex-wrap:nowrap;justify-content:flex-start;gap:3px}
  header .nav-direction .direction-menu,header .direction-menu[open]{position:static;flex-basis:auto}
  header .direction-menu[open] summary,header .direction-menu summary{position:static;width:32px;height:36px;font-size:19px}
  header .direction-menu-list{position:absolute;top:100%;left:0;width:285px;max-height:min(70vh,520px);overflow:auto;padding:8px;background:#10283a;box-shadow:0 10px 25px rgba(0,0,0,.3)}
  header .direction-menu-list a{display:block;padding:9px 12px;font-size:14px;white-space:normal}
}

/* Навигационная цепочка внутренних страниц. */
.breadcrumbs{padding-top:20px;padding-bottom:0;font-size:13px;line-height:1.5;color:#546f7a}
.breadcrumbs[hidden]{display:none}
.breadcrumbs ol{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 9px;list-style:none;margin:0;padding:0}
.breadcrumbs li{display:inline;overflow-wrap:anywhere}
.breadcrumbs li+li::before{content:'›';color:#91a7ae;margin-right:9px}
.breadcrumbs a{color:#2d6876;text-decoration:none;font-weight:700}
.breadcrumbs a:hover{text-decoration:underline}
.breadcrumbs a:focus-visible{outline:2px solid #38aaa2;outline-offset:3px}
.breadcrumbs [aria-current="page"]{color:#526775}

/* Номер на ПК — без рамки и подсветки кнопки; фокус с клавиатуры сохраняется. */
@media (min-width:769px){
  a.btn.responsive-phone-link,
  a.btn.responsive-phone-link:hover,
  a.btn.responsive-phone-link:active{
    border:0!important;outline:none;box-shadow:none!important;background:transparent!important;
    -webkit-backdrop-filter:none!important;backdrop-filter:none!important;
  }
  a.btn.responsive-phone-link:focus-visible{outline:2px solid #72c7c0;outline-offset:4px}
}

/* Приглашение к тесту на первом экране. */
.hero .hero-test-link{display:inline-flex;align-items:center;gap:11px;max-width:100%;margin-top:13px;padding:10px 15px;border:1px solid rgba(141,223,217,.55);border-radius:16px;background:linear-gradient(135deg,rgba(42,103,114,.82),rgba(20,54,73,.9));color:#f5ffff;text-decoration:none;box-shadow:inset 0 1px 1px rgba(255,255,255,.2),0 5px 0 rgba(5,33,45,.45),0 8px 18px rgba(3,24,36,.25),0 0 12px rgba(96,224,211,.18);transition:transform .2s,background .2s}
.hero .hero-test-link:hover{transform:translateY(-2px);background:linear-gradient(135deg,rgba(54,131,137,.94),rgba(30,75,91,.95))}
.hero .hero-test-link>span:nth-child(2){display:flex;flex-direction:column;gap:2px;text-align:left}
.hero .hero-test-link b{font-size:14px;line-height:1.25}
.hero .hero-test-link small{font-size:11.5px;line-height:1.25;color:#d2e9e8}
.hero .hero-test-icon{display:flex;align-items:center;justify-content:center;flex:none;width:27px;height:27px;border-radius:50%;background:rgba(164,238,223,.2);color:#baf5e9;font-weight:800}
.quiz-result-note{margin:0 0 18px;line-height:1.6}

/* Более компактный первый экран без изменения фона и анимации. */
.hero .hero-grid h1{font-size:clamp(42px,4.5vw,64px);line-height:1.04;margin:12px 0 14px}
.hero .hero-grid .goal{margin-bottom:12px;line-height:1.48}
.hero .hero-grid .price-note{margin-bottom:12px}
.hero .hero-grid .pill-row{gap:8px;margin-bottom:12px}
.hero .hero-grid .pill{padding:6px 11px;font-size:12px}
.hero .hero-grid .hero-cta{margin-top:12px;gap:10px}
.hero .hero-cta .hero-test-link{margin:0;align-self:center;padding:9px 13px;gap:8px;border-radius:999px;white-space:normal;line-height:1.25}
.hero .hero-cta .hero-test-link b{font-size:13px}
.hero .hero-copy-phone{margin-top:9px;margin-bottom:6px}
@media(max-width:720px){
  .hero .wrap.hero-grid h1{font-size:clamp(23px,7vw,29px);line-height:1.13;margin:10px 0 13px;overflow-wrap:normal;word-break:normal}
  .hero .hero-grid .goal{font-size:15px;line-height:1.45;margin-bottom:10px}
  .hero .hero-grid .price-note{margin-bottom:10px}
  .hero .hero-grid .pill-row{margin-bottom:10px;gap:6px}
  .hero .hero-grid .pill{padding:5px 9px;font-size:11.5px}
  .hero .hero-grid .hero-cta{margin-top:10px;gap:9px}
}
/* SVG-значки не зависят от наличия символов в шрифте. */
button.copy-phone::before{
  content:''!important;display:inline-block;flex:none;width:15px;height:15px;font-size:0;
  background:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23268b85' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='8' y='8' width='12' height='13' rx='2'/%3E%3Cpath d='M16 8V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h3'/%3E%3C/svg%3E")
}
footer button.copy-phone::before,.hero button.hero-copy-phone::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a4ece4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='8' y='8' width='12' height='13' rx='2'/%3E%3Cpath d='M16 8V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h3'/%3E%3C/svg%3E")}
button#aiToggle{font-size:0!important}
button#aiToggle::before{content:'';display:block;width:25px;height:25px;background:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 11.5c0 4.1-3.6 7.5-8 7.5-1 0-2-.2-2.9-.5L5 20l.8-3.4A7 7 0 0 1 4 11.5C4 7.4 7.6 4 12 4s8 3.4 8 7.5Z'/%3E%3Cpath d='M8 11.5h.01M12 11.5h.01M16 11.5h.01' stroke-width='3'/%3E%3C/svg%3E")}

/* Фото специалиста: не схлопывается при центрировании на мобильных. */
.spec-photo{width:100%}

/* Контент доступен без JS; более крупные элементы управления. */
.reveal{opacity:1;transform:none}
.req h3{font-size:15.5px;margin-bottom:4px}.appr h3{font-size:16.5px;margin-bottom:7px}.method h3{font-size:17px;margin-bottom:6px}
@media (pointer:coarse){.nav-links a,.copy-phone,.foot-grid a,.direction-menu summary{min-height:44px;display:inline-flex;align-items:center}}

.nav > nav[aria-label="Основная навигация"]{display:contents}

/* mobile-includes-alignment-2026 */
@media(max-width:768px){
 .inc-grid{grid-template-columns:minmax(0,1fr)}
 .inc-grid>*{min-width:0}
 .practice .big{font-size:clamp(25px,7vw,36px);overflow-wrap:anywhere}
 .practice .big small{overflow-wrap:anywhere}
 .appr-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .appr{min-width:0;overflow-wrap:anywhere}
 #vozrast h2{overflow-wrap:anywhere}
}

/* tochka-contrast-fix-20261120 */
/* Заголовки и подписи на тёмных секциях. */
#etapy .sec-head h2,[data-sec="approach"] .sec-head h2,#test .sec-head h2{color:#ff6b4a}
#etapy .sec-head .sub,[data-sec="approach"] .sec-head .sub,#test .sec-head .sub{color:#d6e4ec}
/* На странице документов предусмотрена светлая подложка под тёмный текст. */
body .certs-page{background:#f3f4f2;border-radius:23px}
@media(max-width:768px){body .certs-page{margin:6px;border-radius:18px}}

/* tochka-colored-headings-20261120 */
/* Тёмные оттенки для светлого фона; светлые — для тёмного. */
h1,h2{color:#a53c29!important}
h3,h4,h5,h6{color:#11635f!important}
#vhodit h2,#vozrast h2,#materialy h2,.article-content h2{color:#62507d!important}
[data-sec="method"] .sec-head h2,#faq .sec-head h2,.certs-block h2{color:#11635f!important}
.req:nth-child(3n+2) h3,.req:nth-child(3n+2) h4,.step:nth-child(3n+2) h3,.appr:nth-child(3n+2) h3,.method:nth-child(3n+2) h3,.mat-card:nth-child(3n+2) h3{color:#a53c29!important}
.req:nth-child(3n+3) h3,.req:nth-child(3n+3) h4,.step:nth-child(3n+3) h3,.appr:nth-child(3n+3) h3,.method:nth-child(3n+3) h3,.mat-card:nth-child(3n+3) h3{color:#62507d!important}
.cert-card strong,.post-body h2,.post-body h3{color:#11635f!important}
.hero h1,#zaprosy .sec-head h2,#etapy .sec-head h2,#test .sec-head h2{color:#ffae98!important}
[data-sec="approach"] .sec-head h2,#otzyvy .rev-top h2,#blog-preview .sec-head h2{color:#9ee4d3!important}
.final-cta h2{color:#ffe1d8!important}
.practice h3{color:#b1ecde!important}
footer h1,footer h2,footer h3,footer h4,footer h5,footer h6,footer .foot-title{color:#b1ecde!important}

/* tochka-heading-complete-20261120 */
/* Главный заголовок остаётся белым. */
body .hero .hero-grid h1,body .hero .hero-grid h1 span{color:#fff!important}
/* Названия, которые свёрстаны не заголовками: вопросы и подписи блоков. */
#faq details summary{color:#006a68!important}
#faq details:nth-child(3n+2) summary{color:#a93520!important}
#faq details:nth-child(3n+3) summary{color:#704191!important}
.tab-cta b,.book-points li b{color:#006a68!important}
.book-points li:nth-child(3n+2) b{color:#a93520!important}
.book-points li:nth-child(3n+3) b{color:#704191!important}
/* Более заметные цветные названия светлых карточек. */
.learn-card h3,.req h3,.req h4,.step h3,.appr h3,.appr h4,.method h3,.method h4,.mat-card h3,.quiz-card h3,.form-card h3,.tab-panel h3,.post-body h2,.post-body h3,.cert-card strong{color:#006a68!important}
.learn-card:nth-child(3n+2) h3,.req:nth-child(3n+2) h3,.req:nth-child(3n+2) h4,.step:nth-child(3n+2) h3,.appr:nth-child(3n+2) h3,.appr:nth-child(3n+2) h4,.method:nth-child(3n+2) h3,.method:nth-child(3n+2) h4,.mat-card:nth-child(3n+2) h3,.cert-card:nth-child(3n+2) strong{color:#a93520!important}
.learn-card:nth-child(3n+3) h3,.req:nth-child(3n+3) h3,.req:nth-child(3n+3) h4,.step:nth-child(3n+3) h3,.appr:nth-child(3n+3) h3,.appr:nth-child(3n+3) h4,.method:nth-child(3n+3) h3,.method:nth-child(3n+3) h4,.mat-card:nth-child(3n+3) h3,.cert-card:nth-child(3n+3) strong{color:#704191!important}

/* tochka-unified-headings-20261120 */
/* Светлые поверхности: заголовки разделов коралловые, карточки бирюзовые. */
html body h1,html body h2{color:#a53c29!important}
html body h3,html body h4,html body h5,html body h6{color:#006a68!important}
html body #vhodit h2,html body #vozrast h2,html body #materialy h2,html body .article-content h2,
html body [data-sec="method"] .sec-head h2,html body #faq .sec-head h2,html body .certs-block h2{color:#a53c29!important}
html body .post-body h2,html body .post-body h3,html body .cert-card:nth-child(n) strong,
html body .learn-card:nth-child(n) h3,html body .req:nth-child(n) h3,html body .req:nth-child(n) h4,
html body .step:nth-child(n) h3,html body .appr:nth-child(n) h3,html body .appr:nth-child(n) h4,
html body .method:nth-child(n) h3,html body .method:nth-child(n) h4,html body .mat-card:nth-child(n) h3,
html body #faq details:nth-child(n) summary,html body .tab-cta b,html body .book-points li:nth-child(n) b{color:#006a68!important}
/* Первый экран остаётся белым. */
html body .hero .hero-grid h1,html body .hero .hero-grid h1 span{color:#fff!important}
/* Коралловые заголовки на тёмном фоне и светлая бирюза для подписей на тёмном. */
html body #zaprosy .sec-head h2,html body #etapy .sec-head h2,html body [data-sec="approach"] .sec-head h2,
html body #test .sec-head h2,html body #otzyvy .rev-top h2,html body #blog-preview .sec-head h2{color:#ff6b4a!important}
html body .final-cta h2{color:#ffe1d8!important}
html body .practice h3,html body footer h1,html body footer h2,html body footer h3,html body footer h4,
html body footer h5,html body footer h6,html body footer .foot-title{color:#b1ecde!important}

/* tochka-myth-icon-straight-202611 */
html body .myth-card .myth-mark { transform: none !important; }

/* tochka-hide-admin-gear-202611 */
html body .gear-link { display: none !important; }

/* two-directions-202611 */
.speech-directions-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:stretch}
.speech-directions-grid .inc-card{min-width:0}
.speech-directions-grid .inc-card h3{color:#075b60;font-size:clamp(23px,2.5vw,30px);margin:0}
.speech-directions-grid .inc-list{grid-template-columns:minmax(0,1fr)}
.speech-directions-practice{margin-top:24px}
@media(max-width:720px){.speech-directions-grid{grid-template-columns:minmax(0,1fr);gap:16px}.speech-directions-grid .inc-card{padding:24px}}

/* requests-two-groups-202611 */
#zaprosy .requests-two-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px;align-items:start}
#zaprosy .requests-group{min-width:0}
#zaprosy .requests-group>h3{font-size:clamp(24px,2.7vw,32px);color:#075b60;margin:0 0 18px}
#zaprosy .requests-group .req-grid{grid-template-columns:minmax(0,1fr)}
#zaprosy .requests-group .req{min-width:0}
#zaprosy .requests-group .req>div:last-child{min-width:0;overflow-wrap:anywhere}
@media(max-width:720px){#zaprosy .requests-two-groups{grid-template-columns:minmax(0,1fr);gap:30px}}

/* request-card-full-width-202611 */
#zaprosy .requests-group .req-grid .req:last-child:nth-child(n){grid-column:auto;justify-self:stretch;width:100%}

/* directions-two-columns-202611 */
.directions-two-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:28px 0 40px}
.article-content .directions-column{min-width:0;padding:28px;border-radius:22px;background:linear-gradient(145deg,#fff,#eaf7f5);box-shadow:0 12px 26px rgba(4,36,50,.13),inset 0 1px 0 #fff;overflow-wrap:anywhere}
.article-content .directions-column h2{color:#075b60!important;margin:0 0 18px}
.article-content .directions-column p{margin:0 0 14px}
@media(max-width:720px){.directions-two-columns{grid-template-columns:minmax(0,1fr);gap:16px}.article-content .directions-column{padding:22px}}
