/* Главная SuperPol — hero, анимации, мобильная вёрстка */

/* ---------- Hero ---------- */
.hp-hero {
    position: relative;
    min-height: clamp(520px, 92vh, 980px);
    display: grid;
    align-items: center;
    overflow: hidden;
    background: #0a0c10;
}

.hp-hero-bg {
    position: absolute;
    inset: 0;
    background-color: #0a0c10;
    background-image: url('/images/home/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.02);
    pointer-events: none;
    filter: brightness(0.52) saturate(0.92);
}

.hp-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    /* Слева — под текст; справа сильнее (светлое фото), без «провала» яркости */
    background: linear-gradient(
        100deg,
        rgba(2, 4, 9, 0.98) 0%,
        rgba(2, 4, 9, 0.9) 26%,
        rgba(2, 4, 9, 0.76) 46%,
        rgba(2, 4, 9, 0.82) 62%,
        rgba(2, 4, 9, 0.9) 78%,
        rgba(2, 4, 9, 0.94) 100%
    );
    pointer-events: none;
    z-index: 0;
}

.hp-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(ellipse 66% 90% at 10% 52%, rgba(0, 0, 0, 0.55), transparent 56%),
        radial-gradient(ellipse 110% 95% at 96% 42%, rgba(0, 0, 0, 0.62), transparent 48%),
        radial-gradient(ellipse 70% 55% at 82% 78%, rgba(0, 0, 0, 0.45), transparent 50%),
        linear-gradient(180deg, rgba(2, 4, 9, 0.5) 0%, transparent 30%, rgba(2, 4, 9, 0.68) 100%);
}

.hp-hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 90% 75% at 28% 42%, #000 0%, transparent 68%);
    pointer-events: none;
    z-index: 0;
    opacity: 0.5;
    animation: hpGridDrift 22s ease-in-out infinite alternate;
}

.hp-hero-orb {
    display: none;
}

@keyframes hpGridDrift {
   0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.85;
    }
    100% {
        transform: translate(-12px, 8px) scale(1.02);
        opacity: 1;
    }
}

@keyframes hpOrbFloat {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(-16px, 12px) scale(1.08);
    }
}

@keyframes hpFadeUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes hpCardBob {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-6px);
    }
}

@keyframes hpShine {
    0% {
        background-position: 200% center;
    }
    100% {
        background-position: -200% center;
    }
}

.hp-hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: center;
    padding: clamp(4.5rem, 12vw, 6rem) var(--container-padding) clamp(2.5rem, 6vw, 4rem);
}

@media (max-width: 992px) {
    .hp-hero-inner {
        grid-template-columns: 1fr;
        padding: 4.75rem var(--container-padding) 2.5rem;
        gap: 1.75rem;
    }

    .hp-hero {
        min-height: auto;
    }
}

.hp-hero-copy {
    max-width: 640px;
}

