/*==============================================
  atele/atele.css — Natasha Libelle
  Стили страницы «Ателье / Украшения на заказ».
  Подключать ПОСЛЕ shared/base.css.
  Без инлайн-стилей. Без !important.
==============================================*/

/* ══════════════════════════════════════════════
   ХЛЕБНЫЕ КРОШКИ
══════════════════════════════════════════════ */
.at-breadcrumb {
  display: flex; align-items: center; gap: 8px;
  list-style: none; flex-wrap: wrap;
  font-size: 12px; color: rgba(28,18,32,.45);
  margin-bottom: 32px;
}
.at-breadcrumb li { display: flex; align-items: center; gap: 8px; }
.at-breadcrumb li + li::before { content: '/'; opacity: .5; flex-shrink: 0; }
.at-breadcrumb a { color: rgba(28,18,32,.45); transition: color .2s; }
.at-breadcrumb a:hover { color: var(--c-accent); }
.at-breadcrumb [aria-current="page"] { color: #1c1220; font-weight: 600; }

/* ══════════════════════════════════════════════
   1. HERO — АТЕЛЬЕ
   Полноэкранный тёмный hero, текст слева,
   декоративная фотосетка справа.
══════════════════════════════════════════════ */
.at-hero {
  position: relative;
  background: #f8f2f7;
  padding-top: 68px;
  overflow: hidden;
  min-height: 92svh;
  display: flex; align-items: stretch;
}
@media (max-width: 1100px) { .at-hero { padding-top: 56px; min-height: auto; } }

/* Фоновая текстура */
.at-hero::before {
  content: '';
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 70% 60% at 80% 50%, rgba(107,63,143,.12) 0%, transparent 65%),
    radial-gradient(ellipse 40% 40% at 10% 80%, rgba(196,159,224,.06) 0%, transparent 55%);
}

/* Декоративная линия сверху */
.at-hero::after {
  content: '';
  position: absolute; top: 68px; left: 0; right: 0; height: 1px;
  background: linear-gradient(to right, transparent, rgba(196,159,224,.3), transparent);
  z-index: 2;
}
@media (max-width: 1100px) { .at-hero::after { top: 56px; } }

.at-hero__inner {
  position: relative; z-index: 1;
  width: 100%; max-width: 1520px;
  margin: 0 auto;
  padding: 0 var(--w-pad);
  display: grid;
  grid-template-columns: 1fr 520px;
  gap: 0;
  align-items: center;
}

/* ── Левая колонка: текст ── */
.at-hero__left {
  padding: 80px 72px 80px 0;
  display: flex; flex-direction: column;
  border-right: 1px solid rgba(107,63,143,.12);
}

.at-hero__eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: 10px; font-weight: 600; letter-spacing: .24em;
  text-transform: uppercase; color: var(--c-accent);
  margin-bottom: 28px;
}
.at-hero__eyebrow-line {
  width: 36px; height: 1px;
  background: var(--c-accent); opacity: .4;
  flex-shrink: 0;
}

.at-hero__title {
  font-family: 'Cormorant Garamond', 'Garamond', serif;
  font-size: clamp(44px, 5vw, 82px);
  font-weight: 300; line-height: 1.05;
  letter-spacing: -.02em; color: #1c1220;
  margin-bottom: 16px;
}
.at-hero__title em {
  font-style: normal;
  color: var(--c-accent);
}

