/* ==========================================================================
   1. VARIABLES & RESET
   ========================================================================== */
:root {
    /* Colors */
    --blue: #142e7e;
    --blue-hover: #0a1b4d;
    --dark: #0d0d12;
    --black: #000000;
    --white: #ffffff;
    --text-main: #1e293b;
    --text-muted: #94a3b8;
    --light-bg: #f8fafc;
    
    /* Transitions */
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --shadow: 0 10px 30px rgba(0,0,0,0.05);
}

* { box-sizing: border-box; }

body { 
    font-family: 'Inter', sans-serif; 
    margin: 0; 
    color: var(--text-main); 
    background: var(--white);
    overflow-x: hidden; 
    -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   2. TYPOGRAPHY & COMMON ELEMENTS
   ========================================================================== */
.section-heading { 
    font-weight: 800; 
    font-size: 3.5rem; 
    line-height: 1.1; 
    margin-bottom: 30px; 
    letter-spacing: -1px; 
}

.white-text { color: var(--white); }
.text-center { text-align: center; }
.text-right { text-align: right; }
.uppercase { text-transform: uppercase; }

.accent-line { 
    width: 60px; 
    height: 4px; 
    background: var(--blue); 
    margin-bottom: 20px; 
}
.accent-line.center { margin: 20px auto; }

.blue-tag { 
    color: var(--blue); 
    font-weight: 700; 
    letter-spacing: 2px; 
    margin-bottom: 10px; 
    display: block;
}

.badge-outline {
    border: 1px solid rgba(255,255,255,0.3);
    padding: 5px 15px;
    text-transform: uppercase;
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-bottom: 20px;
    display: inline-block;
}

/* Helpers */
.section-padding { padding: 100px 0; }
.bg-light { background-color: var(--light-bg); }
.bg-dark { background-color: var(--dark); }
.flex-align-center { display: flex; align-items: center; }
.mb-60 { margin-bottom: 60px; }

/* ==========================================================================
   3. COMPONENTS (Buttons & Cards)
   ========================================================================== */
/* Buttons */
.pure-button { 
    height: 35px; /* Высокие кнопки выглядят премиальнее */
    line-height: 30px; /* Текст четко по центру */
    padding: 0 40px !important; 
    font-size: 1.3rem !important; 
    font-weight: 800 !important; 
    text-transform: uppercase; 
    letter-spacing: 2px; 
    border-radius: 0px !important; /* Строгие острые углы */
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1) !important; 
    position: relative; 
    overflow: hidden; 
    border: none !important; 
    display: inline-block;
    text-align: center;
}

/* ГЛАВНАЯ КНОПКА (Pyydä tarjous) */
.btn-filled { 
    background-color: var(--blue) !important; 
    color: var(--white) !important; 
    box-shadow: 0 10px 20px rgba(20, 46, 126, 0.2); /* Мягкая синяя тень */
}

/* Скрытый блик для крутой анимации при наведении */
.btn-filled::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.btn-filled:hover { 
    background-color: var(--blue-hover) !important; 
    transform: translateY(-5px); /* Кнопка "взлетает" */
    box-shadow: 0 15px 30px rgba(20, 46, 126, 0.4);
}

.btn-filled:hover::after {
    left: 100%; /* Блик пробегает по кнопке */
}

/* ВТОРОСТЕПЕННАЯ КНОПКА (Palvelumme) */
.btn-outline { 
    background-color: transparent !important; 
    color: var(--white) !important; 
    /* Используем внутреннюю тень вместо border, чтобы кнопка не дергалась */
    box-shadow: inset 0 0 0 2px rgba(255,255,255,0.4) !important; 
    margin-left: 25px; /* Отступ от первой кнопки */
}

.btn-outline:hover { 
    background-color: var(--white) !important; 
    color: var(--black) !important; 
    transform: translateY(-5px); 
    box-shadow: inset 0 0 0 2px var(--white), 0 15px 30px rgba(0, 0, 0, 0.3) !important; 
}

/* Адаптивность для телефонов: кнопки становятся на всю ширину друг под другом */
@media (max-width: 600px) {
    .pure-button {
        width: 100%;
        margin-left: 0;
        margin-bottom: 25px;
        height: 30px;
        line-height: 30px;
    }
    .btn-outline {
        margin-left: 0;
    }
}


