/* ===== ЦВЕТА РГ-СПРАВОЧНИК ===== */
:root {
    --primary: #6d1a36;
    --primary-light: #8a2a4a;
    --gold: #c9a84c;
    --gold-light: #e8d5a3;
    --dark: #1a1a1a;
    --text-dark: #0f172a;
    --text-light: #ffffff;
}

/* ===== ГЛОБАЛЬНЫЙ ФИКС ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #f8fafc;
    color: #0f172a;
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

section {
    max-width: 100vw;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
}

/* ===== HEADER ===== */
.header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: box-shadow 0.3s;
}

.header.scrolled {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 22px;
    letter-spacing: -0.5px;
}

.logo-icon {
    font-size: 28px;
}

.logo-text {
    background: linear-gradient(135deg, #6d1a36, #c9a84c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav {
    display: flex;
    gap: 32px;
    font-weight: 500;
    font-size: 15px;
}

.nav a {
    color: #475569;
    transition: color 0.2s;
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #6d1a36;
    transition: width 0.3s;
    border-radius: 2px;
}

.nav a:hover {
    color: #0f172a;
}

.nav a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #0f172a;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, #6d1a36, #c9a84c);
    color: #fff;
    box-shadow: 0 4px 20px rgba(109, 26, 54, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(109, 26, 54, 0.45);
}

.btn-secondary {
    background: rgba(0, 0, 0, 0.05);
    color: #0f172a;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.btn-secondary:hover {
    background: rgba(0, 0, 0, 0.08);
}

/* ===== HERO ===== */
.hero {
    padding: 120px 0 60px;
    background: #ffffff;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.badge {
    display: inline-block;
    background: rgba(109, 26, 54, 0.12);
    color: #6d1a36;
    font-weight: 600;
    font-size: 13px;
    padding: 6px 16px;
    border-radius: 50px;
    width: fit-content;
    letter-spacing: 0.3px;
}

.hero-title {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
}

.gradient-text {
    background: linear-gradient(135deg, #6d1a36, #c9a84c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 18px;
    color: #64748b;
    max-width: 480px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 4px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 12px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-weight: 800;
    font-size: 24px;
    color: #0f172a;
}

.stat-label {
    font-size: 14px;
    color: #94a3b8;
}

/* ===== PHONE MOCKUP (HERO) ===== */
.hero-image {
    display: flex;
    justify-content: center;
}

.phone-mockup {
    width: 280px;
    height: 540px;
    background: #0f172a;
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.15), 0 4px 16px rgba(0, 0, 0, 0.06);
    position: relative;
    margin: 0 auto;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 6px;
    background: #1e293b;
    border-radius: 6px;
    z-index: 2;
}

.phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 32px;
    overflow: hidden;
    background: #f1f5f9;
    position: relative;
}

.screenshot-phone {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.4s ease;
}

/* ===== THEME BADGE & TOGGLE (HERO) ===== */
.theme-badge {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.80);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 20px;
    letter-spacing: 0.3px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
    white-space: nowrap;
}

.theme-badge.visible {
    opacity: 1;
}

.theme-toggle-wrapper {
    text-align: center;
    margin-top: 16px;
}

.theme-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(109, 26, 54, 0.08);
    border: 2px solid #c9a84c;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: #6d1a36;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.theme-toggle-btn:hover {
    background: rgba(109, 26, 54, 0.15);
    transform: scale(1.03);
    box-shadow: 0 4px 16px rgba(109, 26, 54, 0.15);
}

.theme-toggle-btn #toggleIcon {
    font-size: 18px;
}

/* ===== SECTION HEADERS ===== */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: #6d1a36;
    background: rgba(109, 26, 54, 0.10);
    padding: 4px 16px;
    border-radius: 50px;
    letter-spacing: 0.3px;
    margin-bottom: 10px;
}

.section-title {
    font-size: clamp(26px, 3.5vw, 38px);
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.15;
}

.section-subtitle {
    color: #64748b;
    font-size: 17px;
    max-width: 560px;
    margin: 6px auto 0;
}

