/* Generated from style.css lines 18920-29735 */
}

.video-modal.active .video-modal-content {
    transform: scale(1);
}

/* ========== APPLICATION FORM MODAL ========== */
.application-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: none;
}

.application-modal.active {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.application-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
}

.application-modal-content {
    position: relative;
    width: 90%;
    max-width: 60rem;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 1;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    background: #ffffff;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
}

.application-modal.active .application-modal-content {
    transform: scale(1);
}

.application-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-dark);
    font-size: 24px;
    line-height: 1;
}

.application-modal-close:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: rotate(90deg);
}

.application-modal-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    text-align: center;
}

.wpforms-submit-container {
    display: flex!important;
}

.wpforms-submit-container button{
    background: var(--gradient-gold) !important;
    box-shadow: var(--shadow-lg), 0 0 20px rgba(255, 215, 0, 0.3) !important;
    color: #1a1a1a!important;
    padding: 1rem 2rem !important;
    font-size: clamp(0.9375rem, 1.2vw, 1rem) !important;
    font-weight: 700 !important;
    border-radius: var(--radius-xl) !important;
    border: none;
    transition: all var(--transition-base) !important;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    overflow: hidden;
}

.wpforms-recaptcha-container {
    text-align: center;
}

.wpforms-container .wpforms-recaptcha-container.wpforms-is-turnstile.wpforms-is-turnstile-invisible {
    height: auto!important;
}

.wpforms-uploader {
    max-width: 36.4rem;
}

@media (max-width: 768px) {
    .application-modal-content {
        width: 95%;
        padding: 0;
        max-height: 95vh;
        flex-direction: column;
    }



    .wpforms-field-container {
        padding: 1rem!important;
    }
    
    .application-modal-title {
        font-size: 1.25rem;
        margin-bottom: 0;
        padding: 1rem 1.5rem;
        background: #ffffff;
        position: sticky;
        top: 0;
        z-index: 10;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        border-radius: 20px 20px 0 0;
    }
    
    .application-modal-close {
        position: sticky;
        top: 1rem;
        right: 1rem;
        display: flex;
        width: 40px;
        height: 40px;
        font-size: 20px;
        z-index: 11;
        margin-left: auto;
        margin-right: 0.75rem;
    }
    
    .application-modal-content > form,
    .application-modal-content > div[id*="wpforms"] {
        padding: 1.5rem;
        overflow-y: auto;
        flex: 1;
    }
}

.video-modal-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 aspect ratio */
    background: #000;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
}

.video-modal-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #fff;
}

.video-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

/* Video Slider Responsive */
@media (max-width: 1200px) {
    .video-review-card {
        flex: 0 0 calc(50% - 0.75rem);
        min-width: calc(50% - 0.75rem);
    }
}

@media (max-width: 768px) {
    .video-review-card {
        flex: 0 0 calc(85% - 8px);
        min-width: calc(85% - 8px);
    }
    
    .video-play-btn {
        width: 60px;
        height: 60px;
    }
    
    .video-play-btn svg {
        width: 24px;
        height: 24px;
    }
    
    .video-card-content {
        padding: 1rem;
    }
    
    .video-review-card h4 {
        font-size: 0.9375rem;
    }
    
    .video-review-card p {
        font-size: 0.8125rem;
    }
    
    .video-modal-close {
        top: -45px;
        right: 5px;
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .video-review-card {
        flex: 0 0 calc(90% - 8px);
        min-width: calc(90% - 8px);
    }
    
    .video-modal-content {
        width: 95%;
    }
}

/* ========== REVIEWS CTA BLOCK ========== */

.reviews-cta-block {
    max-width: 850px;
    margin: 3.5rem auto 2rem;
    padding: 3rem 3.5rem;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-radius: 28px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Декоративные элементы */
.reviews-cta-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 20% -20%, rgba(212, 175, 55, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 120%, rgba(99, 102, 241, 0.12) 0%, transparent 50%);
    pointer-events: none;
}

.reviews-cta-block::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, transparent 0%, transparent 40%, rgba(212, 175, 55, 0.03) 50%, transparent 60%);
    animation: reviewsCtaPulse 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes reviewsCtaPulse {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.5; }
    50% { transform: scale(1.1) rotate(180deg); opacity: 1; }
}

.reviews-cta-title {
    font-size: 1.3rem;
    color: #ffffff;
    margin: 0 0 1rem;
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

.reviews-cta-title strong {
    background: linear-gradient(90deg, var(--accent-gold) 0%, #FFD700 50%, var(--accent-gold) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: reviewsCtaShine 3s linear infinite;
}

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

.reviews-cta-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 2rem;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.reviews-cta-btn {
    background: var(--gradient-gold);
    box-shadow: var(--shadow-lg), 0 0 20px rgba(255, 215, 0, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    background-size: 200% 200%;
    color: #1a1a1a;
    font-size: 0.9375rem;
    font-weight: 700;
    border-radius: var(--radius-xl);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
    animation: reviewsBtnGlow 2s ease-in-out infinite alternate;
    letter-spacing: 0.02em;
}

@keyframes reviewsBtnGlow {
    0% { box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4), 0 4px 12px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.4); }
    100% { box-shadow: 0 15px 45px rgba(212, 175, 55, 0.6), 0 6px 20px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
}

.reviews-cta-btn::after {
    content: '→';
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.reviews-cta-btn:hover {
    transform: translateY(-4px) scale(1.02);
    background-position: 100% 0;
    box-shadow: 
        0 20px 50px rgba(212, 175, 55, 0.55),
        0 8px 25px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.reviews-cta-btn:hover::after {
    transform: translateX(5px);
}

.reviews-cta-btn:active {
    transform: translateY(-2px) scale(1);
}

/* ========== REVIEWS DISCLAIMER ========== */

.reviews-disclaimer {
    max-width: 700px;
    margin: 1rem auto 0;
    text-align: center;
    font-size: 1rem;
    color: var(--text-dark);
    opacity: 0.7;
    line-height: 1.5;
    padding: 0 1rem;
}

/* Reviews Tabs Responsive */
@media (max-width: 600px) {
    .reviews-tabs[role="tablist"] {
        max-width: 100%;
        margin-left: 1rem;
        margin-right: 1rem;
    }
    .reviews-tab {
        padding: 0.875rem 1rem;
        font-size: 0.85rem;
        gap: 0.4rem;
    }
    .reviews-tab svg {
        width: 16px;
        height: 16px;
    }
    .reviews-cta-block {
        margin: 2.5rem 1rem 1.5rem;
        padding: 2rem 1.5rem;
        border-radius: 20px;
    }
    .reviews-cta-title {
        font-size: 1.2rem;
    }
    .reviews-cta-text {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    .reviews-cta-btn {
        padding: 0.5rem 1.25rem;
        font-size: 0.875rem;
        width: auto;
        justify-content: center;
    }
}


/* ========== STEPS V3 (Ð‘Ð»Ð¾Ðº 14 - Timeline Design) ========== */

.steps-v3-section {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.steps-v3-highlight {
    background: linear-gradient(135deg, var(--primary-color) 0%, #8B5CF6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

/* Urgency Note */
.steps-v3-urgency-note {
    width: fit-content;
    margin: 0 auto 3rem auto;
    padding: 1rem 1.5rem;
    background: rgba(100, 116, 139, 0.08);
    border-left: 3px solid #94a3b8;
    border-radius: 0 8px 8px 0;
}

.steps-v3-urgency-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 0.5rem 0;
}

.steps-v3-urgency-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.steps-v3-urgency-list li {
    font-size: 0.8rem;
    color: var(--text-dark);
    line-height: 1.6;
    padding-left: 1rem;
    position: relative;
}

.steps-v3-urgency-list li::before {
    content: '–';
    position: absolute;
    left: 0;
    color: #94a3b8;
}

/* Timeline Container */
.steps-v3-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 80px;
}

/* Vertical Line - Now per-step like timeline-step */
.steps-v3-line {
    display: none; /* Disabled - using step-based lines instead */
}

/* Step Item */
.steps-v3-item {
    position: relative;
    margin-bottom: 2rem;
    display: flex;
    align-items: flex-start;
}

.steps-v3-item:last-child {
    margin-bottom: 0;
}

/* Line connecting each step to the next (except last) */
.steps-v3-item::after {
    content: '';
    position: absolute;
    left: -41px;
    top: 50px;
    bottom: -2rem;
    width: 2px;
    border-radius: 2px;
    z-index: 0;
}

/* Step 1 line - blue to green */
.steps-v3-item[data-step="1"]::after {
    background: linear-gradient(180deg, var(--primary-color) 0%, #10B981 100%);
}

/* Step 2 line - green to purple */
.steps-v3-item[data-step="2"]::after {
    background: linear-gradient(180deg, #10B981 0%, #8B5CF6 100%);
}

/* Step 3 line - purple to gold */
.steps-v3-item[data-step="3"]::after {
    background: linear-gradient(180deg, #8B5CF6 0%, #F59E0B 100%);
}

/* Last step - no line after it */
.steps-v3-item:last-child::after {
    display: none;
}

/* Marker (Number + Connector) */
.steps-v3-marker {
    position: absolute;
    left: -80px;
    top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80px;
}

.steps-v3-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #3B82F6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
    position: relative;
    z-index: 2;
}

.steps-v3-item[data-step="2"] .steps-v3-number {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.steps-v3-item[data-step="3"] .steps-v3-number {
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

.steps-v3-number--final {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%) !important;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4) !important;
    width: 56px;
    height: 56px;
    font-size: 1.5rem;
}

.steps-v3-connector {
    width: 2px;
    height: 100%;
    min-height: 40px;
}

/* Card */
.steps-v3-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 1.75rem 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
    flex: 1;
    transition: all 0.3s ease;
}

.steps-v3-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.steps-v3-card--final {
    background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
    border: 2px solid #F59E0B;
}

/* Card Header */
.steps-v3-card-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.steps-v3-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.steps-v3-icon--green {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(5, 150, 105, 0.1) 100%);
    color: #10B981;
}

.steps-v3-icon--purple {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(124, 58, 237, 0.1) 100%);
    color: #8B5CF6;
}

.steps-v3-icon--gold {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(217, 119, 6, 0.15) 100%);
    color: #D97706;
}

.steps-v3-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 0.25rem 0;
    line-height: 1.3;
}

.steps-v3-duration {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.steps-v3-duration svg {
    color: var(--primary-color);
}

/* List */
.steps-v3-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.steps-v3-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.65rem;
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--text-dark);
}

.steps-v3-list li:last-child {
    margin-bottom: 0;
}

.steps-v3-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
}

.steps-v3-list li strong {
    color: var(--text-dark);
    font-weight: 600;
}

/* Micro Result */
.steps-v3-micro-result {
    margin: 1rem 0 0 0;
    padding: 0.75rem 1rem;
    background: var(--bg-secondary);
    border-left: 3px solid var(--primary-light);
    border-radius: 0 6px 6px 0;
    font-size: 0.85rem;
    color: var(--text-dark);
    line-height: 1.5;
}

.steps-v3-list--compact {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed rgba(0, 0, 0, 0.1);
}

/* Badge */
.steps-v3-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(5, 150, 105, 0.15) 100%);
    color: #059669;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 1rem;
}

/* Meetings (Step 3) */
.steps-v3-meetings {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 0;
}

.steps-v3-meeting {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05) 0%, rgba(124, 58, 237, 0.08) 100%);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
}

.steps-v3-meeting-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
    color: #ffffff;
    border-radius: 50%;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.steps-v3-meeting p {
    font-size: 0.85rem;
    line-height: 1.45;
    color: var(--text-muted);
    margin: 0;
}

.steps-v3-meeting > div {
    text-align: left;
}

.steps-v3-meeting > div strong {
    display: block;
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.steps-v3-meeting > div p {
    font-size: 0.9rem;
    line-height: 1.4;
    color: var(--text-dark);
    margin: 0;
}

.steps-v3-meeting p strong {
    color: var(--text-dark);
}

/* Success Badge (Step 4) */
.steps-v3-success {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #ffffff;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    font-size: 1rem;
    margin-top: 1.25rem;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.steps-v3-success svg {
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.steps-v3-success > div {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.steps-v3-success strong {
    font-size: 1.1rem;
    font-weight: 700;
}

.steps-v3-success span {
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.95;
}

/* Responsive */
@media (max-width: 768px) {
    .steps-v3-timeline {
        padding-left: 60px;
    }

    .steps-v3-item::after {
        left: -31px;
        top: 40px;
        bottom: -2rem;
    }

    .steps-v3-marker {
        left: -60px;
        width: 60px;
    }

    .steps-v3-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }


    .steps-v3-card {
        padding: 1.25rem 1.5rem;
    }

    .steps-v3-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }

    .steps-v3-title {
        font-size: 1.1rem;
    }

    .steps-v3-meetings {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .steps-v3-meeting {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        text-align: left;
        padding: 0.75rem 1rem;
    }

    .steps-v3-meeting-num {
        margin-bottom: 0;
        flex-shrink: 0;
    }
}

@media (max-width: 480px) {
    .tc-finance-card--eu .tc-finance-num {
    display: none;
    }

    .tc-finance-card--us .tc-finance-num {
    display: none;
    }

    .mf-flow-list li {
    font-size: 0.9rem!important;
    }

    .mf-payment-label {
    font-size: 0.9rem;
    }
    
    .steps-v3-timeline {
        padding-left: 50px;
    }

    .steps-v3-item::after {
        left: -26px;
        top: 32px;
        bottom: -2.5rem;
    }

    .steps-v3-marker {
        left: -50px;
        width: 50px;
    }

    .steps-v3-number {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }

    .steps-v3-number--final {
        width: 38px !important;
        height: 38px !important;
        font-size: 1rem !important;
    }

    .steps-v3-card {
        padding: 1rem 1.25rem;
        border-radius: 16px;
    }

    .steps-v3-card-header {
        flex-direction: column;
        gap: 0.75rem;
    }

    .steps-v3-list li {
        font-size: 0.9rem;
    }
}

/* Ð‘Ð›ÐžÐš 14: Mobile padding */
@media (max-width: 782px) {
    .steps-v3-section {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .steps-v3-section .alignwide {
        padding-left: 0;
        padding-right: 0;
    }
    .steps-v3-highlight {
        padding: 1rem;
        margin-bottom: 2rem;
        flex-direction: column;
        text-align: center;
    }
    .steps-v3-highlight p {
        font-size: 0.9rem;
    }
    .steps-v3-success {
        font-size: 0.95rem;
        padding: 0.625rem 1rem;
    }
    
    .steps-v3-success span {
    font-size: 0.95rem;
}
}


/* ========== PRICING V2 (Ð‘Ð»Ð¾Ðº 16 - Detailed Tariffs) ========== */

.pricing-section-v2 {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

/* State Selector */
.pricing-state-selector-wrapper {
    max-width: 600px;
    margin: 0 auto 2.5rem;
    text-align: center;
}

/* ========= Страница тарифов ========== */

.pricing-state-selector-wrapper-page {
    max-width: 1400px;
    margin: -2rem auto 2rem;
    padding: 0 clamp(30px, 5vw, 50px);
    position: relative;
    z-index: 10;
}

.p-1 {
    padding: 1rem;
}

.tariffs-label-page {
background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 0rem 2.5rem 2.5rem;
    margin-bottom: 2.5rem;
    box-shadow: 
        0 10px 40px rgba(102, 126, 234, 0.15),
        0 4px 12px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(102, 126, 234, 0.1);
    position: relative;
    overflow: hidden;
}

.tariffs-label-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
}

.tariffs-catalog-hero {
    position: relative;
    background: url(/wp-content/themes/F-one/assets/images/tariffs.webp) 50% 60%;
    background-size: cover;
    overflow: hidden;
    padding-top: clamp(60px, 8vw, 100px) !important;
    padding-bottom: clamp(60px, 8vw, 100px) !important;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.tariffs-catalog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.08) 0%, transparent 30%);
    pointer-events: none;
}

.tariffs-catalog-hero::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    animation: tariffsPattern 60s linear infinite;
    pointer-events: none;
    opacity: 0.5;
}

@keyframes tariffsPattern {
    0% { transform: translate(0, 0); }
    100% { transform: translate(30px, 30px); }
}

.tariffs-catalog-hero .section-heading-tariffs {
    color: var(--text-dark) !important;
    -webkit-text-fill-color: var(--text-dark) !important;
    text-shadow: none;
    position: relative;
    z-index: 1;
    font-size: var(--wp--preset--font-size--x-large);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1.5rem 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    line-height: 1.4;
}

.tariffs-catalog-hero .paragraph-section {
    color: var(--text-dark);
    position: relative;
    z-index: 1;
    max-width: 1250px;
    margin: 0 1rem;
    font-size: var(--wp--preset--font-size--medium);
    line-height: 1.7;
    background: var(--bg-primary);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1.5rem 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Floating decorative elements */
.tariffs-catalog-hero .floating-element {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}








/* ========== VACANCIES PAGE ========== */

.vacancies-catalog-hero {
    position: relative;
    background: url(/wp-content/themes/F-one/assets/images/vacancies.webp) 50% 50%;
    background-size: cover;
    overflow: hidden;
    padding-top: clamp(60px, 8vw, 100px) !important;
    padding-bottom: clamp(60px, 8vw, 100px) !important;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.vacancies-catalog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.08) 0%, transparent 30%);
    pointer-events: none;
}

.vacancies-catalog-hero::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    animation: vacanciesPattern 60s linear infinite;
    pointer-events: none;
    opacity: 0.5;
}

@keyframes vacanciesPattern {
    0% { transform: translate(0, 0); }
    100% { transform: translate(30px, 30px); }
}

.vacancies-catalog-hero .section-heading-vacancies {
    color: var(--text-dark) !important;
    -webkit-text-fill-color: var(--text-dark) !important;
    text-shadow: none;
    position: relative;
    z-index: 1;
    font-size: var(--wp--preset--font-size--x-large);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1.5rem 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    line-height: 1.4;
}

.vacancies-catalog-hero .paragraph-section {
    color: var(--text-dark);
    position: relative;
    z-index: 1;
    max-width: 1250px;
    margin: 0 1rem;
    font-size: var(--wp--preset--font-size--medium);
    line-height: 1.7;
    background: var(--bg-primary);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1.5rem 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Floating decorative elements */
.vacancies-catalog-hero .floating-element {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}


/* ========== Жильё от работодателя ========== */
.housing-catalog-hero {
    position: relative;
    background: url(/wp-content/themes/F-one/assets/images/house.webp) 50% 50%;
    background-size: cover;
    overflow: hidden;
    padding-top: clamp(60px, 8vw, 100px) !important;
    padding-bottom: clamp(60px, 8vw, 100px) !important;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.housing-catalog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.08) 0%, transparent 30%);
    pointer-events: none;
}

.housing-catalog-hero::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    animation: housingPattern 60s linear infinite;
    pointer-events: none;
    opacity: 0.5;
}

@keyframes housingPattern {
    0% { transform: translate(0, 0); }
    100% { transform: translate(30px, 30px); }
}

.housing-catalog-hero .section-heading-housing {
    color: var(--text-dark) !important;
    -webkit-text-fill-color: var(--text-dark) !important;
    text-shadow: none;
    position: relative;
    z-index: 1;
    font-size: var(--wp--preset--font-size--x-large);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1.5rem 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    line-height: 1.4;
}

