@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Roboto+Condensed:wght@400;700&display=swap');

html {
    scroll-behavior: smooth;
}

:root {
    --color-accent: #01BD2A;
    --color-background: #FFFFFF;
    --color-border: #E0E0E0;
    --color-dark: #0E0E0E;
    --color-muted: #6B6B6B;
    --color-surface: #F5F5F5;
    --color-text-on-accent: #FFFFFF;

    --font-body: 'Manrope', sans-serif;
    --font-heading: 'Roboto Condensed', sans-serif;

    --container-max-width: 1420px;
    --container-section: 40px;

    --grid-columns: 12;
    --grid-gap: 20px;
}

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

/* ─── Layout ─────────────────────────────────────────── */
section {
    width: 100%;
    padding-left: var(--container-section);
    padding-right: var(--container-section);
}

.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin-left: auto;
    margin-right: auto;
}

/* ─── Container full-width ───────────────────────────── */
.container--full {
    max-width: 100%;
}

/* ─── Grid ───────────────────────────────────────────── */
.grid {
    display: grid;
    grid-template-columns: repeat(var(--grid-columns), 1fr);
    gap: var(--grid-gap);
}

/* ─── Margin Top Utilities ───────────────────────────── */
.mt-4   { margin-top: 4px; }
.mt-8   { margin-top: 8px; }
.mt-12  { margin-top: 12px; }
.mt-16  { margin-top: 16px; }
.mt-20  { margin-top: 20px; }
.mt-24  { margin-top: 24px; }
.mt-32  { margin-top: 32px; }
.mt-40  { margin-top: 40px; }
.mt-48  { margin-top: 48px; }
.mt-60  { margin-top: 60px; }
.mt-80  { margin-top: 80px; }
.mt-100 { margin-top: 100px; }
.mt-120 { margin-top: 120px; }
.mt-160 { margin-top: 160px; }

/* ─── Buttons ────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
    white-space: nowrap;
    text-decoration: none;
}

.btn--accent {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-text-on-accent);
}

.btn--accent:hover {
    background-color: #00a825;
    border-color: #00a825;
}

.btn--outline {
    background-color: transparent;
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.btn--outline:hover {
    background-color: var(--color-accent);
    color: var(--color-text-on-accent);
}

/* ─── Header ─────────────────────────────────────────── */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--color-background);
    border-bottom: 1px solid var(--color-border);
}

.header__section {
    padding-top: 0;
    padding-bottom: 0;
}

.header__inner {
    display: flex;
    align-items: center;
    gap: 40px;
    height: 72px;
}

.header__logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.header__logo img {
    display: block;
}

.header__nav {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-right: auto;
}

.header__nav-link {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    color: var(--color-dark);
    text-decoration: none;
    transition: color 0.2s;
}

.header__nav-link:hover {
    color: var(--color-accent);
}

.header__burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-left: auto;
}

.header__burger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-dark);
    border-radius: 2px;
    transition: transform 0.2s, opacity 0.2s;
}

/* ─── Badge ──────────────────────────────────────────── */
.badge {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    color: var(--color-accent);
    background-color: rgba(1, 189, 42, 0.08);
    border: 1px solid rgba(1, 189, 42, 0.25);
    border-radius: 100px;
    padding: 6px 14px;
}

/* ─── Hero ───────────────────────────────────────────── */
.hero {
    padding-top: 80px;
    padding-bottom: 80px;
}

.hero__grid {
    align-items: center;
}

.hero__content {
    grid-column: span 6;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero__title {
    font-family: var(--font-heading);
    font-size: 64px;
    font-weight: 700;
    line-height: 1.05;
    color: var(--color-dark);
    text-transform: uppercase;
}

.hero__text {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-muted);
    max-width: 480px;
}

.hero__visual {
    grid-column: span 6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero__visual img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-lg);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

.hero__placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
    background-color: var(--color-surface);
    border-radius: 16px;
    border: 1px solid var(--color-border);
}

/* ─── Categories ─────────────────────────────────────── */
.categories {
    padding-top: 80px;
    padding-bottom: 80px;
}

