:root {
  color-scheme: light;
  --ink: #252521;
  --muted: #595954;
  --line: #deded9;
  --orange: #ff945f;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: white;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 1rem; }
body, h1, h2, h3, p { margin: 0; }
body { line-height: 1.5; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
:focus-visible { outline: 3px solid #9f400d; outline-offset: 4px; }
.wrap { width: min(76rem, calc(100% - clamp(2rem, 9vw, 9rem))); margin-inline: auto; }
.skip { position: absolute; z-index: 1; padding: .7rem 1rem; background: white; transform: translateY(-120%); }
.skip:focus { transform: none; }
.header { border-bottom: 1px solid var(--line); }
.bar, .bar nav, .brand, .offer, .footer { display: flex; align-items: center; }
.bar { min-height: 4.8rem; gap: clamp(1rem, 3vw, 3rem); }
.brand { gap: .65rem; font-size: 1.5rem; font-weight: 700; letter-spacing: -.065em; }
.brand-mark { position: relative; width: 1.75rem; height: 1.5rem; background: var(--orange); border-radius: .55rem .55rem .55rem .1rem; }
.brand-mark::after { content: ""; position: absolute; inset: .42rem .38rem; border-block: 2px solid var(--ink); }
.bar nav { gap: 2rem; margin-left: auto; }
.bar nav a, .footer > :last-child { font-size: .94rem; color: var(--muted); }
.bar nav a:hover, .footer a:hover { text-decoration: underline; text-underline-offset: .25em; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3.1rem; padding: .75rem 1.35rem; border: 0; background: var(--orange); color: var(--ink); border-radius: .85rem; font-weight: 650; text-align: center; cursor: pointer; }
.button:hover { background: #ffab80; }
.header-action { min-height: 2.65rem; background: var(--ink); color: white; padding: .58rem 1.15rem; }
.header-action:hover { background: #474742; }
.header-actions, .telegram { display: flex; align-items: center; gap: .45rem; }
.header-actions { gap: 1rem; }
.telegram { min-height: 2.75rem; font-size: .94rem; }
.telegram[href]:hover { text-decoration: underline; }
.telegram small { padding: .1rem .42rem; background: #f0f0ec; border-radius: .5rem; color: var(--muted); }
.consultation { max-width: 36rem; padding-block: clamp(2rem, 5vw, 5rem); }
.consultation h1 { margin-block: 1.5rem; font-size: clamp(2rem, 5vw, 3.5rem); }
.consultation p { margin-block: 1rem; }
.consultation .form-error { margin: 0; color: #98221c; }
.consultation .back { text-decoration: underline; text-underline-offset: .2rem; }
.hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(1.5rem, 4vw, 4rem); padding-block: clamp(2.5rem, 5vw, 5rem); }
h1, h2, h3 { line-height: 1.1; font-weight: 600; }
h1 { font-size: clamp(2.55rem, 4.95vw, 4.75rem); letter-spacing: -.065em; }
h2 { font-size: clamp(1.95rem, 3.2vw, 3rem); letter-spacing: -.055em; }
h3 { font-size: 1.2rem; letter-spacing: -.03em; }
.intro { max-width: 29rem; margin-top: 1.4rem; color: var(--muted); font-size: clamp(1.05rem, 1.5vw, 1.2rem); }
.offer { gap: 1.2rem; flex-wrap: wrap; margin-top: 1.85rem; }
.price { font-size: 1.35rem; letter-spacing: -.04em; white-space: nowrap; }
.hero-image { display: block; width: 100%; height: auto; border-radius: 1.45rem; }
.section { border-top: 1px solid var(--line); padding-block: clamp(2.6rem, 4.3vw, 4rem); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: .85rem; margin: 1.7rem 0 0; padding: 0; list-style: none; }
.steps li { padding: clamp(1.1rem, 1.7vw, 1.65rem); background: #f7f7f4; border-radius: 1rem; }
.icon { display: block; width: 1.65rem; height: 1.65rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 1.65rem; }
.steps p, .questions p, .booking p { margin-top: .55rem; color: var(--muted); }
.split { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
details { border-bottom: 1px solid var(--line); }
summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 0; font-size: 1.1rem; font-weight: 600; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.5rem; line-height: 1; }
details[open] summary::after { content: "−"; }
.questions p { margin: 0 0 1.1rem; }
.booking { padding: clamp(1.35rem, 4vw, 3.8rem); border-radius: 1.45rem; background: #fff2e9; }
.booking h2 { max-width: 11em; }
.booking p { max-width: 27rem; }
.booking .price { display: block; margin-top: 1rem; }
form { display: grid; gap: .4rem; }
label { font-weight: 600; }
label:not(:first-of-type) { margin-top: .6rem; }
input:not([type="hidden"]) { width: 100%; min-height: 3rem; border: 1px solid #938d87; border-radius: .65rem; padding: .75rem .9rem; color: var(--ink); background: white; }
input[aria-invalid="true"] { border-color: #a1211a; }
.booking .form-error { margin: 0; color: #98221c; }
.form-button { justify-self: start; margin-top: .8rem; }
.saved { padding: 1.3rem; border-radius: .85rem; background: white; }
.footer { justify-content: space-between; gap: 1rem; padding-block: 1.8rem; }
.footer .brand { font-size: 1.15rem; }
.footer, .footer nav { flex-wrap: wrap; }
.footer nav { display: flex; gap: .5rem 1.4rem; }
.legal-page a { text-decoration: underline; text-underline-offset: .15em; }
@media print {
  @page { size: A4; margin: 16mm; }
  .legal-page .header, .legal-page .footer { display: none; }
  .legal-page .reading { width: auto; max-width: none; margin: 0; padding: 0; }
  .legal-page h1 { font-size: 19pt; }
  .legal-page h2 { font-size: 14pt; margin: 1em 0 .4em; }
  .legal-page .reading p { font-size: 11pt; line-height: 1.36; margin: .5em 0; }
}
.booking-calendar, .time-picker { padding: clamp(.8rem, 3vw, 1.5rem); border: 1px solid var(--line); border-radius: 1rem; margin-block: 1rem; }
.month-bar { display: grid; grid-template-columns: 2.5rem 1fr 2.5rem; text-align: center; align-items: center; }
.month-bar h2, .time-picker h2 { font-size: 1.4rem; }
.month-bar a { display: block; font-size: 1.75rem; }
.month-grid, .hour-grid { display: grid; gap: .22rem; text-align: center; }
.month-grid { grid-template-columns: repeat(7, 1fr); }
.month-grid small { padding: .65rem 0; color: var(--muted); }
.month-grid a, .month-grid .unavailable, .hour-grid > * { padding: .55rem 0; border-radius: .55rem; }
.month-grid a:hover, .hour-grid a:hover { background: #fff0e5; }
.month-grid [aria-current], .hour-grid [aria-current] { background: var(--orange); font-weight: 700; }
.unavailable { color: #787870; }
.hour-grid { grid-template-columns: repeat(auto-fit, minmax(3.7rem, 1fr)); margin-bottom: 1rem; }
.hour-grid > * { border: 1px solid var(--line); }
.time-picker select { font: inherit; padding: .7rem; border: 1px solid var(--muted); border-radius: .6rem; background: white; }
.header-actions { flex-wrap: wrap; }
.account-link { text-decoration: underline; text-underline-offset: .2em; }
@media (max-width: 66rem) { .bar { flex-wrap: wrap; padding-block: .6rem; } }
.case-card { padding: 1.35rem; margin-block: 1.3rem; border: 1px solid var(--line); border-radius: 1rem; }
.case-card h2 { font-size: 1.5rem; }
.timeline { list-style: none; margin: 1rem 0 0; padding: 0; }
.timeline li { display: flex; align-items: baseline; gap: .8rem; padding-block: .65rem; }
.timeline small { display: block; color: var(--muted); }
.timeline .indicator { flex: 0 0 1.3rem; height: 1.3rem; align-self: flex-start; margin-top: .15rem; border-radius: 50%; border: 2px solid var(--line); }
.timeline .done .indicator { text-align: center; line-height: 1.1rem; color: #176d41; background: #daf6e4; border-color: #daf6e4; }
.timeline .active .indicator { border-top-color: #555; animation: spin 1.4s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .timeline .active .indicator { animation: none; } }
.brand-caption { display: block; font-size: .875rem; font-weight: 400; line-height: 1.2; letter-spacing: normal; color: var(--muted); }
.reading { max-width: 46rem; padding-block: clamp(2rem, 5vw, 5rem); }
.reading h1 { font-size: clamp(2.35rem, 5vw, 3.9rem); }
.reading h2 { font-size: clamp(1.45rem, 3vw, 2rem); margin-top: 2.3rem; }
.reading p { margin-block: 1rem; line-height: 1.68; }
.reading .intro { max-width: none; }
.reading article a { text-decoration: underline; text-underline-offset: .18em; }
.reading .button { margin-top: 1.5rem; }
textarea { width: 100%; min-height: 14rem; resize: vertical; border: 1px solid #938d87; border-radius: .75rem; padding: 1rem; font: inherit; }
@media (max-width: 56rem) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 44rem) {
  .bar { min-height: 4rem; justify-content: space-between; }
  .bar nav { display: none; }
  .hero, .split { grid-template-columns: 1fr; }
  .hero { gap: 1.7rem; }
  .hero-image { max-height: 21rem; object-fit: cover; }
  .split { gap: 1.2rem; }
  .offer { margin-top: 1.4rem; gap: .85rem; }
}
@media (max-width: 32rem) {
  .bar { flex-wrap: wrap; gap: .3rem 1rem; padding-block: .65rem; }
  .header-actions { margin-left: auto; }
  .steps { grid-template-columns: 1fr; }
  .steps li { display: grid; grid-template-columns: 1.65rem 1fr; column-gap: 1rem; }
  .icon { grid-row: span 2; margin: 0; }
  .steps p { grid-column: 2; }
  .header-action { padding-inline: .9rem; }
}
