.seo-page {
  --seo-card: #503d32;
  --seo-readable: #dbc7b0;
  --seo-accent: #e0bc90;
  font-size: 15px;
  line-height: 1.65;
}
.seo-page a:focus-visible, .seo-page summary:focus-visible, .beauty-directions a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}
.beauty-directions { display: flex; flex-wrap: wrap; gap: 10px; }
.beauty-directions a {
  display: inline-block;
  color: inherit;
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 8px 15px;
  font-size: .9em;
  text-decoration: none;
}
.beauty-directions a:hover, .beauty-directions [aria-current="page"] {
  color: var(--seo-accent, var(--warm));
  border-color: currentColor;
}
.seo-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-block: 24px 0; font-size: .85em; color: var(--seo-readable); }
.seo-crumb span::before { content: '/'; margin-right: 12px; color: var(--warm); }
.seo-crumb a { color: var(--seo-accent); }
.seo-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  margin-block: 18px clamp(48px, 6vw, 90px);
  border-radius: 30px;
  background: linear-gradient(115deg,#694b37,#513c2e);
  box-shadow: 0 22px 50px #24161135;
  overflow: hidden;
}
.seo-hero-copy { align-self: center; padding: clamp(28px, 5vw, 70px); }
.seo-hero h1 { margin: 0; color: var(--ink); font-family: var(--serif); font-size: clamp(38px, 4.75vw, 68px); font-weight: 600; line-height: 1.03; text-wrap: balance; }
.seo-hero h1 em { display: block; margin-top: .12em; color: var(--seo-accent); font-size: .72em; }
.seo-hero p { margin: 22px 0; max-width: 46ch; font-size: 1.08em; color: var(--seo-readable); }
.seo-hero-photo { position: relative; min-height: clamp(355px, 38vw, 490px); margin-top: 36px; border-top-left-radius: clamp(105px, 12vw, 170px); overflow: hidden; }
.seo-hero-photo img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.seo-hero-photo::after { position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, #39291f47); content: ""; pointer-events: none; }
.seo-page .seo-action { min-height: 48px; padding-inline: 19px; font-size: 14px; font-weight: 750; }
.seo-page .contact-actions > a.seo-action { display: inline-flex; }
.seo-body h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(32px, 4.2vw, 46px); margin: 0 0 14px; line-height: 1.04; }
.seo-body h2:not(:first-child) { margin-top: 38px; }
.seo-body p, .seo-body li { color: var(--seo-readable); }
.seo-body > p { max-width: 75ch; }
.seo-body a:not(.button) { color: var(--seo-accent); text-decoration: underline; text-underline-offset: 3px; }
.seo-guide { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 2fr); align-items: start; max-width: 840px; gap: 10px 16px; margin: 16px 0 25px; }
.seo-guide dt { font-weight: 750; color: var(--ink); }
.seo-guide dd { margin: 0; color: var(--seo-readable); }
.seo-team { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.seo-team li { padding: 10px 15px; border: 1px solid var(--line); border-radius: 12px; }
.seo-team strong, .seo-team span { display: block; }
.seo-team strong { color: var(--ink); }
.offers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.offer, .offer-prices li { border: 1px solid var(--line); border-radius: 16px; background: var(--seo-card); }
.offer { scroll-margin-top: 18px; }
.offer { display: grid; grid-template-columns: minmax(96px, .58fr) minmax(0, 1fr); align-items: start; overflow: hidden; }
.offer img { display: block; width: 100%; height: auto; aspect-ratio: 1; }
.offer-content { padding: 20px; }
.offer-content h3 { margin: 0; color: var(--ink); font-family: var(--serif); font-size: 1.9em; line-height: 1; }
.offer-content .offer-facts { color: var(--seo-accent); font-weight: 750; margin: 6px 0 10px; }
.offer summary { cursor: pointer; color: var(--ink); }
.offer-link { display: inline-block; margin-top: 12px; }
.offer-prices { list-style: none; margin: 0; padding: 0; max-width: 820px; }
.offer-prices li { display: flex; gap: 12px; justify-content: space-between; align-items: center; padding: 12px 16px; margin-bottom: 8px; }
.offer-prices small { display: block; color: var(--seo-readable); }
.offer-prices strong { white-space: nowrap; color: var(--seo-accent); }
.seo-sessions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 26px; }
.seo-session { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(20px, 3vw, 34px); border: 1px solid var(--line); border-radius: 22px; background: var(--seo-card); }
.seo-session h3 { margin: 0; font: 600 clamp(25px, 3vw, 36px)/1.05 var(--serif); }
.seo-session p { margin: 10px 0 18px; }
.seo-session strong { display: block; margin: auto 0 14px; color: var(--seo-accent); }
.seo-gallery { padding-block: clamp(54px, 7vw, 98px); }
.seo-gallery-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 14px; }
.seo-gallery-grid img { display: block; width: 100%; height: clamp(150px, 23vw, 315px); object-fit: cover; border-radius: 20px; }
.seo-gallery-grid img:first-child { object-position: center 62%; }
.seo-related { padding-block: 44px; }
.seo-related .section-heading { margin-bottom: 18px; }
@media (max-width: 700px) {
  .seo-hero { grid-template-columns: minmax(0, 1fr); margin-block: 14px 38px; border-radius: 23px; }
  .seo-hero-copy { padding: 22px 22px 24px; }
  .seo-hero h1 { font-size: clamp(36px, 8vw, 49px); }
  .seo-hero p { margin: 16px 0; font-size: 1em; }
  .seo-hero-photo { margin: 0 0 0 22px; min-height: clamp(180px, 50vw, 285px); border-top-left-radius: 78px; }
  .seo-guide, .offers, .seo-sessions { grid-template-columns: 1fr; }
  .seo-guide { gap: 3px; }
  .seo-guide dd { margin-bottom: 8px; }
  .offer-content { padding: 12px; }
  .seo-gallery-grid { grid-template-columns: 1.5fr 1fr; gap: 9px; }
  .seo-gallery-grid img { height: clamp(120px, 40vw, 250px); border-radius: 13px; }
  .seo-gallery-grid img:last-child { display: none; }
  .seo-related { padding-block: 34px; }
}
@media (max-width: 360px) {
  .seo-page[data-service="limfodrenazhnyy-massazh"] .seo-hero h1 {
    font-size: clamp(27px, 9.1vw, 35px);
  }
}