.hp-hero-copy .hp-title {
    animation: hpFadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.hp-hero-copy .hp-lead {
    animation: hpFadeUp 0.8s 0.08s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.hp-hero-copy .hp-actions {
    animation: hpFadeUp 0.8s 0.14s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.hp-hero-copy .hp-stats {
    animation: hpFadeUp 0.85s 0.2s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.hp-title {
    font-family: Oswald, sans-serif;
    font-weight: 700;
    font-size: clamp(2rem, 6.5vw, 3.85rem);
    line-height: 1.04;
    color: #fff;
    margin: 0 0 1rem;
    letter-spacing: 0.02em;
}

.hp-title span {
    display: block;
    padding-top: 0.12em;
    background: linear-gradient(100deg, #fb923c, #f97316 40%, #fde68a 75%, #fb923c);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: hpShine 10s linear infinite;
}

.hp-lead {
    font-size: clamp(1rem, 2.8vw, 1.12rem);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.78);
    margin: 0 0 1.75rem;
    max-width: 540px;
}

.hp-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.hp-actions .btn {
    transition:
        transform 0.35s cubic-bezier(0.34, 1.4, 0.64, 1),
        box-shadow 0.35s ease;
}

.hp-actions .btn:active {
    transform: scale(0.98);
}

.hp-actions .btn-primary:hover {
    box-shadow: 0 12px 40px rgba(249, 115, 22, 0.45);
    transform: translateY(-2px);
}

.hp-actions .btn-glass:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.12);
}

.hp-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(0.5rem, 3vw, 1rem);
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 400px) {
    .hp-stats {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hp-stat {
        text-align: center;
    }
}

.hp-stat {
    text-align: left;
}

.hp-stat strong {
    display: block;
    font-family: Oswald, sans-serif;
    font-size: clamp(1.35rem, 5vw, 1.85rem);
    color: #fff;
    line-height: 1.2;
}

.hp-stat span {
    font-size: clamp(0.75rem, 2.5vw, 0.85rem);
    color: rgba(255, 255, 255, 0.55);
}

/* Карточки справа */
.hp-visual {
    position: relative;
    min-height: 420px;
}

.hp-card-stack {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: min(100%, 440px);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (max-width: 992px) {
    .hp-visual {
        min-height: auto;
    }

    .hp-card-stack {
        position: relative;
        top: auto;
        transform: none;
        width: 100%;
    }
}

.hp-float-card {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    padding: 1.1rem 1.25rem;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #e8edf4;
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.4);
    transition:
        transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.3s ease,
        box-shadow 0.35s ease;
    animation: hpCardBob 5.5s ease-in-out infinite;
}

.hp-float-card:nth-child(1) {
    animation-delay: 0s;
}

.hp-float-card:nth-child(2) {
    margin-left: 2rem;
    animation-delay: 0.6s;
}

.hp-float-card:nth-child(3) {
    margin-left: 0.5rem;
    animation-delay: 1.2s;
}

.hp-float-card:hover {
    transform: translateY(-4px) scale(1.02);
    border-color: rgba(249, 115, 22, 0.45);
    box-shadow: 0 28px 64px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(249, 115, 22, 0.2);
}

@media (max-width: 992px) {
    .hp-float-card:nth-child(2),
    .hp-float-card:nth-child(3) {
        margin-left: 0;
    }

    .hp-float-card {
        animation: none;
    }
}

.hp-float-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: linear-gradient(145deg, #fb923c, #ea580c);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 8px 24px rgba(249, 115, 22, 0.35);
}

.hp-float-icon i {
    width: 22px;
    height: 22px;
    color: #111;
}

.hp-float-card h4 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
}

.hp-float-card p {
    margin: 0.15rem 0 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.55);
}

/* Доверие */
.hp-trust {
    background: linear-gradient(180deg, #111827 0%, #0f172a 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 1.1rem 0;
    position: relative;
}

.hp-trust-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem 2rem;
    font-size: clamp(0.82rem, 2.5vw, 0.92rem);
    color: rgba(255, 255, 255, 0.68);
    text-align: center;
}

@media (min-width: 768px) {
    .hp-trust-row {
        justify-content: space-between;
        text-align: left;
    }
}

.hp-trust-item {
    max-width: 520px;
    line-height: 1.45;
}

.hp-trust-divider {
    display: none;
    width: 1px;
    height: 28px;
    background: linear-gradient(180deg, transparent, rgba(253, 186, 116, 0.5), transparent);
}

@media (min-width: 768px) {
    .hp-trust-divider {
        display: block;
    }
}

.hp-trust-row strong {
    color: #fdba74;
    font-weight: 600;
}

/* Быстрый выбор */
.hp-quick-section {
    padding-top: clamp(1.75rem, 5vw, 2.5rem);
    padding-bottom: 0.25rem;
}

.hp-quick-title {
    margin-top: 0.35rem;
    letter-spacing: 0.04em;
}

/* Чипы: на мобильных — горизонтальный скролл */
.hp-pills-wrap {
    margin: 1.25rem calc(-1 * var(--container-padding)) 0.5rem;
    padding: 4px var(--container-padding) 10px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    mask-image: linear-gradient(90deg, transparent, #000 12px, #000 calc(100% - 12px), transparent);
}

/* Ultra-narrow: prevent negative margins from causing page overflow */
@media (max-width: 420px) {
    .hp-pills-wrap {
        margin-left: 0;
        margin-right: 0;
    }
}

.hp-pills-wrap::-webkit-scrollbar {
    height: 4px;
}

.hp-pills-wrap::-webkit-scrollbar-thumb {
    background: rgba(249, 115, 22, 0.35);
    border-radius: 4px;
}

@media (min-width: 768px) {
    .hp-pills-wrap {
        overflow: visible;
        mask-image: none;
        margin: 1.5rem 0 1rem;
        padding: 0;
    }
}

.hp-pills {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.5rem;
    margin: 0;
}

@media (min-width: 768px) {
    .hp-pills {
        flex-wrap: wrap;
    }
}

.hp-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.1rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.72);
    border: 1px solid rgba(249, 115, 22, 0.28);
    color: #e8edf4;
    font-size: 0.86rem;
    font-weight: 500;
    text-decoration: none;
    flex-shrink: 0;
    scroll-snap-align: start;
    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s cubic-bezier(0.34, 1.4, 0.64, 1),
        box-shadow 0.25s ease;
}