.at-hero__left > p {
  font-size: clamp(14px, 1.1vw, 17px);
  color: #1c1220;
  line-height: 1.85; max-width: 520px;
  margin-bottom: 48px;
}
.at-hero__left > p strong { color: #1c1220; font-weight: 500; }

/* Ключевые факты */
.at-hero__facts {
  display: flex; gap: 40px; flex-wrap: wrap;
  margin-bottom: 52px;
  padding-top: 32px;
  border-top: 1px solid rgba(107,63,143,.12);
}
.at-fact { display: flex; flex-direction: column; gap: 6px; }
.at-fact__num {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(30px, 2.8vw, 44px);
  font-weight: 300; color: #1c1220; line-height: 1;
}
.at-fact__label {
  font-size: 10px; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: #6b3f8f;
}

/* Override: btn--ghost-w на розовом Hero — фиолетовый вместо белого */
.at-hero .btn--ghost-w {
  border-color: var(--c-accent);
  color: var(--c-accent);
}
.at-hero .btn--ghost-w:hover {
  background: var(--c-accent);
  color: #fff;
}

/* Override: прозрачный хедер над розовым Hero — тёмные иконки */
.at-hero ~ * #hd.t .burger span,
body:has(.at-hero) #hd.t .burger span {
  background: #1c1220;
}
body:has(.at-hero) #hd.t .hd-icon {
  color: #1c1220;
}
body:has(.at-hero) #hd.t .hd-search__btn {
  color: #1c1220;
}
body:has(.at-hero) #hd.t .hd-search__btn:hover {
  color: var(--c-accent);
}
body:has(.at-hero) #hd.t .hd-nav a {
  color: #1c1220;
}
body:has(.at-hero) #hd.t .hd-logo svg {
  filter: brightness(0) saturate(100%) invert(9%) sepia(18%) saturate(1200%) hue-rotate(255deg) brightness(95%);
}

/* CTA-кнопки */
.at-hero__cta {
  display: flex; gap: 16px; flex-wrap: wrap;
  align-items: center;
}
.at-hero__anchor {
  font-size: 11px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase;
  color: #6b3f8f; text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  transition: color .2s;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(107,63,143,.2);
}
.at-hero__anchor:hover { color: var(--c-accent); border-color: var(--c-accent); }
.at-hero__anchor::after { content: '↓'; }

/* ── Правая колонка: фото-коллаж ── */
.at-hero__right {
  padding: 80px 0 80px 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 3px;
  align-content: center;
}

.at-hero__photo {
  overflow: hidden;
  background: #160e24;
  position: relative;
}
.at-hero__photo img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: .85;
  transition: transform .6s cubic-bezier(.4,0,.2,1), opacity .4s;
  display: block;
}
.at-hero__photo:hover img { transform: scale(1.04); opacity: .95; }

.at-hero__photo--tall {
  grid-row: span 2;
  min-height: 480px;
}
.at-hero__photo--sq {
  min-height: 230px;
}

/* Подпись на фото */
.at-hero__photo-cap {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 12px 16px;
  background: linear-gradient(to top, rgba(0,0,0,.6), transparent);
  font-size: 10px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: rgba(255,255,255,.6);
}

/* ══════════════════════════════════════════════
   2. ANCHOR BAR — плавающая строка якорей
══════════════════════════════════════════════ */
.at-anchor-bar {
  background: #fff;
  border-bottom: 1px solid #e8e3de;
  position: sticky; top: 68px; z-index: 100;
}
@media (max-width: 1100px) { .at-anchor-bar { top: 56px; } }

.at-anchor-bar__inner {
  display: flex; align-items: center;
  gap: 0; overflow-x: auto; scrollbar-width: none;
  padding: 0 var(--w-pad);
  max-width: 1520px; margin: 0 auto;
}
.at-anchor-bar__inner::-webkit-scrollbar { display: none; }

.at-anchor-btn {
  flex-shrink: 0;
  padding: 14px 22px;
  font-size: 11px; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: #888;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  transition: color .2s;
}
.at-anchor-btn::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: var(--c-accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s;
}
.at-anchor-btn:hover { color: #333; }
.at-anchor-btn.is-active { color: var(--c-accent); }
.at-anchor-btn.is-active::after { transform: scaleX(1); }

/* ══════════════════════════════════════════════
   3. ПРОЦЕСС — ПОШАГОВЫЙ РАССКАЗ
══════════════════════════════════════════════ */
.at-process {
  background: #fff;
  padding: 100px 0;
}

.at-process__head {
  margin-bottom: 72px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
}
.at-process__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 3vw, 46px);
  font-weight: 300; letter-spacing: 0; color: #1c1220;
  line-height: 1.1;
}
.at-process__head > p {
  font-size: clamp(14px, 1vw, 16px);
  color: #555; line-height: 1.85;
}

