/* Compiled CSS from main.scss */
/**
 * Manrope Local Fonts (WOFF2)
 */

@font-face {
    font-family: 'Manrope';
    src: url('../assets/fonts/manrope/Manrope-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Manrope';
    src: url('../assets/fonts/manrope/Manrope-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Manrope';
    src: url('../assets/fonts/manrope/Manrope-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Manrope';
    src: url('../assets/fonts/manrope/Manrope-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Manrope';
    src: url('../assets/fonts/manrope/Manrope-ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}



/* 2. Базовый класс для инлайновых SVG-иконок */
.sb-inline-svg { 
    width: 24px; 
    height: 24px; 
    fill: currentColor; 
    display: inline-block; 
    vertical-align: middle; 
}

/* ==========================================================================
   НАВИГАЦИЯ (HEADER NAV) - СТРОГИЙ БЭМ, БЕЗ SCSS ВЛОЖЕННОСТЕЙ
   ========================================================================== */

/* --- БАЗОВЫЕ СТИЛИ МЕНЮ --- */
.nav__list {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav__item {
    position: relative;
}

.header__nav-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    color: #1f2937;
    font-weight: 500;
    transition: color 0.2s ease;
}

.header__nav-link:hover {
    color: #6dbd0f;
}

/* Иконка-стрелка для пунктов с подменю */
.nav__item--has-children>.header__nav-link::after {
    content: 'expand_more';
    font-family: 'Material Symbols Outlined' !important;
    font-size: 18px;
    line-height: 1;
    transition: transform 0.3s ease;
}

/* --- ВЫПАДАЮЩЕЕ ПОДМЕНЮ (ДЕСКТОП) --- */
.nav__sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: #ffffff;
    padding: 10px 0;
    list-style: none;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin: 0;
    z-index: 999;
}

/* Ссылки внутри подменю (в Walker'e им тоже желательно добавить класс .nav__sub-link) */
.nav__sub-menu a {
    display: block;
    padding: 8px 16px;
    color: #374151;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.nav__sub-menu a:hover {
    background: #f3f4f6;
}

/* --- ЛОГИКА ДЕСКТОПА (от 1024px) --- */
@media (min-width: 1024px) {

    /* Скрываем мобильные элементы */
    .menu-toggle,
    .md-only {
        display: none !important;
    }

    /* Открытие подменю при наведении */
    .nav__item:hover>.nav__sub-menu {
        display: block;
        animation: fadeIn 0.2s ease;
    }

    /* Поворот стрелочки при наведении */
    .nav__item--has-children:hover>.header__nav-link::after {
        transform: rotate(180deg);
    }
}

/* --- ЛОГИКА МОБИЛЬНЫХ УСТРОЙСТВ (до 1023px) --- */
@media (max-width: 1023px) {

    /* Блокировка скролла страницы при открытом меню */
    body.no-scroll {
        overflow: hidden;
    }

    /* Скрываем десктопную кнопку */
    .desktop-only-btn {
        display: none !important;
    }

    /* Кнопка и бургер для мобилок */
    .md-only {
        display: flex;
    }

    /* Оверлей меню с аппаратным ускорением (GPU) */
    .header__nav {
        position: fixed;
        top: 4rem;
        /* Высота шапки .header__container */
        left: 0;
        width: 100%;
        height: calc(100vh - 4rem);
        background-color: #ffffff;
        z-index: 40;
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem 1.5rem;
        overflow-y: auto;

        /* Скрываем за правым краем экрана. Без display: none, чтобы избежать CLS! */
        transform: translateX(100%);
        visibility: hidden;
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s;
        will-change: transform;
    }

    /* АКТИВНОЕ СОСТОЯНИЕ (Добавляется через JS) */
    .header__nav.is-active {
        transform: translateX(0);
        visibility: visible;
    }

    /* Адаптация списка под мобилку */
    .nav__list {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 0;
    }

    .nav__item {
        width: 100%;
        border-bottom: 1px solid #f3f4f6;
    }

    .header__nav-link {
        width: 100%;
        padding: 1.25rem 0;
        font-size: 1.125rem;
        justify-content: space-between;
        /* Текст слева, стрелка справа */
    }

    /* Мобильное подменю (Аккордеон) */
    .nav__sub-menu {
        position: static;
        /* Возвращаем в поток документа */
        box-shadow: none;
        padding: 0 0 1rem 1.5rem;
        border-radius: 0;
        min-width: 100%;
        border-top: none;
    }

    /* Открытие аккордеона по клику (класс добавляет JS) */
    .nav__item--has-children.is-open>.nav__sub-menu {
        display: block;
        animation: fadeIn 0.3s ease;
    }

    .nav__item--has-children.is-open>.header__nav-link::after {
        transform: rotate(180deg);
    }

    /* Кнопка "Связаться" внутри мобильного меню */
    .header__nav .btn.md-only {
        margin-top: 2rem;
        width: 100%;
        justify-content: center;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

body {
    font-family: 'Manrope', sans-serif;
    background-color: #f7f8f6;
    color: #0B161E;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    transition: all 0.2s ease;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* Layout Components */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #f3f4f6;
}

.header__container {
    display: flex;
    height: 4rem;
    align-items: center;
    justify-content: space-between;
}

.header__logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.header__logo-icon {
    display: flex;
    height: 2rem;
    width: 2rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    background-color: #87ec13;
    color: #0B161E;
}

.header__logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.header__nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 768px) {
    .header__nav {
        display: flex;
    }
}

.header__nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: #4b5563;
}

.header__nav-link:hover {
    color: #6dbd0f;
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 2.5rem;
    padding: 0 1.5rem;
    font-size: 0.875rem;
    font-weight: 700;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.btn--primary {
    background-color: #87ec13;
    color: #0B161E;
}

.btn--primary:hover {
    background-color: #6dbd0f;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.btn--outline {
    border: 1px solid #e5e7eb;
    background-color: #ffffff;
    color: #374151;
}

.btn--outline:hover {
    border-color: #d1d5db;
    background-color: #f9fafb;
}

.btn--large {
    height: 3rem;
    padding: 0 2rem;
    font-size: 1rem;
    border-radius: 1rem;
}

.btn--hero-primary {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.btn--hero-primary:hover {
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    position: relative;
    overflow: hidden;
    padding: 3rem 0 5rem;
    max-width: 100vw;
}

@media (min-width: 1024px) {
    .hero {
        padding: 5rem 0 7rem;
    }
}

.hero__grid {
    display: grid;
    gap: 3rem;
    max-width: 100%;
}

@media (min-width: 1024px) {
    .hero__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        align-items: center;
    }
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    border-radius: 9999px;
    background-color: rgba(135, 236, 19, 0.1);
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #4F6734;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(135, 236, 19, 0.2);
    max-width: 100%;
    box-sizing: border-box;
}

.hero__badge-dot {
    margin-right: 0.25rem;
    height: 0.5rem;
    width: 0.5rem;
    border-radius: 9999px;
    background-color: #87ec13;
    flex-shrink: 0;
}

.hero__title {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: #0B161E;
    line-height: 1.2;
    overflow-wrap: break-word;
    word-break: break-word;
}

@media (max-width: 639px) {
    .hero__title {
        font-size: 1.75rem;
    }
}

@media (min-width: 640px) {
    .hero__title {
        font-size: 3rem;
    }
}

@media (min-width: 768px) {
    .hero__title {
        font-size: 3.75rem;
    }
}

.hero__title .highlight {
    position: relative;
    white-space: nowrap;
    color: #83d327;
}

@media (max-width: 639px) {
    .hero__title .highlight {
        white-space: normal;
    }
}

.hero__title .highlight svg {
    position: absolute;
    top: 66%;
    left: 0;
    height: 0.58em;
    width: 100%;
    fill: rgba(135, 236, 19, 0.3);
}

.hero__title .highlight span {
    position: relative;
}

.hero__text {
    margin-top: 1.5rem;
    font-size: 1.125rem;
    line-height: 1.625;
    color: #4b5563;
    max-width: 32rem;
}

.hero__btns {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 640px) {
    .hero__btns {
        flex-direction: row;
    }
}

.hero__social {
    margin-top: 2.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.hero__social-avatars {
    display: flex;
}

.hero__social-avatars img {
    display: inline-block;
    height: 2rem;
    width: 2rem;
    border-radius: 9999px;
    border: 2px solid #ffffff;
    object-fit: cover;
    margin-left: -0.5rem;
}

.hero__social-avatars img:first-child {
    margin-left: 0;
}

.hero__social-count {
    font-weight: 700;
    color: #0B161E;
}

.hero__image-wrapper {
    position: relative;
    width: 100%;
    border-radius: 1.5rem;
    overflow: hidden;
    background-color: #f3f4f6;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    aspect-ratio: 600 / 400;
}

@media (min-width: 1024px) {
    .hero__image-wrapper {
        aspect-ratio: auto;
        height: 100%;
    }
}

@media (max-width: 768px) {
    .hero__image-wrapper {
        height: 300px;
        /* Укажите точную высоту для мобильных */
        aspect-ratio: auto;
    }
}

.hero__image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero__image-wrapper .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
}

.stats-card {
    position: absolute;
    display: flex;
    bottom: 1.5rem;
    min-width: 200px;
    min-height: 80px;
    left: 1.5rem;
    right: 1.5rem;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    padding: 1rem;
    border-radius: 0.75rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.5);
    align-items: center;
    box-sizing: border-box;
}

@media (max-width: 639px) {
    .stats-card {
        left: 0.75rem;
        right: 0.75rem;
        bottom: 0.75rem;
        padding: 0.75rem;
        min-width: auto;
    }
}

.stats-card__content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.stats-card__icon {
    display: flex;
    height: 2.5rem;
    width: 2.5rem;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background-color: #f0fdf4;
    color: #16a34a;
}

.stats-card__label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #6b7280;
}

.stats-card__value {
    font-size: 1.125rem;
    font-weight: 700;
    color: #0B161E;
}

/* Advantages Section */
.advantages {
    background-color: #ffffff;
    padding: 5rem 0;
    border-top: 1px solid #f3f4f6;
}

.advantages__header {
    margin-bottom: 3rem;
    max-width: 48rem;
}

@media (min-width: 768px) {
    .advantages__header {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
}

.advantages__title {
    font-size: 1.875rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: #0B161E;
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .advantages__title {
        font-size: 2.25rem;
    }
}

.advantages__subtitle {
    font-size: 1.125rem;
    color: #4b5563;
}

.advantages__grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .advantages__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.advantages__card {
    position: relative;
    border-radius: 1.5rem;
    border: 1px solid #f3f4f6;
    background-color: #f7f8f6;
    padding: 2rem;
    transition: all 0.3s ease;
}

.advantages__card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: rgba(135, 236, 19, 0.3);
}

.advantages__card-icon {
    margin-bottom: 1.5rem;
    display: inline-flex;
    height: 3rem;
    width: 3rem;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    background-color: #ffffff;
    color: #87ec13;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.advantages__card:hover .advantages__card-icon {
    background-color: #87ec13;
    color: #0B161E;
}

.advantages__card-icon .material-symbols-outlined {
    font-size: 1.875rem;
}

.advantages__card-title {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #0B161E;
}

.advantages__card-text {
    color: #4b5563;
    line-height: 1.625;
}

/* How It Works */
.how-it-works {
    padding: 5rem 0;
    background-color: #f7f8f6;
}

.how-it-works__title {
    font-size: 1.875rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: #0B161E;
    margin-bottom: 3rem;
}

@media (min-width: 640px) {
    .how-it-works__title {
        font-size: 2.25rem;
    }
}

.how-it-works__steps {
    position: relative;
    display: grid;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .how-it-works__steps {
        grid-template-columns: repeat(4, 1fr);
    }

    .how-it-works__steps::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        height: 2px;
        width: 100%;
        background-color: #e5e7eb;
        transform: translateY(-50%);
        z-index: 0;
    }
}

.how-it-works__step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #ffffff;
    padding: 1.5rem;
    border-radius: 1.5rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    border: 1px solid #f3f4f6;
    z-index: 1;
    text-align: center;
}

.how-it-works__step-icon {
    margin-bottom: 1rem;
    display: flex;
    height: 4rem;
    width: 4rem;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background-color: #D8D2C6;
    color: #4F6734;
    border: 4px solid #ffffff;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.how-it-works__step--final .how-it-works__step-icon {
    background-color: #87ec13;
    color: #0B161E;
}

.how-it-works__step-icon .material-symbols-outlined {
    font-size: 1.875rem;
}

.how-it-works__step-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #0B161E;
    margin-bottom: 0.5rem;
}

.how-it-works__step-number {
    font-size: 0.875rem;
    color: #6b7280;
}

.how-it-works__step-text {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #4b5563;
}

/* Calculator Section */
.calculator {
    padding: 5rem 0;
    background-color: #0B161E;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.calculator__deco-1 {
    position: absolute;
    top: -5rem;
    right: -5rem;
    height: 24rem;
    width: 24rem;
    border-radius: 9999px;
    background-color: rgba(135, 236, 19, 0.1);
    filter: blur(64px);
}

.calculator__deco-2 {
    position: absolute;
    bottom: -5rem;
    left: -5rem;
    height: 16rem;
    width: 16rem;
    border-radius: 9999px;
    background-color: rgba(79, 103, 52, 0.2);
    filter: blur(64px);
}

.calculator__grid {
    position: relative;
    z-index: 10;
    display: grid;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .calculator__grid {
        grid-template-columns: repeat(2, 1fr);
        align-items: center;
    }
}

.calculator__title {
    font-size: 1.875rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
    .calculator__title {
        font-size: 2.25rem;
    }
}

.calculator__text {
    color: #d1d5db;
    font-size: 1.125rem;
    margin-bottom: 2rem;
    line-height: 1.625;
}

.calculator__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.calculator__list-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #e5e7eb;
}