.categories__grid {
    row-gap: 20px;
}

.category-card {
    grid-column: span 4;
    display: flex;
    flex-direction: column;
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 24px 24px 0;
    overflow: hidden;
    text-decoration: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.category-card:hover {
    border-color: var(--color-accent);
    box-shadow: 0 4px 20px rgba(1, 189, 42, 0.1);
}

.category-card__name {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--color-dark);
    text-transform: uppercase;
    transition: color 0.2s;
}

.category-card:hover .category-card__name {
    color: var(--color-accent);
}

.category-card__img {
    margin-top: 24px;
    width: 100%;
    height: 160px;
    background-color: var(--color-border);
    border-radius: 8px 8px 0 0;
}

/* ─── Section Title ──────────────────────────────────── */
.section-title {
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 700;
    color: var(--color-dark);
    text-transform: uppercase;
}

/* ─── How it works ───────────────────────────────────── */
.how {
    padding-top: 80px;
    padding-bottom: 80px;
    background-color: var(--color-surface);
}

.how__grid {
    align-items: start;
}

.how-step {
    grid-column: span 4;
    display: flex;
    flex-direction: column;
}

.how-step__number {
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 700;
    line-height: 1;
    color: var(--color-accent);
}

.how-step__title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--color-dark);
    text-transform: uppercase;
}

.how-step__desc {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-muted);
}

/* ─── Demo ───────────────────────────────────────────── */
.demo {
    padding-top: 80px;
    padding-bottom: 80px;
    background-color: var(--color-surface);
}

.demo__grid {
    align-items: center;
}

.demo__info {
    grid-column: span 5;
}

.demo__desc {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-muted);
    max-width: 400px;
}

.demo__themes-label {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    color: var(--color-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.demo__themes-list {
    display: flex;
    align-items: center;
    gap: 12px;
}

.theme-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color), var(--color2));
    border: 3px solid transparent;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
    outline: none;
}

.theme-btn:hover {
    transform: scale(1.15);
}

.theme-btn.is-active {
    box-shadow: 0 0 0 2px var(--color-background), 0 0 0 4px var(--color);
}

.demo__widget {
    grid-column: span 7;
}

/* ─── Calc Widget ─────────────────────────────────────── */
.calc-widget {
    --calc-accent: #01BD2A;
    --calc-gradient: linear-gradient(135deg, #01BD2A, #00875F);
    background-color: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    overflow: hidden;
}

.calc-widget__header {
    padding: 24px 28px;
    border-bottom: 1px solid var(--color-border);
    background: var(--calc-gradient);
}

.calc-widget__title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
}

.calc-widget__subtitle {
    font-family: var(--font-body);
    font-size: 13px;
    color: rgba(255,255,255,0.75);
    margin-top: 4px;
}

.calc-widget__body {
    padding: 28px;
}

.calc-field__label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 12px;
}

.calc-field__value {
    font-weight: 700;
    color: var(--calc-accent);
}

/* Range */
.calc-range {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 4px;
    border-radius: 4px;
    background: linear-gradient(to right, var(--calc-accent) var(--fill, 31%), var(--color-border) var(--fill, 31%));
    outline: none;
    cursor: pointer;
}

.calc-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--calc-accent);
    border: 3px solid var(--color-background);
    box-shadow: 0 0 0 1px var(--calc-accent);
    cursor: pointer;
    transition: transform 0.15s;
}

.calc-range::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.calc-range::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--calc-accent);
    border: 3px solid var(--color-background);
    box-shadow: 0 0 0 1px var(--calc-accent);
    cursor: pointer;
}

.calc-range__marks {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--color-muted);
}

/* Toggle */
.calc-toggle {
    display: flex;
    background-color: var(--color-surface);
    border-radius: 10px;
    padding: 4px;
    gap: 4px;
}

.calc-toggle__btn {
    flex: 1;
    padding: 9px 8px;
    border: none;
    border-radius: 7px;
    background: none;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    color: var(--color-muted);
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
    white-space: nowrap;
}

