/* shared look of the text pages: privacy policy, treatment pages, 404 */
:root { --bg: #f6f8fc; --ink: #0e1a33; --muted: #5b6680; --accent: #4c6db4; --accent-deep: #34528f; --soft: #e9eef8; --line: #e3e8f1; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: "Readex Pro", system-ui, sans-serif; line-height: 1.85; font-size: 16.5px; }
a { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
.p-nav { position: sticky; top: 0; z-index: 10; background: rgba(246, 248, 252, .9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.p-nav .in { width: min(1100px, 100% - 40px); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.p-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: .08em; color: var(--ink); text-decoration: none; }
.p-brand img { width: 38px; height: 38px; border-radius: 50%; }
.p-links { display: flex; gap: 18px; font-size: 14px; }
.p-links a { color: var(--ink); text-decoration: none; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 22px; border-radius: 999px; background: var(--accent); color: #fff; text-decoration: none; font-weight: 500; border: 0; font: inherit; cursor: pointer; }
.btn:hover { background: var(--accent-deep); }
.btn-ghost { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.wrap { width: min(820px, 100% - 40px); margin-inline: auto; padding-block: 48px 80px; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.crumbs a { color: var(--muted); }
h1 { font-size: clamp(30px, 4vw, 44px); line-height: 1.25; margin: 0 0 14px; }
h2 { font-size: 23px; margin: 40px 0 10px; line-height: 1.4; }
h3 { font-size: 18px; margin: 24px 0 6px; }
p, li { color: #26324d; }
.lead { font-size: 19px; color: var(--muted); }
.box { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px 24px; margin: 24px 0; }
.hero-img { border-radius: 24px; margin: 28px 0; aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin: 22px 0; }
.facts div { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; }
.facts small { display: block; color: var(--muted); font-size: 13px; }
.facts b { font-size: 16px; }
details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 4px 18px; margin: 10px 0; }
summary { cursor: pointer; padding: 12px 0; font-weight: 600; }
.cta-band { margin-top: 44px; background: var(--accent); color: #fff; border-radius: 26px; padding: 28px; display: flex; gap: 18px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cta-band h2 { margin: 0; color: #fff; font-size: 22px; }
.cta-band p { color: rgba(255, 255, 255, .85); margin: 4px 0 0; }
.cta-band .btn { background: #fff; color: var(--accent-deep); }
.related { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.related a { display: block; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px; text-decoration: none; color: var(--ink); font-weight: 500; }
.related a:hover { border-color: var(--accent); }
.p-foot { border-top: 1px solid var(--line); padding: 28px 0; font-size: 13px; color: var(--muted); }
.p-foot .in { width: min(1100px, 100% - 40px); margin-inline: auto; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.en { direction: ltr; text-align: left; }
@media (max-width: 640px) { .p-links { display: none; } }

/* booking window on text pages (same look as the home page) */
:root { --ease: cubic-bezier(.22, 1, .36, 1); }
.btn-primary { background: var(--accent); color: #fff; }
.bk { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: rgba(14, 26, 51, .5); backdrop-filter: blur(4px); line-height: 1.6; }
.bk[hidden] { display: none; }
.bk-card { position: relative; width: min(520px, 100%); max-height: 92svh; overflow-y: auto; background: #fff; border-radius: 28px; padding: clamp(22px, 4vw, 32px); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .5); animation: bkIn .35s var(--ease); }
@keyframes bkIn { from { transform: translateY(24px) scale(.97); opacity: 0; } }
.bk-x { position: absolute; top: 14px; left: 14px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--soft); font-size: 22px; cursor: pointer; }
.bk h2 { font-size: 24px; margin: 0; }
.bk h3 { font-size: 16px; margin: 18px 0 12px; }
.bk-muted { color: var(--muted); }
.bk-steps { display: flex; gap: 6px; list-style: none; padding: 0; margin: 14px 0 0; }
.bk-steps li { flex: 1; height: 4px; border-radius: 4px; background: var(--soft); }
.bk-steps li.done, .bk-steps li.on { background: var(--accent); }
.bk-steps li.on { opacity: .5; }
.bk-back { margin-top: 12px; border: 0; background: none; color: var(--accent); cursor: pointer; padding: 0; font: inherit; }
.bk-sum { font-size: 13px; color: var(--muted); }
.bk-chips, .bk-days, .bk-times { display: flex; flex-wrap: wrap; gap: 8px; }
.bk-chips button, .bk-days button, .bk-times button { font: inherit; font-size: 14px; border: 0; padding: 10px 16px; border-radius: 14px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--soft); cursor: pointer; }
.bk-chips button:hover, .bk-days button:hover, .bk-times button:hover { background: var(--accent); color: #fff; }
.bk-times button { min-width: 76px; font-variant-numeric: tabular-nums; direction: ltr; }
.bk-form { display: grid; gap: 12px; }
.bk-form label { display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
.bk-form input, .bk-form textarea { font: inherit; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--soft); background: var(--bg); outline: none; }
.bk-form input:focus, .bk-form textarea:focus { border-color: var(--accent); }
.bk-hp { position: absolute; left: -9999px; }
.bk-err { color: #d94848; min-height: 1.2em; font-size: 13px; }
.bk-done { text-align: center; display: grid; gap: 12px; justify-items: center; padding-block: 10px; }
.bk-done span { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: #e3f5ec; color: #22a06b; font-size: 30px; }
.bk-consent { display: flex !important; flex-direction: row; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--ink) !important; line-height: 1.7; }
.bk-consent input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--accent); padding: 0 !important; }
.bk-consent a { color: var(--accent); text-decoration: underline; }

/* treatments index */
.t-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-top: 28px; }
.t-card { display: grid; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 10px 10px 18px; text-decoration: none; color: var(--ink); transition: border-color .2s, transform .3s var(--ease); }
.t-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.t-card img { border-radius: 14px; aspect-ratio: 16 / 10; object-fit: cover; width: 100%; margin-bottom: 6px; }
.t-card b, .t-card span { padding-inline: 8px; }
.t-card span { font-size: 14px; color: var(--muted); line-height: 1.6; }
ol li, ul li { margin-bottom: 6px; }