/* Сетка шагов */
.at-steps {
  display: flex; flex-direction: column; gap: 3px;
}

.at-step {
  display: grid;
  grid-template-columns: 88px 1fr 400px;
  gap: 0;
  background: var(--c-warm);
  overflow: hidden;
  transition: background .25s;
  position: relative;
}
.at-step:hover { background: #eeeae5; }

/* Номер шага */
.at-step__num {
  display: flex; align-items: center; justify-content: center;
  padding: 32px 20px;
  border-right: 1px solid rgba(0,0,0,.07);
  background: rgba(0,0,0,.02);
}
.at-step__num-inner {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px; font-weight: 300;
  color: #ccc; line-height: 1;
}

/* Контент шага */
.at-step__body {
  padding: 32px 40px;
  display: flex; flex-direction: column; justify-content: center;
}
.at-step__tag {
  font-size: 9px; font-weight: 600; letter-spacing: .2em;
  text-transform: uppercase; color: var(--c-accent);
  margin-bottom: 8px;
}
.at-step__title {
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 700; color: #111; margin-bottom: 10px;
  line-height: 1.25;
}
.at-step__body > p {
  font-size: 13px; color: #555; line-height: 1.75;
  max-width: 540px;
}
.at-step__duration {
  margin-top: 12px;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: #aaa;
}
.at-step__duration::before {
  content: '⏱';
  font-size: 13px; opacity: .6;
}

/* Фото шага */
.at-step__img {
  position: relative; overflow: hidden;
  background: #ddd8d2;
}
.at-step__img img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.at-step:hover .at-step__img img { transform: scale(1.04); }

/* ══════════════════════════════════════════════
   4. ПРИМЕРЫ РАБОТ (Stories)
══════════════════════════════════════════════ */
.at-stories {
  background: #f8f2f7;
  padding: 100px 0;
}

.at-stories__head {
  margin-bottom: 56px;
}
.at-stories__eyebrow {
  font-size: 9px; font-weight: 600; letter-spacing: .24em;
  text-transform: uppercase; color: var(--c-accent);
  display: block; margin-bottom: 10px;
}
.at-stories__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 3vw, 46px);
  font-weight: 300; color: #1c1220; line-height: 1.1;
}

/* Сетка историй */
.at-stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}

.at-story-card {
  background: #fff;
  border: 1px solid rgba(107,63,143,.12);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color .25s;
}
.at-story-card:hover { border-color: rgba(107,63,143,.45); }

/* Фото */
.at-story-card__img {
  position: relative; overflow: hidden;
  padding-bottom: 75%;
  background: #120820;
}
.at-story-card__img img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: .8;
  transition: opacity .3s, transform .5s;
}
.at-story-card:hover .at-story-card__img img { opacity: 1; transform: scale(1.04); }

.at-story-card__badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-size: 9px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase;
  background: rgba(107,63,143,.75);
  color: #fff; padding: 4px 10px;
  backdrop-filter: blur(4px);
}

/* Текстовая часть */
.at-story-card__body {
  padding: 24px 22px 28px;
  flex: 1; display: flex; flex-direction: column;
}
.at-story-card__tag {
  font-size: 9px; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--c-accent-l);
  margin-bottom: 8px;
}
.at-story-card__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px; font-weight: 400;
  letter-spacing: 0;
  color: #1c1220; line-height: 1.25; margin-bottom: 10px;
}
.at-story-card__body > p {
  font-size: 12px; color: #1c1220;
  line-height: 1.7; flex: 1;
  margin-bottom: 16px;
}
.at-story-card__stone {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: #6b3f8f;
  margin-top: auto;
}
.at-story-card__stone-dot {
  width: 10px; height: 10px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2); flex-shrink: 0;
}

