/* Generated from style.css lines 1-2168 */

/*
Theme Name: F-one
Theme URI: https://gof1usa.com/
Author: GoF1USA
Author URI: https://gof1usa.com
Description: Современная тема для сайта о студенческих визах F-1 в США. Тема подчеркивает простоту и адаптивность, предлагая гибкие варианты дизайна для различных типов страниц, включая лендинги и информационные страницы.
Requires at least: 6.7
Tested up to: 7.1
Requires PHP: 7.2
Version: 8.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fone
*/

/*
 * Link styles
 * https://github.com/WordPress/gutenberg/issues/42319
 */

/* ===== Admin Bar Toggle ===== */
#wpadminbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    transform: translateY(-100%);
}

.adminbar-toggle {
    position: fixed;
    top: 15rem;
    right: 0;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.5);
    background: var(--gradient-dark);
    color: var(--text-light);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.8);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.adminbar-toggle:hover {
    transform: translateY(-1px);
    border-color: rgba(226, 232, 240, 0.9);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.95);
}

.adminbar-toggle:active {
    transform: translateY(0);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.8);
}

.adminbar-toggle:focus-visible {
    outline: 2px solid var(--accent-gold);
    outline-offset: 2px;
}

.adminbar-toggle-icon {
    display: block;
    width: 18px;
    height: 18px;
    background: currentColor;
    -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22><path fill=%22%23ffffff%22 d=%22M3 13h2v-2H3v2zm4 0h14v-2H7v2zM3 7h2V5H3v2zm4 0h14V5H7v2zm-4 12h2v-2H3v2zm4 0h14v-2H7v2z%22/></svg>') center / contain no-repeat;
            mask: url('data:image/svg+xml;utf8,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22><path fill=%22%23ffffff%22 d=%22M3 13h2v-2H3v2zm4 0h14v-2H7v2zM3 7h2V5H3v2zm4 0h14V5H7v2zm-4 12h2v-2H3v2zm4 0h14v-2H7v2z%22/></svg>') center / contain no-repeat;
}

.adminbar-toggle.active .adminbar-toggle-icon {
    -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22><path fill=%22%23ffffff%22 d=%22M6 6h12v12H6z%22/></svg>') center / contain no-repeat;
            mask: url('data:image/svg+xml;utf8,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22><path fill=%22%23ffffff%22 d=%22M6 6h12v12H6z%22/></svg>') center / contain no-repeat;
}

 a {
    text-decoration-thickness: 1px !important;
    text-underline-offset: .1em;
}

/* Increase the bottom margin on submenus, so that the outline is visible. */
.wp-block-navigation .wp-block-navigation-submenu .wp-block-navigation-item:not(:last-child) {
    margin-bottom: 3px;
}

/* Increase the outline offset on the parent menu items, so that the outline does not touch the text. */
.wp-block-navigation .wp-block-navigation-item .wp-block-navigation-item__content {
    outline-offset: 4px;
}

/* Remove outline offset from the submenus, otherwise the outline is visible outside the submenu container. */
.wp-block-navigation .wp-block-navigation-item ul.wp-block-navigation__submenu-container .wp-block-navigation-item__content {
    outline-offset: 0;
}

/*
 * Progressive enhancement to reduce widows and orphans
 * https://github.com/WordPress/gutenberg/issues/55190
 */
h1,
h2,
h3,
h4,
h5,
h6,
blockquote,
caption,
figcaption,
p {
    text-wrap: pretty;
}

/*
 * Change the position of the more block on the front, by making it a block level element.
 * https://github.com/WordPress/gutenberg/issues/65934
*/
.more-link {
    display: block;
}

/* Modern enhancements */
.wp-block-group {
    transition: box-shadow 0.3s ease;
}