.housing-catalog-hero .paragraph-section {
    color: var(--text-dark);
    position: relative;
    z-index: 1;
    max-width: 1250px;
    margin: 0 1rem;
    font-size: var(--wp--preset--font-size--medium);
    line-height: 1.7;
    background: var(--bg-primary);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1.5rem 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Floating decorative elements */
.housing-catalog-hero .floating-element {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}








.pricing-state-label {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.pricing-state-select {
    width: 100%;
    padding: 0.875rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
    background: #ffffff;
    border: 2px solid rgba(0, 102, 204, 0.2);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230066CC' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 3rem;
}

/* Пульсирующее свечение для селектора штатов (по умолчанию активно) */
.pricing-state-select.state-pulse {
    animation: stateSelectorPulse 2s ease-in-out infinite;
    border-color: rgba(0, 102, 204, 0.5);
}

@keyframes stateSelectorPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(0, 102, 204, 0.6),
                    0 0 40px rgba(0, 102, 204, 0.4),
                    0 0 60px rgba(212, 175, 55, 0.3),
                    0 8px 25px rgba(0, 102, 204, 0.2);
        border-color: rgba(0, 102, 204, 0.6);
    }
    50% {
        box-shadow: 0 0 0 12px rgba(0, 102, 204, 0),
                    0 0 50px rgba(0, 102, 204, 0.5),
                    0 0 80px rgba(212, 175, 55, 0.4),
                    0 12px 35px rgba(0, 102, 204, 0.25);
        border-color: var(--primary-color);
    }
}

.pricing-state-select:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.1);
}

.pricing-state-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.08);
}

.pricing-state-select option {
    padding: 0.75rem;
}

.pricing-v2-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem ;
}

/* Card Base - Light Theme */
.pricing-v2-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.pricing-v2-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 102, 204, 0.2);
}

/* Featured Card */
.pricing-v2-card--featured {
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 16px rgba(0, 102, 204, 0.12);
}

.pricing-v2-card--featured:hover {
    box-shadow: 0 12px 30px rgba(0, 102, 204, 0.2);
}

.pricing-v2-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--primary-color);
    color: #ffffff;
    padding: 0.5rem 1.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 0 20px 0 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Header */
.pricing-v2-header {
    padding: 0.8rem 1.5rem 0rem 1.5rem;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.pricing-v2-label {
    display: inline-block;
    background: rgba(0, 102, 204, 0.08);
    color: var(--primary-color);
    padding: 0.35rem 0.75rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.pricing-v2-label-para {
    padding: 0.5rem 1.5rem;
}

.pricing-v2-title {
    font-size: var(--wp--preset--font-size--large);
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 1rem 0;
}

.pricing-v2-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
}

.pricing-v2-currency {
    font-size: var(--wp--preset--font-size--x-large);
    font-weight: 600;
    color: var(--text-dark);
}

.pricing-v2-amount {
    font-size: var(--wp--preset--font-size--x-large);
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1;
}

/* Multiplier Badges - Beautiful Design */
.step-plans {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0;
    background: var(--primary-color);
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: 6px;
    margin-right: 0.5rem;
    box-shadow: 0 2px 6px rgba(0, 102, 204, 0.25);
}

.pricing-v2-item-state {
    display: inline-block;
    background: rgba(0, 102, 204, 0.1);
    color: var(--primary-color);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    margin-left: 0.35rem;
    letter-spacing: 0.3px;
}

/* Breakdown */
.pricing-v2-breakdown {
    padding: 0rem 0.5rem;
    background: #f8fafc;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.footer-plans {
    color: var(--accent-orange)!important;
    font-weight: 600;
    margin: 0;
}

.footer-plans-btn {
    margin-bottom: 0.5rem!important;
    padding-top: 0.5rem !important;
    order: 2;
    margin-top: auto;
}

.pricing-v2-breakdown-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0.75rem 0;
    letter-spacing: 0.5px;
}

.pricing-v2-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    font-size: 0.9rem;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.08);
}

.pricing-v2-item:last-child {
    border-bottom: none;
}

.pricing-v2-item-name {
    color: var(--text-dark);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.pricing-v2-item-price {
    font-weight: 700;
    color: var(--text-dark);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pricing-v2-old-price {
    position: relative;
    font-size: 0.85rem;
    color: #94a3b8;
    font-weight: 600;
}

.pricing-v2-old-price::after {
    content: '';
    position: absolute;
    left: -2px;
    right: -2px;
    top: 50%;
    height: 1.5px;
    background: #ef4444;
    transform: translateY(-50%) rotate(-12deg);
}

.pricing-v2-item--free .pricing-v2-item-price {
    color: #10B981;
    font-weight: 700;
}

.pricing-v2-item--bonus .pricing-v2-item-name {
    color: var(--primary-color);
    font-weight: 600;
}

.pricing-v2-item--highlight {
    background: rgba(0, 102, 204, 0.06);
    margin: 0 -1.5rem;
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
}

.pricing-v2-item--highlight .pricing-v2-item-name {
    font-weight: 600;
    color: var(--primary-color);
}

.pricing-v2-item--highlight .pricing-v2-item-price {
    color: var(--primary-color);
    font-weight: 700;
}

.pricing-v2-item-green {
    color: #10B981!important;
}

/* Benefits */
.pricing-v2-benefits {
    padding: 0.5rem 1.5rem;
    background: #ffffff;
}

.pricing-v2-benefits-title {
    font-size: var(--wp--preset--font-size--small);
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 0.75rem 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-v2-benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-v2-benefits-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0;
    font-size: var(--wp--preset--font-size--small);
    line-height: 1.5;
    color: var(--text-dark);
}

.pricing-v2-benefits-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
}

.pricing-v2-benefits-list-two {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-v2-benefits-list-two li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-dark);
}

.pricing-v2-benefits-list-two li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
}

.pricing-v2-benefits-list li strong,
.pricing-v2-benefits-list-two li strong {
    color: var(--text-dark);
    font-weight: 600;
}

/* Details / Accordion Styling */
.pricing-v2-benefits-details {
    padding: 0 0.2rem;
    background: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.pricing-v2-benefits-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    padding: 0.5rem 0;
    list-style: none;
    user-select: none;
    transition: color 0.2s ease;
}

.pricing-v2-benefits-summary::-webkit-details-marker,
.pricing-v2-benefits-summary::marker {
    display: none;
}

.pricing-v2-benefits-summary:hover {
    color: var(--primary-color);
}

.pricing-v2-benefits-summary span {
    display: flex;
    align-items: center;
}

.pricing-v2-benefits-summary svg {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: var(--primary-color);
}

.pricing-v2-benefits-details[open] .pricing-v2-benefits-summary svg {
    transform: rotate(180deg);
}

.pricing-v2-benefits-content {
    padding-top: 0.2rem;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Income */
.pricing-v2-income {
    padding: 0.5rem;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.04) 0%, rgba(5, 150, 105, 0.06) 100%);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.pricing-v2-income-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.pricing-v2-income-row span {
    color: var(--text-dark);
}

.pricing-v2-income-row strong {
    color: #059669;
    font-weight: 700;
}

.pricing-v2-income-total {
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px dashed rgba(16, 185, 129, 0.3);
    font-size: 0.95rem;
    color: var(--text-dark);
    text-align: center;
}

.pricing-v2-income-total strong {
    color: #059669;
    font-size: 1.05rem;
}

/* Asylum Note */
.pricing-v2-asylum-note {
    padding: 0.5rem 1.5rem;
    background: rgba(245, 158, 11, 0.06);
    border-top: 1px solid rgba(245, 158, 11, 0.15);
}

.pricing-v2-asylum-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    color: #D97706;
    margin-bottom: 0.2rem;
    font-size: 0.9rem;
}

.pricing-v2-asylum-note p {
    font-size: 0.9rem;
    color: var(--text-dark);
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
}

.pricing-v2-asylum-note li {
    font-size: 0.9rem;
    color: var(--text-dark);
    margin: 0 0 0.4rem 0;
    line-height: 1.3;
}

.pricing-v2-probability {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.pricing-v2-prob-positive {
    color: #059669;
    font-weight: 600;
}

.pricing-v2-prob-negative {
    color: #DC2626;
    font-weight: 600;
}

.pricing-vtar-payment-note {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.2rem 0;
    background: transparent;
    font-size: 0.9rem;
    color: var(--text-dark);
    line-height: 1.6;
}

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

/* Payment Note */
.pricing-v2-payment-note {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(0, 102, 204, 0.04);
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.pricing-v2-payment-note svg {
    flex-shrink: 0;
    color: var(--primary-color);
    margin-top: 2px;
}



.house-badge {
    font-size: 0.7rem!important;
    padding: 0.5rem!important;
}


/* CTA Button */
.pricing-v2-cta {
    display: block;
    margin: 1rem auto 0.75rem;
    width: max-content;
    padding: 1rem 2.5rem;
    background: var(--gradient-primary);
    color: #ffffff;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
}

.pricing-v2-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.35);
    color: #ffffff;
}

/* Footer */
.pricing-v2-footer {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(0, 102, 204, 0.04);
    border-radius: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.pricing-v2-footer-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 500;
}

.pricing-v2-footer-item svg {
    color: #10B981;
}

/* Not Included */
.pricing-v2-not-included {
    text-align: center;
    margin: 0.75rem 0;
    font-size: 1rem;
    color: var(--text-muted);
}

.pricing-v2-not-included strong {
    color: var(--text-dark);
}



/* Consultation Note (Tariffs page) */
.tariffs-consult-note {
    padding: 0 clamp(16px, 3vw, 32px);
    margin: 1.5rem auto 2.5rem;
}

.tariffs-consult-note__container {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: clamp(1.25rem, 2.3vw, 1.75rem) clamp(1.25rem, 3vw, 2.25rem);
    box-shadow:
        0 10px 40px rgba(102, 126, 234, 0.12),
        0 4px 12px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(102, 126, 234, 0.10);
    position: relative;
    overflow: hidden;
}

.tariffs-consult-note__container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
}

.tariffs-consult-note__container::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 10%, rgba(99, 102, 241, 0.08) 0%, transparent 48%),
        radial-gradient(circle at 92% 85%, rgba(212, 175, 55, 0.06) 0%, transparent 48%);
    pointer-events: none;
}

.tariffs-consult-note__badge,
.tariffs-consult-note__title,
.tariffs-consult-note__subtitle,
.tariffs-consult-note__prices {
    position: relative;
    z-index: 1;
}

.tariffs-consult-note__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    color: #4f46e5;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 0.9rem;
}

.tariffs-consult-note__title {
    margin: 0 0 0.5rem;
    color: var(--text-dark);
    font-size: clamp(1.25rem, 2.2vw, 1.75rem);
    font-weight: 800;
    line-height: 1.25;
}

.tariffs-consult-note__subtitle {
    margin: 0 auto;
    max-width: 950px;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

.tariffs-consult-note__subtitle strong {
    color: var(--text-dark);
    font-weight: 800;
}

.tariffs-consult-note__prices {
    margin-top: 1.25rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.tariffs-consult-note__price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.95rem 1.1rem;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: rgba(248, 250, 252, 0.8);
}

.tariffs-consult-note__price-time {
    color: var(--text-dark);
    font-weight: 600;
}

.tariffs-consult-note__price-value {
    font-weight: 900;
    letter-spacing: 0.2px;
}

.tariffs-consult-note__price--free {
    background: rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.22);
}

.tariffs-consult-note__price--free .tariffs-consult-note__price-value {
    color: #059669;
}

.tariffs-consult-note__price--paid {
    background: rgba(0, 102, 204, 0.06);
    border-color: rgba(0, 102, 204, 0.20);
}

.tariffs-consult-note__price--paid .tariffs-consult-note__price-value {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .tariffs-consult-note {
        margin: 1.25rem auto 2rem;
    }

    .tariffs-consult-note__prices {
        grid-template-columns: 1fr;
    }
}


/* Responsive */
@media (max-width: 1200px) {
    .pricing-v2-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
    }

    .pricing-v2-card--featured {
        order: 0;
    }
}

@media (max-width: 768px) {
    .pricing-v2-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .pricing-v2-header {
        padding: 1.5rem 1.25rem 1.25rem;
    }

    .pricing-v2-breakdown,
    .pricing-v2-benefits,
    .pricing-v2-asylum-note,
    .pricing-v2-income {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .pricing-v2-benefits-details {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .pricing-v2-item {
        font-size: 0.85rem;
    }

    .pricing-v2-benefits-details .pricing-v2-breakdown {
        padding: 0;
    }

    .step-plans {
        min-width: 24px;
        height: 20px;
        font-size: 0.7rem;
        padding: 0 0.4rem;
        margin-right: 0.35rem;
    }

    .pricing-v2-item-state {
        font-size: 0.65rem;
        padding: 0.12rem 0.35rem;
    }

    .pricing-v2-cta {
        margin: 0.75rem auto;
        padding: 0.875rem 2rem;
        font-size: 0.95rem;
    }

    .pricing-state-selector-wrapper {
        margin-bottom: 2rem;
        max-width: 100%;
    }

    .pricing-state-label {
        font-size: 0.95rem;
    }

    .pricing-state-select {
        font-size: 0.9rem;
        padding: 0.75rem 1rem;
        padding-right: 2.5rem;
    }

    .pricing-v2-benefits-list li,
    .pricing-v2-benefits-list-two li {
        font-size: 0.85rem;
    }
}


/* ========== BLOCK 15: COMPLEX CASES ========== */

.complex-cases-section {
    background: #ffffff;
}

.complex-cases-section .faq-accordion-group {
    max-width: 900px;
    margin: 0 auto;
}

/* Case Details Styling */
.case-details {
    padding: 1rem 0;
}

.case-details p {
    margin: 0.5rem 0;
    line-height: 1.6;
    color: var(--text-dark);
}

.case-details p strong {
    color: var(--text-dark);
}

.case-result {
    margin-top: 1rem !important;
    padding-top: 1rem;
    border-top: 1px dashed rgba(0, 0, 0, 0.1);
}

.case-result strong {
    color: #10B981 !important;
}

/* Complex Cases Show More */
.complex-cases-show-more-wrapper {
    display: flex;
    justify-content: center;
    margin: 1.5rem 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.complex-cases-show-more-btn {
    width: auto;
    text-align: center;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    padding: 0.875rem 1.75rem;
    font-size: 0.875rem;
}

.complex-cases-show-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.complex-cases-show-more-btn svg {
    transition: transform 0.3s ease;
}

/* Hidden Cases */
.complex-cases-hidden-items {
    display: none;
    flex-direction: column;
    gap: 1rem;
    animation: complexCasesFadeIn 0.4s ease-out;
}

.complex-cases-hidden-items.visible {
    display: flex;
}

@keyframes complexCasesFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Telegram Link */
.telegram-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #0088cc 0%, #00a8e8 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 136, 204, 0.3);
}

.telegram-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 136, 204, 0.4);
    color: #ffffff;
}

.telegram-link svg {
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .complex-cases-section .faq-accordion-group {
        padding: 0 1rem;
    }
    
    .case-details p {
        font-size: 0.9rem;
    }
    .faq-accordion-group .wp-block-details p {
        margin-bottom: 1rem;
        font-size: 0.9rem;
    }
}


/* ========== BLOCK 17: MAIN FAQ (Dark Theme like Block 9) ========== */

.faq-main-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    position: relative;
    overflow: hidden;
}

