﻿/* ============================================================
   Шаблон детского квеста — Kids Quest
   Приключенческий мультяшный стиль: пергамент, зубчатые
   переходы между секциями, пунктиры, cartoon-тени.
   ============================================================ */

.kids-quest-page {
    --bg:         #f7edcf;   /* светлый пергамент */
    --bg-s:       #e8d49a;   /* золотистый пергамент — оставлен только для Hero */
    --bg-card:    #fdf8ec;   /* почти белый крем для карточек */
    --accent:     #c05838;   /* приглушённый терракот вместо кричащего оранжевого */
    --gold:       #c8922a;   /* пыльное золото */
    --text:       #3b1f0c;   /* тёмный эспрессо */
    --muted:      #6b4225;   /* средне-коричневый */
    --border:     #c9a462;   /* тёплый загар */
    --teal:       #4a8b82;   /* бирюзовый акцент (секция гарантии) */
    --shadow-cartoon: 4px 5px 0 rgba(58, 32, 12, 0.22);
    /* Полупрозрачное перекрытие hero-картинки: переопределяется в каждой палитре */
    --hero-ov-a:  rgba(232, 212, 154, 0.86);
    --hero-ov-b:  rgba(192, 88, 56, 0.04);

    background-color: var(--bg);
    color: var(--text);
    font-family: var(--sans);
}


/* ============================================================
   Утилиты
   ============================================================ */

.ksq-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.ksq-section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 56px;
}

.ksq-section-header h2 {
    font-family: var(--sans);
    font-size: clamp(1.75rem, 3vw, 2.4rem);
    font-weight: 800;
    color: var(--text);
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

/* Пунктирный подчёркиватель вместо сплошной черты */
.ksq-section-header h2::after {
    content: '';
    display: block;
    width: 64px;
    height: 4px;
    background: repeating-linear-gradient(
        90deg,
        var(--accent) 0, var(--accent) 8px,
        transparent 8px, transparent 14px
    );
    margin: 14px auto 0;
}

.ksq-section-header p {
    font-size: 1.05rem;
    color: var(--muted);
    line-height: 1.7;
}

.ksq-section-header--left {
    text-align: left;
    max-width: none;
    margin-bottom: 30px;
}

.ksq-section-header--left h2::after {
    margin: 14px 0 0;
}


/* ============================================================
   Кнопки — более округлые, «штамп»-стиль
   ============================================================ */

.ksq-btn {
    display: inline-block;
    padding: 14px 36px;
    background-color: var(--accent);
    color: #fff;
    font-family: var(--sans);
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 50px;
    border: 3px solid var(--accent);
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s, transform 0.15s, box-shadow 0.15s;
    text-decoration: none;
    box-shadow: var(--shadow-cartoon);
}

.ksq-btn:hover {
    background-color: #a84a2c;
    border-color: #a84a2c;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 6px 7px 0 rgba(58, 32, 12, 0.22);
}

.ksq-btn--outline {
    background-color: transparent;
    color: var(--accent);
    box-shadow: none;
}

.ksq-btn--outline:hover {
    background-color: var(--accent);
    color: #fff;
    box-shadow: var(--shadow-cartoon);
}

.ksq-btn--full {
    display: block;
    width: 100%;
    text-align: center;
}


/* ============================================================
   Рваный бумажный переход между секциями

   Каждая секция перекрывает предыдущую на 35px (margin-top).
   clip-path создаёт нерегулярный верхний край — «разрыв бумаги».
   В прорезях виден фон предыдущей секции, что даёт эффект
   настоящего оторванного листа, лежащего поверх другого.
   ============================================================ */

.ksq-hook,
.ksq-format,
.ksq-about,
.ksq-features,
.ksq-tasks,
.ksq-gallery,
.ksq-organizer,
.ksq-reviews,
.ksq-pricing,
.ksq-faq {
    position: relative;
    margin-top: -35px;
}

/* Уникальный «разрыв» для каждой секции */
.ksq-format   { clip-path: polygon(0 32px,2% 12px,4% 28px,6% 8px,8% 24px,10% 4px,12% 22px,14% 14px,16% 30px,18% 6px,20% 24px,22% 10px,24% 28px,26% 2px,28% 20px,30% 14px,32% 32px,34% 4px,36% 22px,38% 10px,40% 28px,42% 6px,44% 22px,46% 14px,48% 32px,50% 4px,52% 20px,54% 12px,56% 28px,58% 6px,60% 24px,62% 16px,64% 30px,66% 4px,68% 22px,70% 10px,72% 28px,74% 6px,76% 22px,78% 16px,80% 32px,82% 4px,84% 22px,86% 10px,88% 28px,90% 6px,92% 24px,94% 12px,96% 30px,98% 8px,100% 32px,100% 100%,0 100%); }
.ksq-about    { clip-path: polygon(0 28px,2% 8px,4% 26px,6% 12px,8% 30px,10% 4px,12% 22px,14% 16px,16% 32px,18% 6px,20% 24px,22% 10px,24% 28px,26% 4px,28% 20px,30% 12px,32% 28px,34% 2px,36% 22px,38% 14px,40% 30px,42% 6px,44% 24px,46% 8px,48% 28px,50% 4px,52% 20px,54% 12px,56% 30px,58% 6px,60% 22px,62% 14px,64% 28px,66% 4px,68% 22px,70% 10px,72% 26px,74% 2px,76% 20px,78% 14px,80% 30px,82% 6px,84% 22px,86% 10px,88% 28px,90% 4px,92% 22px,94% 14px,96% 30px,98% 8px,100% 26px,100% 100%,0 100%); }
.ksq-features { clip-path: polygon(0 30px,2% 10px,4% 26px,6% 4px,8% 24px,10% 14px,12% 32px,14% 6px,16% 22px,18% 12px,20% 28px,22% 2px,24% 20px,26% 14px,28% 30px,30% 6px,32% 24px,34% 10px,36% 28px,38% 4px,40% 20px,42% 14px,44% 32px,46% 6px,48% 22px,50% 8px,52% 26px,54% 4px,56% 20px,58% 14px,60% 30px,62% 6px,64% 22px,66% 12px,68% 28px,70% 4px,72% 22px,74% 14px,76% 30px,78% 6px,80% 24px,82% 10px,84% 28px,86% 2px,88% 22px,90% 14px,92% 28px,94% 6px,96% 24px,98% 10px,100% 28px,100% 100%,0 100%); }
.ksq-tasks    { clip-path: polygon(0 26px,2% 6px,4% 28px,6% 10px,8% 24px,10% 2px,12% 20px,14% 14px,16% 30px,18% 8px,20% 26px,22% 4px,24% 22px,26% 12px,28% 30px,30% 4px,32% 22px,34% 14px,36% 28px,38% 6px,40% 22px,42% 10px,44% 28px,46% 2px,48% 20px,50% 14px,52% 30px,54% 6px,56% 24px,58% 10px,60% 28px,62% 4px,64% 22px,66% 14px,68% 28px,70% 6px,72% 24px,74% 10px,76% 28px,78% 2px,80% 20px,82% 12px,84% 28px,86% 6px,88% 24px,90% 14px,92% 28px,94% 4px,96% 22px,98% 10px,100% 26px,100% 100%,0 100%); }
.ksq-gallery  { clip-path: polygon(0 28px,2% 10px,4% 32px,6% 6px,8% 22px,10% 14px,12% 30px,14% 4px,16% 22px,18% 12px,20% 28px,22% 6px,24% 24px,26% 14px,28% 32px,30% 4px,32% 22px,34% 10px,36% 30px,38% 6px,40% 24px,42% 14px,44% 28px,46% 2px,48% 20px,50% 12px,52% 28px,54% 6px,56% 22px,58% 14px,60% 32px,62% 4px,64% 22px,66% 10px,68% 28px,70% 6px,72% 24px,74% 14px,76% 32px,78% 4px,80% 22px,82% 10px,84% 28px,86% 6px,88% 22px,90% 14px,92% 30px,94% 4px,96% 22px,98% 12px,100% 30px,100% 100%,0 100%); }
.ksq-organizer{ clip-path: polygon(0 30px,2% 12px,4% 28px,6% 4px,8% 22px,10% 14px,12% 30px,14% 6px,16% 24px,18% 8px,20% 28px,22% 4px,24% 22px,26% 12px,28% 28px,30% 2px,32% 22px,34% 14px,36% 30px,38% 6px,40% 22px,42% 10px,44% 28px,46% 4px,48% 20px,50% 14px,52% 30px,54% 6px,56% 22px,58% 10px,60% 28px,62% 4px,64% 22px,66% 14px,68% 32px,70% 6px,72% 22px,74% 10px,76% 28px,78% 4px,80% 22px,82% 14px,84% 28px,86% 6px,88% 24px,90% 10px,92% 28px,94% 4px,96% 22px,98% 12px,100% 28px,100% 100%,0 100%); }
.ksq-reviews  { clip-path: polygon(0 24px,2% 8px,4% 26px,6% 12px,8% 28px,10% 4px,12% 22px,14% 14px,16% 30px,18% 6px,20% 22px,22% 10px,24% 26px,26% 4px,28% 22px,30% 14px,32% 28px,34% 2px,36% 22px,38% 10px,40% 28px,42% 6px,44% 22px,46% 14px,48% 28px,50% 4px,52% 20px,54% 12px,56% 28px,58% 6px,60% 24px,62% 14px,64% 28px,66% 4px,68% 22px,70% 10px,72% 26px,74% 4px,76% 22px,78% 14px,80% 28px,82% 6px,84% 22px,86% 8px,88% 26px,90% 4px,92% 22px,94% 12px,96% 28px,98% 6px,100% 24px,100% 100%,0 100%); }
.ksq-pricing  { clip-path: polygon(0 32px,2% 10px,4% 26px,6% 6px,8% 22px,10% 14px,12% 28px,14% 4px,16% 22px,18% 12px,20% 30px,22% 6px,24% 22px,26% 10px,28% 26px,30% 4px,32% 22px,34% 14px,36% 28px,38% 6px,40% 22px,42% 10px,44% 28px,46% 4px,48% 22px,50% 14px,52% 30px,54% 6px,56% 22px,58% 10px,60% 28px,62% 4px,64% 22px,66% 14px,68% 28px,70% 2px,72% 20px,74% 12px,76% 28px,78% 6px,80% 22px,82% 14px,84% 28px,86% 4px,88% 22px,90% 10px,92% 26px,94% 6px,96% 22px,98% 14px,100% 30px,100% 100%,0 100%); }
.ksq-faq      { clip-path: polygon(0 28px,2% 10px,4% 24px,6% 6px,8% 22px,10% 14px,12% 28px,14% 4px,16% 22px,18% 10px,20% 28px,22% 6px,24% 22px,26% 14px,28% 28px,30% 2px,32% 20px,34% 12px,36% 28px,38% 6px,40% 22px,42% 14px,44% 28px,46% 4px,48% 22px,50% 8px,52% 26px,54% 6px,56% 22px,58% 14px,60% 28px,62% 4px,64% 22px,66% 10px,68% 26px,70% 6px,72% 22px,74% 14px,76% 28px,78% 4px,80% 22px,82% 10px,84% 26px,86% 6px,88% 22px,90% 14px,92% 28px,94% 4px,96% 22px,98% 10px,100% 26px,100% 100%,0 100%); }


/* ============================================================
   ФОНОВЫЙ ДЕКОР: точечная «пергаментная» текстура + угловые
   SVG-доодлы (компас и метка сокровища). Лежат позади контента
   секции (z-index: -1 внутри собственного relative-контекста
   секции), не мешают тексту и кликам.
   ============================================================ */

.ksq-format::before,
.ksq-about::before,
.ksq-features::before,
.ksq-tasks::before,
.ksq-organizer::before,
.ksq-pricing::before,
.ksq-gallery::before,
.ksq-faq::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image: radial-gradient(circle, rgba(192, 88, 56, 0.07) 1.4px, transparent 1.6px);
    background-size: 28px 28px;
}

