/* manrope-300 - cyrillic_latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/manrope-v20-cyrillic_latin_latin-ext-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* manrope-regular - cyrillic_latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/manrope-v20-cyrillic_latin_latin-ext-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* manrope-500 - cyrillic_latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/manrope-v20-cyrillic_latin_latin-ext-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* manrope-600 - cyrillic_latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/manrope-v20-cyrillic_latin_latin-ext-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* manrope-700 - cyrillic_latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/manrope-v20-cyrillic_latin_latin-ext-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* manrope-800 - cyrillic_latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  src: url('../fonts/manrope-v20-cyrillic_latin_latin-ext-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* ========================================= */
/* --- СИСТЕМА ДИЗАЙНА И КОНСТАНТЫ (VARIABLES) --- */
/* ========================================= */
:root {
    /* Базовая (светлая) тема */
    --primary: #0f172a;
    --primary-light: #1e293b;
    --primary-hover: #334155;
    
    --accent: #2563eb; 
    --accent-hover: #1d4ed8;
    --accent-light: rgba(37, 99, 235, 0.1);
    
    --bg-main: #ffffff;
    --bg-light: #f8fafc;
    --text-main: #0f172a;
    --text-muted: #64748b;
    
    --nav-bg: rgba(255, 255, 255, 0.85);
    
    --border-smooth: rgba(15, 23, 42, 0.06);
    --border-focus: rgba(37, 99, 235, 0.3); 
    
    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 28px;
    --radius-pill: 9999px;
    
    --shadow-soft: 0 4px 20px rgba(15, 23, 42, 0.02);
    --shadow-premium: 0 12px 34px rgba(15, 23, 42, 0.04), 0 2px 8px rgba(15, 23, 42, 0.02);
    --shadow-deep: 0 30px 60px rgba(15, 23, 42, 0.06), 0 4px 12px rgba(15, 23, 42, 0.02);
    
    --transition-fast: all 0.2s cubic-bezier(0.2, 0, 0, 1);
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Переопределение переменных для ТЕМНОЙ ТЕМЫ */
[data-theme="dark"] {
    --bg-main: #0f172a;
    --bg-light: #1e293b;
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    
    --nav-bg: rgba(15, 23, 42, 0.85);
    
    --border-smooth: rgba(255, 255, 255, 0.08);
    --border-focus: rgba(59, 130, 246, 0.4); 
    
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-premium: 0 12px 34px rgba(0, 0, 0, 0.4), 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-deep: 0 30px 60px rgba(0, 0, 0, 0.5), 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* ========================================= */
/* --- СБРОС СТИЛЕЙ И БАЗА --- */
/* ========================================= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    overflow-x: hidden;
    width: 100%;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
}

body {
    font-family: 'Manrope', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.625;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-wrap: break-word; 
    word-wrap: break-word;
    transition: background-color 0.4s ease, color 0.4s ease;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--text-muted);
    border-radius: 10px;
    border: 2px solid var(--bg-light);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
    border-radius: 4px;
}

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

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

/* ========================================= */
/* --- ТИПОГРАФИКА И СЕКЦИИ --- */
/* ========================================= */
.section {
    padding: clamp(80px, 10vw, 140px) 0; 
}

.section-header {
    text-align: center;
    margin-bottom: clamp(48px, 6vw, 72px);
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: clamp(2.2rem, 4vw + 1rem, 3rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--text-main); 
    line-height: 1.15;
    margin-bottom: 20px;
    text-wrap: balance; 
}

[data-theme="light"] .section-title {
    color: var(--primary);
}

.section-subtitle {
    font-size: clamp(1.05rem, 2vw + 0.5rem, 1.2rem);
    color: var(--text-muted);
    font-weight: 400;
    text-wrap: balance;
}

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

.text-white {
    color: #ffffff !important;
}

.text-white-muted {
    color: rgba(255, 255, 255, 0.65) !important;
}

.bg-light {
    background-color: var(--bg-light);
}

.bg-primary {
    background-color: var(--primary); 
}

/* ========================================= */
/* --- ПЛАВАЮЩАЯ НАВИГАЦИЯ (NAVBAR) --- */
/* ========================================= */
.navbar {
    position: fixed;
    top: 24px;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0 24px;
    transition: var(--transition-smooth);
}

.nav-container {
    max-width: 1280px; /* Увеличено dla ryskiej wersji */
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px clamp(16px, 2vw, 32px);
    background-color: var(--nav-bg);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid var(--border-smooth);
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-soft);
    position: relative;
    transition: background-color 0.4s ease, border-color 0.4s ease;
}

.logo {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    line-height: 1.1;
    z-index: 1001;
    outline: none;
}

.logo:focus-visible {
    box-shadow: inset 0 0 0 2px var(--accent);
    border-radius: 8px;
    padding: 4px;
}

.logo-title {
    font-size: clamp(0.65rem, 1vw, 0.72rem); /* Адаптивный размер */
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px; /* Уменьшено dla ekonomii miejsca */
    white-space: nowrap; /* Жесткий запрет на перенос слова БЮРО */
}

.logo-brand {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.6px;
    white-space: nowrap;
}

[data-theme="light"] .logo-brand {
    color: var(--primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: clamp(12px, 1.5vw, 24px); 
    align-items: center;
}

/* ЗАЩИТА КНОПОК ОТ СТИЛЕЙ ССЫЛОК (:not(.btn)) */
.nav-links a:not(.btn) {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    padding: 4px 0;
    transition: var(--transition-fast);
    white-space: nowrap;
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-links a:not(.btn):hover, 
.nav-links a:not(.btn):focus-visible {
    color: var(--accent);
    outline: none;
}

.nav-links a:not(.btn):hover::after, 
.nav-links a:not(.btn):focus-visible::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: clamp(10px, 1.2vw, 18px); 
}

.nav-phone {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-fast);
    white-space: nowrap;
}

[data-theme="light"] .nav-phone {
    color: var(--primary);
}

.nav-phone:hover {
    color: var(--accent);
}

/* ========================================= */
/* --- КНОПКА СМЕНЫ ТЕМЫ --- */
/* ========================================= */
.theme-toggle-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.15rem;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

.theme-toggle-btn:hover, 
.theme-toggle-btn:focus-visible {
    color: var(--accent);
    background: var(--bg-light);
    outline: none;
}

/* ========================================= */
/* --- LANGUAGE SWITCHER (UI) --- */
/* ========================================= */
.lang-dropdown {
    position: relative;
}

.lang-current {
    background: transparent;
    border: none;
    font-family: inherit;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    border-radius: 6px;
    transition: var(--transition-fast);
    white-space: nowrap;
}

.lang-current:hover {
    color: var(--accent);
}

.lang-current i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.lang-dropdown.open .lang-current i {
    transform: rotate(180deg);
}

.lang-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--bg-main);
    border: 1px solid var(--border-smooth);
    box-shadow: var(--shadow-premium);
    border-radius: 12px;
    padding: 8px;
    display: flex;
    flex-direction: column;
    min-width: 120px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
}