.faq-main-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 20%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(59, 130, 246, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.faq-main-section .section-heading-dark {
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.faq-main-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

/* Dark Theme Accordion */
.faq-dark-theme {
    max-width: 900px;
    margin: 0 auto;
}

.faq-dark-theme .wp-block-details {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-dark-theme .wp-block-details:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(99, 102, 241, 0.3);
}

.faq-dark-theme .wp-block-details[open] {
    background: rgba(99, 102, 241, 0.08);
    border-color: rgba(99, 102, 241, 0.3);
}

.faq-dark-theme .wp-block-details summary {
    padding: 1.25rem 3rem 1.25rem 1.5rem;
    font-weight: 500;
    font-size: 1rem;
    color: #ffffff;
    cursor: pointer;
    list-style: none;
    position: relative;
    transition: color 0.3s ease;
}

.faq-dark-theme .wp-block-details summary::-webkit-details-marker {
    display: none;
}

.faq-dark-theme .wp-block-details[open] summary::after {
    transform: translateY(-30%) rotate(
180deg);
    border-color: #a5b4fc;
}

.faq-dark-theme .wp-block-details summary:hover {
    color: #a5b4fc;
}

.faq-dark-theme .wp-block-details summary:hover::after {
    border-color: #a5b4fc;
}

.faq-dark-theme .wp-block-details p {
    padding: 0 1.5rem 1.25rem 1.5rem;
    margin: 0;
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .faq-dark-theme .wp-block-details summary {
        padding: 1rem 2.5rem 1rem 1rem;
        font-size: 0.9rem;
    }
    
    .faq-dark-theme .wp-block-details summary::after {
        right: 1rem;
    }
    
    .faq-dark-theme .wp-block-details p {
        padding: 0 1rem 1rem 1rem;
        font-size: 0.85rem;
    }
    
    .faq-main-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }
}

/* Ð‘Ð›ÐžÐš 17: Mobile padding */
@media (max-width: 782px) {
    .faq-main-section {
        padding-left: 2rem;
        padding-right: 2rem;
    }
    .faq-main-section .alignwide {
        padding-left: 0;
        padding-right: 0;
    }
    .faq-dark-theme {
        padding-left: 0;
        padding-right: 0;
    }
    .faq-main-section .section-heading-dark {
        font-size: 1.5rem;
        padding: 0 0rem 1rem 0rem;
    }
}


/* ========== FOOTER STYLES ========== */

.footer-main {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    padding: 4rem 0 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Footer Top */
.footer-top {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Brand Section */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    text-decoration: none;
}

.footer-logo-text {
    font-size: 1.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, #6366F1 0%, #3B82F6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.4);
    color: #a5b4fc;
    transform: translateY(-2px);
}

.footer-social svg {
    width: 20px;
    height: 20px;
}

/* Links Section */
.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 1.25rem 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li {
    margin-bottom: 0.75rem;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #a5b4fc;
}

/* Contacts in Footer */
.footer-contacts li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-contacts svg {
    color: rgba(255, 255, 255, 0.4);
    flex-shrink: 0;
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    margin-top: 0;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin: 0;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #a5b4fc;
}

/* Responsive */
@media (max-width: 992px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-links {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-main {
        padding: 3rem 0 0;
    }
    
    .footer-container {
        padding: 0 1.5rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .footer-links {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-brand {
        text-align: center;
        align-items: center;
    }
    
    .footer-social {
        justify-content: center;
    }
}


/* ========== FOOTER V2 (Simple Style like Reference) ========== */

.site-footer-v2 {
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
    padding: 1.5rem 0;
}

.footer-v2-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Top Row */
.footer-v2-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

/* Logo */
.footer-v2-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #6366F1;
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.5px;
}

.footer-v2-logo svg {
    width: 28px;
    height: 28px;
    stroke: #6366F1;
}

/* Legal Links */
.footer-v2-legal {
    display: flex;
    gap: 2rem;
}

.footer-v2-legal a {
    color: #6366F1;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-v2-legal a:hover {
    color: #4F46E5;
    text-decoration: underline;
}

/* Social Icons */
.footer-v2-social {
    display: flex;
    gap: 0.75rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.social-icon svg {
    width: 22px;
    height: 22px;
}

/* Telegram */
.social-telegram {
    background: #0088cc;
    color: #ffffff;
}
.social-telegram:hover {
    background: #0077b5;
    transform: translateY(-2px);
}

/* Facebook */
.social-facebook {
    background: #1877F2;
    color: #ffffff;
}
.social-facebook:hover {
    background: #166FE5;
    transform: translateY(-2px);
}

/* Threads */
.social-threads {
    background: #000000;
    color: #ffffff;
}
.social-threads:hover {
    background: #333333;
    transform: translateY(-2px);
}

/* VK */
.social-vk {
    background: #0077FF;
    color: #ffffff;
}
.social-vk:hover {
    background: #0066DD;
    transform: translateY(-2px);
}

/* Instagram */
.social-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #ffffff;
}
.social-instagram:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* TikTok */
.social-tiktok {
    background: #000000;
    color: #ffffff;
    position: relative;
}
.social-tiktok::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    background: linear-gradient(45deg, #69C9D0, #EE1D52);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.social-tiktok:hover::before {
    opacity: 1;
}
.social-tiktok svg {
    position: relative;
    z-index: 1;
}
.social-tiktok:hover {
    transform: translateY(-2px);
}

/* Bottom Row */
.footer-v2-bottom {
    padding-top: 1rem;
    text-align: center;
}

.footer-v2-bottom p {
    margin: 0;
    color: #9ca3af;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .footer-v2-top {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }
    
    .footer-v2-logo {
        width: 100%;
        justify-content: center;
        margin-bottom: 1rem;
    }
    
    .footer-v2-legal {
        width: 100%;
        justify-content: center;
        margin-bottom: 1rem;
    }
    
    .footer-v2-social {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .footer-v2-container {
        padding: 0 1rem;
    }
    
    .footer-v2-legal {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .footer-v2-social {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .social-icon {
        width: 36px;
        height: 36px;
    }
    
    .social-icon svg {
        width: 18px;
        height: 18px;
    }
}

/* ========== SIMPLE FOOTER (Reference Style) ========== */

.footer-simple {
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
    padding: 1.5rem 0;
}

.footer-simple-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Top Row */
.footer-simple-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #e5e7eb;
}

/* Logo */
.footer-simple-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #6366F1;
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.5px;
    flex-shrink: 0;
}

.footer-simple-logo svg {
    width: 28px;
    height: 28px;
    stroke: #6366F1;
}

/* Legal Links */
.footer-simple-legal {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.footer-simple-legal a {
    color: #6366F1;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-simple-legal a:hover {
    color: #4F46E5;
    text-decoration: underline;
}

/* Social Icons */
.footer-simple-social {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-btn svg {
    width: 20px;
    height: 20px;
}

/* Telegram */
.social-telegram {
    background: #0088cc;
    color: #ffffff;
}
.social-telegram:hover {
    background: #0077b5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 136, 204, 0.4);
}

/* Facebook */
.social-facebook {
    background: #1877F2;
    color: #ffffff;
}
.social-facebook:hover {
    background: #166FE5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.4);
}

/* Threads */
.social-threads {
    background: #000000;
    color: #ffffff;
}
.social-threads:hover {
    background: #333333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* VK */
.social-vk {
    background: #0077FF;
    color: #ffffff;
}
.social-vk:hover {
    background: #0066DD;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 119, 255, 0.4);
}

/* Instagram */
.social-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #ffffff;
}
.social-instagram:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(225, 48, 108, 0.4);
}

/* TikTok */
.social-tiktok {
    background: #000000;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}
.social-tiktok::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(45deg, #69C9D0, #EE1D52);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.social-tiktok:hover::before {
    opacity: 1;
}
.social-tiktok svg {
    position: relative;
    z-index: 1;
}
.social-tiktok:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Bottom Row */
.footer-simple-bottom {
    padding-top: 1.25rem;
    text-align: center;
}

.footer-simple-bottom p {
    margin: 0;
    color: #9ca3af;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .footer-simple-top {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }
    
    .footer-simple-logo {
        width: 100%;
        justify-content: center;
        margin-bottom: 1rem;
    }
    
    .footer-simple-legal {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .footer-simple-social {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .footer-simple-container {
        padding: 0 1rem;
    }
    
    .footer-simple-social {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .social-btn {
        width: 36px;
        height: 36px;
    }
    
    .social-btn svg {
        width: 18px;
        height: 18px;
    }
}


/* ========== LIGHT FOOTER (Beautiful Modern Design) ========== */

.footer-light {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
    border-top: 1px solid #e5e7eb;
    padding: 4rem 0 0;
}

.footer-light-container {
    max-width: 1340px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Main Content Grid */
.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid #e5e7eb;
}

/* Brand Column */
.footer-brand-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: #0066CC;
    font-weight: 800;
    font-size: 1.75rem;
    letter-spacing: -0.05em;
    transition: transform 0.3s ease;
}

.footer-brand-logo:hover {
    transform: translateX(5px);
}

.footer-brand-logo svg {
    width: 36px;
    height: 36px;
    stroke: #0066CC;
    transition: transform 0.3s ease;
}

.footer-brand-logo:hover svg {
    transform: rotate(5deg);
}

.footer-tagline {
    color: var(--text-dark);
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 0;
    max-width: 320px;
}

/* Social Icons in Brand Column */
.footer-social-icons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.footer-social-icons .social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.footer-social-icons .social-icon svg {
    width: 20px;
    height: 20px;
    position: relative;
    z-index: 1;
}

/* Footer Columns */
.footer-col h4,
.footer-heading {
    font-size: 1rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 1.5rem 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    display: inline-block;
}

.footer-col h4::after,
.footer-heading::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 3px;
    background: linear-gradient(90deg, #0066CC, #0052CC);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links li {
    margin: 0;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-links a::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #0066CC, #0052CC);
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: #0066CC;
    transform: translateX(5px);
}

.footer-links a:hover::before {
    width: 100%;
}

/* Contacts List */
.footer-contacts {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contacts li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-contacts svg {
    color: #0066CC;
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-contacts a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contacts a:hover {
    color: #0066CC;
    text-decoration: underline;
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
}

.footer-copyright {
    color: #9ca3af;
    font-size: 0.9rem;
    margin: 0;
}

.footer-bottom-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-bottom-right a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-bottom-right a:hover {
    color: #0066CC;
    text-decoration: underline;
}

.footer-bottom-right .separator {
    color: #d1d5db;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
    
    .footer-brand-col {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .footer-light {
        padding: 3rem 0 0;
    }
    
    .footer-light-container {
        padding: 0 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding-bottom: 2rem;
    }
    
    .footer-brand-col {
        grid-column: auto;
        text-align: center;
        align-items: center;
    }
    
    .footer-brand-logo {
        justify-content: center;
    }
    
    .footer-tagline {
        max-width: 100%;
        text-align: center;
    }
    
    .footer-social-icons {
        justify-content: center;
    }
    
    .footer-col {
        text-align: center;
    }
    
    .footer-col h4::after,
    .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links {
        align-items: center;
    }
    
    .footer-contacts {
        align-items: center;
    }
    
    .footer-contacts li {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding: 1.5rem 0;
    }
    
    .footer-bottom-right {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-light {
        padding: 2.5rem 0 0;
    }
    
    .footer-content {
        gap: 2rem;
    }
    
    .footer-brand-logo {
        font-size: 1.5rem;
    }
    
    .footer-brand-logo svg {
        width: 32px;
        height: 32px;
    }
    
    .footer-social-icons .social-icon {
        width: 38px;
        height: 38px;
    }
    
    .footer-social-icons .social-icon svg {
        width: 18px;
        height: 18px;
    }
    
    .footer-bottom-right a {
        font-size: 0.85rem;
    }
}

/* ========== VACANCIES CATALOG PAGE V2 ========== */
.vacancies-page-hero {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #f0f9ff 100%);
    position: relative;
}

.vacancies-main-title {
    color: var(--text-dark);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.vacancies-subtitle {
    color: var(--text-muted);
}

/* Main Container - No sidebar, full width */
.vacancies-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
}

/* Horizontal Filters */
.vacancies-filters-horizontal {
background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 2rem 2.5rem;
    margin-bottom: 2.5rem;
    box-shadow: 
        0 10px 40px rgba(102, 126, 234, 0.15),
        0 4px 12px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(102, 126, 234, 0.1);
    position: relative;
    overflow: hidden;
}

/* Houses catalog filters use their own wrapper class to avoid coupling with vacancies styles. */
.houses-filters-horizontal {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 2rem 2.5rem;
    margin-bottom: 2.5rem;
    box-shadow:
        0 10px 40px rgba(102, 126, 234, 0.15),
        0 4px 12px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(102, 126, 234, 0.1);
    position: relative;
    overflow: hidden;
}

.vacancies-filters-horizontal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
}

.houses-filters-horizontal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
}

/* Sort bar inside filters card */
.vacancies-filters-horizontal .vacancies-sort-bar {
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.filters-horizontal-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem 1.5rem;
    align-items: end;
}

/* First 4 items (Штат, Город, Ставка, Доход) - first row */
.filter-group-horizontal:nth-child(1),
.filter-group-horizontal:nth-child(2),
.filter-group-horizontal:nth-child(3),
.filter-group-horizontal:nth-child(4) {
    grid-row: 1;
}

/* Next 3 items (Вид работы, Спец. знания, Для кого) - second row */
.filter-group-horizontal:nth-child(5),
.filter-group-horizontal:nth-child(6),
.filter-group-horizontal:nth-child(7),
.filter-group-horizontal:nth-child(8) {
    grid-row: 2;
}

/* Last item (actions) - third row, full width */
.filter-actions-horizontal {
    grid-row: 3;
    grid-column: 1 / -1;
    margin-top: 0.75rem;
}

.filter-group-horizontal {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-label-horizontal {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.filter-label-horizontal svg {
    color: var(--primary-color);
    opacity: 0.75;
    flex-shrink: 0;
}

.filter-select-horizontal {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1.5px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    font-size: 0.9rem;
    color: var(--text-dark);
    background: rgba(248, 250, 252, 0.6);
    backdrop-filter: blur(10px);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
}

.filter-select-horizontal:hover {
    border-color: rgba(0, 102, 204, 0.2);
    background: rgba(255, 255, 255, 0.9);
}

.filter-select-horizontal:focus {
    outline: none;
    border-color: var(--primary-color);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.filter-range-horizontal {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Dual-handle range sliders (pay/income) */
.filter-dual-range {
    width: 100%;
    --range-left: 0%;
    --range-right: 100%;
}

.filter-dual-range-track {
    position: relative;
    height: 1.7rem;
    display: flex;
    align-items: center;
}

.filter-dual-range-track::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 7px;
    transform: translateY(-50%);
    border-radius: 9999px;
    background: rgba(0, 0, 0, 0.08);
}

.filter-dual-range-track::after {
    content: '';
    position: absolute;
    top: 50%;
    height: 7px;
    transform: translateY(-50%);
    border-radius: 9999px;
    left: var(--range-left);
    width: calc(var(--range-right) - var(--range-left));
    background: linear-gradient(90deg, var(--primary-color) 0%, #6366F1 100%);
    box-shadow: 0 2px 6px rgba(0, 102, 204, 0.2);
}

/* Mobile: avoid visible "tail" past the thumbs by clipping + accounting for thumb width */
@media (max-width: 768px) {
    .filter-dual-range-track {
        overflow: hidden;
        --dual-thumb-radius: 10px;
    }

    .filter-dual-range-track::before {
        left: var(--dual-thumb-radius);
        right: var(--dual-thumb-radius);
    }

    .filter-dual-range-track::after {
        left: calc(var(--dual-thumb-radius) + var(--range-left));
        right: calc(var(--dual-thumb-radius) + (100% - var(--range-right)));
        width: auto;
    }

    /* In bottom-sheet modal, prevent the range input thumb from creating horizontal overflow */
    .filters-modal-body .filter-dual-range {
        overflow: hidden;
    }

    .filters-modal-body .filter-dual-range input[type="range"] {
        left: 10px;
        right: 10px;
        width: calc(100% - 20px);
    }
}

.filter-dual-range input[type="range"] {
    position: absolute;
    top: 0.2rem;
    left: 0;
    right: 0;
    width: 100%;
    margin: 0;
    background: transparent;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
}

.filter-dual-range input[type="range"]::-webkit-slider-runnable-track {
    height: 7px;
    background: transparent;
    border-radius: 9999px;
}

.filter-dual-range input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 9999px;
    background: #ffffff;
    border: 3px solid var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    pointer-events: auto;
    cursor: grab;
    transition: all 0.2s ease;
}

.filter-dual-range input[type="range"]:active::-webkit-slider-thumb {
    cursor: grabbing;
    transform: scale(1.15);
    box-shadow: 0 3px 12px rgba(0, 102, 204, 0.4);
}

.filter-dual-range input[type="range"]:focus::-webkit-slider-thumb {
    border-color: #6366F1;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
}

.filter-dual-range input[type="range"]::-moz-range-track {
    height: 7px;
    background: transparent;
    border: none;
}

.filter-dual-range input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 9999px;
    background: #ffffff;
    border: 3px solid var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    pointer-events: auto;
    cursor: grab;
}

.filter-dual-range input[type="range"]:active::-moz-range-thumb {
    cursor: grabbing;
}

.filter-dual-range-values {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 0.375rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--primary-color);
}

.filter-input-horizontal {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    font-size: 0.875rem;
    background: rgba(248, 250, 252, 0.6);
    backdrop-filter: blur(10px);
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.filter-input-horizontal:focus {
    outline: none;
    border-color: var(--primary-color);
    background: #ffffff;
}

.filter-actions-horizontal {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    padding-top: 0.5rem;
}

/* Houses catalog: keep filters in a single row (State + City + Actions). */
#housesFiltersHorizontal .filters-horizontal-row {
    grid-template-columns: 1fr 1fr auto;
}

#housesFiltersHorizontal .filter-actions-horizontal {
    grid-row: 1;
    grid-column: 3;
    margin-top: 0;
    padding-top: 0;
    align-self: end;
}

.filter-actions-horizontal .results-count {
    white-space: nowrap;
}

.filter-apply-btn-horizontal {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, #6366F1 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.15);
}

.filter-apply-btn-horizontal:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.35);
}

.filter-apply-btn-horizontal:active {
    transform: translateY(0);
}

.filter-apply-btn-colleagues {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, #6366F1 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.15);
}

.filter-apply-btn-colleagues:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.35);
}

.filter-apply-btn-colleagues:active {
    transform: translateY(0);
}

.filter-reset-colleagues {
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: 1.5px solid rgba(239, 68, 68, 0.25);
    color: #ef4444;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-decoration: none;
}

.filter-reset-colleagues:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: #ef4444;
}


.filter-reset-horizontal {
    padding: 0.5rem 2rem;
    background: transparent;
    border: 1.5px solid rgba(239, 68, 68, 0.25);
    width: 90%!important;
    text-align: center;
    color: #ef4444;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-decoration: none;
}

.filter-reset-horizontal:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: #ef4444;
}

/* Mobile Filter Toggle Button */
.mobile-filter-toggle {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, #6366F1 100%);
    color: #ffffff;
    border: none;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(0, 102, 204, 0.35);
    cursor: pointer;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: floatButton 3s ease-in-out infinite;
}

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

.mobile-filter-toggle svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.mobile-filter-toggle:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 32px rgba(0, 102, 204, 0.45);
    animation: none;
}

.mobile-filter-toggle:hover svg {
    transform: rotate(180deg);
}

.mobile-filter-toggle:active {
    transform: translateY(-1px) scale(1.02);
}

/* ========== FILTERS MODAL ========== */
.filters-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.filters-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.filters-modal {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 24px 24px 0 0;
    width: 100%;
    max-width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    overflow-x: hidden;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.filters-modal-overlay.active .filters-modal {
    transform: translateY(0);
}

.filters-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.95) 100%);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 10;
    overflow-x: hidden;
}

.filters-modal-count {
    position: absolute;
    left: 60%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #0066CC;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.08) 0%, rgba(99, 102, 241, 0.08) 100%);
    padding: 0.5rem 0.875rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(0, 102, 204, 0.15);
    box-shadow: 0 2px 6px rgba(0, 102, 204, 0.08);
    white-space: nowrap;
    max-width: calc(100% - 120px);
    overflow: hidden;
    text-overflow: ellipsis;
}

.filters-modal-count svg {
    flex-shrink: 0;
    color: #0066CC;
}

.filters-modal-count span {
    font-size: var(--wp--preset--font-size--medium);
    font-weight: 700;
    background: linear-gradient(135deg, #0066CC 0%, #6366F1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.filters-modal-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filters-modal-header h3::before {
    content: '';
    width: 4px;
    height: 24px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #6366F1 100%);
    border-radius: 2px;
}

.filters-modal-close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--text-dark);
}

.filters-modal-close:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: rotate(90deg);
}

.filters-modal-body {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 1.5rem;
    overscroll-behavior: contain;
}

.filters-modal-body::-webkit-scrollbar {
    width: 6px;
}

.filters-modal-body::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 3px;
}

.filters-modal-body::-webkit-scrollbar-thumb {
    background: rgba(0, 102, 204, 0.3);
    border-radius: 3px;
}

.filters-modal-body::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 102, 204, 0.5);
}

/* Modal filters layout - vertical stack */
.filters-modal-body #vacanciesFiltersModal {
    display: flex; /* Override display: none from cloned element */
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    position: static;
    z-index: auto;
    margin: 0;
}

.filters-modal-body .filters-horizontal-row {
    display: flex !important;
    flex-direction: column;
    gap: 1rem;
}

.filters-modal-body .filter-group-horizontal {
    display: block !important;
    width: 100%;
}

.filters-modal-body .filter-label-horizontal,
.filters-modal-body .filter-select-horizontal,
.filters-modal-body .filter-input-horizontal,
.filters-modal-body .filter-range-horizontal {
    display: flex !important;
}

.filters-modal-body .filter-actions-horizontal {
    display: none !important; /* Hide actions in modal body, use footer buttons */
}

.filters-modal-footer {
    display: flex;
    gap: 0.75rem;
    padding: 0.5rem 1.5rem;
    padding-bottom: calc(0.5rem + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.95) 0%, rgba(255, 255, 255, 0.98) 100%);
    backdrop-filter: blur(10px);
    position: sticky;
    bottom: 0;
    z-index: 10;
}

.filter-reset-btn,
.filter-apply-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    border: none;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-reset-btn {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-dark);
}

.filter-reset-btn:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.filter-apply-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, #6366F1 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.25);
}

.filter-apply-btn:hover {
    box-shadow: 0 6px 16px rgba(0, 102, 204, 0.35);
    transform: translateY(-1px);
}

.filter-apply-btn:active,
.filter-reset-btn:active {
    transform: translateY(0);
}


/* Responsive Styles */
@media (max-width: 1199px) {
    .vacancies-container {
        padding: 0 1rem;
    }
    
    .filters-horizontal-row {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem 1.25rem;
    }

    /* Houses: stay in one row on tablet as well. */
    #housesFiltersHorizontal .filters-horizontal-row {
        grid-template-columns: 1fr 1fr auto;
    }

    #housesFiltersHorizontal .filter-actions-horizontal {
        grid-row: 1;
        grid-column: 3;
    }

    /* First row: Штат, Город, Ставка */
    .filter-group-horizontal:nth-child(1),
    .filter-group-horizontal:nth-child(2),
    .filter-group-horizontal:nth-child(3) {
        grid-row: 1;
    }

    /* Second row: Доход, Вид работы, Спец. знания */
    .filter-group-horizontal:nth-child(4),
    .filter-group-horizontal:nth-child(5),
    .filter-group-horizontal:nth-child(6) {
        grid-row: 2;
    }

    /* Third row: Для кого (span 2 columns) */
    .filter-group-horizontal:nth-child(7) {
        grid-row: 3;
        grid-column: 1 / 3;
    }

    /* Third row: Сортировка */
    .filter-group-horizontal:nth-child(8) {
        grid-row: 3;
        grid-column: 3 / 4;
    }

    /* Fourth row: actions */
    .filter-actions-horizontal {
        grid-row: 4;
    }
    
    .vacancies-filters-horizontal {
        padding: 1.75rem 2rem;
    }

    .houses-filters-horizontal {
        padding: 1.75rem 2rem;
    }
}

