/* ============================================================
   «Будь собой» — рисованный акцентный слой (поверх основного синего).
   Дополняет, а не заменяет: рукопись и акварель только на эмоциональных
   секциях; шапка, кнопки, цены и формы остаются в чистом синем стиле.
   Зависит от токенов в assets/css/tokens.css (--brand, --ink, --cream…)
   и от @font-face 'Caveat' в assets/fonts/fonts.css.
   ============================================================ */

:root{
  /* Акцентный рукописный шрифт — ТОЛЬКО для вставных заголовков,
     подписей и коротких цитат. Body всегда Onest. */
  --font-script:'Caveat','Onest',cursive;

  /* Мягкие акварельные пастели (из «Варианта 2»), дозированно к синему.
     Пара «тон + чернила»: фон-клякса и читаемый цвет текста/штриха. */
  --ac-sky:#cfe2f3;      --ac-sky-ink:#3f7cab;     /* нежно-голубой (родной синему) */
  --ac-blush:#f3dadd;    --ac-blush-ink:#b06e79;   /* пыльно-розовый */
  --ac-sage:#d8e4d3;     --ac-sage-ink:#6e9066;    /* шалфей */
  --ac-sand:#efe2cd;     --ac-sand-ink:#b08a55;    /* песочный */

  /* Цвет рукописных акцентов по умолчанию — фирменный синий. */
  --script-ink:var(--brand);
}

/* ---- Рукописный акцент ---------------------------------- */
/* Короткое слово/фраза внутри обычного заголовка («С чем я помогаю»). */
/* Подпись/эпиграф рукописью под обычным текстом. */

/* Росчерк-подчёркивание под словом (рисованная волнистая линия). */

/* ---- Акварельная «клякса» под иконкой/числом --------------- */

/* ---- Скетч-иконки (рисованный line-стиль) ---------------- */
/* Все иконки наследуют цвет через currentColor и тянутся stroke-width. */
.ic{width:1em;height:1em;display:inline-block;vertical-align:-.125em;fill:none;
    stroke:currentColor;stroke-width:2.1;stroke-linecap:round;stroke-linejoin:round}

/* Декоративные элементы — прячем от скринридеров там, где они чисто украшают. */
[data-decor]{pointer-events:none}

/* ---- Доступность / сдержанность -------------------------- */
@media (prefers-reduced-motion:reduce){
  *{animation:none!important;transition:none!important}
}

/* ============================================================
   Скин секции «С чем я помогаю» (#requests) — рисованный стиль.
   Всё ограничено #requests, прочие секции не затрагиваются.
   ============================================================ */
#requests{position:relative;overflow:hidden}
#requests .wrap{position:relative;z-index:1}
/* мягкие акварельные кляксы в фоне секции */
#requests::before,#requests::after{content:"";position:absolute;z-index:0;pointer-events:none;
  border-radius:46% 54% 52% 48%/53% 47% 53% 47%;filter:blur(3px)}
#requests::before{width:280px;height:280px;background:var(--ac-sky);opacity:.26;right:-90px;top:-60px}
#requests::after{width:200px;height:200px;background:var(--ac-blush);opacity:.2;left:-80px;bottom:30px}

/* заголовок секции: веточка + акцентное слово рукописью */
#requests .section-head{text-align:center}
#requests .rq-sprig{width:34px;height:34px;color:var(--ac-sage-ink);display:block;margin:0 auto 4px}
#requests .section-head h2 .rq-accent{font-family:var(--font-script);font-weight:600;
  color:var(--brand);font-size:1.16em;line-height:.8}

/* иконка → акварельная клякса со скетч-иконкой */
#requests .card .icon{position:relative;width:88px;height:88px;display:grid;place-items:center;
  isolation:isolate;margin:0 0 16px;border:0;background:none;border-radius:0}
#requests .card .icon::before{content:"";position:absolute;inset:0;z-index:-1;opacity:.72;
  border-radius:42% 58% 53% 47%/54% 46% 54% 46%;background:var(--ac-sky)}