.lang-dropdown.open .lang-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.lang-option {
    background: transparent;
    border: none;
    font-family: inherit;
    cursor: pointer;
    padding: 8px 12px;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 8px;
    transition: var(--transition-fast);
    text-align: center;
}

.lang-option:hover {
    background: var(--bg-light);
    color: var(--text-main);
}

.lang-option.active {
    background: var(--accent-light);
    color: var(--accent);
}

.mobile-only {
    display: none; 
}

.lang-switch-btn {
    background: none;
    border: none;
    font-family: inherit;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-fast);
}

.lang-switch-btn.active-lang {
    color: var(--accent);
    font-weight: 800;
}

.lang-divider {
    color: var(--border-smooth);
}

.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: var(--text-main);
    cursor: pointer;
    z-index: 1001;
    padding: 8px;
    border-radius: 6px;
    transition: var(--transition-fast);
}

[data-theme="light"] .mobile-menu-toggle {
    color: var(--primary);
}

.mobile-menu-toggle:hover {
    color: var(--accent);
}

/* ========================================= */
/* --- КНОПКИ --- */
/* ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 36px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    border-radius: var(--radius-pill);
    transition: var(--transition-smooth);
    cursor: pointer;
    border: 1.5px solid transparent;
    gap: 12px;
    text-align: center;
    white-space: nowrap;
}

.btn-sm {
    padding: 10px clamp(12px, 1.2vw, 20px); 
    font-size: 0.9rem;
}

.btn-accent {
    background-color: var(--accent);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
}

/* Явное указание белого цвета текста при наведении для защиты от переопределений */
.btn-accent:hover, 
.btn-accent:focus-visible {
    background-color: var(--accent-hover);
    color: #ffffff; 
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.35);
    outline: none;
}