.ksq-format::after,
.ksq-about::after,
.ksq-features::after,
.ksq-tasks::after,
.ksq-organizer::after,
.ksq-pricing::after,
.ksq-gallery::after,
.ksq-faq::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-repeat: no-repeat, no-repeat, no-repeat;
}

/* Декоративные SVG-мотивы: компас, метка сокровища, подарок, карта, маршрут с крестиком,
   сундук, монета, лупа, бутылка с запиской, пример "2+2=4", ножницы.
   В каждой секции — три разных мотива на разной высоте блока, чтобы создать эффект случайного разброса. */
.ksq-format::after {
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 160'%3E%3Cg transform='rotate(10 80 80)'%3E%3Ccircle cx='80' cy='80' r='58' fill='none' stroke='rgba(192,88,56,0.35)' stroke-width='2' stroke-dasharray='3 7'/%3E%3Ccircle cx='80' cy='80' r='46' fill='none' stroke='rgba(192,88,56,0.22)' stroke-width='1'/%3E%3Cline x1='80' y1='14' x2='80' y2='146' stroke='rgba(192,88,56,0.3)' stroke-width='1.4'/%3E%3Cline x1='14' y1='80' x2='146' y2='80' stroke='rgba(192,88,56,0.3)' stroke-width='1.4'/%3E%3Cline x1='38' y1='38' x2='48' y2='48' stroke='rgba(192,88,56,0.22)' stroke-width='1.2'/%3E%3Cline x1='122' y1='38' x2='112' y2='48' stroke='rgba(192,88,56,0.22)' stroke-width='1.2'/%3E%3Cline x1='38' y1='122' x2='48' y2='112' stroke='rgba(192,88,56,0.22)' stroke-width='1.2'/%3E%3Cline x1='122' y1='122' x2='112' y2='112' stroke='rgba(192,88,56,0.22)' stroke-width='1.2'/%3E%3Cpath d='M80,32 L94,80 L80,128 L66,80 Z' fill='rgba(192,88,56,0.32)'/%3E%3Cpath d='M80,48 L88,80 L80,112 L72,80 Z' fill='rgba(200,146,42,0.3)'/%3E%3Ccircle cx='80' cy='80' r='6' fill='rgba(200,146,42,0.55)'/%3E%3Ccircle cx='80' cy='28' r='2.4' fill='rgba(192,88,56,0.4)'/%3E%3Ccircle cx='80' cy='132' r='2.4' fill='rgba(192,88,56,0.4)'/%3E%3Ccircle cx='28' cy='80' r='2.4' fill='rgba(192,88,56,0.4)'/%3E%3Ccircle cx='132' cy='80' r='2.4' fill='rgba(192,88,56,0.4)'/%3E%3C/g%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 130 110'%3E%3Cg transform='rotate(-7 65 55)'%3E%3Crect x='15' y='50' width='100' height='45' rx='6' fill='none' stroke='rgba(192,88,56,0.36)' stroke-width='3'/%3E%3Cpath d='M15,50 C15,28 35,16 65,16 C95,16 115,28 115,50' fill='none' stroke='rgba(192,88,56,0.36)' stroke-width='3'/%3E%3Cline x1='15' y1='68' x2='115' y2='68' stroke='rgba(192,88,56,0.3)' stroke-width='2'/%3E%3Cline x1='35' y1='50' x2='35' y2='95' stroke='rgba(192,88,56,0.18)' stroke-width='1.2'/%3E%3Cline x1='65' y1='50' x2='65' y2='95' stroke='rgba(192,88,56,0.18)' stroke-width='1.2'/%3E%3Cline x1='95' y1='50' x2='95' y2='95' stroke='rgba(192,88,56,0.18)' stroke-width='1.2'/%3E%3Ccircle cx='22' cy='58' r='2.2' fill='rgba(200,146,42,0.45)'/%3E%3Ccircle cx='108' cy='58' r='2.2' fill='rgba(200,146,42,0.45)'/%3E%3Ccircle cx='22' cy='88' r='2.2' fill='rgba(200,146,42,0.45)'/%3E%3Ccircle cx='108' cy='88' r='2.2' fill='rgba(200,146,42,0.45)'/%3E%3Crect x='55' y='58' width='20' height='14' rx='3' fill='rgba(200,146,42,0.45)'/%3E%3Ccircle cx='65' cy='65' r='2' fill='rgba(192,88,56,0.5)'/%3E%3C/g%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 110'%3E%3Cg transform='rotate(6 70 55)'%3E%3Cpath d='M14,18 L47,8 L80,18 L126,6 L126,92 L80,102 L47,92 L14,102 Z' fill='rgba(192,88,56,0.12)' stroke='rgba(192,88,56,0.34)' stroke-width='2.5' stroke-linejoin='round'/%3E%3Cline x1='47' y1='8' x2='47' y2='92' stroke='rgba(192,88,56,0.28)' stroke-width='1.6' stroke-dasharray='2 5'/%3E%3Cline x1='80' y1='18' x2='80' y2='102' stroke='rgba(192,88,56,0.28)' stroke-width='1.6' stroke-dasharray='2 5'/%3E%3Cpath d='M24,70 C40,50 55,80 70,55 C85,35 100,60 116,40' fill='none' stroke='rgba(192,88,56,0.32)' stroke-width='2' stroke-dasharray='3 6'/%3E%3Cpath d='M104,32 L118,46 M118,32 L104,46' stroke='rgba(192,88,56,0.42)' stroke-width='4' stroke-linecap='round'/%3E%3Cellipse cx='30' cy='34' rx='10' ry='6' fill='rgba(192,88,56,0.12)' stroke='rgba(192,88,56,0.28)' stroke-width='1.4'/%3E%3Cpath d='M60,72 L64,80 L60,88 L56,80 Z' fill='rgba(200,146,42,0.4)'/%3E%3Ccircle cx='24' cy='70' r='2.4' fill='rgba(192,88,56,0.35)'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 140px 140px, 110px 110px, 120px 120px;
    background-position: right 4% top 6%, left 4% top 44%, right 5% top 82%;
}
.ksq-about::after {
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 110'%3E%3Cg transform='rotate(6 70 55)'%3E%3Cpath d='M14,18 L47,8 L80,18 L126,6 L126,92 L80,102 L47,92 L14,102 Z' fill='rgba(192,88,56,0.12)' stroke='rgba(192,88,56,0.34)' stroke-width='2.5' stroke-linejoin='round'/%3E%3Cline x1='47' y1='8' x2='47' y2='92' stroke='rgba(192,88,56,0.28)' stroke-width='1.6' stroke-dasharray='2 5'/%3E%3Cline x1='80' y1='18' x2='80' y2='102' stroke='rgba(192,88,56,0.28)' stroke-width='1.6' stroke-dasharray='2 5'/%3E%3Cpath d='M24,70 C40,50 55,80 70,55 C85,35 100,60 116,40' fill='none' stroke='rgba(192,88,56,0.32)' stroke-width='2' stroke-dasharray='3 6'/%3E%3Cpath d='M104,32 L118,46 M118,32 L104,46' stroke='rgba(192,88,56,0.42)' stroke-width='4' stroke-linecap='round'/%3E%3Cellipse cx='30' cy='34' rx='10' ry='6' fill='rgba(192,88,56,0.12)' stroke='rgba(192,88,56,0.28)' stroke-width='1.4'/%3E%3Cpath d='M60,72 L64,80 L60,88 L56,80 Z' fill='rgba(200,146,42,0.4)'/%3E%3Ccircle cx='24' cy='70' r='2.4' fill='rgba(192,88,56,0.35)'/%3E%3C/g%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg transform='rotate(12 50 50)'%3E%3Ccircle cx='50' cy='50' r='38' fill='none' stroke='rgba(192,88,56,0.36)' stroke-width='3' stroke-dasharray='5 4'/%3E%3Ccircle cx='50' cy='50' r='30' fill='none' stroke='rgba(192,88,56,0.18)' stroke-width='1'/%3E%3Ccircle cx='50' cy='50' r='26' fill='none' stroke='rgba(200,146,42,0.4)' stroke-width='2'/%3E%3Cpath d='M50,36 L54,46 L65,47 L57,55 L59,66 L50,60 L41,66 L43,55 L35,47 L46,46 Z' fill='rgba(200,146,42,0.4)'/%3E%3Cline x1='50' y1='8' x2='50' y2='16' stroke='rgba(192,88,56,0.3)' stroke-width='2'/%3E%3Cline x1='50' y1='84' x2='50' y2='92' stroke='rgba(192,88,56,0.3)' stroke-width='2'/%3E%3Cline x1='8' y1='50' x2='16' y2='50' stroke='rgba(192,88,56,0.3)' stroke-width='2'/%3E%3Cline x1='84' y1='50' x2='92' y2='50' stroke='rgba(192,88,56,0.3)' stroke-width='2'/%3E%3C/g%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg transform='rotate(15 50 50)'%3E%3Ccircle cx='25' cy='70' r='9' fill='none' stroke='rgba(192,88,56,0.4)' stroke-width='3'/%3E%3Ccircle cx='25' cy='30' r='9' fill='none' stroke='rgba(192,88,56,0.4)' stroke-width='3'/%3E%3Cpath d='M32,64 L82,20' stroke='rgba(192,88,56,0.42)' stroke-width='3.5' stroke-linecap='round'/%3E%3Cpath d='M32,36 L82,80' stroke='rgba(192,88,56,0.42)' stroke-width='3.5' stroke-linecap='round'/%3E%3Ccircle cx='47' cy='50' r='3.4' fill='rgba(200,146,42,0.5)'/%3E%3Cline x1='70' y1='30' x2='76' y2='24' stroke='rgba(192,88,56,0.3)' stroke-width='1.4'/%3E%3Cline x1='70' y1='70' x2='76' y2='76' stroke='rgba(192,88,56,0.3)' stroke-width='1.4'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 150px 150px, 100px 100px, 90px 90px;
    background-position: left 4% top 8%, right 5% top 46%, left 4% top 84%;
}
.ksq-features::after {
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 100'%3E%3Cg transform='rotate(-10 70 50)'%3E%3Ccircle cx='16' cy='50' r='6' fill='rgba(200,146,42,0.45)'/%3E%3Ccircle cx='16' cy='50' r='10' fill='none' stroke='rgba(200,146,42,0.25)' stroke-width='1.4'/%3E%3Cpath d='M16,50 C36,20 50,80 70,46 C88,16 100,70 122,40' fill='none' stroke='rgba(192,88,56,0.36)' stroke-width='2.4' stroke-dasharray='2 7' stroke-linecap='round'/%3E%3Ccircle cx='44' cy='52' r='2.6' fill='rgba(192,88,56,0.3)'/%3E%3Ccircle cx='78' cy='42' r='2.6' fill='rgba(192,88,56,0.3)'/%3E%3Ccircle cx='100' cy='58' r='2.6' fill='rgba(192,88,56,0.3)'/%3E%3Cpath d='M112,30 L128,46 M128,30 L112,46' stroke='rgba(192,88,56,0.45)' stroke-width='4.5' stroke-linecap='round'/%3E%3C/g%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 90 130'%3E%3Cg transform='rotate(8 45 65)'%3E%3Cpath d='M35,10 L55,10 L55,28 C68,38 70,55 70,75 C70,100 60,118 45,118 C30,118 20,100 20,75 C20,55 22,38 35,28 Z' fill='none' stroke='rgba(192,88,56,0.36)' stroke-width='3'/%3E%3Cline x1='35' y1='10' x2='35' y2='4' stroke='rgba(192,88,56,0.36)' stroke-width='3'/%3E%3Cline x1='55' y1='10' x2='55' y2='4' stroke='rgba(192,88,56,0.36)' stroke-width='3'/%3E%3Cline x1='35' y1='16' x2='55' y2='16' stroke='rgba(192,88,56,0.22)' stroke-width='1.4'/%3E%3Cline x1='35' y1='22' x2='55' y2='22' stroke='rgba(192,88,56,0.22)' stroke-width='1.4'/%3E%3Crect x='32' y='55' width='26' height='18' rx='2' fill='rgba(243,238,225,0.55)' stroke='rgba(192,88,56,0.3)' stroke-width='1.4' transform='rotate(-6 45 64)'/%3E%3Cline x1='37' y1='60' x2='53' y2='62' stroke='rgba(192,88,56,0.3)' stroke-width='1' transform='rotate(-6 45 64)'/%3E%3Cline x1='37' y1='65' x2='49' y2='66' stroke='rgba(192,88,56,0.3)' stroke-width='1' transform='rotate(-6 45 64)'/%3E%3Ccircle cx='30' cy='95' r='2' fill='rgba(192,88,56,0.25)'/%3E%3Ccircle cx='52' cy='102' r='1.6' fill='rgba(192,88,56,0.22)'/%3E%3Cpath d='M14,108 C24,102 34,114 45,108 C56,102 66,114 76,108' fill='none' stroke='rgba(192,88,56,0.24)' stroke-width='1.6'/%3E%3C/g%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg transform='rotate(12 50 50)'%3E%3Ccircle cx='50' cy='50' r='38' fill='none' stroke='rgba(192,88,56,0.36)' stroke-width='3' stroke-dasharray='5 4'/%3E%3Ccircle cx='50' cy='50' r='30' fill='none' stroke='rgba(192,88,56,0.18)' stroke-width='1'/%3E%3Ccircle cx='50' cy='50' r='26' fill='none' stroke='rgba(200,146,42,0.4)' stroke-width='2'/%3E%3Cpath d='M50,36 L54,46 L65,47 L57,55 L59,66 L50,60 L41,66 L43,55 L35,47 L46,46 Z' fill='rgba(200,146,42,0.4)'/%3E%3Cline x1='50' y1='8' x2='50' y2='16' stroke='rgba(192,88,56,0.3)' stroke-width='2'/%3E%3Cline x1='50' y1='84' x2='50' y2='92' stroke='rgba(192,88,56,0.3)' stroke-width='2'/%3E%3Cline x1='8' y1='50' x2='16' y2='50' stroke='rgba(192,88,56,0.3)' stroke-width='2'/%3E%3Cline x1='84' y1='50' x2='92' y2='50' stroke='rgba(192,88,56,0.3)' stroke-width='2'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 140px 140px, 110px 110px, 100px 100px;
    background-position: right 5% top 10%, left 4% top 45%, right 4% top 80%;
}
.ksq-tasks::after {
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cg transform='rotate(-8 60 60)'%3E%3Crect x='28' y='52' width='64' height='46' rx='4' fill='none' stroke='rgba(192,88,56,0.34)' stroke-width='3'/%3E%3Crect x='22' y='40' width='76' height='16' rx='3' fill='rgba(192,88,56,0.18)' stroke='rgba(192,88,56,0.34)' stroke-width='3'/%3E%3Cline x1='60' y1='40' x2='60' y2='98' stroke='rgba(192,88,56,0.34)' stroke-width='3'/%3E%3Cline x1='28' y1='74' x2='92' y2='74' stroke='rgba(192,88,56,0.22)' stroke-width='1.4' stroke-dasharray='2 4'/%3E%3Ccircle cx='38' cy='86' r='2' fill='rgba(192,88,56,0.3)'/%3E%3Ccircle cx='82' cy='86' r='2' fill='rgba(192,88,56,0.3)'/%3E%3Ccircle cx='38' cy='62' r='2' fill='rgba(192,88,56,0.3)'/%3E%3Ccircle cx='82' cy='62' r='2' fill='rgba(192,88,56,0.3)'/%3E%3Cpath d='M60,40 C46,40 42,24 54,22 C62,21 60,34 60,40 C60,34 58,21 66,22 C78,24 74,40 60,40 Z' fill='rgba(200,146,42,0.4)'/%3E%3Ccircle cx='60' cy='38' r='4' fill='rgba(200,146,42,0.5)'/%3E%3C/g%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg transform='rotate(-20 50 50)'%3E%3Ccircle cx='42' cy='42' r='26' fill='none' stroke='rgba(192,88,56,0.38)' stroke-width='4'/%3E%3Ccircle cx='42' cy='42' r='19' fill='none' stroke='rgba(192,88,56,0.18)' stroke-width='1.2'/%3E%3Cpath d='M30,28 A18,18 0 0 1 50,32' fill='none' stroke='rgba(243,238,225,0.55)' stroke-width='3' stroke-linecap='round'/%3E%3Cline x1='61' y1='61' x2='84' y2='84' stroke='rgba(192,88,56,0.42)' stroke-width='6' stroke-linecap='round'/%3E%3Cline x1='66' y1='66' x2='70' y2='70' stroke='rgba(243,238,225,0.4)' stroke-width='2' stroke-linecap='round'/%3E%3Cline x1='73' y1='73' x2='77' y2='77' stroke='rgba(243,238,225,0.4)' stroke-width='2' stroke-linecap='round'/%3E%3C/g%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 160'%3E%3Cg transform='rotate(10 80 80)'%3E%3Ccircle cx='80' cy='80' r='58' fill='none' stroke='rgba(192,88,56,0.35)' stroke-width='2' stroke-dasharray='3 7'/%3E%3Ccircle cx='80' cy='80' r='46' fill='none' stroke='rgba(192,88,56,0.22)' stroke-width='1'/%3E%3Cline x1='80' y1='14' x2='80' y2='146' stroke='rgba(192,88,56,0.3)' stroke-width='1.4'/%3E%3Cline x1='14' y1='80' x2='146' y2='80' stroke='rgba(192,88,56,0.3)' stroke-width='1.4'/%3E%3Cline x1='38' y1='38' x2='48' y2='48' stroke='rgba(192,88,56,0.22)' stroke-width='1.2'/%3E%3Cline x1='122' y1='38' x2='112' y2='48' stroke='rgba(192,88,56,0.22)' stroke-width='1.2'/%3E%3Cline x1='38' y1='122' x2='48' y2='112' stroke='rgba(192,88,56,0.22)' stroke-width='1.2'/%3E%3Cline x1='122' y1='122' x2='112' y2='112' stroke='rgba(192,88,56,0.22)' stroke-width='1.2'/%3E%3Cpath d='M80,32 L94,80 L80,128 L66,80 Z' fill='rgba(192,88,56,0.32)'/%3E%3Cpath d='M80,48 L88,80 L80,112 L72,80 Z' fill='rgba(200,146,42,0.3)'/%3E%3Ccircle cx='80' cy='80' r='6' fill='rgba(200,146,42,0.55)'/%3E%3Ccircle cx='80' cy='28' r='2.4' fill='rgba(192,88,56,0.4)'/%3E%3Ccircle cx='80' cy='132' r='2.4' fill='rgba(192,88,56,0.4)'/%3E%3Ccircle cx='28' cy='80' r='2.4' fill='rgba(192,88,56,0.4)'/%3E%3Ccircle cx='132' cy='80' r='2.4' fill='rgba(192,88,56,0.4)'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 120px 120px, 90px 90px, 110px 110px;
    background-position: right 4% top 8%, left 5% top 48%, right 4% top 85%;
}
.ksq-organizer::after {
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg transform='rotate(-20 50 50)'%3E%3Ccircle cx='42' cy='42' r='26' fill='none' stroke='rgba(192,88,56,0.38)' stroke-width='4'/%3E%3Ccircle cx='42' cy='42' r='19' fill='none' stroke='rgba(192,88,56,0.18)' stroke-width='1.2'/%3E%3Cpath d='M30,28 A18,18 0 0 1 50,32' fill='none' stroke='rgba(243,238,225,0.55)' stroke-width='3' stroke-linecap='round'/%3E%3Cline x1='61' y1='61' x2='84' y2='84' stroke='rgba(192,88,56,0.42)' stroke-width='6' stroke-linecap='round'/%3E%3Cline x1='66' y1='66' x2='70' y2='70' stroke='rgba(243,238,225,0.4)' stroke-width='2' stroke-linecap='round'/%3E%3Cline x1='73' y1='73' x2='77' y2='77' stroke='rgba(243,238,225,0.4)' stroke-width='2' stroke-linecap='round'/%3E%3C/g%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg transform='rotate(15 50 50)'%3E%3Ccircle cx='25' cy='70' r='9' fill='none' stroke='rgba(192,88,56,0.4)' stroke-width='3'/%3E%3Ccircle cx='25' cy='30' r='9' fill='none' stroke='rgba(192,88,56,0.4)' stroke-width='3'/%3E%3Cpath d='M32,64 L82,20' stroke='rgba(192,88,56,0.42)' stroke-width='3.5' stroke-linecap='round'/%3E%3Cpath d='M32,36 L82,80' stroke='rgba(192,88,56,0.42)' stroke-width='3.5' stroke-linecap='round'/%3E%3Ccircle cx='47' cy='50' r='3.4' fill='rgba(200,146,42,0.5)'/%3E%3Cline x1='70' y1='30' x2='76' y2='24' stroke='rgba(192,88,56,0.3)' stroke-width='1.4'/%3E%3Cline x1='70' y1='70' x2='76' y2='76' stroke='rgba(192,88,56,0.3)' stroke-width='1.4'/%3E%3C/g%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 110'%3E%3Cg transform='rotate(6 70 55)'%3E%3Cpath d='M14,18 L47,8 L80,18 L126,6 L126,92 L80,102 L47,92 L14,102 Z' fill='rgba(192,88,56,0.12)' stroke='rgba(192,88,56,0.34)' stroke-width='2.5' stroke-linejoin='round'/%3E%3Cline x1='47' y1='8' x2='47' y2='92' stroke='rgba(192,88,56,0.28)' stroke-width='1.6' stroke-dasharray='2 5'/%3E%3Cline x1='80' y1='18' x2='80' y2='102' stroke='rgba(192,88,56,0.28)' stroke-width='1.6' stroke-dasharray='2 5'/%3E%3Cpath d='M24,70 C40,50 55,80 70,55 C85,35 100,60 116,40' fill='none' stroke='rgba(192,88,56,0.32)' stroke-width='2' stroke-dasharray='3 6'/%3E%3Cpath d='M104,32 L118,46 M118,32 L104,46' stroke='rgba(192,88,56,0.42)' stroke-width='4' stroke-linecap='round'/%3E%3Cellipse cx='30' cy='34' rx='10' ry='6' fill='rgba(192,88,56,0.12)' stroke='rgba(192,88,56,0.28)' stroke-width='1.4'/%3E%3Cpath d='M60,72 L64,80 L60,88 L56,80 Z' fill='rgba(200,146,42,0.4)'/%3E%3Ccircle cx='24' cy='70' r='2.4' fill='rgba(192,88,56,0.35)'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 130px 130px, 100px 100px, 140px 140px;
    background-position: left 4% top 12%, right 4% top 44%, left 4% top 82%;
}
.ksq-pricing::after {
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 130 110'%3E%3Cg transform='rotate(-7 65 55)'%3E%3Crect x='15' y='50' width='100' height='45' rx='6' fill='none' stroke='rgba(192,88,56,0.36)' stroke-width='3'/%3E%3Cpath d='M15,50 C15,28 35,16 65,16 C95,16 115,28 115,50' fill='none' stroke='rgba(192,88,56,0.36)' stroke-width='3'/%3E%3Cline x1='15' y1='68' x2='115' y2='68' stroke='rgba(192,88,56,0.3)' stroke-width='2'/%3E%3Cline x1='35' y1='50' x2='35' y2='95' stroke='rgba(192,88,56,0.18)' stroke-width='1.2'/%3E%3Cline x1='65' y1='50' x2='65' y2='95' stroke='rgba(192,88,56,0.18)' stroke-width='1.2'/%3E%3Cline x1='95' y1='50' x2='95' y2='95' stroke='rgba(192,88,56,0.18)' stroke-width='1.2'/%3E%3Ccircle cx='22' cy='58' r='2.2' fill='rgba(200,146,42,0.45)'/%3E%3Ccircle cx='108' cy='58' r='2.2' fill='rgba(200,146,42,0.45)'/%3E%3Ccircle cx='22' cy='88' r='2.2' fill='rgba(200,146,42,0.45)'/%3E%3Ccircle cx='108' cy='88' r='2.2' fill='rgba(200,146,42,0.45)'/%3E%3Crect x='55' y='58' width='20' height='14' rx='3' fill='rgba(200,146,42,0.45)'/%3E%3Ccircle cx='65' cy='65' r='2' fill='rgba(192,88,56,0.5)'/%3E%3C/g%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg transform='rotate(15 50 50)'%3E%3Ccircle cx='25' cy='70' r='9' fill='none' stroke='rgba(192,88,56,0.4)' stroke-width='3'/%3E%3Ccircle cx='25' cy='30' r='9' fill='none' stroke='rgba(192,88,56,0.4)' stroke-width='3'/%3E%3Cpath d='M32,64 L82,20' stroke='rgba(192,88,56,0.42)' stroke-width='3.5' stroke-linecap='round'/%3E%3Cpath d='M32,36 L82,80' stroke='rgba(192,88,56,0.42)' stroke-width='3.5' stroke-linecap='round'/%3E%3Ccircle cx='47' cy='50' r='3.4' fill='rgba(200,146,42,0.5)'/%3E%3Cline x1='70' y1='30' x2='76' y2='24' stroke='rgba(192,88,56,0.3)' stroke-width='1.4'/%3E%3Cline x1='70' y1='70' x2='76' y2='76' stroke='rgba(192,88,56,0.3)' stroke-width='1.4'/%3E%3C/g%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 100'%3E%3Cg transform='rotate(-10 70 50)'%3E%3Ccircle cx='16' cy='50' r='6' fill='rgba(200,146,42,0.45)'/%3E%3Ccircle cx='16' cy='50' r='10' fill='none' stroke='rgba(200,146,42,0.25)' stroke-width='1.4'/%3E%3Cpath d='M16,50 C36,20 50,80 70,46 C88,16 100,70 122,40' fill='none' stroke='rgba(192,88,56,0.36)' stroke-width='2.4' stroke-dasharray='2 7' stroke-linecap='round'/%3E%3Ccircle cx='44' cy='52' r='2.6' fill='rgba(192,88,56,0.3)'/%3E%3Ccircle cx='78' cy='42' r='2.6' fill='rgba(192,88,56,0.3)'/%3E%3Ccircle cx='100' cy='58' r='2.6' fill='rgba(192,88,56,0.3)'/%3E%3Cpath d='M112,30 L128,46 M128,30 L112,46' stroke='rgba(192,88,56,0.45)' stroke-width='4.5' stroke-linecap='round'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 120px 120px, 90px 90px, 130px 130px;
    background-position: right 4% top 9%, left 4% top 46%, right 4% top 84%;
}
.ksq-gallery::after {
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg transform='rotate(12 50 50)'%3E%3Ccircle cx='50' cy='50' r='38' fill='none' stroke='rgba(192,88,56,0.36)' stroke-width='3' stroke-dasharray='5 4'/%3E%3Ccircle cx='50' cy='50' r='30' fill='none' stroke='rgba(192,88,56,0.18)' stroke-width='1'/%3E%3Ccircle cx='50' cy='50' r='26' fill='none' stroke='rgba(200,146,42,0.4)' stroke-width='2'/%3E%3Cpath d='M50,36 L54,46 L65,47 L57,55 L59,66 L50,60 L41,66 L43,55 L35,47 L46,46 Z' fill='rgba(200,146,42,0.4)'/%3E%3Cline x1='50' y1='8' x2='50' y2='16' stroke='rgba(192,88,56,0.3)' stroke-width='2'/%3E%3Cline x1='50' y1='84' x2='50' y2='92' stroke='rgba(192,88,56,0.3)' stroke-width='2'/%3E%3Cline x1='8' y1='50' x2='16' y2='50' stroke='rgba(192,88,56,0.3)' stroke-width='2'/%3E%3Cline x1='84' y1='50' x2='92' y2='50' stroke='rgba(192,88,56,0.3)' stroke-width='2'/%3E%3C/g%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 90 130'%3E%3Cg transform='rotate(8 45 65)'%3E%3Cpath d='M35,10 L55,10 L55,28 C68,38 70,55 70,75 C70,100 60,118 45,118 C30,118 20,100 20,75 C20,55 22,38 35,28 Z' fill='none' stroke='rgba(192,88,56,0.36)' stroke-width='3'/%3E%3Cline x1='35' y1='10' x2='35' y2='4' stroke='rgba(192,88,56,0.36)' stroke-width='3'/%3E%3Cline x1='55' y1='10' x2='55' y2='4' stroke='rgba(192,88,56,0.36)' stroke-width='3'/%3E%3Cline x1='35' y1='16' x2='55' y2='16' stroke='rgba(192,88,56,0.22)' stroke-width='1.4'/%3E%3Cline x1='35' y1='22' x2='55' y2='22' stroke='rgba(192,88,56,0.22)' stroke-width='1.4'/%3E%3Crect x='32' y='55' width='26' height='18' rx='2' fill='rgba(243,238,225,0.55)' stroke='rgba(192,88,56,0.3)' stroke-width='1.4' transform='rotate(-6 45 64)'/%3E%3Cline x1='37' y1='60' x2='53' y2='62' stroke='rgba(192,88,56,0.3)' stroke-width='1' transform='rotate(-6 45 64)'/%3E%3Cline x1='37' y1='65' x2='49' y2='66' stroke='rgba(192,88,56,0.3)' stroke-width='1' transform='rotate(-6 45 64)'/%3E%3Ccircle cx='30' cy='95' r='2' fill='rgba(192,88,56,0.25)'/%3E%3Ccircle cx='52' cy='102' r='1.6' fill='rgba(192,88,56,0.22)'/%3E%3Cpath d='M14,108 C24,102 34,114 45,108 C56,102 66,114 76,108' fill='none' stroke='rgba(192,88,56,0.24)' stroke-width='1.6'/%3E%3C/g%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cg transform='rotate(-8 60 60)'%3E%3Crect x='28' y='52' width='64' height='46' rx='4' fill='none' stroke='rgba(192,88,56,0.34)' stroke-width='3'/%3E%3Crect x='22' y='40' width='76' height='16' rx='3' fill='rgba(192,88,56,0.18)' stroke='rgba(192,88,56,0.34)' stroke-width='3'/%3E%3Cline x1='60' y1='40' x2='60' y2='98' stroke='rgba(192,88,56,0.34)' stroke-width='3'/%3E%3Cline x1='28' y1='74' x2='92' y2='74' stroke='rgba(192,88,56,0.22)' stroke-width='1.4' stroke-dasharray='2 4'/%3E%3Ccircle cx='38' cy='86' r='2' fill='rgba(192,88,56,0.3)'/%3E%3Ccircle cx='82' cy='86' r='2' fill='rgba(192,88,56,0.3)'/%3E%3Ccircle cx='38' cy='62' r='2' fill='rgba(192,88,56,0.3)'/%3E%3Ccircle cx='82' cy='62' r='2' fill='rgba(192,88,56,0.3)'/%3E%3Cpath d='M60,40 C46,40 42,24 54,22 C62,21 60,34 60,40 C60,34 58,21 66,22 C78,24 74,40 60,40 Z' fill='rgba(200,146,42,0.4)'/%3E%3Ccircle cx='60' cy='38' r='4' fill='rgba(200,146,42,0.5)'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 100px 100px, 110px 110px, 110px 110px;
    background-position: left 4% top 10%, right 5% top 45%, left 5% top 80%;
}
.ksq-faq::after {
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg transform='rotate(-20 50 50)'%3E%3Ccircle cx='42' cy='42' r='26' fill='none' stroke='rgba(192,88,56,0.38)' stroke-width='4'/%3E%3Ccircle cx='42' cy='42' r='19' fill='none' stroke='rgba(192,88,56,0.18)' stroke-width='1.2'/%3E%3Cpath d='M30,28 A18,18 0 0 1 50,32' fill='none' stroke='rgba(243,238,225,0.55)' stroke-width='3' stroke-linecap='round'/%3E%3Cline x1='61' y1='61' x2='84' y2='84' stroke='rgba(192,88,56,0.42)' stroke-width='6' stroke-linecap='round'/%3E%3Cline x1='66' y1='66' x2='70' y2='70' stroke='rgba(243,238,225,0.4)' stroke-width='2' stroke-linecap='round'/%3E%3Cline x1='73' y1='73' x2='77' y2='77' stroke='rgba(243,238,225,0.4)' stroke-width='2' stroke-linecap='round'/%3E%3C/g%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 160'%3E%3Cg transform='rotate(10 80 80)'%3E%3Ccircle cx='80' cy='80' r='58' fill='none' stroke='rgba(192,88,56,0.35)' stroke-width='2' stroke-dasharray='3 7'/%3E%3Ccircle cx='80' cy='80' r='46' fill='none' stroke='rgba(192,88,56,0.22)' stroke-width='1'/%3E%3Cline x1='80' y1='14' x2='80' y2='146' stroke='rgba(192,88,56,0.3)' stroke-width='1.4'/%3E%3Cline x1='14' y1='80' x2='146' y2='80' stroke='rgba(192,88,56,0.3)' stroke-width='1.4'/%3E%3Cline x1='38' y1='38' x2='48' y2='48' stroke='rgba(192,88,56,0.22)' stroke-width='1.2'/%3E%3Cline x1='122' y1='38' x2='112' y2='48' stroke='rgba(192,88,56,0.22)' stroke-width='1.2'/%3E%3Cline x1='38' y1='122' x2='48' y2='112' stroke='rgba(192,88,56,0.22)' stroke-width='1.2'/%3E%3Cline x1='122' y1='122' x2='112' y2='112' stroke='rgba(192,88,56,0.22)' stroke-width='1.2'/%3E%3Cpath d='M80,32 L94,80 L80,128 L66,80 Z' fill='rgba(192,88,56,0.32)'/%3E%3Cpath d='M80,48 L88,80 L80,112 L72,80 Z' fill='rgba(200,146,42,0.3)'/%3E%3Ccircle cx='80' cy='80' r='6' fill='rgba(200,146,42,0.55)'/%3E%3Ccircle cx='80' cy='28' r='2.4' fill='rgba(192,88,56,0.4)'/%3E%3Ccircle cx='80' cy='132' r='2.4' fill='rgba(192,88,56,0.4)'/%3E%3Ccircle cx='28' cy='80' r='2.4' fill='rgba(192,88,56,0.4)'/%3E%3Ccircle cx='132' cy='80' r='2.4' fill='rgba(192,88,56,0.4)'/%3E%3C/g%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 130 110'%3E%3Cg transform='rotate(-7 65 55)'%3E%3Crect x='15' y='50' width='100' height='45' rx='6' fill='none' stroke='rgba(192,88,56,0.36)' stroke-width='3'/%3E%3Cpath d='M15,50 C15,28 35,16 65,16 C95,16 115,28 115,50' fill='none' stroke='rgba(192,88,56,0.36)' stroke-width='3'/%3E%3Cline x1='15' y1='68' x2='115' y2='68' stroke='rgba(192,88,56,0.3)' stroke-width='2'/%3E%3Cline x1='35' y1='50' x2='35' y2='95' stroke='rgba(192,88,56,0.18)' stroke-width='1.2'/%3E%3Cline x1='65' y1='50' x2='65' y2='95' stroke='rgba(192,88,56,0.18)' stroke-width='1.2'/%3E%3Cline x1='95' y1='50' x2='95' y2='95' stroke='rgba(192,88,56,0.18)' stroke-width='1.2'/%3E%3Ccircle cx='22' cy='58' r='2.2' fill='rgba(200,146,42,0.45)'/%3E%3Ccircle cx='108' cy='58' r='2.2' fill='rgba(200,146,42,0.45)'/%3E%3Ccircle cx='22' cy='88' r='2.2' fill='rgba(200,146,42,0.45)'/%3E%3Ccircle cx='108' cy='88' r='2.2' fill='rgba(200,146,42,0.45)'/%3E%3Crect x='55' y='58' width='20' height='14' rx='3' fill='rgba(200,146,42,0.45)'/%3E%3Ccircle cx='65' cy='65' r='2' fill='rgba(192,88,56,0.5)'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 100px 100px, 120px 120px, 110px 110px;
    background-position: right 4% top 14%, left 4% top 47%, right 4% top 83%;
}