.wp-block-group.has-background {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Improved spacing for sections - минимальные отступы */
.wp-block-group[style*="padding"] {
    margin-bottom: 0;
}


@media (max-width: 767px) {
    .section-padding {
        padding: 0;
    }
}

/* ========== UNIFIED CARD SYSTEM ========== */
.benefit-card,
.vacancy-card,
.document-card,
.review-card,
.pricing-card,
.step-card,
.cost-card,
.loan-step,
.process-card,
.school-city-card {
    border-radius: 24px !important;
    padding: 2.5rem !important;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.benefit-card:hover,
.vacancy-card:hover,
.document-card:hover,
.review-card:hover,
.pricing-card:hover,
.step-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(99, 102, 241, 0.25);
}

/* Glass Card Variant (for dark/colored backgrounds) */
.glass-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Solid Card Variant (for light backgrounds) */
.solid-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Layout Containers */
.alignwide {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

/* Modern card styles */
.wp-block-columns {
    gap: var(--wp--preset--spacing--50);
}

/* Enhanced button transitions */
.wp-block-button__link {
    transition: all 0.3s ease;
}

.wp-block-button__link:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

/* Improved navigation */
.wp-block-navigation__responsive-container-open,
.wp-block-navigation__responsive-container-close {
    color: var(--wp--preset--color--contrast);
}

/* Better focus states */
:where(.wp-site-blocks *:focus-visible) {
    outline: 2px solid var(--wp--preset--color--accent-1);
    outline-offset: 2px;
}


/* =========================================
   Glassmorphism 2025 Styles - Premium Edition
   ========================================= */

:root {
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.12);
    --glass-bg-light: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.25);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.15);
    --glass-blur: 20px;

    /* Modern Color Palette - Inspired by shadcn, Cult UI, Aceternity UI */
    --primary-color: #0066CC;
    --primary-dark: #004A99;
    --primary-light: #3B82F6;
    --accent-gold: #D4AF37;
    --accent-orange: #FF6B35;

    /* Cult UI & Aceternity UI inspired gradients */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-accent: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-gold: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
    --gradient-blue: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-purple: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    --gradient-dark: linear-gradient(135deg, #0c0c0c 0%, #1a1a2e 100%);

    /* Text Colors */
    --text-dark: #0F172A;
    --text-light: #ffffff;
    --text-muted: #64748b;
    --text-accent: #6366f1;

    /* Background Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-dark: #0f172a;

    /* Shadows - Modern depth */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

    /* Hero Overlay */
    --hero-overlay: linear-gradient(135deg, rgba(15, 23, 42, 0.75) 0%, rgba(30, 41, 59, 0.55) 50%, rgba(15, 23, 42, 0.35) 100%);

    /* Border Radius - Modern rounded */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* Transitions - Smooth animations */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========== HERO SECTION 2025 - Modern Redesign (Cult UI & Aceternity UI Style) ========== */
.modern-hero-section.hero-two-column {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
    animation: fadeIn 0.6s ease-out forwards;
}

/* Animated background gradient - Aceternity UI style */
.modern-hero-section.hero-two-column::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
    pointer-events: none;
}

.modern-hero-section.hero-two-column::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 15s ease-in-out infinite reverse;
    pointer-events: none;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.5;
    }

    50% {
        transform: translate(30px, -30px) scale(1.1);
        opacity: 0.8;
    }
}

.hero-content-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-image {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Hero Image - Modern 3D effect */
.hero-image {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transform-style: preserve-3d;
    transition: transform var(--transition-slow);
}

.hero-image::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: var(--radius-2xl);
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-base);
    z-index: -1;
    filter: blur(20px);
}

.hero-image:hover::before {
    opacity: 0.6;
}

.hero-image:hover {
    transform: perspective(1000px) rotateY(5deg) rotateX(-5deg) scale(1.02);
}

.hero-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: var(--radius-2xl);
    display: block;
    transition: transform var(--transition-slow);
    box-shadow: var(--shadow-xl);
}

.hero-image:hover img {
    transform: scale(1.05);
}

/* Hero Columns Layout */
.hero-two-column .wp-block-columns {
    align-items: center;
}

.hero-two-column .wp-block-column:first-child {
    display: flex;
    align-items: center;
}

/* Уменьшаем размер изображения */
.hero-two-column .wp-block-column:last-child {
    flex-basis: 45% !important;
    max-width: 45%;
}

.hero-two-column .wp-block-column:first-child {
    flex-basis: 55% !important;
    max-width: 55%;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--accent-gold) 0%, #F5D060 100%);
    color: var(--text-dark);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    box-shadow:
        0 4px 15px rgba(212, 175, 55, 0.4),
        0 2px 8px rgba(0, 0, 0, 0.3);
    text-shadow: none;
    width: fit-content;
}

/* Hero Title */
.hero-title-2025 {
    color: #1a1a1a !important;
    font-size: 2.5rem !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    letter-spacing: -0.02em !important;
    margin-top: 0 !important;
    margin-bottom: 1.25rem !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    text-shadow: none;
}

.hero-title-2025 .text-accent {
    color: var(--primary-color);
}

/* Hero Subtitle - четкое разделение от заголовка */
.hero-subtitle-2025 {
    color: var(--text-dark) !important;
    font-size: 1.2rem !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
    margin-top: 0 !important;
    margin-bottom: 1rem !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    text-shadow: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding-bottom: 0.75rem;
}

/* Hero Description - обычный текст с подложкой */
.hero-description-2025 {
    color: #000 !important;
    font-size: 1rem !important;
    line-height: 1.7 !important;
    margin-top: 0 !important;
    margin-bottom: 1.25rem !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 1.25rem 1.5rem !important;
    text-shadow: none;
    font-weight: 400;
    /* Подложка */
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.85) 0%, rgba(248, 250, 252, 0.9) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 
        0 4px 24px rgba(0, 0, 0, 0.06),
        0 1px 3px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    position: relative;
}

/* Hero CTA Buttons */
.hero-cta-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.5rem;
}

.hero-cta-primary .wp-block-button__link {
    background: var(--gradient-gold);
    box-shadow: var(--shadow-lg), 0 0 20px rgba(255, 215, 0, 0.3);
    color: #1a1a1a;
    padding: 1rem 2rem;
    font-size: clamp(0.9375rem, 1.2vw, 1rem);
    font-weight: 700;
    border-radius: var(--radius-xl);
    border: none;
    transition: all var(--transition-base);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.slider-btn a {
    background: transparent;
    color: var(--text-light);
    border: var(--text-light) 2px solid;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg), 0 0 20px rgb(102 126 234);
    font-size: 0.87rem;
    padding: 0.75rem 1.25rem;
}