.calculator__list-item .material-symbols-outlined {
    color: #87ec13;
}

.calculator__card {
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(4px);
    border-radius: 1.5rem;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.calculator__field {
    margin-bottom: 2rem;
}

.calculator__controls-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .calculator__controls-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.calculator__field--full {
    grid-column: 1 / -1;
}

.calculator__field-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #d1d5db;
    margin-bottom: 0.5rem;
}

.calculator__select {
    width: 100%;
    padding: 0.875rem 1rem;
    border-radius: 0.5rem;
    background-color: #f7f8f6;
    border: 1px solid #e5e7eb;
    color: #0B161E;
    font-family: inherit;
    font-size: 1rem;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236b7280'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.2rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.calculator__select:focus {
    outline: none;
    border-color: #87ec13;
    box-shadow: 0 0 0 3px rgba(135, 236, 19, 0.2);
}

.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 2rem; }

.calculator__checkbox-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 0.75rem;
}

@media (min-width: 640px) {
    .calculator__checkbox-group {
        grid-template-columns: repeat(3, 1fr);
    }
}

.calculator__checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #e5e7eb;
    font-size: 0.875rem;
    cursor: pointer;
    position: relative;
    padding-left: 1.75rem;
    user-select: none;
}

.calculator__checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.calculator__checkbox .checkmark {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    height: 1.25rem;
    width: 1.25rem;
    background-color: #374151;
    border-radius: 0.25rem;
    transition: background-color 0.2s;
}