/* ============================================================
   HERO
   ============================================================ */

.ksq-hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    background-color: var(--bg-s);
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.ksq-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--hero-ov-a) 45%, var(--hero-ov-b) 100%);
}

.ksq-hero .ksq-container {
    position: relative;
    z-index: 1;
}

.ksq-hero__content {
    max-width: 700px;
    padding: 80px 0;
}

/* Тег: пунктирная рамка, немного наклонён */
.ksq-hero__tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    border: 2px dashed var(--accent);
    padding: 5px 16px;
    border-radius: 6px;
    margin-bottom: 22px;
    transform: rotate(-1.5deg);
    background: rgba(192, 88, 56, 0.06);
}

.ksq-hero__title {
    font-family: var(--sans);
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 800;
    color: var(--text);
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.ksq-hero__subtitle {
    font-size: 1.1rem;
    color: var(--muted);
    line-height: 1.7;
    max-width: 540px;
    margin-bottom: 30px;
}

.ksq-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    list-style: none;
    margin-bottom: 35px;
    padding: 0;
}

.ksq-hero__meta li {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(255,255,255,0.5);
    border: 1px dashed var(--border);
    padding: 5px 12px;
    border-radius: 20px;
}

.ksq-hero__meta li span {
    font-size: 1rem;
}