/* Contact Page Specifics */
.contact-info-sidebar { padding-right: 30px; }

.c-detail-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    background: var(--light-bg);
    padding: 20px;
    border-radius: 4px;
}
.c-detail-icon {
    font-size: 2.5rem;
    color: var(--blue);
    margin-right: 20px;
    width: 40px;
    text-align: center;
}
.c-detail-text small {
    display: block;
    text-transform: uppercase;
    color: var(--text-muted);
    font-size: 1rem;
    letter-spacing: 1px;
}
.c-detail-text strong { font-size: 1.6rem; color: var(--dark); }

/* Form Styling */
.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border: 1px solid #eee;
    box-shadow: var(--shadow);
}

.contact-form label {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--dark);
}

.contact-form input, 
.contact-form textarea {
    border-radius: 2px !important;
    padding: 15px !important;
    border: 1px solid #ddd !important;
    box-shadow: none !important;
    font-family: 'Inter', sans-serif !important;
    margin-bottom: 20px !important;
    background: #fdfdfd !important;
}

.contact-form input:focus, 
.contact-form textarea:focus {
    border-color: var(--blue) !important;
}

.mt-40 { margin-top: 40px; }

/* Map Placeholder */
.map-section { height: 400px; background: #eee; position: relative; }
.map-placeholder {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ccc;
}
.map-placeholder i { font-size: 5rem; margin-bottom: 10px; }


/* MODAL STYLES */
.modal-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 3000;
    display: none; /* Скрыто по умолчанию */
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: #12121a;
    border: 1px solid #1e1e26;
    padding: 60px 40px;
    max-width: 600px;
    width: 100%;
    position: relative;
    box-shadow: var(--shadow-lg);
    animation: modalAppear 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@keyframes modalAppear {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.modal-close-btn {
    position: absolute;
    top: 20px; right: 20px;
    background: none; border: none;
    color: var(--white);
    font-size: 4rem;
    cursor: pointer;
    line-height: 1;
    opacity: 0.5;
    transition: 0.3s;
}
.modal-close-btn:hover { opacity: 1; color: var(--blue); }

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.modal-body-content h2 {
    margin-bottom: 20px;
    font-size: 3rem;
}

.modal-footer {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* Стиль карточек ценностей в странице о нас*/
.value-card {
    background: var(--white);
    padding: 40px 30px;
    text-align: center;
    border: 1px solid #eee;
    transition: var(--transition);
    height: 100%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
}

.value-card:hover {
    transform: translateY(-10px);
    border-color: var(--blue);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.value-card i {
    font-size: 4rem;
    color: var(--blue);
    margin-bottom: 25px;
    display: block;
}

.value-card h4 {
    font-weight: 800;
    text-transform: uppercase;
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.value-card p {
    font-size: 1.4rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 0;
}


/* ==========================================================================
   4. SITE HEADER
   ========================================================================== */
/* --- БАЗОВАЯ ШАПКА --- */
#main-header {
    position: fixed;
    top: 0; 
    width: 100%;
    z-index: 1000;
    padding: 30px 0; /* Просторный хедер в начале */
    transition: var(--transition);
}

/* Эффект при скролле (Стеклянный хедер) */
#main-header.scrolled {
    padding: 15px 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.header-wrapper {
    display: flex;
    justify-content: space-between; /* Расталкивает элементы по краям */
    align-items: center; /* Центрирует по вертикали */
    width: 100%;
}

/* Логотип */
.logo {
    font-size: 3.2rem;
    font-weight: 900;
    color: var(--white);
    text-decoration: none;
    letter-spacing: -1.5px;
    transition: var(--transition);
}
.logo .dot { color: var(--blue); }
#main-header.scrolled .logo { color: var(--dark); }

/* --- ДЕСКТОПНОЕ МЕНЮ --- */
.main-nav .nav-link {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-weight: 700;
    margin: 0 20px;
    font-size: 1.6rem; /* Крупный шрифт по просьбе владельца */
    position: relative;
    padding: 8px 0;
    transition: var(--transition);
}

/* Анимированное подчеркивание */
.main-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: var(--blue);
    transition: 0.3s;
}

.main-nav .nav-link:hover::after, 
.main-nav .nav-link.active::after { width: 100%; }
.main-nav .nav-link:hover, 
.main-nav .nav-link.active { color: var(--white); }

/* Цвет ссылок при скролле */
#main-header.scrolled .nav-link { color: #444; }
#main-header.scrolled .nav-link:hover, 
#main-header.scrolled .nav-link.active { color: var(--black); }

/* ДЕСТОПНЫЙ ВЫБОР ЯЗЫКА (SELECT) */
.lang-switcher select {
    background: #0000004f;
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--white);
    padding: 4px 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.4rem;
    border-radius: 4px;
    outline: none;
}
#main-header.scrolled .lang-switcher select {
    color: var(--dark);
    border-color: #ddd;
}

/* --- МОБИЛЬНЫЕ ЭЛЕМЕНТЫ (КНОПКА И ОВЕРЛЕЙ) --- */

/* Кнопка гамбургер */
.hamburger-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1100;
    outline: none;
}

