﻿:root {
    --navy: #1a2744;
    --navy-dark: #121b30;
    --navy-light: #243456;
    --white: #ffffff;
    --silver: #e8ecf2;
    --silver-mid: #c5cdd8;
    --silver-dark: #9aa5b5;
    --text: #1a2744;
    --text-muted: #5a6578;
    --glass-border: rgba(255, 255, 255, 0.55);
    --glass-bg: linear-gradient(145deg, rgba(255, 255, 255, 0.92) 0%, rgba(220, 228, 238, 0.78) 100%);
    --shadow: 0 8px 32px rgba(26, 39, 68, 0.12);
    --radius: 12px;
    --radius-lg: 16px;
    --font: 'Inter', system-ui, -apple-system, sans-serif;
    --container: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.6;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

.container {
    width: min(var(--container), calc(100% - 40px));
    margin-inline: auto;
}

.bg-mesh {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        linear-gradient(135deg, transparent 48%, rgba(26, 39, 68, 0.03) 49%, rgba(26, 39, 68, 0.03) 51%, transparent 52%) 0 0 / 80px 80px,
        linear-gradient(45deg, transparent 48%, rgba(26, 39, 68, 0.025) 49%, rgba(26, 39, 68, 0.025) 51%, transparent 52%) 0 0 / 80px 80px;
    opacity: 0.6;
}

.site-header,
main,
.site-footer { position: relative; z-index: 1; }

/* Header */
.site-header {
    background: var(--navy);
    color: var(--white);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: 68px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.06em;
    color: var(--white);
    flex-shrink: 0;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    border-radius: 8px;
    color: var(--white);
}

.main-nav { margin-left: auto; }

.main-nav ul {
    display: flex;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav a {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.2s;
}

.main-nav a:hover { color: var(--white); }

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lang-btn,
.search-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.85);
    cursor: pointer;
    font-family: var(--font);
    font-size: 13px;
    font-weight: 600;
    padding: 6px;
    transition: color 0.2s;
}

.lang-btn:hover,
.search-btn:hover { color: var(--white); }

.search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    text-decoration: none;
}

.btn:hover { transform: translateY(-1px); }

.btn-silver {
    background: linear-gradient(180deg, #f0f3f8 0%, #d4dce8 100%);
    color: var(--navy);
    padding: 14px 28px;
    box-shadow: 0 4px 16px rgba(26, 39, 68, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.btn-silver:hover {
    box-shadow: 0 6px 24px rgba(26, 39, 68, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.btn-silver-outline {
    background: rgba(255, 255, 255, 0.5);
    color: var(--navy);
    padding: 10px 20px;
    border: 1px solid var(--silver-mid);
    width: 100%;
}

.btn-silver-outline:hover {
    background: rgba(255, 255, 255, 0.8);
    border-color: var(--navy);
}

.btn-navy {
    background: var(--navy);
    color: var(--white);
    padding: 10px 22px;
}

.btn-navy:hover {
    background: var(--navy-light);
    box-shadow: 0 4px 16px rgba(26, 39, 68, 0.3);
}

.btn-lg { padding: 16px 32px; font-size: 13px; }
.btn-sm { padding: 9px 18px; }
.btn-block { width: 100%; }

/* Silver glass card */
.silver-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Hero */
.hero {
    background: var(--navy);
    color: var(--white);
    padding: 72px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 40%;
    height: 100%;
    background:
        linear-gradient(135deg, transparent 48%, rgba(255, 255, 255, 0.04) 49%, rgba(255, 255, 255, 0.04) 51%, transparent 52%) 0 0 / 60px 60px,
        linear-gradient(45deg, transparent 48%, rgba(255, 255, 255, 0.03) 49%, rgba(255, 255, 255, 0.03) 51%, transparent 52%) 0 0 / 60px 60px;
    pointer-events: none;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    position: relative;
}

.hero-title {
    margin: 0 0 20px;
    font-size: clamp(26px, 3.2vw, 38px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.hero-sub {
    margin: 0 0 32px;
    font-size: 16px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.78);
    max-width: 480px;
}

.hero-visual { position: relative; }

.hero-photo {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    object-fit: cover;
    aspect-ratio: 4 / 3;
}

/* Sections */
.section {
    padding: 72px 0;
    position: relative;
}

.section-title {
    margin: 0 0 40px;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--navy);
}

.services-section {
    background: var(--white);
}

.services-section::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 35%;
    height: 100%;
    background:
        linear-gradient(135deg, transparent 48%, rgba(26, 39, 68, 0.04) 49%, rgba(26, 39, 68, 0.04) 51%, transparent 52%) 0 0 / 50px 50px;
    pointer-events: none;
}

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

.service-card {
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(26, 39, 68, 0.08);
    color: var(--navy);
}

.service-card h3 {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: var(--navy);
}

.service-card p {
    margin: 0;
    flex: 1;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.65;
}

.service-card .btn { align-self: flex-start; margin-top: 8px; }

/* Industries */
.industries-section { background: #f7f9fc; }

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

.industry-card {
    background: var(--navy);
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.industry-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(26, 39, 68, 0.25);
}

.industry-icon {
    display: flex;
    align-items: center;
    color: var(--silver-mid);
}

.industry-card h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
}

.industry-card p {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
}

/* Experts */
.experts-section { background: var(--white); }

.experts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.expert-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow);
    border: 1px solid rgba(26, 39, 68, 0.08);
}

.expert-photo img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.expert-info {
    padding: 22px 24px 28px;
}

.expert-info h3 {
    margin: 0 0 4px;
    font-size: 17px;
    font-weight: 700;
    color: var(--navy);
}

.expert-role {
    margin: 0 0 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--silver-dark);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.expert-bio {
    margin: 0;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.65;
}

/* Cases */
.cases-section { background: #f7f9fc; }

.partners-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
    margin-bottom: 48px;
    padding: 24px 0;
    border-bottom: 1px solid rgba(26, 39, 68, 0.08);
}

.partner-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    opacity: 0.55;
    filter: grayscale(1);
    transition: opacity 0.2s;
}

.partner-logo:hover { opacity: 0.85; }

.partner-abbr {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: var(--navy);
}

.partner-name {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

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

.case-card { overflow: hidden; }

.case-image img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.case-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.case-body h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--navy);
}