.ksq-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}


/* ============================================================
   FORMAT: Что такое домашний квест
   ============================================================ */

.ksq-format {
    padding: 125px 0 90px;
    background-color: var(--bg);
}

.ksq-format__inner {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

/* Если задано фото комплекта — двухколоночная сетка (картинка крупнее текста) */
.ksq-format__grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 60px;
    align-items: center;
    position: relative;
}

/* Пунктирная линия-разделитель между текстом и картинкой */
.ksq-format__grid::before {
    content: '';
    position: absolute;
    top: 6px;
    bottom: 6px;
    left: 43%;
    border-left: 3px dashed var(--border);
    opacity: 0.5;
    pointer-events: none;
}

.ksq-format__grid .ksq-section-header {
    text-align: left;
    max-width: none;
    margin-bottom: 0;
}

.ksq-format__grid .ksq-section-header h2::after {
    margin: 14px 0 0;
}

.ksq-format__image img {
    width: 100%;
    border-radius: 16px;
    transform: rotate(1.5deg);
    transition: transform 0.3s;
}

.ksq-format__image img:hover {
    transform: rotate(0deg);
}

.ksq-format__note {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 32px;
    padding: 14px 28px;
    background-color: var(--bg-card);
    border: 3px dashed var(--accent);
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--accent);
    box-shadow: var(--shadow-cartoon);
}

