/* ========== БАЗА ========== */
:root {
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8F9FA;
    --accent-start: #00B4D8;
    --accent-end: #0077B6;
    --accent-light: #0CAFFF;
    --text-primary: #1A1A1A;
    --text-secondary: #5A6472;
    --shadow: 8px 8px 20px rgba(163,177,198,.22), -8px -8px 20px rgba(255,255,255,.9);
    --shadow-hover: 12px 12px 28px rgba(163,177,198,.32), -12px -12px 28px rgba(255,255,255,1);
    --radius: 18px;
    --transition: all .3s cubic-bezier(.4,0,.2,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-secondary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
main { flex: 1; }
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: rgba(0,180,216,.25); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 90px 0; }
.section__title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800; text-align: center;
    margin-bottom: 48px; letter-spacing: -.5px;
}
.text-gradient {
    background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}

/* ========== КНОПКИ ========== */
.btn {
    display: inline-block; padding: 14px 30px; border-radius: 50px;
    border: none; font-family: inherit; font-size: 1rem; font-weight: 600;
    cursor: pointer; text-decoration: none; text-align: center;
    transition: var(--transition);
}
.btn--primary {
    background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
    color: #fff; box-shadow: 0 8px 20px rgba(0,119,182,.28);
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,119,182,.42); }
.btn--outline { border: 2px solid var(--accent-start); color: var(--accent-end); background: transparent; }
.btn--outline:hover { background: linear-gradient(135deg, var(--accent-start), var(--accent-end)); color: #fff; transform: translateY(-3px); }

/* ========== ШАПКА ========== */
.header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(255,255,255,.85); backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(26,26,26,.06);
}
.header__container { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.logo {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 1.4rem; font-weight: 800; letter-spacing: -.5px;
    text-decoration: none; color: var(--text-primary);
}
.logo__img {
    width: 42px; height: 42px; border-radius: 12px; object-fit: cover;
    box-shadow: 0 4px 12px rgba(0,119,182,.25);
    transition: var(--transition);
}
.logo:hover .logo__img { transform: scale(1.08) rotate(-3deg); }
.logo__accent { color: var(--accent-light); }
.nav { display: flex; gap: 28px; }
.nav a { text-decoration: none; font-weight: 500; font-size: .95rem; position: relative; color: var(--text-primary); transition: color .3s; }
.nav a:hover { color: var(--accent-end); }
.nav a::after {
    content: ''; position: absolute; left: 0; bottom: -6px;
    width: 0; height: 2px;
    background: linear-gradient(90deg, var(--accent-start), var(--accent-end));
    transition: width .3s;
}
.nav a:hover::after { width: 100%; }
.phone { font-weight: 700; text-decoration: none; white-space: nowrap; color: var(--text-primary); }
.phone:hover { color: var(--accent-end); }
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.burger span { width: 26px; height: 3px; border-radius: 2px; background: var(--text-primary); transition: var(--transition); }

/* ========== HERO ========== */
.hero {
    min-height: 100vh; display: flex; align-items: center; padding: 130px 0 70px;
    background:
        radial-gradient(circle at 85% 15%, rgba(0,180,216,.14), transparent 50%),
        radial-gradient(circle at 10% 85%, rgba(0,119,182,.10), transparent 45%),
        var(--bg-secondary);
}
.hero__content h1 { font-size: clamp(2.2rem, 5.5vw, 3.8rem); font-weight: 800; line-height: 1.15; letter-spacing: -1px; max-width: 900px; margin-bottom: 24px; }
.hero__content p { font-size: 1.15rem; color: var(--text-secondary); max-width: 640px; margin-bottom: 36px; }
.hero__buttons { display: flex; gap: 16px; flex-wrap: wrap; }

/* ========== КАЛЬКУЛЯТОР ========== */
.calc__wrapper {
    display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 32px; align-items: end;
    background: var(--bg-primary); border-radius: var(--radius);
    padding: 40px; box-shadow: var(--shadow);
}
.calc__control label { display: block; font-weight: 600; margin-bottom: 12px; }
.calc__control input[type="range"] { width: 100%; accent-color: var(--accent-light); cursor: pointer; }
.calc__control select {
    width: 100%; padding: 12px 16px; border-radius: 12px; border: 2px solid #E3E8EF;
    background: var(--bg-secondary); font-family: inherit; font-size: .95rem;
    outline: none; transition: border-color .3s;
}
.calc__control select:focus { border-color: var(--accent-light); }
.calc__result { text-align: center; }
.calc__result h3 { font-size: 2rem; color: var(--accent-end); margin: 8px 0 16px; }

/* ========== КАТАЛОГ ========== */
.catalog__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.card {
    background: var(--bg-primary); border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow); transition: var(--transition);
    display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }
.card__image { width: 100%; height: 220px; object-fit: cover; }
.card__body { padding: 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__body h3 { font-size: 1.2rem; }
.card__price { font-weight: 700; color: var(--accent-end); }
.card__desc { color: var(--text-secondary); font-size: .93rem; flex: 1; }
.card__actions { display: flex; gap: 12px; margin-top: 8px; }
.card__actions .btn { padding: 10px 18px; font-size: .9rem; flex: 1; }

/* ========== ТАБЛИЦА ========== */
.table-wrapper { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--bg-primary); }
.comparison__table { width: 100%; border-collapse: collapse; min-width: 640px; }
.comparison__table th, .comparison__table td { padding: 18px 24px; text-align: left; }
.comparison__table thead th { background: var(--bg-secondary); }
.comparison__table tbody tr { border-top: 1px solid #EDF1F5; }
.comparison__table .highlight { background: rgba(0,180,216,.07); color: var(--accent-end); font-weight: 700; }

/* ========== ГАЛЕРЕЯ ========== */
.gallery__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.gallery__item { position: relative; border-radius: var(--radius); overflow: hidden; height: 260px; box-shadow: var(--shadow); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery__item:hover img { transform: scale(1.08); }
.gallery__overlay {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 20px;
    background: linear-gradient(transparent, rgba(10,20,30,.85)); color: #fff;
    opacity: 0; transform: translateY(20px); transition: var(--transition);
}
.gallery__item:hover .gallery__overlay { opacity: 1; transform: none; }
.gallery__overlay h3 { font-size: 1.05rem; margin-bottom: 4px; }
.gallery__overlay p { font-size: .88rem; opacity: .85; }

/* ========== ОТЗЫВЫ ========== */
.reviews__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.review-card { background: var(--bg-primary); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.review-card__header { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.review-card__avatar {
    width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0;
    background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
    color: #fff; display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1.3rem;
}
.review-card__stars { color: #FFB800; letter-spacing: 2px; margin-bottom: 10px; }
.review-card p { color: var(--text-secondary); }

/* ========== FAQ ========== */
.faq__list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq__item { background: var(--bg-primary); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; }
.faq__item summary {
    padding: 20px 26px; cursor: pointer; font-weight: 600;
    display: flex; justify-content: space-between; align-items: center; list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: '+'; font-size: 1.5rem; color: var(--accent-light); transition: transform .3s; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { padding: 0 26px 22px; color: var(--text-secondary); }

/* ========== КОНТАКТЫ ========== */
.contacts__wrapper { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: stretch; }
.contacts__info { background: var(--bg-primary); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.contacts__info h3 { font-size: 1.5rem; margin-bottom: 18px; }
.contacts__info p { margin-bottom: 12px; color: var(--text-secondary); }
.contacts__info a { color: var(--accent-end); font-weight: 600; text-decoration: none; }
.contacts__info a:hover { text-decoration: underline; }
.contacts__map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 400px; }
.contacts__map iframe { display: block; width: 100%; height: 100%; min-height: 400px; border: 0; }

/* ========== СТРАНИЦА ТОВАРА ========== */
.product-detail__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; padding-top: 30px; }
.product-detail__image { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); object-fit: cover; }

/* ========== ФУТЕР ========== */
.footer { background: var(--text-primary); color: #B9C2CC; padding: 44px 0 32px; }
.footer__inner { display: flex; flex-direction: column; gap: 8px; align-items: center; text-align: center; font-size: .92rem; }
.footer__link { color: var(--accent-light); text-decoration: none; }
.footer__link:hover { text-decoration: underline; }

/* ========== ВИДЖЕТЫ ========== */
.telegram-widget {
    position: fixed; bottom: 20px; right: 20px; z-index: 9999;
    width: 62px; height: 62px; border-radius: 50%;
    background: linear-gradient(135deg, #0088cc, var(--accent-start));
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 10px 26px rgba(0,136,204,.45); transition: var(--transition);
}
.telegram-widget:hover { transform: scale(1.1) rotate(8deg); }
.scroll-top {
    position: fixed; bottom: 96px; right: 28px; z-index: 9998;
    width: 48px; height: 48px; border-radius: 50%; border: none;
    background: var(--bg-primary);
    box-shadow: 0 6px 18px rgba(26, 26, 26, .28), 0 2px 6px rgba(26, 26, 26, .18);
    color: var(--accent-end); font-size: 1.2rem; cursor: pointer;
    display: none; align-items: center; justify-content: center; transition: var(--transition);
}
.scroll-top:hover { transform: translateY(-3px); }

/* ========== COOKIE ========== */
.cookie-banner {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 10000;
    background: #10151B; color: #DDE3EA; padding: 18px 24px;
    display: flex; align-items: center; justify-content: center; gap: 24px; flex-wrap: wrap;
    transform: translateY(110%); transition: transform .5s ease;
}
.cookie-banner.show { transform: none; }
.cookie-banner p { max-width: 720px; font-size: .9rem; }
.cookie-banner a { color: var(--accent-light); }

/* ========== МОДАЛКА ========== */
.modal {
    position: fixed; inset: 0; z-index: 10001;
    background: rgba(10,16,22,.55); backdrop-filter: blur(4px);
    display: none; align-items: center; justify-content: center; padding: 20px;
}
.modal__content {
    background: var(--bg-primary); border-radius: var(--radius); padding: 40px;
    width: 100%; max-width: 480px; position: relative;
    box-shadow: 0 30px 60px rgba(0,0,0,.25);
}
.modal__close {
    position: absolute; top: 14px; right: 18px; background: none; border: none;
    font-size: 1.8rem; line-height: 1; cursor: pointer; color: var(--text-secondary);
}
.modal__close:hover { color: var(--accent-end); }
.modal__content h3 { margin-bottom: 22px; }
.modal input, .modal textarea {
    width: 100%; padding: 13px 16px; margin-bottom: 14px; border-radius: 12px;
    border: 2px solid #E3E8EF; background: var(--bg-secondary);
    font-family: inherit; font-size: .95rem; outline: none; transition: border-color .3s;
}
.modal input:focus, .modal textarea:focus { border-color: var(--accent-light); }
.checkbox-label { display: flex; gap: 10px; align-items: flex-start; font-size: .8rem; color: var(--text-secondary); margin-bottom: 18px; cursor: pointer; }
.checkbox-label input { width: auto; margin: 3px 0 0; accent-color: var(--accent-light); }

/* ========== АДАПТИВ ========== */
@media (max-width: 992px) {
    .catalog__grid, .gallery__grid { grid-template-columns: repeat(2, 1fr); }
    .calc__wrapper, .contacts__wrapper, .product-detail__grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .section { padding: 90px 0; }
    .catalog__grid, .gallery__grid, .reviews__grid { grid-template-columns: 1fr; }
    .nav {
        position: fixed; top: 72px; left: 0; right: 0;
        background: rgba(255,255,255,.98); flex-direction: column;
        padding: 24px; gap: 18px; box-shadow: 0 20px 40px rgba(0,0,0,.08);
        transform: translateY(-150%); transition: transform .4s ease;
    }
    .nav.active { transform: none; }
    .burger { display: flex; }
}
@media (max-width: 560px) {
    .phone { display: none; }
    .hero__buttons .btn { width: 100%; }
}
/* ========== СТРАНИЦА ТОВАРА: ДОРАБОТКИ ========== */
.back-link {
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--accent-end); font-weight: 600; text-decoration: none;
    margin-bottom: 28px; transition: var(--transition);
}
.back-link:hover { color: var(--accent-start); transform: translateX(-5px); }

.product-thumbs { display: flex; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.thumb {
    width: 88px; height: 66px; object-fit: cover; border-radius: 10px;
    cursor: pointer; border: 3px solid transparent; opacity: .7;
    transition: var(--transition);
}
.thumb:hover, .thumb.active { border-color: var(--accent-light); opacity: 1; }

/* ========== ТЕПЛОВИЗИОННЫЙ КОНТРОЛЬ ========== */
.thermal { background: linear-gradient(135deg, #0B1620 0%, #10222E 100%); color: #EAF2F7; }
.thermal__wrapper { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.thermal__badge { display: inline-block; padding: 8px 16px; border-radius: 50px; background: rgba(0,180,216,.15); color: var(--accent-light); font-weight: 600; font-size: .85rem; margin-bottom: 18px; }
.thermal__title { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 800; margin-bottom: 16px; letter-spacing: -.5px; color: #fff; }
.thermal__text { color: #AEBBC7; margin-bottom: 24px; }
.thermal__list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.thermal__list li { padding-left: 28px; position: relative; color: #C7D3DC; }
.thermal__list li::before { content: '✔'; position: absolute; left: 0; color: var(--accent-light); }
.thermal__list strong { color: #fff; }
.thermal__buttons { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.thermal__price { color: #8FA1AF; font-size: .9rem; }

.thermo-card { border-radius: var(--radius); overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.08); background: #0E1A24; }
.thermo-card__screen {
    height: 260px; position: relative;
    background:
        radial-gradient(circle at 70% 30%, rgba(255,190,60,.9), rgba(255,120,40,.55) 25%, transparent 45%),
        radial-gradient(circle at 30% 70%, rgba(0,220,255,.5), transparent 40%),
        linear-gradient(160deg, #123a5c 0%, #0d2b46 40%, #16324a 70%, #1b2a3a 100%);
}
.thermo-card__screen::after {
    content: ''; position: absolute; inset: 0;
    background:
        repeating-linear-gradient(0deg, transparent 0 3px, rgba(255,255,255,.03) 3px 4px),
        repeating-linear-gradient(90deg, transparent 0 3px, rgba(255,255,255,.03) 3px 4px);
}
.thermo-card__img { width: 100%; height: 260px; object-fit: cover; display: block; }
.thermo-card__meta { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; gap: 12px; }
.thermo-card__temp { font-size: 1.4rem; font-weight: 800; color: #FFB84D; }
.thermo-card__label { font-size: .8rem; color: #8FA1AF; text-align: right; }
.thermo-specs { display: flex; gap: 10px; margin-top: 14px; }
.thermo-specs span { flex: 1; text-align: center; padding: 10px 0; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); font-size: .85rem; color: #AEBBC7; font-weight: 600; }

@media (max-width: 992px) {
    .thermal__wrapper { grid-template-columns: 1fr; }
}

/* ========== ПОЛИТИКА ========== */
.policy { max-width: 820px; }
.policy h1 { font-size: 2rem; margin-bottom: 20px; letter-spacing: -.5px; }
.policy h2 { font-size: 1.25rem; margin: 28px 0 10px; }
.policy p { color: var(--text-secondary); margin-bottom: 10px; }
.policy ul { margin: 0 0 12px 22px; color: var(--text-secondary); }
.policy li { margin-bottom: 6px; }

/* ========== СТРАНИЦА 404 ========== */
.error-page { min-height: 80vh; display: flex; align-items: center; }
.error-page__content { text-align: center; max-width: 700px; margin: 0 auto; }

.error-page__visual { position: relative; margin-bottom: 40px; }
.error-page__number {
    font-size: clamp(8rem, 20vw, 14rem);
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    letter-spacing: -8px;
    margin-bottom: 20px;
}
.error-page__logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0, 119, 182, 0.3);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(5deg); }
}

.error-page__title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.error-page__text {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.7;
}

.error-page__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.error-page__hint {
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.error-page__hint p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 10px;
}
.error-page__phone {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent-end);
    text-decoration: none;
    transition: var(--transition);
}
.error-page__phone:hover {
    color: var(--accent-start);
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .error-page__actions { flex-direction: column; }
    .error-page__actions .btn { width: 100%; }
}

/* ========== ПРОДАЮЩИЕ БЛОКИ ========== */
.block-head { text-align: center; margin-bottom: 48px; }
.block-head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; letter-spacing: -.5px; }
.block-head p { color: var(--text-secondary); margin-top: 10px; }

.steps__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step {
    background: var(--bg-primary); border-radius: var(--radius); padding: 28px 24px;
    box-shadow: var(--shadow); position: relative; transition: var(--transition);
}
.step:hover { transform: translateY(-6px); }
.step__num {
    position: absolute; top: 18px; right: 22px;
    font-size: 2.8rem; font-weight: 900; line-height: 1;
    background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent; opacity: .35;
}
.step__icon { font-size: 2rem; margin-bottom: 14px; }
.step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step p { color: var(--text-secondary); font-size: .95rem; }

.cta-measure {
    background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
    border-radius: 24px; padding: 56px 40px; text-align: center; color: #fff;
    box-shadow: 0 20px 50px rgba(0, 119, 182, .35);
}
.cta-measure h2 { color: #fff; font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 800; margin-bottom: 14px; }
.cta-measure p { max-width: 640px; margin: 0 auto 28px; opacity: .92; }
.btn--white { background: #fff; color: var(--accent-start); font-weight: 700; border: none; }
.btn--white:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0, 0, 0, .2); }
.cta-measure__phone { display: block; margin-top: 18px; color: #fff; font-weight: 700; text-decoration: none; opacity: .9; }
.cta-measure__phone:hover { opacity: 1; text-decoration: underline; }

@media (max-width: 992px) {
    .steps__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .steps__grid { grid-template-columns: 1fr; }
    .cta-measure { padding: 40px 24px; }
}

/* ========== HERO: две колонки, рамка, фото, бейджи ========== */
.hero__content {
    display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; text-align: left;
}
.hero__content > h1,
.hero__content > p,
.hero__buttons { grid-column: 1; }
.hero__buttons { display: flex; gap: 14px; flex-wrap: wrap; }

.hero__visual { position: relative; max-width: 440px; width: 100%; margin: 0; justify-self: end; grid-column: 2; grid-row: 1 / span 3; }
.hero__frame {
    position: absolute; inset: -14px; border-radius: 28px;
    background: linear-gradient(135deg, rgba(0,180,216,.18), rgba(0,119,182,.18));
    border: 1.5px dashed rgba(0,150,199,.4);
    animation: frameSpin 14s ease-in-out infinite; z-index: 0;
}
@keyframes frameSpin { 0%,100% { transform: rotate(-3deg) scale(1);} 50% { transform: rotate(3deg) scale(1.02);} }
.hero__photo {
    position: relative; z-index: 1; width: 100%; border-radius: 22px;
    box-shadow: 0 24px 60px rgba(0,77,128,.35); display: block;
}

/* Бейджи — меньше + полупрозрачные с размытием */
.badge {
    position: absolute; z-index: 2; display: flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,.72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.6); border-radius: 13px; padding: 8px 11px; text-align: left;
    box-shadow: 0 10px 24px rgba(0,77,128,.16); animation: floatBadge 4s ease-in-out infinite;
}
.badge__icon {
    width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center;
    font-size: .9rem; background: linear-gradient(135deg, var(--accent-start), var(--accent-end)); color: #fff; flex-shrink: 0;
}
.badge b { display: block; font-size: .8rem; line-height: 1.15; }
.badge small { color: var(--text-secondary); font-size: .7rem; }
.badge--1 { top: 2%;  left: -7%;  animation-delay: 0s; }
.badge--2 { top: 85%; right: -9%; animation-delay: 1.3s; }
.badge--3 { bottom: 5%; left: 3%; animation-delay: 2.4s; }
@keyframes floatBadge { 0%,100% { transform: translateY(0);} 50% { transform: translateY(-10px);} }

/* ========== БЕГУЩАЯ СТРОКА (бесшовная + пауза при наведении) ========== */
.marquee { overflow: hidden; background: #f4f8fb; border-top: 1px solid rgba(0,0,0,.05); border-bottom: 1px solid rgba(0,0,0,.05); padding: 16px 0; }
.marquee__track { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; gap: 28px; padding-right: 28px; flex-shrink: 0; }
.marquee__group span { font-weight: 800; letter-spacing: 1px; color: var(--text-primary); font-size: .95rem; white-space: nowrap; }
.marquee__group i { color: var(--accent-end); font-style: normal; }
@keyframes marquee { from { transform: translateX(0);} to { transform: translateX(-50%);} }

/* Мобильная версия — одна колонка */
@media (max-width: 900px) {
    .hero__content { grid-template-columns: 1fr !important; text-align: center !important; }
    .hero__content > h1, .hero__content > p, .hero__buttons { grid-column: 1 !important; }
    .hero__buttons { justify-content: center !important; }
    
    .hero__visual {
        grid-column: 1 !important; grid-row: auto !important; justify-self: center !important;
        margin: 30px auto 0 !important; max-width: 340px !important;
        display: flex !important; flex-direction: column !important; align-items: stretch !important;
    }
    .hero__frame { display: none !important; }
    .hero__photo { width: 100% !important; }

    .badge {
        position: static !important; transform: none !important; animation: none !important;
        width: 100% !important; justify-content: flex-start !important; margin-top: 10px !important;
        background: rgba(255,255,255,.85) !important; backdrop-filter: blur(8px) !important;
        left: auto !important; right: auto !important; top: auto !important; bottom: auto !important;
    }
}
.hero__visual { position: relative; max-width: 440px; width: 100%; margin: 0; justify-self: end; grid-column: 2; grid-row: 1 / span 3; padding-top: 10px; }