.btn:disabled {
    background-color: var(--text-muted) !important;
    box-shadow: none !important;
    transform: none !important;
    cursor: not-allowed;
    opacity: 0.8;
}

.btn-outline-light {
    background-color: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.25);
}

.btn-outline-light:hover, 
.btn-outline-light:focus-visible {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: #ffffff;
    transform: translateY(-1px);
    outline: none;
}

.btn-login {
    background-color: transparent;
    color: var(--text-main);
    border: 1.5px solid var(--border-smooth);
    box-shadow: var(--shadow-soft);
    gap: 8px;
}

[data-theme="light"] .btn-login {
    color: var(--primary);
}

.btn-login:hover, 
.btn-login:focus-visible {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-premium);
    outline: none;
}

.btn-full {
    width: 100%;
}

.icon-bounce {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-5px); }
    60% { transform: translateY(-2px); }
}

/* ========================================= */
/* --- СЕКЦИЯ HERO --- */
/* ========================================= */
.hero {
    position: relative;
    background-color: var(--primary);
    color: #ffffff;
    padding: 240px 0 180px;
    overflow: hidden;
    text-align: center;
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 90vw;
    height: 90vw;
    background: radial-gradient(circle, var(--accent-light) 0%, rgba(15,23,42,0) 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    animation: heroGlowBreath 6s infinite alternate ease-in-out;
}

@keyframes heroGlowBreath {
    0% { opacity: 0.8; transform: translate(-50%, -50%) scale(1); }
    100% { opacity: 1; transform: translate(-50%, -50%) scale(1.05); }
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero-badge-wrapper {
    display: inline-flex;
    margin-bottom: 28px;
}

.hero-badge {
    padding: 8px 20px;
    background: rgba(37, 99, 235, 0.15);
    border: 1px solid rgba(37, 99, 235, 0.3);
    color: #93c5fd;
    border-radius: var(--radius-pill);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.4px;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw + 1rem, 5rem);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 28px;
    letter-spacing: -0.05em;
    text-wrap: balance;
}

.hero p {
    font-size: clamp(1.1rem, 2vw + 0.5rem, 1.3rem);
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 56px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    text-wrap: pretty;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* ========================================= */
/* --- СЕКЦИЯ O NAS (BENTO GRID) --- */
/* ========================================= */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    max-width: 1000px;
    margin: 0 auto;
    gap: 28px;
}

.bento-card {
    background-color: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 44px;
    border: 1px solid var(--border-smooth);
    display: flex;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.bento-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
    width: 100%;
    z-index: 2;
}

.bento-card:hover {
    background-color: var(--bg-main);
    box-shadow: var(--shadow-premium);
    transform: translateY(-5px);
    border-color: var(--border-focus);
}

.bento-card .icon-box {
    width: 68px;
    height: 68px;
    background: var(--bg-main);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.85rem;
    color: var(--accent);
    margin-bottom: 32px;
    box-shadow: var(--shadow-soft);
}

.bento-card h3 {
    font-size: 1.45rem;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--text-main);
    letter-spacing: -0.03em;
}

[data-theme="light"] .bento-card h3 {
    color: var(--primary);
}

.bento-card p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* ========================================= */
/* --- СЕКЦИЯ POZNAJMY SIĘ --- */
/* ========================================= */
.poznajmy-wrapper {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
    max-width: 1050px;
    margin: 0 auto;
}

.poznajmy-photo-bg {
    background-color: var(--bg-light);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-smooth);
    padding: 40px 40px 0 40px; 
    box-shadow: var(--shadow-premium);
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 100%;
    min-height: 380px;
    transition: var(--transition-smooth);
}

.poznajmy-photo-bg:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-deep);
    border-color: var(--border-focus);
}

.poznajmy-photo-bg::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--accent-light) 0%, rgba(15,23,42,0) 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
}

.poznajmy-img {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 320px;
    height: auto;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.15));
}

[data-theme="dark"] .poznajmy-img {
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.4));
}