/* Shimmer effect - Cult UI style */
.hero-cta-primary .wp-block-button__link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}


.hero-cta-primary .wp-block-button__link:hover {
    transform: translateY(-3px) scale(1.02) !important;
    box-shadow: var(--shadow-xl), 0 0 30px rgba(255, 215, 0, 0.5) !important;
}

.hero-cta-primary .wp-block-button__link:hover::before {
    left: 100%;
}

.hero-cta-primary .wp-block-button__link:hover::after {
    transform: translate(4px, -4px);
}

.hero-cta-secondary .wp-block-button__link {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #1a1a1a !important;
    padding: 1rem 2rem !important;
    font-size: clamp(0.9375rem, 1.2vw, 1rem) !important;
    font-weight: 600 !important;
    border-radius: var(--radius-xl) !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    transition: all var(--transition-base) !important;
    box-shadow: var(--shadow-sm);
}

.hero-cta-secondary .wp-block-button__link:hover {
    background: rgba(255, 255, 255, 1) !important;
    border-color: rgba(99, 102, 241, 0.3) !important;
    transform: translateY(-2px) !important;
    box-shadow: var(--shadow-md), 0 0 0 3px rgba(99, 102, 241, 0.1) !important;
}

/* ========== HERO ADAPTIVE STYLES ========== */

/* Desktop (1200px+) */
@media (min-width: 1200px) {
    .complex-cases-show-more-btn {
        padding: 0.875rem 1.75rem !important;
        font-size: 1rem !important;
    }
    
    .hero-two-column {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
        padding-left: 40px !important;
        padding-right: 40px !important;
    }

    .hero-content-wrapper {
        padding-right: 2rem;
    }

    .hero-title-2025 {
        font-size: 2.5rem !important;
        margin-bottom: 0.75rem !important;
    }

    .hero-subtitle-2025 {
        font-size: 1.2rem !important;
        margin-bottom: 1rem !important;
    }

    .hero-description-2025 {
        font-size: 1rem !important;
        margin-bottom: 1.25rem !important;
        padding: 1.25rem 1.5rem !important;
    }

    .hero-cta-container {
        gap: 1rem;
        margin-top: 0.25rem;
    }

    .hero-cta-primary .wp-block-button__link,
    .hero-cta-secondary .wp-block-button__link {
        padding: 0.875rem 1.75rem;
        font-size: 1rem;
    }

    .hero-image {
        max-width: 500px;
    }
}

/* Tablet (768px - 1199px) */
@media (min-width: 768px) and (max-width: 1199px) {
    .hero-two-column {
        padding-top: 30px;
        padding-bottom: 30px;
        padding-left: 30px;
        padding-right: 30px;
    }

    .hero-content-wrapper {
        padding-right: 1.5rem;
    }

    .hero-title-2025 {
        font-size: 2.25rem !important;
        margin-bottom: 0.75rem !important;
    }

    .hero-subtitle-2025 {
        font-size: 1.15rem !important;
        margin-bottom: 1rem !important;
    }

    .hero-description-2025 {
        font-size: 0.9375rem !important;
        margin-bottom: 1.25rem !important;
        padding: 1.125rem 1.25rem !important;
    }

    .hero-cta-container {
        gap: 0.875rem;
        margin-top: 0.25rem;
    }

    .hero-cta-primary .wp-block-button__link,
    .hero-cta-secondary .wp-block-button__link {
        padding: 0.875rem 1.5rem;
        font-size: 0.9375rem;
    }

    .hero-image {
        max-width: 450px;
    }

    .hero-two-column .wp-block-column:last-child {
        flex-basis: 42% !important;
        max-width: 42%;
    }

    .hero-two-column .wp-block-column:first-child {
        flex-basis: 58% !important;
        max-width: 58%;
    }

    .complex-cases-show-more-btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9375rem;
    }
}

