/* =========================================
   CSS VARIABLES & RESET
========================================== */
:root {
    --primary: #10B981;
    --primary-dark: #059669;
    --primary-light: #D1FAE5;
    --accent: #3B82F6;
    --dark: #111827;
    --light: #F9FAFB;
    --text: #374151;
    --muted: #6B7280;
    --border: #E5E7EB;
    --white: #ffffff;
    --danger: #EF4444;
    
    --font-sans: 'Inter', sans-serif;
    --font-display: 'Space Grotesk', sans-serif;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-soft: 0 10px 40px -10px rgba(0,0,0,0.08);
    --shadow-glow: 0 0 20px rgba(16, 185, 129, 0.3);
    
    --radius-md: 0.375rem;
    --radius-lg: 0.5rem;
    --radius-xl: 0.75rem;
    --radius-2xl: 1rem;
    --radius-3xl: 1.5rem;
    --radius-full: 9999px;
    
    --container-max: 1280px;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-sans);
    background-color: var(--light);
    color: var(--text);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 100vh;
    width: 100%;
    max-width: none;
    overflow-x: hidden;
    margin: 0;
}

#main-content,
.site-header,
.site-footer,
.hero,
.jobs-section,
.page-wrapper {
    width: 100%;
    max-width: 100%;
    flex: 0 0 auto;
}

#main-content {
    flex: 1 0 auto;
}

a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
input, select, textarea { font-family: inherit; }

