/* 12–13 · заявка и «Свяжитесь с нами» + вид подвала (/variant/, 06.11) — разметка: delo-src/partials/v10-final.html, движение: assets/js/b10.js
   Одна композиция из двух стеклянных плашек (как у блоков 5–7): заявка — заголовок Patefon с синим акцентом, текст и форма
   прямо в блоке; контакты — телефон, часы, адрес с «Открыть в Яндекс Картах», рейтинг и карта в белой рамке (как снимки
   блока 4). Компьютер — две колонки одной высоты, телефон — одна под другой. Фон секции прозрачный (за ней она в
   расфокусе), стекло на телефоне — без размытия под собой. Появление — один раз, только прозрачность и сдвиг.
   Подвал — общий footer.html; здесь только его вид на этой странице (строго body.variant .ftr …): сплошное синее поле без
   фирменной кривой, шрифты страницы, выше вуали «Результатов» и девушки, на телефоне — аккуратные колонки, ничего мелкого */
.v10-final { position: relative; z-index: 3; color: var(--ink); padding: clamp(96px, 14vh, 170px) 0 clamp(64px, 9vh, 110px); }
.f10-w { max-width: 1360px; margin: 0 auto; padding: 0 var(--pad); display: grid; grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  gap: clamp(20px, 2vw, 32px); align-items: stretch; }

/* стекло — как плашки «Плана лечения» и «Команды» (компьютер — лёгкое размытие под собой), чуть плотнее: на нём форма */
.f10-req, .f10-con { position: relative; min-width: 0; padding: clamp(28px, 2.6vw, 44px); border-radius: 28px;
  background: linear-gradient(to bottom, rgba(250, 246, 239, 0.5) 0%, rgba(250, 246, 239, 0.56) 50%, rgba(250, 246, 239, 0.66) 100%);
  border: 1px solid rgba(255, 255, 255, 0.55); -webkit-backdrop-filter: blur(4px) saturate(1.05); backdrop-filter: blur(4px) saturate(1.05);
  box-shadow: 0 20px 50px -34px rgba(66, 47, 25, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.55); }
.v10-final .label { margin-bottom: 18px; font-size: 13px; letter-spacing: 0.14em; }
.v10-final .label::before { width: 19px; height: 19px; }
.f10-t { margin: 0; font-family: var(--head), var(--font); font-weight: 700; font-size: clamp(32px, 2.9vw, 48px); line-height: 1.06;
  letter-spacing: -0.01em; color: var(--ink); text-wrap: balance; }
.f10-t .acc { color: var(--blue); }
.f10-lead { margin-top: 16px; max-width: 34em; font-size: clamp(17px, 1.2vw, 19px); line-height: 1.45; color: var(--ink2); text-wrap: pretty; }

/* ── форма ── */
/* форма и «Заявка принята» — в одной клетке; отправили — форма невидима, но держит высоту */
.f10-fw { display: grid; margin-top: clamp(24px, 3.4vh, 34px); }
.f10-fw > * { grid-area: 1 / 1; min-width: 0; }
.f10-fw > .form[hidden] { display: block; visibility: hidden; }
.f10-form .form-row { gap: 14px; }
.v10-final .fld { gap: 8px; }
.v10-final .fld > span { font: 600 12.5px/1.2 var(--font); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink2); }
.v10-final .fld input { height: 56px; padding: 0 18px; border-radius: 16px; font: 400 17px/1.2 var(--font); color: var(--ink);
  background: rgba(255, 255, 255, 0.76); border: 1px solid rgba(22, 41, 74, 0.14); }