.hp-pill:hover {
    background: rgba(249, 115, 22, 0.18);
    border-color: rgba(249, 115, 22, 0.55);
    text-decoration: none;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(249, 115, 22, 0.2);
}

.hp-pill:active {
    transform: scale(0.98);
}

/* Bento */
.hp-bento {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: minmax(180px, auto) minmax(160px, auto);
    gap: clamp(0.65rem, 2vw, 1rem);
    margin: 1.75rem 0 2.5rem;
}

.hp-bento-cell--wide {
    grid-column: span 2;
}

@media (max-width: 900px) {
    .hp-bento {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    .hp-bento-cell--wide {
        grid-column: span 2;
    }
}

@media (max-width: 520px) {
    .hp-bento {
        grid-template-columns: 1fr;
    }

    .hp-bento-cell--wide {
        grid-column: span 1;
    }
}

.hp-bento-cell {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    min-height: 160px;
    cursor: pointer;
}

.hp-bento-cell::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    pointer-events: none;
    z-index: 2;
    transition: box-shadow 0.35s ease;
}

.hp-bento-cell:hover::after {
    box-shadow:
        inset 0 0 0 1px rgba(249, 115, 22, 0.35),
        inset 0 -80px 80px -80px rgba(0, 0, 0, 0.35);
}

.hp-bento-cell img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.hp-bento-cell:hover img {
    transform: scale(1.06);
}

.hp-bento-cell figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1rem 1.1rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.82));
    color: #fff;
    font-weight: 600;
    font-size: clamp(0.85rem, 2.5vw, 0.95rem);
    z-index: 3;
}

.hp-bento .large {
    grid-row: span 2;
}

@media (max-width: 900px) {
    .hp-bento .large {
        grid-row: span 1;
    }
}

/* CTA полоса */
.hp-lead-strip {
    position: relative;
    background: linear-gradient(125deg, #151c28 0%, #1a1520 45%, #1c1412 100%);
    border: 1px solid rgba(249, 115, 22, 0.35);
    border-radius: 20px;
    padding: clamp(1.35rem, 4vw, 2rem);
    margin: clamp(1.5rem, 4vw, 3rem) 0;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1.25rem;
    align-items: center;
    overflow: hidden;
}

.hp-lead-strip::before {
    content: '';
    position: absolute;
    top: 0;
    left: -40%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
    animation: hpLeadSweep 6s ease-in-out infinite;
    pointer-events: none;
}

@keyframes hpLeadSweep {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(280%);
    }
}

@media (max-width: 768px) {
    .hp-lead-strip {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hp-lead-strip .btn {
        width: 100%;
        justify-content: center;
    }
}

.hp-lead-strip h2 {
    margin: 0 0 0.5rem;
    font-family: Oswald, sans-serif;
    font-size: clamp(1.25rem, 4vw, 1.55rem);
    color: #fff;
}

.hp-lead-strip p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.55;
    font-size: clamp(0.92rem, 2.5vw, 1rem);
}

/* Тёмный блок товаров */
.hp-section-dark {
    background: linear-gradient(180deg, #0c1014 0%, #0f1419 40%, #0c1014 100%);
    padding: clamp(2.5rem, 6vw, 3.5rem) 0;
    margin-top: 1.5rem;
    position: relative;
}

.hp-section-dark::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 40% at 50% 0%, rgba(249, 115, 22, 0.08), transparent 55%);
    pointer-events: none;
}

.hp-section-dark .container {
    position: relative;
    z-index: 1;
}

.hp-section-dark .section-title,
.hp-section-dark .section-label {
    color: #e8edf4;
}

.hp-section-dark .section-link {
    color: #fdba74;
}

.page-home .hp-section-dark .product-card {
    border-color: rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.98);
}

.page-home .hp-section-dark .product-card:hover {
    border-color: rgba(249, 115, 22, 0.35);
}

.hp-promo-headline {
    white-space: pre-line;
}

/* Каталог на главной — v2: ровная сетка одинаковых карточек */
.hp-cat-showcase--v2 {
    padding: 0;
    background: #eceff3;
}