/* ===== FEATURES ===== */
.features {
    padding: 60px 0;
    background: #f8fafc;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.feature-card {
    background: #ffffff;
    padding: 28px 24px;
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
    transition: all 0.3s;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
}

.feature-card p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
}

/* ===== SCREENSHOTS ===== */
.screenshots {
    padding: 60px 0;
    background: #ffffff;
    overflow-x: hidden;
    max-width: 100vw;
}

/* ===== COVERFLOW CAROUSEL ===== */
.coverflow-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 30px 0 40px;
    overflow: visible;
    perspective: 1200px;
    -webkit-perspective: 1200px;
    height: 720px;
}

.coverflow-track {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 100%;
    padding: 0 60px;
    position: relative;
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
}

.coverflow-slide {
    flex: 0 0 180px;
    height: 367px;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    transform-origin: center center;
    background: #1a1a2e;
    border: 2px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.coverflow-slide img {
    display: none;
}

.coverflow-slide.active {
    flex: 0 0 300px;
    height: 605px;
    transform: scale(1) translateZ(60px);
    z-index: 10;
    border-color: #c9a84c;
    box-shadow: 0 16px 64px rgba(109, 26, 54, 0.25), 0 0 0 4px rgba(201, 168, 76, 0.2);
}

.coverflow-slide.left,
.coverflow-slide.right {
    flex: 0 0 150px;
    height: 300px;
    transform: scale(0.85) translateX(-30px) translateZ(-30px);
    opacity: 0.7;
    filter: brightness(0.9) saturate(0.8);
}

.coverflow-slide.right {
    transform: scale(0.85) translateX(30px) translateZ(-30px);
}

.coverflow-slide.left-2,
.coverflow-slide.right-2 {
    flex: 0 0 120px;
    height: 240px;
    transform: scale(0.7) translateX(-70px) translateZ(-70px);
    opacity: 0.4;
    filter: brightness(0.8) saturate(0.6);
}

.coverflow-slide.right-2 {
    transform: scale(0.7) translateX(70px) translateZ(-70px);
}

.coverflow-slide.hidden {
    flex: 0 0 0;
    height: 0;
    transform: scale(0.5) translateX(0) translateZ(-120px);
    opacity: 0;
    pointer-events: none;
    margin: 0;
    padding: 0;
    border: none;
    overflow: hidden;
}

/* Кнопки навигации */
.coverflow-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid #c9a84c;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    font-size: 24px;
    color: #6d1a36;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10);
    font-family: inherit;
    line-height: 1;
}

.coverflow-btn:hover {
    background: #6d1a36;
    color: #fff;
    transform: translateY(-50%) scale(1.05);
    border-color: #6d1a36;
    box-shadow: 0 8px 24px rgba(109, 26, 54, 0.3);
}

.coverflow-btn.prev {
    left: 0;
}

.coverflow-btn.next {
    right: 0;
}

/* Индикаторы */
.coverflow-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    padding: 8px 16px;
    flex-wrap: wrap;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.coverflow-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.4s ease;
    padding: 0;
    flex-shrink: 0;
}

.coverflow-dot.active {
    background: #6d1a36;
    width: 28px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(109, 26, 54, 0.3);
}

.coverflow-caption {
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: #0f172a;
    margin-top: 10px;
    min-height: 28px;
}

.coverflow-counter {
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    margin-top: 4px;
    letter-spacing: 0.3px;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
    padding: 60px 0;
    background: #f8fafc;
}

.testimonials-grid.horizontal {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.testimonial-card.compact {
    background: #ffffff;
    padding: 20px 24px;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 100%;
}

.testimonial-card.compact:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border-color: rgba(109, 26, 54, 0.15);
}

.compact-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.compact-header img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.compact-header strong {
    font-size: 14px;
    color: #0f172a;
    display: block;
    line-height: 1.2;
}

.compact-header .stars {
    font-size: 12px;
    color: #f59e0b;
    letter-spacing: 1px;
    margin: 0;
}

.compact-quote {
    font-size: 14px;
    line-height: 1.6;
    color: #475569;
    margin: 0;
    font-style: italic;
}

