﻿/*html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}*/
/* ============ RESET / BASE ============ */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --color-primary: #00BCD4;
    --color-primary-dark: #006774;
    --color-dark: #212C41;
    --color-text: #334155;
    --color-muted: #64748b;
    --color-bg-muted: #f4f6f9;
    --color-border: #e2e8f0;
    --radius: 12px;
    --container-width: 1200px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Montserrat", Segoe UI, Roboto, Arial, sans-serif;
    color: var(--color-text);
    line-height: 1.5;
    background: #fff;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 96px 0;
}

.section--top-sm {
    padding-top: 24px;
    padding-bottom: 64px;
}

.section__head--tight {
    margin-bottom: 24px;
}

.page-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 20px;
    color: var(--color-muted);
    font-weight: 600;
    font-size: 0.88rem;
}

    .page-back:hover {
        color: var(--color-primary);
    }

.license-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 28px 32px;
    max-width: 640px;
}

    .license-card h3 {
        font-weight: 700;
        color: var(--color-dark);
        margin-bottom: 12px;
    }

    .license-card p {
        color: var(--color-muted);
        margin-bottom: 10px;
    }

        .license-card p:last-child {
            margin-bottom: 0;
        }

.section--muted {
    background: var(--color-bg-muted);
}

.section--dark {
    background: var(--color-dark);
    color: #cbd5e1;
}

.section__title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-dark);
    margin-bottom: 16px;
    line-height: 1.2;
}

.section__title--light {
    color: #fff;
}

.section__subtitle {
    color: var(--color-muted);
    max-width: 640px;
}

.section__head {
    text-align: center;
    margin-bottom: 56px;
}

    .section__head .section__subtitle {
        margin: 0 auto;
    }

.eyebrow {
    color: var(--color-primary);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-left: 3px solid var(--color-primary);
    padding-left: 10px;
    margin-bottom: 12px;
    display: inline-block;
}

.eyebrow--center {
    border-left: none;
    padding-left: 0;
}

.text-accent {
    color: var(--color-primary);
}

/* ============ BUTTONS ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: 0.2s ease;
}

.btn--primary {
    background: var(--color-primary);
    color: #fff;
}

    .btn--primary:hover {
        background: var(--color-primary-dark);
    }

.btn--outline {
    background: #fff;
    color: var(--color-dark);
    border-color: var(--color-border);
}

    .btn--outline:hover {
        border-color: var(--color-primary);
        color: var(--color-primary);
    }

.btn--sm {
    padding: 10px 20px;
    font-size: 0.85rem;
}

.btn--block {
    width: 100%;
}

/* ============ HEADER (sticky) ============ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--color-border);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 16px;
    padding-bottom: 16px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo__icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
    flex-shrink: 0;
}

.logo__text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo__title {
    font-weight: 800;
    color: var(--color-dark);
    font-size: 1.25rem;
}

.logo__subtitle {
    font-size: 0.82rem;
    color: var(--color-muted);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

    .main-nav a {
        font-size: 0.92rem;
        color: var(--color-text);
        font-weight: 500;
    }

        .main-nav a:hover {
            color: var(--color-primary);
        }

.main-nav__cta {
    display: none;
}

.header__cta-desktop {
    display: inline-flex;
}

/* ===== БУРГЕР (виден только на мобиле) ===== */
.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    cursor: pointer;
    flex-shrink: 0;
}

.burger__line {
    width: 20px;
    height: 2px;
    margin: 0 auto;
    background: var(--color-dark);
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.burger--open .burger__line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.burger--open .burger__line:nth-child(2) {
    opacity: 0;
}

.burger--open .burger__line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

body.no-scroll {
    overflow: hidden;
}

/* ============ HERO ============ */
.hero {
    position: relative;
    padding: 72px 0 40px;
    background: linear-gradient(135deg, #fdfdfe 0%, #eef1f5 55%, #dfe3ea 100%);
    overflow: hidden;
}

.hero__inner {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--color-muted);
    margin-bottom: 20px;
}

.dot-live {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    display: inline-block;
}

.hero__title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-dark);
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero__text {
    max-width: 560px;
    color: var(--color-muted);
    margin-bottom: 32px;
    font-size: 1.05rem;
}

.hero__actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.hero__stats {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
}

.stat__value {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--color-dark);
}

.stat__label {
    font-size: 0.8rem;
    color: var(--color-muted);
    text-transform: uppercase;
}

