/* JULIA V41: clear editorial reading, tactile booking, restrained conversion dock. */

/* Nested facts came from the original page HTML as adjacent inline spans.
   Give each piece its own readable surface on every piercing detail page. */
.page-inner .source-summary > div > div > div:has(> span) {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 185px), 1fr));
  gap: 11px;
  margin-bottom: 16px;
}
.page-inner .source-summary > div > div > div > span {
  display: block;
  min-width: 0;
  padding: 13px 15px;
  border: 1px solid rgba(113, 77, 121, .19);
  border-radius: 12px;
  background: linear-gradient(150deg, #fffdfbf2, #faf2f9e8);
  color: #483349;
  font-size: clamp(12px, 1vw, 14px);
  font-weight: 600;
  line-height: 1.48;
  letter-spacing: .005em;
  overflow-wrap: break-word;
}
.page-inner .source-summary > div > div > div > span + span {
  margin-left: 0;
}
.page-inner .source-summary {
  background: linear-gradient(140deg, #f5eef4, #eee5ed);
  border-left: 3px solid #9d78a8;
  border-radius: 0 16px 16px 0;
  box-shadow: 0 16px 45px rgba(65, 35, 67, .045);
}

/* 132 service-price pairs were authored as <span>Name</span><span>Cost</span>.
   Without layout they literally rendered as one glued phrase. This shared
   price-row treatment covers all beauty pages and the main price directory. */
.page-inner .source-body ul:has(> li > span + span),
.page-inner .source-body ul:has(> li > a + span) {
  list-style: none;
  padding-left: 0;
  border-top: 1px solid #dcd0dc;
  margin: 22px 0 32px;
}
.page-inner .source-body ul:has(> li > span + span) > li,
.page-inner .source-body ul:has(> li > a + span) > li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  align-items: baseline;
  column-gap: clamp(16px, 3vw, 38px);
  row-gap: 5px;
  padding: 14px 3px;
  margin: 0;
  border-bottom: 1px solid #e6dce6;
  list-style: none;
}
.page-inner .source-body ul:has(> li > span + span) > li > span:first-child,
.page-inner .source-body ul:has(> li > a + span) > li > a {
  min-width: 0;
  font-size: clamp(14px, 1.05vw, 16px);
  font-weight: 500;
  line-height: 1.55;
  color: #392b3d;
}
.page-inner .source-body ul:has(> li > span + span) > li > span:nth-child(2),
.page-inner .source-body ul:has(> li > a + span) > li > span:nth-child(2) {
  justify-self: end;
  font-size: clamp(14px, 1.05vw, 16px);
  font-weight: 760;
  white-space: nowrap;
  color: #5d3a6c;
  font-variant-numeric: tabular-nums;
}
.page-inner .source-body ul:has(> li > a + span) > li > span:nth-child(3) {
  grid-column: 1 / -1;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: .02em;
  color: #725a74;
}
.page-inner .source-body a:has(> span + span) {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 10px;
  row-gap: 4px;
}
.page-inner .source-body a:has(> span + span) > span {
  display: inline-block;
  font-size: 13px;
  font-weight: 550;
  line-height: 1.45;
}

/* 40 related-procedure cards across the piercing directory, detail pages
   and studio story were rendered as three contiguous unlabeled phrases. */
.page-inner .source-body ul:has(> li > a > div > span + span) {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 255px), 1fr));
  gap: 12px;
  margin: 20px 0 28px;
  padding: 0;
  list-style: none;
}
.page-inner .source-body ul:has(> li > a > div > span + span) > li {
  min-width: 0;
  margin: 0;
  list-style: none;
}
.page-inner .source-body ul:has(> li > a > div > span + span) > li > a {
  display: block;
  height: 100%;
  text-decoration: none;
  color: #3b2a41;
}
.page-inner .source-body ul:has(> li > a > div > span + span) > li > a > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 140px;
  height: 100%;
  padding: 19px 21px;
  border: 1px solid #dcd0dd;
  border-radius: 16px;
  background: linear-gradient(135deg, #fffefa, #f5edf5);
  box-shadow: 0 12px 26px rgba(70, 35, 71, .05);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.page-inner .source-body ul:has(> li > a > div > span + span) > li > a > div > span {
  display: block;
  min-width: 0;
  overflow-wrap: break-word;
}
.page-inner .source-body ul:has(> li > a > div > span + span) > li > a > div > span:first-child {
  font-size: 17px;
  font-weight: 750;
  line-height: 1.35;
}
.page-inner .source-body ul:has(> li > a > div > span + span) > li > a > div > span:nth-child(2) {
  font-size: 13px;
  font-weight: 650;
  color: #684573;
  line-height: 1.5;
}
.page-inner .source-body ul:has(> li > a > div > span + span) > li > a > div > span:nth-child(3) {
  font-size: 12px;
  color: #77677c;
  line-height: 1.5;
}
@media (hover: hover) and (pointer: fine) {
  .page-inner .source-body ul:has(> li > a > div > span + span) > li > a:hover > div {
    border-color: #af8aaf;
    transform: translateY(-3px);
    box-shadow: 0 19px 35px rgba(70, 35, 71, .11);
  }
}
.page-inner .source-body ul:has(> li > a > div > span + span) > li > a:focus-visible {
  outline: 3px solid #af7dba;
  outline-offset: 4px;
  border-radius: 16px;
}

/* Generous editorial text rhythm; neither body copy nor important actions
   should collapse to 10–12px on a modern mobile display. */
.page-inner .source-body,
.page-inner .source-body p,
.page-inner .source-body li {
  font-size: clamp(15px, 1.13vw, 17px);
  line-height: 1.78;
  letter-spacing: .002em;
  overflow-wrap: break-word;
}
.page-inner .source-body h2 {
  font-size: clamp(28px, 2.35vw, 38px);
  line-height: 1.17;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.page-inner .source-body h3 {
  font-size: clamp(19px, 1.6vw, 24px);
  line-height: 1.34;
}
.page-inner .source-content > section + section {
  padding-top: clamp(32px, 4vw, 56px);
}
.page-inner .source-body table,
.page-inner .source-body th,
.page-inner .source-body td { font-size: clamp(12px, 1vw, 14px); }
.page-inner .source-body th,
.page-inner .source-body td { padding: 15px 18px; }
.page-inner .source-body .source-table-wrap {
  -webkit-overflow-scrolling: touch;
  scroll-behavior: auto;
  scrollbar-width: thin;
}
.page-inner .breadcrumbs { margin-top: 16px; margin-bottom: 27px; }
.page-inner .breadcrumbs ol { column-gap: 12px; row-gap: 7px; }
.page-inner .breadcrumbs li + li::before { margin-right: 12px; }

/* The booking choice should be present on the page where the person decides. */
.page-inner .top-nav .nav-book {
  min-height: 46px;
  padding: 11px 20px;
  border: 1px solid #f7e6f2;
  border-radius: 999px;
  background: linear-gradient(145deg, #f9edf7, #d4b2d6);
  color: #3a2440;
  box-shadow: 0 5px 0 #92678b, 0 14px 25px #29132d25, inset 0 1px 0 #fff;
  font-size: 14px;
  font-weight: 750;
}
.page-inner .inner-hero__actions .button-primary,
.page-inner .detail-end .button-primary {
  min-height: 56px;
  padding: 15px 23px;
  border: 1px solid #d9b2d6;
  border-radius: 20px;
  background: linear-gradient(125deg, #654269 0%, #42264f 65%, #281b38 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 720;
  letter-spacing: .005em;
  line-height: 1.3;
  box-shadow: inset 0 1px 0 #ffffff50, 0 5px 0 #24152d, 0 20px 35px #39203f30;
  transition: transform .23s ease, box-shadow .23s ease, background .23s ease;
}
@media (hover: hover) and (pointer: fine) {
  .page-inner .inner-hero__actions .button-primary:hover,
  .page-inner .detail-end .button-primary:hover {
    transform: translateY(-3px);
    box-shadow: inset 0 1px 0 #ffffff70, 0 8px 0 #24152d, 0 27px 45px #39203f50;
  }
}
.page-inner .inner-hero__actions .button-primary:focus-visible,
.page-inner .detail-end .button-primary:focus-visible,
.julia-booking-dock-v41 a:focus-visible { outline: 3px solid #be82d2; outline-offset: 4px; }

/* Booking has distinct destinations: online is Minsk; Jodino is telephone. */
.julia-booking-dock-v41 { display: none; }

/* The main booking object remains native HTML, with a high-density ear asset
   instead of a low-detail SVG. Its slow motion is deliberately transform-only. */
.page-home .julia-ear-object__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(-8px 14px 11px rgba(44, 18, 40, .43));
}
.page-home .julia-ear-object {
  top: -51px;
  right: 10px;
  width: 150px;
  height: 191px;
  filter: none;
}
.page-home .julia-ear-object__aura {
  inset: 13% 4% 7%;
  background: radial-gradient(ellipse, rgba(255, 242, 237, .7), transparent 74%);
}
.page-home .hero-actions .ear-cta-v8.ear-cta-v37 {
  height: 124px !important;
  min-height: 124px !important;
  border-radius: 29px 69px 36px 27px !important;
  background: linear-gradient(124deg, #fff9f5 0%, #f2dce9 40%, #d3accb 75%, #b286ac 100%) !important;
  box-shadow: inset 0 2px 2px #fff, inset 0 -7px 15px #81587730,
    0 6px 0 #926788, 0 18px 0 #4d304e50, 0 39px 72px #0009 !important;
}
.page-home .hero-actions .ear-cta-v37 .ear-cta-v8__title {
  letter-spacing: -.043em !important;
}
.page-home .hero-actions .ear-cta-v37 .ear-cta-v8__eyebrow {
  letter-spacing: .11em !important;
}
.page-home .ear-cta-v37:active .julia-ear-object {
  transform: rotate(7deg) translateY(5px);
}
.page-home .hero-booking-stack__note {
  position: relative;
  z-index: 2;
  display: block;
  margin-top: 25px;
  padding-left: 9px;
  color: #f4dff1 !important;
  font-size: 12px !important;
  font-weight: 650;
  letter-spacing: .008em;
  line-height: 1.55;
  text-shadow: 0 1px 6px #190c1e;
}
.page-home .hero-booking-stack__note a {
  color: #fff4fb;
  font-weight: 780;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
.page-home .hero-booking-stack__note a:focus-visible {
  outline: 3px solid #e2addd;
  outline-offset: 5px;
  border-radius: 3px;
}

/* The optional soundtrack control was fixed at bottom-left and could cover
   the primary booking sculpture on desktop. Keep it on the opposite edge,
   with a full-size touch target and without competing with booking. */
.page-home .sound-toggle,
.page-inner .sound-toggle {
  left: auto;
  right: clamp(12px, 2vw, 26px);
  bottom: 18px;
  min-height: 44px;
  padding: 10px 14px;
  font-size: 11px;
  line-height: 1.2;
  z-index: 46;
  box-shadow: 0 5px 22px rgba(34, 20, 39, .19);
}
.page-home .sound-toggle .sound-state,
.page-inner .sound-toggle .sound-state { font-size: 10px; }
.page-home .sound-toggle:focus-visible,
.page-inner .sound-toggle:focus-visible {
  outline: 3px solid #bc84ca;
  outline-offset: 4px;
}

@media (max-width: 900px) {
  /* Booking is the only persistent floating action on compact screens.
     On inner routes the optional audio toggle otherwise competes with the
     two booking actions and can cover their tap targets. */
  .page-inner .sound-toggle { display: none !important; }
  .page-inner { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
  .page-inner .inner-lead { font-size: 15px; line-height: 1.75; }
  .page-inner .inner-hero__actions .button-primary { min-height: 55px; font-size: 14px; }
  .julia-booking-dock-v41 {
    position: fixed;
    z-index: 67;
    left: 12px;
    right: 12px;
    bottom: calc(9px + env(safe-area-inset-bottom, 0px));
    display: flex;
    gap: 8px;
    padding: 7px;
    border: 1px solid rgba(255, 255, 255, .78);
    border-radius: 23px;
    background: rgba(251, 246, 249, .94);
    box-shadow: 0 8px 30px #28122c45, inset 0 1px 0 #fff;
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
  }
  .julia-booking-dock-v41 a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 0;
    min-height: 45px;
    padding: 10px 11px;
    border-radius: 17px;
    font-size: 12px;
    font-weight: 750;
    line-height: 1.2;
    text-decoration: none;
    text-align: center;
    white-space: normal;
  }
  .julia-booking-dock-v41__online {
    flex: 1.65;
    background: linear-gradient(124deg, #58345f, #2b1b3c);
    color: #fff;
    box-shadow: inset 0 1px 0 #fff4, 0 3px 0 #25152d;
  }
  .julia-booking-dock-v41__phone {
    flex: 1;
    background: #f0e4ee;
    color: #3d2847;
    border: 1px solid #d8c4d6;
  }
}
@media (max-width: 640px) {
  /* Present all six choices at once: no partially clipped horizontal
     carousel, crowded labels or snapping while tapping the last item. */
  .page-home .service-options {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    overflow: visible !important;
    scroll-snap-type: none !important;
    gap: 8px !important;
    padding-bottom: 0 !important;
  }
  .page-home .service-option {
    width: 100% !important;
    flex: none !important;
    display: grid !important;
    grid-template-columns: 28px minmax(0, 1fr) 20px !important;
    grid-template-rows: auto auto !important;
    gap: 3px 12px !important;
    min-height: 76px !important;
    padding: 11px 17px !important;
    border-radius: 12px !important;
    scroll-snap-align: none !important;
  }
  .page-home .service-option__number { grid-column: 1; grid-row: 1 / 3; align-self: center; }
  .page-home .service-option__name {
    grid-column: 2;
    grid-row: 1;
    font-size: 16px !important;
    line-height: 1.32;
    overflow-wrap: normal;
  }
  .page-home .service-option__price {
    grid-column: 2 !important;
    grid-row: 2 !important;
    margin: 0 !important;
    font-size: 12px !important;
    font-weight: 650;
    white-space: normal;
  }
  .page-home .service-option__arrow { grid-column: 3; grid-row: 1 / 3; align-self: center; }
  .page-inner .source-summary { padding: 23px 17px; }
  .page-inner .source-summary > div > div > div:has(> span) {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .page-inner .source-summary > div > div > div > span {
    padding: 12px 14px;
    font-size: 13px;
  }
  .page-inner .source-body ul:has(> li > span + span) > li,
  .page-inner .source-body ul:has(> li > a + span) > li {
    column-gap: 12px;
    padding-block: 13px;
    align-items: start;
  }
  .page-inner .source-body ul:has(> li > span + span) > li > span:first-child,
  .page-inner .source-body ul:has(> li > a + span) > li > a {
    font-size: 14px;
  }
  .page-inner .source-body ul:has(> li > span + span) > li > span:nth-child(2),
  .page-inner .source-body ul:has(> li > a + span) > li > span:nth-child(2) {
    font-size: 14px;
  }
  .page-inner .inner-hero h1 { line-height: 1.12; letter-spacing: -.035em; }
  .page-home .hero-actions .ear-cta-v8.ear-cta-v37 {
    height: 112px !important;
    min-height: 112px !important;
    padding-right: 108px !important;
  }
  .page-home .julia-ear-object {
    width: 111px;
    height: 162px;
    top: -29px;
    right: 4px;
  }
  .page-home .julia-cta-subline { font-size: 10px !important; }
  .julia-booking-dock-v41 a { font-size: 11px; }
}
@media (max-width: 360px) {
  .page-home .julia-ear-object { width: 101px; height: 147px; right: -2px; }
  .page-home .hero-actions .ear-cta-v37 .ear-cta-v8__eyebrow { font-size: 7px !important; }
  .julia-booking-dock-v41 a { padding-inline: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .page-inner .source-body ul:has(> li > a > div > span + span) > li > a > div {
    transition: none !important;
  }
  .page-home .julia-ear-object,
  .page-home .julia-ear-object__aura { animation: none !important; transform: none !important; }
  .page-inner .inner-hero__actions .button-primary,
  .page-inner .detail-end .button-primary { transition: none !important; }
}