/* ══════════════════════════════════════════════
   5. FAQ — ОТВЕТЫ НА ВОПРОСЫ КЛИЕНТА
══════════════════════════════════════════════ */
.at-faq {
  background: var(--c-warm);
  padding: 100px 0;
}

.at-faq__layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 80px;
  align-items: start;
}

.at-faq__aside-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 3vw, 46px);
  font-weight: 300; letter-spacing: 0; color: #1c1220;
  margin-bottom: 16px; line-height: 1.1;
}
.at-faq__aside > p {
  font-size: 14px; color: #666; line-height: 1.75;
  margin-bottom: 36px;
}

/* Контакт-блок в aside */
.at-faq__contacts {
  display: flex; flex-direction: column; gap: 0;
  border: 1px solid #e5e0db;
}
.at-faq__contact {
  padding: 16px 20px;
  border-bottom: 1px solid #e5e0db;
  display: flex; flex-direction: column; gap: 4px;
  text-decoration: none; color: inherit;
  transition: background .2s;
}
.at-faq__contact:last-child { border-bottom: none; }
.at-faq__contact:hover { background: #ede8e2; }
.at-faq__contact-label {
  font-size: 9px; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--c-accent);
}
.at-faq__contact-val {
  font-size: 15px; font-weight: 600; color: #111;
}
.at-faq__contact-note {
  font-size: 11px; color: #999;
}

/* Список вопросов (аккордеон) */
.at-faq__list {
  display: flex; flex-direction: column; gap: 0;
}

.at-faq-item {
  border-bottom: 1px solid #e0dbd5;
}
.at-faq-item:first-child { border-top: 1px solid #e0dbd5; }

.at-faq-item__btn {
  width: 100%; background: none; border: none; cursor: pointer;
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  text-align: left;
}
.at-faq-item__q {
  font-size: clamp(14px, 1.1vw, 17px);
  font-weight: 700; color: #111; line-height: 1.3;
  transition: color .2s;
}
.at-faq-item__btn:hover .at-faq-item__q { color: var(--c-accent); }

.at-faq-item__icon {
  flex-shrink: 0; width: 26px; height: 26px;
  border-radius: 50%;
  border: 1.5px solid #ccc;
  display: flex; align-items: center; justify-content: center;
  transition: border-color .2s, background .2s, transform .35s;
  margin-top: 2px;
  font-size: 18px; color: #888; line-height: 1;
  font-weight: 300;
}
.at-faq-item__icon::before { content: '+'; }
.at-faq-item.is-open .at-faq-item__icon {
  background: var(--c-accent); border-color: var(--c-accent);
  transform: rotate(45deg); color: #fff;
}

.at-faq-item__body {
  max-height: 0; overflow: hidden;
  transition: max-height .45s cubic-bezier(.4,0,.2,1);
}
.at-faq-item.is-open .at-faq-item__body { max-height: 900px; }

.at-faq-item__a {
  padding: 0 0 28px;
  font-size: clamp(13px, .95vw, 15px);
  color: #555; line-height: 1.85;
}
.at-faq-item__a p + p { margin-top: 12px; }
.at-faq-item__a strong { color: #111; font-weight: 600; }
.at-faq-item__a a {
  color: var(--c-accent);
  text-decoration: underline;
  text-decoration-color: rgba(107,63,143,.3);
  transition: text-decoration-color .2s;
}
.at-faq-item__a a:hover { text-decoration-color: var(--c-accent); }

/* ══════════════════════════════════════════════
   6. КАМНИ ДЛЯ ЗАКАЗА — горизонтальная полоса
══════════════════════════════════════════════ */
.at-stones {
  background: #fff;
  padding: 80px 0;
  overflow: hidden;
}

.at-stones__head {
  margin-bottom: 40px;
}
.at-stones__eyebrow {
  font-size: 9px; font-weight: 600; letter-spacing: .24em;
  text-transform: uppercase; color: var(--c-accent);
  display: block; margin-bottom: 10px;
}
.at-stones__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 3vw, 46px);
  font-weight: 300; letter-spacing: 0; color: #1c1220;
}
.at-stones__head > p {
  font-size: 14px; color: #666; margin-top: 8px; line-height: 1.6;
}