.hero__card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15);
}

.hero__card-img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.hero__card-body {
    padding: 20px;
}

.hero__card-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.hero__card-title {
    font-weight: 700;
    color: var(--color-dark);
}

.hero__card-sub {
    font-size: 0.85rem;
    color: var(--color-muted);
    margin-bottom: 12px;
}

.hero__card-percent {
    font-weight: 700;
    color: var(--color-dark);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #00C74F;
}

.badge--active .dot-live {
    background: #22c55e;
}

.progress {
    height: 6px;
    background: #e2e8f0;
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress__bar {
    height: 100%;
    background: var(--color-primary);
    border-radius: 999px;
}

.hero__scroll {
    text-align: center;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    color: var(--color-muted);
    margin-top: 32px;
}

/* ============ О ПРОДУКТЕ ============ */
.about__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.about__paragraph {
    color: var(--color-muted);
    margin-bottom: 16px;
}

.check-list {
    margin-top: 24px;
}

    .check-list li {
        position: relative;
        padding-left: 30px;
        margin-bottom: 14px;
        color: var(--color-text);
    }

        .check-list li::before {
            content: "✓";
            position: absolute;
            left: 0;
            top: 0;
            width: 20px;
            height: 20px;
            background: var(--color-primary);
            color: #fff;
            border-radius: 50%;
            font-size: 0.7rem;
            display: flex;
            align-items: center;
            justify-content: center;
        }

.about__img {
    border-radius: var(--radius);
    width: 100%;
    height: 280px;
    object-fit: cover;
    margin-bottom: 20px;
}

.about__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.mini-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
}

.mini-card__value {
    font-weight: 800;
    color: var(--color-primary);
    font-size: 1.1rem;
}

.mini-card__label {
    font-size: 0.8rem;
    color: var(--color-muted);
    margin-top: 4px;
}

/* ============ ПРЕИМУЩЕСТВА ============ */
.cards-grid {
    display: grid;
    gap: 24px;
}

.cards-grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

.feature-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 28px;
}

.feature-card__icon {
    color: var(--color-primary);
    margin-bottom: 16px;
}

    .feature-card__icon svg {
        width: 32px;
        height: 32px;
        display: block;
    }

.feature-card__title {
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 10px;
}

.feature-card__text {
    color: var(--color-muted);
    font-size: 0.92rem;
}

/* ============ ПРИНЦИП РАБОТЫ ============ */
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
}

.step__number {
    width: 48px;
    height: 48px;
    background: var(--color-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 20px;
}

.step__title {
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 10px;
}

.step__title--highlight {
    background: #dbeafe;
    display: inline-block;
    padding: 2px 6px;
}

.step__text {
    color: var(--color-muted);
    font-size: 0.92rem;
}

/* ============ ХАРАКТЕРИСТИКИ ============ */
.specs__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 48px;
}

.specs-table {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
}

.specs-table__row {
    display: flex;
    justify-content: space-between;
    padding: 18px 24px;
    border-bottom: 1px solid var(--color-border);
}

    .specs-table__row:last-child {
        border-bottom: none;
    }

    .specs-table__row span {
        color: var(--color-muted);
    }

.market-card {
    background: var(--color-dark);
    color: #fff;
    border-radius: var(--radius);
    padding: 28px;
}

.market-card__label {
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    color: #94a3b8;
    margin-bottom: 16px;
}

.market-card__row {
    padding: 14px 0;
    border-bottom: 1px solid #334155;
}

.market-card__row--last {
    border-bottom: none;
}

.market-card__name {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-bottom: 4px;
}

.market-card__value {
    font-weight: 800;
    color: var(--color-primary);
    font-size: 1.25rem;
}

.market-card__sub {
    font-size: 0.8rem;
    color: #94a3b8;
}

.compare-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 32px;
}

.compare-card__title {
    color: var(--color-dark);
    margin-bottom: 4px;
}

.compare-card__note {
    color: var(--color-muted);
    font-size: 0.85rem;
    margin-bottom: 24px;
}

.table-wrapper {
    overflow-x: auto;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px;
}

    .compare-table th, .compare-table td {
        padding: 14px 16px;
        text-align: center;
        border-bottom: 1px solid var(--color-border);
        font-size: 0.9rem;
    }

        .compare-table th:first-child, .compare-table td:first-child {
            text-align: left;
        }

    .compare-table thead th {
        color: var(--color-muted);
        font-weight: 600;
    }