@media (max-width: 768px) {

    .filters-modal-overlay {
        display: flex;
    }

    .vacancies-container {
        padding: 0 0.75rem;
    }
    
    /* Hide horizontal filters on mobile */
    .vacancies-filters-horizontal {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1000;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(5px);
        margin: 0;
        padding: 0;
        border-radius: 0;
    }

    /* Houses catalog: use the same mobile modal UX as /colleagues/ */
    #housesFiltersHorizontal {
        display: none;
    }

    #mobileHousesFilterToggle {
        display: flex;
    }

    /* Houses modal filters layout */
    .filters-modal-body .houses-filters-modal-content {
        display: block !important;
        background: transparent;
        box-shadow: none;
        border-radius: 0;
        padding: 0;
        margin: 0;
        position: static !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        z-index: auto !important;
    }

    .filters-modal-body .houses-filters-modal-content .filters-horizontal-row {
        display: flex !important;
        flex-direction: column;
        gap: 1rem;
    }

    .filters-modal-body .houses-filters-modal-content .filter-group-horizontal {
        display: block !important;
        width: 100%;
    }

    .filters-modal-body .houses-filters-modal-content .filter-actions-horizontal {
        display: none !important;
    }

    .vacancies-sort-bar {
        flex-direction: row;
        width: 100%;
        align-items: center;
        padding-bottom: 1rem;
        margin-bottom: 0;
        border-bottom: none;
    }

    .filters-modal-body #vacanciesFiltersModal {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .vacancies-filters-horizontal.modal-open {
        display: flex;
        align-items: flex-end;
        animation: modalFadeIn 0.3s ease;
    }
    
    @keyframes modalFadeIn {
        from {
            opacity: 0;
        }
        to {
            opacity: 1;
        }
    }
    
    .filters-horizontal-row {
        display: flex;
        flex-direction: column;
        background: #ffffff;
        border-radius: 24px 24px 0 0;
        padding: 2rem 1.5rem;
        max-height: 85vh;
        overflow-y: auto;
        width: 100%;
        animation: modalSlideUp 0.3s ease;
        gap: 1rem;
    }

    /* Reset grid for mobile */
    .filter-group-horizontal:nth-child(1),
    .filter-group-horizontal:nth-child(2),
    .filter-group-horizontal:nth-child(3),
    .filter-group-horizontal:nth-child(4),
    .filter-group-horizontal:nth-child(5),
    .filter-group-horizontal:nth-child(6),
    .filter-group-horizontal:nth-child(7),
    .filter-group-horizontal:nth-child(8) {
        grid-row: unset;
        grid-column: unset;
    }
    
    @keyframes modalSlideUp {
        from {
            transform: translateY(100%);
        }
        to {
            transform: translateY(0);
        }
    }
    
    .filter-group-horizontal {
        width: 100%;
    }
    
    .filter-actions-horizontal {
        width: 100%;
        flex-direction: column;
        gap: 0.75rem;
        grid-row: unset;
        grid-column: unset;
        margin-top: 0.5rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(0, 0, 0, 0.06);
    }
    
    .filter-apply-btn-horizontal,
    .filter-reset-horizontal {
        width: 100%;
        padding: 1rem;
    }
    
    /* Show mobile filter toggle button */
    .mobile-filter-toggle {
        display: flex;
    }
    
    /* Sort bar adjustments - shown separately above filter toggle */
    .vacancies-sort-bar {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
        align-items: flex-start;
    }
    
    .sort-options {
        width: 100%;
        justify-content: space-between;
    }
    
    .sort-select {
        flex: 1;
        padding: 0.75rem;
    }
}

@media (max-width: 480px) {
    .vacancies-container {
        padding: 0 0.5rem;
    }
    
    .mobile-filter-toggle {
        bottom: 15px;
        right: 15px;
        padding: 0.875rem 1.25rem;
        font-size: 0.875rem;
    }
    
    .filters-horizontal-row {
        padding: 1.5rem 1rem;
        width: 92%;
    }
}

/* OLD Sidebar Styles - Keep for potential use */
/* Main Layout - Sidebar + Content */
.vacancies-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    min-height: 80vh;
}

/* Sidebar Filters */
.vacancies-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.filters-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.filters-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 1.25rem;
    margin-bottom: 1.75rem;
    border-bottom: 2px solid rgba(0, 0, 0, 0.08);
}

.filters-header svg {
    color: var(--primary-color);
}

.filters-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    flex: 1;
}

.filters-reset {
    background: none;
    border: none;
    color: #ef4444;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.filters-reset:hover {
    opacity: 0.7;
}

/* Filter Groups */
.filter-group {
    margin-bottom: 1.5rem;
}

.filter-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.filter-label svg {
    color: var(--primary-color);
    opacity: 0.7;
}

.filter-select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    font-size: 0.9rem;
    color: var(--text-dark);
    background: rgba(248, 250, 252, 0.6);
    backdrop-filter: blur(10px);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary-color);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

/* Range Inputs */
.filter-range {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-input {
    flex: 1;
    padding: 0.875rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    font-size: 0.9rem;
    background: rgba(248, 250, 252, 0.6);
    backdrop-filter: blur(10px);
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.filter-input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: #ffffff;
}

.range-separator {
    color: #94a3b8;
    font-weight: 600;
}

/* Checkboxes */
.filter-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.filter-checkbox:hover {
    color: var(--text-dark);
}

.filter-checkbox input {
    display: none;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.5);
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.filter-checkbox input:checked + .checkbox-custom {
    background: linear-gradient(135deg, var(--primary-color) 0%, #6366F1 100%);
    border-color: var(--primary-color);
}

.filter-checkbox input:checked + .checkbox-custom::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Apply Button */
.filter-apply-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, #6366F1 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-apply-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.3);
}

/* Vacancies Content */
.vacancies-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Sort Bar */
.vacancies-sort-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1rem;
}

.results-count {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.count-number {
    font-weight: 700;
    color: var(--primary-color);
}

.sort-options {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sort-options label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.sort-select {
    padding: 0.5rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.85rem;
    background: #f8fafc;
    cursor: pointer;
}

/* Vacancies List - CSS Grid Layout */
.vacancies-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--wp--preset--spacing--50);
    align-items: stretch;
}

.vacancies-list .vacancy-card-new {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--primary-color);
}

/* Vacancies list page: keep footer close to content (no big empty gap) */
.vacancies-list .vacancy-footer {
    margin-top: auto;
    padding-top: 0.25rem;
}

.vacancies-list .vacancy-cta-btn {
    margin-top: 0.25rem;
}

/* 4K: 3 columns */
@media (min-width: 2560px) {
    .vacancies-list {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--wp--preset--spacing--50);
        padding: 1rem 0;
    }
}

/* FullHD to 4K: 2 columns */
@media (min-width: 1200px) and (max-width: 2559px) {
    .vacancies-list {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--wp--preset--spacing--50);
        padding: 1rem 0;
        margin: 0 1rem;
    }
}

/* Tablet: 2 columns */
@media (min-width: 768px) and (max-width: 1199px) {
    .vacancies-list {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--wp--preset--spacing--40);
        padding: 1rem 0;
        margin: 0 1rem;
    }
}

/* Mobile: 1 column */
@media (max-width: 767px) {
    .vacancies-list {
        grid-template-columns: 1fr;
        gap: var(--wp--preset--spacing--40);
        padding: 1rem 0;
        margin: 0 1rem;
    }
}

/* Vacancy Item Card */
.vacancy-item {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.vacancy-item:hover {
    box-shadow: 0 8px 30px rgba(0, 102, 204, 0.12);
    border-color: rgba(0, 102, 204, 0.15);
    transform: translateY(-2px);
}

.vacancy-item-main {
    flex: 1;
}

.vacancy-item-title {
    margin: 0 0 0.75rem 0;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.4;
}

.vacancy-item-title a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.vacancy-item-title a:hover {
    color: #6366F1;
}

.vacancy-item-salary {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.vacancy-item-salary svg {
    color: #22c55e;
}

.salary-amount {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
}

.salary-period {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.vacancy-item-company {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.vacancy-item-company svg {
    color: var(--primary-color);
    opacity: 0.6;
}

.vacancy-item-excerpt {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0 0 1rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Tags */
.vacancy-item-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 20px;
}

.tag-category {
    background: #f1f5f9;
    color: #64748b;
}

/* Badges */
.vacancy-item-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
    white-space: nowrap;
}

.badge svg {
    width: 14px;
    height: 14px;
}

.badge-f1 {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
    color: #16a34a;
}

.badge-housing {
    background: rgba(59, 130, 246, 0.1);
    color: #2563eb;
}

.badge-time,
.badge-hours {
    background: rgba(168, 85, 247, 0.1);
    color: #9333ea;
}

.badge-lang {
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
}

.badge-noexp {
    background: rgba(236, 72, 153, 0.1);
    color: #db2777;
}

.badge-bonus {
    background: rgba(251, 191, 36, 0.15);
    color: #b45309;
}

/* Actions */
.vacancy-item-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
}

.vacancy-item-date {
    font-size: 0.8rem;
    color: #94a3b8;
}

.vacancy-item-buttons {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #94a3b8;
}

.btn-icon:hover {
    background: #f1f5f9;
    color: var(--text-dark);
    border-color: #cbd5e1;
}

.btn-details {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    background: #ffffff;
    border: 2px solid #ef4444;
    color: #ef4444;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-details:hover {
    background: #ef4444;
    color: #ffffff;
}

/* Pagination */
.vacancies-pagination-custom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 1.5rem 0;
}

/* Houses pagination uses its own wrapper class (same look, no coupling with vacancies). */
.houses-pagination-custom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 1.5rem 0;
}

.pagination-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-dark);
}

