/* Atlas — пудра и гранат, антиква Prata, лента атласа вдоль фото */
.t-atlas {
  --cw: .6;
  --bg: #FBF1EF; --surface: #FFFBFA; --tint: #F3DDD8; --ink: #3A1F2B; --muted: #86707A; --line: #EBD5D0; --gold: #D9A35B;
  --display: 'Prata', Georgia, serif; --body: 'Manrope', system-ui, sans-serif;
  --r: 20px; --name-size: clamp(46px, 13vw, 104px); --name-lh: 1; --h2-size: clamp(32px, 8.5vw, 58px);
  --ikat-h: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='28' viewBox='0 0 56 28'%3E%3Crect width='56' height='28' fill='%239E2B4B'/%3E%3Cpath d='M3 14 L28 3 L53 14 L28 25Z' fill='%23F3DDD8'/%3E%3Cpath d='M12 14 L28 7 L44 14 L28 21Z' fill='%23243A86'/%3E%3Cpath d='M21 14 L28 10.5 L35 14 L28 17.5Z' fill='%23D9A35B'/%3E%3C/svg%3E");
  --ikat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='56' viewBox='0 0 28 56'%3E%3Crect width='28' height='56' fill='%239E2B4B'/%3E%3Cpath d='M14 3 L25 28 L14 53 L3 28Z' fill='%23F3DDD8'/%3E%3Cpath d='M14 12 L21 28 L14 44 L7 28Z' fill='%23243A86'/%3E%3Cpath d='M14 21 L17.5 28 L14 35 L10.5 28Z' fill='%23D9A35B'/%3E%3C/svg%3E");
}
.t-atlas .s-brand { font-size: 20px; }

/* Первый экран */
.t-atlas .hero { display: grid; }
.t-atlas .hero-media { position: relative; order: -1; }
.t-atlas .hero-frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--tint); }
.t-atlas .hero-frame img, .t-atlas .hero-art { width: 100%; height: 100%; object-fit: cover; display: block; }
.t-atlas .hero-ribbon { position: absolute; left: 0; right: 0; bottom: -12px; height: 24px; z-index: 2; background: var(--ikat-h) 0 0 / 48px 24px repeat-x; }
.t-atlas .hero-mono {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 140px; height: 140px; border-radius: 50%;
  display: grid; place-items: center; background: var(--bg); color: var(--accent); font-size: 76px;
  box-shadow: 0 0 0 8px color-mix(in srgb, var(--bg) 55%, transparent), 0 20px 44px -18px rgba(58, 31, 43, .55);
}
.t-atlas .hero-copy { display: grid; gap: 18px; justify-items: start; padding: 42px 20px 52px; }
.t-atlas .hero-kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--accent); font-weight: 600; }
.t-atlas .hero-kicker::before { content: ''; width: 26px; height: 1.5px; background: currentColor; }
.t-atlas .s-tagline { font-family: var(--display); font-size: 20px; color: var(--muted); }

/* Заголовки секций — короткая гранатовая черта */
.t-atlas .s-head h2::after { content: ''; display: block; width: 52px; height: 2px; margin-top: 18px; background: var(--accent); }

/* Прайс как в хорошем салоне — точечная линия до цены */
.t-atlas .s-services { background: var(--surface); }
.t-atlas .s-cats { background: var(--surface); }
.t-atlas .s-cat-title { color: var(--accent); }
.t-atlas .svc { border: 0; }
.t-atlas .svc-hit { grid-template-columns: 1fr auto auto; grid-template-areas: "main main add" "lead price add"; align-items: end; row-gap: 4px; padding: 14px 0; }
.t-atlas .svc-lead { display: block; grid-area: lead; height: 1px; margin-bottom: 10px; border-bottom: 2px dotted color-mix(in srgb, var(--ink) 25%, transparent); min-width: 14px; }
.t-atlas .svc-name { font-family: var(--display); font-weight: 400; font-size: 19px; }
.t-atlas .svc-add { align-self: center; }

.t-atlas .steps li { background: var(--bg); border-color: var(--line); }

/* Команда — арочные портреты */
.t-atlas .member-photo { border-radius: 999px 999px var(--r) var(--r); }
.t-atlas .member h3 { font-family: var(--display); font-weight: 400; font-size: 21px; }

/* Галерея — свободная кладка */
.t-atlas .gal { display: block; columns: 2; column-gap: 10px; }
.t-atlas .gal-item { width: 100%; aspect-ratio: auto; margin: 0 0 10px; break-inside: avoid; display: block; border-radius: 14px; }
.t-atlas .gal-item img { height: auto; }

.t-atlas .s-about { background: var(--tint); }
.t-atlas .s-about-in { justify-items: center; text-align: center; }
.t-atlas .s-about-in .s-head h2::after { margin-inline: auto; }
.t-atlas .s-about-text { justify-items: center; }

.t-atlas .s-cta-band { background: var(--accent); color: #fff; position: relative; }
.t-atlas .s-cta-band::before { content: ''; position: absolute; left: 0; right: 0; top: -12px; height: 24px; background: var(--ikat-h) 0 0 / 48px 24px repeat-x; }
.t-atlas .s-cta-band p { color: rgba(255, 255, 255, .8); }
.t-atlas .s-cta-band .s-btn { background: #fff; color: var(--accent); border-color: #fff; }
.t-atlas .s-cta-band .s-btn-line { color: #fff; border-color: rgba(255, 255, 255, .5); }
.t-atlas .hours-card { background: var(--bg); }
.t-atlas .s-foot { background: var(--surface); }

@media (min-width: 720px) {
  .t-atlas .gal { columns: 3; column-gap: 14px; }
  .t-atlas .gal-item { margin-bottom: 14px; }
}
@media (min-width: 960px) {
  .t-atlas .svc-hit { grid-template-columns: auto 1fr auto auto; grid-template-areas: "main lead price add"; }
  .t-atlas { --name-avail: calc(min(52vw, 640px) - 110px); }
  .t-atlas .hero { grid-template-columns: 1.05fr 1fr; min-height: calc(100svh - var(--nav-h)); max-height: 940px; }
  .t-atlas .hero-media { order: 2; }
  .t-atlas .hero-frame { aspect-ratio: auto; height: 100%; }
  .t-atlas .hero-ribbon { left: -12px; right: auto; top: 0; bottom: 0; width: 24px; height: auto; background: var(--ikat) 0 0 / 24px 48px repeat-y; }
  .t-atlas .hero-copy { align-content: center; gap: 24px; padding: 64px 72px 72px max(32px, calc((100vw - var(--wrap)) / 2 + 32px)); }
  .t-atlas .s-tagline { font-size: 22px; }
  .t-atlas .hero-mono { width: 200px; height: 200px; font-size: 110px; }
  .t-atlas .s-cat-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 64px; align-items: start; }
  .t-atlas .s-cat + .s-cat { margin-top: 0; }
  .t-atlas .svc-main { max-width: 26vw; }
}