.ksq-format__note-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}


/* ============================================================
   ABOUT: Кому подходит квест
   ============================================================ */

.ksq-about {
    padding: 125px 0 90px;
    background-color: var(--bg-s);
}

.ksq-about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
}

/* Пунктирная линия-разделитель между фото и текстом */
.ksq-about__grid::before {
    content: '';
    position: absolute;
    top: 6px;
    bottom: 6px;
    left: 50%;
    border-left: 3px dashed var(--border);
    opacity: 0.5;
    pointer-events: none;
}

.ksq-about__grid--no-image {
    grid-template-columns: 1fr;
    max-width: 820px;
    margin: 0 auto;
}

.ksq-about__media img {
    width: 100%;
    border-radius: 8px;
    border: 3px dashed var(--border);
    box-shadow: var(--shadow-cartoon);
}

.ksq-about__list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.ksq-about__list li {
    font-size: 0.95rem;
    color: var(--muted);
    padding: 12px 0 12px 32px;
    border-bottom: 2px dotted var(--border);
    position: relative;
    line-height: 1.5;
}

.ksq-about__list li:first-child {
    border-top: 2px dotted var(--border);
}

/* Звёздный буллит */
.ksq-about__list li::before {
    content: '★';
    color: var(--gold);
    font-size: 0.95rem;
    position: absolute;
    left: 0;
    top: 12px;
    line-height: 1.5;
}


/* ============================================================
   FEATURES: Фишки квеста
   ============================================================ */

.ksq-features {
    padding: 125px 0 90px;
    background-color: var(--bg);
}

.ksq-features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.ksq-feature-card {
    background-color: var(--bg-card);
    border: 3px dashed var(--border);
    border-radius: 16px;
    padding: 40px 28px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    box-shadow: var(--shadow-cartoon);
}

.ksq-feature-card:hover {
    transform: translateY(-5px) rotate(1deg);
    border-color: var(--accent);
    box-shadow: 6px 8px 0 rgba(58, 32, 12, 0.22);
}

.ksq-feature-card__icon {
    font-size: 2.8rem;
    margin-bottom: 20px;
    display: block;
    transform: rotate(-5deg);
    transition: transform 0.2s;
}

.ksq-feature-card:hover .ksq-feature-card__icon {
    transform: rotate(5deg) scale(1.1);
}

.ksq-feature-card h3 {
    font-family: var(--sans);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 12px;
}

.ksq-feature-card p {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.65;
}


/* ============================================================
   TASKS: Задания квеста
   ============================================================ */

.ksq-tasks {
    padding: 125px 0 90px;
    background-color: var(--bg-s);
}

.ksq-tasks__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.ksq-task-card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background-color: var(--bg-card);
    border: 2px dashed var(--border);
    border-radius: 14px;
    padding: 22px 24px;
    transition: border-color 0.2s, transform 0.2s;
    box-shadow: 3px 3px 0 rgba(58, 32, 12, 0.12);
}

.ksq-task-card:hover {
    border-color: var(--accent);
    transform: translateX(3px);
}

/* Номер-значок — круглый, акцентный, немного повёрнут */
.ksq-task-card__num {
    font-family: var(--sans);
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
    background: var(--accent);
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transform: rotate(-8deg);
    box-shadow: 2px 3px 0 rgba(58, 32, 12, 0.25);
    line-height: 1;
}

.ksq-task-card__body h3 {
    font-family: var(--sans);
    font-size: 1rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 6px;
}

.ksq-task-card__body p {
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.6;
}


/* ============================================================
   ORGANIZER: Для организатора
   ============================================================ */

.ksq-organizer {
    padding: 125px 0 90px;
    background-color: var(--bg);
}

.ksq-organizer__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    position: relative;
}

/* Пунктирная линия-разделитель между колонками советов */
.ksq-organizer__grid::before {
    content: '';
    position: absolute;
    top: 6px;
    bottom: 6px;
    left: 50%;
    border-left: 3px dashed var(--border);
    opacity: 0.5;
    pointer-events: none;
}

.ksq-organizer__col-title {
    font-family: var(--sans);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 3px dotted var(--border);
}

.ksq-organizer__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ksq-organizer__list li {
    font-size: 0.95rem;
    color: var(--muted);
    padding: 11px 0 11px 28px;
    border-bottom: 1px dotted var(--border);
    position: relative;
    line-height: 1.5;
}

.ksq-organizer__list li::before {
    content: '●';
    color: var(--gold);
    font-size: 0.6rem;
    position: absolute;
    left: 4px;
    top: 14px;
}