.pagination-btn:hover:not(:disabled) {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-page {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pagination-page:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.pagination-page.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, #6366F1 100%);
    border-color: transparent;
    color: #ffffff;
    box-shadow: var(--shadow-md);
}

.pagination-dots {
    padding: 0 0.5rem;
    color: #94a3b8;
}

/* Mobile Filter Toggle */
.mobile-filter-toggle {
    display: none;
    position: fixed;
    bottom: 0.2rem;
    left: 30%;
    right: 30%;
    justify-content: center;
    transform: translateX(-50%);
    z-index: 100;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, #6366F1 100%);
    color: #ffffff;
    border: none;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 8px 30px rgba(0, 102, 204, 0.4);
    align-items: center;
    gap: 0.5rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .vacancies-layout {
        grid-template-columns: 280px 1fr;
        gap: 1.5rem;
        padding: 1.5rem;
    }
}

@media (max-width: 900px) {
    .vacancies-layout {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
    
    .vacancies-sidebar {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1000;
        padding: 1rem;
        overflow-y: auto;
    }
    
    .vacancies-sidebar.active {
        display: flex;
        align-items: flex-start;
        justify-content: center;
        padding-top: 80px;
    }
    
    .vacancies-sidebar.active .filters-container {
        max-width: 400px;
        width: 100%;
        max-height: calc(100vh - 100px);
        overflow-y: auto;
    }
    
    .mobile-filter-toggle {
        display: flex;
    }
    
    .vacancies-sort-bar {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
        margin-bottom: 1rem;
    }
    
    .vacancy-item {
        padding: 1.25rem;
    }
    
    .vacancy-item-title {
        font-size: 1.05rem;
    }
    
    .vacancy-item-badges {
        gap: 0.4rem;
    }
    
    .badge {
        padding: 0.3rem 0.6rem;
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .vacancies-layout {
        padding: 0.75rem;
    }
    
    .vacancy-item-actions {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .vacancy-item-buttons {
        justify-content: flex-end;
    }
    
    .btn-details {
        flex: 1;
        justify-content: center;
    }
}

/* ========================================
   Journey Timeline - Ð­Ñ‚Ð°Ð¿Ñ‹ Ð¿Ð¾Ð»ÑƒÑ‡ÐµÐ½Ð¸Ñ Ð²Ð¸Ð·Ñ‹ F-1
   ======================================== */

.journey-section {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
    padding: 5rem 0;
}

.journey-header {
    text-align: center;
    margin-bottom: 4rem;
}

.journey-header h2 {
    color: #0f172a;
    margin-bottom: 1rem;
}

/* Timeline Container */
.journey-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding-left: 80px;
}

/* Vertical Line - centered through circles */
.journey-timeline::before {
    content: '';
    position: absolute;
    left: 28px; /* Center of 52px circle: (52/2) + 2 = 28 for 4px line center */
    top: 26px; /* Start from center of first circle */
    bottom: 26px; /* End at center of last circle */
    width: 4px;
    background: linear-gradient(180deg, 
        #3b82f6 0%, 
        #8b5cf6 25%, 
        #10b981 50%, 
        #f59e0b 75%, 
        #10b981 100%
    );
    border-radius: 2px;
    z-index: 1;
}

/* Each Step */
.journey-step {
    position: relative;
    margin-bottom: 2rem;
    display: flex;
    align-items: flex-start;
}

.journey-step:last-child {
    margin-bottom: 0;
}

/* Step Marker - centered on the line */
.step-marker {
    position: absolute;
    left: -80px; /* Position to center circle at line: 80px padding - (52px width / 2) - 2px = -76px */
    top: 0;
    width: 52px;
    height: 52px;
    /* background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%); */
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
    z-index: 2;
    border: 4px solid #fff; /* White border to cleanly separate from line */
}

.step-number {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
}

/* Step Content Card */
.step-content {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.75rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
    flex: 1;
    transition: all 0.3s ease;
}

.step-content:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

/* Step Header */
.step-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.step-duration {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 0.875rem;
    background: linear-gradient(135deg, #dbeafe 0%, #ede9fe 100%);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #4f46e5;
}

/* Step Sections */
.step-section {
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: 12px;
}

.step-section:last-child {
    margin-bottom: 0;
}

.section-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 0.9375rem;
    margin-bottom: 0.625rem;
}

.section-label svg {
    flex-shrink: 0;
}

/* You Section - Blue */
.step-you {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-left: 4px solid #3b82f6;
}

.step-you .section-label {
    color: #1d4ed8;
}

.step-you .section-label svg {
    stroke: #3b82f6;
}

/* We Section - Green */
.step-we {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-left: 4px solid #10b981;
}

.step-we .section-label {
    color: #047857;
}

.step-we .section-label svg {
    stroke: #10b981;
}

/* Result Section - Gold/Orange */
.step-result {
    background: linear-gradient(135deg, #fefce8 0%, #fef3c7 100%);
    border-left: 4px solid #f59e0b;
}

.step-result .section-label {
    color: #b45309;
}

.step-result .section-label svg {
    stroke: #f59e0b;
}

/* Lists in Sections */
.step-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.step-section ul li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.step-section ul li:last-child {
    margin-bottom: 0;
}

.step-section ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.625rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.step-you ul li::before {
    background: #3b82f6;
}

.step-we ul li::before {
    background: #10b981;
}

.step-result p {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0;
}

/* Substeps for complex steps */
.step-substep {
    margin-bottom: 1rem;
}

.step-substep:last-child {
    margin-bottom: 0;
}

.step-substep strong {
    display: block;
    color: #047857;
    font-size: 0.9375rem;
    margin-bottom: 0.5rem;
}

/* Highlight Step (Step 5) */
.journey-step--highlight .step-marker {
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
    box-shadow: 0 4px 24px rgba(139, 92, 246, 0.5);
    width: 56px;
    height: 56px;
    left: -78px; /* Adjust for larger circle: 80px - 56px/2 = -78px */
}

.journey-step--highlight .step-content {
    border: 2px solid #a855f7;
    background: linear-gradient(135deg, #faf5ff 0%, #ffffff 100%);
}

/* Final Step (Step 7) */
.journey-step--final .step-marker {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 4px 24px rgba(16, 185, 129, 0.5);
    width: 56px;
    height: 56px;
    left: -78px; /* Adjust for larger circle */
}

.journey-step--final .step-content {
    border: 2px solid #10b981;
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
}

/* Journey Footer */
.journey-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 3rem;
    padding: 1.25rem 2rem;
    background: #f1f5f9;
    border-radius: 12px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.journey-footer-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #e2e8f0;
    border-radius: 50%;
    flex-shrink: 0;
}

.journey-footer-icon svg {
    stroke: #64748b;
}

.journey-footer p {
    font-size: 0.9375rem;
    color: #475569;
    margin: 0;
    line-height: 1.6;
}

.journey-footer strong {
    color: #0f172a;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .journey-section {
        padding: 3rem 1rem;
    }
    
    .journey-header {
        margin-bottom: 2.5rem;
    }
    .journey-timeline {
        padding-left: 60px;
    }
    
    .journey-timeline::before {
        left: 21px; /* Center of 40px circle: (40/2) + 1 = 21 for 3px line */
        top: 20px;
        bottom: 20px;
        width: 3px;
    }
    
    .step-marker {
        left: -59px; /* 60px - 40px/2 + 1 = -59px to center 40px circle */
        width: 40px;
        height: 40px;
        border-width: 3px;
    }
    
    .journey-step--highlight .step-marker,
    .journey-step--final .step-marker {
        width: 44px;
        height: 44px;
        left: -61px; /* Adjust for larger circle */
    }
    
    .step-number {
        font-size: 1rem;
    }
    
    .step-content {
        padding: 1.25rem;
    }
    
    .step-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .step-title {
        font-size: var(--wp--preset--font-size--medium);
    }
    
    .step-duration {
        font-size: 0.8125rem;
    }
    
    .step-section {
        padding: 0.875rem;
    }
    
    .section-label {
        font-size: 0.875rem;
    }
    
    .step-section ul li,
    .step-result p {
        font-size: 0.875rem;
    }
    
    .journey-footer {
        flex-direction: column;
        text-align: center;
        padding: 1.25rem 1rem;
        margin-top: 2rem;
    }
}

@media (max-width: 480px) {
    .journey-timeline {
        padding-left: 50px;
    }
    
    .journey-timeline::before {
        left: 17px; /* Center of 36px circle: (36/2) + 1 = 19, minus 2 for 3px line = 17 */
        top: 18px;
        bottom: 18px;
    }
    
    .step-marker {
        left: -49px; /* 50px - 36px/2 + 1 = -49px */
        width: 36px;
        height: 36px;
        border-width: 2px;
    }
    
    .journey-step--highlight .step-marker,
    .journey-step--final .step-marker {
        width: 40px;
        height: 40px;
        left: -51px;
    }
    
    .step-number {
        font-size: 0.875rem;
    }
    
    .step-content {
        padding: 1rem;
        border-radius: 12px;
    }
    
    .step-title {
        font-size: 1rem;
    }
    
    .step-section {
        padding: 0.75rem;
        border-radius: 8px;
    }
}


/* ========================================
   Visa Steps Timeline - Ð­Ñ‚Ð°Ð¿Ñ‹ Ð¿Ð¾Ð»ÑƒÑ‡ÐµÐ½Ð¸Ñ Ð²Ð¸Ð·Ñ‹ F-1 (Ð½Ð¾Ð²Ñ‹Ð¹ ÑÑ‚Ð¸Ð»ÑŒ)
   ======================================== */

.visa-steps-section {
    position: relative;
    background-image: url('/wp-content/themes/F-one/assets/images/journey-visa-bg.webp') !important;
    background-size: cover !important;
    background-position: 20% 30% !important;
    background-repeat: no-repeat !important;
    background-attachment: scroll !important;
    padding: 5rem 0;
    min-height: 800px;
}

/* Overlay for text readability - gradient from right (content) to left (person visible) */
.visa-steps-section::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: linear-gradient(
        270deg,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(255, 255, 255, 0.90) 35%,
        rgba(255, 255, 255, 0.65) 55%,
        rgba(255, 255, 255, 0.30) 75%,
        rgba(255, 255, 255, 0) 100%
    ) !important;
    z-index: 1 !important;
    pointer-events: none !important;
}

.visa-steps-section > .wp-block-group {
    position: relative;
    z-index: 2;
}

.visa-steps-timeline-section {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Override loan-timeline title for light background */
.visa-steps-timeline-section .loan-timeline-title {
    color: #0f172a;
}

.visa-steps-timeline-section .loan-timeline-title::after {
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.visa-steps-subtitle {
    text-align: center;
    color: #64748b;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    line-height: 1.6;
}

/* Override loan-timeline for light theme */
.visa-steps-timeline .timeline-step-title {
    color: #1e293b;
}

.visa-steps-timeline .timeline-content {
    background: #ffffff;
    border: 1px solid #e2e8f0;
}

/* "ÐŸÐ¾Ð´Ñ€Ð¾Ð±Ð½ÐµÐµ" indicator color for light theme */
.visa-steps-timeline .timeline-content::after {
    color: #000000;
}

.visa-steps-timeline .timeline-step--active .timeline-content {
    background: #ffffff;
    border-color: #c7d2fe;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.15);
}

/* Duration badge in title */
.timeline-duration {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-dark);
    background: #f1f5f9;
    padding: 0.25rem 0.6rem;
    border-radius: 12px;
    margin-left: 0.5rem;
    vertical-align: middle;
}

/* Sections: Ð’Ñ‹ / ÐœÑ‹ inside timeline-text */
.timeline-section {
    margin-bottom: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    background: #f8fafc;
    border-right: 3px solid #e2e8f0;
}

.timeline-section-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.timeline-section-label svg {
    flex-shrink: 0;
    stroke: #64748b;
}

.timeline-section ul {
    margin: 0;
    padding-left: 1.25rem;
    color: var(--text-dark);
}

.timeline-section ul li {
    margin-bottom: 0.35rem;
    line-height: 1.5;
}

.timeline-section ul li:last-child {
    margin-bottom: 0;
}

/* Ð’Ñ‹ section - subtle accent */
.timeline-you {
    border: #3b82f6 solid 1px;
}

.timeline-you .timeline-section-label {
    color: #1e40af;
}

.timeline-you .timeline-section-label svg {
    stroke: #3b82f6;
}

/* ÐœÑ‹ section - neutral */
.timeline-we {
    border: #64748b solid 1px;
}

.timeline-we .timeline-section-label {
    color: var(--text-muted);
}

.timeline-we .timeline-section-label svg {
    stroke: #64748b;
}

/* Substeps inside timeline-text */
.timeline-substep {
    margin-bottom: 0.75rem;
    padding: 0.625rem 1rem;
    background: #f1f5f9;
    border-radius: 6px;
}

.timeline-substep strong {
    display: block;
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.timeline-substep ul {
    margin: 0;
    padding-left: 1.25rem;
    color: var(--text-dark);
}

.timeline-substep ul li {
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

/* Result section */
.timeline-result {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-top: 0.75rem;
    padding: 0.875rem 1rem;
    background: #f0fdf4;
    border-radius: 8px;
    border: 1px solid #bbf7d0;
    color: var(--text-dark);
    font-size: 0.9375rem;
    line-height: 1.5;
}

.timeline-result svg {
    flex-shrink: 0;
    stroke: #22c55e;
    margin-top: 2px;
}

.timeline-result strong {
    color: var(--text-dark);
}

.timeline-result--success {
    background: #dcfce7;
    border-color: #86efac;
}

.timeline-result--success strong {
    color: #166534;
}

/* Footer */
.visa-steps-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2.5rem;
    padding: 1rem 1.5rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
}

.visa-steps-footer-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #f1f5f9;
    border-radius: 50%;
    flex-shrink: 0;
}

.visa-steps-footer-icon svg {
    stroke: #64748b;
}

.visa-steps-footer p {
    font-size: 1rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

.visa-steps-footer strong {
    color: #0f172a;
}

/* Visa Steps Responsive */
@media (max-width: 1400px) {
    .visa-steps-section {
        background-position: 25% 30% !important;
    }
    
    .visa-steps-section::before {
        background: linear-gradient(
            270deg,
            rgba(255, 255, 255, 0.96) 0%,
            rgba(255, 255, 255, 0.92) 40%,
            rgba(255, 255, 255, 0.75) 60%,
            rgba(255, 255, 255, 0.40) 80%,
            rgba(255, 255, 255, 0.10) 100%
        ) !important;
    }
}

@media (max-width: 1200px) {
    .visa-steps-section {
        background-position: 30% 30% !important;
    }
    
    .visa-steps-section::before {
        background: linear-gradient(
            270deg,
            rgba(255, 255, 255, 0.97) 0%,
            rgba(255, 255, 255, 0.94) 45%,
            rgba(255, 255, 255, 0.80) 65%,
            rgba(255, 255, 255, 0.50) 85%,
            rgba(255, 255, 255, 0.20) 100%
        ) !important;
    }
}

@media (max-width: 992px) {
    .visa-steps-section {
        background-position: 35% 30% !important;
    }
    
    .visa-steps-section::before {
        background: linear-gradient(
            270deg,
            rgba(255, 255, 255, 0.97) 0%,
            rgba(255, 255, 255, 0.95) 50%,
            rgba(255, 255, 255, 0.85) 70%,
            rgba(255, 255, 255, 0.60) 100%
        ) !important;
    }
}

/* Mobile hero image for visa steps */
.visa-steps-mobile-hero {
    display: none;
}

@media (max-width: 768px) {
    .visa-steps-section {
        padding: 0 !important;
        background-image: none !important;
        background: #f8fafc !important;
        min-height: auto !important;
    }
    
    .visa-steps-section::before {
        display: none !important;
    }
    
    /* Mobile hero image visible */
    .visa-steps-mobile-hero {
        display: block;
        position: relative;
        width: 100%;
        height: 280px;
        overflow: hidden;
    }
    
    .visa-steps-mobile-hero img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: 30% 35%;
    }
    
    .visa-steps-mobile-hero-overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 80px;
        background: linear-gradient(
            180deg,
            rgba(248, 250, 252, 0) 0%,
            rgba(248, 250, 252, 1) 100%
        );
    }
    
    .visa-steps-section > .wp-block-group {
        padding: 1rem;
    }
    
    .visa-steps-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .timeline-duration {
        display: block;
        margin-left: 0;
        margin-top: 0.5rem;
        width: fit-content;
    }

    .loan-timeline .timeline-content::after {
        padding: 0.2rem 0.6rem;
        font-size: 0.8rem;
        position: relative;
    }
    
    .timeline-section {
        padding: 0.75rem;
    }
    
    .visa-steps-footer {
        flex-direction: column;
        text-align: center;
        padding: 1.25rem 1rem;
    }
}

@media (max-width: 480px) {
    .visa-steps-mobile-hero {
        height: 240px;
    }
    .pathway-card-header {
    display: block !important;
    }
    
    .visa-steps-mobile-hero img {
        object-position: 20% 30%;
    }
    
    .visa-steps-section > .wp-block-group {
        padding: 1rem;
    }
    
    .timeline-section-label {
        font-size: 0.8125rem;
    }
    
    .timeline-section ul {
        font-size: 0.875rem;
    }
    
    .timeline-result {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.875rem;
        font-size: 0.875rem;
    }
    
    .timeline-substep {
        padding: 0.625rem 0.75rem;
    }
    
    .timeline-substep strong {
        font-size: 0.8125rem;
    }
    
    .timeline-substep ul li {
        font-size: 0.8125rem;
    }
}

.light-faq-list li {
    color: var(--text-dark) !important;
}

.dark-faq-list li {
    color: var(--text-light) !important;
}

/* ========== MONEY FLOW SECTION (REDESIGN - LIGHT THEME) ========== */
.mf-section {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
    padding: 2rem 0 0 0;
}

.mf-bg-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(212, 175, 55, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.mf-container {
    position: relative;
    z-index: 1;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
.mf-header {
    text-align: center;
    margin-bottom: 4rem;
}

.mf-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    color: #4f46e5;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.mf-badge svg {
    stroke: #4f46e5;
}

.mf-title {
    color: var(--text-dark, #0f172a);
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0 0 1rem;
    line-height: 1.2;
}

.mf-subtitle {
    color: #475569;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

.mf-subtitle strong {
    color: var(--text-dark, #0f172a);
}

.mf-subtitle-muted {
    color: #64748b;
    font-size: 1rem;
}

/* Visual Flow */
.mf-flow {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: fit-content;
    margin: 0 auto 4rem;
}

.mf-flow-step {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
}

.mf-flow-icon {
    position: relative;
    flex-shrink: 0;
    align-self: center;
}

.mf-flow-icon-inner {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(79, 70, 229, 0.4);
}

.mf-flow-icon-inner svg {
    stroke: #ffffff;
}

.mf-flow-icon--gold .mf-flow-icon-inner {
    background: linear-gradient(135deg, #d4af37 0%, #f5d060 100%);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.4);
}

.mf-flow-icon--gold .mf-flow-icon-inner svg {
    stroke: #1e293b;
}

.mf-flow-icon--green .mf-flow-icon-inner {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4);
}

.mf-flow-step-num {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 24px;
    height: 24px;
    background: #ffffff;
    color: #4f46e5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 800;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.mf-flow-step-num--green {
    color: #10b981;
}

.mf-flow-content {
    flex: 1;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.mf-flow-title {
    color: var(--text-dark, #0f172a);
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 0.75rem;
}

.mf-flow-desc {
    color: #475569;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0 0 1rem;
}

.mf-flow-desc strong {
    color: var(--text-dark, #0f172a);
}

.mf-flow-details {
    background: #f1f5f9;
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.mf-flow-details-label {
    display: block;
    color: #64748b;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.mf-flow-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mf-flow-list li {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    color: var(--text-dark, #0f172a);
    font-size: 1rem;
    padding: 0.35rem 0;
}

.mf-check {
    color: #10b981;
    font-weight: bold;
}

.mf-dot {
    width: 6px;
    height: 6px;
    background: #d4af37;
    border-radius: 50%;
    flex-shrink: 0;
}

.mf-flow-list--compact li {
    padding: 0.25rem 0;
}

.mf-flow-note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #64748b;
    font-size: 0.9rem;
    padding-top: 0.75rem;
    border-top: 1px dashed rgba(0, 0, 0, 0.1);
}

.mf-flow-note svg {
    flex-shrink: 0;
    fill: #64748b;
}

.mf-flow-note--gold {
    color: #b8860b;
    border-top-color: rgba(212, 175, 55, 0.3);
}

.mf-flow-highlight {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 10px;
    padding: 0.875rem 1rem;
    color: #059669;
    font-size: 0.9rem;
    margin-top: 1rem;
}

.mf-flow-highlight svg {
    flex-shrink: 0;
    stroke: #059669;
}

.mf-flow-highlight strong {
    color: var(--text-dark, #0f172a);
}

/* Payment Grid */
.mf-payment-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.mf-payment-card {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
}

.mf-payment-label {
    display: block;
    color: var(--text-dark);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.mf-payment-amount {
    display: block;
    color: var(--text-dark, #0f172a);
    font-size: 1.5rem;
    font-weight: 800;
}

.mf-payment-amount small {
    font-size: 1rem;
    font-weight: 400;
    color: #64748b;
}

.mf-payment-duration {
    display: block;
    color: #059669;
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

/* Connectors - hidden on desktop (3-column layout), shown on mobile */
.mf-flow-connector {
    display: none;
}

.mf-flow-connector-line {
    width: 2px;
    height: 100%;
}

.mf-flow-connector-arrow {
    position: absolute;
    margin-left: -14px;
    margin-top: 5px;
    color: #6366f1;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(5px);
    }
}

/* Responsibilities */
.mf-resp {
    margin-bottom: 3rem;
}

.mf-resp-heading {
    color: var(--text-dark, #0f172a);
    font-size: 1.75rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
}

.mf-resp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.mf-resp-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    padding: 1.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.mf-resp-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.mf-resp-card--eu {
    border-top: 3px solid #4f46e5;
}

.mf-resp-card--us {
    border-top: 3px solid #dc2626;
}

.mf-resp-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.mf-resp-flag {
    font-size: 2rem;
}

.mf-resp-card-title {
    color: var(--text-dark, #0f172a);
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
}

.mf-resp-card-subtitle {
    color: #64748b;
    font-size: 0.9rem;
}

.mf-resp-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mf-resp-list li {
    position: relative;
    padding-left: 1.5rem;
    color: var(--text-dark);
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.mf-resp-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #6366f1;
}

.mf-resp-card--us .mf-resp-list li::before {
    color: #ef4444;
}

.mf-resp-note {
    color: var(--text-dark);
    font-size: 0.8rem;
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px dashed rgba(0, 0, 0, 0.1);
    line-height: 1.5;
}

/* Transparency */
.mf-transparency {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(16, 185, 129, 0.03) 100%);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.mf-transparency-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: rgba(16, 185, 129, 0.15);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mf-transparency-icon svg {
    stroke: #059669;
}

.mf-transparency-content {
    flex: 1;
}

.mf-transparency-title {
    color: var(--text-dark, #0f172a);
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 1rem;
}

.mf-transparency-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.mf-transparency-item {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    color: var(--text-dark);
    font-size: 1rem;
}

.mf-transparency-item span {
    color: #059669;
    font-weight: bold;
}

/* Legal Card */
.mf-legal-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    margin-top: 2rem;
}

.mf-legal-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.mf-legal-icon {
    width: 48px;
    height: 48px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mf-legal-icon svg {
    stroke: #4f46e5;
}

.mf-legal-title {
    color: var(--text-dark, #0f172a);
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
}

.mf-legal-body {
    padding: 0;
}

.mf-legal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.mf-legal-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mf-legal-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.mf-legal-label {
    color: #64748b;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.mf-legal-value {
    color: var(--text-dark, #0f172a);
    font-size: 0.95rem;
    font-weight: 500;
}

.mf-legal-roles {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mf-legal-roles li {
    position: relative;
    padding-left: 1.25rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.mf-legal-roles li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #4f46e5;
}

@media (max-width: 767px) {
    .mf-legal-card {
        padding: 1.5rem;
    }

    .mf-legal-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .mf-legal-icon {
        width: 40px;
        height: 40px;
    }

    .mf-legal-icon svg {
        width: 20px;
        height: 20px;
    }

    .mf-legal-title {
        font-size: 1rem;
    }
}

/* ========== MONEY FLOW RESPONSIVE ========== */

@media (max-width: 991px) {
    .mf-section {
        padding: 3rem 1.5rem;
    }

    .mf-title {
        font-size: 2rem;
    }

    .mf-flow {
        grid-template-columns: 1fr;
        max-width: 600px;
        gap: 0;
    }

    .mf-flow-connector {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        padding-left: 25px;
        height: 50px;
    }

    .mf-resp-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .mf-transparency-items {
        grid-template-columns: 1fr;
    }

    .mf-legal-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 767px) {
    .mf-section {
        padding: 2.5rem 1rem;
    }

    .mf-header {
        margin-bottom: 3rem;
    }

    .mf-badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }

    .mf-title {
        font-size: 1.5rem;
    }

    .mf-subtitle {
        font-size: 1rem;
    }

    .mf-flow-step {
        flex-direction: column;
        gap: 1rem;
    }

    .mf-flow-icon {
        align-self: center;
    }

    .mf-flow-icon-inner {
        width: 48px;
        height: 48px;
    }

    .mf-flow-icon-inner svg {
        width: 22px;
        height: 22px;
    }

    .mf-flow-content {
        padding: 1.25rem;
    }

    .mf-flow-title {
        font-size: 1.1rem;
    }

    .mf-payment-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .mf-payment-card {
        padding: 0.875rem;
    }

    .mf-payment-amount {
        font-size: 1.25rem;
    }

    .mf-flow-connector {
        height: 40px;
        padding-left: 0px;
        margin: 0 auto;
    }

    .mf-resp-heading {
        font-size: 1.4rem;
    }

    .mf-resp-card {
        padding: 1.25rem;
        border-radius: 16px;
    }

    .mf-resp-flag {
        font-size: 1.5rem;
    }

    .mf-resp-card-title {
        font-size: 1rem;
    }

    .mf-resp-list li {
        font-size: 0.9rem;
    }

    .mf-transparency {
        flex-direction: column;
        padding: 1.5rem;
        border-radius: 16px;
    }

    .mf-transparency-icon {
        width: 48px;
        height: 48px;
    }

    .mf-transparency-icon svg {
        width: 24px;
        height: 24px;
    }

    .mf-transparency-title {
        font-size: 1.1rem;
    }

    .mf-transparency-item {
        font-size: 0.85rem;
    }
}


/* ========================================
   Ð‘Ð›ÐžÐš 19: MEDIA PRESS SECTION
   ======================================== */

/* Section Container */
.media-press-section {
    background: linear-gradient(135deg, #0a0e17 0%, #1a1f3a 50%, #0d1222 100%);
    position: relative;
    padding: 2rem 0;
    overflow: hidden;
}

/* Animated Aurora Background */
.media-press-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.media-press-bg::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(102, 126, 234, 0.15) 0%, transparent 40%),
        radial-gradient(ellipse at 70% 80%, rgba(139, 92, 246, 0.12) 0%, transparent 40%),
        radial-gradient(ellipse at 50% 50%, rgba(236, 72, 153, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 20% 70%, rgba(59, 130, 246, 0.1) 0%, transparent 35%);
    animation: aurora-drift 15s ease-in-out infinite;
}

.media-press-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 80% 30%, rgba(255, 140, 0, 0.08) 0%, transparent 30%),
        radial-gradient(circle at 10% 60%, rgba(16, 185, 129, 0.06) 0%, transparent 35%);
    animation: aurora-drift 20s ease-in-out infinite reverse;
}

@keyframes aurora-drift {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(2%, -2%) rotate(1deg);
    }

    50% {
        transform: translate(-1%, 1%) rotate(-1deg);
    }

    75% {
        transform: translate(-2%, -1%) rotate(0.5deg);
    }
}

.media-press-container {
    position: relative;
    z-index: 1;
}

.media-press-header {
    margin-bottom: 4rem;
    text-align: center;
}


.media-press-header p {
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    font-size: 1rem;
}

.media-press-header h2 {
    color: var(--text-light);
    display: inline-flex;
}

/* Carousel Wrapper */
.media-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.media-carousel {
    flex: 1;
    overflow: hidden;
    padding: 1.5rem 1rem;
}

.media-carousel-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Media Cards - Enhanced Design 2025 */
.media-card {
    flex: 0 0 340px;
    min-width: 340px;
    max-width: 380px;
    flex-shrink: 0;
    background: linear-gradient(165deg,
            rgba(30, 41, 59, 0.95) 0%,
            rgba(15, 23, 42, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 1.75rem;
    backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Gradient corner accent */
.media-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle at top right,
            rgba(139, 92, 246, 0.12) 0%,
            transparent 70%);
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* Bottom gradient line */
.media-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        var(--media-card-color, #667eea) 0%, 
        transparent 100%);
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.media-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(139, 92, 246, 0.1);
}

.media-card:hover::before {
    opacity: 1;
}

.media-card:hover::after {
    opacity: 1;
}

/* Card Header with Logo + Badge */
.media-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Card Logo - modern style */
.media-card-logo {
    height: 28px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.media-card-logo svg {
    height: 24px;
    width: auto;
    max-width: 140px;
}

/* ===========================================
   AUTO COLOR SYSTEM - Colors by card position
   =========================================== */

/* Card 1: Emerald Green */
.media-carousel-track .media-card:nth-child(6n+1) {
    --media-card-color: #10b981;
    --media-card-gradient: linear-gradient(135deg, #10b981 0%, #059669 100%);
}
.media-carousel-track .media-card:nth-child(6n+1)::before {
    background: radial-gradient(circle at top right, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
}
.media-carousel-track .media-card:nth-child(6n+1) .media-card-logo svg path,
.media-carousel-track .media-card:nth-child(6n+1) .media-card-logo svg polygon,
.media-carousel-track .media-card:nth-child(6n+1) .media-card-logo svg rect {
    fill: #10b981;
}

/* Card 2: Royal Red */
.media-carousel-track .media-card:nth-child(6n+2) {
    --media-card-color: #ef4444;
    --media-card-gradient: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}
.media-carousel-track .media-card:nth-child(6n+2)::before {
    background: radial-gradient(circle at top right, rgba(239, 68, 68, 0.15) 0%, transparent 70%);
}
.media-carousel-track .media-card:nth-child(6n+2) .media-card-logo svg path,
.media-carousel-track .media-card:nth-child(6n+2) .media-card-logo svg text {
    fill: #ef4444;
}

/* Card 3: Vibrant Orange */
.media-carousel-track .media-card:nth-child(6n+3) {
    --media-card-color: #f97316;
    --media-card-gradient: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
}
.media-carousel-track .media-card:nth-child(6n+3)::before {
    background: radial-gradient(circle at top right, rgba(249, 115, 22, 0.15) 0%, transparent 70%);
}
.media-carousel-track .media-card:nth-child(6n+3) .media-card-logo svg path {
    fill: #f97316;
}

/* Card 4: Electric Blue */
.media-carousel-track .media-card:nth-child(6n+4) {
    --media-card-color: #3b82f6;
    --media-card-gradient: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}
.media-carousel-track .media-card:nth-child(6n+4)::before {
    background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
}
.media-carousel-track .media-card:nth-child(6n+4) .media-card-logo svg path,
.media-carousel-track .media-card:nth-child(6n+4) .media-card-logo svg text {
    fill: #3b82f6;
}

/* Card 5: Purple Violet */
.media-carousel-track .media-card:nth-child(6n+5) {
    --media-card-color: #8b5cf6;
    --media-card-gradient: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}
.media-carousel-track .media-card:nth-child(6n+5)::before {
    background: radial-gradient(circle at top right, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
}
.media-carousel-track .media-card:nth-child(6n+5) .media-card-logo svg path {
    fill: #8b5cf6;
}

/* Card 6: Pink Magenta */
.media-carousel-track .media-card:nth-child(6n+6) {
    --media-card-color: #ec4899;
    --media-card-gradient: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
}
.media-carousel-track .media-card:nth-child(6n+6)::before {
    background: radial-gradient(circle at top right, rgba(236, 72, 153, 0.15) 0%, transparent 70%);
}
.media-carousel-track .media-card:nth-child(6n+6) .media-card-logo svg path {
    fill: #ec4899;
}

/* Badge style */
.media-card-badge {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.06);
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.media-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.875rem;
    line-height: 1.45;
    flex-grow: 0;
}

.media-card-teaser {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.65;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

/* Card Link - modern arrow button */
.media-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--media-card-color, #667eea);
    text-decoration: none;
    padding: 0.625rem 1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
    margin-top: auto;
    width: fit-content;
}

.media-card-link svg {
    stroke: currentColor;
    transition: transform 0.3s ease;
}

.media-card-link:hover {
    background: var(--media-card-color, #667eea);
    color: #ffffff;
    border-color: transparent;
}

.media-card-link:hover svg {
    transform: translateX(4px);
}

/* Navigation Buttons */
.media-nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.media-nav-btn svg {
    stroke: #ffffff;
}

.media-nav-btn:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: transparent;
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.media-nav-btn:active {
    transform: scale(0.95);
}

.media-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.media-nav-btn:disabled:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    transform: scale(1);
    box-shadow: none;
}

/* Responsive */
@media (max-width: 991px) {
    .media-press-section {
        padding: 2rem;
    }

    .media-card {
        flex: 0 0 300px;
        min-width: 300px;
        max-width: 320px;
        padding: 1.5rem;
    }

    .media-nav-btn {
        width: 48px;
        height: 48px;
    }
}

@media (max-width: 768px) {
    .media-press-section {
        padding: 1rem 2rem;
    }

    .media-press-header {
        margin-bottom: 2rem;
    }

    .media-carousel-wrapper {
        gap: 0.75rem;
    }

    .media-carousel-track {
        gap: 1rem;
    }

    .media-card {
        flex: 0 0 280px;
        min-width: 280px;
        max-width: 300px;
        padding: 1.25rem;
        border-radius: 16px;
    }

    .media-card-header {
        margin-bottom: 1rem;
        padding-bottom: 0.875rem;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .media-card-logo svg {
        height: 20px;
        max-width: 110px;
    }

    .media-card-badge {
        font-size: 0.65rem;
        padding: 0.25rem 0.5rem;
    }

    .media-card-title {
        font-size: 1.05rem;
        margin-bottom: 0.75rem;
    }

    .media-card-teaser {
        font-size: 0.85rem;
        margin-bottom: 1.25rem;
        line-height: 1.6;
    }

    .media-card-link {
        font-size: 0.8rem;
        padding: 0.5rem 0.875rem;
    }

    .media-nav-btn {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .media-press-section {
        padding: 0.5rem 1rem;
    }

    .media-carousel-wrapper {
        gap: 0.5rem;
    }

    .media-carousel-track {
        gap: 0.75rem;
    }

    .media-nav-btn {
        width: 36px;
        height: 36px;
    }

    .media-nav-btn svg {
        width: 18px;
        height: 18px;
    }

    .media-card {
        flex: 0 0 260px;
        min-width: 260px;
        max-width: 280px;
        padding: 1rem;
    }

    .media-card-header {
        margin-bottom: 0.875rem;
        padding-bottom: 0.75rem;
    }

    .media-card-logo svg {
        height: 18px;
        max-width: 100px;
    }

    .media-card-title {
        font-size: 1rem;
    }

    .media-card-teaser {
        font-size: 0.8rem;
        margin-bottom: 1rem;
    }

    .media-card-link {
        font-size: 0.75rem;
        padding: 0.5rem 0.75rem;
        gap: 0.375rem;
    }

    .media-card-link svg {
        width: 16px;
        height: 16px;
    }
}

/* ========================================
   Ð‘Ð›ÐžÐš 20: TWO COMPANIES SECTION (TC-)
   Modern Glassmorphism Design 2025
   ======================================== */

/* Main Section */
.tc-section {
    position: relative;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 25%, #f1f5f9 50%, #ffffff 75%, #f8fafc 100%);
    overflow: hidden;
}

/* Background Pattern */
.tc-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(239, 68, 68, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(250, 204, 21, 0.02) 0%, transparent 40%);
    pointer-events: none;
}

.tc-bg-pattern::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(90deg, rgba(0, 0, 0, 0.01) 1px, transparent 1px),
        linear-gradient(rgba(0, 0, 0, 0.01) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.5;
}

/* Container */
.tc-container {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
}

/* Header */
.tc-header {
    text-align: center;
    margin-bottom: 3rem;
}


/* Cards container - for arrows positioning */
.tc-info-cards {
    position: relative;
    padding: 0;
    z-index: 1; /* keep cards below the tabs wrapper + pointer */
}

/* ÐÐºÑ‚Ð¸Ð²Ð½Ð°Ñ ÐºÐ°Ñ€Ñ‚Ð¾Ñ‡ÐºÐ° - ÐºÐ¾Ð½Ñ‚ÐµÐºÑÑ‚ Ð´Ð»Ñ Ð¿Ð¾Ð·Ð¸Ñ†Ð¸Ð¾Ð½Ð¸Ñ€Ð¾Ð²Ð°Ð½Ð¸Ñ ÐºÐ½Ð¾Ð¿Ð¾Ðº */
.tc-info-card {
    position: relative;
}

.tc-info-nav-wrapper {
    display: flex;
    width: 80%;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
    position: relative;
    z-index: 1001;
}

/* Navigation Arrows */
.tc-info-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
    color: #1a1a1a;
    z-index: 10;
    pointer-events: auto;
}

.tc-info-nav svg {
    pointer-events: none;
}

.tc-info-nav:hover {
    transform: translateY(-1px);
    border-color: rgba(226, 232, 240, 0.9);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.95);
}

.tc-info-nav:active {
    transform: translateY(0);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.8);
}

.tc-info-nav:focus-visible {
    outline: 2px solid var(--accent-gold);
    outline-offset: 2px;
}

.tc-info-prev {
    /* Ð¿Ð¾Ð·Ð¸Ñ†Ð¸Ñ ÑÐ»ÐµÐ²Ð° */
}

.tc-info-next {
    /* Ð¿Ð¾Ð·Ð¸Ñ†Ð¸Ñ ÑÐ¿Ñ€Ð°Ð²Ð° */
}

.tc-info-slider .documents-tabs-wrapper {
    background: #18203f;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin: 0 auto;
    width: fit-content;
    position: relative; /* create stacking context above cards */
    z-index: 1000; /* ensure pointer inside sits above content cards */
}

.tc-info-slider .documents-tabs-title {
    color: #ffffff;
}

.tc-info-slider .documents-tabs-title svg {
    stroke: var(--accent-gold, #D4AF37);
}

.tc-info-slider .documents-tab {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #CBD5E1;
}

.tc-info-slider .documents-tab:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.tc-info-slider .documents-tab.active {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(212, 175, 55, 0.1) 100%);
    border-color: var(--accent-gold, #D4AF37);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.2);
    justify-content: center;
}

.tc-info-slider .documents-tab.active svg {
    stroke: #0F172A;
}

.tc-info-cards { margin-top: 1.5rem; position: relative; }
.tc-info-card {
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    margin: 0 auto;
    border-radius: 24px;
    padding: 2rem;
    opacity: 0;
    width: 100%;
    max-width: 680px;
    box-sizing: border-box;
}
.tc-info-card.active { display: grid; opacity: 1; transform: translateY(0); }
.tc-info-card-content { display: flex; flex-direction: column; }
.tc-info-card-content h4 { font-size: 1.6rem; font-weight: 700; color: #ffffff; margin: 0 0 1rem; }
.tc-info-card-text { flex: 1; margin-bottom: 1rem; }
.tc-info-card-text p { font-size: 1.0625rem; line-height: 1.7; color: #CBD5E1; margin: 0 0 1rem; }
.tc-info-card-text p strong { color: #ffffff; font-weight: 600; }
.tc-info-list { list-style: none; padding: 0; margin: 1rem 0; }
.tc-info-list li { position: relative; padding-left: 1.75rem; margin-bottom: 0.75rem; font-size: 1rem; line-height: 1.6; color: #CBD5E1; }
.tc-info-list li::before { content: ''; position: absolute; left: 0; top: 0.5rem; width: 8px; height: 8px; background: var(--accent-gold, #D4AF37); border-radius: 50%; }
.tc-info-list li strong { color: #ffffff; }
.tc-info-label { display: none; }

/* Dark theme text colors for tc-info-slider */
.tc-info-slider .documents-card-content h4 {
    color: #ffffff;
}

.tc-info-slider .documents-card-text p {
    color: #CBD5E1;
}

.tc-info-slider .documents-card-text p strong {
    color: #ffffff;
}

.tc-info-slider .documents-list li {
    color: #CBD5E1;
}

.tc-info-slider .documents-list li::before {
    background: var(--accent-gold, #D4AF37);
}

.tc-info-slider .documents-list li strong {
    color: #ffffff;
}

.tc-info-highlight {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-left: none;
    border-radius: 12px;
}
.tc-info-highlight svg {
    color: #818CF8;
}
.tc-info-highlight span {
    color: #C7D2FE;
}
.tc-info-highlight--green {
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.2);
}
.tc-info-highlight--green svg {
    color: #4ade80;
}
.tc-info-highlight--green span {
    color: #bbf7d0;
}
.tc-info-highlight--gold {
    background: rgba(212, 175, 55, 0.1);
    border-color: rgba(212, 175, 55, 0.2);
}
.tc-info-highlight--gold svg {
    color: var(--accent-gold, #D4AF37);
}
.tc-info-highlight--gold span {
    color: #fde68a;
}

/* Icon-based card image - Dark theme */
.tc-info-slider .documents-card-image--icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(30, 41, 59, 0.6) 100%);
    border-radius: 20px;
    min-height: 280px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.tc-info-icon-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
    padding: 2rem;
}

.tc-info-big-icon {
    font-size: 4.5rem;
    line-height: 1;
    filter: drop-shadow(0 4px 20px rgba(212, 175, 55, 0.3));
}

.tc-info-icon-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #94A3B8;
    max-width: 180px;
    line-height: 1.4;
}

/* TC Click Pointer - unique for Two Companies block */
.tc-click-pointer {
    display: flex;
    position: absolute;
    z-index: 9999;
    right: 35%;
    justify-content: center;
    margin-top: 1rem;
    pointer-events: none;
}

.tc-click-pointer.hidden {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.tc-click-pointer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    animation: tcPointerBounce 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) infinite;
    position: relative;
}

.tc-click-pointer-hand {
    color: #D4AF37;
    filter: drop-shadow(0 4px 12px rgba(212, 175, 55, 0.5))
            drop-shadow(0 0 20px rgba(212, 175, 55, 0.3));
    animation: tcHandPulse 1.2s ease-in-out infinite;
}

/* Text label */
.tc-click-pointer-text {
    font-size: 0.85rem;
    font-weight: 500;
    color: #94A3B8;
    margin-top: 0.5rem;
    white-space: nowrap;
}

.tab-picker{
    display: inline-block;
    margin-top: 8px;
    padding: 6px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.03em;
    white-space: nowrap;
    border: 2px solid rgba(213, 176, 52, 0.6);
    border-radius: 8px!important;
    background: rgb(213 176 52 / 94%);
    animation: borderPulse 3s 
ease-in-out infinite;
}

/* Pulse ring effect */
.tc-click-pointer-inner::before {
    content: '';
    position: absolute;
    top: 16px;
    left: 50%;
    width: 48px;
    height: 48px;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(212, 175, 55, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: tcPulseRing 1.5s ease-out infinite;
}

.tc-click-pointer-inner::after {
    content: '';
    position: absolute;
    top: 16px;
    left: 50%;
    width: 64px;
    height: 64px;
    transform: translateX(-50%);
    border: 2px solid rgba(212, 175, 55, 0.4);
    border-radius: 50%;
    animation: tcPulseRingOuter 1.5s ease-out infinite 0.2s;
}

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

@keyframes tcHandPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.9; }
}

@keyframes tcPulseRing {
    0% { transform: translateX(-50%) scale(0.5); opacity: 1; }
    100% { transform: translateX(-50%) scale(1.5); opacity: 0; }
}

@keyframes tcPulseRingOuter {
    0% { transform: translateX(-50%) scale(0.5); opacity: 0.8; }
    100% { transform: translateX(-50%) scale(1.8); opacity: 0; }
}


/* Highlight variants - keeping for compatibility */
.documents-highlight--green {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(22, 163, 74, 0.05) 100%);
    border-left-color: #22c55e;
}

.documents-highlight--gold {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(212, 175, 55, 0.05) 100%);
    border-left-color: var(--accent-gold);
}

/* Responsive for tc-info-slider */
@media (max-width: 1200px) {
    .tc-info-cards {
        padding: 0 70px;
    }
    .tc-info-nav {
        width: 46px;
        height: 46px;
    }
}

@media (max-width: 1024px) {
    .tc-info-card { padding: 1.75rem; }
    .tc-info-cards {
        padding: 0 60px;
    }
    .tc-info-nav {
        width: 42px;
        height: 42px;
    }
}

@media (max-width: 768px) {
    .tc-info-slider {
        margin-bottom: 2rem;
    }
    
    .tc-info-slider .documents-tabs-wrapper {
        padding: 1rem;
        border-radius: 16px;
    }
    
    .tc-info-card { 
        padding: 1.25rem;
        border-radius: 16px;
        max-width: 100%;
    }

    .tc-info-card-content h4 {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }

    .tc-info-card-text p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .tc-info-list li {
        font-size: 0.9rem;
        padding-left: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .tc-info-list li::before {
        width: 6px;
        height: 6px;
        top: 0.45rem;
    }

    /* TC col styles for mobile */
    .tc-info-card .tc-col {
        padding: 1rem;
        border-radius: 12px;
    }

    .tc-info-card .tc-col-header {
        gap: 0.5rem;
        margin-bottom: 1rem;
    }

    .tc-info-card .tc-col-badge {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }

    .tc-info-card .tc-col-title {
        font-size: 1.1rem;
    }

    .tc-info-card .tc-col-intro {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .tc-info-card .tc-cards {
        gap: 0.75rem;
    }

    .tc-info-card .tc-card {
        padding: 0.875rem;
        border-radius: 10px;
    }

    .tc-info-card .tc-card-list li {
        font-size: 0.85rem;
        padding-left: 0;
        margin-bottom: 0.4rem;
    }

    .tc-info-card .tc-card-list li::before {
        width: 5px;
        height: 5px;
    }

    /* Image company wrapper */
    .tc-info-card .img-company-wrapper {
        margin: 1rem 0;
    }

    .tc-info-card .img-company1,
    .tc-info-card .img-company2 {
        max-height: 180px;
        border-radius: 10px;
    }

    .img-company-label{
        height: fit-content!important;
        right: 13px!important;
        position: absolute!important;
        left: auto!important;
    
    }


    /* Source links */
    .tc-info-card .source-link {
        font-size: 0.75rem;
        padding: 0.2rem 0.4rem;
    }

    .tc-info-card .source-link svg {
        width: 10px;
        height: 10px;
    }

    /* Requisites block */
    .tc-info-card .tc-requisites {
        font-size: 0.8rem;
        padding: 0.75rem;
    }
    
    .tc-info-slider .documents-card-image--icon {
        min-height: 180px;
        order: -1;
    }
    
    .tc-info-big-icon {
        font-size: 3.5rem;
    }
    
    .tc-info-icon-label {
        font-size: 0.85rem;
    }

    /* Navigation arrows for mobile - below cards */
    .tc-info-cards {
        padding: 0 0 70px 0;
    }

    .tc-info-nav {
        width: 36px;
        height: 36px;
        top: auto;
        bottom: 0;
        transform: none;
    }
    
    .tc-info-nav:hover {
        transform: scale(1.1);
    }
    
    .tc-info-nav:active {
        transform: scale(0.95);
    }
    
    .tc-info-prev {
        left: calc(50% - 55px);
    }
    
    .tc-info-next {
        right: calc(50% - 55px);
    }

    .tc-info-nav svg {
        width: 12px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    .tc-info-card { 
        padding: 1rem;
        border-radius: 12px;
    }
    
    .tc-info-card-content h4 {
        font-size: 1.15rem;
    }

    .tc-info-card-text p {
        font-size: 0.875rem;
    }

    .tc-info-list li {
        font-size: 0.85rem;
    }

    /* TC col styles for small mobile */
    .tc-info-card .tc-col {
        padding: 0.75rem;
    }

    .tc-info-card .tc-col-badge {
        font-size: 0.7rem;
        padding: 0.25rem 0.5rem;
    }

    .tc-info-card .tc-col-title {
        font-size: 1rem;
    }

    .tc-info-card .tc-col-intro {
        font-size: 0.9rem;
    }

    .tc-info-card .tc-card {
        padding: 0;
        font-size: 1rem;
    }

    .tc-info-card .tc-card-list li {
        font-size: 0.9rem;
    }

    .tc-info-card .img-company1,
    .tc-info-card .img-company2 {
        max-height: 150px;
    }

    .tc-info-card .source-link {
        font-size: 0.9rem;
        padding: 0.15rem 0.35rem;
    }

    .tc-info-card .tc-requisites {
        font-size: 0.75rem;
        padding: 0.6rem;
    }
    
    .tc-info-slider .documents-card-image--icon {
        min-height: 150px;
    }
    
    .tc-info-big-icon {
        font-size: 3rem;
    }
}

.tc-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.tc-subtitle {
    font-size: 1.15rem;
    color: var(--text-dark);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Two Column Layout */
.tc-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 4rem;
}

/* Column Cards */
.tc-col {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.05),
        0 10px 15px -3px rgba(0, 0, 0, 0.05),
        0 20px 25px -5px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* Cards container should grow to push details to bottom */
.tc-col .tc-cards {
    flex: 1;
}

.tc-col::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    border-radius: 24px 24px 0 0;
}

.tc-col:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 10px 15px -3px rgba(0, 0, 0, 0.08),
        0 20px 25px -5px rgba(0, 0, 0, 0.06),
        0 40px 50px -12px rgba(0, 0, 0, 0.08);
}

/* EU Column Theme */
.tc-col--eu::before {
    background: #18203f;
}

.tc-col--eu .tc-col-badge {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: var(--text-dark);
}

.tc-col--eu .tc-card-icon {padding-left: 0.5rem;}

/* US Column Theme */
.tc-col--us::before {
    background: #18203f;
}

.tc-col--us .tc-col-badge {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: var(--text-dark);
}

.tc-col--us .tc-card-icon {padding-left: 0.5rem;}

/* Column Header */
.tc-col-header {
    text-align: center;
    padding-bottom: 1rem;
    margin-bottom: 0rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.tc-col-flag {
    font-size: 3.5rem;
    display: block;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.tc-col-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.75rem;
}

.tc-col-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Column Intro */
.tc-col-intro {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 0.5rem;
    padding: 0 0.5rem;
}

/* Cards Container */
.tc-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Individual Card */
.tc-card {
    display: flex;
    align-items: normal;
    gap: 0.7rem;
    padding: 0.6rem;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tc-card:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateX(6px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.tc-card--details {
    border: 2px dashed rgba(250, 204, 21, 0.6);
    background: linear-gradient(135deg, rgba(254, 249, 195, 0.3) 0%, rgba(255, 255, 255, 0.5) 100%);
    margin-top: auto;
}

/* Card Icon */
.tc-card-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: #ffffff;
    transition: all 0.3s ease;
}

.tc-card:hover .tc-card-icon {
    transform: scale(1.1) rotate(-3deg);
}

.tc-card-icon svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 2;
}

/* Card Content */
.tc-card-content {
    flex: 1;
}

.tc-card-content h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.35rem;
    margin-top: 0;
}

.tc-card-content p {
    font-size: 0.95rem;
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0;
}

/* Card List */
.tc-card-list {
    list-style: none;
    padding: 0;
    margin: 0.75rem 0 0 0;
}

.tc-card-list li {
    position: relative;
    contain-intrinsic-block-size: auto 100px;
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    line-height: 1.5;
    padding-left: 1.2rem;
}

.tc-card-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #94a3b8;
    font-weight: 600;
}

/* Card Links */
.tc-card-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.tc-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
    width: fit-content;
}

.tc-link:hover {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.12);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
    color: #0f172a;
}

.tc-link--small {
    padding: 0.4rem 0.9rem;
    font-size: 0.8rem;
}

.tc-link-icon {
    font-size: 1rem;
}

/* Requisites Block */
.tc-requisites {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.tc-requisites strong {
    font-size: 1rem;
    color: #0f172a;
}

.tc-requisites span {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.5;
}

/* ============================
   Law Requirements Banner
   ============================ */
/* ============================
   Law Section - Full Legal Explanation
   ============================ */
.tc-law-section {
    border: 2px solid #D4AF37;
    border-radius: 24px;
    padding: 3rem;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
}

.tc-law-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.tc-law-header-main {
    text-align: center;
    margin-bottom: 2.5rem;
}

.tc-law-icon-big {
    font-size: 3.5rem;
    display: block;
    margin-bottom: 0.75rem;
}

.tc-law-header-main h4 {
    font-size: 1.75rem;
    font-weight: 800;
    color: #D4AF37;
    margin: 0 0 0.5rem 0;
}

.tc-law-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-weight: 400;
}

/* Individual Reason Card */
.tc-law-reason {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 0.2rem;
    margin-bottom: 1.5rem;
}

.tc-law-reason:last-of-type {
    margin-bottom: 0;
}

.tc-law-reason-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.tc-law-check {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 50%;
}

.tc-law-reason-header h5 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.4;
}

.tc-law-reason-content {
    padding-left: 2.5rem;
}

.tc-law-basis-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 1rem 0;
}

/* Law Links */
.tc-law-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.tc-law-link-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.tc-law-link-item .source-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.8rem;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #D4AF37;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tc-law-link-item .source-link:hover {
    background: rgba(212, 175, 55, 0.25);
    border-color: #D4AF37;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
}

.tc-law-link-item .source-link svg {
    color: #D4AF37;
}

.tc-law-link-note {
    font-size: 0.8rem;
    color: var(--text-dark);
    font-style: italic;
}

/* Requirements Block */
.tc-law-requirements {
}

.tc-law-requirements > p {
    font-size: 0.9rem;
    color: var(--text-dark);
    margin: 0 0 0.75rem 0;
}

.tc-law-req-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    list-style: none;
    padding: 0;
    margin: 0 0 0.75rem 0;
}

.tc-law-req-list li {
    font-size: 0.85rem;
    color: var(--text-dark);
    position: relative;
    padding-left: 1rem;
}

.tc-law-req-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #D4AF37;
    font-weight: bold;
}

.tc-law-warning {
    margin: 0;
}

.tc-law-warning strong {
    font-size: 0.9rem;
    color: #f87171;
    font-weight: 700;
}

/* Apply List (Reason 2) */
.tc-law-apply-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
}

.tc-law-apply-list li {
    font-size: 0.9rem;
    color: var(--text-dark);
    padding: 0.4rem 0 0.4rem 1.5rem;
    position: relative;
}

.tc-law-apply-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #D4AF37;
    font-weight: bold;
}

/* Highlight Block */
.tc-law-highlight {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(5, 150, 105, 0.05) 100%);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 12px;
    padding: 1rem 1.25rem;
}

.tc-law-highlight-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.tc-law-highlight p {
    font-size: 0.9rem;
    color: #10b981;
    margin: 0;
    font-weight: 500;
}

/* Compliance List (Reason 3) */
.tc-law-compliance-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tc-law-compliance-list li {
    font-size: 0.9rem;
    color: var(--text-dark);
    padding: 0.5rem 0 0.5rem 2rem;
    position: relative;
}

.tc-law-compliance-list li::before {
    content: '•';
    position: absolute;
    left: 0.5rem;
    color: #D4AF37;
    font-weight: bold;
}

/* ============================
   Simple Explanation Block (Full Width Section)
   ============================ */
.tc-simple-section {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #f0f9ff 100%);
    padding: 1rem 2rem;
    position: relative;
    overflow: hidden;
}

.tc-simple-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 10% 50%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 90% 50%, rgba(239, 68, 68, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.tc-simple-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.tc-simple-title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 3rem;
}

.tc-simple-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.tc-simple-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 2.5rem 2rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tc-simple-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.tc-simple-item--accent {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(255, 255, 255, 0.9) 100%);
    border-color: rgba(34, 197, 94, 0.3);
}

.tc-simple-icon {
    font-size: 4rem;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.tc-simple-item:hover .tc-simple-icon {
    transform: scale(1.2);
}

.tc-simple-item p {
    font-size: 1.15rem;
    color: #475569;
    line-height: 1.7;
    margin: 0;
}

.tc-simple-item p strong {
    color: #0f172a;
    display: block;
    margin-bottom: 0.25rem;
}

/* ============================
   Financial Structure Block (Full Width Section)
   ============================ */
.tc-finance-section {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%);
    padding: 1rem 2rem;
    position: relative;
}

.tc-finance-container {
    max-width: 1200px;
    margin: 0 auto;
}

.tc-finance-title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    color: #0f172a;
    text-align: center;
    margin: 0.5rem 0 1.5rem 0;
}

.tc-finance-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.tc-finance-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    border: 2px solid transparent;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.tc-finance-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.tc-finance-card--eu {
    border-color: #3b82f6;
}

.tc-finance-card--eu:hover {
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.15);
}

.tc-finance-card--us {
    border-color: #ef4444;
}

.tc-finance-card--us:hover {
    box-shadow: 0 20px 40px rgba(239, 68, 68, 0.15);
}

.tc-finance-num {
    width: 56px;
    height: 56px;
    min-width: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 800;
    border-radius: 50%;
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.tc-finance-card--eu .tc-finance-num {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

.tc-finance-card--us .tc-finance-num {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.tc-finance-content {
    flex: 1;
}

.tc-finance-label {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.tc-finance-content p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

.tc-finance-icon {
    font-size: 2.75rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.08));
    transition: transform 0.3s ease;
}

.tc-finance-card:hover .tc-finance-icon {
    transform: scale(1.1);
}

/* ============================
   Legal Compliance Block
   ============================ */
.tc-legal {
    background: linear-gradient(135deg, rgba(240, 253, 244, 0.8) 0%, rgba(220, 252, 231, 0.6) 100%);
    backdrop-filter: blur(15px);
    border: 2px solid #22c55e;
    border-radius: 24px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.tc-legal::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -5%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.tc-legal-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #15803d;
    text-align: center;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.tc-legal-title::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    border-radius: 50%;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.tc-legal-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.tc-legal-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.35rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1e293b;
    border: 1px solid rgba(34, 197, 94, 0.2);
    transition: all 0.3s ease;
}

.tc-legal-item:hover {
    background: #ffffff;
    border-color: #22c55e;
    box-shadow: 0 8px 20px rgba(34, 197, 94, 0.15);
    transform: translateY(-3px);
}

.tc-legal-check {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    border-radius: 50%;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(34, 197, 94, 0.3);
}

/* ============================
   Responsive Styles
   ============================ */
@media (max-width: 1024px) {
    .tc-columns {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .tc-finance-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .tc-section {
        padding: 4rem 0;
    }

    .tc-header h2 {
        font-size: 1.75rem;
    }

    .tc-col {
        padding: 1.5rem;
    }

    .tc-col-flag {
        font-size: 2.5rem;
    }

    .tc-col-title {
        font-size: 1.25rem;
    }

    .tc-card {
        padding: 1rem;
        gap: 1rem;
    }

    .tc-card-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }

    .tc-law-section {
        padding: 2rem 1.5rem;
    }

    .tc-law-reason {
        padding: 1.5rem;
    }

    .tc-law-reason-content {
        padding-left: 0;
    }

    .tc-law-header-main h4 {
        font-size: 1.5rem;
    }

    .tc-law-reason-header h5 {
        font-size: 1rem;
    }

    .tc-law-link-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .tc-law-req-list {
        flex-direction: column;
        gap: 0.25rem;
    }

    .tc-simple-section {
        padding: 4rem 1rem;
    }

    .tc-simple-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .tc-simple-item {
        padding: 2rem 1.5rem;
    }

    .tc-finance-section {
        padding: 1rem 1rem;
    }

    .tc-finance-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .tc-finance-card {
        padding: 1.5rem;
        flex-wrap: wrap;
    }

    .tc-legal {
        padding: 2rem 1.5rem;
    }

    .tc-legal-grid {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 480px) {
    .tc-section {
        padding: 0;
    }

    .tc-col {
        padding: 1.25rem;
    }

    .tc-card {
        flex-direction: row;
        text-align: left;
        gap: 0.75rem;
    }

    .tc-card:hover {
        transform: translateY(-4px);
    }

    .tc-card-icon {
        margin: 0;
    }

    .tc-card-list li {
        padding-left: 1.25rem;
        text-align: left;
    }

    .tc-card-list li::before {
        display: none;
    }

    .tc-card-links {
        justify-content: center;
    }
}

/* ========================================
   Ð‘Ð›ÐžÐš 21: TEAM SECTION
   ======================================== */

.team-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    padding: 2rem 0;
    position: relative;
    overflow: hidden;
}

.team-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(239, 68, 68, 0.08) 0%, transparent 40%);
    pointer-events: none;
}

.team-container {
    position: relative;
    z-index: 1;
}

.team-header {
    margin-bottom: 4rem;
}

/* ========== TEAM SECTION SLIDER ========== */

.team-header {
    margin-bottom: 4rem;
}

/* Team Slider Section */
.team-slider-section {
    margin-bottom: 2rem;
}

.team-slider-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding: 0.5rem 1rem;
}

.team-flag {
    font-size: 3rem;
    flex-shrink: 0;
}

.team-slider-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 0.25rem;
    margin-top: 0.25rem;
}

.team-subtitle {
    font-size: 1rem;
    color: var(--text-light);
}

/* Slider Container */
.team-slider-container {
    position: relative;
    padding: 0 60px;
}

.team-slider-wrapper {
    overflow: hidden;
    border-radius: 16px;
}

.team-slider {
    display: flex;
    gap: 1.5rem;
    scroll-behavior: smooth;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 1rem 0;
}

.team-slider::-webkit-scrollbar {
    display: none;
}

/* Team Member Card */
.team-member-card {
    flex: 0 0 280px;
    background: #0f182c;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    height: max-content;
}

.team-member-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 12px 32px rgba(0, 0, 0, 0.12),
        0 0 0 1px rgba(0, 0, 0, 0.08);
}

.team-member-photo {
    width: 50%;
    margin: 0 auto;
    display: flex;
    aspect-ratio: 1;
    border-radius: 70px;
    overflow: hidden;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e0 100%);
    position: relative;
}

.team-member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Placeholder Ð´Ð»Ñ Ñ„Ð¾Ñ‚Ð¾ (ÐµÑÐ»Ð¸ ÐºÐ°Ñ€Ñ‚Ð¸Ð½ÐºÐ¸ Ð½ÐµÑ‚) */
.team-member-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
}