/* Mobile (до 767px) */
@media (max-width: 767px) {
    .hero-two-column {
        padding-top: 16px !important;
        padding-bottom: 24px !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .hero-two-column .wp-block-columns {
        flex-direction: column-reverse !important; /* Image first on mobile */
    }

    .hero-two-column .wp-block-column {
        flex-basis: 100% !important;
        max-width: 100% !important;
    }

    .hero-content-wrapper {
        padding-right: 0;
        margin-bottom: 0;
        text-align: center;
    }

    .hero-title-2025 {
        font-size: 1.625rem !important;
        line-height: 1.25 !important;
        margin-top: 0 !important;
        margin-bottom: 0.75rem !important;
        text-align: center;
    }

    .hero-subtitle-2025 {
        font-size: 1rem !important;
        line-height: 1.5 !important;
        margin-top: 0 !important;
        margin-bottom: 0.875rem !important;
        padding-bottom: 0 !important;
        text-align: center;
    }

    .hero-description-2025 {
        font-size: 0.875rem !important;
        line-height: 1.6 !important;
        margin-top: 0 !important;
        margin-bottom: 1rem !important;
        text-align: center;
        padding: 1rem 1.125rem !important;
        border-radius: 12px;
    }

    .hero-cta-container {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
        margin-top: 0.25rem;
        justify-content: center;
        align-items: center;
    }

    .hero-cta-primary .wp-block-button__link,
    .hero-cta-secondary .wp-block-button__link {
        width: 100%;
        padding: 0.875rem 1.25rem;
        font-size: 0.9375rem;
        justify-content: center;
    }

    /* Hero image - smaller on mobile, like state-easy.com */
    .hero-two-column .wp-block-column:last-child {
        margin-bottom: 1rem;
    }

    .hero-image {
        max-width: 280px !important;
        margin: 0 auto !important;
        border-radius: 16px;
    }

    .hero-image img {
        border-radius: 16px;
        max-height: 350px;
        object-fit: cover;
    }
}

/* ========== GLASS EFFECT CARDS ========== */
.has-glass-effect {
    background: var(--glass-bg-light);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.has-glass-effect::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-gold));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.has-glass-effect:hover {
    transform: translateY(-8px);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.has-glass-effect:hover::before {
    opacity: 1;
}

.section-padding {
    padding: 2rem 0;
}


.section-padding-2 {
    padding: 0;
}

/* ========== BENEFIT CARDS WITH ICONS ========== */
.benefit-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(99, 102, 241, 0.1);
    border-radius: var(--radius-2xl);
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-slow) cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Gradient border effect on hover - Aceternity UI style */


.benefit-card:hover::before {
    opacity: 1;
}

/* Glow effect on hover */
.benefit-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    pointer-events: none;
    z-index: 0;
}

.benefit-card:hover::after {
    width: 300px;
    height: 300px;
}

.benefit-card-cta {
    /* Relative positioning flow approach */
    max-height: 0;
    opacity: 0;
    margin-top: 0;
    transform: translateY(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    pointer-events: none;
    box-sizing: border-box;
}

.benefit-card:hover .benefit-card-cta {
    max-height: 80px;
    opacity: 1;
    margin-top: 1rem;
    transform: translateY(0);
    pointer-events: auto;
}

.benefit-card-cta a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--radius-lg);
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none !important;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    position: relative;
    overflow: hidden;
}

/* Shimmer effect on hover */
.benefit-card-cta a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.benefit-card-cta a:hover {
    background: var(--gradient-primary);
    color: white !important;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), 0 0 20px rgba(99, 102, 241, 0.4);
}

.benefit-card-cta a:hover::before {
    left: 100%;
}

/* Mobile CTA Logic */

@media (max-width: 991px) {
    .benefit-card {
        padding: 1.25rem;
        padding-bottom: 1.25rem;
        /* Возвращаем обычный отступ на мобильных */
    }

    .benefit-card-cta {
        display: none;
        /* Скрываем кнопку внутри карточки на мобильных */
    }
}


.benefit-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-2xl), 0 0 40px rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.3);
    background: rgba(255, 255, 255, 0.95);
}

.benefit-card>* {
    position: relative;
    z-index: 1;
}

.benefit-card:hover::before {
    opacity: 1;
}

.benefit-icon {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-slow);
}

/* Animated gradient background - Aceternity UI style */


/* Rotating gradient border */

.benefit-icon:hover::after {
    opacity: 1;
}

.benefit-icon svg {
    width: 40px;
    height: 40px;
    position: relative;
    z-index: 1;
    transition: transform var(--transition-base);
}

.benefit-card:hover .benefit-icon svg {
    transform: scale(1.1) rotate(5deg);
}

.benefit-icon--housing {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: white;
}

.benefit-icon--docs {
    background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%);
    color: white;
}

.benefit-icon--income {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    color: white;
}

.benefit-card h3 {
    font-size: var(--wp--preset--font-size--large) !important;
    font-weight: 700 !important;
    color: var(--text-dark) !important;
    margin-bottom: 0.75rem !important;
    margin-top: 0 !important;
    line-height: 1.3 !important;
}

.benefit-card p {
    font-size: var(--wp--preset--font-size--medium) !important;
    line-height: 1.7 !important;
    color: var(--text-dark) !important;
    margin: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* Выделение ключевых фраз в карточках */
.benefit-card p strong {
    color: #1a1a2e !important;
    font-weight: 600;
}

/* Акцентный цвет для сумм денег */
.highlight-amount {
    color: var(--wp--preset--color--accent-1, #0066CC) !important;
    font-weight: 700 !important;
}

/* Benefits Section Layout */
.benefits-section {
    position: relative;
}

.benefits-section .section-heading {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

/* ========== GRADIENT BACKGROUNDS - Modern Cult UI Style ========== */
.gradient-bg-1 {
    background:
        radial-gradient(ellipse at 20% 0%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 100%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
        linear-gradient(180deg, #F8FAFC 0%, #F1F5F9 100%);
    position: relative;
    overflow: hidden;
}

/* ========== BLOCK 4: LEGAL WORK FAQ - Background Image ========== */
#legal-work {
    position: relative;
    overflow: hidden;
    background-image: url('/wp-content/themes/F-one/assets/images/work.webp');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-color: #F8FAFC;
    padding-top: 1.5rem;
}

/* Overlay для читаемости текста */
#legal-work::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(0 0 0 / 0%);
    z-index: 1;
    pointer-events: none;
}

/* Контент поверх фона */
#legal-work > * {
    position: relative;
    z-index: 2;
}

/* Улучшаем читаемость FAQ элементов */
#legal-work .faq-accordion-group .wp-block-details {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 
        0 4px 24px rgba(0, 0, 0, 0.08),
        0 1px 4px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

#legal-work .faq-accordion-group .wp-block-details:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.12),
        0 2px 8px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border-color: rgba(99, 102, 241, 0.2);
}

#legal-work .section-heading,
#legal-work .paragraph-section {
    position: relative;
    z-index: 2;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    #legal-work {
        background-attachment: scroll;
    }
    
    #legal-work::before {
        background: rgb(0 0 0 / 0%);
    }
    
    #legal-work .faq-accordion-group .wp-block-details {
        background: rgba(255, 255, 255, 0.98);
    }
}

