/* ============================================
   ШРИФТЫ (self-hosted, woff2, subset cyrillic+latin)
   Скачаны с Google Fonts 2026-09-18; внешний запрос к fonts.googleapis.com
   убран — иначе текст «скакал» на подмене шрифта. Критичные файлы предзагружаются
   в layouts/landing.blade.php (preload).
   ============================================ */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/cormorant-garamond-400-italic-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/cormorant-garamond-400-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/cormorant-garamond-400-normal-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/cormorant-garamond-400-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/cormorant-garamond-500-normal-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/cormorant-garamond-500-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/inter-400-normal-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/inter-400-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/inter-500-normal-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/inter-500-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/inter-600-normal-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/inter-600-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============================================
   Главная страница — Маша Медведик
   Editorial / slow-living стиль
   Единый статичный styles.css
   ============================================ */

/* --- Дизайн-токены --- */
:root {
  --c-accent: #5C6B54;
  --c-accent-dark: #4F5C48;
  --c-ink: #1A1A1A;
  --c-text: #4A4A4A;
  --c-secondary: #6B6B6B;
  --c-muted: #8A8A8A;
  --c-faint: #A0A0A0;
  --c-bg: #FDFBF7;
  --c-card: #FFFFFF;
  --c-line: #EDE9E1;
  --c-line-strong: #D4D0C8;
  --c-line-muted: #B8B4AC;
  --c-error: #A33A3A;
  --f-display: 'Cormorant Garamond', Georgia, serif;
  --f-ui: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --r-card: 24px;
  --r-block: 16px;
  --r-small: 12px;
  --r-pill: 50px;
}

/* --- Сброс стилей и базовые настройки --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #1A1A1A;
  background-color: #FDFBF7;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* --- Контейнер --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 768px) {
  .container { padding: 0 48px; }
}

/* --- Типографика: заголовки (serif) --- */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.5px;
}
h1 { font-size: clamp(36px, 6vw, 64px); letter-spacing: -1px; line-height: 1.08; }
h2 { font-size: clamp(30px, 4.5vw, 48px); letter-spacing: -0.5px; }
h3 { font-size: clamp(22px, 3vw, 30px); }

/* --- Кнопка-пилюля --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 40px;
  background-color: #5C6B54;
  color: #FDFBF7;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.5px;
  border-radius: 50px;
  border: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  box-shadow: 0 4px 20px rgba(92, 107, 84, 0.25);
}
.btn:hover { transform: scale(1.02); box-shadow: 0 8px 32px rgba(92, 107, 84, 0.35); background-color: #4F5C48; }
.btn:active { transform: scale(1.0); }

.btn--pill {
  border-radius: 200px;
  white-space: nowrap;
}

.btn--soft { background: transparent; border: 1px solid var(--c-accent); color: var(--c-accent); box-shadow: none; }
.btn--soft:hover { background: rgba(92, 107, 84, 0.07); border-color: var(--c-accent-dark); color: var(--c-accent-dark); box-shadow: none; transform: none; }

/* --- Анимация появления при скролле --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================
   ШАПКА ЛЕНДИНГА
   ============================================ */
.landing-header { position: sticky; top: 0; z-index: 80; background: rgba(253, 251, 247, 0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--c-line); }
.landing-header__inner { max-width: 1200px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; gap: 16px; }
@media (min-width: 768px) { .landing-header__inner { padding: 16px 48px; } }
.landing-header__logo { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; line-height: 1.15; text-decoration: none; flex-shrink: 0; }
.landing-header__logo-mark { font-family: var(--f-display); font-size: 30px; font-weight: 500; color: var(--c-ink); letter-spacing: 0.2px; white-space: nowrap; }
/* align-items обязателен: без него пункты меню растягиваются до высоты кнопок
   (44px) и текст ссылок садится кверху относительно кнопок. */