/* Сетка карточек камней — 4 в ряд */
.at-stones__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  margin-top: 0;
}

.at-stone-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: var(--c-warm);
  overflow: hidden;
  transition: background .2s;
}
.at-stone-card:hover { background: #edeae4; }

/* Фото */
.at-stone-card__img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #ddd8d0;
  flex-shrink: 0;
}
.at-stone-card__img img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.at-stone-card:hover .at-stone-card__img img {
  transform: scale(1.04);
}

/* Подпись */
.at-stone-card__body {
  padding: 16px 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.at-stone-card__name {
  font-size: 14px;
  font-weight: 600;
  color: #111;
  display: block;
}
.at-stone-card__note {
  font-size: 11px;
  color: #888;
  line-height: 1.4;
}

/* Плитка «Все камни» — светлая */
.at-stone-card--all {
  background: #f8f2f7;
  justify-content: flex-end;
  border: 1px solid rgba(107,63,143,.18);
}
.at-stone-card--all .at-stone-card__body {
  justify-content: flex-end;
}
.at-stone-card--all .at-stone-card__name {
  color: #1c1220;
  font-size: 16px;
}
.at-stone-card--all .at-stone-card__note {
  color: #6b3f8f;
}
.at-stone-card__arr {
  display: block;
  margin-top: 12px;
  font-size: 18px;
  color: rgba(255,255,255,.35);
  transition: color .2s, transform .2s;
}
.at-stone-card--all:hover { background: #1a0f2e; }
.at-stone-card--all:hover .at-stone-card__arr {
  color: var(--c-accent-l);
  transform: translateX(4px);
}

@media (max-width: 1100px) {
  .at-stones__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 700px) {
  .at-stones__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 440px) {
  .at-stones__grid { grid-template-columns: 1fr 1fr; }
  .at-stone-card__img { aspect-ratio: 3 / 2; }
}

/* ══════════════════════════════════════════════
   7. CTA — ПРИЗЫВ К ДЕЙСТВИЮ + ФОРМА ЗАЯВКИ
══════════════════════════════════════════════ */
.at-cta {
  background: #f8f2f7;
  padding: 100px 0;
  position: relative; overflow: hidden;
}
.at-cta::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 65% 70% at 70% 50%, rgba(107,63,143,.18) 0%, transparent 60%);
  pointer-events: none;
}

.at-cta__layout {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.at-cta__eyebrow {
  font-size: 9px; font-weight: 600; letter-spacing: .24em;
  text-transform: uppercase; color: var(--c-accent);
  display: block; margin-bottom: 16px;
}
.at-cta__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 3vw, 46px);
  font-weight: 300; color: #1c1220; line-height: 1.1;
  margin-bottom: 20px;
}
.at-cta__left > p {
  font-size: 14px; color: #1c1220;
  line-height: 1.8; margin-bottom: 40px;
}
.at-cta__contacts {
  display: flex; flex-direction: column; gap: 14px;
}
.at-cta__contact-row {
  display: flex; align-items: center; gap: 14px;
}
.at-cta__contact-icon {
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(107,63,143,.08);
  border: 1px solid rgba(107,63,143,.2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--c-accent);
}
.at-cta__contact-icon svg {
  display: block; flex-shrink: 0;
}
.at-cta__contact-label {
  font-size: 9px; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: #6b3f8f;
  display: block;
}
.at-cta__contact-val {
  font-size: 15px; font-weight: 500; color: #1c1220;
  text-decoration: none;
  transition: color .2s;
}
.at-cta__contact-val:hover { color: var(--c-accent); }