.calculator__checkbox:hover input ~ .checkmark {
    background-color: #4b5563;
}

.calculator__checkbox input:checked ~ .checkmark {
    background-color: #87ec13;
}

.calculator__checkbox .checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.calculator__checkbox input:checked ~ .checkmark:after {
    display: block;
}

.calculator__checkbox .checkmark:after {
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid #0B161E;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.calculator__result {
    background-color: #ffffff;
    border-radius: 1rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .calculator__result {
        flex-direction: row;
        padding: 2rem;
    }
}

.calculator__result-info {
    text-align: center;
}

@media (min-width: 640px) {
    .calculator__result-info {
        text-align: left;
    }
}

.calculator__result-label {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0.25rem;
}

.calculator__result-price {
    font-size: 1.875rem;
    font-weight: 900;
    color: #0B161E;
}

.calculator__result-price-year {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0B161E;
}

.calculator__result-btn {
    width: 100%;
}

@media (min-width: 640px) {
    .calculator__result-btn {
        width: auto;
    }
}

/* Blog Section */
.blog {
    padding: 5rem 0;
    background-color: #ffffff;
}

.blog__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 3rem;
}

.blog__title {
    font-size: 1.875rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: #0B161E;
}

@media (min-width: 640px) {
    .blog__title {
        font-size: 2.25rem;
    }
}