.landing-header__nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.landing-header__link { font-family: var(--f-ui); font-size: 14px; font-weight: 400; color: var(--c-text); text-decoration: none; letter-spacing: 0.3px; transition: color 0.25s ease; }
.landing-header__link:hover { color: var(--c-accent); }
/* «Курс вышивки» — контурная кнопка в шапке (не обычная пункт-ссылка) */
.landing-header__link--outline { padding: 9px 20px; border: 1px solid var(--c-accent); border-radius: 200px; color: var(--c-accent); font-weight: 500; transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease; }
.landing-header__link--outline:hover { background: rgba(92, 107, 84, 0.07); border-color: var(--c-accent-dark); color: var(--c-accent-dark); }
.landing-header__cta { font-family: var(--f-ui); font-size: 14px; font-weight: 500; letter-spacing: 0.3px; text-decoration: none; padding: 10px 24px; border-radius: 200px; background: var(--c-accent); color: var(--c-bg); transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease; white-space: nowrap; }
.landing-header__cta:hover { background: var(--c-accent-dark); transform: scale(1.03); box-shadow: 0 8px 24px rgba(92, 107, 84, 0.3); }
.landing-header__burger { display: none; }
@media (max-width: 860px) {
  .landing-header__inner { gap: 16px; padding: 12px 16px; }
  .landing-header__nav { display: none; }
  .landing-header__cta { display: none; }
  .landing-header__logo { min-width: 0; }
  .landing-header__logo-mark { font-size: 22px; }
  .landing-header__burger { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-left: auto; margin-right: -8px; border: 0; background: transparent; border-radius: 12px; color: var(--c-ink); cursor: pointer; transition: background-color 0.25s ease; }
  .landing-header__burger:hover { background: rgba(26, 26, 26, 0.05); }
}

/* Бургер-меню (мобилка) */
.landing-header__burger-icon { width: 26px; height: 26px; }
.landing-header__burger-icon--close { display: none; }
.landing-header--open .landing-header__burger-icon--open { display: none; }
.landing-header--open .landing-header__burger-icon--close { display: block; }
.landing-header__mobile { border-top: 1px solid var(--c-line); background: var(--c-bg); padding: 8px 16px 16px; display: flex; flex-direction: column; gap: 4px; }
/* Атрибут hidden должен побеждать display:flex, иначе меню висит всегда */
.landing-header__mobile[hidden] { display: none; }
.landing-header__mobile-link { font-family: var(--f-ui); font-size: 16px; color: var(--c-text); text-decoration: none; padding: 12px 8px; border-radius: 10px; letter-spacing: 0.3px; transition: background-color 0.25s ease, color 0.25s ease; }
.landing-header__mobile-link:hover { background: rgba(92, 107, 84, 0.08); color: var(--c-accent); }
/* «Курс вышивки» в мобильной панели — тоже контурная кнопка */
.landing-header__mobile-link--outline { margin-top: 4px; border: 1px solid var(--c-accent); border-radius: 200px; color: var(--c-accent); text-align: center; font-weight: 500; }
.landing-header__mobile-link--outline:hover { border-color: var(--c-accent-dark); color: var(--c-accent-dark); }
.landing-header__mobile-cta { margin-top: 8px; font-family: var(--f-ui); font-size: 14px; font-weight: 500; letter-spacing: 0.3px; text-decoration: none; text-align: center; padding: 12px 24px; border-radius: 200px; background: var(--c-accent); color: var(--c-bg); transition: background-color 0.3s ease; }
.landing-header__mobile-cta:hover { background: var(--c-accent-dark); }
@media (min-width: 861px) { .landing-header__mobile { display: none; } }

/* Sticky-шапка не должна накрывать заголовки секций при скролле по анкорам */
#works, #packages, #contacts, #request { scroll-margin-top: 76px; }

/* ============================================
   HERO-СЕКЦИЯ
   ============================================ */
