/* patients page */
.pt-hero { padding-block: clamp(32px, 6vw, 72px) clamp(24px, 4vw, 48px); background: linear-gradient(180deg, var(--tint), #fff); }
.pt-hero .lead { max-width: 62ch; }
.pt-crumbs { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.pt-crumbs a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.pt-crumbs a:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.pt-h2 { font-size: clamp(28px, 4.2vw, 44px); margin-block: 0 12px; }
.pt-h3 { font-size: clamp(20px, 2.6vw, 26px); margin: 40px 0 16px; }
.pt-note { color: var(--muted); font-size: 14px; margin-block: 8px 0; }

/* sticky in-page nav */
.pt-nav-wrap { position: sticky; top: var(--pt-hdr, 64px); z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.pt-nav__in { display: flex; gap: 8px; padding-block: 12px; overflow-x: auto; scrollbar-width: thin; }
.pt-nav .chip { flex: 0 0 auto; white-space: nowrap; }
#first-visit, #payment, #bring, #prepare, #rights, #faq, #branch-almaty, #branch-astana, #branch-shymkent { scroll-margin-top: 150px; }
html { scroll-behavior: smooth; }

/* steps */
.pt-steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: var(--gap); grid-template-columns: 1fr; counter-reset: none; }
.pt-step { position: relative; padding: 24px; min-width: 0; }
.pt-step h3 { margin: 12px 0 8px; font-size: 20px; }
.pt-step p { margin: 0; color: var(--muted); }
.pt-step__num { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; font-size: 20px; }
@media (min-width: 700px) { .pt-steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .pt-steps { grid-template-columns: repeat(5, 1fr); } }

/* icon cards */
.pt-icard { padding: 24px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.pt-icard h3 { margin: 12px 0 4px; font-size: 20px; }
.pt-icard p { margin: 0 0 8px; color: var(--ink); }
.pt-icard .pt-note { margin: 0 0 8px; }
.pt-icard .btn { margin-top: auto; }
.pt-icon { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--tint); color: var(--brand); }

/* price table */
.pt-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-m); background: #fff; }
.pt-table-wrap:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.pt-table { width: 100%; border-collapse: collapse; min-width: 480px; }
.pt-table th, .pt-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.pt-table thead th { background: var(--brand); color: #fff; font-weight: 600; }
.pt-table tbody th { font-weight: 500; }
.pt-table tbody tr:last-child > * { border-bottom: 0; }
.pt-table td:last-child { color: var(--brand-dark); font-weight: 600; }

/* two columns */
.pt-two { display: grid; gap: clamp(24px, 5vw, 64px); grid-template-columns: 1fr; align-items: start; }
.pt-two > * { min-width: 0; }
@media (min-width: 900px) { .pt-two { grid-template-columns: 1fr 1.2fr; } }

/* checklist */
.pt-check { list-style: none; margin: 0; padding: 12px 24px; }
.pt-check li { position: relative; padding: 14px 0 14px 40px; border-bottom: 1px solid var(--line); }
.pt-check li:last-child { border-bottom: 0; }
.pt-check li::before { content: ""; position: absolute; left: 0; top: 16px; width: 24px; height: 24px; border-radius: 50%; background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.500l4 4 8-9'/%3E%3C/svg%3E") center / 16px no-repeat; }

.pt-prose { padding: clamp(20px, 3vw, 32px); }
.pt-prose p { margin: 0 0 14px; }
.pt-prose p:last-child { margin: 0; }

/* faq */
.pt-faq { max-width: 860px; display: grid; gap: 12px; margin-top: 24px; }
.pt-faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--r-m); padding: 0 20px; }
.pt-faq summary { cursor: pointer; list-style: none; padding: 18px 32px 18px 0; font-weight: 600; position: relative; }
.pt-faq summary::-webkit-details-marker { display: none; }
.pt-faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 26px; color: var(--brand); line-height: 1; }
.pt-faq details[open] summary::after { content: "\2212"; }
.pt-faq summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
.pt-faq details p { margin: 0 0 18px; color: var(--muted); }

.pt-cta { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.pt-cta > div { flex: 1 1 320px; min-width: 0; }
.pt-cta .pt-h2, .pt-cta .lead { color: inherit; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media (min-width: 900px) { .pt-nav-wrap { --pt-hdr: 116px; } }