.blog__view-all {
    display: none;
    align-items: center;
    color: #4F6734;
    font-weight: 700;
}

@media (min-width: 640px) {
    .blog__view-all {
        display: flex;
    }
}

.blog__view-all:hover {
    color: #0B161E;
}

.blog__view-all .material-symbols-outlined {
    margin-left: 0.25rem;
    font-size: 0.875rem;
}

.blog__grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .blog__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .blog__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.blog__card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 1.5rem;
    background-color: #ffffff;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    border: 1px solid #f3f4f6;
    transition: box-shadow 0.3s ease;
}

.blog__card:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.blog__card-image {
    height: 12rem;
    width: 100%;
    background-color: #e5e7eb;
    position: relative;
}

.blog__card-image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.blog__card-image .badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #0B161E;
}

.blog__card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
}

.blog__card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0B161E;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog__card-excerpt {
    margin-bottom: 1rem;
    flex: 1;
    color: #4b5563;
    font-size: 0.875rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog__card-link {
    display: inline-flex;
    align-items: center;
    font-size: 0.875rem;
    font-weight: 700;
    color: #6dbd0f;
}

.blog__card-link:hover {
    color: #0B161E;
}

.blog__card-link .material-symbols-outlined {
    margin-left: 0.25rem;
    font-size: 0.875rem;
}

.blog__mobile-footer {
    margin-top: 2rem;
    text-align: center;
}

@media (min-width: 640px) {
    .blog__mobile-footer {
        display: none;
    }
}

/* CTA Section */
.cta {
    padding: 5rem 1rem;
}

.cta__container {
    max-width: 64rem;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 1.5rem;
    background-color: #D8D2C6;
    padding: 4rem 1.5rem;
    text-align: center;
    position: relative;
}

@media (min-width: 640px) {
    .cta__container {
        padding: 6rem 4rem;
    }
}

.cta__deco-1 {
    position: absolute;
    top: 0;
    left: 0;
    height: 8rem;
    width: 8rem;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 9999px;
    transform: translate(-50%, -50%);
    filter: blur(24px);
}

.cta__deco-2 {
    position: absolute;
    bottom: 0;
    right: 0;
    height: 10rem;
    width: 10rem;
    background-color: rgba(135, 236, 19, 0.2);
    border-radius: 9999px;
    transform: translate(50%, 50%);
    filter: blur(24px);
}

.cta__content {
    position: relative;
    z-index: 10;
}

.cta__title {
    margin: 0 auto;
    max-width: 42rem;
    font-size: 1.875rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: #0B161E;
}

@media (min-width: 640px) {
    .cta__title {
        font-size: 2.25rem;
    }
}

.cta__text {
    margin: 1.5rem auto 0;
    max-width: 36rem;
    font-size: 1.125rem;
    line-height: 2rem;
    color: #374151;
}

.cta__actions {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

@media (min-width: 640px) {
    .cta__actions {
        flex-direction: row;
    }
}

.cta__actions .btn {
    width: 100%;
}

@media (min-width: 640px) {
    .cta__actions .btn {
        width: auto;
    }
}

/* Footer */
.footer {
    background-color: #f7f8f6;
    border-top: 1px solid #e5e7eb;
    padding: 3rem 0;
}

.footer__grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .footer__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer__brand {
    grid-column: span 1;
}

.footer__brand-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer__brand-logo .icon {
    display: flex;
    height: 1.5rem;
    width: 1.5rem;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    background-color: #87ec13;
    color: #0B161E;
}

.footer__brand-logo .icon .material-symbols-outlined {
    font-size: 0.875rem;
}

.footer__brand-logo .text {
    font-size: 1.125rem;
    font-weight: 700;
    color: #0B161E;
}

.footer__brand-text {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 1rem;
}

.footer__brand-social {
    display: flex;
    gap: 1rem;
}

.footer__brand-social a {
    color: #9ca3af;
}

.footer__brand-social a:hover {
    color: #0B161E;
}

.footer__brand-social svg {
    height: 1.5rem;
    width: 1.5rem;
}

.footer__nav-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #0B161E;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.footer__nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer__nav-list-link {
    font-size: 1rem;
    color: #6b7280;
}

.footer__nav-list-link:hover {
    color: #6dbd0f;
}

.footer__contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer__contact-list-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: #6b7280;
}

.footer__contact-list-item .material-symbols-outlined {
    color: #87ec13;
    font-size: 1.25rem;
    margin-top: 0.125rem;
}

.footer__bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

@media (min-width: 768px) {
    .footer__bottom {
        flex-direction: row;
    }
}

.footer__bottom-text {
    font-size: 1rem;
    color: #9ca3af;
}

/* Helper for mobile menu */
.md-only {
    display: flex;
}

@media (min-width: 768px) {
    .md-only {
        display: none;
    }
}