.hero { padding: 60px 0 80px; }
@media (min-width: 768px) { .hero { padding: 80px 0 100px; } }
@media (min-width: 1024px) { .hero { padding: 100px 0 120px; } }
.hero__inner { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
@media (min-width: 768px) { .hero__inner { grid-template-columns: 1fr 1fr; gap: 64px; } }
.hero__video {
  display: block;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  margin: 0 auto;
  border-radius: 24px;
  background: #000;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.06);
}
.hero__text { display: flex; flex-direction: column; gap: 24px; max-width: 760px; }
.hero__subtitle { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-family: 'Inter', sans-serif; font-size: 14px; color: #5C6B54; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; }
.hero__subtitle-sep { color: #A0A0A0; }
.hero__title { color: #1A1A1A; }
.hero__desc { font-size: 17px; line-height: 1.8; color: #4A4A4A; max-width: 520px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 8px; }
.hero__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding-top: 20px; margin-top: 8px; border-top: 1px solid var(--c-line); }
.hero__fact { display: flex; flex-direction: column; gap: 6px; }
.hero__fact-label { font-family: var(--f-ui); font-size: 10px; font-weight: 900; letter-spacing: 3px; text-transform: uppercase; color: var(--c-accent); opacity: 0.75; }
.hero__fact-text { font-family: var(--f-display); font-size: 20px; color: var(--c-ink); line-height: 1.25; }
@media (max-width: 560px) { .hero__facts { gap: 20px; } .hero__fact-text { font-size: 17px; } }

/* ============================================
   ОБЩИЕ ПРАВИЛА СЕКЦИЙ
   ============================================ */
.section { padding: 100px 0; }
@media (max-width: 767px) { .section { padding: 72px 0; } }
.section-label { font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 500; color: #5C6B54; letter-spacing: 2.5px; text-transform: uppercase; margin-bottom: 16px; }
.section-title { margin-bottom: 48px; color: #1A1A1A; }
.section-title--center { text-align: center; }

/* ============================================
   ФУТЕР
   ============================================ */
.footer { border-top: 1px solid rgba(26, 26, 26, 0.08); padding: 32px 0; margin-top: auto; }
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
@media (min-width: 768px) { .footer__inner { flex-direction: row; justify-content: space-between; text-align: left; } }
.footer__links { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 20px; }
.footer__copy { font-family: var(--f-display); font-size: 24px; font-weight: 500; letter-spacing: 0.2px; color: var(--c-ink); }
.footer__link { font-size: 14px; color: #5C6B54; font-weight: 500; transition: opacity 0.3s ease; }
.footer__link:hover { opacity: 0.7; }

/* ============================================
   ЮРИДИЧЕСКИЕ СТРАНИЦЫ (политика, оферта)
   Документы перенесены с лендинга курса: разметка та же (h1/h2/p/.reqs),
   оформление — на наших токенах; шапка и футер — от основного сайта.
   ============================================ */
.legal { padding: 56px 0 96px; }
.legal__doc { max-width: 760px; margin: 0 auto; font-size: 16px; line-height: 1.75; color: var(--c-ink); }
.legal__doc h1 { font-family: var(--f-display); font-weight: 400; font-size: 32px; line-height: 1.25; margin-bottom: 8px; }
.legal__doc .executor { font-size: 15px; color: var(--c-secondary); margin-bottom: 32px; }
.legal__doc h2 { font-family: var(--f-display); font-weight: 500; font-size: 20px; margin: 28px 0 12px; }
.legal__doc h3 { font-family: var(--f-display); font-weight: 500; font-size: 18px; margin-bottom: 12px; }
.legal__doc p { margin-bottom: 12px; }
.legal__doc a { color: var(--c-accent); }
.legal__doc .reqs { background: var(--c-card); border: 1px solid rgba(26, 26, 26, 0.08); border-radius: var(--r-block); padding: 24px; margin-top: 32px; }
.legal__doc .reqs p { margin-bottom: 6px; }
@media (max-width: 767px) { .legal { padding: 40px 0 72px; } .legal__doc h1 { font-size: 26px; } }

/* ============================================
   ПЛАШКА КУКОВ (вид как на курсе)
   ============================================ */
.cookie-bar { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 95; display: flex; align-items: center; gap: 20px; max-width: min(920px, calc(100vw - 32px)); background: #161A16; color: rgba(253, 251, 247, 0.85); font-family: var(--f-ui); border-radius: 16px; padding: 16px 24px; box-shadow: 0 12px 40px rgba(22, 26, 22, 0.35); }
/* Атрибут hidden должен побеждать display:flex выше, иначе плашка не закрывается по «Ок» */
.cookie-bar[hidden] { display: none; }
.cookie-bar__text { margin: 0; font-size: 13.5px; line-height: 1.5; }
.cookie-bar__link { color: rgba(253, 251, 247, 0.95); text-decoration: underline; text-underline-offset: 2px; }
.cookie-bar__btn { flex-shrink: 0; background: var(--c-accent); color: var(--c-bg); font-family: var(--f-ui); font-size: 14px; font-weight: 500; border: none; cursor: pointer; padding: 10px 28px; border-radius: 200px; transition: background-color 0.3s ease; }
.cookie-bar__btn:hover { background: var(--c-accent-dark); }
@media (max-width: 640px) {
  .cookie-bar { flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px 20px; bottom: 12px; width: 90vw; max-width: 90vw; }
  .cookie-bar__btn { width: 100%; }
}

/* ============================================
   БЕГУЩАЯ СТРОКА (MARQUEE)
   ============================================ */
.marquee { overflow: hidden; background: var(--c-accent); color: var(--c-bg); padding: 18px 0; }
.marquee__track { display: flex; width: max-content; animation: marquee-scroll 70s linear infinite; }
.marquee__group { display: flex; align-items: center; gap: 20px; padding-right: 20px; flex-shrink: 0; }
.marquee__text { font-family: var(--f-ui); font-size: 13px; font-weight: 500; letter-spacing: 3px; text-transform: uppercase; white-space: nowrap; }
.marquee__dot { font-size: 13px; line-height: 1; opacity: 0.7; }
@keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* ============================================
   МОЯ РАБОТА / ПРОЦЕСС
   ============================================ */
.work { padding: 100px 0; }
@media (max-width: 767px) { .work { padding: 72px 0; } }
.work__grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 640px) { .work__grid { grid-template-columns: 1fr 1fr; gap: 24px; } }
@media (min-width: 1024px) { .work__grid { grid-template-columns: repeat(4, 1fr); } }
.work-card { display: flex; flex-direction: column; gap: 10px; padding: 32px 28px; background: var(--c-card); border-radius: var(--r-card); box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.work-card:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.07); }
.work-card__title { color: var(--c-ink); font-size: clamp(22px, 2.4vw, 28px); }
.work-card__text { font-size: 15px; line-height: 1.7; color: var(--c-secondary); }

/* ============================================
   ГАЛЕРЕЯ РАБОТ
   ============================================ */
.gallery { padding: 100px 0; }
@media (max-width: 767px) { .gallery { padding: 72px 0; } }
.gallery__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 640px) { .gallery__grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (min-width: 1024px) { .gallery__grid { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.gallery__item { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--r-block); background: var(--c-line); transition: transform 0.4s ease; cursor: zoom-in; }
.gallery__item:hover { transform: scale(1.02); }
.gallery__grid--folded [data-gallery-after-fold] { display: none; }
.gallery__more { display: block; margin: 32px auto 0; }
.gallery__more[hidden] { display: none; }

/* ============================================
   ВЕЩИ С ДУШОЙ (МАНИФЕСТ)
   ============================================ */
.manifest { padding: 100px 0; background: rgba(92, 107, 84, 0.05); }
@media (max-width: 767px) { .manifest { padding: 72px 0; } }
.manifest__inner { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
@media (min-width: 768px) { .manifest__inner { grid-template-columns: 1fr 1fr; gap: 64px; } }
.manifest__content { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.manifest__text { font-family: var(--f-display); font-size: clamp(20px, 2.6vw, 26px); line-height: 1.6; color: var(--c-text); max-width: 480px; }
.manifest__media { border-radius: var(--r-card); overflow: hidden; box-shadow: 0 16px 48px rgba(0, 0, 0, 0.06); }
.manifest__media img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================
   КАК ЗАКАЗАТЬ? (ПАКЕТЫ)
   ============================================ */
.packages { padding: 100px 0; }
@media (max-width: 767px) { .packages { padding: 72px 0; } }
.packages__top { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; margin-bottom: 56px; }
@media (min-width: 900px) { .packages__top { grid-template-columns: 0.85fr 1.15fr; gap: 56px; } }
/* На узких экранах текст идёт первым, портрет — под ним (порядок, а не дубль текста) */
@media (max-width: 899px) { .packages__head { order: 1; } .packages__photo-wrap { order: 2; } }
.packages__photo-wrap { margin: 0; }
.packages__photo { display: block; width: 100%; max-width: 420px; margin: 0 auto; aspect-ratio: 2 / 3; object-fit: cover; border-radius: var(--r-card); box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08); }
.packages__head { display: flex; flex-direction: column; gap: 22px; }
.packages__intro { font-size: 17px; line-height: 1.8; color: var(--c-text); }
.packages__intro p + p { margin-top: 12px; }
.packages__cards { display: grid; grid-template-columns: 1fr; gap: 28px; max-width: 860px; margin: 0 auto; }
@media (min-width: 640px) { .packages__cards { grid-template-columns: 1fr 1fr; gap: 32px; } }
.package-card { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 40px 32px; background: var(--c-card); border-radius: var(--r-card); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.package-card:hover { transform: translateY(-4px); box-shadow: 0 24px 72px rgba(0, 0, 0, 0.08); }
/* «Рекомендуемый» оффер — как выделенная карточка тарифа на лендинге курса */
.package-card--featured { background: linear-gradient(135deg, rgba(92, 107, 84, 0.05), rgba(92, 107, 84, 0.01)); border: 1.5px solid rgba(92, 107, 84, 0.22); }
.package-card__badge { position: absolute; top: -12px; right: 28px; background: var(--c-accent); color: var(--c-bg); font-family: var(--f-ui); font-size: 12px; font-weight: 500; letter-spacing: 0.5px; padding: 6px 16px; border-radius: var(--r-pill); }
.package-card__name { font-family: var(--f-ui); font-size: 13px; font-weight: 500; color: var(--c-muted); letter-spacing: 2px; text-transform: uppercase; }
.package-card__price { font-family: var(--f-display); font-size: 42px; color: var(--c-ink); line-height: 1.2; }
.package-card__desc { font-size: 14px; line-height: 1.7; color: var(--c-secondary); }
.package-card__features { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.package-card__feature { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--c-text); }
.package-card__feature-icon { flex-shrink: 0; width: 20px; height: 20px; margin-top: 1px; }
.package-card__feature-icon svg { width: 20px; height: 20px; stroke: var(--c-accent); stroke-width: 2; fill: none; }
.package-card__actions { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.package-card .btn { width: 100%; }
.package-card__link { font-family: var(--f-ui); font-size: 14px; font-weight: 500; color: var(--c-accent); text-align: center; transition: color 0.3s ease; }
.package-card__link:hover { color: var(--c-accent-dark); }

/* ============================================
   ЧАСТЫЕ ВОПРОСЫ (FAQ)
   ============================================ */
.faq { padding: 100px 0; }
@media (max-width: 767px) { .faq { padding: 72px 0; } }
.faq__list { display: flex; flex-direction: column; gap: 14px; max-width: 880px; margin: 0 auto; }
.faq-item { background: var(--c-card); border-radius: var(--r-block); box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03); overflow: hidden; transition: box-shadow 0.3s ease; }
.faq-item:hover { box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06); }
.faq-item__button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 28px; text-align: left; font-family: var(--f-display); font-size: 19px; font-weight: 500; color: var(--c-ink); line-height: 1.4; }
.faq-item__arrow { flex-shrink: 0; width: 20px; height: 20px; transition: transform 0.3s ease; }
.faq-item__arrow svg { width: 20px; height: 20px; stroke: var(--c-muted); stroke-width: 2; fill: none; }
.faq-item--open .faq-item__arrow { transform: rotate(180deg); }
.faq-item__answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-item__answer-inner { padding: 0 28px 22px; font-size: 15px; line-height: 1.8; color: var(--c-secondary); }
.faq-item--open .faq-item__answer { max-height: 900px; }
@media (max-width: 560px) { .faq-item__button { padding: 18px 20px; font-size: 17px; } .faq-item__answer-inner { padding: 0 20px 18px; } }


/* ============================================
   УТИЛИТЫ И АДАПТИВНОСТЬ
   ============================================ */
.hide-mobile { display: none; }
@media (min-width: 768px) { .hide-mobile { display: block; } }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #FDFBF7; }
::-webkit-scrollbar-thumb { background: #D4D0C8; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #B8B4AC; }
::selection { background: rgba(92, 107, 84, 0.15); color: #1A1A1A; }

/* ============================================
   МОДАЛКА ЗАЯВКИ
   ============================================ */
.request-modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 24px; }
.request-modal[hidden] { display: none; }
/* Атрибут hidden должен побеждать display:flex (иначе скрытое поле всё равно видно) */
.request-modal__messenger-field[hidden] { display: none; }
.request-modal__backdrop { position: absolute; inset: 0; background: rgba(26, 26, 26, 0.55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.request-modal__card { position: relative; width: 100%; max-width: 480px; max-height: 90vh; overflow-y: auto; background: var(--c-card); border-radius: var(--r-card); padding: 40px 32px 32px; box-shadow: 0 32px 80px rgba(0, 0, 0, 0.25); }
.request-modal__close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; color: var(--c-text); transition: background-color 0.25s ease; }
.request-modal__close:hover { background: rgba(26, 26, 26, 0.06); }
.request-modal__close svg { width: 20px; height: 20px; }
.request-modal__title { margin-bottom: 24px; }
.request-modal__form { display: flex; flex-direction: column; gap: 18px; }
.request-modal__field { display: flex; flex-direction: column; gap: 8px; }
.request-modal__field label { font-family: var(--f-ui); font-size: 13px; font-weight: 500; letter-spacing: 0.4px; color: var(--c-text); }
.request-modal__field em { color: var(--c-muted); font-style: normal; font-weight: 400; }
.request-modal__label { font-family: var(--f-ui); font-size: 13px; font-weight: 500; letter-spacing: 0.4px; color: var(--c-text); }
.request-modal__hint { font-family: var(--f-ui); font-size: 12.5px; line-height: 1.5; color: var(--c-muted); }
.request-modal__messengers { display: flex; flex-wrap: wrap; gap: 10px; }
.request-modal__messenger { position: relative; display: inline-flex; align-items: center; padding: 10px 18px; border: 1px solid var(--c-line-strong); border-radius: var(--r-pill); background: var(--c-card); font-family: var(--f-ui); font-size: 14px; color: var(--c-text); cursor: pointer; transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease; }
/* Сам чекбокс не показываем — выбранный мессенджер читается по подсветке плашки.
   Поле оставляем в разметке (доступность: скринридер и клавиатура работают). */
.request-modal__messenger input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.request-modal__messenger:hover { border-color: var(--c-accent); }
.request-modal__messenger.is-active,
.request-modal__messenger:has(input:checked) { border-color: var(--c-accent); background: rgba(92, 107, 84, 0.08); color: var(--c-ink); }
.request-modal__messenger:has(input:focus-visible) { outline: 2px solid var(--c-accent); outline-offset: 2px; }
.request-modal__messenger-fields { display: flex; flex-direction: column; gap: 12px; }
.request-modal__messenger-field { display: flex; flex-direction: column; gap: 6px; }
.request-modal__messenger-field label { font-family: var(--f-ui); font-size: 13px; font-weight: 500; color: var(--c-text); }
.request-modal__messenger-field input { width: 100%; font-family: var(--f-ui); font-size: 15px; color: var(--c-ink); background: var(--c-bg); border: 1px solid var(--c-line); border-radius: var(--r-small); padding: 12px 14px; }
.request-modal__messenger-field input::placeholder { color: var(--c-faint); }
.request-modal__messenger-field input:focus { outline: none; border-color: var(--c-accent); box-shadow: 0 0 0 3px rgba(92, 107, 84, 0.15); }

/* ============================================
   КУРС ВЫШИВКИ (анонс + ссылка на лендинг курса)
   ============================================ */
.course-teaser { padding: 96px 0; background: var(--c-card); border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); }
@media (max-width: 767px) { .course-teaser { padding: 64px 0; } }
.course-teaser__inner { display: flex; flex-direction: column; align-items: center; gap: 20px; max-width: 780px; margin: 0 auto; text-align: center; }
.course-teaser__label { font-family: var(--f-ui); font-size: 11px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; color: var(--c-accent); }
.course-teaser__title { font-family: var(--f-display); font-size: 40px; font-weight: 500; line-height: 1.2; color: var(--c-ink); }
@media (max-width: 767px) { .course-teaser__title { font-size: 30px; } }
.course-teaser__text { font-size: 17px; line-height: 1.8; color: var(--c-text); }
.course-teaser__cta { margin-top: 6px; }
.request-modal__field input,
.request-modal__field textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--c-line-strong);
  border-radius: var(--r-small);
  font-family: var(--f-ui);
  font-size: 15px;
  color: var(--c-ink);
  background: var(--c-bg);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.request-modal__field input:focus,
.request-modal__field textarea:focus { outline: none; border-color: var(--c-accent); box-shadow: 0 0 0 3px rgba(92, 107, 84, 0.15); }
.request-modal__field textarea { resize: vertical; min-height: 96px; }
.request-modal__error { font-family: var(--f-ui); font-size: 13px; color: var(--c-error); }
.request-modal__consent { display: flex; flex-direction: column; gap: 8px; font-size: 13px; line-height: 1.5; color: var(--c-text); }
.request-modal__checkbox { display: inline-flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.request-modal__checkbox input { margin-top: 3px; accent-color: var(--c-accent); }
.request-modal__consent-link { color: var(--c-accent); font-weight: 500; text-decoration: underline; }
.request-modal__consent-link:hover { color: var(--c-accent-dark); }
.request-modal__actions { display: flex; gap: 12px; margin-top: 4px; }
.request-modal__actions .btn { flex: 1; padding: 14px 24px; }
.request-modal__honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.request-modal__success { text-align: center; padding: 12px 0; }
.request-modal__success-text { font-size: 16px; line-height: 1.7; color: var(--c-text); margin-bottom: 24px; }