:root {
    --cobalt: #0047FF;
    --dark-cobalt: #0036CC;
    --bg-white: #FFFFFF;
    --text-white: #FFFFFF;
    --text-dark: #000000;
    --accent: #FFFFFF;
    --font-main: 'Inter', sans-serif;
    --radius-none: 0px;
    --container-width: 1400px;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.2;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
}

/* Typography */
h1, h2, h3 {
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.04em;
    line-height: 0.9;
}

/* Header */
header {
    background: transparent;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 30px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: 900;
    color: var(--text-white);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo span {
    color: var(--cobalt);
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-white);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.header-actions {
    display: flex;
    gap: 24px;
    align-items: center;
    color: var(--text-white);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 800px;
    background: #000;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding-bottom: 100px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    filter: grayscale(1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,71,255,0.9) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    color: var(--text-white);
    width: 100%;
}

.hero h1 {
    font-size: clamp(60px, 12vw, 180px);
    margin-bottom: 40px;
}

.hero-bottom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: flex-start;
}

.hero-subinfo {
    font-size: 24px;
    font-weight: 800;
    line-height: 1.1;
}

.hero-cta-box {
    max-width: 500px;
}

.hero-cta-box p {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn-white-outline {
    display: inline-block;
    padding: 15px 40px;
    border: 1px solid white;
    color: white;
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 14px;
    transition: 0.3s;
}

.btn-white-outline:hover {
    background: white;
    color: var(--cobalt);
}

/* Ticker Animation */
.ticker-section {
    background: var(--cobalt);
    color: white;
    padding: 40px 0;
    white-space: nowrap;
    overflow: hidden;
    border-top: 1px solid rgba(255,255,255,0.2);
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.ticker-wrap {
    display: flex;
    animation: ticker 40s linear infinite;
}

.ticker-item {
    font-size: 80px;
    font-weight: 900;
    text-transform: uppercase;
    padding: 0 50px;
    display: flex;
    align-items: center;
    gap: 40px;
}

.ticker-item span.dot {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: inline-block;
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* Services / Grid Section */
.services-section {
    background: var(--cobalt);
    color: white;
    padding: 120px 0;
}

.grid-layout {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 40px;
    transition: 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: white; /* default text color for cards */
    text-decoration: none; /* remove link underlines */
}

.card:hover {
    background: white;
    color: var(--cobalt);
}

.card h3 {
    font-size: 24px;
    margin-bottom: 20px;
    text-transform: none;
}

.card p {
    font-size: 14px;
    opacity: 0.8;
}

.card-icon {
    margin-top: 40px;
    font-size: 32px;
}

/* Team / Specialist Section */
.team-section {
    background: var(--cobalt);
    color: white;
    padding: 120px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.team-card {
    position: relative;
}

.team-img {
    width: 100%;
    aspect-ratio: 4/5;
    background: #222;
    overflow: hidden;
    margin-bottom: 20px;
}

.team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1);
}

.team-card:hover .team-img img {
    filter: none;
}

.team-info h4 {
    font-weight: 800;
    font-size: 18px;
    text-transform: uppercase;
}

.team-info p {
    font-size: 11px;
    text-transform: uppercase;
    opacity: 0.6;
    margin-bottom: 8px;
}

/* Cases Grid (Full Width feel) */
.cases-section {
    padding: 120px 0;
    background: white;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.case-card {
    background: white;
    color: black;
    border: 1px solid black;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.case-card:hover {
    transform: translateY(-10px);
}

.case-img {
    height: 300px;
    width: 100%;
    overflow: hidden;
    background: #000;
}

.case-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.5s ease, transform 0.5s ease;
}

.case-card:hover .case-img img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.case-text {
    padding: 30px;
}

.case-text h4 {
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 10px;
    text-transform: uppercase;
}

/* About Section Grids */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    margin-bottom: 120px;
}

.about-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

/* New Sections for V11 Russian Content */
.focus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.1);
}

.focus-item {
    background: var(--cobalt);
    padding: 40px 20px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.1);
}

.focus-item span {
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
}

.banner-cobalt {
    background: white;
    color: black;
    padding: 100px 0;
    margin: 100px 0;
    border: 1px solid black;
}

.banner-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.process-card {
    border-top: 1px solid rgba(255,255,255,0.3);
    padding-top: 30px;
}

.process-num {
    font-size: 14px;
    font-weight: 900;
    display: block;
    margin-bottom: 20px;
    opacity: 0.5;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
    background: rgba(255,255,255,0.1);
}

.why-card {
    background: var(--cobalt);
    padding: 60px;
    border: 1px solid rgba(255,255,255,0.1);
}