/* Pricing Section */
.pricing {
    padding: 5rem 0;
    background-color: #f7f8f6;
}

.pricing__header {
    text-align: center;
    max-width: 48rem;
    margin: 0 auto 4rem;
}

.pricing__title {
    font-size: 2.25rem;
    font-weight: 800;
    color: #0B161E;
    margin-bottom: 1rem;
}

.pricing__grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .pricing__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.pricing__card {
    background-color: #ffffff;
    border-radius: 1.5rem;
    padding: 3rem 2rem;
    border: 1px solid #f3f4f6;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.pricing__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: rgba(131, 211, 39, 0.3);
}

.pricing__card--popular {
    position: relative;
    border: 2px solid #83d327;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    transform: scale(1.05);
    z-index: 2;
}

.pricing__card--popular .pricing__card-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #83d327;
    color: #0B161E;
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 800;
    box-shadow: 0 4px 10px rgba(131, 211, 39, 0.3);
    white-space: nowrap;
}

@media (min-width: 768px) {
    .pricing__card--popular:hover {
        transform: scale(1.05) translateY(-8px);
    }
}

.pricing__card-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0B161E;
    margin-bottom: 0.5rem;
}

.pricing__card-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0B161E;
    margin-bottom: 1.5rem;
}

.pricing__card-price span {
    font-size: 1rem;
    font-weight: 500;
    color: #9ca3af;
}

.pricing__card-features {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.pricing__card-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    color: #4b5563;
}

.pricing__card-features li .material-symbols-outlined {
    color: #83d327;
    font-size: 1.25rem;
}

/* FAQ Section */
.faq {
    padding: 5rem 0;
    background-color: #ffffff;
}

.faq__title {
    font-size: 2.25rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 3rem;
}

.faq__list {
    max-width: 48rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq__item {
    border: 1px solid #f3f4f6;
    border-radius: 1rem;
    background-color: #ffffff;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq__item:hover {
    border-color: rgba(131, 211, 39, 0.5);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.faq__item[open] {
    border-color: #83d327;
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.05);
}

.faq__item[open] .faq__question {
    background-color: rgba(131, 211, 39, 0.05);
    color: #0B161E;
}

.faq__item[open] .faq__question .material-symbols-outlined {
    transform: rotate(180deg);
    color: #6dbd0f;
}

.faq__question {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.125rem;
    font-weight: 700;
    color: #0B161E;
    cursor: pointer;
    list-style: none;
    transition: all 0.2s ease;
}

.faq__question::-webkit-details-marker {
    display: none;
}

.faq__question .material-symbols-outlined {
    transition: transform 0.3s ease;
    color: #9ca3af;
    font-size: 1.5rem;
}

.faq__answer {
    padding: 0 2rem 1.5rem;
    color: #4b5563;
    line-height: 1.7;
    font-size: 1rem;
    border-top: 1px solid rgba(131, 211, 39, 0.05);
    background-color: rgba(131, 211, 39, 0.02);
}

/* Contact Page Styles */
.contact-page {
    padding: 5rem 0;
}

.contact-page__grid {
    display: grid;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .contact-page__grid {
        grid-template-columns: 1fr 1.5fr;
    }
}

.contact-page__info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-page__card {
    background-color: #ffffff;
    border-radius: 1.5rem;
    padding: 2.5rem;
    border: 1px solid #f3f4f6;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.contact-page__card--dark {
    background-color: #0B161E;
    color: #ffffff;
    border: none;
}

.contact-page__card--dark .contact-page__card-title {
    color: #ffffff;
}

.contact-page__card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #0B161E;
}

.contact-page__card-subtitle {
    color: #9ca3af;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.contact-page__urgent-btns {
    display: flex;
    gap: 1rem;
}

.contact-page__msg-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.25rem;
    border-radius: 0.75rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.contact-page__msg-btn--tg {
    background-color: #87ec13;
    color: #0B161E;
}

.contact-page__msg-btn--tg:hover {
    background-color: #79d610;
    transform: translateY(-2px);
}

.contact-page__msg-btn--wa {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.contact-page__msg-btn--wa:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
    transform: translateY(-2px);
}

.contact-page__form {
    display: grid;
    gap: 1.5rem;
}

.contact-page__form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-page__form-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
}

.contact-page__form-input,
.contact-page__form-textarea {
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    border: 1px solid #e5e7eb;
    background-color: #f9fafb;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.contact-page__form-input:focus,
.contact-page__form-textarea:focus {
    outline: none;
    border-color: #83d327;
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(131, 211, 39, 0.1);
}

.contact-page__form-textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-page__map {
    margin-top: 3rem;
    height: 450px;
    border-radius: 1.5rem;
    overflow: hidden;
    border: 1px solid #f3f4f6;
    background-color: #f3f4f6;
}

.contact-page__map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Hero Centered Variation */
.hero--centered {
    padding: 4rem 0 3rem;
    text-align: center;
}

.hero--centered .hero__content {
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero--centered .hero__badge {
    margin-left: auto;
    margin-right: auto;
}

.hero--centered .hero__text {
    margin-left: auto;
    margin-right: auto;
}

/* Blog Section */
.blog {
    padding: 2rem 0 5rem;
}

.blog__grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 640px) {
    .blog__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .blog__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.blog__card {
    background-color: #ffffff;
    border-radius: 1.5rem;
    overflow: hidden;
    border: 1px solid #f3f4f6;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: rgba(131, 211, 39, 0.3);
}

.blog__card:hover .blog__card-image img {
    transform: scale(1.1);
}

.blog__card-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.blog__card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog__card-image .badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: #83d327;
    color: #0B161E;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 2;
}

.blog__card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex-grow: 1;
}

