@charset "utf-8";
/* Страница corporate2 (редизайн Corporate), templates/corporate2.php. Не в бандле — подключается только там.
   Палитра и приёмы те же, что на events2: #4B1E00, #2b2016, #917552, #8a7157, #faf7f2,
   тёмные блоки #2b1a0c → #1c130b, PT Serif Caption + Roboto, прямоугольные кнопки. */
.c2 { width: 100%; --brown:#4B1E00; --ink:#2b2016; --muted:#8a7157; --text:#6f5a44; --paper:#faf7f2; --line:rgba(75,30,0,.14); color: var(--ink); }
.c2 * { box-sizing: border-box; }
.c2 section { width: 100%; max-width: none; margin: 0; }
.c2-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.c2 p { margin: 0; color: var(--text); letter-spacing: 0; line-height: 1.6; text-align: left; }
.c2 h1, .c2 h2, .c2 h3 { text-shadow: none; text-align: left; width: auto; max-width: none; padding: 0; margin: 0; color: var(--ink); font-family: 'PT Serif Caption', serif; font-weight: 400; }
.c2-kicker { font: 700 11.5px/1 'Roboto', sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 12px; }
.c2-kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.c2-h2 { font-size: clamp(28px, 3.4vw, 42px) !important; line-height: 1.12; margin-top: 14px !important; }
.c2-lede { font-size: 17px; max-width: 58ch; margin-top: 16px !important; }
.c2-link { color: var(--brown) !important; font-weight: 700; border-bottom: 1px solid var(--brown); text-decoration: none !important; }

/* кнопки */
.c2-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: 700 12.5px/1 'Roboto', sans-serif; letter-spacing: .08em; text-transform: uppercase; padding: 16px 24px; border: 1px solid var(--brown); border-radius: 0; text-decoration: none !important; white-space: nowrap; transition: background .2s, color .2s, border-color .2s; cursor: pointer; }
.c2-btn--light { background: #fff; color: var(--brown) !important; border-color: #fff; }
.c2-btn--ghost { background: transparent; color: #fff !important; border-color: rgba(255,255,255,.55); }
.c2-btn--solid { background: var(--brown); color: #fff !important; }
.c2-btn--line { background: transparent; color: var(--brown) !important; }
.c2-btn--light:hover, .c2-btn--ghost:hover { background: #e8cfa8; border-color: #e8cfa8; color: var(--brown) !important; }
.c2-btn--solid:hover, .c2-btn--line:hover { background: #6B2C00; border-color: #6B2C00; color: #fff !important; }
.c2-btn:focus-visible { outline: 2px solid var(--brown); outline-offset: 3px; }
.c2-hero .c2-btn:focus-visible, .c2-price .c2-btn:focus-visible, .c2-final .c2-btn:focus-visible { outline-color: #fff; }

/* ---------- 1. Первый экран ---------- */
.c2-hero { display: block; background: linear-gradient(160deg, #2b1a0c 0%, #1c130b 100%); }
.c2-hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 48px; max-width: 1200px; min-height: 600px; margin: 0 auto; padding: 0 20px; }
.c2-hero__text { padding: 64px 0 56px; display: flex; flex-direction: column; justify-content: center; color: #fff; }
.c2-hero .c2-kicker { color: #d9c2a3; }
.c2-hero h1.c2-kicker { font-size: 11.5px !important; line-height: 1.4; margin: 0 !important; color: #d9c2a3 !important; font-family: 'Roboto', sans-serif; font-weight: 700; }
.c2-hero__title { font-family: 'PT Serif Caption', serif; color: #fff !important; font-size: clamp(32px, 3.3vw, 48px) !important; line-height: 1.08 !important; margin-top: 22px !important; text-wrap: balance; }
.c2-hero__title em { font-style: italic; color: #e8cfa8; }
.c2-hero__lede { color: rgba(255,255,255,.78) !important; font-size: 17px; margin-top: 22px !important; max-width: 46ch; }
.c2-hero__btns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 460px; margin-top: 34px; }
.c2-hero__btns .c2-btn { width: 100%; padding-left: 14px; padding-right: 14px; }
.c2-hero__meta { display: flex; gap: 22px; margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); font: 500 13px/1.4 'Roboto', sans-serif; color: rgba(255,255,255,.7); flex-wrap: wrap; }
.c2-hero__meta b { color: #fff; font-weight: 700; }
/* рейтинг Google — ссылка на все отзывы (новая вкладка) */
a.c2-glink, a.c2-google { text-decoration: none !important; color: inherit; }
a.c2-glink { border-bottom: 1px solid rgba(232,207,168,.35); }
a.c2-glink:hover, a.c2-glink:focus-visible { border-bottom-color: #e8cfa8; }
a.c2-google:hover > span, a.c2-google:focus-visible > span { color: var(--brown); text-decoration: underline; }

/* Коллаж первого экрана: крупный кадр и два поменьше, раздвигаются при наведении/касании
   (как на events2). Три фото лежат друг на друге. Видимую часть задаёт пара сдвигов:
   рамка (figure, overflow:hidden) уезжает за край сцены, картинка внутри (.c2-fig__in)
   сдвигается обратно и стоит на месте. Анимируется только transform — без перерисовки
   и без CLS; clip-path и ширины не анимируем. --x — граница колонок, --y — граница строк
   справа. Золотое сечение: 61,8% в покое, выбранный блок получает 76,4% / 38,2%. */
.c2-hero__pics { display: block; padding: 32px 0; }
.c2-hero__stage { --x: 61.8%; --y: 61.8%; position: relative; width: 100%; height: 100%; min-height: 240px; overflow: hidden; }
.c2-hero__stage figure, .c2-hero__stage .c2-fig__in { position: absolute; inset: 0; margin: 0; transition: transform .65s cubic-bezier(.2,.7,.2,1); will-change: transform; }
.c2-hero__stage figure { overflow: hidden; background: #1c130b; }
.c2-hero__stage img { position: absolute; display: block; object-fit: cover; }
.c2-hero__stage .c2-fig--main { transform: translateX(calc(var(--x) - 100% - 3px)); }
.c2-hero__stage .c2-fig--main .c2-fig__in { transform: translateX(calc(100% - var(--x) + 3px)); }
.c2-hero__stage .c2-fig--main img { left: 0; top: 0; width: 80%; height: 100%; }
.c2-hero__stage .c2-fig--top { transform: translate(calc(var(--x) + 3px), calc(var(--y) - 100% - 3px)); }
.c2-hero__stage .c2-fig--top .c2-fig__in { transform: translate(calc(-1 * var(--x) - 3px), calc(100% - var(--y) + 3px)); }
.c2-hero__stage .c2-fig--top img { right: 0; top: 0; width: 62%; height: 80%; }
.c2-hero__stage .c2-fig--bottom { transform: translate(calc(var(--x) + 3px), calc(var(--y) + 3px)); }
.c2-hero__stage .c2-fig--bottom .c2-fig__in { transform: translate(calc(-1 * var(--x) - 3px), calc(-1 * var(--y) - 3px)); }
.c2-hero__stage .c2-fig--bottom img { right: 0; bottom: 0; width: 62%; height: 62%; }
@media (hover: hover) and (min-width: 1001px) {
  .c2-hero__stage:has(.c2-fig--main:hover) { --x: 76.4%; }
  .c2-hero__stage:has(.c2-fig--top:hover) { --x: 38.2%; --y: 76.4%; }
  .c2-hero__stage:has(.c2-fig--bottom:hover) { --x: 38.2%; --y: 38.2%; }
}
/* касание на телефоне и планшете — то же, что при наведении */
.c2-hero__stage[data-focus="main"] { --x: 76.4%; }
.c2-hero__stage[data-focus="top"] { --x: 38.2%; --y: 76.4%; }
.c2-hero__stage[data-focus="bottom"] { --x: 38.2%; --y: 38.2%; }
.c2-hero__stage figure::after { content: ""; position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.c2-hero__stage figure.is-flash::after { animation: c2-flash .55s ease-out; }
@keyframes c2-flash { 0% { opacity: 0; } 18% { opacity: .85; } 100% { opacity: 0; } }

/* ---------- 2. Цифры и абзац-ответ ---------- */
.c2-stats { background: #fff; border-bottom: 1px solid var(--line); }
.c2-stats .c2-wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.c2-stat { padding: 30px 22px; border-left: 1px solid var(--line); }
.c2-stat:first-child { border-left: 0; padding-left: 0; }
.c2-stat b { display: block; font: 400 40px/1 'PT Serif Caption', serif; color: var(--brown); white-space: nowrap; }
.c2-stat span { display: block; margin-top: 8px; font: 500 13px/1.35 'Roboto', sans-serif; color: var(--muted); }
.c2-summary { background: #fff; border-bottom: 1px solid var(--line); }
.c2-summary p { padding: 18px 0 22px; font-size: 15px; max-width: 95ch; }

/* ---------- ритм секций ---------- */
.c2-block { padding: 96px 0; }
.c2-block--paper { background: var(--paper); }
.c2-block--white { background: #fff; }
.c2-block--dark { background: #1c130b; }
.c2-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 44px; flex-wrap: wrap; }
.c2-head .c2-lede { margin-top: 14px !important; }

/* ---------- 3. Что снимаю ---------- */
.c2-types { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.c2-type { background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; }
.c2-type__pic { aspect-ratio: 4 / 5; overflow: hidden; background: #1c130b; }
.c2-type__pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.c2-type:hover .c2-type__pic img { transform: scale(1.04); }
.c2-type__body { padding: 20px 20px 24px; display: flex; flex-direction: column; flex: 1; }
.c2-type h3 { font-size: 21px !important; margin-top: 4px !important; line-height: 1.2; }
.c2-type p { font-size: 14.5px; margin-top: 8px !important; }
.c2-type__for { margin-top: auto !important; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13.5px !important; color: var(--ink) !important; }

/* ---------- 4. Галерея ---------- */
/* Сетка полосами по 5 кадров: большая ячейка 2×2 и четыре квадрата рядом, сторона чередуется
   (слева — справа — слева). Та же сетка, что на главной (css/index2.css). Большой ячейке задана
   только колонка, строку подбирает авторазмещение, dense заполняет остаток квадратами. Какие
   кадры большие, решает шаблон: только те, под которыми есть полная пятёрка, иначе у хвоста
   осталась бы дыра. Поэтому набор кадров держим кратным 5. */
.c2-gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-flow: row dense; gap: 8px; }
.c2-gallery figure { margin: 0; aspect-ratio: 1 / 1; overflow: hidden; background: #1c130b; cursor: zoom-in; }
.c2-gallery .g-big { grid-row: span 2; }
.c2-gallery .g-big--l { grid-column: 1 / span 2; }
.c2-gallery .g-big--r { grid-column: 3 / span 2; }
.c2-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.c2-gallery figure:hover img { transform: scale(1.03); }
.c2-gallery figure:focus-visible { outline: 2px solid var(--brown); outline-offset: 3px; }
.g-w2 { grid-column: span 2; } .g-w3 { grid-column: span 3; } .g-w4 { grid-column: span 4; }
.g-h2 { grid-row: span 2; } .g-h3 { grid-row: span 3; }
.c2-gallery-foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 26px; flex-wrap: wrap; }
.c2-gallery-foot p { font-size: 14.5px; }
.c2-social { display: flex; gap: 10px; }
.c2-social a { width: 40px; height: 40px; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; background: #fff; }
.c2-social img { width: 26px; height: 26px; }

/* ---------- 5. Кейс ---------- */
.c2-case { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); background: #fff; border: 1px solid var(--line); }
.c2-case__pic { margin: 0; overflow: hidden; background: #1c130b; min-height: 340px; }
.c2-case__pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.c2-case__text { padding: 48px; }
.c2-case h3 { font-size: 30px !important; line-height: 1.2; margin-top: 14px !important; }
.c2-case p { margin-top: 14px !important; font-size: 15.5px; }
.c2-facts { display: grid; grid-template-columns: repeat(2, 1fr); margin-top: 26px; border-top: 1px solid var(--line); }
.c2-facts div { padding: 14px 12px 0 0; }
.c2-facts b { display: block; font: 400 30px/1 'PT Serif Caption', serif; color: var(--brown); white-space: nowrap; }
.c2-facts span { display: block; margin-top: 6px; font: 500 12.5px/1.35 'Roboto', sans-serif; color: var(--muted); }

/* ---------- 6. Что входит / допуски ---------- */
.c2-split { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); background: #fff; }
.c2-split__col { padding: 44px; }
.c2-split__col + .c2-split__col { border-left: 1px solid var(--line); background: var(--paper); }
.c2-split h3 { font-size: 26px !important; line-height: 1.2; margin-top: 14px !important; }
.c2-split p { margin-top: 14px !important; font-size: 15px; }
.c2-split ul { list-style: none; padding: 0; margin: 20px 0 0 !important; }
.c2-split li { position: relative; padding: 10px 0 10px 26px; border-top: 1px solid var(--line); color: var(--ink); font-size: 15px; margin: 0; }
.c2-split li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 10px; height: 6px; border-left: 2px solid var(--brown); border-bottom: 2px solid var(--brown); transform: rotate(-45deg); }

/* ---------- Кто снимает ---------- */
.c2-about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: center; }
.c2-about__pic { margin: 0; aspect-ratio: 3 / 2; overflow: hidden; background: #1c130b; }
.c2-about__pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.c2-about__text p { font-size: 16.5px; margin-top: 16px !important; max-width: 60ch; }
.c2-about__text p.c2-about__langs { font-size: 14.5px; color: var(--ink); border-top: 1px solid var(--line); padding-top: 16px; margin-top: 22px !important; }

/* ---------- Альбомы ---------- */
.c2-albums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.c2-album { text-decoration: none !important; color: inherit; display: block; }
.c2-album__pic { aspect-ratio: 4 / 3; background: #1c130b; position: relative; overflow: hidden; }
.c2-album__pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.c2-album__pic::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(20,12,4,.55)); z-index: 1; }
.c2-album__n { position: absolute; right: 10px; bottom: 10px; z-index: 2; font: 700 11px/1 'Roboto', sans-serif; letter-spacing: .06em; color: #fff; background: rgba(0,0,0,.4); padding: 5px 8px; }
.c2-album__t { padding: 12px 2px 0; font: 500 14.5px/1.35 'Roboto', sans-serif; color: var(--ink); }
.c2-album:hover .c2-album__t { text-decoration: underline; }

/* ---------- 7. Цена: две части ---------- */
.c2-price { background: #1c130b; color: #fff; padding: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.c2-price .c2-kicker, .c2-price h2.c2-kicker { color: #d9c2a3 !important; font-family: 'Roboto', sans-serif; font-size: 11.5px; font-weight: 700; }
.c2-price h3 { color: #fff !important; font-size: 26px !important; margin-top: 12px !important; }
.c2-price__amount { font: 400 34px/1.2 'PT Serif Caption', serif; color: #fff !important; margin-top: 12px !important; }
.c2-price__amount small { font-size: 16px; color: #d9c2a3; }
.c2-price__amount--text { font-size: 28px; color: #e8cfa8 !important; }
.c2-price { margin-top: 56px; }
.c2-examples--list li { display: block; position: relative; padding-left: 22px; }
.c2-examples--list li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 9px; height: 5px; border-left: 2px solid #e8cfa8; border-bottom: 2px solid #e8cfa8; transform: rotate(-45deg); }
.c2-price p { color: rgba(255,255,255,.72) !important; margin-top: 12px !important; max-width: 52ch; font-size: 15px; }
.c2-examples { list-style: none; padding: 0; margin: 18px 0 0 !important; }
.c2-examples li { display: flex; justify-content: space-between; gap: 18px; padding: 10px 0; border-top: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.85); font-size: 14.5px; margin: 0; }
.c2-examples li b { color: #fff; font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; }
.c2-price__note { margin-top: 18px !important; font-size: 13.5px !important; color: rgba(255,255,255,.6) !important; }
.c2-price__btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.c2-price__btns .c2-btn { flex: 1 1 200px; }

/* ---------- 8. Шаги ---------- */
.c2-steps { display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: s; border-top: 1px solid var(--ink); }
.c2-step { padding: 26px 26px 0 0; }
.c2-step::before { counter-increment: s; content: "0" counter(s); font: 400 44px/1 'PT Serif Caption', serif; color: var(--brown); opacity: .35; }
.c2-step h3 { font-size: 20px !important; margin-top: 14px !important; }
.c2-step p { margin-top: 8px !important; font-size: 14.5px; }

/* ---------- 9. Конференции (вторая опора) ---------- */
.c2-conf { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; }
.c2-conf figure { margin: 0; aspect-ratio: 3 / 2; overflow: hidden; background: #1c130b; cursor: zoom-in; }
.c2-conf img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.c2-conf figure:hover img { transform: scale(1.03); }

/* ---------- 10. Отзывы ---------- */
/* Общая карусель css/review-carousel.css; лента на телефоне выходит до краёв экрана
   (--rv-bleed = боковое поле .c2-wrap). Отзывов шесть: на десктопе рядом с крупным
   показываем только два следующих (порядок ставит скрипт карусели через style="order"),
   длинные маленькие — до 6 строк. Остальные — стрелками и точками. Без скрипта видны все. */
.c2 .rv { --rv-bleed: 20px; }
@media (min-width: 1001px) {
  .c2 .rv-quote:not(.rv-quote--big)[style*="order: 3"], .c2 .rv-quote:not(.rv-quote--big)[style*="order: 4"], .c2 .rv-quote:not(.rv-quote--big)[style*="order: 5"] { display: none; }
  .c2 .rv-quote:not(.rv-quote--big) blockquote { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
}
.c2-google { display: flex; align-items: center; gap: 14px; }
.c2-google b { font: 400 40px/1 'PT Serif Caption', serif; color: var(--brown); }
.c2-google > span { font: 500 13px/1.35 'Roboto', sans-serif; color: var(--muted); }
.c2-stars { color: #d9a21b; letter-spacing: 2px; font-size: 15px; }

/* ---------- 11. FAQ ---------- */
.c2-faq { display: grid; grid-template-columns: 1fr 1.6fr; gap: 60px; }
.c2-faq details { border-top: 1px solid var(--line); }
.c2-faq details:last-child { border-bottom: 1px solid var(--line); }
.c2-faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font: 400 19px/1.35 'PT Serif Caption', serif; color: var(--ink); }
.c2-faq summary::-webkit-details-marker { display: none; }
.c2-faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font: 300 28px/1 'Roboto', sans-serif; color: var(--brown); }
.c2-faq details[open] summary::after { content: "\2013"; }
.c2-faq details p { padding: 0 0 22px; font-size: 15.5px; max-width: 68ch; }

/* ---------- 12. Финальный блок с формой ---------- */
.c2-final { position: relative; background: #1c130b; padding: 88px 0; }
.c2-final__bg { position: absolute; inset: 0; margin: 0; }
.c2-final__bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.c2-final::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(28,19,11,.95) 0%, rgba(28,19,11,.78) 45%, rgba(28,19,11,.25) 100%); }
.c2-final .c2-wrap { position: relative; z-index: 2; }
.c2-final .c2-kicker { color: #d9c2a3; }
.c2-final h2 { color: #fff !important; font-size: clamp(30px, 3.6vw, 44px) !important; line-height: 1.1; max-width: 16ch; margin-top: 16px !important; }
.c2-final p { color: rgba(255,255,255,.78) !important; margin-top: 16px !important; max-width: 46ch; font-size: 16.5px; }
.c2-final__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.c2-final__wa { font-size: 15px !important; }
.c2-final__wa a { color: #fff; border-bottom: 1px solid rgba(255,255,255,.55); text-decoration: none; }
.c2 #orderform.c2-form { display: block; width: auto; max-width: none; margin: 0; padding: 28px; background: #fff; box-shadow: 0 10px 40px rgba(0,0,0,.35); border-radius: 0; }
.c2 #orderformx { display: grid; gap: 10px; width: 100%; margin: 0; }
.c2 #orderformx input:not([type="hidden"]):not(#hp_note_2f), .c2 #orderformx textarea { display: block; width: 100%; height: auto; margin: 0; padding: 13px 14px; border: 1px solid rgba(75,30,0,.22); border-radius: 0; background: var(--paper); color: var(--ink); font: 400 15px/1.4 'Roboto', sans-serif; box-shadow: none; }
.c2 #orderformx textarea { min-height: 96px; resize: vertical; }
.c2 #orderformx input:focus, .c2 #orderformx textarea:focus { outline: 2px solid var(--brown); outline-offset: 0; background: #fff; }
.c2 #orderformx .error { border-color: #b3261e !important; background: #fdf1ef !important; }
.c2-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.c2-form__submit { width: 100%; margin-top: 4px; }
.c2-form__result { margin: 0 0 14px !important; padding: 12px 14px; font-size: 14.5px !important; line-height: 1.45 !important; }
.c2-form__result.is-ok { background: #edf6ee; color: #1f5a2b !important; border-left: 4px solid #2f6b3a; }
.c2-form__result.is-warn { background: #fdf4e6; color: #6b4200 !important; border-left: 4px solid #9a5b00; }
.c2-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- панель внизу экрана на телефоне ---------- */
.c2-sticky { display: none; }
@media (max-width: 620px) {
  .c2-sticky { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(28,19,11,.96); transform: translateY(110%); transition: transform .25s ease; }
  .c2-sticky.is-on { transform: translateY(0); }
  .c2-sticky .c2-btn { width: 100%; padding: 13px 10px; }
}

/* ---------- окно просмотра фото ---------- */
.c2-lb { position: fixed; inset: 0; z-index: 2000; background: rgba(20,12,4,.94); display: flex; align-items: center; justify-content: center; padding: 48px 64px; }
.c2-lb[hidden] { display: none !important; }
.c2-lb figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.c2-lb img { max-width: 100%; max-height: calc(100vh - 140px); object-fit: contain; display: block; box-shadow: 0 4px 24px rgba(0,0,0,.5); cursor: zoom-out; }
.c2-lb figcaption { color: #eadfce; font-size: 14px; line-height: 1.4; margin-top: 12px; text-align: center; max-width: 70ch; }
.c2-lb button { position: absolute; background: none; border: 0; color: #fff; cursor: pointer; opacity: .8; line-height: 1; padding: 8px; font-family: 'Roboto', sans-serif; }
.c2-lb button:hover, .c2-lb button:focus-visible { opacity: 1; outline: 1px solid rgba(255,255,255,.5); }
.c2-lb__close { top: 10px; right: 14px; font-size: 36px; }
.c2-lb__prev, .c2-lb__next { top: 50%; transform: translateY(-50%); font-size: 48px; }
.c2-lb__prev { left: 8px; }
.c2-lb__next { right: 8px; }

/* ---------- адаптив ---------- */
@media (max-width: 1000px) {
  .c2-hero__inner { grid-template-columns: 1fr; gap: 0; padding: 0; min-height: 0; }
  .c2-hero__pics { order: -1; height: 62vw; max-height: 480px; padding: 6px; }
  .c2-hero__text { padding: 40px 20px 44px; }
  .c2-types { grid-template-columns: repeat(2, 1fr); }
  .c2-case, .c2-split, .c2-price, .c2-faq, .c2-final__grid { grid-template-columns: 1fr; }
  .c2-split__col + .c2-split__col { border-left: 0; border-top: 1px solid var(--line); }
  .c2-steps { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
  .c2-faq, .c2-final__grid { gap: 28px; }
  .c2-case__pic { min-height: 260px; }
  .c2-about { grid-template-columns: 1fr; gap: 28px; }
  .c2-about__pic { max-width: 560px; }
  .c2-albums { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .c2-block { padding: 64px 0; }
  .c2-stats .c2-wrap { grid-template-columns: 1fr 1fr; }
  .c2-stat { padding: 20px 14px; border-left: 0; border-top: 1px solid var(--line); }
  .c2-stat:nth-child(-n+2) { border-top: 0; }
  .c2-stat:nth-child(odd) { padding-left: 0; }
  .c2-stat b { font-size: 32px; }
  .c2-stat--text b { font-size: 18px; }
  .c2-types { grid-template-columns: 1fr; }
  .c2-steps { grid-template-columns: 1fr; }
  .c2-case__text, .c2-split__col, .c2-price, .c2-quote { padding: 28px 22px; }
  .c2-hero__btns { grid-template-columns: 1fr; max-width: none; }
  .c2-examples li { flex-direction: column; gap: 2px; }
  .c2-conf { grid-template-columns: repeat(3, 1fr); gap: 3px; }
  .c2-conf figure { aspect-ratio: 1 / 1; }
  .c2-final { padding: 64px 0; }
  .c2-final::before { background: rgba(28,19,11,.86); }
  .c2 #orderform.c2-form { padding: 20px; }
  .c2-form__row { grid-template-columns: 1fr; }
  .c2-lb { padding: 48px 8px 72px; }
  .c2-lb__prev, .c2-lb__next { top: auto; bottom: 10px; transform: none; }
  /* галерея на телефоне — квадраты по 3 в ряд, как на events2 */
  .c2-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; }
  .c2-gallery .g-big { grid-column: auto; grid-row: auto; }
}
/* ---------- появление блоков при прокрутке ----------
   Классы ставит скрипт в шаблоне и только блокам ниже первого экрана; без скрипта
   всё видно. Только opacity и transform — вёрстка не сдвигается (CLS = 0). */
.c2-anim .c2-reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--c2-delay, 0ms); }
.c2-anim .c2-reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .c2 *, .c2-lb * { transition: none !important; }
  .c2-anim .c2-reveal { opacity: 1; transform: none; }
  .c2-hero__stage figure.is-flash::after { animation: none; }
}

/* индустриальная съёмка: текст + две вертикальные фотографии */
.c2-ind { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 48px; align-items: center; }
.c2-ind__text p { margin-top: 14px !important; font-size: 15.5px; }
.c2-ind__text .c2-btn { margin-top: 24px; }
.c2-ind__pics { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.c2-ind__pics figure { margin: 0; aspect-ratio: 3 / 4; overflow: hidden; background: #1c130b; }
.c2-ind__pics img { width: 100%; height: 100%; object-fit: cover; display: block; }
.c2-checks { list-style: none; padding: 0; margin: 20px 0 0 !important; }
.c2-checks li { position: relative; padding: 10px 0 10px 26px; border-top: 1px solid var(--line); color: var(--ink); font-size: 15px; margin: 0; }
.c2-checks li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 10px; height: 6px; border-left: 2px solid var(--brown); border-bottom: 2px solid var(--brown); transform: rotate(-45deg); }
@media (max-width: 1000px) {
  .c2-ind { grid-template-columns: 1fr; gap: 28px; }
}