#requests .card .icon svg{width:46px;height:46px}
/* ротация пастелей по 6 карточкам */
#requests .card:nth-child(6n+1) .icon{color:var(--ac-sky-ink)}   #requests .card:nth-child(6n+1) .icon::before{background:var(--ac-sky)}
#requests .card:nth-child(6n+2) .icon{color:var(--ac-blush-ink)} #requests .card:nth-child(6n+2) .icon::before{background:var(--ac-blush)}
#requests .card:nth-child(6n+3) .icon{color:var(--ac-sky-ink)}   #requests .card:nth-child(6n+3) .icon::before{background:var(--ac-sky)}
#requests .card:nth-child(6n+4) .icon{color:var(--ac-sage-ink)}  #requests .card:nth-child(6n+4) .icon::before{background:var(--ac-sage)}
#requests .card:nth-child(6n+5) .icon{color:var(--ac-sand-ink)}  #requests .card:nth-child(6n+5) .icon::before{background:var(--ac-sand)}
#requests .card:nth-child(6n)   .icon{color:var(--ac-sky-ink)}   #requests .card:nth-child(6n)   .icon::before{background:var(--ac-sky)}

/* заголовок карточки — рукописью */
#requests .card h3{font-family:var(--font-script);font-weight:600;font-size:29px;
  line-height:1.04;color:var(--brand-deep)}

/* рукописная подпись-нота над кнопкой */
#requests .rq-note{font-family:var(--font-script);font-weight:600;font-size:27px;color:var(--brand);
  text-align:center;margin:40px 0 16px;display:flex;align-items:center;justify-content:center;gap:.15em}
#requests .rq-note-h{width:20px;height:20px;color:var(--ac-blush-ink)}

/* Сквозной приём: акцентное слово рукописью в заголовках секций. */
.hl-script{font-family:var(--font-script);font-weight:600;color:var(--brand);font-size:1.12em;line-height:.85}

/* «Отзывы» — лёгкие акварельные акценты (рисованный слой). */
#reviews{position:relative;overflow:hidden}
#reviews .wrap{position:relative;z-index:1}
#reviews::before,#reviews::after{content:"";position:absolute;z-index:0;pointer-events:none;border-radius:46% 54% 52% 48%/53% 47% 53% 47%;filter:blur(3px)}
#reviews::before{width:240px;height:240px;background:var(--ac-blush);opacity:.2;left:-80px;top:40px}
#reviews::after{width:210px;height:210px;background:var(--ac-sky);opacity:.22;right:-80px;bottom:60px}
#reviews .sec-head{text-align:center}
#reviews .rq-sprig{width:32px;height:32px;color:var(--ac-sage-ink);display:block;margin:0 auto 4px}

/* «Обо мне» — мягкие акварельные акценты (рисованный слой). */
#about{position:relative;overflow:hidden}
#about .wrap{position:relative;z-index:1}
#about::before,#about::after{content:"";position:absolute;z-index:0;pointer-events:none;border-radius:46% 54% 52% 48%/53% 47% 53% 47%;filter:blur(3px)}
#about::before{width:240px;height:240px;background:var(--ac-sky);opacity:.2;right:-90px;top:-50px}
#about::after{width:200px;height:200px;background:var(--ac-sage);opacity:.18;left:-70px;bottom:-50px}
#about .ab-sprig{width:30px;height:30px;color:var(--ac-sage-ink);display:block;margin:0 0 6px}