.ksq-organizer__list--needs li::before {
    content: '◆';
    color: var(--teal);
    font-size: 0.55rem;
}

/* ============================================================
   Заглушки изображений
   ============================================================ */

.ksq-img-placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
    border: 3px dashed var(--border);
    border-radius: 14px;
    background-color: var(--bg-card);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.ksq-img-placeholder--wide {
    aspect-ratio: 16 / 5;
}

.ksq-img-placeholder__icon {
    font-size: 2.8rem;
    opacity: 0.35;
    display: block;
}

.ksq-img-placeholder__text {
    font-size: 0.85rem;
    color: var(--muted);
    opacity: 0.55;
    text-align: center;
    font-family: var(--sans);
}

/* О секции с текстом */
.ksq-about__lead { font-size: 1rem; color: var(--muted); line-height: 1.75; margin-bottom: 24px; }
.ksq-about__content--solo { max-width: 720px; margin: 0 auto; }
.ksq-format__text { font-size: 1rem; color: var(--muted); line-height: 1.75; margin-bottom: 24px; }

/* Универсальный баннер-изображение внутри секции */
.ksq-section-banner {
    margin-bottom: 32px;
}
.ksq-section-banner--mt {
    margin-bottom: 0;
    margin-top: 40px;
}
.ksq-section-banner img {
    width: 100%;
    max-height: 320px;
    object-fit: cover;
    border-radius: 12px;
    border: 3px solid var(--border);
    box-shadow: var(--shadow-cartoon);
}

/* Задания со sidebar-изображением */
.ksq-tasks__body--with-image {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 48px;
    align-items: start;
    position: relative;
}

/* Пунктирная линия-разделитель между заданиями и картинками */
.ksq-tasks__body--with-image::before {
    content: '';
    position: absolute;
    top: 6px;
    bottom: 6px;
    left: 60%;
    border-left: 3px dashed var(--border);
    opacity: 0.5;
    pointer-events: none;
}
.ksq-tasks__side-image {
    display: flex;
    flex-direction: column;
    gap: 32px;
    position: sticky;
    top: 100px;
}
/* PNG-иллюстрации без фона — рамка/тень-карточка смотрится плохо,
   поэтому вместо border+shadow используем drop-shadow по силуэту картинки */
.ksq-tasks__side-image img {
    width: 100%;
    filter: drop-shadow(6px 10px 14px rgba(0, 0, 0, 0.22));
}
.ksq-tasks__side-image img:nth-child(1) { transform: rotate(-2.5deg); }
.ksq-tasks__side-image img:nth-child(2) { transform: rotate(2deg); }
.ksq-tasks__side-image img:nth-child(3) { transform: rotate(-1.5deg); }
.ksq-tasks__side-image img:only-child   { transform: rotate(-1.5deg); max-width: 80%; margin: 0 auto; }


/* ============================================================
   REVIEWS: Отзывы покупателей
   ============================================================ */

.ksq-reviews {
    padding: 125px 0 90px;
    background-color: var(--bg-s);
}

/* Слайдер отзывов */
.ksq-reviews__slider {
    margin-top: 40px;
}

.ksq-reviews__body {
    position: relative;
}

.ksq-reviews__viewport {
    overflow: hidden;
}

.ksq-reviews__track {
    display: flex;
    gap: 20px;
    padding: 12px 0 20px;
}

/* Кнопки prev/next */
.ksq-reviews__prev,
.ksq-reviews__next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 2px dashed var(--border);
    background: var(--bg-card);
    color: var(--text);
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-cartoon);
    opacity: 0;
    transition: opacity 0.2s, background 0.2s;
    z-index: 2;
    padding: 0;
}
.ksq-reviews__prev { left: 6px; }
.ksq-reviews__next { right: 6px; }
.ksq-reviews__slider:hover .ksq-reviews__prev,
.ksq-reviews__slider:hover .ksq-reviews__next { opacity: 1; }
.ksq-reviews__prev:hover,
.ksq-reviews__next:hover { background: var(--bg-s); }

/* Точки-индикаторы */
.ksq-reviews__dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 22px;
    opacity: 0;
    transition: opacity 0.2s;
}
.ksq-reviews__slider:hover .ksq-reviews__dots { opacity: 1; }

.ksq-reviews__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px dashed var(--border);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s, border-color 0.2s;
}
.ksq-reviews__dot--active {
    background: var(--accent);
    border-color: var(--accent);
}

.ksq-review-card {
    width: 320px;
    flex-shrink: 0;
    background-color: var(--bg-card);
    border: 2px dashed var(--border);
    border-radius: 14px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: var(--shadow-cartoon);
}

.ksq-review-card:nth-child(odd)  { transform: rotate(-0.8deg); }
.ksq-review-card:nth-child(even) { transform: rotate(0.6deg); }

.ksq-review-card__stars {
    display: flex;
    gap: 3px;
    font-size: 1.1rem;
}

.ksq-star         { color: var(--border); }
.ksq-star--on     { color: var(--gold); }

.ksq-review-card__text {
    font-size: 0.93rem;
    color: var(--muted);
    line-height: 1.7;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ksq-review-card--expanded .ksq-review-card__text {
    display: block;
    overflow: visible;
    -webkit-line-clamp: unset;
}

.ksq-review-card__expand {
    background: none;
    border: none;
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    padding: 0;
    align-self: flex-start;
}

.ksq-review-card__expand:hover {
    text-decoration: underline;
}

.ksq-review-card__author {
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--text);
    padding-top: 14px;
    border-top: 2px dotted var(--border);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}


/* ============================================================
   USP: Почему мы
   ============================================================ */

.ksq-usp {
    padding: 80px 0;
}

.ksq-usp__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
}

.ksq-usp__item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: 18px;
    padding: 26px 24px;
    box-shadow: var(--shadow-cartoon);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ksq-usp__item:hover {
    transform: translateY(-3px);
    box-shadow: 6px 8px 0 rgba(58, 32, 12, 0.20);
}

.ksq-usp__icon {
    font-size: 1.9rem;
    width: 54px;
    height: 54px;
    flex-shrink: 0;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.ksq-usp__body h3 {
    font-family: var(--sans);
    font-size: 1rem;
    font-weight: 800;
    color: var(--text);
    margin: 0 0 6px;
    line-height: 1.3;
}

.ksq-usp__body p {
    font-size: 0.86rem;
    color: var(--muted);
    margin: 0;
    line-height: 1.55;
}

@media (max-width: 700px) {
    .ksq-usp__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   GUARANTEE: Гарантия — бирюзовый вместо кричащего оранжевого
   ============================================================ */

.ksq-guarantee {
    padding: 80px 0;
    background-color: var(--teal);
    position: relative;
    overflow: hidden;
}

/* Декоративные точки на фоне */
.ksq-guarantee::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.08) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
}

.ksq-guarantee__inner {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.ksq-guarantee__icon {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    border: 3px dashed rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #fff;
    margin: 0 auto 25px;
    box-shadow: 3px 4px 0 rgba(0,0,0,0.15);
}

.ksq-guarantee h2 {
    font-family: var(--sans);
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 14px;
}

.ksq-guarantee p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.75;
}

.ksq-guarantee__email {
    display: inline-block;
    margin-top: 14px;
    font-size: 0.9rem;
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
    opacity: 0.85;
}

.ksq-guarantee__email:hover {
    opacity: 1;
}


/* ============================================================
   PRICING: Цена и покупка — «карточка сокровища»
   ============================================================ */

.ksq-pricing {
    padding: 125px 0 90px;
    background-color: var(--bg);
}

.ksq-pricing__card {
    max-width: 480px;
    margin: 0 auto;
    background-color: var(--bg-card);
    border: 3px dashed var(--accent);
    border-radius: 20px;
    padding: 50px 40px;
    text-align: center;
    box-shadow: var(--shadow-cartoon);
    position: relative;
}

/* «Стикер» над карточкой */
.ksq-pricing__card::before {
    content: '✦ СКАЧАТЬ СРАЗУ ПОСЛЕ ОПЛАТЫ ✦';
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%) rotate(-1.5deg);
    background: var(--gold);
    color: var(--text);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    padding: 4px 18px;
    border-radius: 20px;
    white-space: nowrap;
    box-shadow: 2px 3px 0 rgba(58, 32, 12, 0.2);
}

.ksq-price__amount {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    margin-bottom: 30px;
}

.ksq-price__num {
    font-family: var(--sans);
    font-size: 4.5rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1;
}

.ksq-price__currency {
    font-family: var(--sans);
    font-size: 2rem;
    font-weight: 700;
    color: var(--muted);
    padding-top: 12px;
}

.ksq-price__features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    text-align: left;
}

.ksq-price__features li {
    font-size: 0.93rem;
    color: var(--muted);
    padding: 10px 0 10px 28px;
    border-bottom: 1px dotted var(--border);
    position: relative;
}

.ksq-price__features li::before {
    content: '★';
    color: var(--gold);
    font-size: 0.8rem;
    position: absolute;
    left: 0;
    top: 11px;
}

.ksq-price__note {
    margin-top: 16px;
    font-size: 0.8rem;
    color: var(--border);
}

/* 2-колоночный layout цены с изображением */
.ksq-pricing__layout {
    display: grid;
    grid-template-columns: 520px 420px;
    justify-content: center;
    gap: 48px;
    align-items: center;
    position: relative;
}

.ksq-pricing__image {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 14px;
    border: 3px solid var(--border);
    box-shadow: var(--shadow-cartoon);
}

.ksq-pricing__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Контейнер для карточек цены справа */
.ksq-pricing__cards {
    display: flex;
    flex-direction: column;
}

.ksq-pricing__cards .ksq-pricing__card,
.ksq-pricing__cards .ksq-price-card {
    max-width: none;
    margin: 0;
    height: 100%;
}

/* Вкладки Для себя / Для бизнеса */
.ksq-pricing-tabs {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.ksq-pricing-tabs__nav {
    display: flex;
    gap: 8px;
    margin-bottom: 0;
}

.ksq-pricing-tabs__btn {
    flex: 1;
    padding: 11px 20px;
    border: 3px solid var(--accent);
    border-bottom: none;
    border-radius: 14px 14px 0 0;
    background: transparent;
    color: var(--text);
    font-family: var(--sans);
    font-size: 0.9rem;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.18s, color 0.18s;
    opacity: 0.55;
}

.ksq-pricing-tabs__btn--active {
    background: var(--bg-card);
    color: var(--text);
    opacity: 1;
}

.ksq-pricing-tabs__panel {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.ksq-pricing-tabs__panel .ksq-pricing__card {
    flex: 1;
    border-top-left-radius: 0;
}

.ksq-pricing-tabs__panel--hidden {
    display: none;
}

/* Зачёркнутый пункт «не включено» */
.ksq-price__feature--off {
    opacity: 0.45;
    text-decoration: line-through;
}

/* Двухкарточный лейаут (личный + коммерческий) */
.ksq-pricing__grid {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    align-items: stretch;
}

.ksq-price-card {
    background-color: var(--bg-card);
    border: 3px dashed var(--border);
    border-radius: 20px;
    padding: 50px 36px 36px;
    box-shadow: var(--shadow-cartoon);
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 1 1 300px;
    max-width: 400px;
    text-align: center;
}

.ksq-price-card--featured {
    border-color: var(--accent);
    box-shadow: var(--shadow-cartoon), 0 10px 30px rgba(195, 92, 52, 0.12);
}

.ksq-price-card__badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: var(--text);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    padding: 4px 18px;
    border-radius: 20px;
    white-space: nowrap;
    box-shadow: 2px 3px 0 rgba(58, 32, 12, 0.2);
}

.ksq-price-card__header h3 {
    font-family: var(--sans);
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--text);
}