.why-card i {
    margin-bottom: 30px;
    display: block;
}

/* Form Section */
.contact-section {
    background: var(--cobalt);
    color: white;
    padding: 120px 0;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
}

.contact-form input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(255,255,255,0.3);
    padding: 20px 0;
    color: white;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 40px;
    outline: none;
}

.contact-form input::placeholder {
    color: rgba(255,255,255,0.4);
}

.contact-form button {
    background: transparent;
    border: 2px solid white;
    padding: 20px 60px;
    color: white;
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s;
}

.contact-form button:hover {
    background: white;
    color: var(--cobalt);
}

/* Footer Info Area */
.footer-info {
    padding: 80px 0;
    background: var(--cobalt);
    color: white;
    border-top: 1px solid rgba(255,255,255,0.2);
    display: flex;
    justify-content: space-between;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 14px;
}

@media (max-width: 1200px) {
    .container { padding: 0 40px; }
    .grid-layout { grid-template-columns: repeat(2, 1fr); }
    .team-grid { grid-template-columns: repeat(3, 1fr); }
    .hero h1 { font-size: 100px; }
}

@media (max-width: 992px) {
    .hero-bottom-grid { grid-template-columns: 1fr; gap: 40px; }
    .banner-grid { grid-template-columns: 1fr; gap: 40px; }
    .contact-layout { grid-template-columns: 1fr; gap: 60px; }
    .about-grid { grid-template-columns: 1fr !important; gap: 60px !important; }
}

@media (max-width: 768px) {
    .container { padding: 0 20px; }
    
    header { padding: 20px 0; }
    .logo { font-size: 20px; }
    .header-actions div { display: none; }
    .header-actions i { width: 24px; height: 24px; cursor: pointer; }
    
    .nav-links { display: none; }
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0; left: 0; width: 100%; height: 100vh;
        background: var(--dark-cobalt);
        z-index: 10000;
        justify-content: center;
        align-items: center;
        gap: 40px;
    }
    .nav-links.active a {
        font-size: 24px;
        opacity: 0.9;
    }
    .mobile-close {
        position: absolute;
        top: 25px;
        right: 20px;
        cursor: pointer;
        color: white;
        z-index: 10001;
    }

    .hero { height: auto; min-height: 100vh; padding: 120px 0 60px; }
    .hero h1 { font-size: 42px !important; line-height: 1 !important; margin-bottom: 20px !important; word-break: break-word; }
    .hero-subinfo { font-size: 16px; margin-bottom: 30px; }
    
    .ticker-section { padding: 20px 0; }
    .ticker-item { font-size: 32px; padding: 0 15px; gap: 15px; }
    .ticker-item span.dot { width: 15px; height: 15px; }
    
    .services-section h2, .team-section h2, #faq h2, #contact h2 { 
        font-size: 48px !important; 
        text-align: left !important;
        margin-bottom: 30px !important;
    }

    .why-us-center h2 {
        font-size: 48px !important;
        text-align: center !important;
        margin-bottom: 30px !important;
    }

    .why-card {
        text-align: center;
        padding: 40px 20px !important;
    }

    .why-card i {
        margin-left: auto;
        margin-right: auto;
    }

    .about-grid h2 { font-size: 42px !important; }
    .about-stats-grid h4 { font-size: 32px !important; }

    .grid-layout, .case-grid, .process-grid, .why-grid, .about-stats-grid { 
        grid-template-columns: 1fr !important; 
    }

    .case-card { margin-bottom: 20px; }
    .case-img { height: 250px; }
    
    .banner-cobalt { padding: 60px 0; margin: 60px 0; }
    .banner-cobalt h3 { font-size: 32px !important; }
    
    .process-card { border-top: 1px solid rgba(255,255,255,0.3); padding-top: 20px; margin-bottom: 30px; }
    
    .contact-section h2 { font-size: 60px !important; }
    .contact-form input { font-size: 18px; }
    
    .hero-cta-box > div {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 20px !important;
    }

    div[style*="column"] { /* specifically targeting any inline grid overriding */
        grid-template-columns: 1fr !important;
    }
    
    .banner-cobalt { padding: 60px 0 !important; margin: 60px 0 !important; }
    
    .modal-content { 
        grid-template-columns: 1fr !important; 
        padding: 60px 20px 40px !important;
        gap: 30px !important;
        overflow-y: auto;
        max-height: 90vh;
        align-self: flex-start;
        margin-top: 40px;
    }
    .modal-content div[id="modalImage"] { height: 250px !important; }
    .modal-content h3 { font-size: 28px !important; margin-bottom: 20px !important; }
}