.calc-toggle__btn.is-active {
    background-color: var(--calc-accent);
    color: #fff;
    font-weight: 600;
}

/* Checkboxes */
.calc-checks {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.calc-check {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.calc-check input {
    display: none;
}

.calc-check__box {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    border-radius: 5px;
    border: 2px solid var(--color-border);
    background-color: var(--color-background);
    transition: background-color 0.15s, border-color 0.15s;
    position: relative;
}

.calc-check__box::after {
    content: '';
    position: absolute;
    inset: 0;
    margin: auto;
    width: 10px;
    height: 7px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg) translateY(-1px);
    opacity: 0;
    transition: opacity 0.15s;
}

.calc-check input:checked + .calc-check__box {
    background-color: var(--calc-accent);
    border-color: var(--calc-accent);
}

.calc-check input:checked + .calc-check__box::after {
    opacity: 1;
}

.calc-check__text {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--color-dark);
}

.calc-check__extra {
    font-size: 12px;
    color: var(--color-muted);
    margin-left: 4px;
}

/* Summary */
.calc-summary {
    background-color: var(--color-surface);
    border-radius: 12px;
    padding: 16px 20px;
}

.calc-summary__title {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    color: var(--color-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.calc-summary__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.calc-summary__item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--color-dark);
}

.calc-summary__item::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--calc-accent);
    flex-shrink: 0;
}

.calc-summary__item span {
    color: var(--color-muted);
    margin-left: auto;
}

/* Result */
.calc-result {
    background-color: var(--color-surface);
    border-radius: 12px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.calc-result__label {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--color-muted);
}

.calc-result__value {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    color: var(--calc-accent);
    line-height: 1;
}

/* ─── Blog ───────────────────────────────────────────── */
.blog-section {
    padding-top: 80px;
    padding-bottom: 80px;
}

.blog-section__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.blog-card {
    grid-column: span 4;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.blog-card:hover {
    border-color: var(--color-accent);
    box-shadow: 0 4px 20px rgba(1, 189, 42, 0.1);
}

.blog-card__cover {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: var(--color-surface);
    flex-shrink: 0;
    overflow: hidden;
}

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

.blog-card__body {
    display: flex;
    flex-direction: column;
    padding: 20px;
    flex: 1;
}

.blog-card__meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.blog-card__category {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    color: var(--color-accent);
    background-color: rgba(1, 189, 42, 0.08);
    border: 1px solid rgba(1, 189, 42, 0.25);
    border-radius: 100px;
    padding: 4px 10px;
    white-space: nowrap;
}

.blog-card__date {
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--color-muted);
}

.blog-card__title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
}

.blog-card__title a {
    color: var(--color-dark);
    text-decoration: none;
    transition: color 0.2s;
}

.blog-card__title a:hover {
    color: var(--color-accent);
}

.blog-card__desc {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-muted);
}

/* ─── FAQ ────────────────────────────────────────────── */
.faq {
    padding-top: 80px;
    padding-bottom: 80px;
}

.faq__list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--color-border);
}

.faq-item {
    border-bottom: 1px solid var(--color-border);
}

.faq-item__question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-body);
    font-size: 17px;
    font-weight: 600;
    color: var(--color-dark);
    transition: color 0.2s;
}

.faq-item__question:hover {
    color: var(--color-accent);
}

.faq-item__icon {
    flex-shrink: 0;
    color: var(--color-muted);
    transition: transform 0.25s;
}

.faq-item.is-open .faq-item__icon {
    transform: rotate(180deg);
}

.faq-item.is-open .faq-item__question {
    color: var(--color-accent);
}

.faq-item__answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease;
}

.faq-item.is-open .faq-item__answer {
    grid-template-rows: 1fr;
}

.faq-item__answer-inner {
    overflow: hidden;
}

.faq-item__answer p {
    padding-bottom: 24px;
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-muted);
    max-width: 760px;
}

/* ─── Footer ─────────────────────────────────────────── */
.footer {
    border-top: 1px solid var(--color-border);
    margin-top: auto;
}

.footer__top {
    padding-top: 40px;
    padding-bottom: 40px;
}