.ksq-price-card__header p {
    color: var(--muted);
    font-size: 0.88rem;
    margin-bottom: 24px;
    line-height: 1.5;
}

.ksq-price-card__amount {
    margin-bottom: 24px;
    border-bottom: 1px dotted var(--border);
    padding-bottom: 20px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 3px;
}

.ksq-price-card__num {
    font-family: var(--sans);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1;
}

.ksq-price-card__currency {
    font-family: var(--sans);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--muted);
}

.ksq-price-card__features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    text-align: left;
    flex-grow: 1;
}

.ksq-price-card__features li {
    font-size: 0.9rem;
    color: var(--muted);
    padding: 9px 0 9px 26px;
    border-bottom: 1px dotted var(--border);
    position: relative;
    line-height: 1.4;
}

.ksq-price-card__features li::before {
    content: '★';
    color: var(--gold);
    font-size: 0.75rem;
    position: absolute;
    left: 0;
    top: 10px;
}

.ksq-price-card__feature--off {
    opacity: 0.4;
}

.ksq-price-card__feature--off::before {
    content: '✕' !important;
    color: var(--muted) !important;
}


/* ============================================================
   GALLERY: Фотогалерея квеста
   ============================================================ */

.ksq-gallery {
    padding: 125px 0 90px;
    background-color: var(--bg-s);
}

.ksq-gallery__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: start;
}

.ksq-gallery__item {
    border: 3px dashed var(--border);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow-cartoon);
    background: var(--bg-card);
    transition: transform 0.25s, box-shadow 0.25s, z-index 0s;
    position: relative;
}

.ksq-gallery__item--1 { transform: rotate(-1.8deg); }
.ksq-gallery__item--2 { transform: rotate(1.1deg); }
.ksq-gallery__item--3 { transform: rotate(-0.7deg); }
.ksq-gallery__item--4 { transform: rotate(1.6deg); }

.ksq-gallery__item:hover {
    transform: rotate(0deg) scale(1.04) !important;
    box-shadow: 8px 10px 0 rgba(58, 32, 12, 0.22);
    z-index: 2;
}

.ksq-gallery__item img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

/* Заглушка когда нет изображения */
.ksq-gallery__placeholder {
    width: 100%;
    height: 240px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--border);
}

.ksq-gallery__placeholder-icon {
    font-size: 2.5rem;
    opacity: 0.5;
}

.ksq-gallery__placeholder-label {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.5;
}


/* ============================================================
   FAQ
   ============================================================ */

.ksq-faq {
    padding: 125px 0 90px;
    background-color: var(--bg-s);
}

.ksq-faq__list {
    max-width: 760px;
    margin: 0 auto;
}

.ksq-faq__item {
    border-bottom: 2px dotted var(--border);
}

.ksq-faq__item:first-child {
    border-top: 2px dotted var(--border);
}

.ksq-faq__trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 20px 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--sans);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    text-align: left;
    transition: color 0.2s;
}

.ksq-faq__trigger:hover {
    color: var(--accent);
}

.ksq-faq__trigger[aria-expanded="true"] {
    color: var(--accent);
}

.ksq-faq__icon {
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--accent);
    flex-shrink: 0;
    transition: transform 0.25s;
    line-height: 1;
}

.ksq-faq__trigger[aria-expanded="true"] .ksq-faq__icon {
    transform: rotate(45deg);
}

.ksq-faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.ksq-faq__answer-inner {
    padding: 0 0 20px;
    font-size: 0.95rem;
    color: var(--muted);
    line-height: 1.75;
}


/* ============================================================
   Адаптивность
   ============================================================ */

@media (max-width: 992px) {
    .ksq-about__grid         { grid-template-columns: 1fr; gap: 40px; }
    .ksq-features__grid      { grid-template-columns: 1fr 1fr; gap: 20px; }
    .ksq-tasks__grid         { grid-template-columns: 1fr; }
    .ksq-organizer__grid     { grid-template-columns: 1fr; gap: 35px; }
    .ksq-gallery__grid       { grid-template-columns: repeat(2, 1fr); }
    .ksq-format__grid        { grid-template-columns: 1fr; gap: 40px; }
    .ksq-format__image img   { transform: none; max-width: 400px; margin: 0 auto; display: block; }
    .ksq-format__grid .ksq-section-header { text-align: center; }
    .ksq-format__grid .ksq-section-header h2::after { margin: 14px auto 0; }
    .ksq-about__grid::before,
    .ksq-organizer__grid::before,
    .ksq-format__grid::before { display: none; }
}

/* Фикс белой полосы между FAQ и подвалом */
main.kids-quest-page {
    background-color: var(--bg);
}

@media (max-width: 768px) {
    .ksq-tasks__body--with-image { grid-template-columns: 1fr; }
    .ksq-tasks__body--with-image::before { display: none; }
    .ksq-tasks__side-image       { position: static; top: auto; flex-direction: row; flex-wrap: wrap; justify-content: center; }
    .ksq-tasks__side-image img   { max-width: 100%; }
    .ksq-tasks__side-image img:only-child { max-width: 100%; }
    .ksq-section-header h2   { font-size: 1.8rem; }
    .ksq-hero__title         { font-size: 2.1rem; }
    .ksq-hero__subtitle      { font-size: 1rem; }
    .ksq-hero__meta li       { padding: 4px 10px; }
    .ksq-features__grid      { grid-template-columns: 1fr; }
    .ksq-gallery__grid       { grid-template-columns: repeat(2, 1fr); }
    .ksq-gallery__item--1,
    .ksq-gallery__item--2,
    .ksq-gallery__item--3,
    .ksq-gallery__item--4    { transform: none; }
    .ksq-review-card         { width: 280px; }
    .ksq-guarantee h2        { font-size: 1.6rem; }
    .ksq-pricing__card       { padding: 50px 24px 35px; }
    .ksq-pricing__card::before { font-size: 0.6rem; padding: 4px 12px; }
    .ksq-pricing__layout     { grid-template-columns: 1fr; gap: 32px; }
    .ksq-pricing__grid       { flex-direction: column; align-items: stretch; }
    .ksq-price-card          { max-width: 100%; padding: 44px 24px 32px; }
}

@media (max-width: 768px) {
    .ksq-reviews__prev,
    .ksq-reviews__next,
    .ksq-reviews__dots { opacity: 1; }
}


/* ============================================================
   HOOK: Предыстория / Зацепка
   ============================================================ */

.ksq-hook {
    padding: 125px 0 90px;
    background-color: var(--bg-card);
    clip-path: polygon(0 26px,2% 8px,4% 30px,6% 12px,8% 24px,10% 6px,12% 28px,14% 10px,16% 26px,18% 4px,20% 22px,22% 14px,24% 30px,26% 6px,28% 22px,30% 10px,32% 28px,34% 4px,36% 20px,38% 12px,40% 28px,42% 8px,44% 24px,46% 14px,48% 30px,50% 6px,52% 22px,54% 8px,56% 26px,58% 4px,60% 20px,62% 12px,64% 28px,66% 6px,68% 24px,70% 10px,72% 28px,74% 4px,76% 22px,78% 14px,80% 30px,82% 6px,84% 24px,86% 12px,88% 28px,90% 4px,92% 22px,94% 10px,96% 28px,98% 6px,100% 24px,100% 100%,0 100%);
}

.ksq-hook::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image: radial-gradient(circle, rgba(192, 88, 56, 0.07) 1.4px, transparent 1.6px);
    background-size: 28px 28px;
}

.ksq-hook__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    position: relative;
}

.ksq-hook__grid::before {
    content: '';
    position: absolute;
    top: 6px;
    bottom: 6px;
    left: 50%;
    border-left: 3px dashed var(--border);
    opacity: 0.5;
    pointer-events: none;
}

.ksq-hook__inner {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.ksq-hook__title {
    font-family: var(--sans);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--text);
    line-height: 1.25;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.ksq-hook__title::after {
    content: '';
    display: block;
    width: 48px;
    height: 4px;
    background: repeating-linear-gradient(90deg, var(--gold) 0, var(--gold) 8px, transparent 8px, transparent 14px);
    margin: 14px 0 0;
}

.ksq-hook__inner .ksq-hook__title::after {
    margin-left: auto;
    margin-right: auto;
}

.ksq-hook__text {
    font-size: 1.05rem;
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
}

.ksq-hook__media img {
    width: 100%;
    border-radius: 14px;
    border: 3px dashed var(--border);
    box-shadow: var(--shadow-cartoon);
    transform: rotate(1deg);
    transition: transform 0.3s;
}

.ksq-hook__media img:hover {
    transform: rotate(0deg);
}

@media (max-width: 992px) {
    .ksq-hook__grid { grid-template-columns: 1fr; gap: 40px; }
    .ksq-hook__grid::before { display: none; }
    .ksq-hook__title::after { margin-left: auto; margin-right: auto; }
}


/* ============================================================
   STEPS SLIDER: Как работает квест
   ============================================================ */

.ksq-steps {
    padding: 60px 20px 30px;
    overflow: visible;
}

.ksq-steps__track {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
}

.ksq-steps__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    transition: transform 0.5s ease, filter 0.5s ease, opacity 0.5s ease;
    transform: scale(0.78);
    filter: blur(2px);
    opacity: 0.5;
    position: relative;
    flex-shrink: 0;
    outline: none;
}

.ksq-steps__item:focus-visible {
    outline: 3px dashed var(--accent);
    outline-offset: 6px;
    border-radius: 14px;
}

.ksq-steps__item--active {
    transform: translateX(var(--ksq-dx, 0px)) scale(1.14);
    filter: none;
    opacity: 1;
    z-index: 3;
}

.ksq-steps__item:hover:not(.ksq-steps__item--active) {
    opacity: 0.72;
    filter: blur(0.8px);
}

.ksq-steps__card {
    width: 260px;
    height: 165px;
    background: var(--bg-card);
    border: 3px dashed var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow-cartoon);
    overflow: hidden;
    flex-shrink: 0;
    transition: border-color 0.4s, border-style 0.4s, box-shadow 0.4s;
}

.ksq-steps__item--active .ksq-steps__card {
    border-style: solid;
    border-color: var(--accent);
    box-shadow: 6px 8px 0 rgba(58, 32, 12, 0.28);
}

.ksq-steps__card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ksq-steps__label {
    font-family: var(--sans);
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--text);
    text-align: center;
    max-width: 260px;
    line-height: 1.35;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* Стрелка между шагами: выровнена по середине карточки */