.compare-table__biofab {
    background: #00bcd424;
    color: var(--color-primary-dark);
    font-weight: 700;
}

.compare-card__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 28px;
    flex-wrap: wrap;
}

/* ============ ПРИМЕНЕНИЕ (dark) ============ */
.usage__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.usage__intro {
    max-width: 380px;
    color: #94a3b8;
}

.usage-card {
    background: #1e293b;
    border-radius: var(--radius);
    overflow: hidden;
}

.usage-card__img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.usage-card__body {
    padding: 24px;
}

.usage-card__title {
    color: #fff;
    margin-bottom: 14px;
}

.dot-list li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #cbd5e1;
}

    .dot-list li::before {
        content: "";
        position: absolute;
        left: 0;
        top: 8px;
        width: 5px;
        height: 5px;
        background: var(--color-primary);
        border-radius: 50%;
    }

.clients {
    text-align: center;
    margin-top: 64px;
    padding-top: 48px;
    border-top: 1px solid #334155;
}

.clients__label {
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    color: #64748b;
    margin-bottom: 20px;
}

.clients__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

.client-pill {
    background: #1e293b;
    border: 1px solid #334155;
    color: #e2e8f0;
    padding: 10px 20px;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 600;
}

/* ============ КОНТАКТЫ ============ */
.contacts__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
}

.contacts__intro {
    color: var(--color-muted);
    margin-bottom: 28px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.contact-item__icon {
    width: 44px;
    height: 44px;
    background: var(--color-primary);
    color: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item__label {
    font-size: 0.8rem;
    color: var(--color-muted);
}

.contact-item__value {
    font-weight: 700;
    color: var(--color-dark);
}

.contact-form {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.contact-form__title {
    color: var(--color-dark);
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 18px;
}

    .form-group label {
        display: block;
        font-size: 0.85rem;
        color: var(--color-text);
        margin-bottom: 6px;
    }

    .form-group input,
    .form-group textarea {
        width: 100%;
        padding: 12px 14px;
        border: 1px solid var(--color-border);
        border-radius: 8px;
        font-family: inherit;
        font-size: 0.92rem;
        background: var(--color-bg-muted);
        resize: vertical;
    }

        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: var(--color-primary);
        }

/* ============ ФУТЕР ============ */
.site-footer {
    border-top: 1px solid var(--color-border);
    padding-top: 40px;
}

.footer__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    padding-bottom: 24px;
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--color-border);
    padding: 24px 24px;
    color: var(--color-muted);
    font-size: 0.85rem;
}

.footer__dots {
    display: flex;
    gap: 6px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.dot--red {
    background: #ef4444;
}

.dot--green {
    background: #22c55e;
}

.dot--teal {
    background: var(--color-primary);
}

/* ============ АДАПТИВ ============ */
@media (max-width: 992px) {
    .hero__inner,
    .about__inner,
    .specs__inner,
    .contacts__inner {
        grid-template-columns: 1fr;
    }

    .cards-grid--3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .hero__title {
        font-size: 2.1rem;
    }

    .cards-grid--3 {
        grid-template-columns: 1fr;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .logo__icon {
        width: 38px;
        height: 38px;
    }

    .logo__title {
        font-size: 1.05rem;
    }

    .logo__subtitle {
        display: none;
    }
}

.contact-item__icon svg {
    display: block;
}

.telegram-card {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px;
}

.telegram-card__img {
    width: 100%;
    max-width: 280px;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(15, 23, 42, 0.12));
    transition: transform 0.2s ease;
}

.telegram-card:hover .telegram-card__img {
    transform: translateY(-4px);
}

.hero__compo {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 260px;
    padding: 20px 28px;
    background: linear-gradient(135deg, #eef6f8 0%, #eef1f5 100%);
    overflow: hidden;
}

.hero__compo-hand {
    height: 100%;
    max-height: 250px;
    width: auto;
    object-fit: contain;
    position: relative;
    z-index: 2;
}

.hero__compo-device {
    height: 78%;
    max-height: 190px;
    width: auto;
    object-fit: contain;
    position: relative;
    z-index: 2;
}

.hero__compo::before {
    content: "";
    position: absolute;
    left: 90px;
    right: 90px;
    top: 50%;
    height: 2px;
    background-image: linear-gradient(90deg, var(--color-primary) 50%, transparent 50%);
    background-size: 12px 2px;
    background-repeat: repeat-x;
    opacity: 0.5;
    z-index: 1;
}

.hero__compo-link {
    position: relative;
    z-index: 2;
    width: 14px;
    height: 14px;
}

.hero__compo-dot {
    position: absolute;
    inset: 0;
    background: var(--color-primary);
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 188, 212, 0.5);
}

.hero__compo-ring {
    position: absolute;
    inset: -6px;
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    animation: compo-pulse 2.2s ease-out infinite;
}

.hero__compo-ring--delay {
    animation-delay: 1.1s;
}

@keyframes compo-pulse {
    0% {
        transform: scale(0.6);
        opacity: 0.7;
    }

    100% {
        transform: scale(3.2);
        opacity: 0;
    }
}

/* ============ ПОДДЕРЖКА ФСИ ============ */
.support {
    display: flex;
    align-items: center;
    gap: 16px;
}

.support__logo {
    height: 56px;
    width: auto;
    flex-shrink: 0;
}

.support__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1.3;
}