.team-member-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.team-member-name {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-light);
    margin: 0;
    line-height: 1.3;
}

.team-member-role {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #667eea;
    display: block;
}

.team-slider--us .team-member-role {
    color: #ef4444;
}

.team-member-expertise {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
}

/* Team Member Links */
.team-member-links {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

/* Team Member Details */
.team-member-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.6rem;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.04) 0%, rgba(99, 102, 241, 0.04) 100%);
    border-radius: 12px;
    border: 1px solid rgba(0, 102, 204, 0.1);
}

.team-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--text-light);
    line-height: 1.5;
}

.team-detail-item svg {
    flex-shrink: 0;
    margin-top: 0.125rem;
    stroke: #ef4444;
}

.team-detail-item span {
    flex: 1;
}

.team-link {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--text-light);
    background: #f7fafc;
    background: var(--bg-dark);
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.team-link svg {
    flex-shrink: 0;
}

.team-link--primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #6366F1 100%);
    color: white;
    border-color: var(--primary-color);
    max-width: fit-content;
    margin: 0 auto;
}

.team-link--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.3);
}

.team-link:hover {
    background: #667eea;
    color: #ffffff;
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.team-slider--us .team-link:hover {
    background: #ef4444;
    border-color: #ef4444;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

/* Navigation Arrows */
.team-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.team-slider-nav:hover {
    background: #667eea;
    border-color: #667eea;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

.team-slider-nav:hover svg {
    stroke: #ffffff;
}

.team-slider-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.team-slider-prev {
    left: 0;
}

.team-slider-next {
    right: 0;
}

/* Group wrapper for team slider nav buttons (enables mobile top pill UI) */
.team-slider-nav-group {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 20;
    pointer-events: none;
}

.team-slider-nav-group .team-slider-nav {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    transform: none;
    pointer-events: auto;
}

.team-slider-nav svg {
    stroke: #4a5568;
    transition: stroke 0.2s ease;
}

/* Responsive */
@media (max-width: 1199px) {
    .team-slider-container {
        padding: 0 50px;
    }
    
    .team-member-card {
        flex: 0 0 300px;
    }
}

@media (max-width: 768px) {
    .team-slider-header {
        flex-direction: column;
        text-align: center;
        gap: 0rem;
        margin-bottom: 2rem;
    }

    .team-flag {
    display: flex;
    }

    .team-member-expertise {
    font-size: 0.9rem;
    }
    
    .team-slider-container {
        padding: 4.25rem 0 0;
    }
    
    .team-slider {
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding: 0 16px 20px;
    }
    
    .team-member-card {
        /* For small tablets (481-768px) keep card narrower so it doesn't look huge */
        flex: 0 0 85%;
        min-width: 85%;
        padding: 1.25rem;
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }
    
    .team-member-name {
        font-size: 1rem;
    }
    
    .team-member-role {
        font-size: 0.75rem;
    }
    
    /* Mobile top nav: visible pill/backplate like colleges */
    .team-slider-nav-group {
        top: 0;
        left: 50%;
        right: auto;
        width: min(460px, calc(82vw - 32px));
        transform: translateX(-50%);
        justify-content: space-between;
        padding: 10px 12px;
        border-radius: 16px;
        background: rgba(32, 39, 82, 0.85);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        box-shadow: 0 14px 30px rgba(15, 23, 42, 0.55);
        border: 1px solid rgba(255, 255, 255, 0.12);
        pointer-events: auto;
    }

    .team-slider-nav-group .team-slider-nav {
        width: 38px;
        height: 38px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    }

    .team-slider-nav-group .team-slider-nav:hover {
        transform: translateY(-1px);
        box-shadow: 0 14px 30px rgba(15, 23, 42, 0.6);
    }

    .team-slider-nav-group .team-slider-nav:active {
        transform: translateY(0);
        box-shadow: 0 6px 18px rgba(15, 23, 42, 0.45);
    }

    .team-slider-nav-group .team-slider-nav:focus-visible {
        outline: 2px solid var(--accent-gold);
        outline-offset: 2px;
    }
}

@media (max-width: 480px) {
    /* Phone: one card per view */
    .team-slider-container {
        padding: 4.25rem 0 0;
    }
    
    .team-slider {
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }
    
    .team-member-card {
        flex: 0 0 100%;
        min-width: 100%;
        padding: 1rem;
        max-width: none;
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }
    
    .team-member-links {
        flex-direction: row;
    }
    
    .team-link {
        width: 40px;
    }

    .vacancies-list {
        margin: 0;
    }
}

/* Interaction Table */
.team-interaction {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.team-interaction h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    margin-bottom: 1.5rem;
}

.interaction-table {
    border-radius: 12px;
    overflow: hidden;
}

.interaction-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.interaction-row:last-child {
    border-bottom: none;
}

.interaction-row--header {
    background: rgba(255, 255, 255, 0.1);
}

.interaction-row--header .interaction-cell {
    font-weight: 700;
    color: #ffffff;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.interaction-cell {
    padding: 1rem 1.25rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
}

.interaction-row:not(.interaction-row--header):hover {
    background: rgba(255, 255, 255, 0.03);
}

/* Badges */
.badge {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
}

.badge--eu {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.badge--us {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .team-section {
        padding: 1rem 2rem;
    }

    .team-section-block {
        padding: 1.5rem;
    }

    .team-section-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

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

    .interaction-row {
        grid-template-columns: 1fr;
    }

    .interaction-row--header {
        display: none;
    }

    .interaction-cell:first-child {
        font-weight: 600;
        color: #ffffff;
        padding-bottom: 0.5rem;
    }

    .interaction-cell:last-child {
        padding-top: 0;
    }
}

@media (max-width: 480px) {
    .team-card {
        flex-direction: column;
        text-align: center;
    }

    .team-card-avatar {
        margin: 0 auto;
    }
}

.company-p-text {
    font-size: 1rem;
}

/* ========== CLICK POINTER INDICATOR ========== */
/* Ð¢Ñ€ÐµÐ½Ð´ 2025: Glassmorphism + Pulse Animation + Bounce */

.benefits-tab-wrapper {
    position: relative;
    display: inline-flex;
    flex: 0 0 auto;
}

/* Desktop: fixed width for uniform tabs */
@media (min-width: 769px) {
    .benefits-tab-wrapper {
        width: 180px;
    }
}

.click-pointer {
    position: absolute;
    left: 79%;
    bottom: -55px;
    transform: translateX(-50%);
    z-index: 100;
    pointer-events: none;
}

.click-pointer.hidden {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.click-pointer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    animation: pointerBounce 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) infinite;
}

/* Иконка руки с пульсирующим эффектом */
.click-pointer-hand {
    color: #ffffff;
    filter: drop-shadow(0 4px 12px rgba(255, 140, 0, 0.5))
            drop-shadow(0 0 20px rgba(255, 140, 0, 0.3));
    animation: handPulse 1.2s ease-in-out infinite;
}

/* Pulse ring эффект вокруг руки */
.click-pointer-inner::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 48px;
    height: 48px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgb(108 109 209) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulseRing 1.5s ease-out infinite;
}

/* Второй ring для глубины */
.click-pointer-inner::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 64px;
    height: 64px;
    transform: translate(-50%, -50%);
    border: 2px solid rgb(107 112 213);
    border-radius: 50%;
    animation: pulseRingOuter 1.5s ease-out infinite 0.2s;
}

@keyframes pointerBounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-12px);
    }
}

