/* ============================================================================
   ПЕТР — web разработчик · Glassmorphism · pastel purple / lime
   ============================================================================ */
:root {
    --purple: #6C5CE7;
    --purple-light: #A79BF5;
    --green: #7ED957;
    --green-deep: #76D62C;
    --blue: #4E7DF5;
    --navy: #1E2A7E;
    --text: #5A5A75;
    --card-bg: rgba(255,255,255,0.42);
    --card-bg-strong: rgba(255,255,255,0.55);
    --card-border: rgba(255,255,255,0.70);
    --hero-grad: linear-gradient(90deg, #8F7BF3, #6FA8F0);
    --green-grad: linear-gradient(90deg, #B2E86B, #8ADB5A);
    --form-grad: linear-gradient(135deg, #CBBBF4, #E7C9E9);
    --shadow: 0 18px 45px rgba(108,92,231,0.12);
    --r-card: 24px;
    --r-sm: 20px;
    --r-xs: 14px;
    --container: 1200px;
    --pad: 24px;
    --font: 'Montserrat', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --header-h: 76px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.petr {
    font-family: var(--font);
    color: var(--text);
    background: linear-gradient(180deg, #EFEBFC 0%, #DDD6F6 55%, #D6CFEF 100%);
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

.petr-container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--pad);
    position: relative;
    z-index: 2;
}

/* Плавающие пузыри */
.petr-bubble {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 32% 30%, rgba(255,255,255,.75), rgba(255,255,255,.14) 62%, rgba(167,155,245,.22));
    box-shadow: inset 0 -8px 26px rgba(108,92,231,.14), 0 14px 34px rgba(108,92,231,.10);
    pointer-events: none;
    z-index: 0;
}
.petr-bubble--1 { width: 260px; height: 260px; left: -110px; bottom: 6%; }
.petr-bubble--2 { width: 180px; height: 180px; right: -70px; top: 4%; }
.petr-bubble--3 { width: 120px; height: 120px; right: 6%; top: 46%; opacity: .8; }
.petr-bubble--4 { width: 90px; height: 90px; left: 10%; top: 14%; opacity: .7; }

/* Стекло-карточка */
.glass {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--r-card);
    box-shadow: var(--shadow);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
}

/* Зелёное подчёркивание заголовков */
.sec-title { position: relative; font-size: 30px; font-weight: 700; color: var(--navy); line-height: 1.25; }
.sec-underline { width: 40px; height: 3px; background: var(--green); border-radius: 2px; margin-top: 12px; }

/* ============================================================================
   HEADER
   ============================================================================ */
.petr-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    transition: background .3s, box-shadow .3s;
}
.petr-header.is-scrolled {
    background: rgba(255,255,255,.72);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 30px rgba(108,92,231,.10);
}
.petr-header__inner {
    max-width: var(--container); margin: 0 auto; padding: 0 var(--pad);
    display: flex; align-items: center; justify-content: space-between;
    height: var(--header-h);
}
.petr-logo { display: block; }
.petr-logo__name { font-size: 24px; font-weight: 800; color: var(--purple); line-height: 1; letter-spacing: 1px; }
.petr-logo__sub { font-size: 10px; color: var(--text); opacity: .75; margin-top: 2px; }
.petr-logo__line { width: 34px; height: 2px; background: var(--green); border-radius: 2px; margin-top: 4px; }
.petr-nav { display: flex; gap: 26px; }
.petr-nav a { font-size: 13px; font-weight: 500; color: var(--text); }
.petr-nav a:hover { color: var(--purple); }
.petr-header__cta {
    position: relative;
    display: inline-flex; align-items: center; gap: 10px;
    padding: 10px 22px;
    background: rgba(255,255,255,.6);
    border: 1px solid var(--card-border);
    border-radius: 999px;
    font-size: 13px; font-weight: 600; color: var(--navy);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: 0 8px 24px rgba(108,92,231,.12);
    transition: transform .25s, box-shadow .25s;
}
.petr-header__cta:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(108,92,231,.2); }
.petr-header__cta i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); display: inline-block; }
.petr-burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.petr-burger span { width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: all .3s; }
.petr-burger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.petr-burger.is-active span:nth-child(2) { opacity: 0; }
.petr-burger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.petr-mobile-menu {
    display: none; position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    background: rgba(239,235,252,.96);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    z-index: 999; padding: 24px;
}
.petr-mobile-menu.is-open { display: block; }
.petr-mobile-menu a { display: block; padding: 14px 0; font-size: 16px; font-weight: 500; color: var(--navy); border-bottom: 1px solid rgba(108,92,231,.12); }

/* ============================================================================
   HERO
   ============================================================================ */
.petr-hero { padding: calc(var(--header-h) + 40px) 0 40px; position: relative; }
.petr-hero__grid {
    display: grid;
    grid-template-columns: 300px 1fr 360px;
    gap: 32px;
    align-items: center;
}
.petr-hero__photo {
    width: 280px; height: 340px;
    border-radius: 46% 54% 52% 48% / 52% 46% 54% 48%;
    background:
        radial-gradient(circle at 68% 22%, rgba(167,155,245,.55), transparent 60%),
        linear-gradient(145deg, rgba(255,255,255,.9), rgba(214,207,239,.85));
    box-shadow:
        0 0 0 8px rgba(255,255,255,.45),
        0 0 0 12px rgba(167,155,245,.35),
        0 24px 60px rgba(108,92,231,.22);
    overflow: hidden;
    position: relative;
}
.petr-hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.petr-hero__title {
    font-size: 46px; font-weight: 800; text-transform: uppercase;
    line-height: 1.15; color: var(--navy);
}
.petr-hero__title .t-green { color: var(--green-deep); }
.petr-hero__title .t-blue { color: var(--blue); }
.petr-hero__desc { margin: 18px 0 26px; font-size: 15px; line-height: 1.65; max-width: 440px; }
.petr-hero__btns { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

.btn-hero {
    display: inline-flex; align-items: center; gap: 12px;
    padding: 13px 26px 13px 14px;
    background: var(--hero-grad);
    color: #fff; font-size: 14px; font-weight: 600;
    border-radius: 999px;
    box-shadow: 0 14px 34px rgba(110,120,240,.38);
    transition: transform .25s, box-shadow .25s;
}
.btn-hero:hover { transform: translateY(-2px); box-shadow: 0 18px 42px rgba(110,120,240,.46); }
.btn-hero__ic {
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255,255,255,.22);
    display: inline-flex; align-items: center; justify-content: center;
    flex: none;
}
.btn-hero__ic svg { width: 18px; height: 18px; }