/* ===== DOWNLOAD ===== */
.download {
    padding: 60px 0;
    background: #0f172a;
    color: #fff;
}

.download-wrapper {
    display: flex;
    justify-content: center;
}

.download-content {
    text-align: center;
    max-width: 640px;
}

.download-title {
    font-size: clamp(26px, 3.5vw, 38px);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 12px;
}

.download-description {
    color: #94a3b8;
    font-size: 17px;
    margin-bottom: 28px;
}

.download-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-bottom: 16px;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.08);
    padding: 12px 28px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.3s;
    color: #fff;
}

.download-btn:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: scale(1.02);
}

.download-btn small {
    display: block;
    font-size: 11px;
    opacity: 0.6;
    font-weight: 400;
}

.download-btn strong {
    font-size: 16px;
}

.download-note {
    font-size: 14px;
    color: #64748b;
}

/* ===== FEEDBACK ===== */
.feedback {
    padding: 60px 0;
    background: #f8fafc;
}

.feedback-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.feedback-form {
    background: #ffffff;
    padding: 36px 40px;
    border-radius: 24px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.form-group label {
    font-weight: 600;
    font-size: 14px;
    color: #0f172a;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.2s;
    background: #fafbfc;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #6d1a36;
    box-shadow: 0 0 0 4px rgba(109, 26, 54, 0.08);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-status {
    font-size: 15px;
    font-weight: 500;
    text-align: center;
}

.form-status.success {
    color: #22c55e;
}

.form-status.error {
    color: #ef4444;
}

/* ===== FOOTER ===== */
.footer {
    padding: 40px 0 28px;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

.footer-brand p {
    color: #94a3b8;
    font-size: 14px;
    margin-top: 4px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    font-size: 14px;
    color: #64748b;
}

.footer-links a:hover {
    color: #0f172a;
}

.footer-copy {
    font-size: 13px;
    color: #94a3b8;
}

/* ============================================================
   АДАПТИВ
   ============================================================ */

/* Планшеты */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-description {
        margin: 0 auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-image {
        order: -1;
    }

    .phone-mockup {
        width: 220px;
        height: 430px;
    }

    /* Coverflow */
    .coverflow-container {
        height: 580px;
        padding: 20px 0 30px;
    }

    .coverflow-track {
        padding: 0 40px;
        gap: 8px;
    }

    .coverflow-slide {
        flex: 0 0 140px;
        height: 285px;
    }

    .coverflow-slide.active {
        flex: 0 0 240px;
        height: 484px;
    }

    .coverflow-slide.left,
    .coverflow-slide.right {
        flex: 0 0 110px;
        height: 220px;
    }

    .coverflow-slide.left-2,
    .coverflow-slide.right-2 {
        flex: 0 0 80px;
        height: 160px;
    }
}

/* Телефоны */
@media (max-width: 768px) {
    /* Меню */
    .nav {
        display: none;
    }

    .nav.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: #fff;
        padding: 24px;
        gap: 16px;
        box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
        border-radius: 0 0 20px 20px;
        text-align: center;
    }

    .mobile-menu-btn {
        display: block;
    }

    /* Hero */
    .hero {
        padding: 100px 0 40px;
    }

    .phone-mockup {
        width: 180px;
        height: 360px;
    }

    .hero-stats {
        gap: 24px;
        flex-wrap: wrap;
        justify-content: center;
    }

    /* Coverflow */
    .screenshots {
        padding: 40px 0;
    }

    .coverflow-container {
        height: 400px;
        padding: 15px 0 25px;
        max-width: 100vw;
        overflow: hidden;
    }

    .coverflow-track {
        padding: 0 20px;
        gap: 6px;
    }

    .coverflow-slide {
        flex: 0 0 100px;
        height: 200px;
        border-radius: 14px;
    }

    .coverflow-slide.active {
        flex: 0 0 170px;
        height: 340px;
    }

    .coverflow-slide.left,
    .coverflow-slide.right {
        flex: 0 0 70px;
        height: 140px;
        transform: scale(0.8) translateX(-10px) translateZ(-20px);
    }

    .coverflow-slide.right {
        transform: scale(0.8) translateX(10px) translateZ(-20px);
    }

    .coverflow-slide.left-2,
    .coverflow-slide.right-2 {
        display: none;
    }

    .coverflow-btn {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }

    .coverflow-btn.prev {
        left: 0;
    }

    .coverflow-btn.next {
        right: 0;
    }

    .coverflow-dots {
        gap: 6px;
    }

    .coverflow-dot {
        width: 8px;
        height: 8px;
    }

    .coverflow-dot.active {
        width: 20px;
    }

    /* Остальное */
    .features {
        padding: 40px 0;
    }

    .features-grid {
        gap: 16px;
    }

    .testimonials {
        padding: 40px 0;
    }

    .testimonials-grid.horizontal {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .testimonial-card.compact {
        padding: 16px 20px;
    }

    .download {
        padding: 40px 0;
    }

    .feedback {
        padding: 40px 0;
    }

    .feedback-form {
        padding: 24px;
    }

    .section-header {
        margin-bottom: 28px;
    }
}

/* Маленькие телефоны */
@media (max-width: 480px) {
    .hero-title {
        font-size: 26px;
    }

    .hero {
        padding: 80px 0 30px;
    }

    .phone-mockup {
        width: 150px;
        height: 300px;
        padding: 8px;
    }

    .phone-mockup::before {
        width: 80px;
        height: 4px;
        top: 8px;
    }

    .phone-screen {
        border-radius: 24px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .coverflow-container {
        height: 320px;
        padding: 10px 0 20px;
    }

    .coverflow-track {
        padding: 0 10px;
        gap: 4px;
    }

    .coverflow-slide {
        flex: 0 0 65px;
        height: 130px;
        border-radius: 10px;
    }

    .coverflow-slide.active {
        flex: 0 0 140px;
        height: 280px;
    }

    .coverflow-slide.left,
    .coverflow-slide.right {
        flex: 0 0 50px;
        height: 100px;
        transform: scale(0.7) translateX(-6px);
    }

    .coverflow-slide.right {
        transform: scale(0.7) translateX(6px);
    }

    .coverflow-btn {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }

    .download-btn {
        width: 100%;
        justify-content: center;
    }

    .download-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .footer-links {
        gap: 16px;
        justify-content: center;
    }
}

/* Супер маленькие */
@media (max-width: 380px) {
    .coverflow-container {
        height: 280px;
    }

    .coverflow-slide {
        flex: 0 0 55px;
        height: 110px;
    }

    .coverflow-slide.active {
        flex: 0 0 120px;
        height: 240px;
    }

    .coverflow-slide.left,
    .coverflow-slide.right {
        flex: 0 0 40px;
        height: 80px;
        transform: scale(0.6) translateX(-4px);
    }

    .coverflow-slide.right {
        transform: scale(0.6) translateX(4px);
    }

    .container {
        padding: 0 14px;
    }
}

/* ===== HR BLOCK (ДЛЯ КАДРОВИКОВ) ===== */
.hr-block {
    margin-top: 60px;
    padding: 48px 40px;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-radius: 24px;
    border: 2px solid rgba(201, 168, 76, 0.20);
    box-shadow: 0 8px 32px rgba(109, 26, 54, 0.06);
    position: relative;
    overflow: hidden;
}

/* Декоративный уголок */
.hr-block::before {
    content: '👔';
    position: absolute;
    top: -20px;
    right: -10px;
    font-size: 120px;
    opacity: 0.06;
    transform: rotate(15deg);
    pointer-events: none;
}

.hr-header {
    text-align: center;
    margin-bottom: 36px;
}

.hr-badge {
    display: inline-block;
    background: rgba(109, 26, 54, 0.10);
    color: #6d1a36;
    font-weight: 700;
    font-size: 12px;
    padding: 4px 16px;
    border-radius: 50px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.hr-title {
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #0f172a;
}

.hr-subtitle {
    font-size: 17px;
    color: #64748b;
    margin-top: 6px;
}

.hr-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 36px;
}

.hr-card {
    background: #ffffff;
    padding: 28px 24px;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    position: relative;
}

.hr-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
    border-color: rgba(201, 168, 76, 0.30);
}

.hr-card.highlight {
    border: 2px solid #c9a84c;
    background: linear-gradient(135deg, #fdfaf3 0%, #ffffff 100%);
    box-shadow: 0 8px 32px rgba(201, 168, 76, 0.12);
}

.hr-card.highlight:hover {
    box-shadow: 0 12px 48px rgba(201, 168, 76, 0.20);
    border-color: #c9a84c;
}

.hr-card-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.hr-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
}

.hr-card-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hr-card-list li {
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
    padding: 4px 0;
    padding-left: 20px;
    position: relative;
}

.hr-card-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #c9a84c;
    font-weight: 700;
}

.hr-card-badge {
    display: inline-block;
    margin-top: 16px;
    background: linear-gradient(135deg, #c9a84c, #b8943a);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 14px;
    border-radius: 50px;
    letter-spacing: 0.5px;
}

/* HR CTA */
.hr-cta {
    text-align: center;
    padding: 32px 24px;
    background: linear-gradient(135deg, #6d1a36 0%, #8a2a4a 100%);
    border-radius: 16px;
    color: #fff;
}

.hr-cta-text {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.90);
}

.hr-cta-text strong {
    color: #fff;
    font-weight: 700;
}

.hr-cta-btn {
    background: #c9a84c !important;
    color: #0f172a !important;
    box-shadow: 0 4px 20px rgba(201, 168, 76, 0.35) !important;
    font-weight: 700 !important;
}

.hr-cta-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 32px rgba(201, 168, 76, 0.50) !important;
    background: #dbb95a !important;
}

.hr-cta-note {
    display: block;
    margin-top: 12px;
    font-size: 14px;
    opacity: 0.70;
    color: rgba(255, 255, 255, 0.80);
}

/* Адаптив HR-блока */
@media (max-width: 1024px) {
    .hr-block {
        padding: 36px 24px;
        margin-top: 40px;
    }
    
    .hr-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hr-block {
        padding: 28px 16px;
        margin-top: 32px;
        border-radius: 16px;
    }

    .hr-block::before {
        font-size: 80px;
        top: -10px;
        right: -5px;
    }

    .hr-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .hr-card {
        padding: 20px 18px;
    }

    .hr-cta {
        padding: 24px 16px;
    }

    .hr-cta-text {
        font-size: 16px;
    }

    .hr-title {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .hr-block {
        padding: 20px 12px;
        margin-top: 24px;
    }

    .hr-card {
        padding: 16px 14px;
    }

    .hr-cta-text {
        font-size: 15px;
    }

    .hr-cta-btn {
        width: 100%;
        justify-content: center;
    }
}
/* ===== HR BANNER IN HERO ===== */
.hero-hr-banner {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: linear-gradient(135deg, #6d1a36, #8a2a4a);
    color: #fff;
    padding: 12px 24px;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 8px;
    max-width: 100%;
    border: 2px solid #c9a84c;
}

.hero-hr-banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(109, 26, 54, 0.30);
}

.hero-hr-icon {
    font-size: 28px;
}

.hero-hr-banner strong {
    display: block;
    font-size: 16px;
}

.hero-hr-banner span {
    font-size: 13px;
    opacity: 0.85;
}

@media (max-width: 768px) {
    .hero-hr-banner {
        padding: 10px 16px;
        gap: 10px;
        width: 100%;
        justify-content: center;
    }
    
    .hero-hr-icon {
        font-size: 22px;
    }
    
    .hero-hr-banner strong {
        font-size: 14px;
    }
}
/* ===== HR PAGE ===== */

/* --- HR HERO --- */
.hr-hero {
    padding: 140px 0 80px;
    background: #ffffff;
    overflow: hidden;
}

.hr-hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hr-hero-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hr-hero-badge {
    display: inline-block;
    background: rgba(109, 26, 54, 0.10);
    color: #6d1a36;
    font-weight: 700;
    font-size: 13px;
    padding: 6px 16px;
    border-radius: 50px;
    width: fit-content;
    letter-spacing: 0.5px;
}

.hr-hero-title {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
}

.hr-hero-description {
    font-size: 18px;
    color: #64748b;
    max-width: 520px;
    line-height: 1.7;
}

.hr-hero-description strong {
    color: #6d1a36;
}

.hr-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 4px;
}

.hr-hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 12px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

/* --- HR PHONE MOCKUP --- */
.hr-hero-image {
    display: flex;
    justify-content: center;
}

.hr-phone-mockup {
    width: 280px;
    height: 540px;
    background: #0f172a;
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.15), 0 4px 16px rgba(0, 0, 0, 0.06);
    position: relative;
    margin: 0 auto;
}

.hr-phone-mockup::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 6px;
    background: #1e293b;
    border-radius: 6px;
    z-index: 2;
}