@keyframes handPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
}

@keyframes pulseRing {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.8;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.8);
        opacity: 0;
    }
}

@keyframes pulseRingOuter {
    0% {
        transform: translate(-50%, -50%) scale(0.6);
        opacity: 0.6;
    }
    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

/* Benefits Click Pointer Text - Ñ‚ÐµÐºÑÑ‚ "Ð’Ñ‹Ð±ÐµÑ€Ð¸Ñ‚Ðµ Ð²ÐºÐ»Ð°Ð´ÐºÑƒ" */
.benefits-click-pointer-text {
    font-size: 0.75rem;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    white-space: nowrap;
    margin-top: 4px;
    animation: benefitsTextPulse 1.5s ease-in-out infinite;
}

.benefits-click-pointer-text.tab-picker {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.9), rgba(168, 85, 247, 0.9));
    padding: 4px 10px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(99, 102, 241, 0.4);
}

@keyframes benefitsTextPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.85;
        transform: scale(1.02);
    }
}

/* ========== BENEFITS MOBILE NAVIGATION ARROWS ========== */
/* Ð¢Ñ€ÐµÐ½Ð´: Fixed sticky navigation Ñ glassmorphism Ð¸ gradient buttons */

.benefits-mobile-nav {
    display: none;
    max-width: 1070px;
    position: fixed;
    top: 5rem;
    left: 0;
    right: 0;
    z-index: 9999;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #202752;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0px 9px 30px rgb(0 0 0), 0 0px 0 rgb(0 0 0) inset;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    margin: 0 auto;
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), 
                opacity 0.3s ease;
}