.footer__main {
    align-items: center;
}

.footer__logo {
    grid-column: span 2;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.footer__logo img {
    display: block;
}

.footer__nav {
    grid-column: span 8;
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer__nav-link {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    color: var(--color-muted);
    text-decoration: none;
    transition: color 0.2s;
    white-space: nowrap;
}

.footer__nav-link:hover {
    color: var(--color-accent);
}

.footer__action {
    grid-column: span 2;
    display: flex;
    justify-content: flex-end;
}

.footer__bottom {
    border-top: 1px solid var(--color-border);
    padding-top: 20px;
    padding-bottom: 20px;
}

.footer__legal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.footer__copy {
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--color-muted);
}

.footer__legal-links {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.footer__legal-link {
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--color-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.footer__legal-link:hover {
    color: var(--color-dark);
}

/* ─── Breadcrumb ─────────────────────────────────────── */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 13px;
}

.breadcrumb__link {
    color: var(--color-muted);
    text-decoration: none;
    transition: color 0.2s;
}

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

.breadcrumb__sep {
    color: var(--color-border);
}

.breadcrumb__current {
    color: var(--color-dark);
    font-weight: 500;
}

/* ─── Page Hero ───────────────────────────────────────── */
.page-hero {
    padding-top: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--color-border);
}

.page-hero__title {
    font-family: var(--font-heading);
    font-size: 52px;
    font-weight: 700;
    color: var(--color-dark);
    text-transform: uppercase;
    line-height: 1;
}

.page-hero__desc {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--color-muted);
    line-height: 1.6;
}

/* ─── Filter Tabs ─────────────────────────────────────── */
.filter-tabs {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding-top: 40px;
}

.filter-tab {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    color: var(--color-muted);
    background: none;
    border: 1px solid var(--color-border);
    border-radius: 100px;
    padding: 8px 18px;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
    white-space: nowrap;
}

.filter-tab:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.filter-tab.is-active {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-text-on-accent);
    font-weight: 600;
}

/* ─── Blog Archive ────────────────────────────────────── */
.blog-archive {
    padding-top: 0;
    padding-bottom: 80px;
}

.blog-archive__grid {
    row-gap: 32px;
}

/* ─── Pagination ──────────────────────────────────────── */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.pagination__page {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    color: var(--color-dark);
    background: none;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.pagination__page:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.pagination__page.is-active {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-text-on-accent);
    font-weight: 600;
}

.pagination__btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    color: var(--color-dark);
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
}

.pagination__btn:hover:not(:disabled) {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.pagination__btn:disabled {
    opacity: 0.35;
    cursor: default;
}

.pagination__dots {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--color-muted);
    padding: 0 4px;
}

/* ─── Nav active link ─────────────────────────────────── */
.header__nav-link--active {
    color: var(--color-accent);
}

/* ─── Catalog Archive ────────────────────────────────── */
.catalog-archive {
    padding-top: 0;
    padding-bottom: 80px;
}

.catalog-grid {
    row-gap: 24px;
}

.calc-card {
    grid-column: span 4;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    background-color: var(--color-background);
}

.calc-card:hover {
    border-color: var(--color-accent);
    box-shadow: 0 4px 20px rgba(1, 189, 42, 0.1);
}

.calc-card__preview {
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: var(--color-surface);
    flex-shrink: 0;
    overflow: hidden;
}

.calc-card__preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
    display: block;
}

.calc-card__body {
    display: flex;
    flex-direction: column;
    padding: 20px;
    flex: 1;
}

.calc-card__category {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    color: var(--color-accent);
    background-color: rgba(1, 189, 42, 0.08);
    border: 1px solid rgba(1, 189, 42, 0.25);
    border-radius: 100px;
    padding: 4px 10px;
    align-self: flex-start;
    white-space: nowrap;
}

.calc-card__title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-dark);
    line-height: 1.2;
    transition: color 0.2s;
}

.calc-card:hover .calc-card__title {
    color: var(--color-accent);
}

.calc-card__desc {
    font-family: var(--font-body);
    font-size: 13px;
    line-height: 1.6;
    color: var(--color-muted);
    flex: 1;
}