/* ========== BLOCK 7: DOCUMENTS - Background Image ========== */
#documents {
    position: relative;
    overflow: hidden;
    background-image: url('/wp-content/themes/F-one/assets/images/which_documents.webp');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-color: #F8FAFC;
}

/* Overlay для читаемости текста */
#documents::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff5c;
    z-index: 1;
    pointer-events: none;
}

/* Контент поверх фона */
#documents > * {
    position: relative;
    z-index: 2;
}

/* Улучшаем читаемость карточек документов */
#documents .document-card {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 
        0 4px 24px rgba(0, 0, 0, 0.08),
        0 1px 4px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

#documents .document-card:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.12),
        0 2px 8px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border-color: rgba(99, 102, 241, 0.2);
}

#documents .section-heading,
#documents .paragraph-section {
    position: relative;
    z-index: 2;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    #documents {
        background-attachment: scroll;
    }
    
    #documents::before {
        background: #ffffff5c;
    }
    
    #documents .document-card {
        background: rgba(255, 255, 255, 0.98);
    }
}

/* ========== TC INFO SLIDER - STICKY NAVIGATION ========== */
#two-companies .tc-info-nav-wrapper {
    position: fixed;
    top: 5rem;
    left: 0;
    right: 0;
    margin: 0 auto;
    padding: 5px 16px;
    border-radius: 16px;
    background: #202752;
    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);
    opacity: 0;
    max-width: 580px;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform: translateY(-100%);
    z-index: 9999;
}

#two-companies .tc-info-nav-wrapper.tc-info-nav-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    width: 80%;
    max-width: 580px;
    justify-content: space-between;
    color: var(--text-light);
    cursor: default;
}

#two-companies .tc-info-nav-wrapper::before {
    content: attr(data-current-tab);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

/* ========== GALLERY LIGHTBOX (VACANCY/HOUSES) ========== */
.vacancy-gallery-img {
    cursor: zoom-in;
}

.fone-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: color-mix(in srgb, var(--text-dark) 85%, transparent);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.fone-lightbox.is-open {
    display: flex;
}

.fone-lightbox-inner {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.fone-lightbox-img {
    max-width: min(1100px, calc(100vw - 48px));
    max-height: calc(100vh - 48px);
    border-radius: 20px;
    background: var(--glass-bg-light);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-2xl);
    object-fit: contain;
}

.fone-lightbox-close {
    position: fixed;
    top: 18px;
    right: 18px;
    width: 44px;
    height: 44px;
    border-radius: 9999px;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg-light);
    color: var(--text-dark);
    font-size: 28px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
}

.fone-lightbox-close:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.fone-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 9999px;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg-light);
    color: var(--text-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    user-select: none;
    -webkit-user-select: none;
    padding: 0;
}

.fone-lightbox-nav svg {
    display: block;
}

.fone-lightbox-nav--prev {
    left: calc(-48px - 1rem);
}

.fone-lightbox-nav--next {
    right: calc(-48px - 1rem);
}

.fone-lightbox-nav:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

@media (max-width: 768px) {
    .fone-lightbox-nav {
        width: 44px;
        height: 44px;
    }

    .fone-lightbox-nav--prev {
        left: 1rem;
    }

    .fone-lightbox-nav--next {
        right: 1rem;
    }
}

html.fone-lightbox-open,
body.fone-lightbox-open {
    overflow: hidden;
}

#two-companies .tc-info-nav {
    position: static;
    transform: none;
}

/* ÐžÑ‚ÑÑ‚ÑƒÐ¿Ñ‹ Ð´Ð»Ñ ÐºÐ°Ñ€Ñ‚Ð¾Ñ‡ÐµÐº Ð½Ð° Ð¼Ð¾Ð±Ð¸Ð»ÑŒÐ½Ñ‹Ñ… */
@media (max-width: 768px) {
    #two-companies .tc-info-cards {
        padding: 0 1.25rem 4.25rem;
    }

    #two-companies .tc-info-nav-wrapper::before {
        font-size: 0.9rem;
    }
}

