#guest-promo-block {
    overflow-x: hidden;
    max-width: 100vw;
}

/* --- БАЗОВАЯ РАЗМЕТКА HERO --- */

@media (min-width: 992px) {
    .guest-hero .text-column.offset-lg-1 {
        margin-left: 5.83%;
    }

    .guest-hero .comparison-col {
        margin-left: 5.83%;
        max-width: 58.33%;
        padding-left: 2rem;
    }
}


.guest-hero {
    position: relative;
    width: 100%;

    background-position: center;
    background-repeat: no-repeat;
    background-color: #E8F3E8;
    display: flex;
    align-items: flex-start;
    padding-top: 18px;
    padding-bottom: 18px;
    overflow: hidden;
}

.hero-content-container {
    width: 100%;
    z-index: 2;
    position: relative;
}

.text-content-wrapper {
    padding: 2rem;
    color: #222;
}

/* --- ТЕКСТ И ЗАГОЛОВКИ --- */
.expert-badge {
    display: inline-block;
    border: 1.5px solid rgba(61, 114, 84, 0.35);
    padding: 8px 16px;
    border-radius: 12px;
    color: #3d7254 !important;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 25px;
    line-height: 1.25;
}
    .expert-badge .highlight {
        font-size: 1.3rem;
        font-weight: 800;
        color: #3d7254;
    }
.expert-badge .badge-highlight {
    font-size: 1.3rem;
    font-weight: 800;
    color: #1a4a2e !important;
    letter-spacing: 0.5px;
    display: inline;
    white-space: nowrap;
}


.hero-title {
    font-family: "Unbounded", "Inter", "Segoe UI", Arial, sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 0.5rem;
    text-transform: none;
    color: #2c2c2e !important;
    text-shadow: none;
}

    .hero-title span.highlight {
        color: #FFD700 !important;
    }

.hero-title-2 {
    font-family: "Unbounded", "Inter", "Segoe UI", Arial, sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #2c2c2e;
    text-shadow: none;
}

    .hero-title-2 .highlight {
        display: inline-block;
        background: #2ecc71;
        color: #ffffff;
        padding: 0px 12px 3px;
        border-radius: 10px;
        line-height: 1.25;
        text-shadow: none;
        vertical-align: baseline;
    }

.hero-subtitle {
    color: #222;
}

/* --- КНОПКИ --- */
.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
    margin-bottom: 1.5rem;
}

/* Fix: transition: all → конкретные свойства. "all" анимирует width/height/padding
   при смене размера экрана и помечается culprit в CLS-трассировке. */
.btn-main-cta {
    background: #2ecc71;
    color: #fff;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.1rem;
    text-decoration: none !important;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 30px rgba(46, 204, 113, 0.3);
}

    .btn-main-cta:hover {
        background: #27ae60;
        transform: translateY(-3px);
    }

.btn-secondary-cta {
    background: rgba(61, 114, 84, 0.08);
    border: 2px solid #3d7254;
    color: #214430;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

    .btn-secondary-cta:hover {
        background: rgba(61, 114, 84, 0.18);
        border-color: #214430;
        color: #214430;
    }

.btn-cta-label {
    color: #fff;
    text-shadow:
        0 1px 2px rgba(0, 60, 20, 0.5),
        0 0 8px rgba(0, 0, 0, 0.2);
}

.free-disclaimer {
    font-size: 0.85rem;
    color: #2c2c2e;
    margin-top: 8px;
}

/* --- ТАБЛИЦА СРАВНЕНИЯ --- */
.comparison-section {
    margin-top: 20px;
    margin-bottom: 20px;
}

/* Fix: добавлен min-height для резервации пространства — убирает CLS 0.106. */
.comparison-block {
    display: flex;
    position: relative;
    max-width: 620px;
    min-height: 180px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgb(50, 50, 50);
    background: rgba(30,30,30,0.9);
    font-size: 0.82rem;
    contain: layout style;
}

.comparison-column {
    padding: 20px;
    flex: 1;
    width: 50%;
}

    .comparison-column.foodartistry {
        background: #44d983;
    }

.comparison-divider {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: #2a2a2a;
    color: #fff;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    border: 3px solid #1c1c1c;
    z-index: 5;
}

.comp-item-new {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.4);
}