.calc-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--color-border);
}

.calc-card__price {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--color-dark);
}

.calc-card__btn {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    color: var(--color-accent);
    transition: color 0.2s;
}

.calc-card:hover .calc-card__btn {
    color: #00a825;
}

/* ─── Static Page ────────────────────────────────────── */
.static-page {
    padding-top: 60px;
    padding-bottom: 80px;
}

.static-page__grid {
    justify-items: start;
}

.static-content {
    grid-column: span 8;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.75;
    color: var(--color-dark);
}

.static-content p {
    margin-top: 20px;
    color: var(--color-muted);
}

.static-content p:first-child {
    margin-top: 0;
}

.static-content h2 {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-dark);
    margin-top: 48px;
}

.static-content ul,
.static-content ol {
    margin-top: 16px;
    padding-left: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: var(--color-muted);
}

.static-content ul li::marker { color: var(--color-accent); }
.static-content ol li::marker {
    color: var(--color-accent);
    font-weight: 700;
}

/* ─── Product Hero ───────────────────────────────────── */
.product-hero {
    padding-top: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--color-border);
}

.product-hero__meta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.product-hero__installs {
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--color-muted);
}

.product-hero__title {
    font-family: var(--font-heading);
    font-size: 52px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-dark);
    line-height: 1.05;
}

.product-hero__desc {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-muted);
    max-width: 640px;
}

/* ─── Product Preview ────────────────────────────────── */
.product-preview {
    padding-top: 48px;
    padding-bottom: 0;
}

.product-preview__img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
}

/* ─── Product Demo ────────────────────────────────────── */
.product-demo {
    padding-top: 60px;
    padding-bottom: 60px;
    background-color: var(--color-surface);
}

.product-demo__widget {
    --calc-accent: #01BD2A;
    --calc-gradient: linear-gradient(135deg, #01BD2A, #00875F);
}

.product-demo__grid {
    align-items: start;
}

.product-demo__inputs {
    grid-column: span 7;
}

.product-demo__results {
    grid-column: span 5;
}

/* ─── Product Info ────────────────────────────────────── */
.product-info {
    padding-top: 60px;
    padding-bottom: 80px;
}

.product-info__grid {
    align-items: start;
}

.product-description {
    grid-column: span 8;
}

.product-description__text {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.75;
    color: var(--color-dark);
}

.product-description__text p {
    margin-top: 16px;
}

.product-description__text p:first-child {
    margin-top: 0;
}

.product-description__text h2 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--color-dark);
    margin-top: 40px;
    margin-bottom: 16px;
}

.product-description__text ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.product-description__text ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--color-dark);
}

.product-description__text ul li::before {
    content: "";
    display: block;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    background-color: var(--color-accent);
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 9l4 4 8-8' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 9l4 4 8-8' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
}

.product-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.product-feature__icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border-radius: 10px;
    background-color: rgba(1, 189, 42, 0.1);
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-feature strong {
    display: block;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    color: var(--color-dark);
}

.product-feature p {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--color-muted);
    line-height: 1.5;
    margin-top: 2px;
}

/* ─── Product Purchase ────────────────────────────────── */
.product-purchase {
    grid-column: span 4;
    align-self: start;
}

.product-purchase__inner {
    position: sticky;
    top: 92px;
    border: 1px solid var(--color-border);
    border-radius: 20px;
    padding: 28px;
}

.product-purchase__price {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    color: var(--color-dark);
    line-height: 1;
}

.product-purchase__btn {
    width: 100%;
    justify-content: center;
    padding: 16px;
}

.product-purchase__note {
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--color-muted);
    margin-top: 6px;
}

.product-purchase__perks {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-purchase__perks li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--color-dark);
}

.product-purchase__perks li svg {
    color: var(--color-accent);
    flex-shrink: 0;
}

/* ─── Product Custom ─────────────────────────────────── */
.product-custom {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: var(--color-surface);
    border: 1px dashed var(--color-accent);
    border-radius: var(--radius-md);
    padding: 14px 16px;
}