.hr-phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 32px;
    overflow: hidden;
    background: #f8fafc;
    padding: 16px;
}

.hr-app-preview {
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 12px;
}

.hr-preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 14px;
    color: #0f172a;
    padding-bottom: 8px;
    border-bottom: 1px solid #e2e8f0;
}

.hr-preview-badge {
    font-size: 10px;
    background: #22c55e;
    color: #fff;
    padding: 2px 10px;
    border-radius: 50px;
    font-weight: 600;
}

.hr-preview-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    flex: 1;
    align-content: center;
}

.hr-preview-stat {
    text-align: center;
    background: #ffffff;
    padding: 12px 8px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.hr-preview-number {
    display: block;
    font-size: 24px;
    font-weight: 800;
    color: #6d1a36;
}

.hr-preview-label {
    font-size: 11px;
    color: #94a3b8;
}

.hr-preview-btn {
    background: linear-gradient(135deg, #6d1a36, #8a2a4a);
    color: #fff;
    text-align: center;
    padding: 10px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    margin-top: auto;
}

/* --- HR FEATURES --- */
.hr-features {
    padding: 60px 0;
    background: #f8fafc;
}

.hr-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.hr-feature-card {
    background: #ffffff;
    padding: 28px 24px;
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.hr-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.08);
}

.hr-feature-card.highlight {
    border: 2px solid #c9a84c;
    background: linear-gradient(135deg, #fdfaf3 0%, #ffffff 100%);
    box-shadow: 0 8px 32px rgba(201, 168, 76, 0.12);
}

.hr-feature-card.highlight:hover {
    box-shadow: 0 12px 48px rgba(201, 168, 76, 0.20);
}

.hr-feature-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.hr-feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
}

.hr-feature-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hr-feature-card ul li {
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
    padding: 4px 0;
    padding-left: 20px;
    position: relative;
}

.hr-feature-card ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #c9a84c;
    font-weight: 700;
}