.blog__card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0B161E;
    line-height: 1.4;
}

.blog__card-excerpt {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.6;
}

.blog__card-link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #6dbd0f;
    font-weight: 700;
    font-size: 0.875rem;
    text-decoration: none;
    transition: gap 0.2s ease;
}

.blog__card-link:hover {
    gap: 0.75rem;
}

.blog__card-link .material-symbols-outlined {
    font-size: 1.125rem;
}

/* Service Variation Styles */
.hero--split .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 991px) {
    .hero--split .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
}

.hero--split .hero__content {
    max-width: 100%;
    text-align: left;
}

@media (max-width: 991px) {
    .hero--split .hero__content {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

.hero--split .hero__image-wrapper {
    position: relative;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.hero--split .hero__image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

.hero--split .hero__image-wrapper .hero__floating-stats {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(109, 189, 15, 0.2);
}

.hero--split .hero__image-wrapper .hero__floating-stats .stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #1e3a04;
}

.hero--split .hero__image-wrapper .hero__floating-stats .stat-label {
    font-size: 0.875rem;
    color: #4b5563;
}

.about-section {
    padding: 6rem 0;
    background: #ffffff;
}

.about-section__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

@media (max-width: 991px) {
    .about-section__grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

.about-section__content .badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(109, 189, 15, 0.1);
    color: #1e3a04;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.about-section__content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0d1b2a;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.about-section__content p {
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1.125rem;
}

.about-section__features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

@media (max-width: 480px) {
    .about-section__features {
        grid-template-columns: 1fr;
    }
}

.about-section__feature-item {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.about-section__feature-item .material-symbols-outlined {
    color: #6dbd0f;
    font-weight: 700;
}

.about-section__feature-item h4 {
    font-weight: 700;
    color: #0d1b2a;
}

.stats-grid {
    padding: 4rem 0;
    background: #0d1b2a;
    color: #ffffff;
}

.stats-grid__container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

@media (max-width: 768px) {
    .stats-grid__container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .stats-grid__container {
        grid-template-columns: 1fr;
    }
}

.stats-grid__item .value {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: #6dbd0f;
    margin-bottom: 0.5rem;
}

.stats-grid__item .label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Knowledge Base Styles */
.kb {
    padding: 4rem 0 6rem;
}

.kb__search {
    max-width: 700px;
    margin: -3rem auto 4rem;
    position: relative;
    z-index: 10;
}

.kb__search-input {
    width: 100%;
    padding: 1.5rem 4rem 1.5rem 2rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: #ffffff;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    font-size: 1.125rem;
    outline: none;
    transition: border-color 0.2s;
}

.kb__search-input:focus {
    border-color: #6dbd0f;
}

.kb__search .material-symbols-outlined {
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 2rem;
}

.kb__categories {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 5rem;
}

.kb__category-card {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
}

.kb__category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: rgba(109, 189, 15, 0.3);
}

.kb__category-card:hover .icon {
    background: #6dbd0f;
    color: #0d1b2a;
}

.kb__category-card .icon {
    width: 60px;
    height: 60px;
    background: rgba(109, 189, 15, 0.1);
    color: #1e3a04;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.kb__category-card .icon .material-symbols-outlined {
    font-size: 2rem;
}

.kb__category-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0d1b2a;
}

.kb__category-card .count {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 600;
}

.kb__popular h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #0d1b2a;
    margin-bottom: 3rem;
    text-align: center;
}

.kb__popular-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

@media (max-width: 768px) {
    .kb__popular-grid {
        grid-template-columns: 1fr;
    }
}

.kb__popular-item {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    padding: 1.5rem;
    background: #ffffff;
    border-radius: 1rem;
    text-decoration: none;
    border: 1px solid transparent;
    transition: all 0.2s;
}

.kb__popular-item:hover {
    border-color: rgba(109, 189, 15, 0.2);
    background: rgba(109, 189, 15, 0.02);
}

.kb__popular-item:hover .material-symbols-outlined {
    transform: translateX(5px);
}

.kb__popular-item .text {
    font-weight: 600;
    color: #0d1b2a;
    flex-grow: 1;
}

.kb__popular-item .material-symbols-outlined {
    color: #6dbd0f;
    transition: transform 0.2s;
}

/* Article Styles - Premium Reading Experience */
.article {
    padding: 0;
    background: #fdfdfd;
}

.article__hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    background: #0d1b2a;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    margin-bottom: 4rem;
    padding: 4rem 0;
}

.article__hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(13, 27, 42, 0.8) 0%, rgba(13, 27, 42, 0.4) 50%, rgba(13, 27, 42, 0.9) 100%);
    z-index: 1;
}

.article__hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.6;
}

.article__hero .article__container {
    z-index: 2;
    text-align: center;
}

.article__container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
}

.article__back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 3rem;
    transition: color 0.2s;
}

.article__back:hover {
    color: #6dbd0f;
}

.article__back:hover .material-symbols-outlined {
    transform: translateX(-4px);
}

.article__back .material-symbols-outlined {
    font-size: 1.25rem;
    transition: transform 0.2s;
}