/* ========== ACCORDION / DETAILS ========== */
.wp-block-details {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(99, 102, 241, 0.1);
    border-radius: 24px;
    padding: 1.5rem 2rem;
    margin-bottom: 1rem;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.wp-block-details::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.wp-block-details:hover {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(99, 102, 241, 0.2);
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.wp-block-details:hover::before {
    opacity: 1;
}

.wp-block-details summary {
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    position: relative;
    padding-right: 3rem;
    font-size: 1.0625rem;
    color: var(--text-dark);
    line-height: 1.5;
}

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

.wp-block-details summary::before {
    content: '+';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text-light);
    z-index: 1;
    transition: transform 0.3s ease;
}

.wp-block-details[open] summary::before {
    transform: translateY(-50%) rotate(45deg);
}

.wp-block-details[open] summary {
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 102, 204, 0.1);
}

/* ========== MODERN HEADER DESIGN ========== */
.header-modern {
    background: #ffffff;
    border-bottom: 1px solid rgba(0, 102, 204, 0.08);
    position: relative;
    z-index: 999;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-modern.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 10px 40px rgba(0, 102, 204, 0.12);
    animation: slideDown 0.4s ease;
}

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

.header-modern.sticky.scrolled {
    box-shadow: 0 15px 50px rgba(0, 102, 204, 0.15);
}

.header-container {
    padding: 1.25rem 0;
    transition: padding 0.3s ease;
}

.header-modern.sticky .header-container {
    padding: 1rem 0;
}

.site-logo-modern img {
    max-height: 60px;
    width: auto;
    transition: all 0.3s ease;
}

.header-modern.sticky .site-logo-modern img {
    max-height: 50px;
}

.site-logo-modern:hover img {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 12px rgba(0, 102, 204, 0.2));
}

/* ========== MODERN NAVIGATION STYLES ========== */
.main-navigation {
    font-family: inherit;
}

.main-navigation .wp-block-navigation__container {
    gap: 0.25rem;
}

/* Navigation Links with Icons */
.main-navigation .wp-block-navigation-item__content {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-dark);
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.02) 0%, rgba(99, 102, 241, 0.02) 100%);
    border: 1px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    text-decoration: none;
    white-space: nowrap;
}

.main-navigation .wp-block-navigation-item__content .nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.main-navigation .wp-block-navigation-item__content .nav-icon svg {
    stroke: var(--text-dark);
    transition: all 0.3s ease;
}

.main-navigation .wp-block-navigation-item__content:hover {
    color: var(--text-dark);
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.08) 0%, rgba(99, 102, 241, 0.08) 100%);
    border-color: rgba(0, 102, 204, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.15);
}

.main-navigation .wp-block-navigation-item__content:hover .nav-icon {
    transform: scale(1.15) rotate(5deg);
}

.main-navigation .wp-block-navigation-item__content:hover .nav-icon svg {
    stroke: var(--primary-color);
    filter: drop-shadow(0 2px 8px rgba(0, 102, 204, 0.3));
}

/* Current/Active Link */
.main-navigation .wp-block-navigation-item.current-menu-item .wp-block-navigation-item__content,
.main-navigation .wp-block-navigation-item--current .wp-block-navigation-item__content {
    color: var(--primary-color);
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.1) 0%, rgba(99, 102, 241, 0.1) 100%);
    border-color: rgba(0, 102, 204, 0.3);
    box-shadow: 0 4px 16px rgba(0, 102, 204, 0.2);
}

.main-navigation .wp-block-navigation-item.current-menu-item .wp-block-navigation-item__content .nav-icon svg,
.main-navigation .wp-block-navigation-item--current .wp-block-navigation-item__content .nav-icon svg {
    stroke: var(--primary-color);
}

/* Old header glass compatibility */
.header-glass {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 102, 204, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0, 102, 204, 0.05);
    transition: all 0.3s ease;
}

.header-glass.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 8px 32px rgba(0, 102, 204, 0.1);
}

.site-logo img {
    max-height: 50px;
    width: auto;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.site-logo:hover img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* ========== NAVIGATION STYLES ========== */
.wp-block-navigation {
    font-family: inherit;
}

.wp-block-navigation .wp-block-navigation__container {
    gap: 0.2rem;
}

/* Navigation Links */
.wp-block-navigation .wp-block-navigation-item__content {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-dark);
    padding: 0.4rem 0.5rem;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    text-decoration: none;
    white-space: nowrap;
}

.wp-block-navigation .wp-block-navigation-item__content::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), #6366F1);
    border-radius: 2px;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.wp-block-navigation .wp-block-navigation-item__content:hover {
    color: var(--primary-color);
    background: rgba(0, 102, 204, 0.06);
}

.wp-block-navigation .wp-block-navigation-item__content:hover::before {
    width: 60%;
}

/* Current/Active Link */
.wp-block-navigation .wp-block-navigation-item.current-menu-item .wp-block-navigation-item__content,
.wp-block-navigation .wp-block-navigation-item--current .wp-block-navigation-item__content {
    color: var(--primary-color);
    background: rgba(0, 102, 204, 0.08);
}