.hamburger-btn span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--white);
    margin: 6px 0;
    transition: 0.3s;
}
#main-header.scrolled .hamburger-btn span { background: var(--dark); }

/* Полноэкранный оверлей */
.mobile-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(13, 13, 18, 0.98); /* Глубокий темный */
    backdrop-filter: blur(20px);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-overlay.active { visibility: visible; opacity: 1; }

/* Ссылка для закрытия (Крестик) */
.close-btn {
    position: absolute;
    top: 30px; right: 30px;
    font-size: 5rem;
    color: var(--white);
    background: none;
    border: none;
    cursor: pointer;
}

/* Стек ссылок в меню */
.mobile-links-stack {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 50px;
    text-align: center;
}

.mobile-link {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--white);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: 0.3s;
}
.mobile-link:hover { color: var(--blue); transform: scale(1.05); }

/* --- ВЫБОР ЯЗЫКА В ГАМБУРГЕРЕ (КНОПКИ-ПИЛЮЛИ) --- */
.mobile-lang-grid {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    width: 280px;
    margin: 0 auto;
    text-align: center;
}

.lang-title {
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-bottom: 20px;
    font-weight: 700;
}

.lang-buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.lang-btn {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--white);
    padding: 12px 0;
    font-size: 1.3rem;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    border-radius: 4px;
}

.lang-btn.active {
    background: var(--blue);
    border-color: var(--blue);
    color: white;
}
.lang-btn:hover { background: rgba(255,255,255,0.15); }

/* --- АДАПТИВНОСТЬ (Переключение Desktop/Mobile) --- */
@media (max-width: 768px) {
    /* Гарантируем, что на мобилках всё в ОДНУ линию */
    .header-wrapper {
        flex-direction: row !important; 
        justify-content: space-between !important;
    }

    .main-nav, .desktop-only { 
        display: none; 
    }

    .hamburger-btn { 
        display: block; 
        margin-left: auto; /* Дополнительная страховка: прижать вправо */
    }

    .logo { 
        font-size: 2.6rem; 
        flex-shrink: 0; /* Не дает логотипу сжиматься */
    }
}

/* ==========================================================================
   5. SITE FOOTER
   ========================================================================== */
.footer-v2 {
    background: var(--dark);
    color: #cbd5e1;
    padding: 100px 0 50px;
    font-size: 1.5rem;
}

.footer-main-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
}

/* --- СОСТОЯНИЕ 1: 3 В РЯД (Desktop > 1100px) --- */
.footer-brand    { width: 40% !important; }
.footer-contacts { width: 25% !important; }
.footer-cta-box  { width: 30% !important; text-align: right; }

/* Общие стили элементов */
.footer-logo { color: var(--white); font-size: 3.5rem; font-weight: 900; margin-bottom: 25px; letter-spacing: -1.5px; }
.footer-logo .dot { color: var(--blue); }
.footer-bio { max-width: 400px; line-height: 1.6; }
.footer-title { color: var(--white); text-transform: uppercase; letter-spacing: 2px; font-weight: 700; margin-bottom: 30px; font-size: 1.3rem; }
.c-info { display: flex; gap: 15px; margin-bottom: 20px; align-items: center; }
.c-icon { color: var(--blue); font-size: 1.8rem; width: 25px; flex-shrink: 0; }
.btn-footer-action { background: var(--white) !important; color: var(--black) !important; font-weight: 800 !important; display: inline-block; border: none !important; }
.footer-copyright-area { margin-top: 100px; padding-top: 45px; border-top: 1px solid rgba(255,255,255,0.05); opacity: 0.6; }