.support__label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-muted);
}

.support__name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-dark);
}

.footer__bottom {
    flex-wrap: wrap;
    gap: 16px;
}

    .footer__bottom .support {
        margin-left: auto;
        margin-right: 24px;
    }

    .footer__bottom .support__logo {
        height: 44px;
    }

@media (max-width: 600px) {
    .support__logo {
        height: 44px;
    }

    .footer__bottom .support {
        margin-left: 0;
        margin-right: 0;
    }
}

/* ============ ФСИ: ПРИПИСКА В ВЕРХНЕМ ОТСТУПЕ HERO ============ */
.hero__inner {
    position: relative;
}

.hero__fsi {
    position: absolute;
    top: -58px;
    left: 24px;
}

    .hero__fsi .support {
        gap: 12px;
    }

    .hero__fsi .support__logo {
        height: 40px;
    }

    .hero__fsi .support__label {
        font-size: 0.65rem;
    }

    .hero__fsi .support__name {
        font-size: 0.85rem;
    }

@media (max-width: 992px) {
    .hero {
        padding-top: 20px;
    }

    .hero__fsi {
        position: static;
        margin-bottom: 20px;
    }
}

@media (max-width: 600px) {
    .hero {
        padding-top: 16px;
    }

    .hero__fsi .support__logo {
        height: 36px;
    }
}

/* ============ КАРТОЧКА В HERO ============ */
@media (min-width: 993px) {
    .hero__inner {
        grid-template-columns: 1.1fr 0.9fr;
        gap: 40px;
    }
}

.hero__compo {
    height: 340px;
    padding: 20px 24px;
    gap: 12px;
}

.hero__compo-hand,
.hero__compo-device {
    min-width: 0;
    height: 100%;
    max-height: none;
    object-fit: contain;
}

.hero__compo-hand {
    flex: 0 1 38%;
    max-width: 38%;
}

.hero__compo-device {
    flex: 0 1 52%;
    max-width: 52%;
}

.hero__compo::before {
    left: 100px;
    right: 100px;
}

.hero__card-body {
    padding: 20px 24px;
}

@media (max-width: 992px) {
    .hero__compo {
        height: 320px;
    }
}

@media (max-width: 600px) {
    .hero__compo {
        height: 240px;
        padding: 14px;
        gap: 8px;
    }

        .hero__compo::before {
            left: 50px;
            right: 50px;
        }
}

/* ============ МОБИЛЬНАЯ ВЁРСТКА ============ */
.hero__inner > * {
    min-width: 0;
}

@media (max-width: 992px) {
    .hero__inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 600px) {
    .hero__title {
        font-size: 2.1rem;
    }

    .logo__text {
        min-width: 0;
    }

    .logo__subtitle {
        display: block;
        font-size: 0.7rem;
    }
}

.logo__title {
    font-weight: 700;
}

.usage-card {
    position: relative;
    overflow: hidden;
}

.usage-card__img {
    transition: transform 0.35s ease;
}

.usage-card:hover .usage-card__img {
    transform: scale(1.06);
}

.feature-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

    .feature-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
        border-color: var(--color-primary);
    }

.mini-card {
    transition: border-color 0.25s ease, transform 0.25s ease;
}

    .mini-card:hover {
        border-color: var(--color-primary);
        transform: translateY(-2px);
    }