.wp-block-navigation .wp-block-navigation-item.current-menu-item .wp-block-navigation-item__content::before,
.wp-block-navigation .wp-block-navigation-item--current .wp-block-navigation-item__content::before {
    width: 60%;
}

/* Home Navigation Link */
.home-nav-item {
    list-style: none;
}

.home-link {
    display: flex !important;
    align-items: center;
    gap: 0.5rem;
}

.home-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.home-link:hover .home-icon {
    transform: scale(1.15);
}

/* Home link in mobile menu */
.wp-block-navigation__responsive-container.is-menu-open .home-link {
    justify-content: center;
}

.wp-block-navigation__responsive-container.is-menu-open .home-icon {
    width: 20px;
    height: 20px;
}

/* Mobile Menu Button - Modern Design with Text */
.wp-block-navigation__responsive-container-open {
    background: linear-gradient(135deg, var(--primary-color) 0%, #6366F1 100%);
    border-radius: 14px;
    padding: 0.5rem;
    border: none;
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    cursor: pointer;
}

.wp-block-navigation__responsive-container-open::before {
    content: 'Меню';
    font-family: inherit;
    letter-spacing: 0.02em;
}

.wp-block-navigation__responsive-container-open:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.4);
}

.wp-block-navigation__responsive-container-open svg {
    fill: white;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* ========== MOBILE BURGER MENU ========== */
.wp-block-navigation__responsive-container.is-menu-open {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%) !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 999999 !important;
    display: flex !important;
    flex-direction: column !important;
    overflow-y: auto !important;
    padding: 0 !important;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 1 !important;
    padding: 5rem 2rem 2rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Navigation list container */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container,
.wp-block-navigation__responsive-container.is-menu-open ul {
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
    width: 100% !important;
    max-width: 320px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Navigation items */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item,
.wp-block-navigation__responsive-container.is-menu-open li {
    width: 100% !important;
    list-style: none !important;
    margin: 0 !important;
}

/* Navigation links in mobile menu */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content,
.wp-block-navigation__responsive-container.is-menu-open a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.75rem !important;
    width: 100% !important;
    color: var(--text-dark) !important;
    font-size: var(--wp--preset--font-size--medium) !important;
    font-weight: 600 !important;
    padding: 1.25rem 1.75rem !important;
    border-radius: 16px !important;
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(0, 102, 204, 0.15) !important;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-sizing: border-box !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
}

.wp-block-navigation__responsive-container.is-menu-open .nav-icon svg {
    stroke: var(--text-dark) !important;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content:hover,
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content:focus,
.wp-block-navigation__responsive-container.is-menu-open a:hover,
.wp-block-navigation__responsive-container.is-menu-open a:focus {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.15) 0%, rgba(59, 130, 246, 0.15) 100%) !important;
    border-color: var(--primary-color) !important;
    color: var(--text-dark) !important;
    transform: translateY(-3px) scale(1.02) !important;
    box-shadow: 0 12px 30px rgba(0, 102, 204, 0.2) !important;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content::before,
.wp-block-navigation__responsive-container.is-menu-open a::before {
    display: none !important;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content::before,
.wp-block-navigation__responsive-container.is-menu-open a::before {
    display: none !important;
}

/* Close Button */
.wp-block-navigation__responsive-container-close {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000000;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wp-block-navigation__responsive-container-close:hover {
    background: rgba(239, 68, 68, 0.15) !important;
    border-color: rgba(239, 68, 68, 0.4) !important;
    transform: rotate(90deg) !important;
}

.wp-block-navigation__responsive-container-close svg {
    fill: var(--text-dark) !important;
    width: 24px !important;
    height: 24px !important;
}

/* Logo in mobile menu */
.wp-block-navigation__responsive-container.is-menu-open::before {
    content: '';
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    width: 220px;
    height: 50px;
    background-image: url('/wp-content/themes/F-one/assets/images/logo.webp');
    background-repeat: no-repeat;
    background-position: left center;
    background-size: contain;
    pointer-events: none;
    opacity: 1;
    filter: brightness(1) saturate(1.2) contrast(1.1);
}


/* Tablet Navigation */
@media (max-width: 1199px) and (min-width: 782px) {
    .main-navigation .wp-block-navigation-item__content {
        font-size: 0.875rem;
        padding: 0.625rem 0.5rem;
        gap: 0.5rem;
    }
    
    .main-navigation .wp-block-navigation-item__content .nav-icon svg {
        width: 16px;
        height: 16px;
    }
}

/* Mobile Navigation Adjustments */
@media (max-width: 781px) {
    .header-modern,
    .header-glass {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .header-container {
        padding: 1rem 0;
    }
    
    .header-modern.sticky .header-container {
        padding: 0.75rem 0;
    }
    
    .site-logo-modern img,
    .site-logo img {
        max-height: 45px;
    }
    
    .header-modern.sticky .site-logo-modern img {
        max-height: 40px;
    }
}

/* ========== SECTION HEADINGS - Modern Design ========== */
.section-heading {
    position: relative;
    display: block;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
    margin-top: 0;
    background: var(--text-dark);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-heading-dark {
    position: relative;
    display: block;
    padding-bottom: 1rem;
    margin: 1rem 0;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    color: var(--text-light);
    background-clip: text;
}

.section-heading-dark::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    box-shadow: 0 2px 10px rgba(99, 102, 241, 0.4);
    animation: expandWidth 0.8s ease-out;
}



.section-heading-dark.has-text-align-center::after {
    left: 50%;
    transform: translateX(-50%);
}


.section-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    box-shadow: 0 2px 10px rgba(99, 102, 241, 0.4);
    animation: expandWidth 0.8s ease-out;
}

@media (max-width: 1200px) {
    .section-heading::after, .section-heading-dark::after {
        width: 100%;
    }
    .wp-block-navigation .wp-block-navigation-item__content {
    font-size: 0.8rem;
    }
}

@keyframes expandWidth {
    from {
        width: 0;
        opacity: 0;
    }

    to {
        width: 100px;
        opacity: 1;
    }
}

.section-heading.has-text-align-center::after {
    left: 50%;
    transform: translateX(-50%);
}

/* Gradient text effect on hover */
.section-heading:hover {
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all var(--transition-base);
}

/* Ð—Ð°Ð³Ð¾Ð»Ð¾Ð²Ð¾Ðº Ñ Ñ„Ð»Ð°Ð³Ð¾Ð¼ */
.section-heading--with-flag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
}

.usa-flag-icon {
    display: inline-block;
    width: 1.2em;
    height: auto;
    vertical-align: middle;
    margin-left: 0.3em;
}


/* ========== SECTION SUBTITLE - Unified Text Styles ========== */
/* Ð‘Ð°Ð·Ð¾Ð²Ñ‹Ð¹ ÑÑ‚Ð¸Ð»ÑŒ Ð´Ð»Ñ Ð¿Ð¾Ð´Ð·Ð°Ð³Ð¾Ð»Ð¾Ð²ÐºÐ¾Ð² Ð¸ Ñ‚ÐµÐºÑÑ‚Ð¾Ð²Ñ‹Ñ… Ð¿Ð¾Ð´Ð»Ð¾Ð¶ÐµÐº Ð¿Ð¾Ð´ Ð·Ð°Ð³Ð¾Ð»Ð¾Ð²ÐºÐ°Ð¼Ð¸ */
.section-subtitle {
    font-size: var(--wp--preset--font-size--medium);
    line-height: 1.7;
    color: var(--text-dark);
    max-width: 60em;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

/* Ð’Ð°Ñ€Ð¸Ð°Ð½Ñ‚ Ð´Ð»Ñ ÑÐ²ÐµÑ‚Ð»Ð¾Ð³Ð¾ Ñ„Ð¾Ð½Ð° */
.section-subtitle--light {
    color: var(--text-dark);
}

/* Ð’Ð°Ñ€Ð¸Ð°Ð½Ñ‚ Ð´Ð»Ñ Ñ‚ÐµÐ¼Ð½Ð¾Ð³Ð¾ Ñ„Ð¾Ð½Ð° */
.section-subtitle--dark {
    color: rgba(255, 255, 255, 0.85);
}

/* Ð’Ð°Ñ€Ð¸Ð°Ð½Ñ‚ Ð´Ð»Ñ Ð°ÐºÑ†ÐµÐ½Ñ‚Ð½Ð¾Ð³Ð¾ ÑÑ‚Ð¸Ð»Ñ */
.section-subtitle--accent {
    color: #64748B;
    font-weight: 500;
}

.has-text-align-center {
    display: block;

}

/* Ð¦ÐµÐ½Ñ‚Ñ€Ð¸Ñ€Ð¾Ð²Ð°Ð½Ð½Ñ‹Ð¹ Ð²Ð°Ñ€Ð¸Ð°Ð½Ñ‚ */
.section-subtitle.has-text-align-center,
.section-subtitle--centered {
    text-align: center;
}

/* Ð Ð°Ð·Ð¼ÐµÑ€Ñ‹ */
.section-subtitle--small {
    font-size: 1rem;
}

.section-subtitle--large {
    font-size: 1.25rem;
}

/* ÐÐ´Ð°Ð¿Ñ‚Ð¸Ð²Ð½Ñ‹Ðµ ÑÑ‚Ð¸Ð»Ð¸ */
@media (max-width: 1024px) {
    .section-subtitle {
        font-size: 1.0625rem;
        max-width: 50em;
    }
    
    .section-subtitle--large {
        font-size: var(--wp--preset--font-size--medium);
    }
}

@media (max-width: 768px) {
    .section-subtitle {
        font-size: 1rem;
        line-height: 1.65;
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .section-subtitle--small {
        font-size: 0.9375rem;
    }
    
    .section-subtitle--large {
        font-size: 1.0625rem;
    }
}

@media (max-width: 480px) {
    .footer-col-links-pc {
        display: none;
    }

    .section-subtitle {
        font-size: 0.9375rem;
        line-height: 1.6;
    }

    #two-companies .tc-info-nav-wrapper {
    top: 4rem;
    }
    
    .section-subtitle--small {
        font-size: 0.875rem;
    }
    
    .section-subtitle--large {
        font-size: 1rem;
    }
}