.poznajmy-name {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.poznajmy-quote {
    position: relative;
    background: var(--bg-light);
    padding: 32px 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-smooth);
    box-shadow: var(--shadow-soft);
}

.quote-mark {
    position: absolute;
    top: -16px;
    left: 32px;
    font-size: 1.8rem;
    color: var(--accent);
    background: var(--bg-main);
    padding: 0 12px;
    border-radius: 50%;
    transition: background-color 0.4s ease;
}

.poznajmy-quote p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-main);
    font-weight: 500;
    font-style: italic;
}

.poznajmy-signature {
    margin-top: 24px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.poznajmy-signature span {
    display: block;
    width: 40px;
    height: 2px;
    background-color: var(--accent);
    margin-bottom: 8px;
}

/* ========================================= */
/* --- СЕКЦИЯ OFERTA --- */
/* ========================================= */
.oferta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}

.oferta-card {
    background-color: var(--bg-main);
    padding: 48px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-smooth);
    transition: var(--transition-smooth);
}

.oferta-card:hover {
    box-shadow: var(--shadow-premium);
    border-color: var(--border-focus);
    transform: translateY(-4px);
}

.oferta-icon {
    font-size: 2.2rem;
    color: var(--accent);
    margin-bottom: 28px;
}

.oferta-card h3 {
    font-size: 1.35rem;
    margin-bottom: 14px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.oferta-card p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* ========================================= */
/* --- СЕКЦИЯ EFEKTY WSPÓŁPRACY --- */
/* ========================================= */
.efekty-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: clamp(48px, 8vw, 96px);
    align-items: center;
}

.efekty-content {
    max-width: 480px;
}

.efekty-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.efekty-row {
    background: var(--bg-light);
    padding: 36px;
    border-radius: var(--radius-lg);
    display: flex;
    gap: 28px;
    align-items: flex-start;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.efekty-row:hover {
    background: var(--bg-main);
    border-color: var(--border-smooth);
    box-shadow: var(--shadow-soft);
    transform: translateX(10px);
}

.efekty-badge {
    background-color: var(--accent);
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 800;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.efekty-text h3 {
    margin-bottom: 10px;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.efekty-text p {
    color: var(--text-muted);
    font-size: 0.98rem;
}

/* ========================================= */
/* --- СЕКЦИЯ OPINIE --- */
/* ========================================= */
.opinie-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    max-width: 1100px;
    margin: 0 auto;
}

.opinie-card {
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 48px;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-smooth);
}

.opinie-card:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
}

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

.quote-icon {
    font-size: 1.8rem;
    color: var(--accent);
}

.opinie-card .comment {
    font-size: 1.1rem;
    line-height: 1.75;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 18px;
}