/* =====================================================
   PHONE FRAME — ПОЛНОСТЬЮ ПЕРЕРАБОТАННАЯ МОДЕЛЬ (CLS 0)
   =======================================================
   Старая модель: контейнер = экран, рамка вылезала за границы (top:-7%, width:112%)
   Новая модель:  контейнер = вся рамка, экран вписан внутрь по безелям.
   Результат: нет отрицательных %, нет overflow:visible, нет content-visibility:auto.
   ===================================================== */
.video-col-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    padding: 20px;
    min-height: 620px;
    contain: layout style;
}

.phone-style-player.phone-frame {
    position: relative;
    /* Контейнер = полный размер телефона включая рамку */
    width: 90%;
    max-width: 358px;
    aspect-ratio: 9 / 16;
    /* overflow:hidden вместо visible — предотвращает CLS от выпадающего контента */
    overflow: hidden;
    filter: drop-shadow(0 0 40px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 80px rgba(0, 0, 0, 0.5));
    /* contain: жёсткая изоляция — дочерние элементы не могут сдвигать внешний layout */
    contain: layout style paint;
}

/* Рамка телефона — заполняет контейнер ровно на 100%, без отрицательных смещений */
.phone-frame__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    pointer-events: none;
    object-fit: fill;
    /* content-visibility: auto УБРАН — он откладывает рендеринг и вызывает shift */
}

/* Экран — вписан в контейнер с отступами по безелям.
   Увеличены top/bottom с 1.2% до 3%, left/right с 3.8% до 4.5%,
   border-radius с 24px до 28px — теперь экран точно внутри рамки. */
.phone-frame__screen {
    position: absolute;
    top: 3%;
    left: 4.5%;
    right: 4.5%;
    bottom: 3%;
    z-index: 1;
    overflow: hidden;
    border-radius: 28px;
    background: #000;
}

    .phone-frame__screen iframe,
    .phone-frame__screen video,
    .phone-frame__screen .youtube-lazy-container {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        border: none !important;
    }

.social-link-under-video {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: 50px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    margin-bottom: 20px;
}

.hidden {
    display: none !important;
}

/* 1. MANUAL ROUTINE и пункты — белый */
.comparison-column.manual,
.comparison-column.manual .card-header,
.comparison-column.manual .item-info,
.comparison-column.manual .item-value,
.comparison-column.manual .comp-item-new span,
.comparison-column.manual .comp-item-new .value-main {
    color: #fff !important;
}

/* 2. 1 sec (auto) — выступает вперёд */
.comparison-column.foodartistry .comp-item-new:last-child .value-main {
    color: #fff !important;
    font-weight: 900;
    font-size: 0.85rem;
    text-shadow:
        0 1px 0 rgba(0, 0, 0, 0.3),
        0 3px 6px rgba(0, 0, 0, 0.35),
        0 6px 20px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.3px;
}

/* ТОЛЬКО заголовок FOOD ARTISTRY */
.comparison-column.foodartistry .card-header span {
    color: #0f2e1a !important;
    font-weight: 800;
    text-shadow:
        0 1px 0 rgba(255, 255, 255, 0.4),
        0 0 10px rgba(255, 255, 255, 0.15);
}

/* Fix: gold-pulse переведён на opacity вместо text-shadow.
   text-shadow вызывает Paint на каждом кадре.
   opacity — compositor-only, нулевая нагрузка на Main thread. */
@keyframes gold-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* --- FEATURE LIST --- */
.hero-feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.hero-feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 0;
    color: #214430;
    font-size: 1rem;
    font-weight: 600;
    /* Резервация высоты строки — чтобы замена шрифта иконки не сдвигала текст */
    min-height: 1.5em;
}