.product-custom__icon {
    color: var(--color-accent);
    flex-shrink: 0;
    margin-top: 2px;
}

.product-custom__title {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-dark);
}

.product-custom__text {
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--color-muted);
    margin-top: 2px;
}

/* ─── Cookie Banner ──────────────────────────────────── */
.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 48px);
    max-width: 720px;
    background: var(--color-dark);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    z-index: 9999;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: opacity 0.3s, transform 0.3s;
}

.cookie-banner.is-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%) translateY(16px);
}

.cookie-banner__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-banner__text {
    font-family: var(--font-body);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.cookie-banner__link {
    color: var(--color-accent);
    text-decoration: underline;
    white-space: nowrap;
}

.cookie-banner__btn {
    flex-shrink: 0;
    padding: 10px 20px;
}

@media (max-width: 767px) {
    .cookie-banner__inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .cookie-banner__btn {
        width: 100%;
        justify-content: center;
    }
}

/* ─── 404 ────────────────────────────────────────────── */
.error-404 {
    padding-top: 120px;
    padding-bottom: 120px;
}

.error-404__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 520px;
    margin: 0 auto;
}

.error-404__code {
    font-family: var(--font-heading);
    font-size: 160px;
    font-weight: 800;
    line-height: 1;
    color: var(--color-accent);
    opacity: 0.15;
}

.error-404__title {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    color: var(--color-dark);
}

.error-404__desc {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--color-muted);
    line-height: 1.7;
}

/* ─── Post Hero ──────────────────────────────────────── */
.post-hero {
    padding-top: 48px;
    padding-bottom: 0;
}

.post-hero__meta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.post-hero__date,
.post-hero__read {
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--color-muted);
}

.post-hero__read::before {
    content: '·';
    margin-right: 16px;
    color: var(--color-border);
}

.post-hero__title {
    font-family: var(--font-heading);
    font-size: 52px;
    font-weight: 700;
    line-height: 1.05;
    color: var(--color-dark);
    text-transform: uppercase;
    max-width: 860px;
}

.post-hero__cover {
    width: 100%;
    aspect-ratio: 21 / 7;
    background-color: var(--color-surface);
    border-radius: 16px;
    border: 1px solid var(--color-border);
    margin-top: 32px;
}

/* ─── Post Body ───────────────────────────────────────── */
.post-body {
    padding-top: 60px;
    padding-bottom: 80px;
}

.post-body__grid {
    align-items: stretch;
}

.post-content {
    grid-column: span 8;
    align-self: start;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.75;
    color: var(--color-dark);
}

.post-content__cover {
    margin-bottom: 32px;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.post-content__cover img {
    width: 100%;
    height: auto;
    display: block;
}

.post-content p { margin-top: 20px; }
.post-content p:first-child { margin-top: 0; }

.post-content h2 {
    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-dark);
    margin-top: 48px;
    margin-bottom: 4px;
}

.post-content h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-dark);
    margin-top: 32px;
    margin-bottom: 4px;
}

