/* Дополнения для контента студии поверх исходных стилей Bigudi. */
.brand-mark {
  width: 35px;
  height: 35px;
  object-fit: contain;
  object-view-box: inset(15% 15% 42% 18%);
  filter: brightness(.55) sepia(.12) hue-rotate(224deg);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 21px; }
.hero-actions .button, .hero-actions .outline { padding: 11px 16px; line-height: 1.5; gap: 12px; }
.hero-services { padding-top: 25px; }
.hero-visual > img { object-position: 50% 25%; }

.direction-price { display: inline-block; font-size: 13px; font-weight: 600; margin-top: 7px; }
#directions .direction-hair .direction-price,
#directions .direction-care .direction-price,
#directions .direction-nails .direction-price { background: #40334e94; padding: 1px 7px; border-radius: 8px; }
#directions .direction-nails > img,
#directions .direction-brows > img,
#directions .direction-laser > img { left: 0; width: 100%; object-position: 50% 45%; }
#directions .direction-nails::after { background: linear-gradient(90deg, #30283791, transparent 48%); }
#directions .direction-brows { background: var(--blue); }
#directions .direction-laser { background: var(--lilac); }
#directions .direction-brows::after { background: linear-gradient(90deg, var(--blue), transparent 50%); }
#directions .direction-laser::after { background: linear-gradient(90deg, var(--lilac), transparent 54%); }
#directions .direction-laser > img { filter: none; object-position: 50% 39%; }
.quick-service[data-work-filter="eyes"] > img { object-position: right center; }

#works .gallery-tabs { justify-content: flex-start; flex-wrap: wrap; margin-bottom: 20px; }
.works-track > .work-card {
  flex: 0 0 calc((100% - 54px) / 3.2);
  min-width: 0;
  scroll-snap-align: start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.work-card > .gallery-item { display: block; width: 100%; border-radius: 19px 19px 0 0; }
.work-card .gallery-item img { aspect-ratio: 1.3; }
.work-card .gallery-item .work-photo-full { object-fit: contain; background: var(--lilac-light); }
.work-card .gallery-item:hover .work-photo-full { transform: none; }
.work-info { padding: 14px 16px 18px; }
.work-info h3 { font-size: 18px; }
.work-info p { margin: 4px 0 12px; font-size: 14px; color: var(--muted); }
.work-info .actions { justify-content: space-between; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.context-review, .removal-panel { margin-top: 20px; padding: 18px 22px; border-radius: var(--radius); background: var(--lilac-light); }
.context-review { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; font-size: 14px; }
.context-review a { flex-shrink: 0; }
.removal-panel p { margin-top: 6px; }
.removal-panel .actions { margin-top: 15px; }

.accordion { border-bottom: 1px solid var(--line); }
.accordion > summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; }
.accordion > summary::after { content: "+"; color: var(--purple); font-size: 19px; }
.accordion[open] > summary::after { content: "−"; }
.accordion > p { color: var(--muted); font-size: 14px; padding-bottom: 10px; }
.full-price { padding: 0 18px; margin-top: 24px; border: 1px solid var(--line); border-radius: 16px; }
.full-price > div { padding: 0 10px 16px; }
.full-price .accordion:last-child { border: 0; }
#prices .service-row { grid-template-columns: minmax(0, 1fr) minmax(110px, auto) minmax(78px, auto); }
#prices .service-row p { font-size: 15px; }
#prices .service-row .text-link { font-size: 13px; justify-self: end; }

#team .master-card > p:not(.master-role) { margin: 5px 0 14px; color: var(--muted); font-size: 14px; }
#team .master-photo img { object-fit: contain; }
#team .master-card { flex: 0 0 calc((100% - 36px) / 3); }
#team .master-role { min-height: auto; }
#team .master-card .actions { gap: 6px 14px; }
#team .master-card .actions a { font-size: 13px; }
.review-card .review-text { font-size: 16px; line-height: 1.75; margin: 12px 0 18px; overflow-wrap: anywhere; }

.process-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 0; margin: 0; list-style: none; counter-reset: steps; }
.process-grid li { padding: 19px; border-radius: var(--radius); background: var(--blue-light); counter-increment: steps; }
.process-grid li:nth-child(even) { background: var(--lilac-light); }
.process-grid li::before { content: counter(steps, decimal-leading-zero); color: var(--purple); font-size: 14px; }
.process-grid h3 { font-size: 18px; margin: 4px 0 7px; }
.process-grid p { color: var(--muted); font-size: 14px; }
.process-details { margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.healing-panel, .faq-panel { border: 1px solid var(--line); padding: 19px; border-radius: var(--radius); }
.healing-panel h3, .faq-panel h3 { font-size: 19px; margin-bottom: 12px; }
.healing-panel p { margin-top: 10px; color: var(--muted); font-size: 14px; }

.help-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.quiz-panel, .fitting-panel { border-radius: var(--radius); overflow: hidden; background: var(--white); }
.quiz-panel { padding: 24px; min-height: 325px; }
.quiz-panel h3, .fitting-panel h3 { font-size: 23px; }
.quiz-panel > p, .fitting-panel p { margin-top: 9px; color: var(--muted); font-size: 14px; }
.quiz-form, .quiz-result { margin-top: 14px; }
.quiz-form fieldset { border: 0; margin: 0; padding: 0; }
.quiz-form legend { font-weight: 600; margin-bottom: 8px; }
.quiz-step { font-size: 13px; color: var(--muted); margin-bottom: 5px; }
.quiz-options { display: grid; gap: 5px; margin-bottom: 15px; }
.quiz-options label { display: flex; align-items: center; gap: 8px; cursor: pointer; width: fit-content; font-size: 14px; }
.quiz-options input { accent-color: var(--purple); }
.quiz-result p { margin-bottom: 10px; font-size: 14px; }
.quiz-result .actions { margin-bottom: 9px; }
.quiz-result .text-link { padding-left: 0; }
.fitting-panel { display: grid; grid-template-columns: 32% minmax(0, 1fr); }
.fitting-panel img { height: 100%; width: 100%; }
.fitting-panel > div { padding: 24px 20px; }
.fitting-panel .actions { margin-top: 13px; }

.contact-card .actions { margin: 13px 0 18px; }
.contact-map { position: relative; }
.map-cover, .contact-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-cover img { width: 100%; height: 100%; object-position: center 51%; }
.map-cover button { position: absolute; left: 16px; bottom: 16px; }
#consult-form { display: flex; flex-direction: column; align-items: start; gap: 7px; margin-top: 16px; padding-top: 15px; border-top: 1px solid var(--line); font-size: 14px; }
.consult-fields { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
#consult-form select, #consult-form textarea { font: inherit; padding: 6px 9px; border: 1px solid #d9d1e3; border-radius: 8px; background: var(--white); color: var(--ink); }
#consult-form textarea { width: 100%; resize: vertical; }
dialog:not(.lightbox-interior) > img { max-height: 73vh; }

@media (max-width: 1100px) {
  .works-track > .work-card { flex-basis: calc((100% - 36px) / 2.6); }
  #works .section-heading { align-items: start; }
  .context-review { align-items: start; }
}
@media (max-width: 760px) {
  .works-track > .work-card, #team .master-card { flex-basis: calc((100% - 18px) / 2.2); }
  .help-grid, .process-details { grid-template-columns: 1fr; }
}