/* --- СОСТОЯНИЕ 2: 1 СВЕРХУ, 2 СНИЗУ (Tablet: 701px - 1100px) --- */
@media (max-width: 1100px) {
    .footer-brand { 
        width: 100% !important; 
        text-align: center; 
        margin-bottom: 60px; 
    }
    .footer-brand .footer-bio { margin: 0 auto; }

    .footer-contacts { 
        width: 48% !important; 
        text-align: left; 
    }
    .footer-cta-box { 
        width: 48% !important; 
        text-align: right; 
    }
}

/* --- СОСТОЯНИЕ 3: 3 В КОЛОННУ (Mobile < 700px) --- */
@media (max-width: 700px) {
    .footer-main-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-brand, .footer-contacts, .footer-cta-box {
        width: 100% !important;
        margin-bottom: 50px;
    }
    .c-info { justify-content: center; }
    .footer-cta-box { text-align: center; }
    .footer-contacts {text-align: center; }
}

/* ==========================================================================
   6. SECTIONS (Hero, About, Services)
   ========================================================================== */
/* Hero Section */
.hero-fullscreen {
    position: relative; height: 100vh; width: 100%;
    display: flex; align-items: center; overflow: hidden; background: var(--black);
}

.video-container { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; }
#bg-video { width: 100%; height: 100%; object-fit: cover; }

.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(75deg, rgba(13, 13, 18, 0.9) 0%, rgba(13, 13, 18, 0.4) 100%);
    z-index: 1;
}

.hero-content-wrapper { position: relative; z-index: 2; color: var(--white); padding-top: 120px;}

.hero-title-large {
    font-size: 8.5rem; font-weight: 900; line-height: 0.9;
    letter-spacing: -4px; margin-bottom: 20px; text-transform: uppercase;
}
.hero-lead { font-size: 1.8rem; font-weight: 300; max-width: 600px; margin-bottom: 40px; opacity: 0.9; }

/* Industrial Services Section - Optimized */
.bg-dark-industrial {
    background-color: #0b0b0f; 
    padding: 100px 0;
}

/* Фикс для сетки: заставляем колонки Skeleton быть одной высоты */
.services-v3.row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

.service-card-v3 {
    background: #12121a;
    border: 1px solid #1e1e26;
    padding: 30px 20px; /* Уменьшили горизонтальный отступ с 30 до 20 */
    height: 100%;
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    
    /* ФИКС ПЕРЕПОЛНЕНИЯ */
    overflow: hidden; 
    word-wrap: break-word; /* Разрывать длинные слова, если не влезают */
    hyphens: auto;         /* Добавлять дефис при переносе (где возможно) */
}

.service-card-v3:hover {
    background: #161621;
    border-color: var(--blue);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.card-number {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--blue);
    opacity: 0.5;
}

.icon-wrap {
    font-size: 2.8rem; /* Немного уменьшили иконку */
    color: var(--white);
}