.client-pill {
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

    .client-pill:hover {
        background: var(--color-primary);
        border-color: var(--color-primary);
        color: #fff;
        transform: translateY(-2px);
    }

.compare-table tbody tr {
    transition: background 0.2s ease;
}

    .compare-table tbody tr:hover {
        background: var(--color-bg-muted);
    }

.step__number {
    transition: transform 0.25s ease;
}

.step:hover .step__number {
    transform: scale(1.1);
}

/* ============ ССЫЛКИ В КОНТАКТАХ ============ */
a.contact-item__value {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease;
}

    a.contact-item__value:hover {
        color: var(--color-primary);
    }

    a.contact-item__value::after {
        content: "";
        width: 14px;
        height: 14px;
        background-color: currentColor;
        opacity: 0.5;
        -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960'%3E%3Cpath d='M200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h280v80H200v560h560v-280h80v280q0 33-23.5 56.5T760-120H200Zm188-212-56-56 372-372H560v-80h280v280h-80v-144L388-332Z'/%3E%3C/svg%3E");
        mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960'%3E%3Cpath d='M200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h280v80H200v560h560v-280h80v280q0 33-23.5 56.5T760-120H200Zm188-212-56-56 372-372H560v-80h280v280h-80v-144L388-332Z'/%3E%3C/svg%3E");
        -webkit-mask-size: contain;
        mask-size: contain;
        -webkit-mask-repeat: no-repeat;
        mask-repeat: no-repeat;
        transition: opacity 0.2s ease;
    }

    a.contact-item__value:hover::after {
        opacity: 1;
    }

/* ============ ПОДСТРОЙКА ПОЛОЖЕНИЯ ТОЧКИ СВЯЗИ ============ */
.hero__compo-link {
    margin-left: -30px;
}

/* ============ ШАПКА: ЕДИНАЯ ТОЧКА ПЕРЕКЛЮЧЕНИЯ НА БУРГЕР (1180px) ============ */
.main-nav {
    gap: 20px;
}

    .main-nav a {
        font-size: 0.86rem;
    }

.header__cta-desktop {
    white-space: nowrap;
}

@media (max-width: 1180px) {
    .burger {
        display: flex;
    }

    .header__cta-desktop {
        display: none;
    }

    .main-nav__cta {
        display: inline-flex;
    }

    .main-nav {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: #fff;
        border-bottom: 1px solid var(--color-border);
        box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        transition: max-height 0.25s ease, opacity 0.2s ease;
    }

    .main-nav--open {
        max-height: 480px;
        opacity: 1;
        visibility: visible;
    }

    .main-nav a {
        padding: 16px 24px;
        border-bottom: 1px solid var(--color-border);
        font-size: 0.92rem;
    }

    .main-nav__cta {
        margin: 16px 24px;
        border-bottom: none;
    }
}

/* ============ СТАТИСТИКА В HERO: СЕТКА НА ВСЕХ ШИРИНАХ ============ */
.hero__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, max-content));
    justify-content: start;
    gap: 24px;
    flex-wrap: unset;
}

@media (max-width: 1180px) {
    .hero__stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        justify-content: normal;
    }
}

.stat__value {
    white-space: nowrap;
}

@media (max-width: 1180px) {
    .hero__stats {
        gap: 16px;
    }

    .stat__value {
        font-size: 1.3rem;
    }

    .stat__label {
        font-size: 0.72rem;
    }
}

@media (max-width: 600px) {
    .hero__stats {
        gap: 12px;
    }

    .stat__value {
        font-size: 1.15rem;
        white-space: nowrap;
    }

    .stat__label {
        font-size: 0.65rem;
        line-height: 1.3;
    }
}

@media (max-width: 380px) {
    .stat__value {
        font-size: 1rem;
    }

    .stat__label {
        font-size: 0.6rem;
    }
}

/* ============ КНОПКИ HERO: В ОДИН РЯД НА МОБИЛЬНОМ ============ */
@media (max-width: 480px) {
    .hero__actions {
        flex-wrap: nowrap;
        gap: 10px;
    }

        .hero__actions .btn {
            flex: 1 1 0;
            padding: 12px 10px;
            font-size: 0.82rem;
            white-space: nowrap;
        }
}

@media (max-width: 360px) {
    .hero__actions .btn {
        font-size: 0.75rem;
        padding: 10px 6px;
    }
}