/* Форма */
.at-cta__form-wrap {
  background: #fff;
  border: 1px solid rgba(107,63,143,.15);
  padding: 40px;
}
.at-cta__form-title {
  font-size: 18px; font-weight: 700; color: #1c1220;
  margin-bottom: 6px;
}
.at-cta__form-wrap > p {
  font-size: 12px; color: rgba(28,18,32,.65);
  margin-bottom: 28px; line-height: 1.6;
}

.at-form { display: flex; flex-direction: column; gap: 14px; }
.at-form__fields { display: flex; flex-direction: column; gap: 14px; }
.at-form__field { display: flex; flex-direction: column; gap: 6px; }
.at-form__label {
  font-size: 10px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: #6b3f8f;
}
.at-form__input,
.at-form__textarea {
  background: #f8f2f7;
  border: 1px solid rgba(107,63,143,.2);
  color: #1c1220;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  padding: 12px 16px;
  outline: none;
  transition: border-color .2s, background .2s;
  width: 100%;
  -webkit-appearance: none; appearance: none;
}
.at-form__input::placeholder,
.at-form__textarea::placeholder { color: rgba(107,63,143,.4); }
.at-form__input:focus,
.at-form__textarea:focus {
  border-color: var(--c-accent);
  background: #fff;
}
.at-form__textarea { min-height: 110px; resize: vertical; }

/* Зона прикрепления файла */
.at-form__attach {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.at-form__file-input {
  position: absolute;
  width: 1px; height: 1px;
  opacity: 0; pointer-events: none;
  clip: rect(0,0,0,0);
}
.at-form__file-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 500;
  color: var(--c-accent);
  border: 1px solid rgba(107,63,143,.25);
  padding: 7px 14px;
  cursor: pointer;
  transition: background .2s, border-color .2s;
  white-space: nowrap;
}
.at-form__file-label:hover {
  background: rgba(107,63,143,.06);
  border-color: var(--c-accent);
}
.at-form__file-name {
  font-size: 12px;
  color: rgba(28,18,32,.5);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 200px;
}
.at-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
/* Чекбокс согласия */
.at-form__privacy-check {
  display: flex; align-items: flex-start; gap: 12px;
  cursor: pointer; margin-top: 4px;
}

/* Обёртка: фиксированный размер, не сжимается */
.at-form__check-wrap {
  position: relative;
  flex-shrink: 0;
  width: 16px; height: 16px;
  margin-top: 1px;
}

/* Скрытый нативный чекбокс — доступен для клавиатуры и скринридеров */
.at-form__check-input {
  position: absolute; inset: 0;
  opacity: 0; margin: 0; padding: 0;
  width: 100%; height: 100%;
  cursor: pointer;
  -webkit-appearance: none; appearance: none;
}

/* Кастомный квадрат */
.at-form__check-box {
  position: absolute; inset: 0;
  border: 1px solid rgba(107,63,143,.3);
  background: #fff;
  transition: border-color .2s, background .2s;
  pointer-events: none;
}

/* Галочка (скрыта по умолчанию) */
.at-form__check-box::after {
  content: '';
  position: absolute;
  top: 2px; left: 5px;
  width: 5px; height: 9px;
  border: 1.5px solid #fff;
  border-top: none; border-left: none;
  transform: rotate(45deg) scaleY(0);
  transform-origin: bottom center;
  transition: transform .18s ease;
}

/* Checked-состояние */
.at-form__check-input:checked + .at-form__check-box {
  background: var(--c-accent);
  border-color: var(--c-accent);
}
.at-form__check-input:checked + .at-form__check-box::after {
  transform: rotate(45deg) scaleY(1);
}