.service-card-v3 h4 {
    color: var(--white);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1.7rem; /* Уменьшили заголовок с 2rem до 1.7rem, чтобы влезал */
    margin-bottom: 12px;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.service-card-v3 p {
    color: #8a8a98;
    font-size: 1.3rem; /* Чуть уменьшили текст описания */
    line-height: 1.5;
    margin-bottom: 0;
}

.card-footer-line {
    width: 0; height: 2px;
    background: var(--blue);
    position: absolute; bottom: 0; left: 0;
    transition: var(--transition);
}

.service-card-v3:hover .card-footer-line { width: 100%; }

/* АДАПТИВНОСТЬ: на планшетах делаем 2 колонки вместо 4 */
@media (max-width: 1000px) {
    .services-v3 .three.columns {
        width: 48%;
        margin-left: 2%;
        margin-bottom: 20px;
    }
    .services-v3 .three.columns:nth-child(2n+1) {
        margin-left: 0;
    }
}

/* На мобилках - 1 колонка */
@media (max-width: 550px) {
    .services-v3 .three.columns {
        width: 100%;
        margin-left: 0;
    }
}

/* Фикс для заголовка секции (чтобы не висел в воздухе) */
.section-header .section-heading {
    margin-top: 10px;
    margin-bottom: 15px;
}

/* Page Hero (Interior Pages) */
/* Безопасная зона для внутренних страниц */
.page-hero {
    height: 45vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    
    /* ДОБАВЬ ЭТО: */
    padding-top: 100px; /* Создает место под фиксированным хедером */
}

/* Если на странице нет Page Hero, а сразу идет обычная секция: */
body:not(.home-page) main section:first-of-type {
    padding-top: 120px; 
}

/* About Composite Image */
.image-composite { position: relative; padding: 20px; }
.main-image { height: 500px; background-size: cover; background-position: center; border-radius: 4px; box-shadow: 0 30px 60px rgba(0,0,0,0.1); }
.floating-experience {
    position: absolute; bottom: -20px; left: -20px;
    background: var(--blue); color: var(--white); padding: 40px;
    box-shadow: 0 20px 40px rgba(20, 46, 126, 0.3);
}
.exp-number { font-size: 5rem; font-weight: 900; display: block; line-height: 1; }

/* Portfolio Teaser */
.teaser-item { 
    height: 300px; background-size: cover; background-position: center; 
    border-radius: 8px; transition: var(--transition); filter: grayscale(100%); 
}
.teaser-item:hover { filter: grayscale(0%); transform: scale(1.02); }

/* ==========================================================================
   7. RESPONSIVE (Media Queries)
   ========================================================================== */

/* Tablets */
@media (max-width: 1024px) {
    .hero-title-large { font-size: 6rem; }
    .hero-lead { font-size: 1.5rem; }
}

/* Mobile */
@media (max-width: 768px) {
    .section-padding { padding: 60px 0; }
    .hero-title-large { font-size: 4rem; letter-spacing: -2px; }
    
    .header-wrapper { flex-direction: column; gap: 15px; }
    .main-nav { display: none; } /* Здесь обычно добавляется гамбургер-меню */
    
    .image-composite .main-image { height: 350px; }
    .floating-experience { padding: 20px; bottom: 0; left: 0; }
    .exp-number { font-size: 3rem; }
    
    .footer-top > .columns { margin-bottom: 40px; }
}


/* ==========================================================================
   8. Portfolio page
   ========================================================================== */

   /* Portfolio Grid */
.project-card {
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
    border-radius: 4px;
    height: 400px;
    cursor: pointer;
}

.project-card.small { height: 300px; }

.project-image {
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    transition: var(--transition);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(20, 46, 126, 0.9) 0%, transparent 100%);
    opacity: 0;
    display: flex;
    align-items: flex-end;
    padding: 30px;
    transition: var(--transition);
}

.project-info {
    color: var(--white);
    transform: translateY(20px);
    transition: var(--transition);
}

.project-card:hover .project-image { transform: scale(1.1); }
.project-card:hover .project-overlay { opacity: 1; }
.project-card:hover .project-info { transform: translateY(0); }

.project-info h4, .project-info h5 { 
    margin: 0; 
    font-weight: 800; 
    text-transform: uppercase; 
}

.project-info p { 
    margin-top: 10px; 
    font-size: 1.4rem; 
    opacity: 0.8; 
}

.mt-20 { margin-top: 20px; }

/* Responsive adjustments */
@media (max-width: 768px) {
    .project-card { height: 300px; }
}







/*  */
/* Accessibility */
.visually-hidden {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

/* Улучшение контрастности (PageSpeed ругался) */
.footer-v2 { color: #cbd5e1; } /* Более светлый серый для черного фона */
.hero-lead { color: rgba(255,255,255,1); } /* Полная непрозрачность */


/* Скрываем тело сайта, пока не загрузится язык */
.js-loading body {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.copy-trigger {
    transition: transform 0.2s ease;
    cursor: pointer;
}

.copy-trigger:hover {
    transform: scale(1.02); /* Легкое увеличение */
}

.copy-trigger:active {
    transform: scale(0.98); /* Эффект нажатия */
}

/* Сделаем small немного ярче, когда там появляется "Скопировано" */
.copy-trigger small {
    transition: color 0.3s ease;
}