/* ============ ЗНАЧОК-ССЫЛКА НА КАРТОЧКЕ QR ============ */
.telegram-card__wrap {
    position: relative;
    display: inline-block;
}

.telegram-card__badge {
    position: absolute;
    bottom: 10px;
    right: 20px;
    width: 18px;
    height: 18px;
    color: var(--color-muted);
    opacity: 0.5;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease, color 0.2s ease;
}

.telegram-card:hover .telegram-card__badge {
    opacity: 1;
    color: var(--color-primary);
}

/* ============ СРАВНЕНИЕ: ЗАЛИВКА ЯЧЕЕК ============ */

/* заливка: лучше / среднее / хуже. Текст везде одного цвета */
.compare-table .cell--good {
    background: rgba(34, 197, 94, 0.20);
    color: var(--color-dark);
    font-weight: 600;
}

.compare-table .cell--mid {
    background: rgba(245, 158, 11, 0.22);
    color: var(--color-dark);
    font-weight: 600;
}

.compare-table .cell--bad {
    background: rgba(239, 68, 68, 0.16);
    color: var(--color-dark);
    font-weight: 600;
}

/* ячейка с двумя значениями */
.compare-table td.cell-split {
    padding: 0;
}

.cell-split__inner {
    display: flex;
}

    .cell-split__inner span {
        flex: 1;
        padding: 14px 8px;
    }

/* галочки и крестики */
.mark {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1;
}

.mark--yes {
    color: #22c55e;
}

.mark--no {
    color: #ef4444;
}

/* колонка BioFab: только тёмная шапка, без рамки */
.compare-table td.compare-table__biofab {
    background: transparent;
    color: inherit;
}
.compare-table th.compare-table__biofab {
    background: transparent;
    color: var(--color-dark);
    border-radius: 0;
}
/* ============ СРАВНЕНИЕ: ВЕРТИКАЛЬНЫЕ ЛИНИИ И ПРИМЕЧАНИЕ ============ */
.compare-table th:not(:last-child),
.compare-table td:not(:last-child) {
    border-right: 1px solid var(--color-border);
}

/* ячейка с двумя значениями: линия между половинками */
.cell-split__inner span:first-child {
    border-right: 1px solid rgba(15, 23, 42, 0.08);
}

.compare-card__note--bottom {
    margin-top: 20px;
}

/* ============ СРАВНЕНИЕ: ПРАВКИ ============ */

/* сноска: сдвиг вправо, чтобы выровнялась с текстом первой колонки */
.compare-card__note--bottom {
    padding-left: 20px;
}

/* линии заметнее */
.compare-table th:not(:last-child),
.compare-table td:not(:last-child) {
    border-right: 1px solid #cbd5e1;
}

.cell-split__inner span:first-child {
    border-right: 1px solid rgba(15, 23, 42, 0.16);
}

/* заливка светлее */
.compare-table .cell--good {
    background: rgba(34, 197, 94, 0.12);
}

.compare-table .cell--mid {
    background: rgba(245, 158, 11, 0.14);
}

.compare-table .cell--bad {
    background: rgba(239, 68, 68, 0.09);
}
/* ============ ГАЛОЧКИ И КРЕСТИКИ: СПОКОЙНЫЙ СТИЛЬ ============ */
/*.mark--yes {
    color: var(--color-primary);
}

.mark--no {
    color: #b6c0cf;
}*/

/* ============ ТАБЛИЦА ХАРАКТЕРИСТИК: УЗКИЕ ЭКРАНЫ ============ */
.specs-table__row {
    gap: 16px;
    align-items: center;
}

    .specs-table__row strong {
        text-align: right;
        flex-shrink: 0;
        max-width: 55%;
    }

    .specs-table__row span {
        min-width: 0;
    }

@media (max-width: 600px) {
    .specs-table__row {
        padding: 16px 18px;
        font-size: 0.92rem;
    }

        /* короткие значения не переносим ("0,1 г") */
        .specs-table__row strong {
            white-space: nowrap;
        }

            /* длинное значение можно переносить, но выравнивать вправо */
            .specs-table__row strong.spec-long {
                white-space: normal;
            }
}
/* ============ ЗАЩИТА ОТ ГОРИЗОНТАЛЬНОГО ПЕРЕПОЛНЕНИЯ ============ */
body {
    overflow-x: clip;
}

