/* PREMIUM — візуальний шар 25.10.2026. Замінює material-system.css і refine.css; розкладка й функції лишаються у v3.css/v3.js.
   Ідея: «нічний гараж кастом-майстра × точність хірурга». Чіткі шари:
   1) фон сторінки — майже чорний теплий, ледь помітне зерно;  2) поверхні — темний графіт-коричневий з тонкою лінією;
   3) акцентні «нашивки» — шкіра з прострочкою (ціни, контакти);  4) рамки фото — тонкий сталевий безель;
   5) металеві іконки — великі, на темному, без рамок;  6) дерево — один раз, у розділі «Життя поза кабінетом». */

@font-face{font-family:'Cormorant Garamond';font-style:italic;font-weight:500 600;font-display:swap;src:url('assets/cormorant-italic-500-cyrillic.woff2') format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Cormorant Garamond';font-style:italic;font-weight:500 600;font-display:swap;src:url('assets/cormorant-italic-500-latin.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

:root{
  --bg:#282b2f;--bg-2:#2c2f33;--surface:#303337;--surface-2:#36393d;--line:#414448;--line-2:#53565a;
  --ink:#f2eadf;--ink-2:#d2c4b1;--ink-3:#9d907f;--copper:#cf8a58;--copper-2:#e9b689;
  --steel:linear-gradient(180deg,#f6f3ec 0%,#cfccc4 36%,#76726b 50%,#dedbd3 63%,#a8a49c 100%);
  --bezel:linear-gradient(145deg,#77726a,#3d4044 32%,#8a847b 55%,#404347 78%,#6a6d71);
  --serif:'Cormorant Garamond',Georgia,'Times New Roman',serif;
  --leather:url('assets/saddle-leather.png');--wood:url('assets/smoked-wood.jpg');
  --pad:clamp(20px,6vw,96px);--radius:10px
}

/* ---------- Основа ---------- */
html{background:var(--bg)}
body{background:transparent;color:var(--ink);font-size:16px;-webkit-font-smoothing:antialiased}
body:before{content:'';position:fixed;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(ellipse 70% 50% at 50% 0,#36393d55,transparent 70%),var(--leather) center/cover no-repeat;opacity:.55;filter:brightness(.24) saturate(.6)}
.site-shell{width:100%;max-width:none;margin:0;padding:0;border:0;border-image:none;background:transparent;box-shadow:none}
.side-rail{display:none}
::selection{background:#cf8a5855;color:#fff}

/* ---------- Типографіка ---------- */
body h2{font-family:var(--head);font-weight:600;text-transform:uppercase;font-size:clamp(42px,5.2vw,82px);line-height:.98;letter-spacing:.005em;color:var(--ink)}
body h2 .soft{display:inline-block;margin-top:.12em;font-family:var(--serif);font-style:italic;font-weight:500;text-transform:lowercase;letter-spacing:0;font-size:.86em;line-height:1;color:var(--copper-2)}
body h2 .copper{color:var(--copper-2)}
body h3{font-family:var(--head);font-weight:500;letter-spacing:.01em}
body .eyebrow{font-family:var(--body);font-size:12px;font-weight:700;letter-spacing:.22em;line-height:1.5;color:var(--copper);text-transform:uppercase}
body .section-note{font-size:17px;line-height:1.65;color:var(--ink-2);max-width:380px}
body p{color:var(--ink-2)}
body .chrome{background:var(--steel);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:#d7d4cc;text-shadow:none;filter:drop-shadow(0 6px 22px #0009)}
body .copper{color:var(--copper)}

/* ---------- Кнопки й посилання ---------- */
body .button{min-height:56px;padding:0 24px;gap:22px;font-size:15px;font-weight:700;letter-spacing:.02em;border-radius:999px;border:1px solid transparent}
body .button.primary{background:linear-gradient(180deg,#eab386,#c47e4e);color:#1a110a;border-color:#f3c9a3;box-shadow:inset 0 1px 0 #ffffff66,0 14px 34px -14px #d08a58aa}
body .button.primary:hover{background:linear-gradient(180deg,#f2c196,#cf8a58)}
body .button.secondary{background:#ffffff08;color:var(--ink);border-color:#a3876b}
body .button.secondary:hover{border-color:var(--copper);background:#cf8a5814}
body .button[disabled]{opacity:.45}
body .text-link,body .source-link,body .ask-link,body .header-cta{font-size:15px;font-weight:600;color:var(--ink);border-bottom:1px solid #cf8a5899;padding-bottom:6px;display:inline-flex;align-items:center;gap:12px}
body .text-link:hover,body .source-link:hover,body .ask-link:hover{color:var(--copper-2);border-color:var(--copper-2)}
body .filter,body .jaw-presets button{min-height:44px;padding:0 18px;border-radius:999px;border:1px solid #a3876b;background:#ffffff05;color:var(--ink-2);font-size:14px;font-weight:600}
body .filter:hover,body .jaw-presets button:hover{border-color:#8b6b4a;color:var(--ink)}
body .filter.active{background:var(--ink);border-color:var(--ink);color:#16100b}
:focus-visible{outline:2px solid var(--copper-2)!important;outline-offset:3px}

/* ---------- Металеві іконки (атлас) ---------- */
body .forged-icon{display:inline-block;flex:none!important;aspect-ratio:1;width:28px;height:28px;background-image:url('assets/forged-icons.webp');background-size:400% 200%;background-repeat:no-repeat;filter:drop-shadow(0 3px 6px #000c);vertical-align:middle}
/* атлас 25.10: верхній ряд — стоматологічні знаки з в'яззю: knot = зуб, raven = щипці, bear = імплант, weave = скальпель і кюретка */
body .forged-icon[data-icon=knot]{background-position:0 0}
body .forged-icon[data-icon=oak]{background-position:100% 0}
body .forged-icon[data-icon=raven]{background-position:33.333% 0}
body .forged-icon[data-icon=bear]{background-position:66.666% 0}
body .forged-icon[data-icon=weave]{background-position:100% 0}
body .forged-icon[data-icon=arrow]{background-position:0 100%}
body .forged-icon[data-icon=play]{background-position:33.333% 100%}
body .forged-icon[data-icon=phone]{background-position:66.666% 100%}
body .forged-icon[data-icon=pin]{background-position:100% 100%}
body .forged-icon[data-icon=graft]{background-image:url('assets/forged-graft.webp');background-size:contain;background-position:center}
body .button .forged-icon{width:30px;height:30px}
body .button.primary .forged-icon{filter:drop-shadow(0 1px 1px #0008) brightness(.55)}
body .text-link .forged-icon,body .source-link .forged-icon,body .ask-link .forged-icon,body .header-cta .forged-icon,body .messenger-links .forged-icon,body .chat-source .forged-icon,body .work-type .forged-icon{width:26px;height:26px}

/* ---------- Шапка ---------- */
body .header{position:absolute;left:0;right:0;top:0;height:96px;padding:0 var(--pad);background:linear-gradient(#282b2fee,#282b2f00);border-bottom:1px solid #ffffff10;backdrop-filter:none}
body .brand>span{font-family:var(--head);font-size:22px;letter-spacing:.06em}
body .brand small{font-family:var(--body);font-size:10px;letter-spacing:.24em;color:var(--ink-3)}
body .brand-mark{width:42px;height:50px}
body #navigation{gap:34px}
body #navigation a{font-size:15px;font-weight:600;color:var(--ink-2)}
body #navigation a:hover{color:var(--ink)}

/* ---------- Перший екран ---------- */
body .hero{min-height:860px;height:min(980px,100svh);padding:170px var(--pad) 0;background:transparent;isolation:isolate}
body .hero:after{display:none}
body .hero-person{display:none}
body .hero-atmosphere{position:absolute;inset:0;z-index:-3;background:linear-gradient(90deg,#282b2f 0%,#282b2ff2 30%,#282b2fe6 46%,#282b2f66 58%,transparent 72%),linear-gradient(0deg,var(--bg) 0%,#282b2f00 30%),url('assets/dmytro-bike-faithful.png') 72% 30%/cover no-repeat}
body .hero:before{background:radial-gradient(ellipse 45% 55% at 18% 60%,#3d404466,transparent 70%);z-index:-2}
body .ember-layer{opacity:.18}
body .hero-copy{max-width:640px;z-index:3}
body .hero-copy .eyebrow{display:flex;gap:14px;align-items:center}
body .hero-copy .eyebrow .pin{width:28px;height:1px;background:var(--copper);border-radius:0}
body .hero h1{font-family:var(--head);font-weight:600;font-size:clamp(88px,10vw,168px);line-height:.9;letter-spacing:-.005em;margin-top:28px;color:var(--ink)}
body .hero-tagline{margin-top:26px;font-family:var(--serif);font-style:italic;font-weight:500;font-size:clamp(30px,2.8vw,44px);line-height:1.12;color:var(--copper-2)}
body .hero-description{margin-top:22px;font-size:18px;line-height:1.7;color:var(--ink-2);max-width:470px;text-shadow:0 2px 12px #000}
body .hero-actions{margin-top:36px;max-width:none;gap:26px;display:flex;flex-wrap:wrap;align-items:center}
body .watch-link{font-size:15px;font-weight:600;gap:14px;color:var(--ink)}
body .play-circle{width:56px;height:56px;border:1px solid #ffffff40;background:#282b2f66}
body .play-circle .forged-icon{width:30px;height:30px}
body .hero-footer{left:var(--pad);right:var(--pad);bottom:28px;padding-top:18px;border-top:1px solid #ffffff14}
body .hero-footer,body .hero-footer a,body .hero-footer span{font-size:13px;color:var(--ink-3);letter-spacing:.04em}

/* ---------- Розділи й стики ---------- */
body main>.section{background:none!important;padding:128px var(--pad);border:0}
body main>.section+.section,body main>.section+div+.section{border-top:1px solid #ffffff0d}
body main>.works.section,body main>.plan-section.section{background:linear-gradient(180deg,transparent,#2c2f33d9 140px,#2c2f33d9 calc(100% - 140px),transparent)!important}
body main>.character.section{background:linear-gradient(180deg,var(--bg) 0,#282b2fdd 22%,#282b2fd0 78%,var(--bg) 100%),var(--wood) center/1100px!important}
body .section-top{margin-bottom:56px;padding-top:0;align-items:end}
body .section-top:before{display:none}
body .section-top>div>.eyebrow{display:flex;align-items:center;gap:14px;margin-bottom:22px}
body .section-top>div>.eyebrow:before{content:'';width:44px;height:44px;flex:none;background:url('assets/forged-icons.webp') 0 0/400% 200% no-repeat;filter:drop-shadow(0 3px 6px #000c)}
body .steel-divider{height:120px;gap:30px;background:transparent;border:0;box-shadow:none}
body .steel-divider:before,body .steel-divider:after{content:'';flex:1;max-width:280px;height:1px;background:linear-gradient(90deg,transparent,#c29a62aa)}
body .steel-divider:after{transform:rotate(180deg)}
body .steel-divider .rivet{display:none}
body .steel-divider .forged-icon{width:64px;height:64px}
body .oak-divider{height:130px;gap:30px;padding:0 var(--pad);background:transparent;border:0;box-shadow:none}
body .oak-divider>.forged-icon{width:60px;height:60px;background-image:url('assets/forged-icons.webp');background-size:400% 200%;background-repeat:no-repeat}
body .oak-divider>span:not(.forged-icon){flex:1;max-width:240px;height:1px;background:linear-gradient(90deg,transparent,#c29a6299,transparent)}

/* ---------- Поверхні: одна система для всіх карток ---------- */
body .metal-frame,body .service-card,body .work-card,body .question-card,body .chat-card,body .review,body .life-note,body .video-feature,body .comparison,body .planner,body .blackout-card,body .about-copy,body .extra-services{border:1px solid var(--line);border-image:none;border-radius:var(--radius);background:linear-gradient(180deg,#34373b,#2e3135);box-shadow:inset 0 1px 0 #ffffff0a,0 30px 60px -34px #000;overflow:hidden}
body .metal-frame:before,body .metal-frame:after,body .comparison:before,body .comparison:after,body .planner:before,body .planner:after,body .blackout-card:before,body .blackout-card:after{display:none}
body .work-card:hover,body .question-card:hover,body .chat-card:hover,body .service-card:hover,body .review:hover{border-color:#6e5338;transform:translateY(-3px)}

/* ---------- Послуги: великі предметні кадри + металеві іконки ---------- */
body .service-grid{gap:24px}
body .service-card{position:relative;padding:0;transition:border-color .3s,transform .3s}
body .service-card summary{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:20px;padding:0 28px 26px;position:relative;min-height:0;cursor:pointer;list-style:none}
body .service-card summary::-webkit-details-marker{display:none}
body .service-still{grid-column:1/-1;display:block;width:calc(100% + 56px);max-width:none;height:300px;margin:0 -28px -64px;object-fit:cover;object-position:50% 70%;-webkit-mask-image:linear-gradient(180deg,#000 52%,transparent 96%);mask-image:linear-gradient(180deg,#000 52%,transparent 96%);transition:transform .8s}
body .service-card:hover .service-still{transform:scale(1.03)}
/* 16.11.2026: рентген у «Кістковій пластиці» кадровано під центр — коронки й ямка в кістці видні на всіх ширинах */
body .service-still[src$="bone-xray.jpg"]{object-position:50% 50%}
body .service-card summary>.totem,body .service-card summary>span{position:relative;z-index:1}
body .service-card .totem,body .service-card .totem.forged-icon{width:112px;height:112px}
body .service-card summary small{display:block;font-size:12px;font-weight:700;letter-spacing:.22em;color:var(--copper)}
body .service-card summary strong{display:block;font-family:var(--head);font-weight:600;text-transform:uppercase;font-size:30px;line-height:1.05;margin-top:6px}
body .service-card .plus{width:22px;height:22px}
body .service-card .plus:before,body .service-card .plus:after{background:var(--copper-2);top:10px}
body .service-card p{padding:0 28px;font-size:16px;line-height:1.7}
body .service-card>a{margin:6px 28px 28px;display:inline-flex}
body .extra-services{margin-top:24px;padding:26px 30px;display:flex;flex-wrap:wrap;gap:16px 30px;align-items:center}
body .extra-services>.eyebrow{margin:0;font-size:12px}
body .extra-services ul{margin:0;gap:12px 28px}
body .extra-services li{font-size:15px;color:var(--ink)}
body .extra-services li:before{width:6px;height:6px;transform:rotate(45deg);background:var(--copper);margin-right:12px}

/* ---------- Роботи ---------- */
body .work-filters{margin-bottom:30px}
body .work-grid{gap:22px}
body .work-card{transition:border-color .3s,transform .3s}
body .work-image{height:300px;border:0}
body .work-image img{transition:transform .6s}
body .work-card:hover .work-image img{transform:scale(1.04)}
body .work-image:after{inset:50% 0 0;background:linear-gradient(transparent,#2e3135)}
body .work-view,body .question-play{width:56px;height:56px;right:16px;bottom:16px;border:1px solid #ffffff55;background:#282b2fb3;backdrop-filter:blur(4px)}
body .work-view .forged-icon,body .question-play .forged-icon{width:32px;height:32px}
body .work-copy{padding:20px 22px 24px;background:none;min-height:0}
body .work-copy .eyebrow{font-size:12px;letter-spacing:.16em;min-height:0;margin:0}
body .work-copy h3{font-size:25px;line-height:1.15;margin:10px 0 16px;text-transform:none}
body .work-type{font-size:14px;color:var(--ink-3)}
body .comparison{margin-top:40px;padding:44px;gap:48px}
body .comparison-intro h3{font-size:clamp(34px,3.4vw,52px);line-height:1;text-transform:uppercase}
body .comparison-intro p:not(.eyebrow){font-size:17px;line-height:1.7}
body .comparison-stage{border:0;border-radius:8px;padding:0}
body .compare-label{font-size:12px;letter-spacing:.18em;border-radius:999px;padding:8px 14px;background:#282b2fcc;border:1px solid #ffffff30}
body .compare-control,body .comparison-note,body .case-note{font-size:14px;line-height:1.6;color:var(--ink-3)}
body .compare-control input{accent-color:var(--copper)}

/* ---------- Відеовідповіді ---------- */
body .answer-tools{margin-bottom:30px;gap:20px}
body .search input{min-height:48px;border-radius:999px;padding:0 20px 0 46px;background:#ffffff08;border:1px solid #a3876b;color:var(--ink);font-size:15px}
body .video-library{grid-template-columns:400px 1fr;gap:28px}
body .video-feature{padding:0;position:sticky;top:120px}
body .video-screen{border-radius:0}
body .video-gate p{font-size:15px;line-height:1.6;color:var(--ink)}
body .video-gate>.forged-icon{width:76px;height:76px}
body .video-caption{padding:24px 26px 28px;background:none}
body .video-caption h3{font-size:28px;line-height:1.1;text-transform:none}
body .video-caption p{font-size:16px;line-height:1.65}
body .video-queue{grid-template-columns:1fr 1fr;gap:16px}
body .question-card{display:grid;grid-template-columns:132px 1fr;min-height:164px;transition:border-color .3s,transform .3s}
body .question-thumb{height:auto;min-height:164px;border:0}
body .question-thumb img{object-position:50% 20%}
body .question-play{width:44px;height:44px;right:10px;bottom:10px}
body .question-play .forged-icon{width:26px;height:26px}
body .question-copy{padding:18px 20px;background:none;display:flex;flex-direction:column;gap:8px}
body .question-copy small{font-size:12px;font-weight:700;letter-spacing:.14em;color:var(--copper)}
body .question-copy :is(h3,.question-title){display:block;font-family:var(--head);font-weight:500;font-size:21px;line-height:1.18;text-transform:none;margin:0;color:var(--ink)}
body .question-copy>.question-note{font-size:13px;color:var(--ink-3);margin-top:auto}
body .question-card.active{border-color:var(--copper)}
body .ask-link{margin-top:22px}

/* ---------- Ціни: шкіряна «нашивка» з прострочкою ---------- */
body .price-sheet{position:relative;padding:30px 36px;margin-bottom:28px;border:0;border-image:none;border-radius:14px;background:linear-gradient(#282b2fa6,#282b2fc4),var(--leather) center/700px;box-shadow:inset 0 0 0 1px #00000080,0 30px 60px -30px #000}
body .price-sheet:before{content:'';display:block;position:absolute;inset:9px;border:1.5px dashed #d79a6866;border-radius:9px;pointer-events:none}
body .price-sheet summary{font:600 28px/1.2 var(--head);text-transform:uppercase;letter-spacing:.01em}
body .price-columns{display:grid;grid-template-columns:1fr 1fr;gap:48px;margin-top:26px}
body .price-columns h3{font-size:24px;margin:26px 0 14px;color:var(--copper-2)}
body .price-columns dl{display:grid;grid-template-columns:1fr auto;gap:12px 22px;margin:0;font-size:15px}
body .price-columns dt{color:var(--ink-2)}
body .price-columns dd{margin:0;text-align:right;white-space:nowrap;color:var(--ink);font-weight:600}
body .price-date,body .price-included{font-size:13px;line-height:1.6;color:var(--ink-3);margin-top:20px}

/* ---------- Карта зубів ---------- */
body .planner{padding:0;gap:0;grid-template-columns:1.15fr 1fr}
body .jaw-panel{border:0;border-right:1px solid var(--line);border-radius:0;padding:30px;background:radial-gradient(ellipse at 50% 50%,#393c4055,transparent 70%),#2b2e32}
body .plan-controls{padding:38px;background:none}
body .plan-controls h3{font-size:clamp(30px,2.6vw,40px);line-height:1;text-transform:uppercase}
body .jaw-top span,body .plain-button{font-size:13px;letter-spacing:.12em}
body .jaw-orientation span{font-size:12px;color:var(--ink-3)}
body .jaw-help{font-size:13px;line-height:1.6;color:var(--ink-3)}
body #jaw-chart text{font-size:15px}
body .tooth.selected{filter:drop-shadow(0 0 8px #e9a26a88)}
body .selection-label,body .service-label,body .plan-total>span{font-size:13px;letter-spacing:.08em;color:var(--ink-3)}
body .selected-teeth{font-size:15px;color:var(--ink)}
body .plan-controls select{min-height:54px;border-radius:8px;background:#2a2d31;border:1px solid #a3876b;color:var(--ink);font-size:15px;padding:0 16px}
body .plan-total{border-color:var(--line)}
body .plan-total strong{font-size:clamp(26px,2.4vw,36px);line-height:1.3;white-space:normal;color:var(--copper-2)}
body .plan-total p{font-size:13px;line-height:1.6;color:var(--ink-3)}
body .plan-item small+small{color:var(--copper-2);margin-top:7px}

/* ---------- Про лікаря ---------- */
body main>.about.section{gap:clamp(40px,6vw,96px)}
body .about-portrait{height:600px;transform:none;padding:7px;border:0;border-image:none;border-radius:14px;background:var(--bezel);box-shadow:0 40px 80px -30px #000,inset 0 1px 0 #ffffff33}
body .about-portrait>img{border-radius:9px}
body .about-portrait:before,body .about-portrait:after{display:none}
body .photo-strap{left:26px;bottom:26px;font-size:13px;letter-spacing:.16em;border-radius:999px;padding:10px 18px;background:#282b2fcc;border:1px solid #ffffff2a}
body .about-copy{padding:0;border:0;background:none;box-shadow:none}
body .about-copy blockquote{margin:30px 0;padding:0;border:0;font-family:var(--serif);font-style:italic;font-weight:500;font-size:clamp(28px,2.6vw,38px);line-height:1.2;color:var(--ink)}
body .about-copy p:not(.eyebrow){font-size:17px;line-height:1.7}

/* ---------- Історія з блекаутом ---------- */
body .blackout-card{padding:48px;gap:48px;background:radial-gradient(ellipse 60% 80% at 15% 20%,#6b2f0f40,transparent 70%),linear-gradient(180deg,#34373b,#2e3135)}
body .blackout-card p:not(.eyebrow){font-size:17px;line-height:1.7}
body .blackout-card figure{border-radius:10px;overflow:hidden;padding:6px;background:var(--bezel)}
body .blackout-card figure img{border-radius:6px}
body .blackout-card figcaption{font-size:13px;letter-spacing:.06em}

/* ---------- Життя поза кабінетом ---------- */
body .life-grid{gap:24px}
body .life-main,body .life-sport{padding:7px;border:0;border-image:none;border-radius:14px;background:var(--bezel);box-shadow:0 40px 80px -34px #000}
body .life-main>img,body .life-sport>img{border-radius:9px}
body .life-main:after,body .life-sport:after{inset:40% 7px 7px;border-radius:0 0 9px 9px}
body .life-main figcaption,body .life-sport figcaption{font-family:var(--serif);font-style:italic;font-weight:500;color:var(--ink);text-shadow:0 2px 14px #000}
body .life-main figcaption{left:34px;right:34px;bottom:34px;font-size:clamp(26px,2.4vw,36px);line-height:1.15;display:flex;gap:18px;align-items:flex-end}
body .life-main figcaption blockquote{margin:0;font:inherit}
body .life-main figcaption>.forged-icon{width:84px;height:84px}
body .life-sport figcaption{left:28px;right:28px;bottom:26px;font-size:24px;line-height:1.2}
body .life-note{padding:26px 28px;gap:22px;align-items:center;background:linear-gradient(180deg,#34373be6,#2e3135e6)}
body .life-note>.heritage-badge{width:96px;height:96px}
body .life-note p{font-size:16px;line-height:1.6;color:var(--ink)}
body .life-note img{border-radius:8px}

/* ---------- Відгуки ---------- */
body .chat-lead{font-size:17px;line-height:1.65;max-width:720px;margin-bottom:30px}
body .chat-grid{gap:22px}
body .chat-card{padding:0;transition:border-color .3s,transform .3s}
body .chat-screenshot{height:340px;border:0;background:#292c30}
body .chat-title{display:block;padding:22px 24px 4px;font-family:var(--serif);font-style:italic;font-weight:500;font-size:28px;line-height:1.15;color:var(--copper-2)}
body .chat-source{padding:6px 24px 24px;font-size:13px;color:var(--ink-3)}
body .review-grid{gap:22px;margin-top:22px}
body .review{padding:34px 36px}
body .review .quote-mark{font-family:var(--serif);font-size:90px;line-height:.6;color:var(--copper)}
body .review blockquote{font-family:var(--serif);font-style:italic;font-weight:500;font-size:clamp(24px,2vw,30px);line-height:1.28;color:var(--ink)}
body .review figcaption{font-size:15px;color:var(--ink)}
body .review figcaption small{font-size:12px;color:var(--ink-3);letter-spacing:.06em}

/* ---------- Контакт: шкіряна нашивка ---------- */
body main>.contact.section{margin:40px var(--pad) 0;padding:72px clamp(28px,5vw,80px);border-radius:18px;border:0;position:relative;background:radial-gradient(ellipse 60% 80% at 75% 30%,#7a3a1240,transparent 70%),linear-gradient(#282b2fb3,#282b2fd0),var(--leather) center/760px!important;box-shadow:inset 0 0 0 1px #000,0 50px 90px -40px #000;overflow:hidden}
body main>.contact.section:before{content:'';position:absolute;inset:12px;border:1.5px dashed #d79a6866;border-radius:12px;pointer-events:none}
body .contact h2{font-size:clamp(46px,5.4vw,86px)}
body .contact>div>p:not(.eyebrow){font-size:17px;line-height:1.65;color:var(--ink-2)}
body .contact-symbol{opacity:.08;width:300px;height:300px;right:6%;top:12%;transform:rotate(-8deg)}
body .contact-symbol>.forged-icon{width:100%;height:100%;filter:none}
body .contact address{border-left:1px solid #ffffff1c;padding-left:44px}
body .contact address strong{display:flex;align-items:center;gap:14px;font-family:var(--head);font-weight:500;font-size:30px}
body .contact-phone{display:flex;align-items:center;gap:14px;font:600 32px/1.2 var(--head);color:var(--ink);margin-top:22px}
body .contact-phone>.forged-icon,body .contact address strong>.forged-icon{width:48px;height:48px}
body .contact address p,body .contact address p.contact-hours{font-size:15px;line-height:1.75;color:var(--ink-2)}
body .messenger-links{gap:26px;margin-top:26px}
body .messenger-links a{font-size:15px;font-weight:600;border-color:#cf8a5880}

/* ---------- Підвал ---------- */
body footer{margin-top:80px;padding:34px var(--pad);border-top:1px solid #ffffff12;background:none}
body footer p,body footer a,body footer span{font-size:14px;color:var(--ink-3)}

/* ---------- Точкові виправлення після першого перегляду ---------- */
body main>.section{padding-block:104px}
body .steel-divider{height:96px}
body .oak-divider{height:104px;justify-content:center}
body .oak-divider>.forged-icon{background-color:transparent;border:0;box-shadow:none}
body .watch-link{white-space:nowrap;max-width:none}
body .work-copy .work-type{font-size:14px;color:var(--ink-3);margin-top:0}
body .video-gate .button,body .plan-controls .button,body .blackout-card .button,body .comparison .button{font-size:15px;min-height:54px}
body .video-feature .video-caption p{font-size:16px;line-height:1.65;color:var(--ink-2)}
body .video-feature .video-caption .eyebrow{font-size:12px}
body .chat-card .chat-source{font-size:13px;padding:6px 24px 24px;color:var(--ink-3)}
body main .text-link,body main .source-link,body main .ask-link{font-size:15px}
body .question-copy{justify-content:center}
body .question-copy>.question-note{margin-top:6px}
body .question-copy :is(h3,.question-title){min-height:0}
body .price-sheet summary{display:flex;align-items:center;justify-content:space-between;gap:20px;list-style:none}
body .price-sheet summary::-webkit-details-marker{display:none}
body .price-sheet summary::marker{content:''}
body .price-sheet summary .plus{width:24px;height:24px}
body .price-sheet summary .plus:before,body .price-sheet summary .plus:after{background:var(--copper-2);top:11px}
body .price-sheet.metal-frame:before{display:block;content:'';position:absolute;inset:9px;width:auto;height:auto;border-radius:9px;background:none;border:1.5px dashed #d79a6866;z-index:0;pointer-events:none}
body .price-sheet.metal-frame:after{display:none}
body .price-sheet>*{position:relative;z-index:1}
body .price-sheet{background-size:auto,cover!important;background-repeat:no-repeat!important}
body main>.contact.section{background-size:auto,auto,cover!important;background-repeat:no-repeat!important}
body .life-note{display:grid;grid-template-columns:96px 1fr;gap:24px;align-items:center}
body .life-note>.heritage-badge{grid-column:1}
body .life-note>p{grid-column:2;z-index:1}
body .life-note>img{display:none}
@media(max-width:760px){
  body main>.section{padding-block:76px}
  body .life-note{grid-template-columns:72px 1fr;gap:18px}
  body .life-note>img{display:none}
  body .service-still{height:230px;margin-bottom:-52px;width:calc(100% + 40px);margin-inline:-20px}
}

/* Дрібні шрифти з v3.css у контексті розділів */
body main .section .text-link,body main .section .source-link,body main .section .ask-link{font-size:15px}
body main .section .button{font-size:15px}
html body footer a,html body footer span,html body footer p{font-size:14px}
body .section-note br,body .contact>div>p br,body .hero-description br{display:inline}
body .reveal{transform:none}
@media(max-width:760px){
  body .mobile-book{min-height:52px;font-size:15px;box-shadow:0 10px 30px -8px #000}
  body main .section .text-link,body main .section .source-link{font-size:15px}
}

/* ---------- Діалог ---------- */
body dialog{border:1px solid var(--line);border-radius:14px;background:#2c2f33;color:var(--ink)}

/* ---------- Планшет ---------- */
@media(max-width:1100px){
  body .video-library{grid-template-columns:330px 1fr}
  body .video-queue{grid-template-columns:1fr}
  body .work-grid{grid-template-columns:repeat(2,1fr)}
  body .service-card:before{height:240px}
}

/* ---------- Телефон ---------- */
@media(max-width:760px){
  body{--pad:20px}
  body .header{height:78px}
  body .brand>span{font-size:19px}
  body .brand-mark{width:34px;height:41px}
  body .hero{min-height:0;height:auto;padding:0 var(--pad) 34px;display:flex;flex-direction:column}
  body .hero-atmosphere{position:relative;inset:auto;order:-1;margin:0 calc(-1 * var(--pad));height:min(560px,72svh);background:linear-gradient(0deg,var(--bg) 0%,#282b2f00 38%),linear-gradient(180deg,#282b2fcc 0,#282b2f00 22%),url('assets/dmytro-bike-faithful.png') 70% 20%/cover no-repeat}
  body .hero-copy{max-width:none;margin-top:-150px}
  body .hero h1{font-size:clamp(66px,19vw,96px);margin-top:16px}
  body .hero-tagline{font-size:30px;margin-top:18px}
  body .hero-description{display:block;font-size:16px;margin-top:16px;max-width:none}
  body .hero-actions{margin-top:26px;flex-direction:column;align-items:stretch;gap:18px}
  body .hero-actions .button{width:100%;justify-content:space-between}
  body .hero-footer{position:relative;left:auto;right:auto;bottom:auto;margin-top:30px;flex-wrap:wrap;gap:6px 16px}
  body .hero-hobbies{display:none}
  body main>.section{padding:84px var(--pad)}
  body .section-top{display:block;margin-bottom:34px}
  body .section-note{margin-top:18px;font-size:16px}
  body h2{font-size:clamp(38px,11vw,54px)}
  body .section-top>div>.eyebrow:before{width:38px;height:38px}
  body .steel-divider{height:92px}
  body .steel-divider .forged-icon{width:54px;height:54px}
  body .oak-divider{height:100px;gap:16px}
  body .oak-divider>.forged-icon{width:46px;height:46px}
  /* послуги */
  body .service-grid{grid-template-columns:1fr;gap:18px}
  body .service-card:before{height:220px}
  body .service-card summary{margin-top:-46px;padding:0 20px 22px;gap:16px}
  body .service-card .totem,body .service-card .totem.forged-icon{width:88px;height:88px}
  body .service-card summary strong{font-size:26px}
  body .service-card p{padding:0 20px}
  body .service-card>a{margin:4px 20px 24px}
  body .extra-services{padding:22px 20px;display:block}
  body .extra-services ul{margin-top:14px;display:grid;gap:12px}
  /* стрічки з гортанням */
  body .work-grid,body .video-queue,body .chat-grid{display:grid;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:minmax(260px,84%);overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;gap:14px;padding:4px 2px 18px;scrollbar-width:thin;scrollbar-color:#8b6b4a transparent}
  body .work-grid>*,body .video-queue>*,body .chat-grid>*{scroll-snap-align:start}
  body .video-library>*,body .chat-reviews{min-width:0}
  body .filter-group{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;padding:2px 2px 8px;gap:10px}
  body .filter-group::-webkit-scrollbar{display:none}
  body .filter-group>.filter{flex:none}
  body .work-image{height:240px}
  body .work-copy h3{font-size:23px}
  body .comparison{padding:22px 18px;gap:26px}
  body .video-library{grid-template-columns:1fr;gap:22px}
  body .video-feature{position:relative;top:auto}
  body .video-screen{max-height:70svh;aspect-ratio:9/12}
  body .question-card{display:block;min-height:0}
  body .question-thumb{height:200px;min-height:0}
  body .question-copy{padding:18px}
  body .answer-tools{display:grid;gap:14px}
  body .price-sheet{padding:24px 20px}
  body .price-sheet summary{font-size:22px}
  body .price-columns{grid-template-columns:1fr;gap:10px}
  body .planner{grid-template-columns:minmax(0,1fr)}
  body .jaw-panel{border-right:0;border-bottom:1px solid var(--line);padding:20px 10px}
  body .plan-controls{padding:26px 20px}
  body .about-portrait{height:430px}
  body .blackout-card{padding:26px 20px;gap:26px}
  body .life-main figcaption{left:22px;right:22px;bottom:22px;font-size:26px}
  body .life-main figcaption>.forged-icon{width:60px;height:60px}
  body .life-note>.heritage-badge{width:72px;height:72px}
  body .chat-screenshot{height:320px}
  body .chat-title{font-size:26px}
  body .review{padding:26px 22px}
  body main>.contact.section{margin:24px 12px 0;padding:56px 24px;border-radius:16px}
  body main>.contact.section:before{inset:9px}
  body .contact address{border-left:0;padding-left:0;border-top:1px solid #ffffff1c;padding-top:28px}
  body .contact-phone{font-size:28px}
  body .contact-symbol{width:200px;height:200px;right:-20px;top:auto;bottom:20px}
  body .mobile-book{left:16px;right:16px;bottom:12px;border-radius:999px;transform:translateY(160%);transition:transform .3s ease}
  body.book-visible .mobile-book{transform:none}
  body footer{margin-top:40px;padding-bottom:110px}
}
@media(max-width:380px){
  body .hero h1{font-size:62px}
  body h2{font-size:36px}
  body .header-cta{display:none}
  body .service-card .totem,body .service-card .totem.forged-icon{width:70px;height:70px}
  body .service-card summary{gap:12px;padding-inline:16px}
  body .service-card summary strong{font-size:22px}
  body .service-still{width:calc(100% + 32px);margin-inline:-16px}
  body .mobile-book{font-size:14px;white-space:nowrap;padding-inline:18px}
}
@media(prefers-reduced-motion:reduce){
  body .mobile-book{transition:none}
  body .work-card:hover .work-image img{transform:none}
  body .work-card:hover,body .question-card:hover,body .chat-card:hover,body .service-card:hover,body .review:hover{transform:none}
}

/* =========================================================================
   ДЕТАЛІ 25.10.2026 (2): роздільники-емблеми, відеотека як плейлист, переписки у «телефоні»
   ========================================================================= */

/* ---------- Роздільники: одна велика металева емблема, тонка гравірована лінія з ромбами ---------- */
body .emblem-divider{display:flex;align-items:center;justify-content:center;gap:clamp(16px,3vw,40px);padding:clamp(36px,6vw,76px) var(--pad);background:none;border:0}
body .emblem-rule{position:relative;flex:1;max-width:360px;height:9px}
body .emblem-rule:before{content:'';position:absolute;left:0;right:14px;top:4px;height:1px;background:linear-gradient(90deg,transparent,#c29a62cc)}
body .emblem-rule:after{content:'';position:absolute;right:0;top:0;width:7px;height:7px;transform:rotate(45deg);border:1px solid #d9ae78;background:#282b2f}
body .emblem-rule:last-child{transform:scaleX(-1)}
body .emblem{position:relative;display:grid;place-items:center;flex:none;width:clamp(96px,10vw,140px);aspect-ratio:1}
body .emblem:before{content:'';position:absolute;inset:-18%;border-radius:50%;background:radial-gradient(circle,#c97a4a2e 0,#c97a4a10 40%,transparent 68%);pointer-events:none}
body .emblem>.forged-icon{position:relative;width:78%;height:78%;filter:drop-shadow(0 6px 14px #000e) drop-shadow(0 0 1px #000)}
body main>.emblem-divider+.section{border-top:0!important}
body .steel-divider,body .oak-divider{display:none}

/* Надзаголовки: замість повторюваної іконки — мідна риска, як на першому екрані. Іконки показуємо великими в емблемах і послугах. */
body .section-top>div>.eyebrow:before{width:28px;height:1px;background:var(--copper);filter:none;flex:none}

/* ---------- Пошук: іконка всередині поля, без зайвої лінії ---------- */
body .search{position:relative;width:min(320px,100%);padding:0;border:0;gap:0}
body .search>svg{position:absolute;left:18px;top:50%;width:18px;height:18px;transform:translateY(-50%);color:var(--copper-2);pointer-events:none}
body .search input{width:100%;padding:0 20px 0 48px;text-align:left}
body .search input::placeholder{color:var(--ink-3)}

/* ---------- Відеотека ---------- */
body .queue-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:0 0 14px;font-size:13px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--ink-3)}
body .queue-head b{color:var(--copper-2);font-weight:700}
body .video-screen:has(.video-gate:not([hidden])) video{visibility:hidden}
body .video-gate{background:radial-gradient(ellipse at 50% 40%,#383b3fb8,#282b2fec 72%),var(--poster,none) center/cover no-repeat;gap:18px}
body .video-gate p{max-width:30ch}
body .segment-controls{background:none;padding:14px 18px 0;justify-content:flex-start;gap:8px}
body .segment-controls button{min-height:40px;padding:0 16px;border-radius:999px;border:1px solid #a3876b;background:#ffffff05;color:var(--ink-2);font-size:13px;font-weight:600}
body .segment-controls button[aria-pressed=true]{background:var(--ink);border-color:var(--ink);color:#16100b}
body .empty-state{font-size:15px;color:var(--ink-2)}

@media(max-width:760px){
  body .answer-tools{display:grid;gap:12px}
  body .search{width:100%}
  body .video-library{gap:26px}
  body .video-feature{border-radius:14px}
  body .video-screen{aspect-ratio:4/5;max-height:none}
  body .video-screen video{width:100%;height:100%;object-fit:contain;background:#000}
  body .video-gate{padding:22px;gap:14px;min-height:0}
  body .video-gate>.forged-icon{width:60px;height:60px}
  body .video-gate p{font-size:15px}
  body .video-caption{padding:20px 20px 22px}
  body .video-caption h3{font-size:25px}
  /* список питань — вертикальний плейлист, а не карусель */
  body .video-queue{display:flex;flex-direction:column;gap:0;overflow:visible;padding:0;scroll-snap-type:none;border:1px solid var(--line);border-radius:14px;background:linear-gradient(180deg,#34373b,#2e3135)}
  body .video-queue>.question-card{display:grid;grid-template-columns:92px minmax(0,1fr);align-items:stretch;min-height:0;border:0;border-bottom:1px solid var(--line);border-radius:0;background:none;box-shadow:none;transform:none}
  body .video-queue>.question-card:last-child{border-bottom:0}
  body .video-queue .question-thumb{height:auto;min-height:104px;border:0}
  body .video-queue .question-play{width:36px;height:36px;right:auto;left:50%;top:50%;bottom:auto;transform:translate(-50%,-50%)}
  body .video-queue .question-play .forged-icon{width:22px;height:22px}
  body .video-queue .question-copy{padding:14px 16px;gap:6px;justify-content:center}
  body .video-queue .question-copy small{font-size:11px;letter-spacing:.12em}
  body .video-queue .question-copy :is(h3,.question-title){font-size:19px;line-height:1.2}
  body .video-queue .question-copy>.question-note{display:none}
  body .video-queue>.question-card.active{background:#cf8a5812;box-shadow:inset 3px 0 0 var(--copper)}
  body .video-queue>.question-card.active .question-copy:after{content:'Відкрито в плеєрі';display:block;font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--copper-2)}
  body .ask-link{margin-top:20px}
}

/* ---------- Переписки: скриншот у «телефоні» зі сталевим безелем ---------- */
body .chat-card{display:flex;flex-direction:column;align-items:stretch;padding:26px 24px 26px;text-align:left;cursor:pointer}
body .chat-phone{display:block;width:min(100%,290px);margin:0 auto 24px;padding:6px;border-radius:30px;background:var(--bezel);box-shadow:0 30px 50px -26px #000,inset 0 1px 0 #ffffff40}
body .chat-phone .chat-screenshot{display:block;height:380px;border:0;border-radius:24px;overflow:hidden;background:#292c30;position:relative}
body .chat-phone .chat-screenshot:after{content:'';position:absolute;left:0;right:0;bottom:0;height:22%;background:linear-gradient(transparent,#292c30d0);pointer-events:none}
body .chat-phone .chat-screenshot img{width:100%;height:100%;object-fit:cover}
body .chat-body{display:flex;flex-direction:column;gap:8px}
body .chat-card .chat-title{display:block;padding:0;font-family:var(--serif);font-style:italic;font-weight:500;font-size:30px;line-height:1.1;color:var(--copper-2)}
body .chat-context{display:block;font-size:15px;line-height:1.5;color:var(--ink-2)}
body .chat-card .chat-source{display:inline-flex;align-items:center;justify-content:flex-start;gap:12px;margin-top:12px;padding:0 0 6px;border-bottom:1px solid #cf8a5899;align-self:flex-start;font-size:14px;font-weight:600;color:var(--ink)}
body .chat-card:hover .chat-phone{box-shadow:0 34px 60px -24px #000,inset 0 1px 0 #ffffff55}
body .chat-lead{max-width:640px}
body .review-grid{margin-top:26px}

/* ---------- Крапки для горизонтальних стрічок на телефоні ---------- */
body .carousel-dots{display:none}
@media(max-width:760px){
  body .chat-grid{grid-auto-columns:minmax(260px,82%)}
  body .chat-card{padding:20px 18px 22px}
  body .chat-phone{width:min(100%,250px);margin-bottom:20px}
  body .chat-phone .chat-screenshot{height:330px}
  body .chat-card .chat-title{font-size:26px}
  body .carousel-dots{display:flex;justify-content:center;gap:4px;margin-top:6px}
  body .carousel-dots button{width:32px;height:32px;padding:0;border:0;background:none;display:grid;place-items:center;cursor:pointer}
  body .carousel-dots button:before{content:'';width:7px;height:7px;border-radius:999px;background:#6d5844;transition:width .3s,background .3s}
  body .carousel-dots button[aria-current=true]:before{width:22px;background:var(--copper-2)}
}
@media(prefers-reduced-motion:reduce){body .carousel-dots button:before{transition:none}}

/* Прихована заглушка «до» тягнула 3,7 МБ текстури — прибираємо */
body .before-placeholder{background:none}

/* =========================================================================
   ПЕРШИЙ ЕКРАН: новий портрет у шкіряній куртці (руки закриті — без вигаданих тату).
   Фото починається під шапкою, верхній край розчиняється в тлі, щоб меню не лягало на голову.
   ========================================================================= */
body{--hero-img:url('assets/hero-clinic.jpg')}
body .hero-atmosphere{background:
  linear-gradient(90deg,#282b2f 0%,#282b2ff2 30%,#282b2fe6 46%,#282b2f66 58%,transparent 72%),
  linear-gradient(180deg,#282b2f 0,#282b2f 92px,#282b2f00 250px),
  linear-gradient(0deg,#282b2f 0%,#282b2f00 30%),
  var(--hero-img) right 0 top 92px/auto calc(100% - 92px) no-repeat,#282b2f}
@media(max-width:760px){
  body .hero-atmosphere{background:
    linear-gradient(0deg,#282b2f 0%,#282b2f00 36%),
    linear-gradient(180deg,#282b2f 0,#282b2f 78px,#282b2f00 170px),
    var(--hero-img) 90% 78px/auto calc(100% - 78px) no-repeat,#282b2f}
}

/* =========================================================================
   КНОПКИ-ФІЛЬТРИ В СТИЛІ САЙТУ: шкіряна бирка з прострочкою; активна — полірована сталева пластина
   ========================================================================= */
body :is(.filter,.jaw-presets button,.segment-controls button){position:relative;min-height:44px;padding:0 20px;border-radius:6px;border:1px solid #a3876b;
  background:linear-gradient(180deg,#3a3d41e8,#2c2f33f0),var(--leather) center/520px;color:#ead9c0;font-weight:600;letter-spacing:.02em;
  box-shadow:inset 0 1px 0 #ffffff17,inset 0 -2px 0 #00000080,0 8px 16px -10px #000;outline:1px dashed #d79a6859;outline-offset:-5px;
  transition:border-color .5s,color .5s,outline-color .5s,box-shadow .5s,transform .25s}
body :is(.filter,.jaw-presets button,.segment-controls button):hover{border-color:#b98252;color:#fff6e8;outline-color:#e7b07dbb;box-shadow:inset 0 1px 0 #ffffff1f,inset 0 -2px 0 #00000080,0 0 0 1px #00000080,0 10px 22px -10px #000,0 0 18px -6px #e09a5c66}
body :is(.filter,.jaw-presets button,.segment-controls button):active{transform:translateY(1px)}
body :is(.filter.active,.segment-controls button[aria-pressed=true]){border-color:#f3e7d3;color:#303337;text-shadow:0 1px 0 #ffffffa0;outline-color:#52555980;
  background:linear-gradient(180deg,#f6f1e8 0%,#dcd5c9 38%,#a49c8f 50%,#d4cdc1 62%,#eee8de 100%);
  box-shadow:inset 0 1px 0 #fff,inset 0 -2px 0 #00000059,0 0 0 1px #000a,0 10px 22px -10px #000}
body :is(.filter.active,.segment-controls button[aria-pressed=true]):hover{color:#303337;border-color:#fff}
/* поле пошуку — шкіряна вставка з прострочкою */
body .search input{border-radius:6px;border:1px solid #6d5236;background:linear-gradient(180deg,#282b2ff2,#2f3236f0),var(--leather) center/520px;outline:1px dashed #d79a6844;outline-offset:-5px;box-shadow:inset 0 2px 6px #000c}
body .search input:focus{border-color:#e9b689}

/* =========================================================================
   РУХ ПО ВСЬОМУ САЙТУ (motion.js): поява, заголовки, фото, роздільники, карта зубів, перший екран
   ========================================================================= */
html.mo :is(.mo-rise,.mo-card){opacity:0;transform:translate3d(0,28px,0);transition:opacity 1s cubic-bezier(.16,.84,.3,1) var(--d,0ms),transform 1.15s cubic-bezier(.16,.84,.3,1) var(--d,0ms)}
html.mo .mo-card{transform:translate3d(0,38px,0) scale(.985)}
html.mo :is(.mo-rise,.mo-card).mo-in{opacity:1;transform:none}
/* фото «проявляються»: розкриття маски + легке наближення */
html.mo .mo-photo{opacity:0;clip-path:inset(10% 6% 10% 6% round 14px);transform:scale(1.035);transition:clip-path 1.5s cubic-bezier(.65,0,.35,1) var(--d,0ms),opacity .9s ease var(--d,0ms),transform 1.8s cubic-bezier(.16,.84,.3,1) var(--d,0ms)}
html.mo .mo-photo.mo-in{opacity:1;clip-path:inset(0 0 0 0 round 14px);transform:none}
/* заголовки розділів: риска креслиться, заголовок піднімається з-під маски, курсивний рядок слідом */
html.mo .mo-head .eyebrow{opacity:0;transition:opacity .9s ease .1s}
html.mo .mo-head .eyebrow:before{transform:scaleX(0);transform-origin:left center;transition:transform 1.4s linear .1s}
html.mo .mo-head h2{clip-path:inset(0 0 100% 0);transform:translateY(.35em);transition:clip-path 1.2s cubic-bezier(.65,0,.35,1) .15s,transform 1.3s cubic-bezier(.16,.84,.3,1) .15s}
html.mo .mo-head h2 .soft{opacity:0;transform:translateY(.25em);transition:opacity 1.1s ease .55s,transform 1.2s cubic-bezier(.16,.84,.3,1) .55s}
html.mo .mo-head :is(.section-note,.text-link){opacity:0;transform:translateY(14px);transition:opacity 1s ease .7s,transform 1.1s cubic-bezier(.16,.84,.3,1) .7s}
html.mo .mo-head.mo-in .eyebrow{opacity:1}
html.mo .mo-head.mo-in .eyebrow:before{transform:none}
html.mo .mo-head.mo-in h2{clip-path:inset(-25% -4% -30% -4%);transform:none}
html.mo .mo-head.mo-in h2 .soft,html.mo .mo-head.mo-in :is(.section-note,.text-link){opacity:1;transform:none}
/* роздільник: лінії креслять від емблеми назовні, потім ромби */
html.mo .mo-divider .emblem-rule:before{transform:scaleX(0);transform-origin:right center;transition:transform 1.6s cubic-bezier(.45,.05,.25,1) .5s}
html.mo .mo-divider .emblem-rule:after{transform:rotate(45deg) scale(0);transition:transform .7s cubic-bezier(.16,.84,.3,1) 1.9s}
html.mo .mo-divider .emblem:before{opacity:0;transform:scale(.6);transition:opacity 1.6s ease .2s,transform 2s cubic-bezier(.16,.84,.3,1) .2s}
html.mo .mo-divider.mo-in .emblem-rule:before{transform:none}
html.mo .mo-divider.mo-in .emblem-rule:after{transform:rotate(45deg) scale(1)}
html.mo .mo-divider.mo-in .emblem:before{opacity:1;transform:none}
/* карта зубів: зуби проступають по дузі */
html.mo #jaw-chart .mo-tooth{opacity:0;transition:opacity .9s ease var(--d,0ms)}
html.mo #jaw-chart.mo-teeth-in .mo-tooth{opacity:1}
/* перший екран */
html.mo .hero .hero-atmosphere{transform:scale(1.07);transition:transform 3.2s cubic-bezier(.16,.84,.3,1)}
html.mo .hero.mo-hero-in .hero-atmosphere{transform:none}
html.mo .hero :is(.hero-copy>*,.hero-footer){opacity:0;transform:translate3d(0,24px,0);transition:opacity 1.1s ease calc(var(--i,0)*140ms + 250ms),transform 1.3s cubic-bezier(.16,.84,.3,1) calc(var(--i,0)*140ms + 250ms)}
html.mo .hero.mo-hero-in :is(.hero-copy>*,.hero-footer){opacity:1;transform:none}
html.mo .hero h1{clip-path:inset(0 0 100% 0);transition:clip-path 1.4s cubic-bezier(.65,0,.35,1) .35s,opacity 1.1s ease .35s,transform 1.4s cubic-bezier(.16,.84,.3,1) .35s}
html.mo .hero.mo-hero-in h1{clip-path:inset(-15% -5% -20% -5%)}
/* жар над першим екраном: один повільний прохід замість нескінченного циклу (WCAG 2.2.2) */
body .ember-layer{animation-iteration-count:1}
/* кнопки: легкий «натиск» */
body .button:active{transform:translateY(1px) scale(.99)}
@media(prefers-reduced-motion:reduce){
  html.mo :is(.mo-rise,.mo-card,.mo-photo),html.mo .mo-head :is(.eyebrow,h2,h2 .soft,.section-note,.text-link),html.mo .hero :is(.hero-copy>*,.hero-footer,h1){opacity:1!important;transform:none!important;clip-path:none!important}
}

/* ---------- Переходи по розділах: одразу, з коротким проявом ---------- */
html{scroll-behavior:auto!important}
body main.nav-in{animation:nav-in .5s ease-out}
@keyframes nav-in{from{opacity:.15}to{opacity:1}}
body :is(section,main) :is(h2,h3)[tabindex="-1"]:focus{outline:none}

/* ---------- «До/після»: тягнути саму ручку, без нижньої смуги ---------- */
body .compare-control{display:none}
body .comparison-stage{touch-action:pan-y;cursor:ew-resize;user-select:none;-webkit-user-select:none}
body .comparison-stage img{pointer-events:none;-webkit-user-drag:none}
body .compare-handle{position:absolute;top:0;bottom:0;left:var(--position);width:2px;margin-left:-1px;z-index:5;background:linear-gradient(180deg,#f4e3c8,#e9b689 50%,#f4e3c8);box-shadow:0 0 12px #0009;cursor:ew-resize;outline:none}
body .compare-handle:after{display:none}
body .compare-knob{position:absolute;top:50%;left:50%;width:58px;height:58px;transform:translate(-50%,-50%);border-radius:50%;background:radial-gradient(circle at 35% 30%,#45484c,#2b2e32 70%);border:1.5px solid #e9b689;box-shadow:0 8px 24px #000c,inset 0 1px 0 #ffffff26;display:grid;place-items:center;transition:transform .35s cubic-bezier(.22,.61,.36,1),box-shadow .35s}
body .compare-knob:before,body .compare-knob:after{content:'';position:absolute;top:50%;width:11px;height:11px;border:solid #f1cfa4;border-width:0 0 2px 2px;transform:translateY(-50%) rotate(45deg)}
body .compare-knob:before{left:16px}
body .compare-knob:after{right:16px;transform:translateY(-50%) rotate(-135deg)}
body .comparison-stage:hover .compare-knob,body .comparison-stage.dragging .compare-knob{transform:translate(-50%,-50%) scale(1.08);box-shadow:0 10px 30px #000d,0 0 0 6px #e9b68922}
body .compare-handle:focus-visible .compare-knob{box-shadow:0 0 0 3px #282b2f,0 0 0 5px var(--copper-2)}
body .compare-label{pointer-events:none}
@media(prefers-reduced-motion:reduce){body .compare-knob{transition:none}body main.nav-in{animation:none}}

/* ---------- Перемикач випадків «до/після» ---------- */
body .comparison-tabs{margin:18px 0 22px;gap:8px}
body .comparison-tabs .filter{min-height:40px;padding:0 16px;font-size:13px}
body .comparison-stage{transition:aspect-ratio .4s ease}
@media(max-width:760px){body .comparison-tabs{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}body .comparison-tabs::-webkit-scrollbar{display:none}body .comparison-tabs .filter{flex:none}}

/* =========================================================================
   АНІМАЦІЯ МЕТАЛЕВИХ ІКОНОК (icons-motion.js): гарт → відблиск → нахил / підсвітка
   ========================================================================= */
body .forged-icon{--ip:0 0;background-position:var(--ip)}
body :is(.emblem>.forged-icon,.service-card .totem,.life-note>.heritage-badge){transform:perspective(520px) rotateX(var(--tilt-x,0deg)) rotateY(var(--tilt-y,0deg))}
body .forged-icon[data-icon=knot],body .forged-icon[data-icon=oak]{--ip:0 0}
body .forged-icon[data-icon=raven]{--ip:33.333% 0}
body .forged-icon[data-icon=bear]{--ip:66.666% 0}
body .forged-icon[data-icon=weave]{--ip:100% 0}
body .forged-icon[data-icon=arrow]{--ip:0 100%}
body .forged-icon[data-icon=play]{--ip:33.333% 100%}
body .forged-icon[data-icon=phone]{--ip:66.666% 100%}
body .forged-icon[data-icon=pin]{--ip:100% 100%}
body .section-top>div>.eyebrow:before{background-position:0 0}
/* відблиск обмежений формою самої іконки (маска з того ж атласу) */
body .forged-icon:after{content:'';position:absolute;inset:0;pointer-events:none;opacity:0;
  background:linear-gradient(105deg,transparent 0 44%,#fff1dc00 45.5%,#fff1dc8c 50%,#fff1dc00 54.5%,transparent 56% 100%) 130% 0/420% 100% no-repeat;
  -webkit-mask:url('assets/forged-icons.webp') var(--ip)/400% 200% no-repeat;mask:url('assets/forged-icons.webp') var(--ip)/400% 200% no-repeat;mix-blend-mode:screen}
body .forged-icon{position:relative}
body .forged-icon.is-shine:after{animation:forge-sheen 2.6s cubic-bezier(.45,.05,.3,1) both}
@keyframes forge-sheen{0%{opacity:0;background-position:130% 0}14%{opacity:1}86%{opacity:1}100%{opacity:0;background-position:-30% 0}}
/* гарт при появі: розжарений метал холоне до бронзи */
body .forged-icon.icon-wait{opacity:0}
body .forged-icon.icon-forge{animation:forge-cool 2.8s cubic-bezier(.16,.84,.3,1) backwards}
@keyframes forge-cool{
  0%{opacity:0;transform:perspective(520px) scale(.86) rotate(-5deg);filter:brightness(2.3) sepia(1) saturate(3.4) hue-rotate(-14deg) blur(2px) drop-shadow(0 0 22px #ff7a2e)}
  30%{opacity:1;filter:brightness(1.75) sepia(.7) saturate(2.4) hue-rotate(-9deg) blur(0) drop-shadow(0 0 18px #ff8a3dcc)}
  100%{opacity:1;transform:perspective(520px) scale(1) rotate(0);filter:brightness(1) sepia(0) saturate(1) hue-rotate(0deg) blur(0) drop-shadow(0 6px 14px #000e)}}
/* тепле світіння: наведення на ПК, центр екрана на телефоні */
body .forged-icon.is-lit,body :is(a:not(.primary),button:not(.primary),summary,.emblem,.life-main,.life-note):hover .forged-icon{filter:drop-shadow(0 0 14px #e8924f80) drop-shadow(0 6px 14px #000e)}
body .forged-icon{transition:transform .9s cubic-bezier(.22,.61,.36,1),filter .8s ease}
body .forged-icon.is-tilt{transition:transform .35s cubic-bezier(.22,.61,.36,1),filter .8s ease}
body .forged-icon.is-lit{transition:transform .9s cubic-bezier(.22,.61,.36,1),filter 1.2s ease}
/* стрілки в посиланнях і кнопках повільно відходять уперед */
body :is(a,button):hover .forged-icon[data-icon=arrow]{transform:translateX(6px)}
@media(prefers-reduced-motion:reduce){
  body .forged-icon,body .forged-icon.is-tilt{transition:none;transform:none}
  body .forged-icon:after{display:none}
  body .forged-icon.icon-wait{opacity:1}
  body .forged-icon.icon-forge{animation:none}
}

/* =========================================================================
   ВИПРАВЛЕННЯ ЗА ПЕРЕВІРКОЮ 25.10.2026 (відеотека, переписки, роздільники, доступність)
   ========================================================================= */
/* відеотека */
body .queue-head{max-width:none;width:100%}
body .question-copy small{text-transform:uppercase;letter-spacing:.14em;font-size:12px;font-weight:700;color:var(--copper)}
@media(min-width:761px){body .question-copy>.question-note{display:none}}
body .video-gate .button{background:transparent;border:1px solid var(--copper-2);color:var(--ink);box-shadow:none}
body .video-gate .button:hover{background:#cf8a581f}
body .video-gate{background:none;isolation:isolate;overflow:hidden}
body .video-gate:before{content:'';position:absolute;inset:-16px;z-index:-1;background:radial-gradient(ellipse at 50% 45%,#1a110ab0,#282b2ff0 75%),var(--poster,none) center/cover no-repeat;filter:blur(6px) saturate(.7)}
body .video-queue:empty{display:none}
body .search input::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none;width:16px;height:16px;cursor:pointer;background:var(--copper-2);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 6l12 12M18 6L6 18' stroke='%23000' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 6l12 12M18 6L6 18' stroke='%23000' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat}
@media(max-width:760px){
  body .video-screen video{object-fit:cover;object-position:50% 35%;background:none}
  body .video-queue{overflow:hidden}
  body .video-queue .question-thumb{position:relative;min-height:104px;height:100%}
  body .video-queue .question-thumb img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 22%}
  body .video-queue .question-play{width:30px;height:30px;left:auto;top:auto;right:6px;bottom:6px;transform:none}
  body .video-queue .question-play .forged-icon{width:18px;height:18px}
  body .video-queue .question-copy small{font-size:12px;letter-spacing:.1em}
  body .video-queue>.question-card.active .question-copy:after{font-size:12px;letter-spacing:.12em}
  body .video-queue>.question-card:focus-visible{outline-offset:-3px!important}
  body .video-library:has(.empty-state:not([hidden])) .video-feature{display:none}
  /* стрічка фільтрів: виходить до краю екрана й плавно гасне, а не обрізається */
  body .filter-group{margin-inline:calc(-1*var(--pad));padding:8px var(--pad) 10px;scroll-padding-inline:var(--pad);-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 14px,#000 calc(100% - 40px),transparent);mask-image:linear-gradient(90deg,transparent 0,#000 14px,#000 calc(100% - 40px),transparent)}
  body .filter-group>.filter:focus-visible,body .chat-grid>.chat-card:focus-visible{outline-offset:-4px!important}
}
/* блок «до/після» на телефоні: колонка не розширюється рядком вкладок, вкладки в межах картки */
body .comparison>*{min-width:0}
@media(max-width:760px){
  body .comparison{grid-template-columns:minmax(0,1fr)}
  body .comparison-tabs{margin-inline:0;padding-inline:0;-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 32px),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 32px),transparent)}
}
@media(max-width:360px){body .segment-controls{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;padding:12px 12px 0}body .segment-controls button{padding:0 6px;font-size:12px}}
/* переписки */
body .chat-card .chat-title{margin:0}
@media(min-width:761px){body .chat-card{padding:32px 36px}}
body .chat-phone .chat-screenshot:after{height:12%}
body .chat-card:nth-child(2) .chat-screenshot:after{display:none}
body .chat-card:nth-child(2) .chat-screenshot img{filter:brightness(.9)}
body .carousel-dots button:before{background:#a3876b}
@media(max-width:380px){body .chat-grid{grid-auto-columns:calc(100% - 44px)}}
/* роздільники: симетричні й щільніші відступи, однакова вага емблем */
body main>.section:has(+.emblem-divider){padding-bottom:clamp(40px,5vw,56px)}
body main>.emblem-divider+.section{padding-top:clamp(40px,5vw,56px)}
body main>.emblem-divider{padding-block:clamp(28px,4vw,48px)}
body main>.emblem-divider+.contact.section{margin-top:clamp(28px,4vw,48px)}
body .emblem>.forged-icon[data-icon=raven]{width:92%;height:92%}
body .emblem>.forged-icon{translate:0 -5%}
/* надзаголовки на телефоні не дрібніші 12px */
@media(max-width:760px){
  body :is(.section-top>div>.eyebrow,.hero .eyebrow,.comparison-intro>.eyebrow,.plan-controls>.eyebrow,.about-copy>.eyebrow,.blackout-card .eyebrow,.contact .eyebrow,.price-sheet .eyebrow){font-size:12px;letter-spacing:.16em}
  /* фокус не ховається під закріпленою кнопкою */
  html{scroll-padding-bottom:96px}
  body :is(a,button,input,video,[tabindex]):focus-visible{scroll-margin-bottom:96px}
  /* перший екран на телефоні: текст читається над мотоциклом */
  body .hero-atmosphere{background:
    linear-gradient(0deg,#282b2f 0%,#282b2fe6 18%,#282b2f00 46%),
    linear-gradient(180deg,#282b2f 0,#282b2f 78px,#282b2f00 170px),
    var(--hero-img) 90% 78px/auto calc(100% - 78px) no-repeat,#282b2f}
}

/* =========================================================================
   АНІМАЦІЇ БЛОКІВ (motion2.js): друк тексту, заливка кнопок, підкреслення, пункти, чипи, прайс,
   карта зубів, підсвітка картки на телефоні.
   Темп: заливка й лінії 1,4 с (телефон 3 / 4,5 с), світіння 2,5 с, згасання 0,8 с, поява ~1 с.
   ========================================================================= */
/* друк: слова на місці, «чорнило» біжить по рядках (як у MTECHPLAST) */
html.mo2 .type-in{background-image:linear-gradient(90deg,currentColor calc(100% - 1.25em),transparent);background-repeat:no-repeat;background-size:calc(100% + 1.25em) 100%;-webkit-background-clip:text;background-clip:text;padding-block:.16em}
html.mo2 .ty-wait .type-in{-webkit-text-fill-color:transparent;background-size:0% 100%;text-shadow:none}
html.mo2 .ty-go .type-in{text-shadow:none;animation:type-in max(.7s,min(2.6s,calc(var(--chars,40)*30ms))) linear var(--type-delay,0ms) both}
html.mo2 .ty-done .type-in{background:none}
@keyframes type-in{from{-webkit-text-fill-color:transparent;background-size:0% 100%}99%{-webkit-text-fill-color:transparent;background-size:calc(100% + 1.25em) 100%}to{-webkit-text-fill-color:currentColor;background-size:calc(100% + 1.25em) 100%}}

/* основна кнопка: мідь заливає зліва направо, текст темніє рівно за краєм заливки */
html.mo2 .button.primary:is(.fill-wait,.fill-go){isolation:isolate;background:#2c2f33;color:var(--ink);box-shadow:inset 0 0 0 1px #cf8a5859}
html.mo2 .button.primary:is(.fill-wait,.fill-go):hover{background:#2c2f33}
html.mo2 .button.primary:is(.fill-wait,.fill-go)::before{content:'';position:absolute;inset:0;z-index:-1;border-radius:inherit;background:linear-gradient(180deg,#eab386,#c47e4e);transform:scaleX(0);transform-origin:left center}
html.mo2 .button.primary.fill-go::before{animation:btn-fill var(--fill-dur,1.4s) linear var(--fill-delay,0ms) both}
@keyframes btn-fill{to{transform:none}}
html.mo2 .button.primary:is(.fill-wait,.fill-go) .fill-label{background:linear-gradient(90deg,#1a110a 50%,var(--ink) 50%) no-repeat;background-size:calc(var(--bw,400px)*2) 100%;background-position:calc(-1*var(--lx,0px) - var(--bw,400px)) 0;-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
html.mo2 .button.primary.fill-go .fill-label{animation:label-fill var(--fill-dur,1.4s) linear var(--fill-delay,0ms) both}
@keyframes label-fill{to{background-position:calc(-1*var(--lx,0px)) 0}}
html.mo2 .button.primary.fill-wait .forged-icon{filter:none}
html.mo2 .button.primary.fill-go .forged-icon{transition:filter .45s ease calc(var(--fill-delay,0ms) + var(--fill-dur,1.4s)*.8)}


/* пункти списків, рядки прайсу, адреса — по черзі */
html.mo2 .li-wait{opacity:0;transform:translate3d(0,10px,0)}
html.mo2 .li-go{transition:opacity 1s ease var(--d2,0ms),transform 1s cubic-bezier(.16,.84,.3,1) var(--d2,0ms)}
html.mo2 .price-sheet dd.li-go{animation:price-glow 2.5s ease calc(var(--d2,0ms) + .4s) backwards}
@keyframes price-glow{40%{color:#ffd9b5;text-shadow:0 0 12px #e8924f99}}
html.mo2 .price-sheet .count-vis{font-variant-numeric:tabular-nums}

@keyframes chip-in{from{opacity:0;transform:translate3d(0,10px,0) scale(.94)}}
html.mo2 :is(.filter,.jaw-presets button){transition:background-color .45s ease,color .45s ease,border-color .45s ease,box-shadow .8s ease}

/* карта зубів: нові зуби, нові рядки запиту, підсумок, кнопки, що стали доступні */
html.mo2 .selected-teeth>.tooth-pop{animation:chip-in .7s cubic-bezier(.16,.84,.3,1) both,tooth-glow 2s ease .2s}
@keyframes tooth-glow{35%{border-color:#ffd2a8;color:#fff;box-shadow:0 0 14px #e8924fcc}}
html.mo2 .plan-item.row-in{animation:row-in 1s cubic-bezier(.16,.84,.3,1) both,row-glow 2.5s ease .2s}
@keyframes row-in{from{opacity:0;transform:translate3d(-16px,0,0)}}
@keyframes row-glow{35%{box-shadow:0 0 0 1px #e9b68999,0 0 30px -8px #e8924faa}}
html.mo2 #plan-total.ink-run{width:fit-content;background-image:linear-gradient(90deg,currentColor calc(100% - 1.25em),transparent);background-repeat:no-repeat;-webkit-background-clip:text;background-clip:text;animation:type-in 1.2s linear both,total-glow 2.5s ease 1s}
@keyframes total-glow{40%{filter:drop-shadow(0 0 10px #e8924faa)}}
html.mo2 .btn-wake{animation:btn-wake 1.6s ease}
@keyframes btn-wake{30%{box-shadow:0 0 0 3px #e9b68966,0 0 34px -4px #e8924fcc}}

/* телефон: повільніше; картка в середині екрана підсвічується замість наведення */
@media(max-width:760px){
  html.mo2 .button.primary{--fill-dur:3s}
  html.mo2 .li-go{transition-duration:1.2s}
  html.mo2 .btn-wake{animation-duration:2.5s}
}
@media(hover:none){
  html.mo2 [data-spot]{transition:opacity 1s cubic-bezier(.16,.84,.3,1) var(--d,0ms),transform 1.15s cubic-bezier(.16,.84,.3,1) var(--d,0ms),clip-path 1.5s cubic-bezier(.65,0,.35,1) var(--d,0ms),outline-color .8s ease,box-shadow .8s ease}
  html.mo2 [data-spot].is-spot{outline-color:#e9b68966;box-shadow:inset 0 1px 0 #ffffff14,0 0 0 1px #e6eaef40,0 26px 60px -28px #e8924f73;transition-duration:1s,1.15s,1.5s,2.5s,2.5s}
}

/* =========================================================================
   «ТАКОЖ МОЖНА ЗВЕРНУТИСЯ» (motion2.js, 4б): світло обходить рамку, надзаголовок «збирається»,
   мідна рейка заповнюється (1 стовпчик — через ромби, 1 рядок — під пунктами),
   ромб спалахує й обертається, текст наливається світлом рівно тоді, коли до пункту доходить голівка.
   ПК: рейка 2,2 с; телефон: 4,5 с, світло по рамці 3,5 с.
   ========================================================================= */
@property --xs-ring{syntax:'<angle>';inherits:false;initial-value:0deg}
html.mo2 .extra-services{position:relative}
html.mo2 .extra-services.xs-go::before{content:'';position:absolute;inset:0;z-index:2;border-radius:inherit;padding:1px;pointer-events:none;
  background:conic-gradient(from var(--xs-ring),transparent 0 62%,#cf8a5800 66%,#ffd2a8 82%,#cf8a5800 90%,transparent 100%);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0);
  animation:xs-ring var(--xs-ring-dur,2.4s) linear both}
@keyframes xs-ring{0%{--xs-ring:0deg;opacity:0}12%{opacity:1}82%{opacity:1}100%{--xs-ring:360deg;opacity:0}}
html.mo2 .extra-services.xs-wait>.eyebrow{opacity:0}
html.mo2 .extra-services.xs-go>.eyebrow{animation:xs-eyebrow 1.3s cubic-bezier(.16,.84,.3,1) both}
@keyframes xs-eyebrow{from{opacity:0;letter-spacing:.55em;filter:blur(3px)}}

html.mo2 .extra-services ul{position:relative}
html.mo2 .extra-services li{position:relative;z-index:1}
/* до запуску — пункти читаються, але приглушені, ромби порожні */
html.mo2 .extra-services.xs-wait li{color:var(--ink-3)}
html.mo2 .extra-services.xs-wait li:before{background:#303337;box-shadow:inset 0 0 0 1px #a3876b}
/* текст наливається зліва направо */
html.mo2 .extra-services.xs-go li{background:linear-gradient(90deg,var(--ink) 50%,var(--ink-3) 50%) 100% 0/200% 100% no-repeat;-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;
  animation:xs-sweep var(--xs-sweep,.9s) linear var(--xs-delay,0ms) both}
@keyframes xs-sweep{from{background-position:100% 0}to{background-position:0 0}}
/* ромб спалахує, робить пів оберту й осідає міддю */
html.mo2 .extra-services.xs-go li:before{animation:xs-diamond 1.3s cubic-bezier(.16,.84,.3,1) var(--xs-delay,0ms) both}
@keyframes xs-diamond{0%{transform:rotate(45deg) scale(.7);background:#303337;box-shadow:inset 0 0 0 1px #a3876b}
  40%{transform:rotate(225deg) scale(2.1);background:#ffd9b5;box-shadow:0 0 16px 3px #f0a26acc}
  100%{transform:rotate(225deg) scale(1);background:var(--copper);box-shadow:0 0 8px #e8924f66}}

/* рейка: тьмяна основа, мідне заповнення, світна голівка */
html.mo2 .xs-rail{position:absolute;z-index:0;pointer-events:none;background:#494c50}
html.mo2 .xs-rail.v{width:1px}
html.mo2 .xs-rail.h{height:1px}
html.mo2 .xs-rail.off,html.mo2 .extra-services.xs-done .xs-rail>b{display:none}
html.mo2 .xs-rail>i{position:absolute;inset:0;background:linear-gradient(180deg,#cf8a5880,#e9b689);transform-origin:top center;transform:scaleY(0)}
html.mo2 .xs-rail.h>i{background:linear-gradient(90deg,#cf8a5880,#e9b689);transform-origin:left center;transform:scaleX(0)}
html.mo2 .xs-rail>b{position:absolute;left:-3px;top:-3px;width:7px;height:7px;border-radius:50%;background:#ffd9b5;box-shadow:0 0 10px 2px #f0a26a,0 0 24px 6px #e8924f59;opacity:0}
html.mo2 .extra-services.xs-go .xs-rail.v>i{animation:xs-fill-y var(--xs-dur) linear var(--xs-start) forwards}
html.mo2 .extra-services.xs-go .xs-rail.h>i{animation:xs-fill-x var(--xs-dur) linear var(--xs-start) forwards}
html.mo2 .extra-services.xs-go .xs-rail.v>b{animation:xs-head-y var(--xs-dur) linear var(--xs-start) forwards}
html.mo2 .extra-services.xs-go .xs-rail.h>b{animation:xs-head-x var(--xs-dur) linear var(--xs-start) forwards}
html.mo2 .extra-services.xs-done .xs-rail>i{transform:none}
@keyframes xs-fill-y{to{transform:scaleY(1)}}
@keyframes xs-fill-x{to{transform:scaleX(1)}}
@keyframes xs-head-y{0%{opacity:0;transform:translateY(0)}5%{opacity:1}92%{opacity:1}100%{opacity:0;transform:translateY(var(--xs-len))}}
@keyframes xs-head-x{0%{opacity:0;transform:translateX(0)}5%{opacity:1}92%{opacity:1}100%{opacity:0;transform:translateX(var(--xs-len))}}

/* після показу — пункти живі під мишею */
@media(hover:hover){
  html.mo2 .extra-services.xs-done li{transition:transform .45s cubic-bezier(.16,.84,.3,1),color .45s ease}
  html.mo2 .extra-services.xs-done li:before{transition:transform .6s cubic-bezier(.16,.84,.3,1),box-shadow .6s ease,background-color .45s ease}
  html.mo2 .extra-services.xs-done li:hover{transform:translateX(4px);color:#fff}
  html.mo2 .extra-services.xs-done li:hover:before{transform:rotate(225deg) scale(1.6);background:#ffd2a8;box-shadow:0 0 12px #f0a26acc}
}
@media(max-width:760px){
  html.mo2 .extra-services{--xs-ring-dur:3.5s;--xs-sweep:1.4s}
}

/* =========================================================================
   ТЕЛЕФОН: усі кнопки-фільтри й вкладки видно цілком (переносяться на другий рядок),
   стрічки карток доходять до краю екрана, а не обрізаються лінією поля
   ========================================================================= */
@media(max-width:760px){
  body .filter-group,body .comparison-tabs{flex-wrap:wrap;overflow:visible;margin-inline:0;padding:2px 0 6px;-webkit-mask-image:none;mask-image:none;gap:10px}
  body .filter-group>.filter,body .comparison-tabs .filter{flex:0 1 auto}
  body .work-grid,body .chat-grid{margin-inline:calc(-1*var(--pad));padding-inline:var(--pad);scroll-padding-inline:var(--pad);scrollbar-width:none}
  body .work-grid::-webkit-scrollbar,body .chat-grid::-webkit-scrollbar{display:none}
  /* між послугами й роботами без роздільника — менше порожнечі */
  body .service-section{padding-bottom:44px}
  body #works{padding-top:56px}
}

/* =========================================================================
   ПЕРШИЙ ЕКРАН — СПОКІЙНО (25.10.2026, Родіон: «явно перевантажує»):
   без іскор, без друку й заливки; фото ледь осідає, ім'я відкривається, решта проявляється ОДНІЄЮ хвилею
   ========================================================================= */
body .ember-layer{display:none}
html.mo .hero .hero-atmosphere{transform:scale(1.03);transition:transform 2.4s cubic-bezier(.16,.84,.3,1)}
html.mo .hero :is(.hero-copy>*,.hero-footer){transform:translate3d(0,10px,0);transition:opacity 1s ease .8s,transform 1.1s cubic-bezier(.16,.84,.3,1) .8s}
html.mo .hero .hero-copy>.eyebrow{transition-delay:.15s,.15s}
html.mo .hero .hero-copy>h1{transform:none;transition:clip-path 1.3s cubic-bezier(.65,0,.35,1) .2s,opacity .8s ease .2s}
/* наїзд на обличчя: фото повільно наближається до обличчя один раз (motion2.js рахує точку --face) */
html.mo2 .hero .hero-atmosphere.push-face{transform:none;transform-origin:var(--face,70% 30%)}
html.mo2 .hero.mo-hero-in .hero-atmosphere.push-face{transform:scale(1.16);transition:transform 4.8s cubic-bezier(.45,.05,.25,1) .2s}
/* перший екран: текст стоїть одразу, рухаються лише ім'я (відкривається) і фото (наїзд на обличчя) */
html.mo .hero :is(.hero-copy>*,.hero-footer):not(h1){opacity:1;transform:none;transition:none}

/* =========================================================================
   ВИЇЗД НА ПЕРШОМУ ЕКРАНІ (motion2.js, 0): сайт відкривається на порожньому гаражі, Дмитро виїжджає (10 с, один раз, без звуку),
   ролик переходить у фото, далі — повільний наїзд на обличчя. Кнопка «Пропустити» / «Ще раз» (WCAG 2.2.2).
   html.ride — грає ролик; html.ride-fading — ролик тане над фото. Затемнення в цей час лежить окремим шаром над відео.
   ========================================================================= */
html.ride .hero-atmosphere{background:url('assets/motion/hero-ride-first.jpg') right 0 top 92px/auto calc(100% - 92px) no-repeat,#282b2f}
html.ride-fading .hero-atmosphere{background:var(--hero-img) right 0 top 92px/auto calc(100% - 92px) no-repeat,#282b2f}
html:is(.ride,.ride-fading) .hero-atmosphere::after{content:'';position:absolute;inset:0;z-index:1;pointer-events:none;background:
  linear-gradient(90deg,#282b2f 0%,#282b2ff2 30%,#282b2fe6 46%,#282b2f66 58%,transparent 72%),
  linear-gradient(180deg,#282b2f 0,#282b2f 92px,#282b2f00 250px),
  linear-gradient(0deg,#282b2f 0%,#282b2f00 30%)}
@media(max-width:760px){
  html.ride .hero-atmosphere{background:url('assets/motion/hero-ride-first.jpg') 90% 78px/auto calc(100% - 78px) no-repeat,#282b2f}
  html.ride-fading .hero-atmosphere{background:var(--hero-img) 90% 78px/auto calc(100% - 78px) no-repeat,#282b2f}
  html:is(.ride,.ride-fading) .hero-atmosphere::after{background:
    linear-gradient(0deg,#282b2f 0%,#282b2fe6 18%,#282b2f00 46%),
    linear-gradient(180deg,#282b2f 0,#282b2f 78px,#282b2f00 170px)}
}
html:is(.ride,.ride-fading) .hero-atmosphere{overflow:hidden}
.hero-ride{position:absolute;z-index:0;display:block;object-fit:fill;pointer-events:none;opacity:1;transition:opacity .8s ease}
html:not(.ride) .hero-ride{opacity:0}
html:not(.ride):not(.ride-fading) .hero-ride{visibility:hidden}
/* поки їде — без наїзду; наїзд стартує, коли повернулося фото */
html:is(.ride,.ride-fading) .hero.mo-hero-in .hero-atmosphere.push-face{transform:none;transition:none}
/* кнопка «Пропустити / Ще раз» */
.ride-toggle{position:absolute;z-index:5;right:var(--pad);bottom:96px;min-height:44px;padding:0 18px;display:inline-flex;align-items:center;gap:10px;border-radius:999px;border:1px solid #cf8a5880;background:#282b2fb3;color:var(--ink-2);font:inherit;font-size:13px;font-weight:600;letter-spacing:.04em;cursor:pointer;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);transition:color .45s ease,border-color .45s ease}
.ride-toggle:hover{color:var(--ink);border-color:var(--copper)}
.ride-toggle[hidden]{display:none}
@media(max-width:760px){.ride-toggle{top:92px;bottom:auto}}

/* =========================================================================
   БОТ «ЗАПИТ ДО ДМИТРА» (bot.js): на ПК — картка-чат праворуч унизу, на телефоні — лист знизу на всю ширину
   ========================================================================= */
html.lb-open{overflow:hidden}
body dialog.lead-bot{position:fixed;inset:auto 24px 24px auto;margin:0;width:min(420px,calc(100% - 32px));height:min(660px,calc(100dvh - 48px));max-width:none;max-height:none;padding:0;flex-direction:column;border:1px solid #525559;border-radius:18px;background:linear-gradient(180deg,#34373b,#2c2f33);color:var(--ink);box-shadow:inset 0 1px 0 #ffffff0d,0 40px 80px -30px #000;overflow:hidden}
body dialog.lead-bot[open]{display:flex}
body dialog.lead-bot::backdrop{background:#282b2fb3;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}
.lb-head{display:flex;align-items:center;gap:12px;padding:14px 10px 14px 18px;border-bottom:1px solid var(--line)}
.lb-avatar{flex:none;display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#292c30;border:1px solid #a3876b}
.lb-avatar img{width:22px;height:auto}
.lb-title{flex:1;min-width:0}
.lb-title h2{margin:0;font:600 19px/1.15 var(--head);letter-spacing:.03em;text-transform:uppercase;color:var(--ink)}
.lb-title p{margin:3px 0 0;font-size:13px;color:var(--ink-3)}
.lb-close{flex:none;display:grid;place-items:center;width:44px;height:44px;border:0;border-radius:50%;background:none;color:var(--ink-2);cursor:pointer}
.lb-close svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6}
.lb-close:hover{color:var(--ink);background:#ffffff0a}
.lb-progress{height:2px;background:#414448}
.lb-progress>i{display:block;height:100%;background:linear-gradient(90deg,#cf8a58,#e9b689);transform:scaleX(0);transform-origin:left center;transition:transform .8s cubic-bezier(.16,.84,.3,1)}
.lb-log{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;display:flex;flex-direction:column;gap:10px;padding:18px}
.lb-msg{margin:0;max-width:86%;padding:11px 14px;border-radius:14px;font-size:15px;line-height:1.5}
.lb-bot{align-self:flex-start;background:#393c40;border:1px solid #494c50;border-bottom-left-radius:4px;color:var(--ink)}
.lb-me{align-self:flex-end;background:linear-gradient(180deg,#eab386,#c47e4e);color:#1a110a;font-weight:600;border-bottom-right-radius:4px}
.lb-in{animation:lb-in .5s cubic-bezier(.16,.84,.3,1) both}
@keyframes lb-in{from{opacity:0;transform:translate3d(0,8px,0)}}
.lb-typing{display:inline-flex;gap:5px;align-items:center;padding:14px 16px}
.lb-typing i{width:6px;height:6px;border-radius:50%;background:var(--copper);opacity:.35;animation:lb-dot 1s ease-in-out infinite}
.lb-typing i:nth-child(2){animation-delay:.15s}
.lb-typing i:nth-child(3){animation-delay:.3s}
@keyframes lb-dot{40%{opacity:1;transform:translateY(-3px)}}
.lb-actions{flex:none;max-height:58%;overflow-y:auto;padding:14px 18px 18px;border-top:1px solid var(--line);background:#2c2f33}
.lb-actions:empty{display:none}
.lb-options{display:flex;flex-wrap:wrap;gap:8px}
.lb-opt{display:inline-flex;align-items:center;min-height:44px;padding:10px 16px;border-radius:999px;border:1px solid #a3876b;background:#ffffff05;color:var(--ink);font:inherit;font-size:14px;font-weight:600;line-height:1.25;text-align:left;cursor:pointer;transition:border-color .45s ease,background-color .45s ease}
.lb-opt:hover{border-color:var(--copper);background:#cf8a5814}
.lb-back{display:inline-flex;align-items:center;min-height:44px;margin-top:6px;padding:0;border:0;background:none;color:var(--ink-3);font:inherit;font-size:13px;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.lb-back:hover{color:var(--ink-2)}
.lb-form{display:grid;gap:12px}
.lb-field{display:grid;gap:6px;margin:0;font-size:13px;color:var(--ink-2)}
.lb-field b{font-weight:600;color:var(--ink-3)}
.lb-field input,.lb-field textarea{width:100%;min-height:46px;padding:10px 12px;border-radius:10px;border:1px solid #5d6064;background:#292c30;color:var(--ink);font:inherit;font-size:16px}
.lb-field textarea{min-height:64px;resize:vertical}
.lb-field input:focus,.lb-field textarea:focus{border-color:var(--copper)}
.lb-field [aria-invalid=true],.lb-consent [aria-invalid=true]{border-color:#e0735a;outline:1px solid #e0735a}
.lb-radios{border:0;padding:0;display:flex;flex-wrap:wrap;gap:4px 18px}
.lb-radios legend{padding:0;margin-bottom:4px}
.lb-radios label,.lb-consent{display:inline-flex;align-items:center;gap:8px;min-height:44px;font-size:14px;color:var(--ink)}
.lb-consent{display:grid;grid-template-columns:22px 1fr;align-items:start;font-size:13px;line-height:1.5;color:var(--ink-2);min-height:0}
.lb-consent input{width:20px;height:20px;margin:1px 0 0}
.lb-radios input,.lb-consent input{accent-color:var(--copper)}
.lb-err{margin:-4px 0 0;font-size:13px;color:#f19a7f}
.lb-plan{margin:0;font-size:13px;line-height:1.5;color:var(--copper-2)}
.lb-trap{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.lb-send{width:100%;justify-content:center}
@media(max-width:760px){
  body dialog.lead-bot{inset:auto 0 0 0;width:100%;height:min(88dvh,720px);border-radius:18px 18px 0 0;border-bottom:0}
  .lb-actions{padding-bottom:max(18px,env(safe-area-inset-bottom))}
}
@media(prefers-reduced-motion:reduce){.lead-bot *{animation:none!important;transition:none!important}}
.lb-nav{display:flex;flex-wrap:wrap;gap:4px 20px}
.lb-card{align-self:stretch;padding:16px;border-radius:14px;background:#303337;border:1px solid #494c50;scroll-margin-top:12px}
.lb-avatar{overflow:hidden;border-color:#b9825a;box-shadow:0 0 0 3px #cf8a581f}.lb-avatar img{width:100%;height:100%;object-fit:cover;object-position:50% 30%}
.lb-grid{display:grid;grid-template-columns:repeat(4,1fr)}.lb-grid .lb-opt{justify-content:center;padding:10px 6px}.lb-opt-main{background:linear-gradient(180deg,#eab386,#c47e4e);border-color:#f3c9a3;color:#1a110a}.lb-opt-main:hover{background:linear-gradient(180deg,#f2c196,#cf8a58);border-color:#f3c9a3}
.lb-files{position:relative}.lb-file-input{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden}.lb-file-btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 16px;border:1px dashed #b9825a;border-radius:12px;background:#cf8a580d;color:var(--copper-2);font-size:14px;font-weight:600;cursor:pointer;transition:background-color .45s ease}.lb-file-btn:hover{background:#cf8a581f}.lb-file-input:focus-visible+.lb-file-btn{outline:2px solid #efba7b;outline-offset:3px}.lb-file-input:disabled+.lb-file-btn{opacity:.55;cursor:default}.lb-field small{font-size:12px;line-height:1.45;color:var(--ink-3)}.lb-thumbs{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none}.lb-thumbs:empty{display:none}.lb-thumbs li{position:relative;width:72px;height:72px;border-radius:10px;overflow:hidden;border:1px solid #5d6064}.lb-thumbs img{width:100%;height:100%;object-fit:cover}.lb-thumb-del{position:absolute;top:2px;right:2px;width:28px;height:28px;border:0;border-radius:50%;background:#282b2fd9;color:var(--ink);font-size:18px;line-height:1;cursor:pointer}

/* =========================================================================
   ГРАФІТ (25.10.2026, побажання Дмитра: «загальний фон світліший, як графіт; сайт у першу чергу лікарський»).
   Темні теплі кольори переведено на нейтральний графіт скриптом; тут — токени, фон сторінки без шкіри,
   контраст: третинний текст ≥ 4.5:1, рамки кнопок ≥ 3:1 на всіх поверхнях.
   ========================================================================= */
:root{--ink-3:#b3aa9f;--copper:#d6935f;--leather:linear-gradient(180deg,#ffffff07,#00000012)}
body:before{background:radial-gradient(ellipse 80% 55% at 50% 0,#ffffff0d,transparent 70%),radial-gradient(ellipse 60% 50% at 100% 100%,#cf8a580a,transparent 70%);opacity:1;filter:none}

/* =========================================================================
   ГРАФІТ ЗІ СТИЛЕМ (Родіон: «графіт слабко дивиться — світліше й сіріше, але рамки й інші штуки не забувай»).
   Фон — графітова шкіра (та сама фактура, перефарбована в графіт) зі світлом зверху й затемненням по краях;
   картки — графіт зі сталевою кромкою й мідним відблиском; «нашивки» — графітова шкіра з прострочкою;
   перше фото не перекрите заливкою, а розчиняється у фактурі маскою.
   ========================================================================= */
:root{--bg:#2e3136;--leather:url('assets/graphite-leather.jpg')}
html{background:#2e3136}
body:before{background:
  radial-gradient(ellipse 85% 55% at 50% -8%,#ffffff17,transparent 62%),
  radial-gradient(ellipse 130% 100% at 50% 45%,transparent 52%,#0000004d 100%),
  url('assets/graphite-leather.jpg') center/cover no-repeat;opacity:1;filter:none}

/* картки й панелі: графіт + сталева кромка з мідним відблиском у кутку */
body :is(.metal-frame,.service-card,.work-card,.question-card,.chat-card,.review,.life-note,.video-feature,.comparison,.planner,.blackout-card,.about-copy,.extra-services){
  border:1px solid transparent;
  background:linear-gradient(180deg,#3a3d43 0%,#303338 100%) padding-box,
    linear-gradient(140deg,#a7adb5 0%,#555a61 20%,#33363b 46%,#555a61 72%,#c08f66 100%) border-box;
  box-shadow:inset 0 1px 0 #ffffff14,0 26px 54px -30px #000000c0}
body .blackout-card{background:radial-gradient(ellipse 60% 80% at 15% 20%,#cf8a5822,transparent 70%) padding-box,linear-gradient(180deg,#3a3d43,#303338) padding-box,
    linear-gradient(140deg,#a7adb5 0%,#555a61 20%,#33363b 46%,#555a61 72%,#c08f66 100%) border-box}
body .review blockquote,body .about-copy blockquote{color:var(--ink)}

/* перший екран: фото без суцільних заливок — розчиняється у фактурі ліворуч і внизу */
html body .hero-atmosphere{background:var(--hero-img) right 0 top 92px/auto calc(100% - 92px) no-repeat;
  -webkit-mask-image:linear-gradient(90deg,transparent calc(var(--img-left,49%) + 6px),#000 calc(var(--img-left,49%) + 21%)),linear-gradient(0deg,transparent 0,transparent 13%,#000 42%);-webkit-mask-composite:source-in;
  mask-image:linear-gradient(90deg,transparent calc(var(--img-left,49%) + 6px),#000 calc(var(--img-left,49%) + 21%)),linear-gradient(0deg,transparent 0,transparent 13%,#000 42%);mask-composite:intersect}
@media(max-width:760px){
  html body .hero-atmosphere{background:var(--hero-img) 90% 78px/auto calc(100% - 78px) no-repeat;
    -webkit-mask-image:linear-gradient(0deg,transparent 0,#000 40%);mask-image:linear-gradient(0deg,transparent 0,#000 40%);-webkit-mask-composite:source-over;mask-composite:add}
}

/* =========================================================================
   ТОНКА СТАЛЕВА РАМКА (Родіон: «рамкові виділення, коментарі, відгуки — тонко, красивою сталевою рамочкою»):
   полірована сталь із відблисками по кромці + ледь помітна друга лінія всередині.
   ========================================================================= */
body :is(.metal-frame,.service-card,.work-card,.question-card,.chat-card,.review,.life-note,.video-feature,.comparison,.planner,.about-copy,.extra-services,.price-sheet){
  border:1px solid transparent;
  background:linear-gradient(180deg,#3a3d43 0%,#303338 100%) padding-box,
    linear-gradient(135deg,#e6eaef 0%,#7f858d 13%,#3d4147 30%,#a3aab3 49%,#43484f 67%,#c3c9d0 85%,#5b6169 100%) border-box;
  outline:1px solid #ffffff14;outline-offset:-6px;
  box-shadow:inset 0 1px 0 #ffffff14,0 0 0 1px #00000040,0 26px 54px -30px #000000c0}
/* фокус з клавіатури лишається помітним поверх рамки */
body :is(.metal-frame,.service-card,.work-card,.question-card,.chat-card,.review,.life-note,.video-feature,.comparison,.planner,.about-copy,.extra-services,.price-sheet):focus-visible{outline:2px solid #efba7b;outline-offset:3px}

/* Кути рамок із в'яззю (frames.js) прибрано 25.10.2026 на прохання Дмитра — лишається тонка сталева рамка. */
body .about-copy{padding:clamp(26px,4vw,48px)}

/* знак Дмитра (зуб із бородою) біля цитати про мотоцикл */
body .life-main figcaption>.life-mark{flex:none;width:52px;height:auto;filter:drop-shadow(0 2px 6px #000c)}
@media(max-width:760px){body .life-main figcaption>.life-mark{width:42px}}

/* =========================================================================
   ЧИТАБЕЛЬНІСТЬ (Родіон: «текст скрізь читабельніший»; «дуже близько до рамки й дрібний текст»)
   ========================================================================= */
:root{--ink-2:#e2d9cc;--ink-3:#c6beb3}
/* фактура шкіри приглушена під текстом */
body:before{background:
  radial-gradient(ellipse 85% 55% at 50% -8%,#ffffff17,transparent 62%),
  radial-gradient(ellipse 130% 100% at 50% 45%,transparent 52%,#0000004d 100%),
  linear-gradient(#2e3136a8,#2e3136a8),
  url('assets/graphite-leather.jpg') center/cover no-repeat}
/* перший екран: текст поверх фото й фактури */
body .hero-footer,body .hero-footer a,body .hero-footer span{font-size:15px;color:var(--ink-2);text-shadow:0 1px 10px #000}
body .hero-description{color:var(--ink);text-shadow:0 1px 12px #000c}
/* дрібні підписи крупніші */
body .section-note{font-size:18px;color:var(--ink-2)}
body :is(.compare-control,.comparison-note,.case-note,.jaw-help,.price-date,.price-included,.plan-total p){font-size:15px;line-height:1.65}
body .review figcaption small{font-size:14px;letter-spacing:.03em}
html body :is(footer p,footer a,footer span){font-size:15px}
body :is(.selection-label,.service-label,.plan-total>span){font-size:14px}
body .selected-teeth{font-size:16px}
/* запит на карті зубів: крупніше й далі від рамки */
body .plan-controls{padding:clamp(28px,4vw,48px)}
body .plan-item{padding:16px 0;gap:16px}
body .plan-item strong{font-size:17px;line-height:1.35}
body .plan-item small{display:block;font-size:15px;line-height:1.5;margin-top:6px}
@media(max-width:760px){
  body .plan-controls{padding:28px 24px}
  body .section-note{font-size:17px}
}
/* номер телефону — завжди одним рядком */
body .contact-phone{white-space:nowrap;font-size:clamp(22px,2.3vw,32px)}
@media(max-width:760px){body .contact-phone{font-size:clamp(20px,6.1vw,28px);gap:10px}body .contact-phone>.forged-icon{width:38px;height:38px}}

/* =========================================================================
   ПОШУК ПО САЙТУ (search.js): лупа в шапці, кругла кнопка під час гортання, вікно з результатами
   ========================================================================= */
html.ss-open{overflow:hidden}
.search-toggle,.quick-search{display:grid;place-items:center;flex:none;width:44px;height:44px;padding:0;border-radius:50%;border:1px solid #ffffff38;background:#2e3136cc;color:var(--ink);cursor:pointer;transition:border-color .2s,background .2s}
.search-toggle svg,.quick-search svg,.ss-field>svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.search-toggle:hover,.quick-search:hover{border-color:var(--copper-2);background:#3a3d42}
body .header .search-toggle{margin-left:0}
/* під час гортання: праворуч унизу, з'являється разом із кнопкою запису */
.quick-search{position:fixed;z-index:21;right:24px;bottom:24px;width:52px;height:52px;border-color:#c3c9d066;background:linear-gradient(180deg,#3a3d42,#2c2f33);box-shadow:0 10px 30px -8px #000;transform:translateY(calc(100% + 40px));transition:transform .3s ease,border-color .2s}
body.qm-visible .quick-search{transform:none}
@media(max-width:760px){
  body .header .search-toggle{margin-left:auto;margin-right:10px}
  .quick-search{right:16px;bottom:12px}
  body .mobile-book{right:80px}
}
/* на вузьких телефонах у шапці: знак, лупа, меню; «Записатися» дублює кнопку першого екрана й нижню панель */
@media(max-width:480px){body .header-cta{display:none}}
@media(prefers-reduced-motion:reduce){.quick-search{transition:none}}

body dialog.site-search{position:fixed;inset:7vh 0 auto;margin:0 auto;width:min(720px,calc(100% - 32px));max-height:86dvh;max-width:none;padding:0;flex-direction:column;border:1px solid transparent;border-radius:18px;
  background:linear-gradient(180deg,#36393e,#2c2f33) padding-box,linear-gradient(135deg,#e6eaef 0%,#7f858d 13%,#3d4147 30%,#a3aab3 49%,#43484f 67%,#c3c9d0 85%,#5b6169 100%) border-box;
  color:var(--ink);box-shadow:0 40px 90px -30px #000;overflow:hidden}
body dialog.site-search[open]{display:flex}
body dialog.site-search::backdrop{background:#282b2fc7;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}
.ss-bar{padding:22px 22px 6px}
.ss-label{display:block;margin:0 0 14px;font:600 22px/1.2 var(--head);letter-spacing:.03em;text-transform:uppercase;color:var(--ink)}
.ss-field{display:flex;align-items:center;gap:10px;padding:0 4px 0 16px;border:1px solid #63676d;border-radius:12px;background:#25282b;color:var(--ink-3)}
.ss-field:focus-within{border-color:var(--copper-2);box-shadow:0 0 0 1px var(--copper-2)}
.ss-field input{flex:1;min-width:0;height:56px;border:0;background:none;color:var(--ink);font:400 17px/1.3 var(--body);-webkit-appearance:none;appearance:none}
.ss-field input::placeholder{color:#a9a196}
.ss-field input::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none}
body .ss-field input:focus-visible{outline-color:transparent!important}
.ss-close{display:grid;place-items:center;flex:none;width:46px;height:46px;border:0;border-radius:50%;background:none;color:var(--ink-2);cursor:pointer}
.ss-close svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6}
.ss-close:hover{color:var(--ink);background:#ffffff0d}
.ss-hint{margin:10px 2px 0;font-size:14px;line-height:1.5;color:var(--ink-3)}
.ss-suggest{display:flex;flex-wrap:wrap;gap:8px;padding:12px 22px 22px}
.ss-suggest[hidden]{display:none}
.ss-chip{min-height:42px;padding:8px 16px;border:1px solid #5d6167;border-radius:999px;background:#ffffff08;color:var(--ink-2);font:500 15px/1.2 var(--body);cursor:pointer}
.ss-chip:hover{border-color:var(--copper-2);color:var(--ink)}
.ss-status{margin:0;padding:0 22px;font-size:14px;color:var(--ink-3)}
.ss-status:empty{display:none}
.ss-results{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:8px 14px 18px}
.ss-results:empty{display:none}
.ss-list{display:grid;gap:6px;margin:0;padding:0;list-style:none}
.ss-item{display:grid;gap:5px;width:100%;padding:14px 16px;border:1px solid transparent;border-radius:12px;background:#ffffff07;color:var(--ink);font:inherit;text-align:left;cursor:pointer}
.ss-item:hover,.ss-item:focus-visible{background:#ffffff10;border-color:#e6eaef40}
.ss-type{font:700 12px/1.3 var(--body);letter-spacing:.16em;text-transform:uppercase;color:var(--copper-2)}
.ss-title{font:600 18px/1.3 var(--body);color:var(--ink)}
.ss-text{font-size:15px;line-height:1.55;color:var(--ink-2)}
.ss-empty{padding:18px 8px 8px}
.ss-empty p{margin:0 0 16px;font-size:16px;line-height:1.55;color:var(--ink-2)}
@media(max-width:760px){
  body dialog.site-search{inset:0;width:100%;height:100dvh;max-height:100dvh;border-radius:0;border:0;background:#2e3136}
  .ss-bar{padding:16px 16px 4px}
  .ss-label{font-size:20px}
  .ss-suggest{padding:12px 16px 18px}
  .ss-status{padding:0 16px}
  .ss-results{padding:8px 10px 24px}
}

/* =========================================================================
   ВІДЕОВІДПОВІДІ: клік по картці одразу вмикає ролик; на картці видно «Зараз грає» й «еквалайзер»
   ========================================================================= */
body .question-copy>.question-warn{display:block;margin-top:8px;font-size:13px;line-height:1.4;color:var(--ink-3)}
body .question-copy>.question-state{display:flex;align-items:center;gap:8px;margin-top:10px;font:700 12px/1.3 var(--body);letter-spacing:.12em;text-transform:uppercase;color:var(--copper-2)}
body .question-copy>.question-state:empty{display:none}
body .question-card.is-playing .question-state:before{content:"";flex:none;width:8px;height:8px;border-radius:50%;background:var(--copper-2);box-shadow:0 0 0 4px #e9b68933}
body .question-eq{display:none;align-items:flex-end;justify-content:center;gap:3px;height:16px}
body .question-eq i{display:block;width:3px;height:100%;border-radius:1px;background:var(--copper-2);transform-origin:bottom;animation:q-eq 1.4s ease-in-out infinite alternate}
body .question-eq i:nth-child(2){animation-delay:-.5s}
body .question-eq i:nth-child(3){animation-delay:-1s}
body .question-card.is-playing .question-play>:not(.question-eq){display:none}
body .question-card.is-playing .question-eq{display:flex}
body .question-card.is-playing .question-play{border-color:var(--copper-2)}
@keyframes q-eq{from{transform:scaleY(.3)}to{transform:scaleY(1)}}
@media(prefers-reduced-motion:reduce){
  body .question-eq i{animation:none}
  body .question-eq i:nth-child(1){transform:scaleY(.55)}
  body .question-eq i:nth-child(3){transform:scaleY(.75)}
}

/* =========================================================================
   СТАТТІ Й ТЕКСТОВІ ВІДПОВІДІ (аудит 25.10.2026): посилання з карток послуг, підвал, згода в боті,
   «Відповіді текстом» під відео — те саме, що в роликах, для тих, кому незручно дивитися, і для пошуку
   ========================================================================= */
body .service-card>.card-read{margin:10px 0 0;font-size:15px;line-height:1.6;color:var(--ink-3)}
body .service-card>.card-read a{color:var(--copper-2);text-decoration:underline;text-underline-offset:3px;border:0;padding:0}
body footer .footer-links{margin:0;font-size:15px}
body footer .footer-links a{color:var(--ink-2)}
.lb-consent-more{margin:4px 0 0 30px;font-size:13px}
.lb-consent-more a{color:var(--copper-2);text-underline-offset:2px}

body .text-answers{margin-top:clamp(36px,5vw,56px)}
body .text-answers>h3{margin:0 0 8px;font:600 clamp(24px,2.6vw,32px)/1.15 var(--head);letter-spacing:.03em;text-transform:uppercase;color:var(--ink)}
body .text-answers>.section-note{margin:0 0 18px}
body .ta-list{display:grid;gap:10px}
@media(min-width:900px){body .ta-list{grid-template-columns:1fr 1fr;align-items:start}}
body .ta-item{border:1px solid transparent;border-radius:14px;background:linear-gradient(180deg,#383b40,#303338) padding-box,linear-gradient(135deg,#e6eaef 0%,#7f858d 13%,#3d4147 30%,#a3aab3 49%,#43484f 67%,#c3c9d0 85%,#5b6169 100%) border-box}
body .ta-item>summary{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:16px 18px;cursor:pointer;list-style:none;font:600 17px/1.35 var(--body);color:var(--ink)}
body .ta-item>summary::-webkit-details-marker{display:none}
body .ta-item>summary:after{content:'+';flex:none;font:400 26px/1 var(--body);color:var(--copper-2)}
body .ta-item[open]>summary:after{content:'−'}
body .ta-item>summary small{display:block;margin-bottom:4px;font:700 12px/1.3 var(--body);letter-spacing:.14em;text-transform:uppercase;color:var(--copper)}
body .ta-item>div{padding:0 18px 18px;font-size:16px;line-height:1.65;color:var(--ink-2)}
body .ta-item>div p{margin:0 0 12px}
body .ta-item .ta-play{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:8px 16px;border:1px solid #ffffff40;border-radius:999px;background:none;color:var(--ink);font:600 15px/1 var(--body);cursor:pointer}
body .ta-item .ta-play:hover{border-color:var(--copper-2)}
body .ta-item .ta-play svg{width:16px;height:16px;fill:currentColor}

body .ta-item .ta-play .forged-icon{width:22px;height:22px}
body .ta-item>div a{color:var(--copper-2);text-decoration:underline;text-underline-offset:3px}
body .ta-item>div a:hover{color:var(--ink)}


/* =========================================================================
   МЕНЮ І ПОШУК (search.js): кругла кнопка внизу відкриває розділи сайту + пошук — заміна закріпленого меню
   ========================================================================= */
body.qm-visible .quick-menu{transform:none}
.quick-menu svg{width:24px;height:24px}
body dialog.site-search{overflow:auto}
body dialog.site-search .ss-bar{position:sticky;top:0;z-index:2;background:#34373c}
body dialog.site-search .ss-results{flex:none;overflow:visible}
.site-search.is-menu .ss-hint{display:none}
.ss-nav{padding:8px 22px 6px}
.ss-nav[hidden]{display:none}
.ss-nav-title{margin:0 0 10px;font:700 12px/1.3 var(--body);letter-spacing:.18em;text-transform:uppercase;color:var(--copper)}
.ss-nav ul{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px;margin:0;padding:0;list-style:none}
.ss-nav li{margin:0}
.ss-nav a{display:flex;align-items:center;min-height:50px;padding:10px 14px;border:1px solid #ffffff24;border-radius:12px;background:#ffffff08;color:var(--ink);font:600 16px/1.25 var(--body);text-decoration:none}
.ss-nav a:hover{border-color:var(--copper-2);background:#ffffff10}
body .ss-nav .ss-book{width:100%;margin-top:12px;justify-content:center}
@media(max-width:760px){
  body dialog.site-search .ss-bar{background:#2e3136}
  .ss-nav{padding:6px 16px 4px}
  .ss-nav ul{grid-template-columns:1fr 1fr}
}

/* =========================================================================
   ПК: перший екран росте за вмістом, а рядок адреси внизу має своє місце (Родіон, 25.10.2026: на широкому
   невисокому вікні «Дніпро · вул. Робоча, 95» наїжджав на «Обговорити мій випадок»);
   шапка: «Записатися» й лупа поруч праворуч, меню по центру між знаком і ними
   ========================================================================= */
@media(min-width:761px){
  body .hero{height:auto;min-height:max(860px,min(980px,100svh));padding-bottom:124px}
  body .header{justify-content:flex-start}
  body .header>nav{margin-inline:auto}
  body .header .search-toggle{margin-left:4px}
}

/* підвал на телефоні: посилання «Статті · Персональні дані» — окремим рядком (у v3.css усі footer p стоять у рядку 2) */
@media(max-width:600px){body footer .footer-links{grid-column:1/-1;grid-row:4}}

/* ПК: кнопка запису в бот під час гортання — поруч із кнопкою «Меню і пошук» (на телефоні вона вже була).
   Родіон, 25.10.2026: «чому телеграм-бота не додав на сайт» — бот був лише в кнопках першого екрана й шапки. */
@media(min-width:761px){
  body .mobile-book{display:inline-flex;position:fixed;z-index:20;left:auto;right:92px;bottom:24px;min-height:52px;padding:14px 26px;border-radius:999px;font-size:15px;white-space:nowrap;box-shadow:0 12px 30px -10px #000;transform:translateY(calc(100% + 40px));transition:transform .3s ease}
  body.book-visible .mobile-book{transform:none}
}
@media(min-width:761px) and (prefers-reduced-motion:reduce){body .mobile-book{transition:none}}

/* випадки: 6 карток на ПК — 3+3 замість 4+2 (26.10.2026); на планшеті 2 колонки, на телефоні карусель — без змін */
@media(min-width:1151px){body .work-grid{grid-template-columns:repeat(3,1fr)}}