/* Декоративная веточка-волна сверху альтернативных секций (мягкий разделитель). */
.section.alt:not(.about)::before{content:"";display:block;width:120px;height:14px;margin:0 auto 26px;
  background:no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 16' fill='none' stroke='%239fc0d8' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M3 9c9-9 18 9 27 0s18-9 27 0 18 9 27 0 18-9 30 0'/%3E%3C/svg%3E");opacity:.7}

/* «Как проходит работа» — акварельная инфографика (4 шага). */
.process .proc{list-style:none;margin:40px 0 0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:24px;position:relative}
.process .proc-step{position:relative;text-align:center;padding:0 6px}
.process .proc-ic{width:86px;height:86px;border-radius:50%;display:grid;place-items:center;margin:0 auto 16px;position:relative;z-index:1}
.process .proc-ic svg{width:42px;height:42px;color:var(--ink)}
.proc-sky{background:var(--ac-sky)}.proc-blush{background:var(--ac-blush)}
.proc-sage{background:var(--ac-sage)}.proc-sand{background:var(--ac-sand)}
.process .proc-num{position:absolute;top:-2px;left:calc(50% + 22px);width:27px;height:27px;border-radius:50%;background:var(--brand);color:#fff;font-weight:700;font-size:14px;display:grid;place-items:center;z-index:2;box-shadow:0 3px 8px rgba(15,82,116,.25)}
.process .proc-step h3{margin:0 0 6px;font-size:19px;color:var(--brand-deep)}
.process .proc-step p{margin:0;color:var(--muted);font-size:15px;line-height:1.5}
@media(min-width:901px){
  .process .proc::before{content:"";position:absolute;top:43px;left:12.5%;right:12.5%;height:2px;z-index:0;
    background-image:linear-gradient(90deg,var(--ac-sky-ink) 45%,transparent 0);background-size:15px 2px;background-repeat:repeat-x;opacity:.45}
}
@media(max-width:900px){
  .process .proc{grid-template-columns:1fr;gap:28px;max-width:420px;margin-inline:auto}
  .process .proc-num{left:calc(50% + 22px)}
}
/* фикс размера веточки в шапке инфографики */
.process .sec-head{text-align:center}
.process .rq-sprig{width:32px;height:32px;color:var(--ac-sage-ink);display:block;margin:0 auto 6px}

/* Акварельный чек-лист («Что вы получите» и др.) — рисованная галочка в пастельной кляксе. */
.check-list li{padding-left:38px}
.check-list li::before{
  width:27px;height:27px;left:0;top:0;border-radius:58% 42% 57% 43%;
  background:radial-gradient(circle at 62% 38%, var(--ac-sky), #dbeaf6);
  box-shadow:0 2px 5px rgba(15,82,116,.10);
}
.check-list li::after{  /* рисованная галочка (SVG, круглые концы) */
  content:"";left:6px;top:8px;width:16px;height:13px;border:0;transform:none;
  background:no-repeat center/contain
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 13'%3E%3Cpath d='M2 7.5 L6 11 L14 2' fill='none' stroke='%230b5274' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
/* циклим пастель кляксы по позиции */
.check-list li:nth-child(4n+2)::before{background:radial-gradient(circle at 62% 38%, var(--ac-blush), #eecfd3)}
.check-list li:nth-child(4n+3)::before{background:radial-gradient(circle at 62% 38%, var(--ac-sage), #cbdcc5)}
.check-list li:nth-child(4n)::before{background:radial-gradient(circle at 62% 38%, var(--ac-sand), #e6d3b6)}

/* Акварельные акценты в статах «Почему доверяют». */
.stats .stat{position:relative;overflow:hidden}
.stats .stat::before{content:"";position:absolute;top:-26px;left:50%;transform:translateX(-50%);
  width:130px;height:130px;border-radius:58% 42% 57% 43%;filter:blur(20px);opacity:.5;z-index:0;pointer-events:none}
.stats .stat:nth-child(3n+1)::before{background:var(--ac-sky)}
.stats .stat:nth-child(3n+2)::before{background:var(--ac-blush)}
.stats .stat:nth-child(3n)::before{background:var(--ac-sage)}
.stats .stat > *{position:relative;z-index:1}

/* Лид-магнит: одноколоночный блок + кнопка, форма — в модалке. */
.lm-solo{max-width:660px;margin-inline:auto;text-align:center}
.lm-solo .lm-info{display:block}
.lm-solo .check-list{display:inline-block;text-align:left;margin:6px auto 0}
.lm-solo #lm-open{margin-top:22px}
.lm-modal{border:0;border-radius:22px;padding:0;width:min(460px,calc(100% - 32px));margin:auto;
  background:var(--surface);color:var(--ink);box-shadow:0 30px 80px rgba(15,82,116,.28)}
.lm-modal::backdrop{background:rgba(11,82,116,.40);backdrop-filter:blur(3px)}
.lm-modal[open]{animation:lm-pop .22s ease}
@keyframes lm-pop{from{opacity:0;transform:translateY(10px) scale(.98)}to{opacity:1;transform:none}}
.lm-modal-body{padding:32px 28px 26px;position:relative}
.lm-modal-body .eyebrow{margin-bottom:6px}
.lm-modal-body h3{font-size:clamp(22px,5vw,28px);color:var(--brand-deep);margin:0 0 16px;line-height:1.2}
.lm-modal-x{position:absolute;top:12px;right:12px;z-index:2;width:38px;height:38px;border:0;background:transparent;
  font-size:26px;line-height:1;color:var(--muted);cursor:pointer;border-radius:50%;transition:background .15s}
.lm-modal-x:hover{background:var(--cream);color:var(--ink)}
.lm-modal .lm-note{margin-top:12px}
@media(max-width:640px){ .lm-modal-body{padding:28px 20px 22px} }

/* Футер на мобайле — чище: без «·», больше воздуха, крупнее тап-таргеты. */
@media(max-width:600px){
  .footer-brand .f-links{gap:12px 20px;font-size:15px}
  .footer-brand .f-links span{display:none}
  .footer-brand .f-links a{padding:3px 2px}
  .footer-brand .f-name{font-size:15px}
}
