@font-face {
  font-family: Manrope;
  src: url('/assets/fonts/manrope-cyrillic.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0400-052F, U+2116;
}

@font-face {
  font-family: Manrope;
  src: url('/assets/fonts/manrope-latin.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F;
}

:root {
  --ink: #122c42;
  --muted: #4c6877;
  --accent: #00766d;
  --line: #d6e6e4;
  --paper: #fff;
  --mint: #e8f5f0;
}

* { box-sizing: border-box; }
body { margin: 0; background: #f4f8f8; color: var(--ink); font: 16px/1.6 Manrope, system-ui, sans-serif; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:focus-visible, summary:focus-visible { outline: 3px solid #168378; outline-offset: 4px; }
h1, h2, h3, p, dl, dd { margin: 0; }
h1, h2, h3 { line-height: 1.15; }
p { color: var(--muted); }
.ap-wrap { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }
.ap-header { border-bottom: 1px solid var(--line); background: var(--paper); }
.ap-header-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 75px; }
.ap-brand, .ap-catalog { display: inline-flex; gap: 10px; align-items: center; text-decoration: none; }
.ap-brand { color: var(--ink); line-height: 1.25; }
.ap-brand strong { display: block; font-size: 17px; }
.ap-brand small { color: var(--muted); font-size: 11px; }
.ap-catalog { font-size: 13px; font-weight: 800; }
.ap-breadcrumbs { display: flex; flex-wrap: wrap; gap: 9px; padding-block: 23px 17px; color: var(--muted); font-size: 13px; }
.ap-breadcrumbs a { color: inherit; text-decoration: none; }
.ap-breadcrumbs a:hover, .ap-catalog:hover { text-decoration: underline; }

.ap-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(230px, .75fr) minmax(0, 1.6fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  padding: clamp(20px, 3.5vw, 46px);
  border: 1px solid var(--line);
  border-radius: 26px;
  background: radial-gradient(ellipse at top right, #d0eae0, transparent 68%), #f0f8f5;
}
.ap-hero::before { content: ''; position: absolute; z-index: -1; inset: -240px -110px auto auto; width: 500px; aspect-ratio: 1; border: 1px solid #87baab55; border-radius: 50%; box-shadow: 0 0 0 35px #b1d6ca28, 0 0 0 70px #b1d6ca20; pointer-events: none; }
.ap-portrait { display: grid; place-items: center; aspect-ratio: 1; overflow: hidden; border-radius: 18px; background: #daeae6; color: var(--accent); font-size: 44px; font-weight: 800; }
.ap-portrait img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ap-eyebrow { color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.ap-hero h1 { margin-block: 8px 15px; font-size: clamp(38px, 5.6vw, 72px); letter-spacing: -.055em; }
.ap-lead { max-width: 32em; font-size: clamp(15px, 1.75vw, 19px); }
.ap-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 19px 0 23px; padding: 0; list-style: none; }
.ap-tags li { border: 1px solid #c9e0d9; border-radius: 999px; padding: 4px 12px; color: var(--accent); font-size: 12px; font-weight: 750; }
.ap-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.ap-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 47px; padding: 10px 16px; border: 1px solid var(--accent); border-radius: 10px; font-weight: 800; font-size: 14px; text-decoration: none; }
.ap-primary { color: #fff; background: var(--accent); }
.ap-primary:hover { background: #005e57; }
.ap-outline { background: var(--paper); color: var(--accent); border-color: #b4d6ce; }
.ap-outline:hover { background: var(--mint); }
.ap-hours { margin-top: 13px; font-size: 13px; }
.ap-hours strong { color: var(--ink); }
.ap-stats { display: flex; flex-wrap: wrap; margin-block: 18px; padding: 12px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); }
.ap-stats div { display: flex; flex: 1 1 170px; flex-direction: column-reverse; gap: 2px; min-width: 0; padding: 8px 18px; }
.ap-stats dt { font-size: 13px; color: var(--muted); }
.ap-stats dd { font-size: 29px; line-height: 1.15; color: var(--accent); font-weight: 800; letter-spacing: -.035em; }
.ap-stats .ap-rating { flex-basis: 220px; }
.ap-rating dt a { color: inherit; }
.ap-rating dd { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 10px; min-height: 33px; color: var(--ink); font-size: 13px; letter-spacing: 0; }
.ap-rating-stars { display: block; flex: none; }
.ap-stars-base { fill: #fff5de; stroke: #b88533; stroke-width: 1.1; stroke-linejoin: round; }
.ap-stars-fill { fill: #e8a92f; stroke: #a26a16; stroke-width: 1.1; stroke-linejoin: round; }
.ap-section-nav { display: flex; flex-wrap: wrap; gap: 7px; margin-block: 18px 22px; padding: 8px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.ap-section-nav a { display: block; padding: 8px 13px; border-radius: 8px; color: var(--ink); font-size: 13px; font-weight: 800; text-decoration: none; }
.ap-section-nav a:hover { background: var(--mint); color: var(--accent); }

.ap-layout { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(265px, 1fr); align-items: start; gap: 22px; }
.ap-main { display: grid; gap: 20px; }
.ap-panel { min-width: 0; padding: clamp(18px, 3vw, 30px); border: 1px solid var(--line); border-radius: 18px; background: var(--paper); scroll-margin-top: 18px; }
.ap-panel h2 { margin-bottom: 13px; font-size: clamp(23px, 2.6vw, 30px); letter-spacing: -.035em; }
.ap-panel .ap-eyebrow { margin-bottom: 8px; }
.ap-panel p + p, .ap-panel details + details { margin-top: 12px; }
.ap-panel details p { white-space: pre-line; overflow-wrap: anywhere; }
.ap-price-panel { scroll-margin-top: 18px; }
.ap-price-list { margin-block: 16px 12px; }
.ap-price-list div { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 2px 12px; padding-block: 12px; border-top: 1px solid var(--line); }
.ap-price-list div:last-child { border-bottom: 1px solid var(--line); }
.ap-price-list dt { color: var(--ink); font-weight: 800; }
.ap-price { color: var(--accent); font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ap-price-scope { grid-column: 1 / -1; color: var(--muted); font-size: 13px; }
.ap-price-note { font-size: 13px; }
.ap-price-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 12px; font-size: 14px; font-weight: 800; }
.ap-profile-facts, .ap-contact-facts { margin-top: 16px; }
.ap-profile-facts div, .ap-contact-facts div { display: grid; gap: 2px; padding: 10px 0; border-top: 1px solid var(--line); }
.ap-profile-facts dt, .ap-contact-facts dt { color: var(--muted); font-size: 12px; }
.ap-profile-facts dd, .ap-contact-facts dd { font-size: 14px; font-weight: 800; }
.ap-directions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 10px; list-style: none; margin: 0; padding: 0; }
.ap-directions li { display: flex; flex-direction: column; min-height: 135px; padding: 14px; border: 1px solid #e0ece9; border-radius: 12px; background: #f7fbfa; }
.ap-directions h3 { margin-bottom: 5px; font-size: 15px; }
.ap-directions p { font-size: 13px; }
.ap-directions details { margin-top: auto; padding-top: 8px; }
.ap-directions summary, .ap-question summary { width: fit-content; cursor: pointer; color: var(--accent); font-size: 13px; font-weight: 800; }
.ap-topic-prices { display: grid; gap: 7px; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); font-size: 12px; }
.ap-topic-prices div { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.ap-topic-prices dd { white-space: nowrap; font-weight: 800; color: var(--accent); }
.ap-review { margin: 12px 0 0; padding: 14px; border: 1px solid var(--line); border-radius: 12px; }
.ap-review figcaption { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; }
.ap-review figcaption span { color: var(--accent); font-weight: 800; }
.ap-review blockquote { margin: 8px 0; white-space: pre-line; overflow-wrap: anywhere; }
.ap-review small { color: var(--muted); }
.ap-steps { display: grid; gap: 12px; padding-left: 22px; }
.ap-steps li { padding-left: 6px; }
.ap-steps li::marker { color: var(--accent); font-weight: 800; }
.ap-steps p, .ap-question p { font-size: 14px; }
.ap-question { padding-block: 10px; border-top: 1px solid var(--line); }
.ap-question p { margin-top: 7px; }
.ap-contact { position: sticky; top: 20px; background: var(--mint); }
.ap-contact .ap-actions { display: grid; margin-block: 16px 0; }
.ap-contact .ap-actions + p { margin-top: 14px; }
.ap-footer { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; margin-top: 34px; padding-block: 20px; border-top: 1px solid var(--line); font-size: 13px; }
.ap-mobile-contact { display: none; }

@media (max-width: 760px) {
  .ap-wrap { width: calc(100% - 32px); }
  .ap-layout { grid-template-columns: 1fr; }
  .ap-contact { position: static; }
}

@media (max-width: 570px) {
  .ap-header-inner { min-height: 63px; }
  .ap-hero { grid-template-columns: 1fr; gap: 18px; }
  .ap-portrait { width: min(100%, 245px); margin-inline: auto; }
  .ap-hero h1 { font-size: clamp(31px, 9vw, 44px); }
  .ap-hero .ap-actions { display: grid; }
  .ap-stats div { flex-basis: 120px; padding: 8px 10px; }
  .ap-stats .ap-rating { flex-basis: 100%; border-top: 1px solid var(--line); }
  .ap-directions { grid-template-columns: 1fr; }
  .ap-directions li { min-height: 0; }
  .ap-section-nav { gap: 4px; }
  .ap-section-nav a { padding: 6px 9px; }
  .ap-footer { padding-bottom: calc(86px + env(safe-area-inset-bottom)); }
  .ap-mobile-contact { position: fixed; z-index: 1; inset: auto 0 0; display: block; padding: 8px 16px calc(8px + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--line); }
  .ap-mobile-contact .ap-button { display: flex; }
}

.ap-related-links { display: grid; gap: 10px; margin: 14px 0 0; padding-left: 20px; }
.ap-contact:has(.lead-form) { position: static; }
.ap-contact .lead-form { display: grid; gap: 12px; margin-top: 16px; }
.ap-contact .lead-form .form-grid { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
.ap-contact .lead-form label { display: grid; gap: 5px; font-size: 13px; font-weight: 750; }
.ap-contact .lead-form :is(input:not([type=hidden]), select, textarea) { width: 100%; min-width: 0; padding: 9px 10px; border: 1px solid #b4d6ce; border-radius: 9px; background: var(--paper); color: var(--ink); font: inherit; font-weight: 500; }
.ap-contact .lead-form textarea { min-height: 98px; resize: vertical; }
.ap-contact .lead-form .primary-button { min-height: 46px; border: 0; border-radius: 10px; padding: 8px 12px; background: var(--accent); color: white; font: inherit; font-weight: 800; cursor: pointer; }
.ap-contact .lead-form .primary-button:hover { background: #005e57; }