.article__meta {
    font-size: 0.875rem;
    color: #6dbd0f;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.article__meta::after,
.article__meta::before {
    content: "";
    height: 1px;
    width: 40px;
    background: rgba(109, 189, 15, 0.3);
}

.article__title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin: 0 auto;
    max-width: 900px;
}

@media (max-width: 768px) {
    .article__title {
        font-size: 2.5rem;
    }
}

.article__content {
    color: #2d3748;
    line-height: 1.8;
    font-size: 1.25rem;
    padding-bottom: 8rem;
}

@media (max-width: 768px) {
    .article__content {
        font-size: 1.125rem;
    }
}

.article__content h2 {
    font-size: 2.25rem;
    font-weight: 800;
    color: #0d1b2a;
    margin: 4.5rem 0 1.5rem;
    line-height: 1.3;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.article__content h2::before {
    content: "";
    width: 4px;
    height: 32px;
    background: #6dbd0f;
    border-radius: 2px;
}

.article__content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0d1b2a;
    margin: 3rem 0 1.25rem;
}

.article__content p {
    margin-bottom: 2rem;
}

.article__content ul,
.article__content ol {
    margin: 2.5rem 0;
    padding: 2.5rem;
    background: #f8fafc;
    border-radius: 1.5rem;
    list-style-position: inside;
}

.article__content li {
    margin-bottom: 1.25rem;
    color: #4a5568;
}

.article__content li::marker {
    color: #6dbd0f;
    font-weight: 800;
}

.article__content li:last-child {
    margin-bottom: 0;
}

.article__content blockquote {
    margin: 4rem 0;
    padding: 3rem;
    background: #0d1b2a;
    color: #ffffff;
    border-radius: 1.5rem;
    font-style: italic;
    font-size: 1.5rem;
    position: relative;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.article__content blockquote p {
    margin-bottom: 0;
    position: relative;
    z-index: 2;
}

.article__content blockquote::before {
    content: "“";
    position: absolute;
    top: -1rem;
    left: 1rem;
    font-size: 8rem;
    font-family: serif;
    color: rgba(109, 189, 15, 0.2);
    line-height: 1;
}

.article__content hr {
    border: none;
    border-top: 1px solid #e2e8f0;
    margin: 5rem 0;
}

.article__content strong {
    color: #0d1b2a;
    font-weight: 700;
}

.article__content a {
    color: #6dbd0f;
    text-decoration: none;
    border-bottom: 2px solid rgba(109, 189, 15, 0.2);
    font-weight: 600;
    transition: all 0.2s;
}

.article__content a:hover {
    border-bottom-color: #6dbd0f;
    background: rgba(109, 189, 15, 0.05);
}

.article__info-card {
    margin-top: 4rem;
    padding: 3rem;
    background: #ffffff;
    border-radius: 1.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(13, 27, 42, 0.05);
    display: flex;
    gap: 2rem;
    align-items: center;
}

@media (max-width: 600px) {
    .article__info-card {
        flex-direction: column;
        text-align: center;
    }
}

.article__info-card-avatar {
    width: 80px;
    height: 80px;
    background: rgba(109, 189, 15, 0.1);
    color: #1e3a04;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.article__info-card-avatar .material-symbols-outlined {
    font-size: 2.5rem;
}

.article__info-card-text h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0d1b2a;
    margin-bottom: 0.5rem;
}

.article__info-card-text p {
    font-size: 0.875rem;
    color: #9ca3af;
    margin-bottom: 0;
}

/* Knowledge Base Entry - Unified Template Styles */
.kb-entry {
    padding: 6rem 0 10rem;
    background: #fdfdfd;
}

.kb-entry__breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.kb-entry__breadcrumb a {
    color: #6dbd0f;
    text-decoration: none;
    font-weight: 600;
}

.kb-entry__breadcrumb a:hover {
    text-decoration: underline;
}

.kb-entry__breadcrumb .material-symbols-outlined {
    font-size: 1rem;
    color: #d1d5db;
}

.kb-entry__header {
    margin-bottom: 5rem;
}

.kb-entry__header h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: #0d1b2a;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.kb-entry__header h1 span {
    color: #6dbd0f;
}

.kb-entry__header p {
    font-size: 1.25rem;
    color: #4b5563;
    max-width: 800px;
    line-height: 1.6;
}

.kb-entry__grid {
    display: grid;
    grid-template-columns: 8fr 4fr;
    gap: 5rem;
}

@media (max-width: 991px) {
    .kb-entry__grid {
        grid-template-columns: 1fr;
    }
}

.kb-entry__content .definition-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.kb-entry__content .definition-list .item {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(13, 27, 42, 0.05);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.kb-entry__content .definition-list .item:hover {
    transform: translateX(10px);
    border-color: rgba(109, 189, 15, 0.3);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.kb-entry__content .definition-list .item:hover .item__number {
    background: #6dbd0f;
    color: #ffffff;
}

.kb-entry__content .definition-list .item__header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #0d1b2a;
}

.kb-entry__content .definition-list .item__number {
    width: 36px;
    height: 36px;
    background: rgba(109, 189, 15, 0.1);
    color: #6dbd0f;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 800;
    transition: all 0.2s;
}

.kb-entry__content .definition-list .item__text {
    font-size: 1.125rem;
    color: #4a5568;
    line-height: 1.7;
}

.kb-entry__sidebar .widget {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(13, 27, 42, 0.05);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 120px;
}

.kb-entry__sidebar .widget h4 {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0d1b2a;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f1f5f9;
}

.kb-entry__sidebar .widget ul {
    list-style: none;
    padding: 0;
}

.kb-entry__sidebar .widget ul li {
    margin-bottom: 0.75rem;
}

.kb-entry__sidebar .widget ul li:last-child {
    margin-bottom: 0;
}

.kb-entry__sidebar .widget ul li a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #6b7280;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
}