.v10-final .fld input::placeholder { color: var(--ink3); opacity: 1; }
.v10-final .fld input:focus { background: #fff; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(39, 93, 167, 0.12); }
.v10-final .fld.bad input { border-color: var(--terra); box-shadow: 0 0 0 4px rgba(225, 83, 54, 0.1); }
/* согласие: свой квадрат 24 px (нажимается вся строка) */
.v10-final .agree { gap: 12px; margin: 18px 0 0; font-size: 14.5px; line-height: 1.45; color: var(--ink2); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.v10-final .agree input { -webkit-appearance: none; appearance: none; flex: none; width: 24px; height: 24px; margin: -1px 0 0; border-radius: 7px; cursor: pointer;
  border: 1.5px solid rgba(39, 93, 167, 0.45); background: rgba(255, 255, 255, 0.82) center / 13px 10px no-repeat;
  transition: background-color 0.25s, border-color 0.25s; }
.v10-final .agree input:checked { background-color: var(--blue); border-color: var(--blue);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='11' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1.5 5.8l3.6 3.4L12.5 1.8'/%3E%3C/svg%3E"); }
.v10-final .agree input:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.v10-final .agree a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
/* место под ошибку — всегда (кнопка не прыгает) */
.v10-final .form-err { min-height: 22px; margin: 8px 0 10px; font-size: 15px; line-height: 1.4; color: var(--terra-d); }
.f10-form .cta { min-width: 300px; }

/* «Заявка принята» */
.f10-done { align-self: center; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.f10-done[hidden] { display: none; }
.f10-ok { width: 58px; height: 58px; border-radius: 50%; margin-bottom: 6px; box-shadow: 0 14px 30px -16px rgba(39, 93, 167, 0.8);
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='11' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1.5 5.8l3.6 3.4L12.5 1.8'/%3E%3C/svg%3E") center / 24px 19px no-repeat; }
.f10-done-t { font-family: var(--head), var(--font); font-weight: 700; font-size: clamp(30px, 2.5vw, 40px); line-height: 1.05; letter-spacing: -0.01em; color: var(--ink); }
.f10-done-p { max-width: 26em; font-size: 17px; line-height: 1.45; color: var(--ink2); text-wrap: pretty; }

/* ── контакты ── */
.f10-con { display: flex; flex-direction: column; }
.f10-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 28px; margin: clamp(22px, 3vh, 30px) 0 0; }
.f10-f { min-width: 0; }
.f10-f dt { font: 600 12.5px/1.2 var(--font); letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); }
.f10-f dd { margin: 9px 0 0; font-size: 18px; line-height: 1.4; color: var(--ink); }
.f10-tel a { font-family: var(--head), var(--font); font-weight: 700; font-size: clamp(23px, 1.75vw, 28px); line-height: 1.15; color: var(--ink);
  white-space: nowrap; transition: color 0.3s; }
.f10-tel a:hover { color: var(--blue); }
.f10-adr-t { display: block; }
.f10-adr .more { margin-top: 12px; height: 44px; gap: 12px; padding: 0 6px 0 18px; font-size: 15px; }
.f10-adr .more::after { width: 32px; height: 32px; }
.f10-rate dd { display: flex; flex-wrap: wrap; align-items: center; column-gap: 8px; }
.f10-rate b { font-family: var(--head), var(--font); font-weight: 700; font-size: 28px; line-height: 1.1; color: var(--ink); }
.f10-rate svg { flex: none; width: 22px; height: 22px; margin-top: -2px; fill: var(--blue); }
.f10-rate span { font-size: 18px; line-height: 1.35; color: var(--ink); }

/* карта — в белой рамке, как снимки «Результатов»; место — сразу, виджет проявляется, когда загрузился */
/* высоту плашек задаёт заявка (слева), карта занимает остаток контактов (не меньше 220 px). Не выше 290 px: в более
   высоком виджете Яндекс ставит снизу рекламную полосу (как на их сайте) */
.f10-map { position: relative; flex: 1 1 auto; min-height: 220px; max-height: 290px; margin-top: clamp(24px, 3.2vh, 32px); overflow: hidden; isolation: isolate;
  border: 5px solid rgba(255, 255, 255, 0.82); border-radius: 22px; background: linear-gradient(160deg, #ece8e4, #e2ddd7);
  box-shadow: 0 24px 46px -30px rgba(22, 41, 74, 0.5); }
.f10-map-ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  font-size: 15px; color: var(--ink2); }
.f10-map-ph svg { width: 34px; height: 34px; fill: none; stroke: var(--blue); stroke-width: 1.6; }
.f10-map iframe { position: absolute; inset: 0; z-index: 1; display: block; width: 100%; height: 100%; border: 0; opacity: 0; transition: opacity 0.6s ease; }
.f10-map.f10-map-ok iframe { opacity: 1; }
/* метка клиники и плашка над ней (09.11 ночь, владелец: «поставить плашку к месту заведения», как плашка Яндекса на
   /kontakty/): синяя метка остриём в точке адреса — ниже середины карты на --dy (b10.js), над ней белая карточка с
   хвостиком вниз. Видны, пока карту не трогали; начали двигать (f10-map-used) — уходят */
.f10-mark { position: absolute; z-index: 2; left: 50%; top: calc(50% + var(--dy, 0px)); width: 28px; height: 38px; pointer-events: none;
  transform: translate(-50%, calc(-100% - 10px)); opacity: 0; transition: opacity 0.4s ease, transform 0.7s var(--ease);
  filter: drop-shadow(0 6px 7px rgba(22, 41, 74, 0.32)); }
.f10-mark svg { display: block; width: 100%; height: 100%; overflow: visible; }
.f10-mark path { fill: var(--blue); stroke: #fff; stroke-width: 2; }
.f10-mark circle { fill: #fff; }
.f10-map-ok .f10-mark { opacity: 1; transform: translate(-50%, -100%); transition-delay: 0.6s; }
/* заглушка «место карты» (адрес со значком) — уходит, когда виджет загрузился: адрес теперь на нашей плашке */
.f10-map-ph { transition: opacity 0.4s ease; }
.f10-map-ok .f10-map-ph { opacity: 0; }
.f10-map-used .f10-mark { opacity: 0; transition-delay: 0s; }
.f10-pin { position: absolute; z-index: 2; left: 50%; top: calc(50% + var(--dy, 0px) - 43px); display: flex; flex-direction: column; gap: 3px;
  margin: 0; padding: 10px 15px 11px; border-radius: 14px; background: #fff; white-space: nowrap; pointer-events: none;
  box-shadow: 0 16px 30px -16px rgba(22, 41, 74, 0.6), 0 1px 3px rgba(22, 41, 74, 0.14);
  transform: translate(-50%, calc(-100% + 6px)); opacity: 0; transition: opacity 0.5s ease, transform 0.6s var(--ease); }
.f10-pin::after { content: ''; position: absolute; left: 50%; bottom: -5px; width: 12px; height: 12px; margin-left: -6px; background: #fff;
  border-radius: 0 0 3px 0; transform: rotate(45deg); }
.f10-pin b { font-family: var(--head), var(--font); font-weight: 700; font-size: 15px; line-height: 1.1; color: var(--ink); }
.f10-pin span { font-size: 13px; line-height: 1.2; color: var(--ink2); }
.f10-map-ok .f10-pin { opacity: 1; transform: translate(-50%, -100%); transition-delay: 0.75s; }
.f10-map-used .f10-pin { opacity: 0; transition-delay: 0s; }
/* пока на карту не нажали — поверх неё прозрачная кнопка: касания и колесо листают страницу, а не карту */
.f10-lock { position: absolute; inset: 0; z-index: 2; display: none; width: 100%; height: 100%; padding: 12px; background: transparent;
  cursor: pointer; -webkit-tap-highlight-color: transparent; text-align: left; }
.f10-map-on .f10-lock { display: block; }
.f10-map-free .f10-lock { display: none; }
/* подсказка — внизу по центру, над строкой «Условия использования» виджета (вверху — его поиск, линейка и пробки) */
.f10-lock span { position: absolute; left: 50%; bottom: 40px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 9px; height: 40px; padding: 0 16px 0 12px;
  border-radius: 999px; background: rgba(255, 255, 255, 0.94); box-shadow: 0 10px 24px -14px rgba(22, 41, 74, 0.55);
  font-size: 15px; line-height: 1; color: var(--ink); white-space: nowrap; transition: opacity 0.35s ease; }
.f10-lock span::before { content: ''; flex: none; width: 18px; height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23275da7' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2.5v19M2.5 12h19M12 2.5L9 5.5M12 2.5l3 3M12 21.5l-3-3M12 21.5l3-3M2.5 12l3-3M2.5 12l3 3M21.5 12l-3-3M21.5 12l-3 3'/%3E%3C/svg%3E") center / contain no-repeat; }
.f10-lock i { font-style: normal; }
.f10-lock-s { display: none; }
.f10-lock:focus-visible { outline: 2px solid var(--blue); outline-offset: -4px; border-radius: 18px; }
/* мышь: подсказка — когда курсор над картой */
@media (hover: hover) and (pointer: fine) {
  .f10-lock span { opacity: 0; }
  .f10-lock:hover span, .f10-lock:focus-visible span { opacity: 1; }
}

/* появление (b10.js): плашки — когда въехали; без JS всё видно сразу */
.f10-req, .f10-con { transition: opacity 0.9s var(--ease), transform 1.15s var(--ease); }
.f10-con { transition-delay: 0.12s; }
.f10-js .f10-req:not(.f10-in), .f10-js .f10-con:not(.f10-in) { opacity: 0; transform: translate3d(0, 28px, 0); }
.f10-anim .f10-req, .f10-anim .f10-con { will-change: transform, opacity; }

/* невысокий экран ноутбука: всё плотнее */
@media (min-width: 761px) and (max-height: 760px) {
  .v10-final { padding-top: clamp(80px, 12vh, 120px); }
  .f10-t { font-size: clamp(30px, 2.5vw, 40px); }
  .f10-lead { margin-top: 12px; font-size: 17px; }
  .f10-fw { margin-top: 22px; }
}
/* узкий компьютер / планшет: колонки — одна под другой */
@media (min-width: 761px) and (max-width: 1020px) {
  .f10-w { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
  .f10-map { flex: none; height: 280px; }
}

/* ── телефон ── */
@media (max-width: 760px) {
  .v10-final { padding: 64px 0 calc(48px + env(safe-area-inset-bottom)); }
  .f10-w { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 0 14px; }
  .f10-req, .f10-con { padding: 22px 20px 20px; border-radius: 26px; -webkit-backdrop-filter: none; backdrop-filter: none;
    background: linear-gradient(to bottom, rgba(250, 246, 239, 0.62) 0%, rgba(250, 246, 239, 0.76) 100%);
    border-color: rgba(255, 255, 255, 0.6); box-shadow: 0 20px 50px -34px rgba(66, 47, 25, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.6); }
  .v10-final .label { margin-bottom: 12px; font-size: clamp(12.5px, 3.5vw, 14px); letter-spacing: 0.11em; gap: 10px; white-space: nowrap; }
  .v10-final .label::before { width: 20px; height: 20px; }
  .f10-t { font-size: clamp(27px, 7.6vw, 32px); line-height: 1.08; }
  .f10-lead { margin-top: 10px; font-size: 16px; line-height: 1.42; }
  .f10-fw { margin-top: 20px; }
  .f10-form .form-row { gap: 12px; }
  .v10-final .fld input { height: 54px; padding: 0 16px; font-size: 17px; }
  .v10-final .agree { margin-top: 16px; font-size: 14px; }
  .v10-final .form-err { margin: 6px 0 8px; }
  .f10-form .cta { width: 100%; min-width: 0; height: 56px; padding: 0 16px; font-size: 16px; }
  .f10-done { padding: 8px 0; }
  .f10-done-t { font-size: 30px; }
  .f10-done-p { font-size: 16px; }
  .f10-facts { grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 20px; }
  .f10-f dd { margin-top: 7px; font-size: 17px; }
  .f10-tel a { font-size: 27px; }
  .f10-rate span { font-size: 17px; }
  /* высота — как у карты на компьютере (выше — у виджета снизу рекламная полоса); подсказка короткая, внизу по центру:
     справа — кнопки виджета (масштаб, «где я»), слева внизу — его значок «Открыть в Яндекс Картах» */
  .f10-map { flex: none; height: 272px; min-height: 0; max-height: none; margin-top: 22px; border-width: 4px; border-radius: 20px; }
  .f10-lock span { bottom: 52px; height: 40px; padding: 0 16px 0 12px; font-size: 15px; }
  .f10-lock-l { display: none; }
  .f10-lock-s { display: inline; }
  .f10-js .f10-req:not(.f10-in), .f10-js .f10-con:not(.f10-in) { transform: translate3d(0, 22px, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .f10-req, .f10-con { transition: opacity 0.5s linear; transform: none !important; }
}

/* ── подвал на /variant/ (общий footer.html; вид — только здесь) ──
   Сплошное синее поле, без фирменной кривой/знака на нём (владелец: «подвал сплошной, без выступающей кривой»); шрифты
   страницы — заголовки Patefon (var(--head)), текст Chetty (var(--font)); слой выше вуали «Результатов» (.rs-veil, fixed,
   z 2) и девушки; ссылки ≥ 15 px */
body.variant .ftr { z-index: 4; margin-top: 0; padding: clamp(64px, 9vh, 100px) var(--gut) calc(30px + env(safe-area-inset-bottom));
  background: var(--blue); font-family: var(--font); }
body.variant .ftr::before { display: none; }
body.variant .ftr-top { gap: clamp(28px, 4vw, 64px); padding-bottom: clamp(40px, 6vh, 60px); border-bottom-color: rgba(255, 255, 255, 0.2); }
body.variant .ftr-logo { width: min(380px, 100%); }
body.variant .ftr-slogan { margin-top: 26px; max-width: 13em; font-family: var(--head), var(--font); font-weight: 700; font-size: clamp(24px, 1.9vw, 30px);
  line-height: 1.12; letter-spacing: -0.005em; color: #fff; }
body.variant .ftr h4 { margin-bottom: 14px; font: 600 13px/1.2 var(--font); letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.62); }
body.variant .ftr-col a, body.variant .ftr-col p { font-size: 17px; line-height: 1.4; padding: 5px 0; color: rgba(255, 255, 255, 0.92); }
body.variant .ftr-col a:hover { color: #fff; }
body.variant .ftr .ftr-tel { margin-top: 8px; font-family: var(--head), var(--font); font-weight: 700; font-size: 24px !important; line-height: 1.2;
  color: #fff; white-space: nowrap; }
body.variant .ftr-bot { gap: 14px 30px; padding-top: 24px; font-size: 13px; line-height: 1.5; color: rgba(255, 255, 255, 0.72); }
body.variant .ftr-legal { gap: 6px 24px; }
body.variant .ftr-legal a { font-size: 15px; color: rgba(255, 255, 255, 0.88); }
body.variant .ftr-bot a:hover { color: #fff; }
body.variant .ftr-warn { margin-top: 10px; padding-top: 24px; font-family: var(--head), var(--font); font-weight: 700; font-size: clamp(16px, 1.55vw, 24px);
  letter-spacing: 0.05em; line-height: 1.3; color: rgba(255, 255, 255, 0.94); }
@media (max-width: 760px) {
  body.variant .ftr { padding: 52px 20px calc(28px + env(safe-area-inset-bottom)); }
  /* бренд — на всю ширину; «Клиника» и «Пациентам» — две колонки рядом; «Казань» — на всю ширину */
  body.variant .ftr-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 34px 18px; padding-bottom: 34px; }
  body.variant .ftr-brand, body.variant .ftr-col:last-child { grid-column: 1 / -1; }
  body.variant .ftr-logo { width: min(290px, 100%); }
  body.variant .ftr-slogan { margin-top: 20px; font-size: 24px; }
  body.variant .ftr h4 { margin-bottom: 10px; font-size: 12.5px; }
  body.variant .ftr-col a, body.variant .ftr-col p { padding: 6px 0; }
  body.variant .ftr .ftr-tel { margin-top: 6px; font-size: 27px !important; }
  body.variant .ftr-bot { flex-direction: column; gap: 14px; padding-top: 24px; }
  body.variant .ftr-legal { flex-direction: column; align-items: flex-start; gap: 0; }
  body.variant .ftr-legal a { padding: 6px 0; }
  body.variant .ftr-warn { margin-top: 6px; padding-top: 22px; font-size: 16px; line-height: 1.35; text-align: left; }
}

/* ── переход к подвалу (06.11 вечер, владелец: «последний блок и там резко футер — разретушируй, чтобы смотрелось норм») ──
   Низ последнего блока плавно уходит в синий подвала: длинный градиент позади плашек (слой раздела — выше размытой
   девушки и вуали, ниже стекла), ступени — по кривой, чтобы не было видимой границы; под плашками — больше места */
.v10-final { padding-bottom: clamp(150px, 22vh, 240px); }
.v10-final::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; z-index: -1; height: clamp(300px, 46vh, 460px);
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(39, 93, 167, 0) 0%, rgba(39, 93, 167, 0.04) 18%, rgba(39, 93, 167, 0.12) 34%,
    rgba(39, 93, 167, 0.27) 50%, rgba(39, 93, 167, 0.48) 65%, rgba(39, 93, 167, 0.72) 80%, rgba(39, 93, 167, 0.9) 91%, #275da7 100%); }
@media (max-width: 760px) {
  .v10-final { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
  .v10-final::after { height: 320px; }
}