.hp-cat-showcase__intro {
    background: #0f1419;
    padding: clamp(1.5rem, 3.5vw, 2.1rem) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hp-cat-showcase__intro-inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.25rem 2rem;
    flex-wrap: wrap;
}

.hp-cat-showcase__intro-text {
    min-width: 0;
}

.hp-cat-showcase__eyebrow {
    margin: 0 0 0.35rem;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(249, 115, 22, 0.95);
}

.hp-cat-showcase--v2 .hp-cat-showcase__title-only {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3.5vw, 2.05rem);
    font-weight: 600;
    color: #f8fafc;
    letter-spacing: 0.02em;
    line-height: 1.15;
}

.hp-cat-showcase__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.15rem;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition:
        color 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.hp-cat-showcase__cta--ghost {
    color: #e2e8f0;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.hp-cat-showcase__cta--ghost:hover {
    color: #0f1419;
    background: #f8fafc;
    border-color: #f8fafc;
    transform: translateY(-1px);
}

.hp-cat-showcase__cta [data-lucide] {
    width: 17px;
    height: 17px;
}

.hp-cat-showcase__body {
    padding: clamp(1.85rem, 4vw, 2.75rem) 0 clamp(2.25rem, 5vw, 3.5rem);
}

.categories-grid--home.categories-grid--v2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    align-items: stretch;
}

.hp-cat-showcase--v2 .category-card--home {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    aspect-ratio: unset;
    border-radius: 12px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
    background: var(--white);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition:
        border-color 0.2s ease,
        box-shadow 0.22s ease,
        transform 0.2s ease;
}

.hp-cat-showcase--v2 .category-card--home:hover {
    border-color: rgba(249, 115, 22, 0.28);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
    transform: translateY(-2px);
}

.hp-cat-showcase--v2 .category-image {
    position: relative;
    flex: none;
    width: 100%;
    aspect-ratio: 4 / 3;
    min-height: 0;
    background: var(--gray-100);
}

.hp-cat-showcase--v2 .category-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hp-cat-showcase--v2 .category-content {
    position: relative;
    inset: auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 0.95rem 1rem 1.05rem;
    gap: 0;
    min-height: 6.75rem;
    background: var(--white);
    color: var(--secondary);
}

.hp-cat-showcase--v2 .category-count {
    color: var(--gray-500);
    font-weight: 600;
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.35rem;
}

.hp-cat-showcase--v2 .category-content h3 {
    color: var(--secondary);
    font-size: clamp(0.88rem, 2.4vw, 1rem);
    font-weight: 600;
    margin: 0 0 0.35rem;
    letter-spacing: 0.04em;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hp-cat-showcase--v2 .category-content p {
    color: var(--gray-600);
    font-size: 12.5px;
    line-height: 1.4;
    margin: auto 0 0;
}

.page-home .hp-cat-showcase--v2 .category-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(15, 23, 42, 0.08);
    color: var(--secondary);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
    pointer-events: none;
}

.page-home .hp-cat-showcase--v2 .category-icon [data-lucide] {
    width: 18px;
    height: 18px;
    stroke-width: 2;
}

.page-home .hp-cat-showcase--v2 .category-card--home:hover .category-icon {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

@media (min-width: 1100px) {
    .categories-grid--home.categories-grid--v2 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.15rem;
    }
}

/* 2 колонки + нечётное число карточек — одна внизу по центру */
@media (min-width: 521px) and (max-width: 1099px) {
    .categories-grid--home.categories-grid--v2 > a:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        max-width: calc(50% - 0.5rem);
        justify-self: center;
    }
}

@media (max-width: 520px) {
    .categories-grid--home.categories-grid--v2 {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }

    .hp-cat-showcase--v2 .category-content {
        min-height: 0;
    }
}

/* SEO-текст о компании */
.hp-seo-about {
    padding: clamp(2rem, 5vw, 3rem) 0;
    background: var(--white);
    border-top: 1px solid var(--gray-100);
    border-bottom: 1px solid var(--gray-100);
}

.hp-seo-about__title {
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 3.5vw, 1.75rem);
    font-weight: 600;
    color: var(--secondary);
    margin: 0 0 1.25rem;
    letter-spacing: 0.02em;
    max-width: 48rem;
}

.hp-seo-about__p {
    margin: 0 0 1rem;
    font-size: 1rem;
    line-height: 1.75;
    color: var(--gray-700);
    max-width: 52rem;
}