.hr-feature-badge {
    display: inline-block;
    margin-top: 16px;
    background: linear-gradient(135deg, #c9a84c, #b8943a);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 14px;
    border-radius: 50px;
    letter-spacing: 0.5px;
}

/* --- HR STEPS --- */
.hr-how-it-works {
    padding: 60px 0;
    background: #ffffff;
}

.hr-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
}

.hr-step {
    text-align: center;
    background: #f8fafc;
    padding: 24px 20px;
    border-radius: 16px;
    flex: 1;
    min-width: 160px;
    max-width: 200px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    position: relative;
}

.hr-step:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    border-color: rgba(201, 168, 76, 0.30);
}

.hr-step-number {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #6d1a36, #8a2a4a);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
}

.hr-step-icon {
    font-size: 32px;
    margin-bottom: 8px;
    margin-top: 4px;
}

.hr-step h3 {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}

.hr-step p {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

.hr-step-arrow {
    font-size: 24px;
    color: #c9a84c;
    font-weight: 300;
}

/* --- HR CTA SECTION --- */
.hr-cta-section {
    padding: 60px 0;
    background: #f8fafc;
}

.hr-cta-block {
    background: linear-gradient(135deg, #6d1a36 0%, #8a2a4a 100%);
    border-radius: 24px;
    padding: 48px 40px;
    color: #fff;
    text-align: center;
}

.hr-cta-content h2 {
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 800;
    margin-bottom: 12px;
}

.hr-cta-content p {
    font-size: 17px;
    opacity: 0.90;
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto 24px;
}

.hr-cta-content p strong {
    color: #c9a84c;
}

.hr-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.hr-cta-btn {
    background: #c9a84c !important;
    color: #0f172a !important;
    box-shadow: 0 4px 20px rgba(201, 168, 76, 0.35) !important;
    font-weight: 700 !important;
}

.hr-cta-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 32px rgba(201, 168, 76, 0.50) !important;
    background: #dbb95a !important;
}

.hr-cta-btn-secondary {
    background: rgba(255, 255, 255, 0.12) !important;
    color: #fff !important;
    border: 2px solid rgba(255, 255, 255, 0.20) !important;
}

.hr-cta-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.20) !important;
}