.ksq-steps__arrow {
    flex-shrink: 0;
    font-size: 1.8rem;
    color: var(--accent);
    font-weight: 900;
    line-height: 1;
    opacity: 0.5;
    margin-top: 68px;
    user-select: none;
    transition: opacity 0.3s;
}

@media (max-width: 900px) {
    .ksq-steps__track { gap: 6px; }
    .ksq-steps__card  { width: 195px; height: 124px; }
    .ksq-steps__arrow { font-size: 1.4rem; margin-top: 50px; }
}

@media (max-width: 600px) {
    .ksq-steps__track { flex-wrap: wrap; justify-content: center; gap: 20px; }
    .ksq-steps__arrow { display: none; }
    .ksq-steps__item  { transform: scale(1); filter: none; opacity: 0.7; }
    .ksq-steps__item--active { transform: scale(1.06); opacity: 1; }
    .ksq-steps__card  { width: 150px; height: 95px; }
}


/* ============================================================
   ЦВЕТОВЫЕ ПАЛИТРЫ
   ============================================================ */

/* Таинственный остров — тёплый песочно-оранжевый */
.kids-quest-page.ksq-palette--island {
    --bg:            #fef3d0;
    --bg-s:          #fde4a8;
    --bg-card:       #fff9e8;
    --accent:        #c86208;
    --gold:          #e8a800;
    --text:          #3d2000;
    --muted:         #7a3e0a;
    --border:        #e0b030;
    --teal:          #1a6060;
    --shadow-cartoon: 4px 5px 0 rgba(61, 32, 0, 0.22);
    --hero-ov-a: rgba(255, 220, 100, 0.84);
    --hero-ov-b: rgba(200, 90, 20, 0.06);
}

/* Пиратский квест */
.kids-quest-page.ksq-palette--pirate {
    --bg:            #f0ead0;
    --bg-s:          #ddd0a8;
    --bg-card:       #faf8ee;
    --accent:        #1a3a6e;
    --gold:          #d4a017;
    --text:          #150f30;
    --muted:         #3a4060;
    --border:        #8b7040;
    --teal:          #006064;
    --shadow-cartoon: 4px 5px 0 rgba(21, 15, 48, 0.22);
}

/* Романтический квест */
.kids-quest-page.ksq-palette--romantic {
    --bg:            #fce8ee;
    --bg-s:          #f8c8d8;
    --bg-card:       #fff0f5;
    --accent:        #c0244a;
    --gold:          #e8880a;
    --text:          #3a0c18;
    --muted:         #7a2840;
    --border:        #ef9a9a;
    --teal:          #8b0040;
    --shadow-cartoon: 4px 5px 0 rgba(58, 12, 24, 0.22);
}

/* Новогодний квест */
.kids-quest-page.ksq-palette--newyear {
    --bg:            #fef8e6;
    --bg-s:          #fde8c0;
    --bg-card:       #fffdf2;
    --accent:        #b01820;
    --gold:          #d4a000;
    --text:          #1a0000;
    --muted:         #5c1a1a;
    --border:        #c49000;
    --teal:          #1a5c20;
    --shadow-cartoon: 4px 5px 0 rgba(26, 0, 0, 0.22);
}

/* Семейный квест */
.kids-quest-page.ksq-palette--mansion {
    --bg:            #fdf0dc;
    --bg-s:          #f0daa8;
    --bg-card:       #fefbf0;
    --accent:        #6e1a30;
    --gold:          #a86800;
    --text:          #2a1206;
    --muted:         #5c3010;
    --border:        #b08028;
    --teal:          #2e4060;
    --shadow-cartoon: 4px 5px 0 rgba(42, 18, 6, 0.22);
}

/* Зимний квест */
.kids-quest-page.ksq-palette--winter {
    --bg:            #e0f0fc;
    --bg-s:          #b8d8f4;
    --bg-card:       #f0f8ff;
    --accent:        #1040a0;
    --gold:          #5c7a8c;
    --text:          #0a1830;
    --muted:         #2e5080;
    --border:        #78b0e0;
    --teal:          #0080a8;
    --shadow-cartoon: 4px 5px 0 rgba(10, 24, 48, 0.22);
}

/* Квест без печати */
.kids-quest-page.ksq-palette--detective {
    --bg:            #e8eef2;
    --bg-s:          #ccd8e0;
    --bg-card:       #f4f7f9;
    --accent:        #1a2a80;
    --gold:          #008cb0;
    --text:          #141c28;
    --muted:         #4a6070;
    --border:        #7898a8;
    --teal:          #006888;
    --shadow-cartoon: 4px 5px 0 rgba(20, 28, 40, 0.22);
}

/* Детский квест (Дом живых кукол) — тёмный с тыквенным акцентом */
.kids-quest-page.ksq-palette--child {
    --bg:            #100c18;
    --bg-s:          #1e1228;
    --bg-card:       #18102a;
    --accent:        #e85210;
    --gold:          #e89010;
    --text:          #f0e0d0;
    --muted:         #c0a080;
    --border:        #5a2c08;
    --teal:          #208060;
    --shadow-cartoon: 4px 5px 0 rgba(232, 82, 16, 0.50);
    --hero-ov-a: rgba(8, 4, 14, 0.90);
    --hero-ov-b: rgba(150, 35, 8, 0.22);
}

/* Точечный паттерн — ярче на тёмном фоне */
.ksq-palette--child .ksq-format::before,
.ksq-palette--child .ksq-about::before,
.ksq-palette--child .ksq-features::before,
.ksq-palette--child .ksq-tasks::before,
.ksq-palette--child .ksq-organizer::before,
.ksq-palette--child .ksq-pricing::before,
.ksq-palette--child .ksq-gallery::before,
.ksq-palette--child .ksq-faq::before {
    background-image: radial-gradient(circle, rgba(232, 82, 16, 0.14) 1.4px, transparent 1.6px);
}

/* Мета-пилюли в hero на тёмном фоне */
.ksq-palette--child .ksq-hero__meta li {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--border);
    color: var(--muted);
}

/* Тень активной карточки шагов */
.ksq-palette--child .ksq-steps__item--active .ksq-steps__card {
    box-shadow: 6px 8px 0 rgba(232, 82, 16, 0.40);
}

/* Квест на Новый год */
.kids-quest-page.ksq-palette--snowman {
    --bg:            #e6eaf8;
    --bg-s:          #c0caf0;
    --bg-card:       #f2f4ff;
    --accent:        #202080;
    --gold:          #7890a0;
    --text:          #0a0e40;
    --muted:         #304080;
    --border:        #8898d8;
    --teal:          #0070c0;
    --shadow-cartoon: 4px 5px 0 rgba(10, 14, 64, 0.22);
}

/* Квест для школьников */
.kids-quest-page.ksq-palette--school {
    --bg:            #f4fae0;
    --bg-s:          #e0f0a8;
    --bg-card:       #fafff0;
    --accent:        #2c6018;
    --gold:          #e06010;
    --text:          #142008;
    --muted:         #3a6020;
    --border:        #8cc050;
    --teal:          #c04010;
    --shadow-cartoon: 4px 5px 0 rgba(20, 32, 8, 0.22);
}

/* Overlay-переменные для палитр, у которых нужен свой оттенок hero */
.ksq-palette--pirate   { --hero-ov-a: rgba(20, 14, 44, 0.82);  --hero-ov-b: rgba(30, 50, 110, 0.06); }
.ksq-palette--romantic { --hero-ov-a: rgba(252, 220, 230, 0.86); --hero-ov-b: rgba(192, 36, 74, 0.04); }
.ksq-palette--newyear  { --hero-ov-a: rgba(254, 248, 220, 0.88); --hero-ov-b: rgba(176, 24, 32, 0.06); }
.ksq-palette--mansion  { --hero-ov-a: rgba(253, 238, 210, 0.86); --hero-ov-b: rgba(110, 26, 48, 0.06); }
.ksq-palette--winter   { --hero-ov-a: rgba(220, 238, 252, 0.88); --hero-ov-b: rgba(16, 64, 160, 0.06); }
.ksq-palette--detective{ --hero-ov-a: rgba(230, 238, 242, 0.88); --hero-ov-b: rgba(26, 42, 128, 0.06); }
.ksq-palette--snowman  { --hero-ov-a: rgba(226, 232, 248, 0.88); --hero-ov-b: rgba(32, 32, 128, 0.06); }
.ksq-palette--school   { --hero-ov-a: rgba(244, 250, 220, 0.86); --hero-ov-b: rgba(44, 96, 24, 0.06); }


/* ============================================================
   АНИМИРОВАННЫЙ ДЕКОРАТИВНЫЙ СЛОЙ
   Элементы инжектируются через JS — плавающие SVG-иконки
   (передний план, чёткие) и размытые цветовые пятна (задний план).
   ============================================================ */

@keyframes ksq-float {
    0%, 100% { transform: translateY(0)    rotate(var(--deco-r, 0deg)); }
    50%       { transform: translateY(-18px) rotate(var(--deco-r, 0deg)); }
}

@keyframes ksq-sway {
    0%, 100% { transform: translateX(0)    rotate(var(--deco-r, -5deg)); }
    50%       { transform: translateX(14px)  rotate(calc(var(--deco-r, -5deg) + 10deg)); }
}

@keyframes ksq-spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* Контейнер декоративного слоя */
.ksq-deco-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

/* Размытые цветовые пятна (задний план)
   Центрируем через отрицательный margin — transform оставляем для анимации */
.ksq-deco-blob {
    position: absolute;
    border-radius: 50%;
    background: var(--deco-color, var(--accent));
    opacity: var(--deco-op, 0.18);
    filter: blur(var(--deco-blur, 65px));
    width: var(--deco-size, 280px);
    height: var(--deco-size, 280px);
    margin-top:  calc(var(--deco-size, 280px) * -0.5);
    margin-left: calc(var(--deco-size, 280px) * -0.5);
    animation: ksq-float var(--deco-dur, 8s) ease-in-out infinite;
    animation-delay: var(--deco-delay, 0s);
    will-change: transform;
}

/* Парящие SVG-иконки (передний план) */
.ksq-deco-icon {
    position: absolute;
    opacity: var(--deco-op, 0.3);
    width: var(--deco-size, 44px);
    height: var(--deco-size, 44px);
    animation: var(--deco-anim, ksq-float) var(--deco-dur, 5s) ease-in-out infinite;
    animation-delay: var(--deco-delay, 0s);
    will-change: transform;
}
.ksq-deco-icon svg { width: 100%; height: 100%; }

/* Контент секций всегда выше деко-слоя */
.kids-quest-page section .ksq-container { position: relative; z-index: 1; }
.kids-quest-page .ksq-hero .ksq-container { z-index: 2; }


/* Зачёркнутая старая цена */
.ksq-price__old {
    display: block;
    font-size: 0.95rem;
    color: var(--muted);
    text-decoration: line-through;
    margin-bottom: 2px;
    font-weight: 400;
}

@media (max-width: 768px) {
    .ksq-btn--outline {
        background-color: #fff;
        color: var(--accent);
        box-shadow: 0 2px 8px rgba(0,0,0,0.18);
    }
}