.hero-feature-list li i {
    color: #2ecc71;
    font-size: 1.15rem;
    flex-shrink: 0;
    /* Fix: фиксированный размер для иконки — предотвращает CLS при font swap */
    width: 1.15em;
    height: 1.15em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* --- ЗЕЛЁНАЯ КОЛОНКА — усиленный текст --- */
.comparison-column.foodartistry .comp-item-new span,
.comparison-column.foodartistry .item-info span,
.comparison-column.foodartistry .value-main {
    color: #0f2e1a;
    font-weight: 700;
    text-shadow:
        0 1px 0 rgba(255, 255, 255, 0.4),
        0 0 10px rgba(255, 255, 255, 0.15);
}

.item-info {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    flex-shrink: 0;
    min-width: 0;
}

.item-info span {
    white-space: nowrap;
}

.item-value {
    flex-shrink: 0;
    text-align: right;
    padding-left: 8px;
}

.comp-icon {
    flex-shrink: 0;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.comparison-column.foodartistry .comp-icon {
    filter: brightness(0);
}

/* --- MOBILE --- */

@media (max-width: 767.98px) {
    .guest-hero {
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .guest-hero .hero-content-container {
        padding-left: 4px;
        padding-right: 4px;
    }

    .text-content-wrapper {
        padding: 0.75rem 0.25rem;
    }

    .hero-title {
        font-size: 2.2rem;
        word-break: break-word;
        overflow-wrap: break-word;
    }

    .hero-title-2 {
        font-size: 1.4rem;
        word-break: break-word;
        overflow-wrap: break-word;
    }

    .expert-badge {
        font-size: 0.78rem;
        padding: 6px 10px;
    }

    .expert-badge .badge-highlight {
        font-size: 0.95rem;
        white-space: normal;
    }

    .hero-feature-list li {
        font-size: 0.9rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-main-cta,
    .btn-secondary-cta {
        padding: 12px 20px;
        font-size: 0.95rem;
        text-align: center;
        justify-content: center;
        width: 100%;
        box-sizing: border-box;
    }

    .comparison-block {
        max-width: 100%;
        min-height: 160px;
    }

    .comparison-column {
        padding: 12px 8px;
    }

    .comparison-column.foodartistry .comp-item-new:nth-child(2) .item-value {
        padding-left: 22px;
    }

    .comp-item-new {
        flex-wrap: wrap;
        gap: 2px;
        padding: 8px 0;
    }

    .item-info span {
        white-space: normal;
        font-size: 0.82rem;
    }

    .item-value .value-main {
        font-size: 0.82rem;
    }

    .video-col-center {
        padding: 10px;
        margin-bottom: 20px;
        min-height: 480px;
    }

    .free-disclaimer {
        margin-bottom: 26px;
    }

    .phone-style-player.phone-frame {
        max-width: 290px;
    }
}


/* =====================================================
   VALUE PROPOSITION SECTION
   ===================================================== */

.fa-value-section {
    background: #E8F3E8;
    padding: 0 24px;
    text-align: center;
}

.fa-value-inner {
    max-width: 720px;
    margin: 0 auto;
}

.fa-value-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #2c2c2e;
    line-height: 1.1;
    margin-bottom: 1.2rem;
    font-family: "Unbounded", "Inter", "Segoe UI", Arial, sans-serif;
}

.fa-value-desc {
    font-size: 1.05rem;
    color: #214430;
    line-height: 1.7;
    margin-bottom: 2.2rem;
    font-weight: 500;
}

/* Fix: transition: all → конкретные свойства */
.fa-value-btn {
    display: inline-block;
    background: #2ecc71;
    color: #fff;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.05rem;
    text-decoration: none !important;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 30px rgba(46, 204, 113, 0.3);
}

.fa-value-btn:hover {
    background: #27ae60;
    transform: translateY(-3px);
    color: #fff;
}

@media (max-width: 767.98px) {
    .fa-value-section {
        padding: 44px 16px;
    }

    .fa-value-title {
        font-size: 1.8rem;
        word-break: break-word;
    }

    .fa-value-desc {
        font-size: 0.95rem;
    }

    .fa-value-btn {
        padding: 13px 28px;
        font-size: 0.95rem;
        width: 100%;
        box-sizing: border-box;
        text-align: center;
    }
}