/* Focus-ring для клавиатурной навигации */
.at-form__check-input:focus-visible + .at-form__check-box {
  outline: 2px solid var(--c-accent-l);
  outline-offset: 2px;
}

/* Текст */
.at-form__check-label {
  font-size: 11px; color: #1c1220;
  line-height: 1.65;
}
.at-form__check-label a {
  color: var(--c-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color .2s;
}
.at-form__check-label a:hover { color: #1c1220; }

/* Ошибка: не принято соглашение */
.at-form__privacy-check.is-error .at-form__check-box {
  border-color: rgba(192,57,43,.9);
}

/* Статус отправки */
.at-form__success {
  display: none;
  text-align: center; padding: 40px 20px;
}
.at-form.is-sent .at-form__fields { display: none; }
.at-form.is-sent .at-form__success { display: block; }
.at-form__success-icon { font-size: 44px; margin-bottom: 14px; display: block; }
.at-form__success > p:first-of-type {
  font-size: 20px; font-weight: 700; color: #1c1220;
  margin-bottom: 8px;
}
.at-form__success > p:last-of-type {
  font-size: 13px; color: rgba(28,18,32,.55);
  line-height: 1.7;
}

/* ══════════════════════════════════════════════
   8. STICKY CTA (плавающая полоса на мобильном)
══════════════════════════════════════════════ */
.at-sticky-cta {
  display: none;
  position: fixed; bottom: 64px; left: 0; right: 0; z-index: 90;
  background: var(--c-accent);
  transform: translateY(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
}
.at-sticky-cta.is-visible { transform: none; }
@media (max-width: 767px) { .at-sticky-cta { display: flex; } }

.at-sticky-cta__btn {
  flex: 1; display: flex; align-items: center; justify-content: center;
  height: 52px;
  font-size: 12px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: #fff; text-decoration: none;
  transition: background .2s;
}
.at-sticky-cta__btn:hover { background: rgba(0,0,0,.12); }
.at-sticky-cta__sep {
  width: 1px; background: rgba(255,255,255,.25); flex-shrink: 0;
  align-self: stretch;
}

/* ══════════════════════════════════════════════
   АДАПТИВ
══════════════════════════════════════════════ */
@media (max-width: 1200px) {
  .at-hero__inner { grid-template-columns: 1fr 420px; }
  .at-step { grid-template-columns: 72px 1fr 300px; }
  .at-faq__layout { gap: 56px; }
  .at-cta__layout { gap: 56px; }
}

@media (max-width: 1000px) {
  .at-hero__inner { grid-template-columns: 1fr; }
  .at-hero__left { border-right: none; border-bottom: 1px solid rgba(107,63,143,.12); padding: 64px var(--w-pad) 48px; }
  .at-hero__right { display: none; }

  .at-process__head { grid-template-columns: 1fr; gap: 20px; }
  .at-step { grid-template-columns: 60px 1fr; }
  .at-step__img { display: none; }

  .at-stories-grid { grid-template-columns: 1fr 1fr; }

  .at-faq__layout { grid-template-columns: 1fr; gap: 40px; }

  .at-cta__layout { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .at-process { padding: 64px 0; }
  .at-step__body { padding: 24px 20px; }
  .at-step__num { padding: 24px 12px; }
  .at-step__num-inner { font-size: 28px; }

  .at-stories { padding: 64px 0; }
  .at-stories-grid { grid-template-columns: 1fr; }

  .at-faq { padding: 64px 0; }
  .at-form__row { grid-template-columns: 1fr; }

  .at-cta { padding: 64px 0; }
  .at-cta__form-wrap { padding: 28px 20px; }

  .at-stones { padding: 56px 0; }

  .at-hero__facts { gap: 24px; }
  .at-hero__cta { flex-direction: column; align-items: flex-start; }
}