/* элементы сетки могут сжиматься, а не распирать колонку */
.specs__inner > *,
.about__inner > *,
.contacts__inner > * {
    min-width: 0;
}
/* ============ УЗКИЕ ЭКРАНЫ: НИЧЕГО НЕ ВЫЛЕЗАЕТ ЗА КРАЙ ============ */

/* колонки сеток могут сжиматься */
.cards-grid--3,
.about__cards {
    grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 601px) {
    .cards-grid--3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 993px) {
    .cards-grid--3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.about__cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* длинные слова и email переносятся */
.feature-card__title,
.feature-card__text,
.contact-item__value,
.mini-card__value {
    overflow-wrap: anywhere;
    hyphens: auto;
}

@media (max-width: 600px) {
    .feature-card {
        padding: 22px 20px;
    }

    .about__cards {
        gap: 10px;
    }

    .mini-card {
        padding: 14px 8px;
    }

    .mini-card__value {
        font-size: 0.95rem;
    }

    .mini-card__label {
        font-size: 0.7rem;
    }
}
/* ============ ПЛАВНЫЙ РАЗМЕР ШРИФТА НА УЗКИХ ЭКРАНАХ ============ */
.market-card__value {
    font-size: clamp(1rem, 5.2vw, 1.25rem);
    overflow-wrap: anywhere;
}

.section__title {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
    overflow-wrap: anywhere;
}

.hero__title {
    font-size: clamp(1.75rem, 8.5vw, 3rem);
    overflow-wrap: anywhere;
}

@media (max-width: 600px) {
    .market-card {
        padding: 22px 18px;
    }

    .specs-table__row {
        padding: 14px 14px;
        font-size: clamp(0.8rem, 3.6vw, 0.92rem);
    }

    .usage-card__body,
    .compare-card,
    .contact-form {
        padding: 20px 16px;
    }
}
/* ============ ОБЩЕЕ УМЕНЬШЕНИЕ ШРИФТА НА УЗКИХ ТЕЛЕФОНАХ ============ */
html {
    font-size: clamp(13px, 4.2vw, 16px);
}
/* ============ СТАТИСТИКА В HERO: ВЫРАВНИВАНИЕ ПО ЦЕНТРУ ============ */
.stat {
    text-align: center;
}

/* ============ ТАБЛИЦА СРАВНЕНИЯ: ПРОКРУТКА НА МОБИЛЬНЫХ БЕЗ ЛОМКИ ДЕСКТОПА ============ */
.table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 600px) {
    .compare-table th,
    .compare-table td {
        white-space: nowrap;
    }

        .compare-table th:first-child,
        .compare-table td:first-child {
            white-space: normal;
        }

        /* ячейки с двумя значениями: не трогаем nowrap, заливка остаётся ровной */
        .compare-table td.cell-split {
            white-space: normal;
        }

    .cell-split__inner span {
        white-space: nowrap;
    }
}
.compare-table td.cell-split {
    height: 100%;
}

.cell-split__inner {
    height: 100%;
    align-items: stretch;
}
/* ============ РАЗДЕЛЁННАЯ ЯЧЕЙКА: ЗАЛИВКА БЕЗ ЗАЗОРОВ ============ */
.compare-table td.cell-split {
    padding: 0;
    vertical-align: middle;
    line-height: 0;
}

.cell-split__inner {
    display: flex;
    height: 100%;
    min-height: 49px;
    align-items: stretch;
}
/* ============ РАЗДЕЛЁННАЯ ЯЧЕЙКА: ЗАЛИВКА БЕЗ ЗАЗОРОВ ============ */
.compare-table td.cell-split {
    padding: 0;
    vertical-align: middle;
}

.cell-split__inner {
    display: flex;
    align-items: stretch;
}

    .cell-split__inner span {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 14px 8px;
        align-self: stretch;
    }
.cell-split__inner {
    display: flex;
    align-items: stretch;
    height: 72px;
}
/* ============ ТАБЛИЦА ХАРАКТЕРИСТИК: ЛЁГКОЕ ВЫДЕЛЕНИЕ ============ */
.specs-table {
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.4);
    border-color: transparent;
}

.specs-table__row:first-child {
    border-radius: var(--radius) var(--radius) 0 0;
}

.specs-table__row:last-child {
    border-radius: 0 0 var(--radius) var(--radius);
}

