@font-face {
  font-family: Onest;
  src: url("assets/fonts/onest-cyrillic.woff2") format("woff2");
  font-weight: 500 800;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Onest;
  src: url("assets/fonts/onest-latin.woff2") format("woff2");
  font-weight: 500 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Manrope;
  src: url("assets/fonts/manrope-cyrillic.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Manrope;
  src: url("assets/fonts/manrope-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  --paper: #fffefd;
  --ink: #352a30;
  --muted: #6e5662;
  --accent: #8e405d;
  --accent-dark: #703048;
  --rose: #f7e9ec;
  --wash: #fbf0f1;
  --line: #e5ccd4;
  --display: Onest, "Arial", sans-serif;
  --body: Manrope, "Arial", sans-serif;
  --gutter: clamp(20px, 5vw, 72px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.6 var(--body); }
body:has(.gallery-dialog[open]) { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; }
p, figure, dl, dd { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 700; line-height: 1.04; letter-spacing: -.042em; }
h2 { font-size: clamp(34px, 4.3vw, 62px); }
h3 { font-size: clamp(24px, 2.7vw, 36px); }
[id] { scroll-margin-top: 24px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.wrap { width: min(1200px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { display: inline-block; width: 21px; height: 21px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.skip { position: fixed; z-index: 4; top: 10px; left: 10px; padding: 10px 16px; color: white; background: var(--accent-dark); }
.skip:not(:focus) { width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.site-header { background: var(--wash); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 72px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.wordmark { justify-self: start; display: inline-flex; min-height: 44px; align-items: center; font: 700 29px/1 var(--display); letter-spacing: -.07em; text-decoration: none; }
.wordmark span { color: var(--accent); }
.top-nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 48px); font-size: 14px; font-weight: 700; }
.top-nav a, .header-phone { display: inline-flex; min-height: 44px; align-items: center; text-decoration: none; }
.top-nav a:hover, .header-phone:hover { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 4px; }
.header-phone { justify-self: end; gap: 8px; color: var(--accent-dark); font-weight: 700; white-space: nowrap; }

.hero { position: relative; overflow: clip; isolation: isolate; display: flex; flex-direction: column; background: var(--wash); }
.hero-copy { position: relative; z-index: 1; padding-top: clamp(56px, 6.5vw, 95px); text-align: center; }
.hero h1 { font-size: clamp(43px, 5.45vw, 76px); line-height: .99; }
.hero-subtitle { margin-top: 16px; color: var(--accent-dark); font: 500 clamp(20px, 2.6vw, 31px)/1.25 var(--display); letter-spacing: -.022em; }
.hero-intro { margin-top: 14px; color: var(--muted); font-size: clamp(16px, 1.5vw, 19px); }
.actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.hero-actions { margin-top: 27px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 52px; padding: 12px 24px; border: 1px solid transparent; border-radius: 12px; font: 700 15px/1.3 var(--body); text-align: center; text-decoration: none; transition: background-color .18s ease, border-color .18s ease, transform .18s ease; }
.button-primary { background: var(--accent); color: white; }
.button-primary:hover { background: var(--accent-dark); }
.button-outline { border-color: var(--accent); color: var(--accent-dark); background: var(--wash); }
.button-outline:hover { background: #f1dce3; }
.button:active { transform: scale(.985); }
.hero-actions .button-primary, .contact .button-primary { min-width: 252px; }
.hero-actions .button-outline, .contact .button-outline { min-width: 178px; }
.hero-note { margin-top: 13px; font-size: 14px; color: var(--muted); }
.hero-art { width: 100%; height: clamp(246px, 28vw, 416px); margin-top: -25px; object-fit: cover; object-position: 50% 88%; mask-image: linear-gradient(transparent, #000 32%); }

.section { padding-block: clamp(58px, 7.6vw, 112px); }
.section-tint { background: var(--rose); }
.section-head { margin-bottom: clamp(22px, 3.2vw, 43px); }
.section-head p { margin-top: 12px; color: var(--muted); font-size: clamp(16px, 1.6vw, 20px); }
.section-head-centered { text-align: center; }
.service-grid, .visit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.service-card { padding: clamp(19px, 3vw, 37px); background: var(--wash); border: 1px solid #f0dce2; border-radius: 20px; }
.price-list { margin-top: 10px; }
.price-row { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; align-items: baseline; padding-block: 13px; }
.price-row + .price-row { border-top: 1px solid var(--line); }
.price-row:last-child { padding-bottom: 0; }
.price-row dt { font-weight: 700; }
.price { font: 700 clamp(21px, 2.6vw, 32px)/1.05 var(--display); letter-spacing: -.04em; white-space: nowrap; }
.service-detail { grid-column: 1 / -1; margin-top: 4px; color: var(--muted); font-size: 14px; }
.travel-note { display: flex; align-items: center; gap: 16px; margin-top: 16px; border-radius: 16px; background: var(--rose); padding: 16px clamp(16px, 3vw, 30px); }
.travel-note .icon { color: var(--accent-dark); width: 28px; height: 28px; }
.travel-note strong { margin-right: 12px; }
.travel-note span { color: var(--muted); }
.service-bottom { display: flex; align-items: baseline; justify-content: space-between; gap: 12px 28px; flex-wrap: wrap; margin-top: 12px; }
.service-bottom p { color: var(--muted); font-size: 14px; }
.text-link { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; color: var(--accent-dark); font-size: 15px; font-weight: 700; text-underline-offset: .22em; }
.text-link:hover { text-decoration-thickness: 2px; }

.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2vw, 25px); }
.work-link { display: block; overflow: hidden; aspect-ratio: 4 / 3; background: #ebd6db; border-radius: 17px; }
.work-link img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.work-link:hover img { transform: scale(1.035); }
.work figcaption { margin-top: 7px; font-size: 14px; color: var(--muted); }
.work-actions { display: flex; justify-content: center; flex-wrap: wrap; align-items: center; gap: 8px 22px; margin-top: 28px; }
.master-grid { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 7vw, 103px); max-width: 1040px; }
.master-photo { width: 100%; border-radius: 24px; background: var(--wash); }
.master-copy p { margin-top: 15px; color: var(--muted); }
.master-copy .lead { color: var(--ink); font-size: clamp(17px, 2vw, 23px); line-height: 1.47; }
.master-copy .button { margin-top: 23px; }
.master-map { display: flex; width: fit-content; margin-top: 14px; }
.master-proof { max-width: 1040px; margin-top: clamp(32px, 6vw, 72px); }
.proof-grid { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1fr); gap: clamp(28px, 7vw, 103px); }
.proof-grid h3, .hygiene h3 { font-size: clamp(25px, 3vw, 38px); }
.training-hint { margin-top: 8px; color: var(--muted); font-size: 14px; }
.training-list { margin: 12px 0 0; padding: 0; list-style: none; }
.training-list li { padding: 10px 0; border-top: 1px solid var(--line); }
.training-list figure { display: flex; align-items: center; gap: 12px; }
.training-link { display: grid; place-items: center; flex: 0 0 68px; width: 68px; height: 68px; padding: 4px; border: 1px solid var(--line); border-radius: 9px; background: var(--wash); }
.training-link:hover { border-color: var(--accent); background: var(--rose); }
.training-link img { width: 100%; height: 58px; object-fit: contain; }
.training-list span { display: block; color: var(--muted); font-size: 14px; }
.review { margin-top: 14px; }
.review blockquote { margin: 0; padding-left: 12px; border-left: 2px solid var(--line); }
.review figcaption { margin: 3px 0 0 14px; color: var(--muted); font-size: 14px; }
.proof-grid .text-link { margin-top: 8px; }

.hygiene { margin-top: clamp(28px, 5vw, 56px); padding: clamp(18px, 4vw, 40px); border: 1px solid var(--line); border-radius: 22px; background: var(--wash); }
.hygiene > p { margin-top: 12px; color: var(--muted); }
.hygiene-steps { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 14px 20px; margin: 22px 0 0; padding: 0 0 0 23px; }
.hygiene-steps li { padding: 0 8px 0 2px; }
.hygiene-steps li::marker { color: var(--accent-dark); font-weight: 700; }
.hygiene-steps p { margin-top: 5px; color: var(--muted); }
.hygiene .hygiene-visit { margin-top: 21px; padding-top: 16px; border-top: 1px solid var(--line); }
.hygiene-visit strong { color: var(--ink); }
.hygiene .text-link { min-height: 44px; margin-top: 4px; font-size: 14px; }

.visit-card { display: flex; gap: 16px; padding: clamp(16px, 2.5vw, 30px); background: var(--paper); border-radius: 20px; }
.visit-icon { display: grid; place-items: center; flex: 0 0 51px; width: 51px; height: 51px; border-radius: 50%; background: var(--wash); color: var(--accent-dark); }
.visit-icon .icon { width: 25px; height: 25px; }
.visit-card h3 { margin-bottom: 5px; font-size: clamp(21px, 2.2vw, 28px); }
.visit-card p, .faq p { color: var(--muted); }
.visit-copy { display: flex; flex: 1; flex-direction: column; align-items: flex-start; min-width: 0; }
.visit-copy p { flex: 1; }
.visit-copy .button { margin-top: 14px; }
.faq { max-width: 750px; margin: 36px auto 0; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 13px; min-height: 57px; padding: 12px 1px; font: 700 clamp(16px, 1.7vw, 20px)/1.3 var(--display); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq p { padding: 0 22px 15px 1px; }

.contact { background: var(--wash); text-align: center; }
.contact-inner > p { margin-top: 12px; color: var(--muted); }
.contact-number { display: inline-block; margin: 19px 0 22px; font: 700 clamp(34px, 6vw, 68px)/1 var(--display); letter-spacing: -.055em; text-decoration: none; }
.contact-number:hover { color: var(--accent-dark); }
.contact-inner > .contact-address { margin-top: 23px; font-size: 15px; }
.site-footer { background: var(--wash); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 71px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.footer-inner .wordmark { color: var(--ink); }
.mobile-actions { display: none; }

.gallery-dialog { width: min(760px, calc(100% - 28px)); max-height: calc(100% - 28px); margin: auto; padding: 0; border: 0; border-radius: 20px; background: var(--paper); color: var(--ink); }
.gallery-dialog::backdrop { background: rgb(34 23 30 / 78%); }
.gallery-panel { position: relative; padding: 14px; }
.gallery-image { width: 100%; height: min(67vh, 660px); object-fit: contain; background: var(--wash); border-radius: 13px; }
.gallery-controls { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; gap: 10px; padding-top: 10px; text-align: center; font-size: 14px; font-weight: 700; }
.icon-button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 11px; background: var(--paper); color: var(--accent-dark); cursor: pointer; }
.icon-button:hover { background: var(--rose); }
.gallery-close { position: absolute; top: 21px; right: 21px; }
.gallery-prev .icon { transform: rotate(180deg); }

@media (max-width: 780px) {
  html { scroll-padding-bottom: calc(69px + env(safe-area-inset-bottom, 0px)); }
  body { padding-bottom: calc(69px + env(safe-area-inset-bottom, 0px)); }
  .header-inner { min-height: 59px; grid-template-columns: 1fr auto; }
  .top-nav, .header-phone span { display: none; }
  .header-phone { min-width: 44px; justify-content: flex-end; }
  .hero-copy { padding-top: 42px; }
  .hero h1 { font-size: clamp(28px, 8.45vw, 51px); letter-spacing: -.05em; }
  .hero-subtitle { margin-top: 12px; }
  .hero-intro { max-width: 310px; margin-inline: auto; }
  .hero-actions { margin-top: 20px; }
  .hero-art { margin-top: -9px; height: clamp(230px, 55vw, 340px); object-position: 50% 94%; }
  .service-grid, .visit-grid { grid-template-columns: 1fr; gap: 12px; }
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work-link { aspect-ratio: 1; border-radius: 13px; }
  .master-grid, .master-proof { max-width: 525px; }
  .master-grid { grid-template-columns: 1fr; gap: 23px; }
  .proof-grid, .hygiene-steps { grid-template-columns: 1fr; }
  .hygiene-steps li { padding-right: 0; }
  .master-photo { max-height: 510px; object-fit: cover; object-position: 50% 33%; }
  .travel-note strong, .travel-note span { display: block; }
  .travel-note strong { margin-right: 0; }
  .mobile-actions { position: fixed; z-index: 2; inset: auto 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 9px var(--gutter) calc(9px + env(safe-area-inset-bottom, 0px)); background: var(--paper); border-top: 1px solid var(--line); }
  .mobile-actions .button { min-height: 49px; padding: 10px 12px; }
}

@media (max-width: 460px) {
  .hero-actions, .contact .actions { flex-direction: column; gap: 9px; }
  .hero-actions .button, .contact .actions .button { min-width: 0; width: 100%; min-height: 48px; }
  .hero-note { font-size: 14px; }
  .work-actions { flex-direction: column; align-items: stretch; gap: 4px; }
  .work-actions .text-link { justify-content: center; }
  .master-photo { aspect-ratio: 1 / 1.03; height: auto; }
  .visit-card { gap: 11px; }
  .visit-copy .button { width: 100%; padding-inline: 8px; }
  .faq { margin-top: 25px; }
  .footer-inner { min-height: 64px; font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; }
}
