/* Студии Oh My Face: галерея в потоке, ясные контакты и прямой выбор филиала. */
.omf-studios {
    --st-ink: #30431e;
    --st-muted: #66705e;
    --st-line: #e0e5d9;
    --st-bg: #f7f6f0;
    --st-header-height: 100px;
    position: relative;
    padding-block: clamp(32px, 5vw, 72px) clamp(48px, 7vw, 96px);
    background: var(--st-bg);
    color: var(--st-ink);
    font: 400 16px/1.5 'Jost', sans-serif;
}
.omf-studios *, .omf-studios *::before, .omf-studios *::after { box-sizing: border-box; }
.omf-studios > .container { width: 100%; max-width: 1280px; padding-inline: clamp(16px, 3.4vw, 48px); }
.omf-studios a { text-decoration: none; }
.omf-studios button, .omf-studios a { -webkit-tap-highlight-color: transparent; }
.omf-studios :is(a, button, [tabindex]):focus-visible { outline: 2px solid var(--st-ink); outline-offset: 5px; }
.omf-studios p { text-wrap: pretty; }
.omf-studios :is(h1, h2, h3, button) { text-wrap: balance; }
.omf-sr { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.omf-studios__head { margin-block-end: 32px; }
.omf-studios .omf-studios__h1 { max-width: none; margin: 0; color: var(--st-ink); font: 400 clamp(48px, 2.5rem + 3vw, 80px)/1.02 'Forum', serif; letter-spacing: -.025em; text-align: left; text-transform: none; }

.omf-studio__metro i { display: inline-block; flex-shrink: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--dot, #30431e); }

.omf-studios__list { display: grid; gap: 28px; }
.omf-studio { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 3vw, 44px); min-width: 0; padding: 18px; border: 1px solid var(--st-line); border-radius: 28px; background: #fff; scroll-margin-top: calc(var(--st-header-height) + 20px); }
.omf-studio__gallery { position: relative; align-self: center; min-width: 0; border-radius: 18px; background: #f2f3ed; }
/* Трек и изображения остаются в обычном потоке. Высота не зависит от расчёта aspect-ratio у пустой grid-ячейки в WebKit. */
.omf-studio__track { position: relative; display: flex; align-items: flex-start; gap: 0; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 18px; -webkit-overflow-scrolling: touch; }
.omf-studio__track::-webkit-scrollbar { display: none; }
.omf-studio__slide { flex: 0 0 100%; min-width: 0; margin: 0; scroll-snap-align: start; scroll-snap-stop: always; }
.omf-studios .omf-studio__img { position: static; display: block; width: 100%; max-width: none; height: auto; aspect-ratio: 4 / 3; object-fit: cover; -webkit-user-drag: none; user-select: none; }
.omf-studio__track.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.omf-studio__bar { position: absolute; right: 12px; bottom: 12px; display: flex; align-items: center; justify-content: end; }
.omf-studio__nav { display: flex; gap: 6px; }
.omf-studio__arrow { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid #dbe1d2; border-radius: 50%; background: #fff; color: var(--st-ink); cursor: pointer; transition: background .2s, opacity .2s; }
.omf-studio__arrow:hover:not(:disabled) { background: #e8eddf; }
.omf-studio__arrow:disabled { opacity: .35; cursor: default; }
.omf-studio__arrow svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.omf-studio__info { container: studio-info / inline-size; min-width: 0; padding: 14px 14px 14px 0; }
.omf-studios .omf-studio__title { max-width: none; margin: 0 0 16px; color: var(--st-ink); font: 400 clamp(32px, 1.65rem + 1vw, 42px)/1.08 'Forum', serif; letter-spacing: -.015em; text-align: left; text-transform: none; }
.omf-studio__metro { display: flex; flex-wrap: wrap; gap: 7px 16px; list-style: none; margin: 0 0 24px; padding: 0; }
.omf-studio__metro li { display: inline-flex; align-items: center; gap: 7px; color: #536149; font-size: 13px; line-height: 1.3; }
.omf-studio__facts { display: grid; gap: 0; list-style: none; margin: 0; padding: 0; border-block-start: 1px solid var(--st-line); }
.omf-studio__facts > li { display: flex; align-items: start; gap: 13px; min-width: 0; padding-block: 15px; border-block-end: 1px solid var(--st-line); }
.omf-studio__facts > li > :last-child { min-width: 0; }
.omf-studio__ico { display: grid; place-items: center; flex: 0 0 20px; margin-block-start: 4px; color: #78836b; }
.omf-studio__ico svg { display: block; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.omf-studio__label { display: block; margin-block-end: 3px; color: var(--st-muted); font-size: 12px; line-height: 1.3; }
.omf-studio__value, .omf-studio__phone { display: block; color: var(--st-ink); font-size: 16px; line-height: 1.4; text-wrap: pretty; }
.omf-studio__phone { width: fit-content; white-space: nowrap; }
.omf-studio__phone:hover { text-decoration: underline; text-underline-offset: 4px; }
.omf-studio__services { display: flex; flex-wrap: wrap; gap: 8px; margin-block-start: 16px; }
.omf-studio__badge { display: inline-flex; align-items: center; gap: 7px; max-width: 100%; min-height: 30px; padding: 6px 10px; border-radius: 8px; background: #edf1e6; color: #445c2d; font-size: 12px; line-height: 1.4; }
.omf-studio__badge svg { flex: 0 0 14px; width: 14px; height: 14px; fill: currentColor; stroke: none; }
.omf-studio__actions { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 10px; margin-block-start: 22px; }
.omf-studio__btn { display: flex; align-items: center; justify-content: center; gap: 12px; min-width: 0; min-height: 48px; padding: 12px 18px; border: 1px solid var(--st-ink); border-radius: 999px; background: var(--st-ink); color: #fff; font: 500 14px/1.3 'Jost', sans-serif; text-align: center; text-wrap: balance; transition: background .2s, color .2s; }
.omf-studio__btn:hover { background: #485d32; color: #fff; }
.omf-studio__btn_ghost { border-color: #dbe1d2; background: #fff; color: var(--st-ink); }
.omf-studio__btn_ghost:hover { background: #edf1e6; color: var(--st-ink); }
.omf-studio__btn-ico { display: flex; flex-shrink: 0; }
.omf-studio__btn-ico svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.omf-studio__more { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-block-start: 16px; }
.omf-studio__link { display: inline-flex; align-items: center; min-height: 32px; padding: 2px 0; color: var(--st-muted); font-size: 13px; text-decoration: underline !important; text-decoration-color: #b5bfaa !important; text-underline-offset: 4px; }
.omf-studio__link:hover { color: var(--st-ink); }
/* Здесь запись выбирают в карточке конкретного филиала, без перекрывающего её виджета. */
.yButton, .floating-google-play { display: none !important; }

@media (hover: hover) and (pointer: fine) { .omf-studio__track { cursor: grab; } }
@media (max-width: 1023px) {
    .omf-studio { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; padding: 14px; }
    .omf-studio__info { padding-inline-end: 4px; }
    .omf-studios .omf-studio__img { aspect-ratio: 3 / 4; }
    .omf-studio__actions { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
    .omf-studios { padding-block-start: 30px; }
    .omf-studios__head { margin-block-end: 24px; }
    .omf-studios .omf-studios__h1 { font-size: clamp(44px, 2rem + 5vw, 58px); }
    .omf-studios__list { gap: 22px; }
    .omf-studio { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 9px; border-radius: 24px; scroll-margin-top: calc(var(--st-header-height) + 20px); }
    .omf-studio__gallery, .omf-studio__track { border-radius: 16px; }
    .omf-studios .omf-studio__img { aspect-ratio: 4 / 3; }
    .omf-studio__bar { right: 10px; bottom: 10px; }
    .omf-studio__info { padding: 22px 13px 17px; }
    .omf-studios .omf-studio__title { margin-block-end: 12px; font-size: clamp(30px, 1.6rem + 2vw, 38px); }
    .omf-studio__metro { gap: 8px 12px; margin-block-end: 20px; }
    .omf-studio__facts > li { padding-block: 14px; }
    .omf-studio__actions { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; margin-block-start: 20px; }
    .omf-studio__btn { padding-inline: 12px; font-size: 13px; }
}
@media (max-width: 359px) {
    .omf-studios > .container { padding-inline: 12px; }
    .omf-studio__info { padding-inline: 9px; }
    .omf-studio__value, .omf-studio__phone { font-size: 15px; }
}
@container studio-info (max-width: 280px) { .omf-studios .omf-studio__title { font-size: 28px; } }
@media (prefers-reduced-motion: no-preference) {
    .omf-studios.is-ready .omf-studio { opacity: 0; transform: translateY(20px); transition: opacity .55s ease, transform .55s cubic-bezier(.2,.7,.2,1); }
    .omf-studios.is-ready .omf-studio.is-in { opacity: 1; transform: none; }
    .omf-studios.is-ready .omf-studio:nth-child(even) { transform: translateY(14px); }
    .omf-studios.is-ready .omf-studio:nth-child(even).is-in { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
    .omf-studios *, .omf-studios *::before, .omf-studios *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