.hr-cta-note {
    margin-top: 16px;
    font-size: 14px;
    opacity: 0.70;
}

.hr-cta-note a {
    color: #c9a84c;
    font-weight: 600;
    text-decoration: underline;
}

.hr-cta-note a:hover {
    color: #fff;
}

/* ===== АДАПТИВ HR PAGE ===== */
@media (max-width: 1024px) {
    .hr-hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hr-hero-description {
        margin: 0 auto;
    }

    .hr-hero-buttons {
        justify-content: center;
    }

    .hr-hero-stats {
        justify-content: center;
    }

    .hr-hero-image {
        order: -1;
    }

    .hr-phone-mockup {
        width: 220px;
        height: 430px;
    }

    .hr-steps {
        gap: 12px;
    }

    .hr-step {
        min-width: 140px;
    }

    .hr-step-arrow {
        display: none;
    }
}

@media (max-width: 768px) {
    .hr-hero {
        padding: 100px 0 40px;
    }

    .hr-phone-mockup {
        width: 180px;
        height: 360px;
    }

    .hr-step {
        min-width: 120px;
        max-width: 160px;
        padding: 20px 14px;
    }

    .hr-cta-block {
        padding: 32px 20px;
    }

    .hr-features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hr-hero {
        padding: 80px 0 30px;
    }

    .hr-hero-title {
        font-size: 26px;
    }

    .hr-phone-mockup {
        width: 150px;
        height: 300px;
        padding: 8px;
    }

    .hr-phone-mockup::before {
        width: 80px;
        height: 4px;
        top: 8px;
    }

    .hr-phone-screen {
        border-radius: 24px;
        padding: 10px;
    }

    .hr-preview-number {
        font-size: 18px;
    }

    .hr-preview-stat {
        padding: 8px 4px;
    }

    .hr-step {
        min-width: 100%;
        max-width: 100%;
    }

    .hr-cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hr-cta-btn,
    .hr-cta-btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

.nav-hr-link {
    background: linear-gradient(135deg, #6d1a36, #8a2a4a);
    color: #fff !important;
    padding: 6px 16px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-hr-link::after {
    display: none !important;
}

.nav-hr-link:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(109, 26, 54, 0.30);
    color: #fff !important;
}
/* ===== HR INSTRUCTIONS ===== */
.hr-instructions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 24px;
    max-width: 600px;
    margin: 24px auto 16px;
    text-align: left;
}

.hr-instruction-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.06);
    padding: 10px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.hr-instruction-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.hr-instruction-item strong {
    color: #c9a84c;
    font-size: 13px;
    display: block;
}

.hr-instruction-item span {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.4;
}

.hr-instruction-item div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* Адаптив */
@media (max-width: 768px) {
    .hr-instructions {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 0 8px;
    }

    .hr-instruction-item {
        padding: 8px 14px;
    }

    .hr-instruction-item strong {
        font-size: 12px;
    }

    .hr-instruction-item span {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .hr-instructions {
        gap: 8px;
    }

    .hr-instruction-item {
        padding: 6px 12px;
    }

    .hr-instruction-icon {
        font-size: 20px;
    }
}