.kb-entry__sidebar .widget ul li a:hover {
    color: #6dbd0f;
    transform: translateX(5px);
}

.kb-entry__sidebar .widget ul li a::before {
    content: "arrow_forward";
    font-family: "Material Symbols Outlined";
    font-size: 1.1rem;
    opacity: 0.5;
}

/* ==========================================================================
   ПЛАВАЮЩИЕ КОНТАКТЫ (MULTI-CHANNEL FAB)
   ========================================================================== */
.floating-contact {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 50;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

/* --- ВЫПАДАЮЩЕЕ МЕНЮ (ИКОНКИ СВЯЗИ) --- */
.floating-contact__menu {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
    align-items: flex-end;

    /* Скрытое состояние: смещаем вниз, убираем кликабельность */
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, opacity;
}

.floating-contact.is-active .floating-contact__menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

/* --- ЭЛЕМЕНТЫ МЕНЮ --- */
.floating-contact__item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-contact__item:hover {
    transform: scale(1.1);
    color: #ffffff;
}

.floating-contact__item svg {
    width: 24px;
    height: 24px;
}

/* Цвета брендов */
.floating-contact__item--wa {
    background-color: #25D366;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}

.floating-contact__item--wc {
    background-color: #07C160;
    box-shadow: 0 4px 10px rgba(7, 193, 96, 0.3);
}

.floating-contact__item--gm {
    background-color: #EA4335;
    box-shadow: 0 4px 10px rgba(234, 67, 53, 0.3);
}

/* Подсказки (Tooltips) */
.floating-contact__tooltip {
    position: absolute;
    right: calc(100% + 1rem);
    /* Слева от иконки */
    background-color: #0B161E;
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.2s ease;
    pointer-events: none;
}

/* Треугольничек для tooltip */
.floating-contact__tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translateY(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent transparent #0B161E;
}

/* Показываем tooltip при наведении ТОЛЬКО на десктопах */
@media (min-width: 1024px) {
    .floating-contact__item:hover .floating-contact__tooltip {
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
    }
}

/* --- ОСНОВНАЯ КНОПКА (TOGGLE) --- */
.floating-contact__toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background-color: #0B161E;
    /* Темный цвет темы */
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(11, 22, 30, 0.3);
    border: none;
    cursor: pointer;
    position: relative;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

/* Анимация переключения иконок внутри кнопки */
.floating-contact__toggle .material-symbols-outlined {
    position: absolute;
    font-size: 28px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.floating-contact__toggle .floating-contact__icon-close {
    opacity: 0;
    transform: rotate(-90deg) scale(0.5);
}

.floating-contact.is-active .floating-contact__toggle .floating-contact__icon-open {
    opacity: 0;
    transform: rotate(90deg) scale(0.5);
}

.floating-contact.is-active .floating-contact__toggle .floating-contact__icon-close {
    opacity: 1;
    transform: rotate(0) scale(1);
}

/* Пульсация (отключается, когда меню открыто) */
.floating-contact__toggle::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    border: 2px solid #83d327;
    /* Зеленый акцент темы */
    animation: pulse-fab 2s infinite cubic-bezier(0.66, 0, 0, 1);
    z-index: -1;
    pointer-events: none;
}

.floating-contact.is-active .floating-contact__toggle::before {
    animation: none;
    display: none;
}

@keyframes pulse-fab {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* Адаптив для мобилок */
@media (max-width: 767px) {
    .floating-contact {
        bottom: 1.5rem;
        right: 1.5rem;
    }

    .floating-contact__toggle {
        width: 3.5rem;
        height: 3.5rem;
    }

    .floating-contact__toggle .material-symbols-outlined {
        font-size: 24px;
    }
}
/* ==========================================================================
   KNOWLEDGE BASE (БАЗА ЗНАНИЙ) - КОНСОЛИДИРОВАННЫЕ СТИЛИ
   ========================================================================== */

/* FIX STICKY: Разрешаем переполнение для липкого сайдбара только на страницах БЗ */
.single-knowledgebase, 
.single-knowledgebase body, 
.single-knowledgebase .page-wrapper { 
    overflow: visible !important; 
}

.kb-entry {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.kb-entry__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (min-width: 1024px) {
    .kb-entry__grid {
        grid-template-columns: 8fr 4fr;
        padding-top: 20px;
    }
}

.kb-entry__main {
    min-width: 0;
}

.kb-entry__header {
    padding-bottom: 20px;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.kb-entry__title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin: 0;
    color: #0B161E;
}

.kb-entry__content-body {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: #374151;
}

/* СТИКИ-САЙДБАР */
.kb-entry__sidebar {
    position: -webkit-sticky;
    position: sticky;
    top: 100px; /* С учетом липкой шапки */
    align-self: start;
    z-index: 999;
    background: #fff;
    padding: 30px;
    border-radius: 24px;
    border: 1px solid rgba(13,27,42,0.05);
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

@media (max-width: 1023px) {
    .kb-entry__sidebar {
        position: static;
        max-height: none;
        overflow-y: visible;
        margin-top: 40px;
    }
}