.btn-video {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 12px 24px;
    background: rgba(255,255,255,.55);
    border: 1px solid var(--card-border);
    border-radius: 999px;
    font-size: 14px; font-weight: 600; color: var(--navy);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    transition: transform .25s;
}
.btn-video:hover { transform: translateY(-2px); }
.btn-video__ic {
    width: 30px; height: 30px; border-radius: 50%;
    background: var(--hero-grad);
    display: inline-flex; align-items: center; justify-content: center;
    flex: none;
}
.btn-video__ic svg { width: 12px; height: 12px; fill: #fff; }

.petr-hero__mockups { position: relative; }
.petr-mockups { position: relative; padding-bottom: 26px; }
.petr-mockups__podium {
    position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 300px; height: 56px; border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(108,92,231,.28), rgba(108,92,231,.05) 70%);
}
.petr-mockup-laptop {
    width: 330px; margin: 0 auto; position: relative; z-index: 2;
    border-radius: 14px;
    background: #23233C;
    padding: 12px 12px 20px;
    box-shadow: 0 30px 60px rgba(30,42,126,.30), 0 0 0 1px rgba(255,255,255,.14) inset;
}
.petr-mockup-laptop__screen {
    border-radius: 8px; overflow: hidden;
    background: linear-gradient(160deg, #1B1B30, #101020);
    aspect-ratio: 16/10; padding: 14px;
}
.petr-mockup-laptop__bar { height: 6px; border-radius: 3px; background: rgba(255,255,255,.14); width: 46%; margin-bottom: 12px; }
.petr-mockup-laptop__t1 { font-size: 11px; font-weight: 800; color: #fff; letter-spacing: .5px; line-height: 1.35; text-transform: uppercase; }
.petr-mockup-laptop__t1 b { color: var(--green-deep); font-weight: 800; }
.petr-mockup-laptop__line { height: 5px; border-radius: 3px; background: rgba(255,255,255,.12); margin-top: 8px; width: 70%; }
.petr-mockup-laptop__line--short { width: 44%; }
.petr-mockup-laptop__chip {
    display: inline-block; margin-top: 12px; padding: 5px 12px; border-radius: 999px;
    background: var(--green-grad); color: #17330A; font-size: 8px; font-weight: 700;
}
.petr-mockup-phone {
    position: absolute; right: -6px; bottom: -14px; z-index: 3;
    width: 96px; border-radius: 16px;
    background: #23233C; padding: 8px 7px 12px;
    box-shadow: 0 24px 44px rgba(30,42,126,.35), 0 0 0 1px rgba(255,255,255,.14) inset;
}
.petr-mockup-phone__screen {
    border-radius: 10px; overflow: hidden;
    background: linear-gradient(170deg, #1B1B30, #101020);
    aspect-ratio: 9/17; padding: 10px 8px;
}
.petr-mockup-phone__dot { width: 22px; height: 4px; border-radius: 2px; background: var(--green-deep); margin-bottom: 8px; }
.petr-mockup-phone__line { height: 4px; border-radius: 2px; background: rgba(255,255,255,.13); margin-bottom: 6px; }
.petr-mockup-phone__line--w60 { width: 60%; }
.petr-mockup-phone__line--w80 { width: 80%; }
.petr-mockup-phone__btn { height: 14px; border-radius: 7px; background: var(--green-grad); margin-top: 10px; }

.petr-exp-badge {
    position: absolute; top: -26px; right: -10px; z-index: 4;
    width: 120px; height: 120px; border-radius: 50%;
    background: rgba(255,255,255,.85);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border: 1px solid var(--card-border);
    box-shadow: var(--shadow);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center;
}
.petr-exp-badge__big { font-size: 26px; font-weight: 800; color: var(--purple); line-height: 1.05; }
.petr-exp-badge__small { font-size: 10px; color: var(--text); }

/* ============================================================================
   ПОЛОСА ПРЕИМУЩЕСТВ + СТАТИСТИКА
   ============================================================================ */
.petr-advantages { padding: 26px 0 10px; }
.petr-advantages__card {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 22px; padding: 26px 30px;
}
.petr-adv { display: flex; align-items: flex-start; gap: 12px; }
.petr-adv__ic {
    width: 44px; height: 44px; border-radius: var(--r-xs); flex: none;
    background: linear-gradient(135deg, rgba(108,92,231,.18), rgba(126,217,87,.20));
    display: flex; align-items: center; justify-content: center;
    color: var(--purple);
}
.petr-adv__ic svg { width: 22px; height: 22px; }
.petr-adv__text { font-size: 13px; line-height: 1.5; color: var(--navy); font-weight: 500; padding-top: 3px; }

.petr-stats { padding: 18px 0 30px; }
.petr-stats__card {
    display: flex; justify-content: space-around; align-items: center;
    gap: 20px; padding: 28px 40px; flex-wrap: wrap;
}
.petr-stat { display: flex; align-items: center; gap: 14px; }
.petr-stat__ic {
    width: 46px; height: 46px; border-radius: 50%; flex: none;
    background: linear-gradient(135deg, rgba(108,92,231,.16), rgba(167,155,245,.24));
    color: var(--purple);
    display: flex; align-items: center; justify-content: center;
}
.petr-stat__ic--green { background: linear-gradient(135deg, rgba(126,217,87,.22), rgba(178,232,107,.30)); color: #4E9413; }
.petr-stat__ic svg { width: 22px; height: 22px; }
.petr-stat__num { font-size: 26px; font-weight: 800; color: var(--purple); line-height: 1.1; }
.petr-stat__num--green { color: #58B01C; }
.petr-stat__label { font-size: 12px; color: var(--text); }

/* ============================================================================
   СЕКЦИИ / ЗАГОЛОВКИ
   ============================================================================ */
.petr-section { padding: 56px 0; position: relative; }
.petr-problems__grid-wrap {
    display: grid; grid-template-columns: 360px 1fr;
    gap: 44px; align-items: start;
}
.petr-problems__ill {
    margin-top: 28px;
    width: 260px; height: 260px; margin-left: auto; margin-right: auto;
    border-radius: 30px;
    background:
        radial-gradient(circle at 30% 25%, rgba(255,255,255,.85), transparent 55%),
        linear-gradient(145deg, rgba(203,187,244,.55), rgba(231,201,233,.45));
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.6), 0 24px 50px rgba(108,92,231,.16);
    display: flex; align-items: center; justify-content: center;
    position: relative;
}
.petr-cube {
    width: 120px; height: 120px; border-radius: 26px;
    background: linear-gradient(145deg, #8F7BF3, #6C5CE7);
    box-shadow:
        inset 0 10px 24px rgba(255,255,255,.4),
        0 22px 44px rgba(108,92,231,.4);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 58px; font-weight: 800;
    transform: rotate(-8deg);
}
.petr-problems__orbit {
    position: absolute; border: 1.5px dashed rgba(108,92,231,.35); border-radius: 50%;
}
.petr-problems__orbit--1 { width: 200px; height: 200px; animation: petrSpin 18s linear infinite; }
.petr-problems__orbit--2 { width: 240px; height: 240px; animation: petrSpin 26s linear infinite reverse; }
.petr-problems__orbit::after {
    content: ''; position: absolute; top: -6px; left: 50%;
    width: 12px; height: 12px; border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 12px rgba(126,217,87,.8);
}
@keyframes petrSpin { to { transform: rotate(360deg); } }

.petr-problems__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.petr-problem-card {
    padding: 20px; display: flex; gap: 12px; align-items: flex-start;
    border-radius: var(--r-sm);
}
.petr-problem-card__ic {
    width: 40px; height: 40px; border-radius: 12px; flex: none;
    background: linear-gradient(135deg, rgba(108,92,231,.16), rgba(167,155,245,.22));
    color: var(--purple);
    display: flex; align-items: center; justify-content: center;
}
.petr-problem-card__ic svg { width: 20px; height: 20px; }
.petr-problem-card__text { font-size: 13px; line-height: 1.55; color: var(--navy); font-weight: 500; }
.petr-problems__after { margin-top: 26px; font-size: 16px; color: var(--navy); font-weight: 500; }
.petr-problems__after .t-green { color: #58B01C; font-weight: 700; }

/* ============================================================================
   «ЧТО ВЫ ПОЛУЧИТЕ»
   ============================================================================ */
.petr-get__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 34px; }
.petr-get-card {
    padding: 24px 22px 86px; position: relative; overflow: hidden;
    border-radius: var(--r-card);
    display: flex; flex-direction: column;
    transition: transform .3s, box-shadow .3s;
}
.petr-get-card:hover { transform: translateY(-6px); box-shadow: 0 24px 54px rgba(108,92,231,.2); }
.petr-get-card__title {
    font-size: 13px; font-weight: 700; text-transform: uppercase;
    color: var(--purple); line-height: 1.45; margin-bottom: 14px;
}
.petr-get-card__list li {
    font-size: 13px; line-height: 1.5; color: var(--text);
    padding-left: 16px; position: relative; margin-bottom: 9px;
}
.petr-get-card__list li::before {
    content: '>'; position: absolute; left: 0; top: 0;
    color: var(--green-deep); font-weight: 700;
}
.petr-get-card__icon {
    position: absolute; right: 14px; bottom: 12px;
    width: 62px; height: 62px; border-radius: 18px;
    background: linear-gradient(145deg, rgba(143,123,243,.20), rgba(126,217,87,.18));
    color: var(--purple);
    display: flex; align-items: center; justify-content: center;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.5);
}
.petr-get-card__icon svg { width: 30px; height: 30px; }

/* ============================================================================
   КЕЙСЫ (карусель)
   ============================================================================ */
.petr-cases__head {
    display: flex; align-items: flex-end; justify-content: space-between; gap: 20px;
}
.petr-cases__nav { display: flex; gap: 10px; }
.petr-cases__arrow {
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(255,255,255,.75);
    border: 1px solid var(--card-border);
    box-shadow: 0 10px 24px rgba(108,92,231,.14);
    color: var(--navy); font-size: 18px; line-height: 1;
    display: flex; align-items: center; justify-content: center;
    transition: transform .25s;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}
.petr-cases__arrow:hover { transform: scale(1.08); }

.petr-cases__viewport { overflow: hidden; margin-top: 30px; }
.petr-cases__track { display: flex; gap: 18px; transition: transform .5s cubic-bezier(.4,0,.2,1); }
.petr-case-card {
    flex: 0 0 calc(25% - 14px);
    border-radius: var(--r-card);
    padding: 22px 20px;
    display: flex; flex-direction: column; min-height: 250px;
}
.petr-case-card__title { font-size: 14px; font-weight: 700; color: var(--navy); line-height: 1.4; }
.petr-case-card__result { font-size: 13px; font-weight: 600; color: #58B01C; margin-top: 8px; line-height: 1.45; }
.petr-case-card__tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.petr-tag {
    padding: 5px 12px; border-radius: 999px;
    background: rgba(108,92,231,.10); color: var(--purple);
    font-size: 11px; font-weight: 600;
}
.petr-tag--green { background: rgba(126,217,87,.16); color: #4E9413; }
.petr-case-card__ill {
    margin-top: auto; padding-top: 16px;
    display: flex; justify-content: flex-end;
}
.petr-case-ill { position: relative; width: 86px; height: 64px; }
.petr-case-ill__mon {
    position: absolute; bottom: 0; border-radius: 8px;
    background: linear-gradient(145deg, #8F7BF3, #6C5CE7);
    box-shadow: 0 12px 22px rgba(108,92,231,.35), inset 0 4px 10px rgba(255,255,255,.35);
}
.petr-case-ill__mon--a { width: 56px; height: 40px; right: 18px; }
.petr-case-ill__mon--b { width: 34px; height: 26px; left: 0; bottom: 4px; background: linear-gradient(145deg, #A79BF5, #8F7BF3); }
.petr-case-ill__stand { position: absolute; bottom: -8px; right: 38px; width: 8px; height: 10px; background: rgba(108,92,231,.4); border-radius: 2px; }
.petr-case-ill__ball {
    position: absolute; top: -2px; right: 0; width: 16px; height: 16px; border-radius: 50%;
    background: var(--green-grad);
    box-shadow: 0 6px 12px rgba(126,217,87,.4);
}
.petr-case-ill--gold .petr-case-ill__mon { background: linear-gradient(145deg, #F3E9D2, #D9C48A); box-shadow: 0 12px 22px rgba(180,150,80,.3), inset 0 4px 10px rgba(255,255,255,.6); }
.petr-case-ill--gold .petr-case-ill__mon--b { background: linear-gradient(145deg, #FBF4E4, #E8D9B0); }
.petr-case-ill--gold .petr-case-ill__ball { background: linear-gradient(90deg, #F0D9A8, #D9B96A); box-shadow: 0 6px 12px rgba(200,170,90,.4); }
.petr-case-ill--red .petr-case-ill__mon { background: linear-gradient(145deg, #F58F7B, #E75C4E); box-shadow: 0 12px 22px rgba(231,92,78,.35), inset 0 4px 10px rgba(255,255,255,.35); }
.petr-case-ill--red .petr-case-ill__mon--b { background: linear-gradient(145deg, #F7A99B, #F58F7B); }
.petr-case-ill--red .petr-case-ill__ball { background: linear-gradient(90deg, #FFB4A6, #F07A6A); box-shadow: 0 6px 12px rgba(240,122,106,.4); }
.petr-case-ill--build .petr-case-ill__mon { background: linear-gradient(145deg, #8FB4F3, #4E7DF5); box-shadow: 0 12px 22px rgba(78,125,245,.35), inset 0 4px 10px rgba(255,255,255,.35); }
.petr-case-ill--build .petr-case-ill__mon--b { background: linear-gradient(145deg, #A9C4F7, #8FB4F3); }
.petr-case-ill--build .petr-case-ill__ball { background: linear-gradient(90deg, #B2E86B, #8ADB5A); box-shadow: 0 6px 12px rgba(126,217,87,.4); }

/* ============================================================================
   5 ШАГОВ
   ============================================================================ */
.petr-steps__grid {
    display: grid; grid-template-columns: 360px 1fr;
    gap: 44px; align-items: start;
}
.petr-steps__row { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.petr-step { display: flex; flex-direction: column; align-items: center; text-align: center; width: 118px; flex: none; }
.petr-step__ic {
    width: 54px; height: 54px; border-radius: 16px;
    background: linear-gradient(145deg, rgba(108,92,231,.16), rgba(167,155,245,.24));
    color: var(--purple);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 12px 26px rgba(108,92,231,.16), inset 0 0 0 1px rgba(255,255,255,.5);
}
.petr-step__ic--green { background: linear-gradient(145deg, rgba(178,232,107,.3), rgba(138,219,90,.4)); color: #4E9413; }
.petr-step__ic svg { width: 24px; height: 24px; }
.petr-step__label { margin-top: 12px; font-size: 12px; line-height: 1.45; color: var(--navy); font-weight: 500; }
.petr-step__arrow {
    flex: 1; height: 2px; margin-top: 26px; position: relative;
    background-image: linear-gradient(90deg, rgba(108,92,231,.5) 55%, transparent 45%);
    background-size: 10px 2px;
}
.petr-step__arrow::after {
    content: ''; position: absolute; right: -1px; top: -3.5px;
    border: 4.5px solid transparent; border-left: 7px solid rgba(108,92,231,.6);
}

/* ============================================================================
   ФИНАЛЬНЫЙ БЛОК
   ============================================================================ */
.petr-final { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 24px; align-items: stretch; }
.petr-about-card { padding: 30px; display: flex; gap: 22px; align-items: center; }
.petr-about-card__ava {
    width: 130px; height: 130px; border-radius: 50%; flex: none; overflow: hidden;
    box-shadow: 0 0 0 5px rgba(255,255,255,.55), 0 0 0 8px rgba(167,155,245,.4), 0 18px 40px rgba(108,92,231,.25);
    background: linear-gradient(145deg, #CBBBF4, #E7C9E9);
}
.petr-about-card__ava img { width: 100%; height: 100%; object-fit: cover; }
.petr-about-card__text { font-size: 14px; line-height: 1.7; color: var(--navy); }
.petr-about-card__btn {
    display: inline-flex; align-items: center; gap: 10px;
    margin-top: 18px; padding: 12px 24px;
    background: rgba(255,255,255,.65);
    border: 1px solid var(--card-border);
    border-radius: 999px;
    font-size: 13px; font-weight: 700; color: var(--navy);
    box-shadow: 0 10px 26px rgba(108,92,231,.16);
    transition: transform .25s;
}
.petr-about-card__btn:hover { transform: translateY(-2px); }
.petr-about-card__btn svg { width: 16px; height: 16px; }

.petr-form-card {
    padding: 34px 30px;
    background: var(--form-grad);
    border: 1px solid rgba(255,255,255,.65);
    border-radius: var(--r-card);
    box-shadow: var(--shadow);
}
.petr-form-card__title {
    font-size: 20px; font-weight: 800; text-transform: uppercase;
    color: var(--navy); line-height: 1.3; margin-bottom: 20px;
}
.petr-form-card__input {
    width: 100%; padding: 14px 18px; margin-bottom: 12px;
    border: 1px solid rgba(255,255,255,.8); border-radius: 12px;
    background: rgba(255,255,255,.92);
    font-size: 14px; color: var(--navy);
    outline: none; transition: box-shadow .25s;
}
.petr-form-card__input:focus { box-shadow: 0 0 0 3px rgba(108,92,231,.22); }
.petr-form-card__input::placeholder { color: #9A96B8; }
.petr-form-card__submit {
    width: 100%; padding: 15px; border-radius: 12px;
    background: var(--green-grad);
    color: #17330A; font-size: 15px; font-weight: 700;
    box-shadow: 0 14px 30px rgba(126,217,87,.35);
    transition: transform .25s, box-shadow .25s;
}
.petr-form-card__submit:hover { transform: translateY(-2px); box-shadow: 0 18px 38px rgba(126,217,87,.45); }
.petr-form-card__submit:disabled { opacity: .7; transform: none; }
.petr-form-card__notes {
    display: flex; justify-content: space-between; gap: 12px; margin-top: 16px;
    font-size: 12px; color: var(--navy); font-weight: 500;
}
.petr-form-card__note { display: flex; align-items: center; gap: 7px; }
.petr-form-card__note svg { width: 15px; height: 15px; flex: none; color: var(--purple); }

/* ============================================================================
   AI-ЧАТ (переиспользует main.js: #chatWidget и классы chat-*)
   ============================================================================ */
.chat-section { padding: 56px 0; position: relative; }
.chat-header { text-align: center; margin-bottom: 34px; }
.chat-header .section-label {
    display: inline-block; padding: 6px 16px; border-radius: 999px;
    background: rgba(108,92,231,.10); color: var(--purple);
    font-size: 12px; font-weight: 600; margin-bottom: 14px;
}
.chat-header .section-title { font-size: 30px; font-weight: 700; color: var(--navy); }
.chat-header .section-title em { font-style: normal; color: #58B01C; }
.chat-header .section-subtitle { margin-top: 10px; font-size: 14px; color: var(--text); }

.chat-layout {
    display: grid; grid-template-columns: 1fr 320px; gap: 24px;
    max-width: 900px; margin: 0 auto; align-items: stretch;
}
.chat-panel {
    border-radius: var(--r-card);
    overflow: hidden;
    display: flex; flex-direction: column;
    min-height: 480px;
}
.chat-panel__header {
    display: flex; align-items: center; gap: 12px;
    padding: 16px 20px;
    background: rgba(108,92,231,.08);
    border-bottom: 1px solid var(--card-border);
}
.chat-panel__avatar {
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--hero-grad); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 700; overflow: hidden; flex: none;
}
.chat-panel__avatar svg { width: 24px; height: 24px; }
.chat-panel__title { font-size: 14px; font-weight: 700; color: var(--navy); }
.chat-panel__status { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text); }
.chat-panel__status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px rgba(126,217,87,.8); }
.chat-panel__messages { flex: 1; padding: 20px; overflow-y: auto; display: flex; flex-direction: column; gap: 14px; }
.chat-msg { display: flex; gap: 10px; max-width: 86%; }
.chat-msg--user { align-self: flex-end; flex-direction: row-reverse; }
.chat-msg__avatar {
    width: 32px; height: 32px; border-radius: 50%; flex: none;
    background: var(--hero-grad); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 10px; font-weight: 700; overflow: hidden;
}
.chat-msg--user .chat-msg__avatar { background: linear-gradient(135deg, #B2E86B, #8ADB5A); color: #17330A; }
.chat-msg__bubble {
    padding: 11px 15px; border-radius: 16px 16px 16px 4px;
    background: rgba(255,255,255,.75); color: var(--navy);
    font-size: 13.5px; line-height: 1.55;
    border: 1px solid rgba(255,255,255,.8);
    word-break: break-word;
}
.chat-msg--user .chat-msg__bubble {
    border-radius: 16px 16px 4px 16px;
    background: var(--hero-grad); color: #fff; border: none;
}
.chat-msg__time { font-size: 10px; color: var(--text); opacity: .6; margin-top: 4px; }
.chat-msg--user .chat-msg__time { text-align: right; }
.chat-lead-success {
    align-self: center; text-align: center;
    background: rgba(126,217,87,.14); border: 1px solid rgba(126,217,87,.35);
    border-radius: 14px; padding: 14px 20px;
}
.chat-lead-success__icon { font-size: 22px; }
.chat-lead-success__title { font-size: 14px; font-weight: 700; color: var(--navy); margin-top: 4px; }
.chat-lead-success__text { font-size: 12px; color: var(--text); margin-top: 2px; }
.chat-contact-form {
    align-self: stretch; background: rgba(255,255,255,.6);
    border: 1px solid var(--card-border); border-radius: 14px; padding: 14px;
}
.chat-contact-form__title { font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.chat-contact-form__input {
    width: 100%; padding: 11px 14px; margin-bottom: 8px;
    border: 1px solid rgba(108,92,231,.2); border-radius: 10px;
    font-size: 13px; color: var(--navy); background: #fff; outline: none;
}
.chat-contact-form__btn {
    width: 100%; padding: 11px; border-radius: 10px;
    background: var(--hero-grad); color: #fff; font-weight: 600; font-size: 13px;
}
.chat-contact-form__error { font-size: 12px; color: #E75C4E; }
.chat-panel__input-area {
    display: flex; gap: 10px; padding: 14px 16px;
    background: rgba(255,255,255,.5);
    border-top: 1px solid var(--card-border);
}
.chat-panel__input {
    flex: 1; padding: 12px 16px;
    border: 1px solid rgba(108,92,231,.18); border-radius: 999px;
    background: #fff; font-size: 13.5px; color: var(--navy); outline: none;
}
.chat-panel__input:focus { box-shadow: 0 0 0 3px rgba(108,92,231,.18); }
.chat-panel__send {
    width: 44px; height: 44px; border-radius: 50%; flex: none;
    background: var(--hero-grad); color: #fff;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 10px 22px rgba(110,120,240,.35);
    transition: transform .2s;
}
.chat-panel__send:hover { transform: scale(1.06); }
.chat-panel__send svg { width: 18px; height: 18px; }
.chat-panel__typing {
    display: flex; align-items: center; gap: 6px; padding: 8px 20px;
    font-size: 12px; color: var(--text);
}
.chat-panel__typing-dot {
    width: 6px; height: 6px; border-radius: 50%; background: var(--purple-light);
    animation: petrBlink 1.2s infinite;
}
.chat-panel__typing-dot:nth-child(2) { animation-delay: .2s; }
.chat-panel__typing-dot:nth-child(3) { animation-delay: .4s; }
@keyframes petrBlink { 0%, 70%, 100% { opacity: .3; } 35% { opacity: 1; } }

.consultant-panel {
    border-radius: var(--r-card);
    background: var(--form-grad);
    border: 1px solid rgba(255,255,255,.65);
    padding: 22px; text-align: center;
    display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.consultant-panel__photo-wrap {
    width: 150px; height: 150px; border-radius: 50%; overflow: hidden;
    background: rgba(255,255,255,.6);
    box-shadow: 0 0 0 5px rgba(255,255,255,.55), 0 16px 36px rgba(108,92,231,.25);
    position: relative;
}
.consultant-panel__photo, .consultant-panel__video { width: 100%; height: 100%; object-fit: cover; display: block; }
.consultant-panel__placeholder {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    color: var(--purple);
}
.consultant-panel__placeholder svg { width: 56px; height: 56px; }
.consultant-panel__cta-bubble {
    background: rgba(255,255,255,.8); border-radius: 14px; padding: 10px 16px;
    box-shadow: 0 10px 24px rgba(108,92,231,.14);
    font-size: 12px; letter-spacing: .5px;
}
.consultant-panel__cta-bubble strong { display: block; color: var(--purple); font-size: 13px; }
.consultant-panel__cta-bubble span { color: var(--text); }
.consultant-panel__name { font-size: 17px; font-weight: 800; color: var(--navy); }
.consultant-panel__role { font-size: 12px; color: var(--text); margin-top: -8px; }
.consultant-panel__heading { font-size: 15px; font-weight: 800; color: var(--navy); line-height: 1.35; }
.consultant-panel__timer { background: rgba(255,255,255,.7); border-radius: 12px; padding: 8px 14px; }
.consultant-panel__timer-label { font-size: 10px; color: var(--text); }
.consultant-panel__timer-digits { font-size: 18px; font-weight: 800; color: var(--purple); letter-spacing: 1px; }
.consultant-panel__timer-sep { opacity: .5; }
.consultant-panel__timer-digit { display: inline-block; min-width: 22px; }
.consultant-panel__btn {
    width: 100%; padding: 13px; border-radius: 999px;
    background: var(--hero-grad); color: #fff;
    font-size: 12px; font-weight: 700; letter-spacing: .4px;
    box-shadow: 0 12px 28px rgba(110,120,240,.35);
    transition: transform .25s;
}
.consultant-panel__btn:hover { transform: translateY(-2px); }
.consultant-panel__trust { display: flex; gap: 14px; font-size: 11px; color: var(--text); }
.consultant-panel__trust-item { color: #4E9413; font-weight: 600; }

.consultant-mobile-avatar { display: none; }

.chat-honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ============================================================================
   REVIEWS (main.js: #reviewsSlider, .reviews__track, .review-card)
   ============================================================================ */
.petr-reviews__slider {
    position: relative; overflow: hidden; margin-top: 34px;
}
.reviews__track { display: flex; gap: 20px; transition: transform .5s cubic-bezier(.4,0,.2,1); }
.review-card {
    flex: 0 0 calc(50% - 10px);
    border-radius: var(--r-card);
    padding: 26px 26px 22px;
    display: flex; flex-direction: column;
}
.review-card__stars { display: flex; gap: 3px; color: #F5B942; margin-bottom: 14px; }
.review-card__star { width: 17px; height: 17px; }
.review-card__star--empty { opacity: .25; }
.review-card__text { font-size: 13.5px; line-height: 1.7; color: var(--navy); flex: 1; }
.review-card__author { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.review-card__avatar {
    width: 44px; height: 44px; border-radius: 50%; flex: none;
    background: var(--hero-grad); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 15px; font-weight: 700;
}
.review-card__name { font-size: 14px; font-weight: 700; color: var(--navy); }
.review-card__niche { font-size: 12px; color: var(--text); }
.petr-reviews__dots { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.reviews__dot {
    width: 9px; height: 9px; border-radius: 50%;
    background: rgba(108,92,231,.25); transition: all .3s;
}
.reviews__dot.is-active { background: var(--purple); width: 26px; border-radius: 999px; }

/* ============================================================================
   BLOG PREVIEW (main.js: #blogPreviewGrid, .blog-preview-card)
   ============================================================================ */
.blog-preview__header { text-align: center; margin-bottom: 30px; }
.blog-preview__header .section-label {
    display: inline-block; padding: 6px 16px; border-radius: 999px;
    background: rgba(108,92,231,.10); color: var(--purple);
    font-size: 12px; font-weight: 600; margin-bottom: 14px;
}
.blog-preview__header .section-title { font-size: 30px; font-weight: 700; color: var(--navy); }
.blog-preview__header .section-title em { font-style: normal; color: #58B01C; }
.blog-preview__header .section-subtitle { margin-top: 10px; font-size: 14px; color: var(--text); }
.blog-preview__grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.blog-preview-card {
    border-radius: var(--r-card); overflow: hidden;
    display: flex; flex-direction: column;
    transition: transform .3s, box-shadow .3s;
}
.blog-preview-card:hover { transform: translateY(-6px); box-shadow: 0 24px 54px rgba(108,92,231,.2); }
.blog-preview-card__image { height: 170px; overflow: hidden; background: rgba(108,92,231,.08); }
.blog-preview-card__image img { width: 100%; height: 100%; object-fit: cover; }
.blog-preview-card__body { padding: 20px 22px; display: flex; flex-direction: column; flex: 1; }
.blog-preview-card__date { font-size: 11px; color: var(--text); opacity: .7; margin-bottom: 8px; }
.blog-preview-card__title { font-size: 15px; font-weight: 700; line-height: 1.4; margin-bottom: 8px; }
.blog-preview-card__title a { color: var(--navy); }
.blog-preview-card__title a:hover { color: var(--purple); }
.blog-preview-card__excerpt { font-size: 12.5px; line-height: 1.6; color: var(--text); }
.blog-preview-card__category {
    display: inline-block; margin-top: 12px; padding: 4px 12px;
    background: rgba(126,217,87,.16); color: #4E9413;
    border-radius: 999px; font-size: 11px; font-weight: 600;
    align-self: flex-start;
}
.blog-preview__cta { text-align: center; margin-top: 30px; }
.btn-outline {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 13px 30px; border-radius: 999px;
    background: rgba(255,255,255,.6);
    border: 1px solid var(--card-border);
    color: var(--navy); font-size: 14px; font-weight: 600;
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: 0 10px 26px rgba(108,92,231,.12);
    transition: transform .25s, box-shadow .25s;
}
.btn-outline:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(108,92,231,.2); }
.btn-outline--lg { padding: 15px 38px; font-size: 15px; }

/* ============================================================================
   FOOTER
   ============================================================================ */
.petr-footer { padding: 40px 0 30px; position: relative; z-index: 2; }
.petr-footer__inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 18px; flex-wrap: wrap;
    padding: 22px 30px; border-radius: var(--r-card);
}
.petr-footer__brand { display: flex; flex-direction: column; }
.petr-footer__copy { font-size: 12px; color: var(--text); }
.petr-footer__legal { display: flex; gap: 18px; flex-wrap: wrap; }
.petr-footer__legal a { font-size: 12px; color: var(--text); }
.petr-footer__legal a:hover { color: var(--purple); }

/* ============================================================================
   COOKIE
   ============================================================================ */
.cookie-banner {
    position: fixed; bottom: 18px; left: 50%; transform: translate(-50%, 130%);
    width: min(920px, calc(100% - 32px));
    background: rgba(255,255,255,.88);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    border-radius: 18px; box-shadow: var(--shadow);
    z-index: 1200; opacity: 0; transition: all .45s;
}
.cookie-banner.is-visible { transform: translate(-50%, 0); opacity: 1; }
.cookie-banner__inner {
    display: flex; align-items: center; justify-content: space-between; gap: 18px;
    padding: 16px 22px;
}
.cookie-banner__text { font-size: 12.5px; color: var(--text); line-height: 1.5; }
.cookie-banner__text a { color: var(--purple); text-decoration: underline; }
.cookie-banner__buttons { display: flex; gap: 10px; flex: none; }
.btn-primary {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 10px 22px; border-radius: 999px;
    background: var(--hero-grad); color: #fff;
    font-size: 13px; font-weight: 600;
    box-shadow: 0 10px 24px rgba(110,120,240,.3);
    transition: transform .25s;
}
.btn-primary:hover { transform: translateY(-2px); }
.btn-primary--sm { padding: 9px 18px; font-size: 12.5px; }
.btn-ghost {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 9px 18px; border-radius: 999px;
    background: rgba(255,255,255,.6); border: 1px solid var(--card-border);
    color: var(--navy); font-size: 12.5px; font-weight: 600;
}

/* ============================================================================
   АНИМАЦИИ ПОЯВЛЕНИЯ
   ============================================================================ */
.animate-on-scroll { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.animate-on-scroll.is-visible { opacity: 1; transform: translateY(0); }

/* ============================================================================
   ВНУТРЕННИЕ СТРАНИЦЫ (blog / article / privacy / soglasie)
   ============================================================================ */
.page-shell { padding: calc(var(--header-h) + 36px) 0 60px; position: relative; z-index: 2; }
.page-card {
    border-radius: var(--r-card);
    padding: 40px 44px;
}
.page-title { font-size: 30px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.page-subtitle { font-size: 14px; color: var(--text); }

/* блог */
.blog-filter { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin: 26px 0 34px; }
.blog-filter__btn {
    padding: 9px 20px; font-size: 13px; font-weight: 500;
    background: rgba(255,255,255,.6); border: 1px solid var(--card-border);
    border-radius: 999px; color: var(--text);
    transition: all .25s;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}
.blog-filter__btn:hover { border-color: var(--purple); color: var(--purple); }
.blog-filter__btn--active {
    background: var(--hero-grad); color: #fff; border-color: transparent; font-weight: 600;
    box-shadow: 0 10px 24px rgba(110,120,240,.3);
}
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.blog-card {
    border-radius: var(--r-card); overflow: hidden;
    transition: transform .3s, box-shadow .3s;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: 0 24px 54px rgba(108,92,231,.2); }
.blog-card__image { height: 180px; overflow: hidden; background: rgba(108,92,231,.08); display: flex; align-items: center; justify-content: center; color: var(--purple-light); }
.blog-card__image img { width: 100%; height: 100%; object-fit: cover; }
.blog-card__body { padding: 22px 24px; }
.blog-card__date { font-size: 11px; color: var(--text); opacity: .7; margin-bottom: 8px; }
.blog-card__title { font-size: 16px; font-weight: 700; line-height: 1.4; margin-bottom: 8px; text-transform: none; }
.blog-card__title a { color: var(--navy); }
.blog-card__title a:hover { color: var(--purple); }
.blog-card__excerpt { font-size: 13px; line-height: 1.6; color: var(--text); margin-bottom: 12px; }
.blog-card__tags { display: flex; gap: 8px; flex-wrap: wrap; }
.blog-card__tag {
    font-size: 11px; padding: 4px 12px;
    background: rgba(108,92,231,.10); color: var(--purple);
    border-radius: 999px; font-weight: 600;
}
.blog-empty { text-align: center; padding: 60px 20px; color: var(--text); }

/* статья */
.article-breadcrumb { font-size: 13px; color: var(--text); margin-bottom: 22px; }
.article-breadcrumb a { color: var(--purple); }
.article-header h1 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); font-weight: 700; color: var(--navy); line-height: 1.3; margin-bottom: 12px; }
.article-meta { display: flex; gap: 16px; font-size: 12px; color: var(--text); flex-wrap: wrap; }
.article-meta svg { width: 13px; height: 13px; vertical-align: middle; margin-right: 4px; }
.article-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.article-tag {
    font-size: 11px; padding: 4px 12px;
    background: rgba(108,92,231,.10); color: var(--purple);
    border-radius: 999px; font-weight: 600;
}
.article-thumbnail { margin: 26px 0; border-radius: 18px; overflow: hidden; }
.article-thumbnail img { width: 100%; border-radius: 18px; }
.article-content { line-height: 1.8; font-size: 15px; margin-top: 10px; }
.article-content h2 { font-size: 21px; font-weight: 700; margin: 30px 0 14px; color: var(--navy); }
.article-content h3 { font-size: 17px; font-weight: 700; margin: 22px 0 10px; color: var(--navy); }
.article-content p { margin-bottom: 15px; color: var(--text); }
.article-content ul { margin: 14px 0; padding-left: 22px; list-style: disc; }
.article-content li { margin-bottom: 7px; color: var(--text); }
.article-content img { max-width: 100%; border-radius: 12px; margin: 16px 0; }
.article-content a { color: var(--purple); text-decoration: underline; }
.article-content blockquote {
    border-left: 4px solid var(--green); padding: 14px 20px;
    background: rgba(126,217,87,.10); border-radius: 0 14px 14px 0;
    margin: 18px 0; font-style: italic; color: var(--text);
}
.article-back {
    display: inline-flex; align-items: center; gap: 8px;
    margin-top: 30px; padding: 12px 24px;
    background: rgba(255,255,255,.6); border: 1px solid var(--card-border);
    border-radius: 999px; color: var(--purple); font-weight: 600; font-size: 13px;
}
.article-back:hover { background: var(--hero-grad); color: #fff; }
.article-cta {
    margin-top: 44px; padding: 34px; text-align: center;
    background: var(--form-grad);
    border: 1px solid rgba(255,255,255,.65);
    border-radius: var(--r-card);
}
.article-cta h3 { font-size: 19px; font-weight: 800; text-transform: uppercase; color: var(--navy); margin-bottom: 8px; }
.article-cta p { color: var(--navy); opacity: .8; margin-bottom: 16px; font-size: 14px; }
.article-cta .btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 30px; background: var(--green-grad); color: #17330A; font-size: 14px; font-weight: 700; border-radius: 999px; box-shadow: 0 12px 28px rgba(126,217,87,.35); transition: transform .25s; }
.article-cta .btn:hover { transform: translateY(-2px); }

/* политика / согласие */
.faq-item__question { background: none; border: none; }
.faq-item__question:hover { color: var(--purple); }
.faq-item.is-open .faq-item__answer { max-height: 300px !important; }
.faq-item.is-open .faq-item__question span:last-child { transform: rotate(45deg); display: inline-block; transition: transform .3s; }
.faq-item .faq-item__answer p { padding: 0 22px 18px; font-size: 13px; line-height: 1.6; color: var(--text); }
.faq-item .faq-item__question span:last-child { transition: transform .3s; }

/* политика / согласие */
.privacy-page { max-width: 860px; margin: 0 auto; }
.privacy-content h1 { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.privacy-content h2 { font-size: 17px; font-weight: 700; margin: 28px 0 10px; color: var(--navy); }
.privacy-content p { font-size: 13.5px; color: var(--text); line-height: 1.8; margin-bottom: 13px; }
.privacy-content ul { margin: 10px 0 14px 20px; list-style: disc; }
.privacy-content li { font-size: 13.5px; color: var(--text); line-height: 1.8; margin-bottom: 5px; }
.privacy-content a { color: var(--purple); text-decoration: underline; }
.privacy-meta { font-size: 12px; color: var(--text); opacity: .75; margin-bottom: 26px; }
.privacy-content table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 13px; }
.privacy-content th, .privacy-content td { border: 1px solid rgba(108,92,231,.18); padding: 11px 13px; text-align: left; color: var(--text); }
.privacy-content th { background: rgba(108,92,231,.08); color: var(--navy); font-weight: 600; }

/* ============================================================================
   АДАПТИВ
   ============================================================================ */
@media (max-width: 1200px) {
    .petr-hero__grid { grid-template-columns: 250px 1fr 320px; }
    .petr-hero__photo { width: 230px; height: 290px; }
    .petr-hero__title { font-size: 40px; }
}
@media (max-width: 1024px) {
    .petr-nav { display: none; }
    .petr-burger { display: flex; }
    .petr-hero__grid { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 30px; }
    .petr-hero__photo { width: 220px; height: 270px; }
    .petr-hero__desc { margin-left: auto; margin-right: auto; }
    .petr-hero__btns { justify-content: center; }
    .petr-hero__mockups { width: 100%; max-width: 420px; }
    .petr-exp-badge { top: -14px; right: -4px; }
    .petr-advantages__card { grid-template-columns: repeat(2, 1fr); }
    .petr-problems__grid-wrap, .petr-steps__grid { grid-template-columns: 1fr; }
    .petr-problems__ill { margin-top: 8px; }
    .petr-get__grid { grid-template-columns: repeat(2, 1fr); }
    .petr-case-card { flex: 0 0 calc(33.333% - 12px); }
    .petr-final { grid-template-columns: 1fr; }
    .chat-layout { grid-template-columns: 1fr; }
    .consultant-panel { display: none; }
    .consultant-mobile-avatar {
        display: flex; width: 64px; height: 64px; border-radius: 50%;
        margin: -50px auto 18px; overflow: hidden; z-index: 5; position: relative;
        box-shadow: 0 0 0 4px rgba(255,255,255,.6), 0 12px 28px rgba(108,92,231,.25);
        background: rgba(255,255,255,.7);
    }
    .consultant-mobile-avatar img, .consultant-mobile-avatar video { width: 100%; height: 100%; object-fit: cover; }
    .blog-preview__grid { grid-template-columns: 1fr 1fr; }
    .petr-steps__row { flex-wrap: wrap; justify-content: center; gap: 20px; }
    .petr-step__arrow { display: none; }
    .petr-footer__inner { flex-direction: column; text-align: center; }
}
@media (max-width: 700px) {
    .petr-hero__title { font-size: 30px; }
    .sec-title { font-size: 24px; }
    .petr-advantages__card { grid-template-columns: 1fr; }
    .petr-stats__card { flex-direction: column; align-items: flex-start; gap: 16px; }
    .petr-problems__cards { grid-template-columns: 1fr; }
    .petr-get__grid { grid-template-columns: 1fr; }
    .petr-case-card { flex: 0 0 calc(50% - 9px); min-height: 230px; }
    .petr-case-ill { width: 60px; height: 48px; }
    .petr-case-ill__mon--a { width: 40px; height: 30px; right: 12px; }
    .petr-case-ill__mon--b { width: 24px; height: 18px; }
    .petr-step { width: 96px; }
    .blog-preview__grid { grid-template-columns: 1fr; }
    .review-card { flex: 0 0 100%; }
    .page-card { padding: 26px 20px; }
    .cookie-banner__inner { flex-direction: column; text-align: center; }
    .petr-about-card { flex-direction: column; text-align: center; }
    .petr-form-card__notes { flex-direction: column; gap: 8px; }
    .petr-bubble--1 { width: 140px; height: 140px; }
    .petr-bubble--2 { width: 100px; height: 100px; }
}
@media (max-width: 480px) {
    .petr-case-card { flex: 0 0 100%; }
    .petr-hero__btns .btn-hero, .petr-hero__btns .btn-video { width: 100%; justify-content: center; }
}