.hp-seo-about__p:last-child {
    margin-bottom: 0;
}

/* Промо: отступы и ритм */
.promo-section--home {
    padding: clamp(2.5rem, 6vw, 4rem) 0;
}

.promo-section__inner {
    padding-left: 0;
    padding-right: 0;
}

.promo-card--home {
    margin: 0;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
}

.promo-card--home .promo-content {
    padding: clamp(2rem, 5vw, 3.5rem) clamp(1.75rem, 4vw, 3.75rem);
}

.promo-card--home .promo-image {
    min-height: 280px;
}

.promo-card--home .promo-features {
    margin-bottom: clamp(1.5rem, 3vw, 2rem);
}

.promo-card--home .promo-content > p {
    margin-bottom: clamp(1rem, 2vw, 1.5rem);
}

/* Блог на главной — минималистичный журнал */
.blog-section--home {
    padding: clamp(2.5rem, 6vw, 4rem) 0;
    background: #fafafa;
    border-top: 1px solid var(--gray-200);
}

.blog-home-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-200);
}

.blog-home-eyebrow {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.35rem;
}

.blog-home-title {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 600;
    color: var(--secondary);
    letter-spacing: 0.02em;
}

.blog-home-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--secondary);
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid var(--gray-300);
    background: var(--white);
    transition:
        border-color 0.2s ease,
        color 0.2s ease,
        box-shadow 0.2s ease;
}

.blog-home-all:hover {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 4px 16px rgba(249, 115, 22, 0.12);
}

.blog-home-all [data-lucide] {
    width: 16px;
    height: 16px;
}

.blog-home-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.blog-home-card {
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr);
    gap: clamp(1rem, 3vw, 1.75rem);
    padding: clamp(1.25rem, 3vw, 1.75rem) 0;
    border-bottom: 1px solid var(--gray-200);
    align-items: center;
    transition: background 0.2s ease;
}

.blog-home-card:first-child {
    padding-top: 0.5rem;
}

.blog-home-card:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.blog-home-card:hover {
    background: rgba(255, 255, 255, 0.7);
}

.blog-home-card__media {
    display: block;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--gray-200);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.blog-home-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.blog-home-card:hover .blog-home-card__media img {
    transform: scale(1.04);
}

.blog-home-card__cat {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
    display: block;
    margin-bottom: 0.35rem;
}

.blog-home-card__title {
    margin: 0 0 0.5rem;
    font-size: clamp(1.05rem, 2.5vw, 1.2rem);
    font-weight: 600;
    line-height: 1.35;
}

.blog-home-card__title a {
    color: var(--secondary);
    text-decoration: none;
    transition: color 0.15s ease;
}

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

.blog-home-card__excerpt {
    margin: 0 0 0.65rem;
    font-size: 14px;
    line-height: 1.55;
    color: var(--gray-600);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-home-card__meta {
    font-size: 12px;
    color: var(--gray-500);
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-home-card__dot {
    opacity: 0.6;
}

@media (max-width: 640px) {
    .blog-home-card {
        grid-template-columns: 1fr;
    }

    .blog-home-card__media {
        aspect-ratio: 16 / 9;
        max-height: 200px;
    }

    .blog-home-head {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Появление при скролле */
[data-reveal] {
    opacity: 0;
    transform: translateY(36px);
    transition:
        opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Категории на главной — чуть мягче на мобилке */
@media (max-width: 576px) {
    .hp-cat-showcase--v2 .hp-cat-showcase__body {
        padding-bottom: 2rem;
    }

    .page-home .promo-content {
        padding: 36px 22px;
    }

    .page-home .promo-content h2 {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

    .page-home .promo-badge {
        bottom: 18px;
        left: 18px;
        padding: 12px 18px;
    }

    .page-home .badge-value {
        font-size: 28px;
    }
}

/* Снижение анимаций */
@media (prefers-reduced-motion: reduce) {
    .hp-hero-bg,
    .hp-hero-grid,
    .hp-hero-orb,
    .hp-title span,
    .hp-float-card,
    .hp-lead-strip::before {
        animation: none !important;
    }

    .hp-hero-copy .hp-title,
    .hp-hero-copy .hp-lead,
    .hp-hero-copy .hp-actions,
    .hp-hero-copy .hp-stats {
        animation: none !important;
        opacity: 1;
        transform: none;
    }

    [data-reveal] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}