.post-content ul,
.post-content ol {
    margin-top: 16px;
    padding-left: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.post-content a {
    color: var(--color-accent);
    text-decoration: underline;
    text-decoration-color: transparent;
    text-underline-offset: 3px;
    transition: text-decoration-color 0.2s;
}

.post-content a:hover {
    text-decoration-color: var(--color-accent);
}

.post-content ul li::marker { color: var(--color-accent); }
.post-content ol li::marker {
    color: var(--color-accent);
    font-weight: 700;
}

.post-blockquote {
    border-left: 3px solid var(--color-accent);
    padding: 16px 24px;
    margin-top: 28px;
    background-color: var(--color-surface);
    border-radius: 0 12px 12px 0;
    font-family: var(--font-body);
    font-size: 16px;
    font-style: italic;
    line-height: 1.7;
    color: var(--color-dark);
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.post-tag {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    color: var(--color-muted);
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 100px;
    padding: 6px 14px;
}

/* ─── Post Sidebar ────────────────────────────────────── */
.post-sidebar {
    grid-column: span 4;
}

.post-sidebar__inner {
    position: sticky;
    top: 92px;
}

.sidebar-toc {
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 20px;
}

.sidebar-toc__title {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    color: var(--color-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.sidebar-toc__nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sidebar-toc__link {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    color: var(--color-muted);
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 8px;
    border-left: 2px solid transparent;
    transition: color 0.2s, background-color 0.2s, border-color 0.2s;
}

.sidebar-toc__link:hover {
    color: var(--color-dark);
    background-color: var(--color-background);
}

.sidebar-toc__link.is-active {
    color: var(--color-accent);
    border-left-color: var(--color-accent);
    background-color: rgba(1, 189, 42, 0.06);
}

.sidebar-cta {
    background: linear-gradient(135deg, var(--color-accent), #00875F);
    border-radius: 16px;
    padding: 20px;
}

.sidebar-cta__label {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
}

.sidebar-cta__desc {
    font-family: var(--font-body);
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255,255,255,0.8);
}

.sidebar-cta .btn--accent {
    background-color: #fff;
    border-color: #fff;
    color: var(--color-accent);
}

.sidebar-cta .btn--accent:hover {
    background-color: rgba(255,255,255,0.9);
    border-color: rgba(255,255,255,0.9);
}

/* ─── Post Related ────────────────────────────────────── */
.post-related {
    padding-top: 60px;
    padding-bottom: 80px;
    border-top: 1px solid var(--color-border);
}

/* ─── Mobile Menu ────────────────────────────────────── */
.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 0;
    background-color: var(--color-background);
    border-top: 1px solid var(--color-border);
    padding: 0 var(--container-section);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

.mobile-menu.is-open {
    max-height: 400px;
    padding-top: 16px;
    padding-bottom: 24px;
}

.mobile-menu__nav {
    display: flex;
    flex-direction: column;
}

.mobile-menu__link {
    font-family: var(--font-body);
    font-size: 17px;
    font-weight: 500;
    color: var(--color-dark);
    text-decoration: none;
    padding: 14px 0;
    border-bottom: 1px solid var(--color-border);
    transition: color 0.2s;
}

.mobile-menu__link:hover {
    color: var(--color-accent);
}

.mobile-menu__btn {
    margin-top: 20px;
    width: 100%;
    justify-content: center;
    padding: 14px;
    font-size: 15px;
}

/* ─── Breakpoints ────────────────────────────────────── */
@media (max-width: 1190px) {
    :root {
        --container-section: 20px;
    }
}

@media (max-width: 767px) {
    :root {
        --container-section: 16px;
        --grid-columns: 4;
    }

    .header__nav,
    .header__inner > .btn {
        display: none;
    }

    .header__burger {
        display: flex;
    }

    .mobile-menu {
        display: flex;
    }

    .header__burger.is-open span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .header__burger.is-open span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }

    .header__burger.is-open span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .hero {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .hero__content,
    .hero__visual {
        grid-column: span 4;
    }

    /* ── Заголовки ── */
    .hero__title {
        font-size: 36px;
    }

    .section-title {
        font-size: 28px;
    }

    .page-hero__title,
    .post-hero__title,
    .product-hero__title {
        font-size: 32px;
    }

    .how-step__number {
        font-size: 40px;
    }

    .how-step__title,
    .calc-widget__title {
        font-size: 18px;
    }

    .blog-card__title {
        font-size: 17px;
    }

    .product-purchase__price {
        font-size: 36px;
    }

    .calc-result__value {
        font-size: 26px;
    }

    .static-content h2,
    .post-content h2 {
        font-size: 22px;
    }

    .post-content h3 {
        font-size: 18px;
    }

    /* ── Сетка ── */
    .category-card {
        grid-column: span 4;
    }

    .footer__logo {
        grid-column: span 4;
    }

    .footer__nav {
        grid-column: span 4;
        justify-content: flex-start;
        gap: 16px;
    }

    .footer__action {
        grid-column: span 4;
        justify-content: flex-start;
    }

    .footer__legal {
        flex-direction: column;
        align-items: flex-start;
    }
}