.benefits-mobile-nav.visible {
    display: flex;
    transform: translateY(0);
    opacity: 1;
}

/* Название текущего таба между стрелками */
.benefits-mobile-nav::before {
    content: attr(data-current-tab);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

/* Кнопки стрелок */
.benefits-nav-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
    color: #1a1a1a;
    z-index: 10;
}

.benefits-nav-arrow svg {
    pointer-events: none;
}

.benefits-nav-arrow:hover {
    transform: translateY(-1px);
    border-color: rgba(226, 232, 240, 0.9);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.95);
}

.benefits-nav-arrow:active {
    transform: translateY(0);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.8);
}

.benefits-nav-arrow:focus-visible {
    outline: 2px solid var(--accent-gold);
    outline-offset: 2px;
}

/* Mobile only display */
@media (max-width: 768px) {
    .benefits-mobile-nav {
        top: 4rem;
        left: 1rem;
        right: 1rem;
        padding: 0.5rem 0.9rem;
    }
    
    .benefits-mobile-nav::before {
        font-size: 0.9rem;
    }

    .benefits-nav-arrow {
        width: 36px;
        height: 36px;
    }
    
    .click-pointer {
        bottom: -70px;
        left: 130px;
    }
    
    .click-pointer-hand {
        width: 28px;
        height: 28px;
    }
}

/* ========== SWIPE INDICATOR - Mobile Gesture Hint ========== */
/* Ð¢Ñ€ÐµÐ½Ð´ 2025: Fluid animation with following text label */

.swipe-indicator {
    display: none;
    position: absolute;
    width: 100%;
    padding: 1.5rem 0;
    overflow: hidden;
    z-index: 99;
}

.swipe-indicator.hidden {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.swipe-indicator-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    /* ÐŸÐ»Ð°Ð²Ð½Ð°Ñ ÐºÐ¾Ñ€Ð¾Ñ‚ÐºÐ°Ñ Ð°Ð½Ð¸Ð¼Ð°Ñ†Ð¸Ñ Ð´Ð²Ð¸Ð¶ÐµÐ½Ð¸Ñ */
    animation: swipeLeftRight 3s ease-in-out infinite;
    width: fit-content;
    margin-left: 25%;
}

/* Ð˜ÐºÐ¾Ð½ÐºÐ° Ñ€ÑƒÐºÐ¸ */
.swipe-hand {
    width: 48px;
    height: 48px;
    filter: drop-shadow(0 4px 12px rgba(213, 176, 52, 0.4));
    /* ÐœÑÐ³ÐºÐ¾Ðµ Ð¿Ð¾ÐºÐ°Ñ‡Ð¸Ð²Ð°Ð½Ð¸Ðµ */
    animation: handTilt 3s ease-in-out infinite;
}

.swipe-hand path {
    fill: #d5b034;
}

/* Ð¢ÐµÐºÑÑ‚ Ð¿Ð¾Ð´ Ñ€ÑƒÐºÐ¾Ð¹ Ñ Ñ€Ð°Ð¼ÐºÐ¾Ð¹ */
.swipe-indicator-text {
    display: inline-block;
    margin-top: 8px;
    padding: 6px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.03em;
    white-space: nowrap;
    /* Ð Ð°Ð¼ÐºÐ° Ñ Ð¼Ð¸Ð³Ð°ÑŽÑ‰ÐµÐ¹ Ð°Ð½Ð¸Ð¼Ð°Ñ†Ð¸ÐµÐ¹ */
    border: 2px solid rgba(213, 176, 52, 0.6);
    border-radius: 8px;
    background: rgb(213 176 52 / 20%);
    /* ÐœÐ¸Ð³Ð°Ð½Ð¸Ðµ Ð¾Ð±Ð²Ð¾Ð´ÐºÐ¸ */
    animation: borderPulse 3s ease-in-out infinite;
}

/* ÐŸÐ»Ð°Ð²Ð½Ð¾Ðµ ÐºÐ¾Ñ€Ð¾Ñ‚ÐºÐ¾Ðµ Ð´Ð²Ð¸Ð¶ÐµÐ½Ð¸Ðµ ÑÐ»ÐµÐ²Ð° Ð½Ð°Ð¿Ñ€Ð°Ð²Ð¾ */
@keyframes swipeLeftRight {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(80px);
    }
}

/* ÐœÑÐ³ÐºÐ¾Ðµ Ð¿Ð¾ÐºÐ°Ñ‡Ð¸Ð²Ð°Ð½Ð¸Ðµ Ñ€ÑƒÐºÐ¸ */
@keyframes handTilt {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-5deg);
    }
    75% {
        transform: rotate(5deg);
    }
}

/* ÐœÐµÐ´Ð»ÐµÐ½Ð½Ð¾Ðµ Ð¼Ð¸Ð³Ð°Ð½Ð¸Ðµ Ð¾Ð±Ð²Ð¾Ð´ÐºÐ¸ Ñ‚ÐµÐºÑÑ‚Ð° */
@keyframes borderPulse {
    0%, 100% {
        border-color: rgba(213, 176, 52, 0.4);
        box-shadow: 0 0 0 0 rgba(213, 176, 52, 0);
    }
    50% {
        border-color: rgba(213, 176, 52, 1);
        box-shadow: 0 0 12px 2px rgba(213, 176, 52, 0.3);
    }
}

/* ÐŸÐ¾ÐºÐ°Ð·Ñ‹Ð²Ð°ÐµÐ¼ Ñ‚Ð¾Ð»ÑŒÐºÐ¾ Ð½Ð° Ð¼Ð¾Ð±Ð¸Ð»ÑŒÐ½Ñ‹Ñ… */
@media (max-width: 768px) {
    .swipe-indicator {
        display: block;
    }
}

/* Ð‘Ð¾Ð»ÐµÐµ ÐºÐ¾Ð¼Ð¿Ð°ÐºÑ‚Ð½Ð°Ñ Ð²ÐµÑ€ÑÐ¸Ñ Ð´Ð»Ñ Ð¼Ð°Ð»ÐµÐ½ÑŒÐºÐ¸Ñ… ÑÐºÑ€Ð°Ð½Ð¾Ð² */
@media (max-width: 480px) {
    .swipe-indicator-inner {
        margin-left: 20%;
        margin-top: -1.6rem;
    }
    
    .swipe-hand {
        width: 40px;
        height: 35px;
    }
    
    .swipe-indicator-text {
        font-size: 0.75rem;
        padding: 5px 10px;
    }
    
    @keyframes swipeLeftRight {
        0%, 100% {
            transform: translateX(0);
        }
        50% {
            transform: translateX(60px);
        }
    }
}

@media (max-width: 375px) {
    .filters-modal-header {
        padding: 1.25rem 0.875rem;
    }
    
    .filters-modal-count {
        font-size: 0.75rem;
        padding: 0.3125rem 0.5rem;
    }
    
    .filters-modal-count span {
        font-size: 0.9375rem;
    }
    
    .filters-modal-header h3 {
        font-size: var(--wp--preset--font-size--medium);
    }
    
    .filters-modal-close {
        width: 36px;
        height: 36px;
    }

    .swipe-indicator-inner {
        margin-left: 15%;
    }
    
    .swipe-hand {
        width: 36px;
        height: 36px;
    }
    
    .swipe-indicator-text {
        font-size: 0.7rem;
        padding: 4px 8px;
    }
    
    @keyframes swipeLeftRight {
        0%, 100% {
            transform: translateX(0);
        }
        50% {
            transform: translateX(50px);
        }
    }
}

/* ========== DOCS CLICK POINTER - Block 7 Documents Mobile Indicator ========== */
/* Click pointer indicator for Documents tabs - modern tap/click gesture hint */

.docs-click-pointer {
    position: absolute;
    right: 50%;
    z-index: 999;
    display: flex;
    justify-content: center;
    margin-top: 1rem;
    pointer-events: none;
}

.docs-click-pointer.hidden {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.docs-click-pointer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    animation: docsPointerBounce 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) infinite;
    position: relative;
}

.docs-click-pointer-hand {
    color: #D4AF37;
    filter: drop-shadow(0 4px 12px rgba(212, 175, 55, 0.5))
            drop-shadow(0 0 20px rgba(212, 175, 55, 0.3));
    animation: docsHandPulse 1.2s ease-in-out infinite;
}

/* Text label */
.docs-click-pointer-text {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-light);
    margin-top: 0.5rem;
    white-space: nowrap;
}

/* Pulse ring effect */
.docs-click-pointer-inner::before {
    content: '';
    position: absolute;
    top: 16px;
    left: 50%;
    width: 48px;
    height: 48px;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(212, 175, 55, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: docsPulseRing 1.5s ease-out infinite;
}

.docs-click-pointer-inner::after {
    content: '';
    position: absolute;
    top: 16px;
    left: 50%;
    width: 64px;
    height: 64px;
    transform: translateX(-50%);
    border: 2px solid rgba(212, 175, 55, 0.4);
    border-radius: 50%;
    animation: docsPulseRingOuter 1.5s ease-out infinite 0.2s;
}

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

@keyframes docsHandPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.9; }
}

@keyframes docsPulseRing {
    0% { transform: translateX(-50%) scale(0.5); opacity: 1; }
    100% { transform: translateX(-50%) scale(1.5); opacity: 0; }
}

@keyframes docsPulseRingOuter {
    0% { transform: translateX(-50%) scale(0.5); opacity: 0.8; }
    100% { transform: translateX(-50%) scale(1.8); opacity: 0; }
}


/* Compact version for small screens */
@media (max-width: 480px) {
    .docs-click-pointer-inner {
        gap: 0.15rem;
    }
    
    .docs-click-pointer-hand {
        width: 28px;
        height: 28px;
    }
    
    .docs-click-pointer-text {
        font-size: 0.75rem;
    }
    
    .docs-click-pointer-inner::before {
        width: 40px;
        height: 40px;
        top: 14px;
    }
    
    .docs-click-pointer-inner::after {
        width: 52px;
        height: 52px;
        top: 14px;
    }
}

/* Company Image with Label */
.img-company-wrapper {
    position: relative;
    margin: 0.5rem 0;
}

.img-company-wrapper--float {
    position: absolute;
    width: 32%;
    right: 45px;
    top: 42%;
    margin: 0;
}

.img-company {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.img-company-wrapper:hover .img-company {
    transform: scale(1.02);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

.img-company-label {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    letter-spacing: 0.03em;
    backdrop-filter: blur(4px);
}

.img-company-label1 {
    position: absolute;
    top: 12px;
    right: 45px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    letter-spacing: 0.03em;
    backdrop-filter: blur(4px);
}
.tc-col-badge-rules {
    background: #cda52d7d;
    color: var(--text-dark);
    display: inline-block;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.75rem;
}

.img-company1 {
    width: 90%;
    display: block;
    margin: 0 auto;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s 
ease, box-shadow 0.3s 
ease;
}

.img-company1-label {
    position: absolute;
    top: 12px;
    right: 45px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    letter-spacing: 0.03em;
    backdrop-filter: blur(4px);
}

/* Responsive for company images */
@media (max-width: 1024px) {
    .img-company-wrapper--float {
        position: relative;
        width: 100%;
        right: auto;
        top: auto;
        margin: 0.5rem 0;
    }
}

@media (max-width: 768px) {
    .img-company {
        border-radius: 16px;
    }
    
    .img-company-label {
        bottom: 8px;
        left: 8px;
        font-size: 0.65rem;
        padding: 3px 8px;
    }
}

#wpadminbar {
    display: none;
}

/* ========== SCROLL TO TOP BUTTON ========== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 9998;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: #0052a3;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 102, 204, 0.4);
}

.scroll-to-top:active {
    transform: translateY(-1px);
}

.scroll-to-top svg {
    pointer-events: none;
}

@media (max-width: 768px) {
    .scroll-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
}

/* ========== APPLICATION FORM SECTION ========== */
.app-form-section {
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2rem 2rem;
    overflow: hidden;
}

.app-form-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(118, 75, 162, 0.03) 0%, transparent 50%),
        repeating-linear-gradient(0deg, rgba(102, 126, 234, 0.02) 0px, transparent 1px, transparent 60px, rgba(102, 126, 234, 0.02) 61px);
    pointer-events: none;
}

.app-form-container {
    position: relative;
    z-index: 2;
}

.app-form-header {
    margin-bottom: 3.5rem;
}

.app-form-header h2 {
    color: #1a1a1a;
    margin-bottom: 1rem;
    font-size: var(--wp--preset--font-size--x-large);
    font-weight: 600;
    letter-spacing: -0.02em;
}

.app-form-header .paragraph-section {
    color: var(--text-dark);
    font-size: 1.15rem;
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
}

.app-form-content {
    align-items: center;
}

/* Left: Image Section */
.app-form-image-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    position: sticky;
    top: 100px;
}

.app-form-image-circle {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    overflow: hidden;
    border: 8px solid #ffffff;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(0, 0, 0, 0.05);
    position: relative;
}


.app-form-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.app-form-image-text {
    color: #1a1a1a;
}

.app-form-image-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #1a1a1a;
    line-height: 1.3;
}

.app-form-image-text p {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.6;
}

/* Right: Form Section */
.app-form-wrapper {
    background: #ffffff;
    border-radius: 24px;
    padding: 2rem 3rem;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(0, 0, 0, 0.05);
}

.app-form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.app-form-field {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.app-form-field--small {
    flex: 0 0 140px;
}

.app-form-field label {
    font-weight: 600;
    font-size: 1rem;
    color: #2d3748;
    margin-bottom: 0.5rem;
    display: block;
}

.app-form-field .required {
    color: #e53e3e;
}

.app-form-field input[type="text"],
.app-form-field input[type="email"],
.app-form-field input[type="tel"],
.app-form-field input[type="number"],
.app-form-field select {
    width: auto;
    padding: 0.875rem 1.125rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #ffffff;
    color: #1a202c;
}

.app-form-field input::placeholder {
    color: #a0aec0;
}

.app-form-field input:focus,
.app-form-field select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    background: #ffffff;
}

.app-form-field select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%234a5568' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.fone-country-container {
    position: relative;
}

.fone-country-container {
    --fone-country-row-h: 42px;
}

.fone-country-input-wrap {
    position: relative;
    display: block;
    width: 100%;
}

.fone-country-input-wrap::after {
    content: none;
}

div.wpforms-container .wpforms-form .fone-country-container .fone-country-chevron,
div.wpforms-container-full .wpforms-form .fone-country-container .fone-country-chevron {
    position: absolute;
    top: 15px;
    right: 0;
    width: 24px;
    height: 100%;
    pointer-events: none;
    display: block;
    z-index: 3;
    background-image:
        linear-gradient(45deg, transparent 50%, var(--wpforms-field-border-color-spare, rgba(0, 0, 0, 0.25)) 50%),
        linear-gradient(135deg, var(--wpforms-field-border-color-spare, rgba(0, 0, 0, 0.25)) 50%, transparent 50%) !important;
    background-position: 7px 50%, 12px 50% !important;
    background-size: 5px 5px, 5px 5px !important;
    background-repeat: no-repeat !important;
    background-color: transparent !important;
}

div.wpforms-container .wpforms-form .fone-country-container .fone-country-chevron svg,
div.wpforms-container-full .wpforms-form .fone-country-container .fone-country-chevron svg {
    display: none;
}

div.wpforms-container .wpforms-form .fone-country-container .fone-country-input,
div.wpforms-container-full .wpforms-form .fone-country-container .fone-country-input {
    cursor: pointer;
    appearance: none;
    width: 100%;
    padding-right: 24px !important;
    transition: border-color 200ms ease, box-shadow 200ms ease;
}

/* Focus state when dropdown is open */
.fone-country-container .fone-country-input:focus,
.fone-country-container.is-open .fone-country-input,
.fone-country-container:has(.fone-country-dd:not([hidden])) .fone-country-input {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15);
    outline: none;
}

.fone-country-dd {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.08);
    z-index: 2147483646;
    overflow: hidden;
    /* Animation for smooth open */
    transform-origin: top center;
    animation: foneDropdownFadeIn 200ms ease forwards;
}

@keyframes foneDropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fone-country-dd[hidden] {
    display: none;
}

.fone-country-dd__searchWrap {
    padding: 10px 12px 8px;
    background: #fafbfc;
    border-bottom: 1px solid #f0f3f5;
}

.fone-country-dd__search {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.95rem;
    outline: none;
}

.fone-country-dd__search:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.fone-country-dd__list {
    position: relative;
    max-height: 320px;
    overflow: auto;
    padding: 0;
    margin: 0;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

/* Remove extra spacing at top/bottom of list */
.fone-country-dd__list::-webkit-scrollbar {
    width: 6px;
}

.fone-country-dd__list::-webkit-scrollbar-track {
    background: transparent;
}

.fone-country-dd__list::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 3px;
}

.fone-country-dd__list::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.25);
}

.fone-country-dd__spacer {
    height: 0;
    margin: 0;
    padding: 0;
}

.fone-country-dd__inner {
    position: relative;
    left: 0;
    right: 0;
    top: 0;
    margin: 0;
    padding: 0;
}

/* Fix: Remove last option extra bottom margin */
.fone-country-dd__inner > .fone-country-dd__option:last-child {
    margin-bottom: 0;
}

.fone-country-dd.is-virtual .fone-country-dd__inner {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin-top: 0;
    will-change: transform;
}

.fone-country-native {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* ===== Country Dropdown Overlay ===== */
.fone-ui-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 200ms ease, visibility 200ms ease;
    z-index: 2147483645;
    cursor: pointer;
}



.fone-country-dd__group {
    padding: 10px 14px 6px;
    margin: 0;
    font-size: 0.8rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    background: #f8fafc;
    border-bottom: 1px solid #f1f5f9;
    position: sticky;
    top: 0;
    z-index: 1;
}

/* First group should not have sticky top border gap */
.fone-country-dd__inner > .fone-country-dd__group:first-child {
    padding-top: 8px;
}

.fone-country-dd__option {
    height: var(--fone-country-row-h);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    margin: 0;
    cursor: pointer;
    user-select: none;
    transition: background-color 150ms ease;
    border: none;
}

.fone-country-dd__option:hover,
.fone-country-dd__option.is-active {
    background: rgb(102 126 234 / 43%);
}

.fone-country-dd__flag {
    width: 22px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
}

.fone-country-dd__label {
    flex: 1;
    min-width: 0;
    display: inline-block;
    font-size: 0.95rem;
    color: #1a202c;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 4px 10px;
    border-radius: 9999px;
    background: rgba(15, 23, 42, 0.05);
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.fone-country-dd__option:hover .fone-country-dd__label,
.fone-country-dd__option.is-active .fone-country-dd__label {