.case-result-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--silver-dark);
}

.case-result p {
    margin: 6px 0 0;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

.case-metrics {
    display: flex;
    gap: 24px;
}

.case-metric-value {
    display: block;
    font-size: 22px;
    font-weight: 800;
    color: var(--navy);
}

.case-metric-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--silver-dark);
}

/* Footer */
.site-footer {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.85);
    padding-top: 56px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 40px;
    padding-bottom: 40px;
}

.footer-brand .logo { margin-bottom: 20px; }

.footer-address,
.footer-email,
.footer-phone {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 10px;
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.7);
}

.footer-address .icon,
.footer-email .icon,
.footer-phone .icon {
    flex-shrink: 0;
    margin-top: 2px;
    opacity: 0.7;
}

.footer-email a,
.footer-phone a {
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.2s;
}

.footer-email a:hover,
.footer-phone a:hover { color: var(--white); }

.footer-col h4 {
    margin: 0 0 16px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--white);
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-col li { margin-bottom: 8px; }

.footer-col a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
    transition: color 0.2s;
}

.footer-col a:hover { color: var(--white); }

.footer-social {
    display: flex;
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.75);
    transition: background 0.2s, color 0.2s;
}

.footer-social a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
}

.footer-bottom p {
    margin: 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
}

/* Contact modal */
.contact-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s, visibility 0.25s;
}

.contact-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.contact-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(26, 39, 68, 0.6);
    backdrop-filter: blur(4px);
}

.contact-modal-panel {
    position: relative;
    width: min(440px, 100%);
    padding: 36px 32px;
    z-index: 1;
}

.contact-modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    color: var(--text-muted);
    cursor: pointer;
}

.contact-modal h2 {
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 800;
    color: var(--navy);
}

.contact-modal-sub {
    margin: 0 0 24px;
    font-size: 14px;
    color: var(--text-muted);
}

.contact-form label {
    display: block;
    margin-bottom: 16px;
}

.contact-form label span {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--navy);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px 14px;
    font-family: var(--font);
    font-size: 14px;
    border: 1px solid var(--silver-mid);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.8);
    color: var(--text);
    transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--navy);
}

.contact-form textarea { resize: vertical; min-height: 80px; }

/* Toast */
.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(80px);
    background: var(--navy);
    color: var(--white);
    padding: 14px 24px;
    border-radius: 10px;
    font-size: 14px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    z-index: 300;
    opacity: 0;
    transition: transform 0.3s, opacity 0.3s;
    pointer-events: none;
    max-width: calc(100% - 40px);
    text-align: center;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; }
    .hero-visual { order: -1; max-width: 520px; }
    .services-grid,
    .cases-grid { grid-template-columns: repeat(2, 1fr); }
    .industries-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .main-nav {
        position: fixed;
        top: 68px;
        left: 0;
        right: 0;
        background: var(--navy-dark);
        padding: 20px;
        transform: translateY(-120%);
        opacity: 0;
        transition: transform 0.3s, opacity 0.3s;
        pointer-events: none;
    }

    .main-nav.is-open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 16px;
    }

    .menu-toggle { display: flex; }

    .services-grid,
    .industries-grid,
    .experts-grid,
    .cases-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid { grid-template-columns: 1fr; }

    .partners-row { gap: 20px; }

    .hero { padding: 48px 0 56px; }
    .section { padding: 56px 0; }
}