.hidden { display: none !important; }
.screen-reader-text {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
.container {
    width: 100%;
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
    box-sizing: border-box;
}
@media (min-width: 640px) { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

/* =========================================
   TYPOGRAPHY & UTILITIES
========================================== */
.font-display { font-family: var(--font-display); }
.text-primary { color: var(--primary); }
.text-gray-900 { color: var(--dark); }
.text-gray-500 { color: var(--muted); }
.text-gray-400 { color: #9CA3AF; }
.bg-white { background-color: var(--white); }
.bg-gray-50 { background-color: var(--light); }
.text-center { text-align: center; }

.fade-in { animation: fadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hide-scrollbar::-webkit-scrollbar { display: none; }
.hide-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* Buttons & Badges */
.btn { display: inline-flex; justify-content: center; align-items: center; padding: 0.75rem 1.5rem; border-radius: var(--radius-xl); font-weight: 700; transition: all 0.3s ease; text-align: center; font-size: 0.875rem; }
.btn-primary { background-color: var(--primary); color: white; box-shadow: 0 10px 15px -3px rgba(16, 185, 129, 0.3); }
.btn-primary:hover { background-color: var(--primary-dark); transform: translateY(-2px); }
.btn-dark { background-color: var(--dark); color: white; box-shadow: 0 10px 15px -3px rgba(17, 24, 39, 0.2); }
.btn-dark:hover { background-color: #000; transform: translateY(-2px); }
.btn-outline { background-color: transparent; border: 1px solid var(--border); color: var(--text); }
.btn-outline:hover { background-color: var(--light); border-color: #d1d5db; }
.btn-white { background-color: white; border: 1px solid var(--border); color: var(--text); }
.btn-white:hover { border-color: var(--primary); }

.badge { padding: 0.25rem 0.75rem; border-radius: var(--radius-full); font-size: 0.75rem; font-weight: 700; background-color: #F3F4F6; color: var(--text); }

/* =========================================
   HEADER
========================================== */
.site-header { position: sticky; top: 0; z-index: 50; background-color: rgba(255, 255, 255, 0.8); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); transition: all 0.3s; }
.header-inner { display: flex; justify-content: space-between; align-items: center; height: 5rem; }

.logo-group { display: flex; align-items: center; gap: 0.5rem; cursor: pointer; transition: transform 0.3s; }
.logo-icon { width: 2.5rem; height: 2.5rem; background: linear-gradient(to bottom right, var(--primary), var(--primary-dark)); border-radius: var(--radius-xl); display: flex; align-items: center; justify-content: center; color: white; font-size: 1.125rem; box-shadow: var(--shadow-lg); transition: transform 0.3s; }
.logo-group:hover .logo-icon { transform: scale(1.05); }
.logo-text { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--dark); letter-spacing: -0.025em; }
@media (min-width: 1150px) and (max-width: 1299px) {
    .logo-text { font-size: 1.35rem; }
    .logo-icon { width: 2.35rem; height: 2.35rem; font-size: 1rem; }
    .nav-link { padding: 0.45rem 0.85rem; font-size: 0.8125rem; }
    .lang-btn { padding: 0.3rem 0.6rem; font-size: 0.7rem; }
}
nav ol{
	list-style: none;
}
.nav-desktop { display: none; gap: 0.25rem; background: rgba(243, 244, 246, 0.5); padding: 0.25rem; border-radius: var(--radius-full); border: 1px solid rgba(229, 231, 235, 0.5); flex-shrink: 1; min-width: 0; }
@media (min-width: 1150px) { .nav-desktop { display: flex; } }
.nav-link { padding: 0.5rem 1.25rem; border-radius: var(--radius-full); font-size: 0.875rem; font-weight: 500; color: var(--muted); transition: all 0.3s; white-space: nowrap; }
.nav-link:hover { color: var(--dark); background: white; box-shadow: var(--shadow-sm); }

.header-actions { display: none; align-items: center; gap: 1rem; flex-shrink: 0; }
@media (min-width: 1150px) { .header-actions { display: flex; } }

/* Language Switcher */
.language-switcher { display: flex; gap: 0.25rem; background: rgba(243, 244, 246, 0.5); padding: 0.25rem; border-radius: var(--radius-full); border: 1px solid rgba(229, 231, 235, 0.5); }
.lang-btn { padding: 0.375rem 0.75rem; border-radius: var(--radius-full); font-size: 0.75rem; font-weight: 600; color: var(--muted); background: transparent; transition: all 0.3s; cursor: pointer; border: none; }
.lang-btn:hover { color: var(--dark); background: white; }
.lang-btn.active { background: white; color: var(--primary); box-shadow: var(--shadow-sm); }

/* Header Search Box */
.header-search { display: none; flex: 1; max-width: 420px; min-width: 0; margin: 0 1rem; }
@media (min-width: 1150px) { .header-search { display: block; } }
@media (min-width: 1280px) { .header-search { max-width: 500px; margin: 0 2rem; } }
.header-search-box { position: relative; display: flex; align-items: center; }
.header-search-icon { position: absolute; left: 1rem; color: #9CA3AF; }
.header-search-input { width: 100%; padding: 0.625rem 1rem 0.625rem 2.5rem; border-radius: var(--radius-full); border: 1px solid var(--border); background: var(--light); outline: none; font-size: 0.875rem; color: var(--dark); transition: all 0.3s; }
.header-search-input:focus { background: white; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1); }

.mobile-toggle { display: block; color: var(--muted); padding: 0.5rem; font-size: 1.5rem; }
@media (min-width: 1150px) { .mobile-toggle { display: none; } }

.mobile-menu-backdrop {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    top: 5rem;
    bottom: 0;
    background: rgba(17, 24, 39, 0.4);
    z-index: 35;
    -webkit-tap-highlight-color: transparent;
}
.mobile-menu-backdrop.is-open {
    display: block;
}
.mobile-menu { position: absolute; width: 100%; left: 0; top: 5rem; background: white; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-xl); padding: 0 1rem; display: flex; flex-direction: column; gap: 0.5rem; z-index: 40; max-height: 0; overflow: hidden; opacity: 0; visibility: hidden; pointer-events: none; transition: max-height 0.38s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.28s ease, visibility 0.28s ease, padding 0.28s ease; }
.mobile-menu.is-open { max-height: min(85vh, 640px); opacity: 1; visibility: visible; pointer-events: auto; padding-top: 1rem; padding-bottom: 1rem; }
.mobile-menu-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0 0.25rem 0.75rem;
    margin-bottom: 0.25rem;
    border-bottom: 1px solid var(--border);
}
.mobile-menu-heading {
    font-weight: 700;
    font-size: 0.8125rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.mobile-menu-close {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border: none;
    background: var(--light);
    border-radius: var(--radius-lg);
    color: var(--muted);
    cursor: pointer;
    font-size: 1.25rem;
    transition: background 0.2s, color 0.2s;
}
.mobile-menu-close:hover {
    color: var(--dark);
    background: var(--border);
}
.mobile-menu-link { display: block; width: 100%; text-align: left; padding: 0.75rem 1rem; border-radius: var(--radius-lg); font-weight: 500; }
.mobile-menu-link:hover { background-color: var(--light); }
[dir="rtl"] .mobile-menu-link { text-align: right; }
[dir="rtl"] .mobile-menu-top { flex-direction: row-reverse; }

/* =========================================
   HERO SECTION
========================================== */
.hero { position: relative; background: white; padding-top: 4rem; padding-bottom: 8rem; overflow: hidden; }

.hero-bg { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 100%; height: 100%; pointer-events: none; z-index: 0; }
@keyframes blob {
    0% { transform: translate(0px, 0px) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
    100% { transform: translate(0px, 0px) scale(1); }
}
.blob { position: absolute; top: 0; width: 24rem; height: 24rem; border-radius: 50%; mix-blend-mode: multiply; filter: blur(3rem); opacity: 0.7; animation: blob 7s infinite; }
.blob-1 { right: 0; background-color: rgba(16, 185, 129, 0.1); }
.blob-2 { left: 5rem; background-color: #E0E7FF; animation-delay: 2s; }
.blob-3 { bottom: -8rem; left: 50%; background-color: #F3E8FF; animation-delay: 4s; }

.hero-content { position: relative; z-index: 10; display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .hero-content { grid-template-columns: 1fr 1fr; } }

.hero-badge { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.25rem 0.75rem; border-radius: var(--radius-full); background: white; border: 1px solid var(--border); box-shadow: var(--shadow-sm); margin-bottom: 1.5rem; }
.hero-badge-dot { position: relative; display: flex; width: 0.5rem; height: 0.5rem; }
.hero-badge-dot-ping { position: absolute; width: 100%; height: 100%; border-radius: 50%; background-color: var(--primary); opacity: 0.75; animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite; }
@keyframes ping { 75%, 100% { transform: scale(2); opacity: 0; } }
.hero-badge-dot-inner { position: relative; width: 0.5rem; height: 0.5rem; border-radius: 50%; background-color: var(--primary); }
.hero-badge-text { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }

/* Текст из админки: латиница не «ломается» под RTL и авто-переводчиками браузера */
.hero-user-text {
    unicode-bidi: isolate;
}
.hero-title { font-size: 2.5rem; line-height: 1.1; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .hero-title { font-size: 2.75rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 2.5rem; } }
.text-gradient { background: linear-gradient(to right, var(--primary), var(--primary-dark)); -webkit-background-clip: text; background-clip: text; color: transparent; }

.hero-desc { font-size: 1.25rem; color: var(--muted); margin-bottom: 2rem; max-width: 32rem; line-height: 1.625; }

.search-box { background: white; padding: 0.5rem; border-radius: var(--radius-2xl); box-shadow: var(--shadow-soft); border: 1px solid var(--border); display: flex; flex-direction: column; gap: 0.5rem; max-width: 36rem; margin: 0; box-sizing: border-box; }
@media (min-width: 640px) { .search-box { flex-direction: row; } }
.search-input-wrap { flex: 1; position: relative; display: flex; align-items: center; }
.search-icon { position: absolute; left: 1rem; color: #9CA3AF; }
.search-input { width: 100%; padding: 1rem 1rem 1rem 2.5rem; border-radius: var(--radius-xl); border: none; background: transparent; outline: none; font-size: 1rem; color: var(--dark); }
.search-input::placeholder { color: #9CA3AF; }
.search-btn { padding: 1rem 2rem; border-radius: var(--radius-xl); font-size: 1rem; }

.popular-tags { margin-top: 1rem; font-size: 0.875rem; color: #9CA3AF; }
.popular-tag { border-bottom: 1px solid #D1D5DB; cursor: pointer; transition: border-color 0.3s; margin-right: 0.25rem; }
.popular-tag:hover { border-color: var(--primary); }

.hero-visual { position: relative; display: none; height: 600px; }
@media (min-width: 1024px) { .hero-visual { display: block; } }
.hero-img-box { position: absolute; right: 0; top: 2.5rem; width: 80%; height: 80%; background: var(--light); border-radius: 2rem; overflow: hidden; box-shadow: var(--shadow-2xl); transform: rotate(3deg); }
.hero-img-box img { width: 100%; height: 100%; object-fit: cover; opacity: 0.9; }

.floating-card { position: absolute; background: white; border-radius: var(--radius-2xl); box-shadow: var(--shadow-xl); border: 1px solid #F3F4F6; }
.fc-1 { top: 5rem; left: 2.5rem; padding: 1rem; animation: floatBounce 3s ease-in-out infinite; }
@keyframes floatBounce { 0%, 100% { transform: translateY(-5%); } 50% { transform: translateY(0); } }
.fc-2 { bottom: 5rem; left: 0; padding: 1.25rem; transform: rotate(-2deg); transition: transform 0.3s; }
.fc-2:hover { transform: rotate(0); }
.fc-3 { bottom: 10rem; right: 2.5rem; background: var(--dark); color: white; padding: 1rem; }

.fc-icon-green { width: 2.5rem; height: 2.5rem; background: var(--primary-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 1.125rem; }
.fc-label { font-size: 0.75rem; color: #9CA3AF; font-weight: 700; text-transform: uppercase; margin-bottom: 0.25rem; }
.progress-bar-bg { width: 8rem; height: 0.25rem; background: #F3F4F6; border-radius: var(--radius-full); margin-top: 0.75rem; overflow: hidden; }
.progress-bar-fill { width: 75%; height: 100%; background: var(--primary); }

/* =========================================
   COMPANIES TICKER
========================================== */
.ticker-section { background: var(--light); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 2rem 0; overflow: hidden; }
.ticker-title { font-size: 0.75rem; font-weight: 700; color: #9CA3AF; text-transform: uppercase; letter-spacing: 0.1em; text-align: center; margin-bottom: 1rem; }

/* LTR: иначе на иврите translateX(-50%) не совпадает с дублями и «рвётся» цикл */
.ticker-wrap { position: relative; display: flex; overflow-x: hidden; direction: ltr; }
.ticker-track {
    display: flex;
    width: max-content;
    animation: marquee 40s linear infinite;
    opacity: 0.5;
    filter: grayscale(100%);
    transition: filter 0.5s, opacity 0.5s;
    align-items: center;
    gap: 4rem;
    padding-inline-end: 4rem;
    will-change: transform;
}
.ticker-wrap:hover .ticker-track { filter: grayscale(0); opacity: 1; animation-play-state: paused; }
@keyframes marquee {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

/* Логотипы: в разметке 4 копии набора → сдвиг на 25% ширины ленты = бесшовный цикл */
.ticker-track--logos {
    animation-name: marquee-logos;
    animation-duration: 55s;
    gap: 3.5rem;
    padding-inline-end: 3.5rem;
}
@keyframes marquee-logos {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-25%, 0, 0); }
}

.ticker-item { font-size: 1.5rem; font-weight: 700; display: flex; align-items: center; gap: 0.5rem; white-space: nowrap; flex-shrink: 0; }
.ticker-item--logo { white-space: normal; }

/* =========================================
   BENTO GRID
========================================== */
.section-padding { padding: 6rem 0; }
.section-header { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 3rem; }
@media (min-width: 768px) { .section-header { flex-direction: row; justify-content: space-between; align-items: flex-end; } }
.section-title { font-size: 1.875rem; line-height: 2.25rem; margin-bottom: 1rem; }
.section-subtitle { font-size: 1.125rem; color: var(--muted); }

.bento-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { 
    .bento-grid { 
        grid-template-columns: repeat(3, 1fr); 
        grid-auto-rows: minmax(200px, auto); 
        height: auto; 
        min-height: 600px;
        grid-auto-flow: row dense;
    } 
}

.bento-card { border-radius: var(--radius-3xl); padding: 1.5rem; position: relative; overflow: hidden; cursor: pointer; transition: all 0.3s; }
.bento-large { background: linear-gradient(to bottom right, var(--primary), #047857); color: white; }
@media (min-width: 768px) { .bento-large { grid-column: span 2; grid-row: span 2; padding: 3rem; } }
.bento-large:hover { box-shadow: var(--shadow-xl); }
.bento-large-glow { position: absolute; top: 0; right: 0; width: 16rem; height: 16rem; background: white; opacity: 0.1; border-radius: 50%; filter: blur(3rem); transition: transform 0.7s; }
.bento-large:hover .bento-large-glow { transform: scale(1.5); }
.bento-large-content { position: relative; z-index: 10; display: flex; flex-direction: column; justify-content: space-between; height: 100%; }
.bento-large-icon { font-size: 3rem; margin-bottom: 1.5rem; opacity: 0.8; }

.bento-med { background: white; border: 1px solid var(--border); }
@media (min-width: 768px) { .bento-med { grid-column: span 1; grid-row: span 1; } }
.bento-med:hover { border-color: var(--primary); box-shadow: var(--shadow-lg); }

.bento-small { background: white; border: 1px solid var(--border); display: flex; flex-direction: column; justify-content: space-between; }
@media (min-width: 768px) { .bento-small { grid-column: span 1; } }
.bento-small:hover { box-shadow: var(--shadow-lg); }
.hover-border-blue:hover { border-color: #3B82F6; }
.hover-border-yellow:hover { border-color: #EAB308; }

.bento-icon-box { padding: 15px; width: 50px; border-radius: 1rem; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; transition: transform 0.3s, background 0.3s, color 0.3s; }
.bento-icon-purple { background: #F3E8FF; color: #9333EA; }
.bento-med:hover .bento-icon-purple { transform: scale(1.1); }
.bento-icon-blue { background: #DBEAFE; color: #2563EB; }
.hover-border-blue:hover .bento-icon-blue { background: #2563EB; color: white; }
.bento-icon-yellow { background: #FEF9C3; color: #CA8A04; }
.hover-border-yellow:hover .bento-icon-yellow { background: #CA8A04; color: white; }
.bento-icon-green { background: var(--primary-light); color: var(--primary); }

/* =========================================
   JOB CARDS LIST
========================================== */
.jobs-section { background: white; padding: 6rem 0; border-top: 1px solid #F3F4F6; }
.jobs-filters-inline { display: none; justify-content: center; gap: 1rem; margin-top: 1.5rem; flex-wrap: wrap; }
@media (min-width: 640px) { .jobs-filters-inline { display: flex; } }
.jobs-filters-mobile { display: block; }
@media (min-width: 640px) { .jobs-filters-mobile { display: none; } }
.home-job-item { transition: opacity 0.3s, transform 0.3s; }
.home-job-item.hidden { display: none; }
.job-list { display: flex; flex-direction: column; gap: 1rem; }

.job-card { background: white; padding: 1.5rem; border-radius: var(--radius-2xl); border: 1px solid var(--border); transition: all 0.3s; cursor: pointer; display: flex; flex-direction: column; gap: 1.5rem; position: relative; }
.job-card:hover { border-color: rgba(16, 185, 129, 0.5); box-shadow: var(--shadow-soft); }
@media (min-width: 640px) { .job-card { flex-direction: row; align-items: center; } }
@media (min-width: 900px) and (max-width: 1199px) {
    .job-card { padding: 1rem; gap: 1rem; }
    .job-title { font-size: 1rem; }
    .job-meta { min-width: 160px; }
}

.job-logo { width: 4rem; height: 4rem; background: var(--light); border-radius: var(--radius-xl); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 700; color: var(--text); border: 1px solid #F3F4F6; transition: all 0.3s; flex-shrink: 0; overflow: hidden; }
.job-card:hover .job-logo { background: var(--primary); color: white; }
.job-logo img { transition: transform 0.3s; }
.job-card:hover .job-logo img { transform: scale(1.1); }

.job-info { flex: 1; text-align: center; }
@media (min-width: 640px) { .job-info { text-align: start; } }
.job-title { font-size: 1.125rem; font-weight: 700; color: var(--dark); transition: color 0.3s; margin-bottom: 0.25rem; }
.job-card:hover .job-title { color: var(--primary); }

.job-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; }
.job-meta { display: none; text-align: right; padding-left: 1rem; border-left: 1px solid #F3F4F6; min-width: 120px; }
@media (min-width: 640px) { .job-meta { display: flex; flex-direction: column; justify-content: center; } }

/* =========================================
   TESTIMONIALS & FAQ
========================================== */
.testimonials-section { background: var(--light); padding: 6rem 0; }
.testimonials-title { font-size: 1.875rem; margin-bottom: 4rem; }
@media (min-width: 768px) { .testimonials-title { font-size: 2rem; } }
.testimonials-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .testimonials-grid { grid-template-columns: repeat(3, 1fr); } }
.testimonials-grid-stats { grid-template-columns: repeat(2, 1fr); margin-bottom: 4rem; }
@media (min-width: 768px) { .testimonials-grid-stats { grid-template-columns: repeat(4, 1fr); } }
.testimonial-card { background: white; padding: 2rem; border-radius: var(--radius-3xl); box-shadow: var(--shadow-sm); transition: box-shadow 0.3s; }
.testimonial-card:hover { box-shadow: var(--shadow-md); }
.testimonial-user { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.testimonial-avatar { width: 3rem; height: 3rem; border-radius: 50%; }
.testimonial-name { font-weight: 700; color: var(--dark); }
.testimonial-position { font-size: 0.75rem; color: var(--muted); }
.testimonial-text { color: var(--muted); font-style: italic; }

.faq-wrap { max-width: 48rem; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-2xl); overflow: hidden; background: white; }
.faq-btn { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 1.5rem; text-align: left; transition: background 0.3s; }
.faq-btn:hover { background: var(--light); }
.faq-icon { color: #9CA3AF; transition: transform 0.3s; }
.rotate-180 { transform: rotate(180deg); }
.faq-content { padding: 0 1.5rem 1.5rem; color: var(--muted); line-height: 1.625; }

/* =========================================
   BLOG CARDS
========================================== */
.blog-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }
.blog-card { background: white; border-radius: var(--radius-2xl); overflow: hidden; box-shadow: var(--shadow-sm); cursor: pointer; transition: box-shadow 0.3s; }
.blog-card:hover { box-shadow: var(--shadow-lg); }
.blog-img-box { height: 12rem; position: relative; overflow: hidden; }
.blog-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.blog-card:hover .blog-img { transform: scale(1.05); }
.blog-body { padding: 1.5rem; }
.blog-tag { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.blog-tabs { display: flex; gap: 0.5rem; flex-wrap: wrap; justify-content: center; }
.blog-tab { padding: 0.5rem 0.875rem; border: 1px solid var(--border); border-radius: var(--radius-full); color: var(--muted); font-size: 0.875rem; background: white; transition: all 0.25s; }
.blog-tab:hover, .blog-tab.active { color: white; background: var(--dark); border-color: var(--dark); }

/* =========================================
   BLOG SINGLE POST (как карточка вакансии: light фон, white card, sticky)
========================================== */
.blog-single-page {
    background: var(--light);
    padding: 2.5rem 0;
    min-height: 100vh;
}
.blog-single-card {
    background: var(--white);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}
.blog-single__media {
    margin: 0;
    line-height: 0;
    background: var(--light);
    border-bottom: 1px solid var(--border);
}
.blog-single__cover-img {
    width: 100%;
    display: block;
    max-height: min(52vh, 380px);
    object-fit: cover;
}
.blog-single-card__inner {
    padding: 2rem;
}
@media (min-width: 768px) {
    .blog-single-card__inner { padding: 2.25rem 2.5rem; }
}
.blog-single__mark {
    width: 5rem;
    height: 5rem;
    flex-shrink: 0;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 2rem;
    font-weight: 700;
    font-family: var(--font-display);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-xl);
    overflow: hidden;
}
.blog-single__mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.blog-single__head-main {
    flex: 1;
    min-width: 0;
}
.blog-single__cat-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
    margin-bottom: 0.5rem;
}
.blog-single__cat-row .blog-tag {
    text-decoration: none;
    transition: opacity 0.2s;
}
.blog-single__cat-row .blog-tag:hover {
    opacity: 0.85;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.blog-prose {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text);
    margin-top: 0.5rem;
}
.blog-prose > *:first-child { margin-top: 0; }
.blog-prose h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin: 2rem 0 0.75rem;
    line-height: 1.35;
}
.blog-prose h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    margin: 1.5rem 0 0.5rem;
}
.blog-prose p { margin-bottom: 1.25rem; }
.blog-prose ul, .blog-prose ol {
    margin: 0 0 1.25rem;
    padding-inline-start: 1.35rem;
    list-style-position: outside;
}
.blog-prose ul { list-style-type: disc; }
.blog-prose ol { list-style-type: decimal; }
.blog-prose li { margin-bottom: 0.45rem; }
.blog-prose li::marker { color: var(--primary); }
.blog-prose a {
    color: var(--primary);
    font-weight: 600;
    text-underline-offset: 2px;
}
.blog-prose a:hover { color: var(--primary-dark); text-decoration: underline; }
.blog-prose blockquote {
    margin: 1.5rem 0;
    padding: 1rem 1.25rem;
    border-inline-start: 4px solid var(--primary);
    background: var(--primary-light);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    font-style: italic;
    color: var(--muted);
}
.blog-prose img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
}
.blog-prose pre, .blog-prose code {
    font-size: 0.9em;
}
.blog-single__footer {
    margin-top: 2.5rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--border);
}
.blog-single__tags { display: flex; flex-direction: column; gap: 0.75rem; align-items: flex-start; }
.blog-single__tags-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.blog-single__tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
a.badge.blog-single-tag-link {
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s, transform 0.2s;
}
a.badge.blog-single-tag-link:hover {
    background-color: var(--primary-light);
    color: var(--primary-dark);
    transform: translateY(-1px);
}
.blog-single__sticky-btn { justify-content: center; }
.blog-single__btn-ico { margin-inline-end: 0.5rem; }
[dir="rtl"] .blog-single__btn-ico--back { transform: scaleX(-1); }
[dir="rtl"] .blog-single__cat-row { justify-content: flex-end; }
[dir="rtl"] .blog-single__tags { align-items: flex-end; text-align: right; }
[dir="rtl"] .blog-single__tag-list { justify-content: flex-end; }

/* =========================================
   CTA SECTION
========================================== */
.cta-section { background: var(--dark); color: white; padding: 6rem 0; position: relative; overflow: hidden; text-align: center; }
.cta-bg-1 { position: absolute; top: 0; right: 0; width: 24rem; height: 24rem; background: var(--primary); border-radius: 50%; filter: blur(3rem); opacity: 0.2; }
.cta-bg-2 { position: absolute; bottom: 0; left: 0; width: 24rem; height: 24rem; background: var(--accent); border-radius: 50%; filter: blur(3rem); opacity: 0.1; }
.cta-content { position: relative; z-index: 10; max-width: 42rem; margin: 0 auto; }
.cta-buttons { display: flex; flex-direction: column; justify-content: center; gap: 1rem; margin-top: 2.5rem; }
@media (min-width: 640px) { .cta-buttons { flex-direction: row; } }

/* =========================================
   CAREERS PAGE & SIDEBARS
========================================== */
.page-layout { display: flex; flex-direction: column; gap: 2rem; }
@media (min-width: 1024px) { .page-layout { flex-direction: row; } }
.sidebar { width: 100%; flex-shrink: 0; }
@media (min-width: 1024px) { .sidebar { width: 18rem; } }
.sidebar-right { width: 100%; flex-shrink: 0; }
@media (min-width: 1024px) { .sidebar-right { width: 20rem; } }

.sticky-box { background: white; padding: 1.5rem; border-radius: var(--radius-2xl); box-shadow: var(--shadow-sm); border: 1px solid var(--border); position: sticky; top: 6rem; }
.form-group { margin-bottom: 1.5rem; }
.form-label { display: block; font-size: 0.75rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.5rem; }
.input-control { width: 100%; padding: 0.625rem 0.75rem; background: var(--light); border: 1px solid var(--border); border-radius: var(--radius-lg); font-size: 0.875rem; outline: none; transition: all 0.3s; }
.input-control:focus { background: white; border-color: var(--primary); }
.input-with-icon { position: relative; }
.input-with-icon i { position: absolute; left: 0.75rem; top: 0.75rem; color: #9CA3AF; }
.input-with-icon input { padding-left: 2.25rem; }

.job-card-large { flex-direction: column; }
@media (min-width: 768px) { .job-card-large { flex-direction: row; } }
@media (min-width: 768px) {
    .job-card-large .job-meta {
        align-items: flex-end;
    }
}
.bookmark-btn { display:none;position: absolute; top: 1.5rem; right: 1.5rem; color: #D1D5DB; transition: color 0.3s; font-size: 1.25rem; }
.job-card-large:hover .bookmark-btn:hover { color: var(--primary); }

/* Архив вакансий: фон и отступы как у внутренних страниц */
.jobs-archive-page {
    background: var(--light);
    padding: 1.5rem 0 2.5rem;
    min-height: 60vh;
}
@media (min-width: 768px) {
    .jobs-archive-page { padding: 2.5rem 0; min-height: 100vh; }
}
.jobs-archive-page .container { padding-left: max(1rem, env(safe-area-inset-left)); padding-right: max(1rem, env(safe-area-inset-right)); }

/* Крупные карточки архива: на мобильном показываем зарплату и кнопку под текстом */
@media (max-width: 639px) {
    .job-card-large .job-meta {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        border-left: none;
        border-right: none;
        padding-left: 0;
        padding-right: 0;
        padding-top: 0.5rem;
        margin-top: 0.25rem;
        text-align: start;
        min-width: 0;
        width: 100%;
    }
    .job-card-large .job-info { text-align: start; }
    .job-card-large .text-2xl { font-size: 1.25rem !important; }
	.section-padding {
    padding: 3rem 1rem;
}
	.job-card{
		align-items: center;
	}
	
	.hero-desc{
		font-size: 1.1rem;
	}
	.hero-title{
		font-size: 2.2rem;
	}
	.hero{
		padding-bottom: 4rem;
	}
	.bento-large-icon{
		margin-bottom: 1rem;
	}
	.section-title-small {
    	font-size: 1.3rem;
	}
	.bento-desc-light{
		font-size: 1rem;
	}
	.jobs-section{
		padding: 3rem 0;
	}
	.job-card{
		padding: 1rem;
		gap: 1rem;
	}
	.testimonials-section{
		padding: 3rem 0;
	}
	.testimonials-title, .faq-title{
		margin-bottom: 2rem;
	}
	.faq-section{
		padding: 3rem 0;
	}
	.share-link{
		width: 2.5rem;
    	height: 2.5rem;
	}
}

/* Пагинация списка вакансий */
.job-pagination-wrap {
    margin-top: 2rem;
    padding: 0 0.25rem;
}
.job-pagination-wrap:empty { margin-top: 0; }
.job-pagination-wrap .navigation.pagination {
    margin: 0;
}
.job-pagination-wrap .nav-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.job-pagination-wrap .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    min-height: 2.5rem;
    padding: 0 0.65rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--muted);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.job-pagination-wrap a.page-numbers:hover {
    color: var(--primary);
    border-color: rgba(16, 185, 129, 0.45);
    background: var(--light);
}
.job-pagination-wrap .page-numbers.current {
    color: var(--white);
    background: var(--dark);
    border-color: var(--dark);
    cursor: default;
}
.job-pagination-wrap .page-numbers.prev,
.job-pagination-wrap .page-numbers.next {
    min-width: auto;
    padding: 0 1rem;
    font-weight: 500;
}
.job-pagination-wrap .page-numbers.dots {
    border: none;
    background: transparent;
    min-width: auto;
    padding: 0 0.35rem;
    color: var(--muted);
}

[dir="rtl"] .job-pagination-wrap .nav-links {
    flex-direction: row-reverse;
}

/* =========================================
   ARTICLE / JOB DETAILS
========================================== */
.detail-header { border-bottom: 1px solid #F3F4F6; padding-bottom: 2rem; margin-bottom: 2rem; display: flex; gap: 1.5rem; align-items: flex-start; }
/* Страница одной вакансии: на мобилке логотип → заголовок → мета (категория / город) колонкой */
@media (max-width: 639px) {
    body.single-job .detail-header {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    [dir="rtl"] body.single-job .detail-header {
        flex-direction: column;
    }
    body.single-job .job-detail-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}
.prose h3 { font-size: 1.125rem; font-weight: 700; color: var(--dark); margin-bottom: 0.75rem; margin-top: 1.5rem; }
.prose p { margin-bottom: 1.5rem; }
.prose ul { padding-left: 1.25rem; margin-bottom: 1.5rem; list-style-type: disc; }
.prose li { margin-bottom: 0.5rem; }
.prose li::marker { color: var(--primary); }
.prose h2 { font-size: 1.5rem; font-weight: 700; color: var(--dark); margin-top: 3rem; margin-bottom: 1.5rem; }

/* =========================================
   MODAL (плавное открытие через .is-open)
========================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal-overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(17, 24, 39, 0.75);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.modal-overlay.is-open .modal-backdrop {
    opacity: 1;
}
.modal-content {
    position: relative;
    z-index: 1;
    background: white;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl);
    width: 100%;
    max-width: 32rem;
    padding: 1.5rem;
    text-align: left;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(20px) scale(0.97);
    opacity: 0;
    transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.28s ease;
}
.modal-overlay.is-open .modal-content {
    transform: translateY(0) scale(1);
    opacity: 1;
}
@media (min-width: 640px) { .modal-content { padding: 2rem; } }

.radio-group { display: flex; gap: 1rem; padding: 0.25rem; background: var(--light); border-radius: var(--radius-xl); border: 1px solid #F3F4F6; }
.radio-label { flex: 1; cursor: pointer; }
.radio-label input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; }
.radio-btn { text-align: center; padding: 0.5rem; border-radius: var(--radius-lg); font-size: 0.875rem; color: var(--muted); transition: all 0.3s; }
input[type="radio"]:checked + .radio-btn { background: white; box-shadow: var(--shadow-sm); font-weight: 700; color: var(--primary); }

.file-drop { border: 2px dashed #D1D5DB; border-radius: var(--radius-xl); padding: 2rem 1.5rem; text-align: center; transition: all 0.3s; position: relative; cursor: pointer; min-height: 200px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.file-drop:hover { background: var(--light); border-color: var(--primary); }
.file-drop input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; z-index: 10; }
.file-drop-icon { width: 3rem; height: 3rem; background: var(--primary-light); color: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; font-size: 1.25rem; }
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

.modal-actions { display: flex; flex-direction: column-reverse; gap: 0.75rem; margin-top: 2rem; }
@media (min-width: 640px) { .modal-actions { flex-direction: row; justify-content: flex-end; } }

/* Share Modal */
.share-links { display: flex; gap: 1rem; justify-content: center; margin-top: 1.5rem; }
.share-link { width: 3rem; height: 3rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 1.25rem; transition: transform 0.3s; }
.share-link:hover { transform: scale(1.1); }
.share-link.facebook { background: #1877F2; }
.share-link.twitter { background: #1DA1F2; }
.share-link.linkedin { background: #0077B5; }
.share-link.telegram { background: #0088CC; }
.share-link.whatsapp { background: #25D366; }
.share-link.vk { background: #4680C2; }
.share-link.instagram { background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); }

/* =========================================
   FOOTER
========================================== */
.site-footer { background: white; border-top: 1px solid var(--border); padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; margin-bottom: 3rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
.social-links { display: flex; gap: 1rem; }
.social-link { width: 3rem; height: 3rem; border-radius: 50%; background: var(--light); display: flex; align-items: center; justify-content: center; color: var(--muted); transition: all 0.3s; font-size: 1.125rem; }
.social-link:hover { background: var(--primary); color: white; }
.footer-list { display: flex; flex-direction: column; gap: 0.75rem; font-size: 0.875rem; color: var(--muted); }
.footer-list a:hover { color: var(--primary); }

/* Floating Button */
.floating-btn { display: none; position: fixed; right: 10px; top: 50%; transform: translateY(-50%); z-index: 50; background: var(--dark); color: white; border-radius: 1rem 0 0 1rem; padding: 2rem 0.5rem; box-shadow: 0 0 20px rgba(0,0,0,0.2); transition: all 0.3s; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,0.1); border-right: none; cursor: pointer; }
@media (min-width: 768px) { .floating-btn { display: flex; } }
.floating-btn:hover { background: var(--primary); padding-right: 1rem; padding-left: 0.75rem; }
.floating-btn-text { font-family: var(--font-display); font-weight: 700; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; writing-mode: vertical-rl; transform: rotate(180deg); display: flex; align-items: center; gap: 0.75rem; }

/* Toast Notification */
.toast-container { position: fixed; top: 2rem; right: 2rem; z-index: 100; display: flex; flex-direction: column; gap: 1rem; max-width: 24rem; }
.toast { background: white; padding: 1.25rem 1.5rem; border-radius: var(--radius-xl); box-shadow: var(--shadow-xl); border: 1px solid var(--border); display: flex; align-items: center; gap: 1rem; animation: toastSlideIn 0.3s ease-out; min-width: 20rem; }
@keyframes toastSlideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}
.toast.toast-success { border-left: 4px solid var(--primary); }
.toast.toast-error { border-left: 4px solid var(--danger); }
.toast-icon { width: 2.5rem; height: 2.5rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; flex-shrink: 0; }
.toast-icon.success { background: var(--primary-light); color: var(--primary); }
.toast-icon.error { background: #FEE2E2; color: var(--danger); }
.toast-content { flex: 1; }
.toast-title { font-weight: 700; color: var(--dark); margin-bottom: 0.25rem; font-size: 0.875rem; }
.toast-message { font-size: 0.875rem; color: var(--muted); }
.toast-close { color: #9CA3AF; font-size: 1.25rem; cursor: pointer; transition: color 0.3s; }
.toast-close:hover { color: var(--dark); }
@media (min-width: 768px) { .floating-btn { display: flex; } }
.floating-btn:hover { background: var(--primary); padding-right: 1rem; padding-left: 0.75rem; }
.floating-btn-text { font-family: var(--font-display); font-weight: 700; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; writing-mode: vertical-rl; transform: rotate(180deg); display: flex; align-items: center; gap: 0.75rem; }

/* Misc Layouts */
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-baseline { align-items: baseline; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.mb-4 { margin-bottom: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.text-2xl { font-size: 1.5rem; }
.font-bold { font-weight: 700; }

/* Page Layouts */
.page-wrapper { background: white; padding: 4rem 0; min-height: 100vh; }
.breadcrumb-nav { display: flex; margin-bottom: 2rem; font-size: 0.875rem; align-items: center; }
.breadcrumb-list { display: flex; align-items: center; gap: 0.5rem; color: var(--muted); flex-wrap: wrap; }
.breadcrumb-link { transition: color 0.3s; display: flex; align-items: center; color: inherit; }
.breadcrumb-link:hover { color: var(--primary); }
.breadcrumb-separator { color: var(--muted); }
.breadcrumb-current { font-weight: 500; color: var(--dark); }

/* Section Headers */
.section-header-center { text-align: center; margin-bottom: 4rem; }
.section-title-large { font-size: 2.25rem; margin-bottom: 1.5rem; }
.section-title-medium { font-size: 1.875rem; margin-bottom: 4rem; }
.section-title-small { font-size: 1.5rem; margin-bottom: 0.5rem; }
.section-description { font-size: 1.125rem; color: var(--muted); margin-bottom: 2.5rem; }
.section-description-large { font-size: 1.25rem; color: var(--muted); max-width: 48rem; margin: 0 auto; }

/* Stats Section */
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-bottom: 4rem; }
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-card { padding: 1.5rem; background: var(--light); border-radius: var(--radius-2xl); }
.stat-value-large { font-size: 2.25rem; font-weight: 700; color: var(--primary); margin-bottom: 0.5rem; }
.stat-label { font-size: 0.875rem; color: var(--muted); }

/* Mission Section */
.mission-box { background: var(--light); padding: 4rem 2rem; border-radius: var(--radius-3xl); margin-bottom: 4rem; text-align: center; }
.mission-title { font-size: 2rem; margin-bottom: 1.5rem; }
.mission-text { font-size: 1.125rem; color: var(--muted); max-width: 42rem; margin: 0 auto; }

/* Values Section */
.values-section { margin-bottom: 4rem; }
.values-title { font-size: 2rem; margin-bottom: 3rem; }
.value-card { background: white; padding: 2rem; border-radius: var(--radius-2xl); border: 1px solid var(--border); }
.value-icon { margin-bottom: 1.5rem; }
.value-title { font-size: 1.25rem; margin-bottom: 0.75rem; }
.value-text { color: var(--muted); }

/* CTA Section */
.cta-box { background: var(--dark); color: white; padding: 4rem 2rem; border-radius: var(--radius-3xl); text-align: center; }
.cta-title-medium { font-size: 2rem; margin-bottom: 1rem; }
.cta-description { color: #9CA3AF; font-size: 1.125rem; margin-bottom: 2rem; }
.cta-buttons-inline { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cta-btn-secondary { background: rgba(255,255,255,0.1); color: white; backdrop-filter: blur(10px); }

/* Jobs Section */
.jobs-container { width: 100%; max-width: min(56rem, var(--container-max)); }
.jobs-header { text-align: center; margin-bottom: 4rem; }
.jobs-title { margin-bottom: 0; }
.jobs-filters-wrapper { margin-top: 1.5rem; }
.jobs-filter-btn { padding: 0.5rem 1rem; border-radius: var(--radius-full); }
.jobs-filter-select { max-width: 300px; margin: 0 auto; display: block; }
.job-meta-text { font-size: 0.75rem; color: #9CA3AF; }
.job-salary-text { font-size: 1.125rem; font-weight: 700; color: var(--dark); }
.job-link-full { display: block; text-align: center; }

/* FAQ Section */
.faq-section { background: white; padding: 5rem 0; border-top: 1px solid var(--border); }
.faq-title { font-size: 1.875rem; margin-bottom: 3rem; }
.faq-question { font-size: 1.125rem; }

/* Categories */
.category-link-all { color: var(--primary); font-weight: 700; display: none; }
@media (min-width: 768px) { .category-link-all { display: block; } }
.bento-badge { background: rgba(255,255,255,0.2); backdrop-filter: blur(10px); padding: 0.5rem 1rem; border-radius: var(--radius-full); font-size: 0.875rem; font-weight: 700; }
.bento-icon-circle { width: 3rem; height: 3rem; background: white; color: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.bento-count-large { font-size: 1.5rem; }
.bento-count-small { font-size: 1.875rem; }
.bento-desc-light { color: var(--primary-light); font-size: 1.125rem; }

/* Ticker — логотипы крупнее, не сжимать во flex */
.ticker-img {
    display: block;
    height: 3.25rem;
    width: auto;
    max-width: 11rem;
    min-width: 5rem;
    object-fit: contain;
    flex-shrink: 0;
}
@media (min-width: 768px) {
    .ticker-img {
        height: 3.75rem;
        max-width: 13rem;
    }
}

/* Job Cards */
.job-info-text { font-size: 0.875rem; color: var(--muted); }
.job-time-text { font-size: 0.75rem; color: #9CA3AF; }

/* RTL Support */
[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

[dir="rtl"] .header-inner,
[dir="rtl"] .header-actions {
    flex-direction: row-reverse;
}
/* .job-card: на узком экране только колонка — иначе row-reverse ломает вёрстку (иврит «сплющивает» карточку) */
@media (min-width: 640px) {
    [dir="rtl"] .job-card:not(.job-card-large) {
        flex-direction: row-reverse;
    }
}
@media (min-width: 768px) {
    [dir="rtl"] .job-card-large {
        flex-direction: row!important;
    }
}
[dir="rtl"] .nav-desktop { flex-direction: row; }
[dir="rtl"] .mobile-menu-link { text-align: right; }

[dir="rtl"] .page-layout { flex-direction: column; }
@media (min-width: 1024px) {
    [dir="rtl"] .page-layout { flex-direction: row-reverse; }
}
[dir="rtl"] .section-header { flex-direction: column; align-items: stretch; }
@media (min-width: 768px) {
    [dir="rtl"] .section-header { flex-direction: row-reverse; align-items: flex-end; }
}
[dir="rtl"] .cta-buttons { flex-direction: column; }
@media (min-width: 640px) {
    [dir="rtl"] .cta-buttons { flex-direction: row-reverse; }
}
[dir="rtl"] .jobs-filters-inline { flex-direction: row-reverse; }
[dir="rtl"] .share-links { flex-direction: row-reverse; flex-wrap: wrap; }
[dir="rtl"] .radio-group { flex-direction: row-reverse; }
[dir="rtl"] .blog-tabs { flex-direction: row-reverse; flex-wrap: wrap; }
[dir="rtl"] .modal-content { text-align: right; }
[dir="rtl"] .prose ul,
[dir="rtl"] .prose ol,
[dir="rtl"] .blog-prose ul,
[dir="rtl"] .blog-prose ol { padding-left: 0; padding-right: 1.25rem; }
[dir="rtl"] .breadcrumb-list,
[dir="rtl"] .breadcrumb-nav ol { flex-direction: row-reverse; flex-wrap: wrap; }
[dir="rtl"] .bento-med .flex.justify-between,
[dir="rtl"] .bento-card .flex.justify-between { flex-direction: row-reverse; }
[dir="rtl"] .toast { animation-name: toastSlideInRtl; }
@keyframes toastSlideInRtl {
    from { transform: translateX(-100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

[dir="rtl"] .header-search-icon {
    left: auto;
    right: 1rem;
}

[dir="rtl"] .header-search-input {
    padding-left: 1rem;
    padding-right: 2.5rem;
}

[dir="rtl"] .search-icon {
    left: auto;
    right: 1rem;
}

[dir="rtl"] .search-input {
    padding-left: 1rem;
    padding-right: 2.5rem;
}

[dir="rtl"] .input-with-icon i {
    left: auto;
    right: 0.75rem;
}

[dir="rtl"] .input-with-icon input {
    padding-left: 0.75rem;
    padding-right: 2.25rem;
}

[dir="rtl"] .job-meta {
    border-left: none;
    border-right: 1px solid #F3F4F6;
    padding-right: 1rem;
    padding-left: 0;
}

@media (max-width: 639px) {
    [dir="rtl"] .job-card-large .job-meta {
        border-right: none;
        padding-right: 0;
    }
}

[dir="rtl"] .bento-icon-box {
    order: -1;
}

[dir="rtl"] .floating-btn {
    right: auto;
    left: 10px;
    border-radius: 0 1rem 1rem 0;
    border-left: 1px solid rgba(255,255,255,0.1);
    border-right: none;
}

[dir="rtl"] .toast-container {
    right: auto;
    left: 2rem;
}

/* Numbers and currency should always be LTR, even in RTL */
[dir="rtl"] .salary-amount,
[dir="rtl"] .salary-value,
[dir="rtl"] .number-value,
[dir="rtl"] .stat-value,
[dir="rtl"] .job-count,
[dir="rtl"] .phone-number,
[dir="rtl"] .date-value {
    direction: ltr;
    text-align: left;
    display: inline-block;
    unicode-bidi: bidi-override;
}

/* Salary display with currency symbol */
[dir="rtl"] .salary-display {
    direction: rtl!important;
    text-align: left;
    display: inline-block;
    unicode-bidi: bidi-override;
}

/* Input fields for numbers should be LTR */
[dir="rtl"] input[type="number"],
[dir="rtl"] input[type="tel"] {
    direction: ltr;
    text-align: left;
}

/* Accessibility widget (классы на <html>; без filter — иначе ломается position:fixed) */
.a11y-widget-btn {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 95;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 50%;
    background: var(--dark);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl);
    border: 2px solid rgba(255,255,255,0.2);
    transition: transform 0.2s ease, background 0.2s ease;
}
.a11y-widget-btn:hover { transform: scale(1.06); background: var(--primary); }
.a11y-panel {
    position: fixed;
    right: 1rem;
    bottom: 5rem;
    z-index: 95;
    width: min(280px, calc(100vw - 2rem));
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity 0.28s ease, visibility 0.28s ease, transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.a11y-panel.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}
.a11y-option { display: flex; align-items: center; justify-content: space-between; margin-top: 0.75rem; font-size: 0.875rem; gap: 0.75rem; }
.a11y-option input { flex-shrink: 0; }

/* Увеличение текста: rem привязаны к корню */
html.a11y-text-large {
    font-size: 112.5%;
}
@media (min-width: 768px) {
    html.a11y-text-large { font-size: 118.75%; }
}

/* Высокий контраст через переменные и явные границы (не filter) */
html.a11y-high-contrast {
    --dark: #000000;
    --text: #0a0a0a;
    --muted: #1f2937;
    --border: #000000;
    --light: #f3f4f6;
}
html.a11y-high-contrast body {
    background-color: #ffffff;
    color: var(--text);
}
html.a11y-high-contrast .site-header,
html.a11y-high-contrast .site-footer,
html.a11y-high-contrast .modal-content,
html.a11y-high-contrast .sticky-box,
html.a11y-high-contrast .job-card,
html.a11y-high-contrast .input-control {
    background-color: #fff !important;
    color: #000 !important;
    border-color: #000 !important;
}
html.a11y-high-contrast .btn-primary {
    background: #000 !important;
    color: #fff !important;
    border: 2px solid #000 !important;
}

html.a11y-underline-links a { text-decoration: underline !important; text-underline-offset: 2px; }

/* Уменьшение анимаций: не трогаем fixed-слои виджета и модалок полностью */
html.a11y-reduce-motion .blob,
html.a11y-reduce-motion .ticker-track,
html.a11y-reduce-motion .ticker-track--logos,
html.a11y-reduce-motion .hero-badge-dot-ping {
    animation: none !important;
}
html.a11y-reduce-motion *:not(.modal-overlay):not(.modal-overlay *):not(.a11y-widget-btn):not(.a11y-panel):not(.a11y-panel *) {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
}
html.a11y-reduce-motion .modal-overlay,
html.a11y-reduce-motion .modal-overlay .modal-content,
html.a11y-reduce-motion .modal-overlay .modal-backdrop,
html.a11y-reduce-motion .mobile-menu,
html.a11y-reduce-motion .a11y-panel {
    transition-duration: 0.01ms !important;
}

[dir="rtl"] .a11y-widget-btn { left: 1rem; right: auto; }
[dir="rtl"] .a11y-panel { left: 1rem; right: auto; }

/* Privacy consent + apply CTA */
.privacy-consent-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: var(--muted);
    cursor: pointer;
}
.privacy-consent-label input { margin-top: 0.2rem; flex-shrink: 0; }
.privacy-consent-label a { color: var(--primary); text-decoration: underline; }
.form-hint { font-size: 0.75rem; color: #9CA3AF; margin-top: 0.35rem; }
.job-apply-cta { padding-top: 0.875rem; padding-bottom: 0.875rem; font-size: 1.05rem; }
.job-sidebar-actions { display: flex; flex-direction: column; gap: 0.75rem; }
.job-share-cta { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; }

#apply-modal .modal-content {
    max-width: 42rem;
}
#apply-form .form-group { margin-bottom: 1.125rem; }
#apply-form .file-drop { min-height: 150px; padding: 1.25rem 1rem; }

#apply-form .form-group.is-invalid .form-label,
#apply-form .form-group.field-invalid-group .form-label {
    color: var(--danger);
}
#apply-form .input-control.field-invalid,
#apply-form .form-group.is-invalid .input-control,
#apply-form .file-drop.field-invalid,
#apply-form .form-group.is-invalid .file-drop {
    border: 2px solid var(--danger) !important;
    background: #fef2f2 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.25) !important;
}
#apply-form .privacy-consent-group.is-invalid .privacy-consent-label {
    border: 2px solid var(--danger);
    border-radius: var(--radius-lg);
    padding: 0.5rem 0.625rem;
    background: #fef2f2;
}
#apply-form .form-group.is-invalid.shake-field,
#apply-form .privacy-consent-group.is-invalid.shake-field {
    animation: shake 0.45s ease;
}

/* Privacy policy page */
.privacy-page .privacy-article {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-2xl);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    max-width: 52rem;
    margin: 0 auto 3rem;
}
.privacy-policy-content h2 { font-size: 1.25rem; font-weight: 700; margin: 1.75rem 0 0.75rem; color: var(--dark); }
.privacy-policy-content h3 { font-size: 1.05rem; font-weight: 600; margin: 1.25rem 0 0.5rem; }
.privacy-policy-content p, .privacy-policy-content li { color: var(--muted); line-height: 1.65; margin-bottom: 0.75rem; }
.privacy-policy-content ul { padding-left: 1.25rem; margin-bottom: 1rem; }
.privacy-lead { background: #FEF3C7; border-left: 4px solid #F59E0B; padding: 1rem; border-radius: 0.5rem; }
.privacy-effective { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--border); }

/* Cookie banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10050;
    background: white;
    border-top: 1px solid var(--border);
    box-shadow: 0 -8px 30px rgba(0,0,0,0.08);
    padding: 1rem;
}
.cookie-banner[hidden] { display: none !important; }
.cookie-banner-inner { max-width: 72rem; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; justify-content: space-between; }
.cookie-banner-text { flex: 1 1 16rem; font-size: 0.875rem; color: var(--muted); margin: 0; }
.cookie-banner-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-settings-panel { max-width: 72rem; margin: 0.75rem auto 0; padding-top: 0.75rem; border-top: 1px solid var(--border); }
.cookie-settings-panel[hidden] { display: none !important; }
.cookie-option { display: block; font-size: 0.875rem; margin-bottom: 0.35rem; }
.btn-sm { padding: 0.45rem 0.85rem; font-size: 0.8125rem; }
@media (max-width: 640px) {
    .cookie-banner-inner { flex-direction: column; align-items: stretch; }
    .cookie-banner-actions .btn { width: 100%; }
}
body:has(.cookie-banner:not([hidden])) .floating-btn { bottom: 5.5rem; }