.author-avatar {
    width: 52px;
    height: 52px;
    background-color: var(--bg-main);
    color: var(--text-main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.25rem;
    flex-shrink: 0;
}

[data-theme="light"] .author-avatar {
    color: var(--primary);
}

.opinie-card .author {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.google-link-wrapper {
    text-align: center;
    margin-top: 56px;
}

.google-reviews-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    padding: 16px 36px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: var(--transition-smooth);
}

.google-reviews-btn:hover, 
.google-reviews-btn:focus-visible {
    background: #ffffff;
    color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    outline: none;
}

/* ========================================= */
/* --- FAQ --- */
/* ========================================= */
.faq-wrapper {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background: var(--bg-main);
    border: 1px solid var(--border-smooth);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item:hover {
    border-color: var(--border-focus);
    box-shadow: var(--shadow-soft);
}

.faq-toggle {
    display: none;
}

.faq-trigger {
    padding: 28px 36px;
    font-weight: 700;
    font-size: 1.15rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    letter-spacing: -0.02em;
}

.faq-trigger:focus-visible {
    background-color: var(--bg-light);
    outline: none;
    box-shadow: inset 0 0 0 2px var(--accent);
}

.faq-icon {
    color: var(--text-muted);
    font-size: 1rem;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-content-inner {
    overflow: hidden;
}

.faq-content-inner p {
    padding: 0 36px 28px 36px;
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.65;
}

.faq-toggle:checked ~ .faq-content {
    grid-template-rows: 1fr;
}

.faq-toggle:checked ~ .faq-trigger .faq-icon {
    transform: rotate(180deg);
    color: var(--accent);
}

/* ========================================= */
/* --- ИНТЕРАКТИВНАЯ ФОРМА --- */
/* ========================================= */
.contact-block-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    background: var(--bg-main);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-deep);
    overflow: hidden;
    border: 1px solid var(--border-smooth);
}

.contact-info-side {
    background-color: var(--primary);
    color: #ffffff;
    padding: clamp(48px, 6vw, 72px) clamp(32px, 5vw, 56px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-info-header h3 {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
    color: #ffffff; 
}

.contact-desc {
    color: rgba(255, 255, 255, 0.65);
    font-size: 1.05rem;
}

.info-list {
    margin-top: 48px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 36px;
}

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

.info-icon {
    width: 52px;
    height: 52px;
    background: rgba(37, 99, 235, 0.15);
    color: #93c5fd;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.info-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.info-text span {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 700;
}

.info-text strong {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
}

.info-text a:hover {
    color: #93c5fd !important;
    transition: var(--transition-fast);
}

.contact-form-side {
    padding: clamp(48px, 6vw, 72px) clamp(32px, 5vw, 72px);
}

.contact-form-side h3 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 48px;
    color: var(--text-main);
    letter-spacing: -0.03em;
}

[data-theme="light"] .contact-form-side h3 {
    color: var(--primary);
}

.main-form {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.field-group {
    position: relative;
    display: flex;
    flex-direction: column;
    padding-top: 18px; 
}

/* Фикс масштабирования на iOS: font-size 16px обязателен */
.field-group input, 
.field-group textarea {
    background-color: transparent;
    border: none;
    border-bottom: 2px solid var(--border-smooth);
    padding: 10px 4px;
    color: var(--text-main);
    font-family: inherit;
    font-size: 16px; 
    transition: var(--transition-fast);
}

.field-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Анимация Floating Label */
.field-group label {
    position: absolute;
    top: 28px;
    left: 4px;
    font-size: 16px;
    color: var(--text-muted);
    pointer-events: none;
    transition: var(--transition-fast);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: calc(100% - 8px);
}

.field-group input:focus, 
.field-group textarea:focus {
    outline: none;
    border-bottom-color: var(--accent);
}

/* ФИКС АВТОЗАПОЛНЕНИЯ (:-webkit-autofill) */
.field-group input:focus ~ label,
.field-group input:not(:placeholder-shown) ~ label,
.field-group input:-webkit-autofill ~ label,
.field-group textarea:focus ~ label,
.field-group textarea:not(:placeholder-shown) ~ label,
.field-group textarea:-webkit-autofill ~ label {
    top: -2px;
    left: 4px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--accent);
}

/* Возвращаем нормальный фон при автозаполнении браузером */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px var(--bg-main) inset !important;
    -webkit-text-fill-color: var(--text-main) !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* Галочка RODO (Политика конфиденциальности) */
.rodo-box {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    font-size: 0.88rem;
    color: var(--text-muted);
    cursor: pointer;
    user-select: none;
}

/* Стилизация ссылки на политику в галочке */
.rodo-box a {
    color: var(--accent);
    text-decoration: underline;
    transition: var(--transition-fast);
}

.rodo-box a:hover {
    color: var(--accent-hover);
}

.checkbox-wrapper {
    position: relative;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox-wrapper input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.custom-checkbox {
    position: absolute;
    top: 0;
    left: 0;
    width: 22px;
    height: 22px;
    background-color: var(--bg-light);
    border: 2px solid var(--border-smooth);
    border-radius: 6px;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkbox-wrapper input:focus-visible ~ .custom-checkbox {
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.3);
    border-color: var(--accent);
}

.checkbox-wrapper input:checked ~ .custom-checkbox {
    background-color: var(--accent);
    border-color: var(--accent);
}

.custom-checkbox::after {
    content: '';
    display: none;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-bottom: 2px;
}

.checkbox-wrapper input:checked ~ .custom-checkbox::after {
    display: block;
}

/* ========================================= */
/* --- ПОДВАЛ (FOOTER) --- */
/* ========================================= */
.main-footer {
    background-color: var(--bg-main);
    border-top: 1px solid var(--border-smooth);
    padding: 56px 0;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.92rem;
}

.footer-links, .tax-info {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.footer-divider {
    color: var(--border-smooth);
}

[data-theme="dark"] .footer-divider {
    color: rgba(255, 255, 255, 0.15);
}

.tax-info span:not(.footer-divider) {
    font-weight: 700;
    color: var(--text-main);
}

[data-theme="light"] .tax-info span:not(.footer-divider) {
    color: var(--primary);
}

.privacy-link {
    color: var(--text-muted);
    text-decoration: underline;
    transition: var(--transition-fast);
}

.privacy-link:hover {
    color: var(--text-main);
}

[data-theme="light"] .privacy-link:hover {
    color: var(--primary);
}

/* ========================================= */
/* --- КОМПОНЕНТЫ: TOAST, SCROLL TO TOP, WHATSAPP, TELEGRAM, COOKIE --- */
/* ========================================= */

.notification {
    position: fixed;
    bottom: 32px;
    left: 32px;
    padding: 16px 24px;
    border-radius: var(--radius-sm);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    z-index: 2000;
    box-shadow: var(--shadow-premium);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateY(0);
    opacity: 1;
    display: flex;
    align-items: center;
    gap: 12px;
}

.notification i {
    font-size: 1.15rem;
}

.notification.hidden {
    transform: translateY(100px);
    opacity: 0;
    pointer-events: none;
}

.notification.success {
    background-color: #10b981;
}

.notification.error {
    background-color: #ef4444;
}

.scroll-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 56px;
    height: 56px;
    background-color: var(--accent);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: var(--shadow-premium);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover, 
.scroll-to-top:focus-visible {
    background-color: var(--accent-hover);
    transform: translateY(-5px);
    outline: none;
}

.whatsapp-float {
    position: fixed;
    bottom: 32px;
    left: 32px; 
    width: 56px;
    height: 56px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: var(--shadow-premium);
    z-index: 999;
    transition: var(--transition-smooth);
    text-decoration: none;
}

.whatsapp-float:hover, 
.whatsapp-float:focus-visible {
    background-color: #128C7E;
    transform: translateY(-5px) scale(1.05);
    color: #FFF;
    outline: none;
}

/* --- TELEGRAM FLOAT --- */
.telegram-float {
    position: fixed;
    bottom: 104px; /* 32px отступ + 56px высота WhatsApp + 16px пробел */
    left: 32px; 
    width: 56px;
    height: 56px;
    background-color: #24A1DE;
    color: #FFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: var(--shadow-premium);
    z-index: 999;
    transition: var(--transition-smooth);
    text-decoration: none;
}

.telegram-float:hover, 
.telegram-float:focus-visible {
    background-color: #1e88bb;
    transform: translateY(-5px) scale(1.05);
    color: #FFF;
    outline: none;
}

.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(0);
    background: var(--bg-main);
    border: 1px solid var(--border-smooth);
    box-shadow: var(--shadow-deep);
    padding: 16px 24px;
    border-radius: var(--radius-lg);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    width: max-content;
    max-width: 90vw;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 1;
}

.cookie-banner.hidden {
    transform: translateX(-50%) translateY(150px);
    opacity: 0;
    pointer-events: none;
}

.cookie-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.cookie-icon {
    color: var(--accent);
    font-size: 1.8rem;
    flex-shrink: 0;
}

.cookie-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

/* ========================================= */
/* --- АДАПТИВНОСТЬ (MEDIA QUERIES) --- */
/* ========================================= */

/* ДОПОЛНИТЕЛЬНЫЙ БЛОК ДЛЯ 1200-1350px (ЗАЩИТА ОТ НАЕЗДА В РУССКОМ МЕНЮ) */
@media (min-width: 1201px) and (max-width: 1350px) {
    .nav-container { padding: 14px 16px; max-width: 100%; }
    .nav-links { gap: 10px; }
    .nav-actions { gap: 10px; }
    .btn-sm { padding: 10px 14px; font-size: 0.85rem; }
    .nav-links a:not(.btn) { font-size: 0.9rem; }
}

/* СДВИГ ТОЧКИ МОБИЛЬНОГО МЕНЮ НА 1200px */
@media (max-width: 1200px) {
    .navbar {
        padding: 0 16px;
        top: 16px;
    }
    
    .nav-container {
        padding: 12px 20px;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hidden-mobile {
        display: none !important;
    }
    
    .mobile-only {
        display: flex;
    }
    
    .nav-links {
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        width: 100%;
        background: var(--nav-bg);
        backdrop-filter: blur(24px) saturate(180%);
        -webkit-backdrop-filter: blur(24px) saturate(180%);
        border-radius: var(--radius-lg);
        flex-direction: column;
        gap: 0;
        padding: 16px 0;
        border: 1px solid var(--border-smooth);
        box-shadow: var(--shadow-deep);
        
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        will-change: transform, opacity;
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        
        max-height: calc(100vh - 90px);
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    /* ЗАЩИТА КНОПОК ОТ СТИЛЕЙ ССЫЛОК (:not(.btn)) В МЕДИА-ЗАПРОСЕ */
    .nav-links a:not(.btn) {
        display: block;
        padding: 14px 24px;
        font-size: 1.15rem;
        font-weight: 700;
        color: var(--text-main);
    }

    .nav-links a:not(.btn)::after {
        display: none;
    }
    
    .mobile-divider {
        height: 1px;
        width: calc(100% - 48px);
        margin: 16px auto;
        background-color: var(--border-smooth);
    }

    .mobile-actions {
        flex-direction: column;
        gap: 12px;
        padding: 0 24px;
    }
    
    .btn-login-mobile {
        background-color: transparent;
        color: var(--text-main);
        border: 1.5px solid var(--border-smooth);
    }
    
    [data-theme="light"] .btn-login-mobile {
        color: var(--primary);
    }
    
    .btn-login-mobile:hover {
        border-color: var(--accent);
        color: var(--accent);
    }
    
    .mobile-contact-info {
        margin: 16px 0;
        justify-content: center;
    }
    
    .mobile-phone {
        font-size: 1.2rem;
        font-weight: 800;
        color: var(--text-main);
        display: inline-flex;
        align-items: center;
        gap: 10px;
        text-decoration: none;
    }

    [data-theme="light"] .mobile-phone {
        color: var(--primary);
    }
    
    .mobile-settings {
        justify-content: center;
        padding: 16px 24px 8px;
        border-top: 1px solid var(--border-smooth);
    }
    
    .mobile-settings-inner {
        display: inline-flex;
        align-items: center;
        gap: 16px;
        background-color: var(--bg-light);
        padding: 8px 24px;
        border-radius: var(--radius-pill);
    }
}

@media (max-width: 1100px) {
    .efekty-wrapper {
        grid-template-columns: 1fr;
        gap: 64px;
    }
    
    .efekty-content {
        max-width: 100%;
        text-align: center;
    }
    
    .efekty-content h2, 
    .efekty-content p {
        text-align: center;
    }
    
    .contact-block-grid {
        grid-template-columns: 1fr;
    }
    
    /* Адаптив для новой секции Poznajmy */
    .poznajmy-wrapper {
        grid-template-columns: 1fr;
        gap: 56px;
    }
    
    .poznajmy-text-col {
        text-align: center;
    }
    
    .poznajmy-text-col .section-title {
        text-align: center;
    }
    
    .poznajmy-quote {
        text-align: left;
    }
    
    .poznajmy-signature {
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hero-btns {
        flex-direction: column;
        gap: 14px;
        padding: 0 16px;
    }
    
    .btn {
        width: 100%;
    }
    
    .bento-grid, 
    .oferta-grid, 
    .opinie-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }
    
    .footer-info {
        align-items: center;
    }

    .footer-links, .tax-info {
        flex-direction: column;
        justify-content: center;
        gap: 4px;
    }

    .footer-divider {
        display: none;
    }
    
    .cookie-banner {
        flex-direction: column;
        text-align: center;
        width: 90vw;
        padding: 24px;
        gap: 24px;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }
    
    .cookie-buttons .btn {
        width: 100%;
    }
    
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    .whatsapp-float {
        bottom: 20px;
        left: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.6rem;
    }
    
    .telegram-float {
        bottom: 80px; /* 20px отступ + 45px высота WhatsApp + 15px пробел */
        left: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.6rem;
    }
    
    .notification {
        bottom: auto;
        top: 90px;
        right: 16px;
        left: 16px;
        justify-content: center;
    }
    
    .notification.hidden {
        transform: translateY(-100px);
    }
}