
        /* ПОДКЛЮЧЕНИЕ ШРИФТОВ */
        @font-face {
            font-family: 'soyuz grotesk';
            src: url('../fonts/SoyuzGroteskBold.woff') format('woff');
            font-weight: bold;
            font-style: normal; font-display: swap;
        }
        @font-face {
            font-family: 'sf pro display';
            src: url('../fonts/SFProDisplay-Regular.woff2') format('woff2');
            font-weight: 400;
            font-style: normal; font-display: swap;
        }
        @font-face {
            font-family: 'sf pro display';
            src: url('../fonts/SFProDisplay-Semibold.woff2') format('woff2');
            font-weight: 600;
            font-style: normal; font-display: swap;
        }

        /* БАЗОВЫЕ НАСТРОЙКИ */
        * { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
        html { scroll-behavior: smooth; }

        body {
            background-color: #030303;
            color: #ffffff;
            font-family: 'sf pro display', sans-serif;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            overflow-x: hidden;
            background-image: 
                linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
            background-size: 50px 50px;
            animation: panGrid 30s linear infinite;
        }
        body.modal-open { overflow: hidden; }

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

        /* КАСТОМНЫЙ КУРСОР */
        @media (min-width: 769px) {
            * { cursor: none !important; }
            .custom-cursor {
                position: fixed; top: 0; left: 0; width: 8px; height: 8px; background-color: #ffffff;
                border-radius: 50%; pointer-events: none; z-index: 9999999; transform: translate(-50%, -50%);
                box-shadow: 0 0 10px 2px rgba(255, 255, 255, 0.9);
                transition: width 0.2s ease, height 0.2s ease, background-color 0.2s ease, border 0.2s ease;
                mix-blend-mode: difference;
            }
            .custom-cursor.hover {
                width: 45px; height: 45px; background-color: transparent;
                border: 1px solid rgba(255, 255, 255, 0.8); box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
                backdrop-filter: blur(2px);
            }
        }
        @media (max-width: 768px) { .custom-cursor { display: none; } }

        /* HEADER & NAVIGATION */
        .glass-header {
            position: fixed; top: 20px; left: 50%; transform: translateX(-50%);
            width: 90%; max-width: 1200px; height: 80px;
            background: rgba(20, 20, 20, 0.4); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
            border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 40px;
            display: flex; justify-content: space-between; align-items: center; padding: 0 50px; z-index: 1000;
        }
        .nav-links { display: flex; gap: 30px; }
        .nav-link { color: #ffffff; text-decoration: none; font-size: 0.9rem; letter-spacing: 1px; text-transform: uppercase; transition: color 0.3s ease, text-shadow 0.3s ease; }
        .nav-link:hover { color: #fff; text-shadow: 0 0 10px rgba(255,255,255,0.8); }
        .header-logo { height: 55px; filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.8)); transition: filter 0.4s ease, transform 0.4s ease; display: block; }
        .header-logo:hover { filter: drop-shadow(0 0 30px rgba(255, 255, 255, 1)); transform: scale(1.05); }

        .mobile-top-logo, .mobile-bottom-nav { display: none; }

        /* СВЕЧЕНИЯ И АНИМАЦИИ */
        .glow-strong { text-shadow: 0 0 20px rgba(255, 255, 255, 0.9), 0 0 40px rgba(255, 255, 255, 0.7); }
        @keyframes fadeInUpElegant { 0% { opacity: 0; transform: translateY(40px) scale(0.98); filter: blur(8px); } 100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); } }
        
        html[data-reveal="active"] .anim-element.is-visible { animation: fadeInUpElegant 1s cubic-bezier(0.16, 1, 0.3, 1) backwards; }

        /* СЕКЦИИ */
        section { padding: 120px 10vw; display: flex; flex-direction: column; justify-content: center; }
        .section-title { font-family: var(--display-font, 'soyuz grotesk', sans-serif); font-size: clamp(3rem, 6vw, 5rem); margin-bottom: 50px; letter-spacing: -1px; text-shadow: 0 0 20px rgba(255, 255, 255, 0.7), 0 0 40px rgba(255, 255, 255, 0.4); color: #ffffff; }

        /* HERO ОБНОВЛЕННЫЙ */
        .hero-section { 
            min-height: 100vh; 
            padding-top: 150px; 
            display: flex;
            flex-direction: row;
            align-items: center;
            justify-content: space-between;
            gap: 50px;
        }
        
        .hero-content {
            flex: 1;
            max-width: 650px;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
        }

        .hero-title { font-family: var(--display-font, 'soyuz grotesk', sans-serif); font-size: clamp(3.5rem, 9vw, 8rem); line-height: 0.9; margin-bottom: 30px; }
        .hero-subtitle { font-size: clamp(1.2rem, 2vw, 1.8rem); color: #cccccc; max-width: 600px; line-height: 1.4; }
        
        /* Кнопка перехода к портфолио */
        .hero-btn {
            display: inline-flex;
            align-items: center;
            gap: 12px;
            background: #ffffff;
            color: #000000;
            padding: 18px 40px;
            border-radius: 30px;
            font-weight: 600;
            font-size: 1.2rem;
            text-decoration: none;
            margin-top: 40px;
            transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
        }
        .hero-btn:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
            background: #f0f0f0;
        }

        /* ПРАВАЯ ЧАСТЬ С КАРТОЧКАМИ */
        .hero-visual {
            flex: 1;
            position: relative;
            height: 600px;
            display: none; /* Скрыто на мобильных */
            perspective: 1000px;
        }

        @media (min-width: 1024px) {
            .hero-visual { display: block; }
        }

        .floating-card {
            position: absolute;
            width: 440px;  /* Увеличили ширину */
            height: 247px; /* Уменьшили высоту для идеальной пропорции 16:9 */
            border-radius: 16px; /* Чуть скруглили углы для горизонтальных экранов */
            background-size: cover;
            background-position: top center; /* Привязка к верху, чтобы точно было видно шапку проекта */
            border: 1px solid rgba(255, 255, 255, 0.15);
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
            transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, filter 0.4s ease, opacity 0.4s ease, z-index 0s;
            animation: float-card var(--duration) ease-in-out infinite alternate;
            cursor: pointer;
        }

        .floating-card:hover {
            border-color: rgba(255, 255, 255, 0.6);
            z-index: 10 !important;
            filter: blur(0) !important;
            opacity: 1 !important;
            box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(255, 255, 255, 0.2);
            animation-play-state: paused;
        }

        /* Обновленные позиции для широких карточек */
        .card-1 {
            top: 55%; right: -5%; z-index: 4;
            --rot: -4deg; --duration: 4.5s; --y-start: -50%; --y-end: -55%;
            box-shadow: 0 0 30px rgba(255, 255, 255, 0.05);
        }
        .card-2 {
            top: 35%; right: 10%; z-index: 3;
            --rot: -10deg; --duration: 5.2s; --y-start: -50%; --y-end: -46%;
            opacity: 0.85; filter: blur(2px);
        }
        .card-3 {
            top: 65%; right: 25%; z-index: 2;
            --rot: 6deg; --duration: 6s; --y-start: -50%; --y-end: -44%;
            opacity: 0.6; filter: blur(5px);
        }
        .card-4 {
            top: 20%; right: 35%; z-index: 1;
            --rot: -18deg; --duration: 7s; --y-start: -50%; --y-end: -42%;
            opacity: 0.3; filter: blur(8px);
        }

        @keyframes float-card {
            0% { transform: translateY(var(--y-start)) rotate(var(--rot)); }
            100% { transform: translateY(var(--y-end)) rotate(var(--rot)); }
        }

        /* ABOUT */
        .about-text { font-size: clamp(1.2rem, 2vw, 1.8rem); line-height: 1.6; max-width: 800px; color: #dddddd; }

        /* PORTFOLIO GRID */
        .portfolio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
        .portfolio-card {
            background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.1); border-radius: 20px;
            padding: 40px 30px; display: flex; flex-direction: column; justify-content: space-between;
            transition: transform 0.4s ease, border-color 0.4s ease, background 0.4s ease;
            text-decoration: none; color: white; min-height: 280px; cursor: pointer;
        }
        .portfolio-card:hover { transform: translateY(-10px); border-color: rgba(255,255,255,0.4); background: rgba(255,255,255,0.06); box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
        .portfolio-title, .service-title { font-family: var(--display-font, 'soyuz grotesk', sans-serif); color: #ffffff !important; margin-bottom: 15px; letter-spacing: 1px; }
        .portfolio-title { font-size: 2rem; }
        .portfolio-desc { font-size: 1.1rem; color: #aaaaaa; line-height: 1.5; margin-bottom: 20px; font-family: 'sf pro display', sans-serif; }
        .portfolio-tags { font-size: 0.9rem; font-weight: 600; letter-spacing: 1.5px; color: #ffffff; filter: blur(0.5px); text-transform: uppercase; }

        /* MODAL POP-UP */
        .modal-overlay {
            position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
            background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
            z-index: 100000; display: flex; justify-content: center; align-items: flex-start;
            opacity: 0; visibility: hidden; transition: opacity 0.4s ease, visibility 0.4s ease;
            overflow-y: auto; padding: 50px 20px;
        }
        .modal-overlay.active { opacity: 1; visibility: visible; }
        
        .modal-container {
            background: rgba(20, 20, 20, 0.8); border: 1px solid rgba(255,255,255,0.1);
            border-radius: 30px; width: 100%; max-width: 1000px; padding: 60px;
            position: relative; transform: translateY(40px) scale(0.95);
            transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
            display: flex; flex-direction: column; gap: 40px; margin: auto;
        }
        .modal-overlay.active .modal-container { transform: translateY(0) scale(1); }
        
        .modal-close {
            position: absolute; top: 25px; right: 30px; font-size: 3rem; color: #fff;
            background: none; border: none; cursor: pointer; line-height: 1;
            transition: transform 0.3s ease, text-shadow 0.3s ease; font-family: 'sf pro display', sans-serif;
            font-weight: 100; outline: none; z-index: 10;
        }
        .modal-close:hover { transform: rotate(90deg); text-shadow: 0 0 15px rgba(255,255,255,1); }

        .modal-header { display: flex; flex-direction: column; gap: 15px; }
        .modal-title { font-family: var(--display-font, 'soyuz grotesk', sans-serif); font-size: clamp(2.5rem, 5vw, 4rem); color: #fff; line-height: 1; }
        .modal-tags { color: #888; font-size: 1.1rem; letter-spacing: 1px; text-transform: uppercase; }
        
        .modal-body { display: flex; flex-direction: column; gap: 30px; color: #ddd; font-size: 1.2rem; line-height: 1.6; }
        .modal-text-block h4 { color: #fff; font-family: var(--display-font, 'soyuz grotesk', sans-serif); font-size: 1.5rem; margin-bottom: 10px; margin-top: 30px; letter-spacing: 0.5px; }
        .modal-text-block h4:first-child { margin-top: 0; }
        
        .modal-site-btn {
            display: flex; align-items: center; justify-content: center; gap: 12px;
            background: #ffffff; color: #000000; padding: 20px 40px; border-radius: 30px;
            font-weight: 600; font-size: 1.2rem; text-decoration: none;
            transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
            margin-top: 10px; width: 100%;
        }
        .modal-site-btn:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(255,255,255,0.3);
            background: #f0f0f0;
        }

        /* SERVICES GRID */
        .services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
        .service-card { background: rgba(20, 20, 20, 0.4); padding: 40px; border: 1px solid rgba(255,255,255,0.1); border-radius: 20px; transition: border-color 0.3s ease, background 0.3s ease; display: flex; flex-direction: column; }
        .service-card:hover { border-color: rgba(255,255,255,0.3); background: rgba(30, 30, 30, 0.6); }
        .service-title { font-size: 1.8rem; }
        .service-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 25px; }
        .s-tag { background: rgba(255,255,255,0.1); padding: 5px 15px; border-radius: 20px; font-size: 0.9rem; color: #cccccc; }
        .service-desc { color: #bbbbbb; line-height: 1.5; flex-grow: 1; margin-bottom: 30px; }
        .service-meta { display: flex; flex-direction: column; gap: 10px; margin-top: auto; }
        .service-time { color: #888888; font-size: 1rem; }
        .service-price { font-family: var(--display-font, 'soyuz grotesk', sans-serif); font-size: 2rem; color: #ffffff; }
        .service-price span { font-family: 'sf pro display', sans-serif; font-size: 1.2rem; font-weight: 400; }

        /* ПРОМО БЛОК КАЛЬКУЛЯТОРА И АКЦИИ */
        .calc-promo-card {
            margin-top: 50px;
            background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.01) 100%);
            border: 1px solid rgba(255,255,255,0.2);
            border-radius: 24px;
            padding: 40px 50px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 30px;
            position: relative;
            overflow: hidden;
            cursor: pointer;
            transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
        }
        

        .calc-promo-card::before {
            content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
            background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
            opacity: 0; transition: opacity 0.4s ease; pointer-events: none;
        }
        .calc-promo-card:hover { transform: translateY(-5px); border-color: rgba(255,255,255,0.5); box-shadow: 0 15px 40px rgba(255,255,255,0.05); }
        .calc-promo-card:hover::before { opacity: 1; }
        
        .calc-promo-badge {
            position: absolute; top: 25px; right: 25px; background: #ffffff; color: #000000;
            font-family: var(--display-font, 'soyuz grotesk', sans-serif); font-size: 0.8rem; padding: 6px 14px;
            border-radius: 20px; text-transform: uppercase; letter-spacing: 1px; box-shadow: 0 0 15px rgba(255,255,255,0.4);
        }
        
        .calc-promo-content { flex: 1; }
        .calc-promo-title { font-family: var(--display-font, 'soyuz grotesk', sans-serif); font-size: 2.2rem; margin-bottom: 15px; color: #ffffff; }
        .calc-promo-desc { font-size: 1.1rem; color: #cccccc; line-height: 1.5; max-width: 600px; }
        
        .calc-promo-btn {
            display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,0.1);
            border: 1px solid rgba(255,255,255,0.2); padding: 18px 30px; border-radius: 30px;
            color: #ffffff; font-weight: 600; font-size: 1.1rem; transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
        }
        .calc-promo-card:hover .calc-promo-btn { background: #ffffff; color: #000000; transform: scale(1.05); }

        /* ИДЕАЛЬНО ПЛАВНЫЙ FAQ */
        .faq-item { border-bottom: 1px solid rgba(255,255,255,0.15); }
        .faq-question { width: 100%; background: none; border: none; color: white; font-size: 1.5rem; font-weight: 600; text-align: left; padding: 25px 0; display: flex; justify-content: space-between; align-items: center; font-family: 'sf pro display', sans-serif; cursor: pointer; transition: color 0.3s ease; outline: none; }
        .faq-question:hover { text-shadow: 0 0 10px rgba(255,255,255,0.5); }
        .faq-icon { font-family: var(--display-font, 'soyuz grotesk', sans-serif); font-size: 2.5rem; line-height: 1; transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), text-shadow 0.3s ease; }
        .faq-item.active .faq-icon { transform: rotate(45deg); text-shadow: 0 0 15px rgba(255,255,255,0.9); }
        .faq-answer-wrapper { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
        .faq-item.active .faq-answer-wrapper { grid-template-rows: 1fr; }
        .faq-answer-content { overflow: hidden; }
        .faq-answer-content p { padding-bottom: 25px; color: #bbbbbb; font-size: 1.1rem; line-height: 1.6; max-width: 800px; }

        /* КОНТАКТЫ */
        

        /* МОБИЛЬНАЯ АДАПТАЦИЯ */
        @media (max-width: 768px) {
            .desktop-nav { display: none; }
            .mobile-top-logo {
                display: flex; position: fixed; top: 15px; left: 50%; transform: translateX(-50%);
                padding: 10px 45px; background: rgba(20, 20, 20, 0.6); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
                border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 30px; justify-content: center; align-items: center; z-index: 1000;
                box-shadow: 0 5px 25px rgba(0,0,0,0.5);
            }
            .mobile-top-logo a { display: flex; align-items: center; justify-content: center; text-decoration: none; outline: none; }
            .mobile-top-logo .header-logo { height: 35px; filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.8)); margin: 0; }

            .mobile-bottom-nav {
                display: flex; position: fixed; bottom: 25px; left: 50%; transform: translateX(-50%);
                width: 92%; max-width: 400px; height: 65px; background: rgba(20, 20, 20, 0.7); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
                border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 35px; justify-content: space-around; align-items: center; padding: 0 10px; z-index: 1000;
                box-shadow: 0 10px 40px rgba(0,0,0,0.6);
            }
            .mobile-bottom-nav .nav-link { font-size: 0.75rem; padding: 10px 5px; text-shadow: none; font-weight: 600; }
            
            section { padding: 80px 5vw; }
            
            /* Фиксы для первого экрана на мобильных */
            .hero-section { padding-top: 140px; min-height: 85vh; flex-direction: column; justify-content: center; text-align: left; }
            .hero-btn { width: 100%; justify-content: center; padding: 15px; margin-top: 30px; }

            .section-title { font-size: 13vw; margin-bottom: 30px; line-height: 1; }
            .hero-title { font-size: 16vw; margin-bottom: 20px; }
            .hero-subtitle { font-size: 4.5vw; line-height: 1.5; }
            
            .portfolio-grid, .services-grid { grid-template-columns: 1fr; gap: 20px; }
            .portfolio-card, .service-card { padding: 30px 20px; min-height: auto; }
            
            .modal-overlay { padding: 20px 10px; }
            .modal-container { width: calc(100% - 20px); margin: 20px auto 40px auto; padding: 35px 25px; gap: 25px; border-radius: 20px; }
            .modal-close { top: 15px; right: 20px; font-size: 2.5rem; }
            .modal-header { padding-right: 35px; }
            .modal-title { font-size: 2.2rem; word-wrap: break-word; }
            .modal-text-block h4 { font-size: 1.3rem; }
            .modal-body { font-size: 1rem; word-wrap: break-word; overflow-wrap: break-word; hyphens: auto; }
            
            .calc-promo-card { flex-direction: column; align-items: flex-start; padding: 40px 25px 30px 25px; gap: 20px; }
            .calc-promo-badge { top: 15px; right: 15px; font-size: 0.7rem; }
            .calc-promo-title { font-size: 1.8rem; margin-top: 10px; }
            .calc-promo-btn { width: 100%; justify-content: center; padding: 15px; }
            
            .faq-question { font-size: 1.2rem; padding: 20px 0; }
            .faq-icon { font-size: 2rem; }
            
            
        }
    
        
        
        html[lang="en"] .hero-title, html[lang="az"] .hero-title { overflow-wrap: anywhere; }
        @media (min-width: 769px) and (max-width: 1050px) {
            .glass-header { padding-inline: 20px; }
            .glass-header .nav-links { gap: 12px; }
            .glass-header .nav-link { letter-spacing: 0; }
        }
        @media (max-width: 768px) {
            .mobile-top-logo { gap: 12px; }
            .mobile-top-logo .site-language { margin-left: 8px; }
        }

        .calc-promo-card { color: inherit; text-decoration: none; }
        .portfolio-card[data-project="feelshop"] { --project-accent: #ff4640; }
        .portfolio-card[data-project="fotominutka"] { --project-accent: #76d9ef; }
        .portfolio-card[data-project="feelshop"], .portfolio-card[data-project="fotominutka"] {
            background: linear-gradient(145deg, color-mix(in srgb, var(--project-accent) 19%, #101010), #101010 64%);
            border-top-color: var(--project-accent);
        }
        
        html[lang="az"] #hero-heading { font-size: clamp(3rem, 7.5vw, 7rem); }
        @media (max-width: 768px) {
            
            html[lang="az"] #hero-heading { font-size: 13vw; }
        }

    

.hero-section .hero-content { min-width: 0; }
#hero-heading { font-size: clamp(3.15rem, 7.4vw, 7.25rem); letter-spacing: -.04em; line-height: .95; }
html:is([lang="az"], [lang="en"]) .hero-content { width: 100%; container-type: inline-size; }
html[lang="az"] #hero-heading { font-size: clamp(1.7rem, 5.6vw, 6.15rem); font-size: clamp(1.7rem, 13.4cqi, 6.15rem); }
html[lang="en"] #hero-heading { font-size: clamp(1.7rem, 4.8vw, 6.15rem); font-size: clamp(1.7rem, 11.2cqi, 6.15rem); }
.hero-heading-line { display: block; overflow-wrap: normal; white-space: nowrap; }
#baku { gap: 1.35rem; }
#baku .section-title { margin-bottom: 0; font-size: clamp(2.2rem, 5vw, 4.8rem); }
.local-intro, .local-faq p { max-width: 68ch; line-height: 1.6; color: #d4d4d4; }
.local-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.local-grid article, .local-faq { border: 1px solid #535353; border-radius: 1rem; padding: 1.25rem; background: #101010; }
.local-grid h3, .local-faq h3 { font-size: 1.15rem; margin-bottom: .6rem; }
.local-grid p { color: #d4d4d4; line-height: 1.5; }
.local-actions { display: flex; flex-wrap: wrap; gap: .9rem 1.5rem; }
.local-actions a, .case-actions a { color: #fff; text-underline-offset: .2em; }
a.portfolio-card { color: inherit; text-decoration: none; }
a.portfolio-card:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@media (max-width: 768px) {
    #hero-heading { font-size: clamp(2.3rem, 11.5vw, 5rem); }
    .local-grid { grid-template-columns: 1fr; }
}

/* Language navigation keeps the platform cursor over its controls. */
.site-language { position: relative; flex: 0 0 auto; z-index: 2; }
.site-language summary, .site-language a {
    cursor: pointer !important;
    color: #fff;
    font: inherit;
    font-size: .875rem;
}
.site-language summary {
    display: flex; align-items: center; gap: .5rem;
    list-style: none; min-height: 40px; padding: .4rem .65rem;
    border: 1px solid #737373; border-radius: .65rem; background: #181818;
}
.site-language summary::-webkit-details-marker { display: none; }
.site-language summary::after { content: '⌄'; font-size: .85rem; }
.site-language .language-options {
    position: absolute; top: calc(100% + .4rem); right: 0;
    display: block; min-width: 9rem; padding: .25rem; background: #181818;
    border: 1px solid #737373; border-radius: .65rem; box-shadow: 0 8px 30px #000a;
}
.site-language .language-options a {
    display: block; padding: .55rem .65rem; border-radius: .4rem;
    text-decoration: none; text-align: start; white-space: nowrap;
}
.site-language .language-options a[aria-current="page"] { background: #383838; }
.site-language .language-options a:hover { background: #505050; }
.site-language :is(summary, a):focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
body:has(.site-language:hover) > .custom-cursor { visibility: hidden; }
html:not(.pointer-ready) .custom-cursor { visibility: hidden; }
html:not(.pointer-ready) * { cursor: revert !important; }
html:not(.pointer-ready) .site-language :is(summary, a) { cursor: pointer !important; }
html { scroll-padding-top: 105px; }
html:is([data-reveal="pending"], [data-reveal="active"]) .anim-element:not(.hero-section *, .is-visible) { opacity: 0; }
@media (pointer: coarse) { .custom-cursor { display: none !important; } }
@media (min-width: 769px) and (max-width: 1050px) {
    .glass-header { padding-inline: 20px; }
    .glass-header .nav-links { gap: 12px; }
    .glass-header .nav-link { letter-spacing: 0; }
}
@media (max-width: 768px) {
    .mobile-top-logo { gap: 12px; }
    .mobile-top-logo .site-language { margin-left: 8px; }
    html { scroll-padding-top: 80px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
    html:is([data-reveal="pending"], [data-reveal="active"]) .anim-element { animation: none !important; opacity: 1 !important; }
    html { scroll-behavior: auto !important; }
}
@font-face {
    font-family: 'Manrope';
    src: url('../fonts/Manrope.ttf') format('truetype');
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
}
html[lang="az"] { --display-font: 'Manrope', 'Segoe UI', Arial, sans-serif; }
html[lang="az"] :is(.hero-title, .section-title, .page-title, .modal-title, .case-main h1) {
    font-weight: 800;
    line-height: 1.05;
}



.site-contact {
    width: 80vw;
    margin: 0 auto clamp(3rem, 6vw, 6rem);
    padding: clamp(1.4rem, 3.6vw, 3.8rem);
    border: 1px solid #434343;
    border-radius: clamp(1rem, 2vw, 1.5rem);
    background: radial-gradient(ellipse at top left, #242424, transparent 72%), #101010;
    display: grid;
    gap: clamp(1.25rem, 2.6vw, 2.5rem);
}
.site-contact h2 {
    margin: 0;
    color: #f5f5f5;
    font: 600 clamp(1.85rem, 3.25vw, 3.4rem)/1.1 'sf pro display', system-ui, sans-serif;
    letter-spacing: -.035em;
}
.contact-links {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(.6rem, 1.2vw, 1rem);
}
.contact-link {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    min-height: 70px;
    padding: .65rem clamp(.75rem, 1.65vw, 1.4rem);
    border: 1px solid #505050;
    border-radius: .85rem;
    background: #161616;
    color: #f3f3f3;
    font-size: clamp(.98rem, 1.5vw, 1.2rem);
    font-weight: 600;
    text-decoration: none;
    transition: background .2s, border-color .2s;
}
.contact-link:hover { background: #242424; border-color: #a0a0a0; }
.contact-link:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.contact-link-pin { color: #c5c5c5; display: block; font-size: .83rem; font-weight: 400; margin-top: .15rem; white-space: nowrap; }
.contact-link-arrow { color: #ababab; margin-left: .1em; }
.service-price .currency-symbol {
    font-family: system-ui, 'Segoe UI', Arial, sans-serif;
    font-size: .62em;
    font-weight: 600;
    white-space: nowrap;
}
.calc-wrapper + .site-contact { width: calc(min(100%, 1800px) - 20vw); }
.case-main + .site-contact { width: min(100% - 2.5rem, 880px); }
@media (max-width: 950px) {
    .contact-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
    .site-contact, .calc-wrapper + .site-contact { width: 90vw; }
    .site-contact { margin-bottom: 115px; }
}
@media (max-width: 350px) {
    .contact-links { grid-template-columns: 1fr; }
}
