:root {
    --primary: #3e3e3e;
    --accent: #ff4848;
    --accent-dark: #e63636;
    --accent-light: #ff6b6b;
    --accent-bg: #fff0f0;
    --text: #575757;
    --text-light: #888888;
    --bg: #ffffff;
    --bg-alt: #f8f8f8;
    --border: #bfbfbf;
    --border-light: #e5e5e5;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.08);
}

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

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    transition: box-shadow 0.3s;
}

.navbar.scrolled { box-shadow: var(--shadow); }

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    text-decoration: none;
}

.logo-text {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.03em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-light);
    font-size: 0.88rem;
    font-weight: 500;
    transition: color 0.2s;
}

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

.nav-cta {
    background: var(--accent) !important;
    color: white !important;
    padding: 8px 20px;
    border-radius: 8px;
    transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--accent-dark) !important; }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lang-switcher {
    position: relative;
}

.lang-current {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-alt);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 7px 12px;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text);
    transition: all 0.2s;
}

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

.lang-current svg {
    transition: transform 0.2s;
}

.lang-dropdown.open + .lang-current svg,
.lang-dropdown {
    display: none;
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    min-width: 160px;
    z-index: 200;
}

.lang-dropdown.open {
    display: block;
}

.lang-opt {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 16px;
    border: none;
    background: none;
    font-family: inherit;
    font-size: 0.85rem;
    color: var(--text);
    cursor: pointer;
    transition: background 0.15s;
    text-align: left;
}

.lang-opt:hover {
    background: var(--bg-alt);
}

.lang-opt.active {
    color: var(--accent);
    font-weight: 600;
}

.lang-flag {
    font-size: 1.1rem;
}

.mobile-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 28px;
    height: 20px;
    position: relative;
    flex-direction: column;
    justify-content: space-between;
}

.mobile-menu span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: all 0.3s;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 24px 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #f8f8f8 0%, #e5e5e5 30%, #f8f8f8 70%, #fff0f0 100%);
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,72,72,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,72,72,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--primary);
    margin-bottom: 24px;
}

.hero-highlight {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 1.12rem;
    color: var(--text-light);
    max-width: 640px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 64px;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.btn-primary {
    background: var(--accent);
    color: white;
    box-shadow: 0 4px 14px rgba(255,72,72,0.25);
}

.btn-primary:hover {
    background: var(--accent-dark);
    box-shadow: 0 6px 20px rgba(255,72,72,0.35);
    transform: translateY(-1px);
}

.btn-outline {
    background: white;
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.stat { display: flex; flex-direction: column; align-items: center; }

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 500;
    margin-top: 4px;
}

/* ===== SECTIONS ===== */
.section { padding: 100px 0; }
.section-alt { background: var(--bg-alt); }

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--primary);
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ===== SERVICES ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--bg-alt);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    border: 1px solid var(--border-light);
    transition: all 0.3s;
}

.service-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-light);
    transform: translateY(-3px);
}

.service-featured {
    grid-row: span 2;
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.service-featured p { color: rgba(255,255,255,0.7); }
.service-featured .service-icon { color: var(--accent); }

.service-icon {
    width: 44px;
    height: 44px;
    color: var(--accent);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: inherit;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.92rem;
    line-height: 1.6;
}

.service-list {
    list-style: none;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-list li {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.6);
    padding-left: 20px;
    position: relative;
}

.service-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
}

/* ===== TECHNOLOGY ===== */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.tech-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    border: 1px solid var(--border-light);
    transition: all 0.3s;
}

.tech-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.tech-icon {
    width: 48px;
    height: 48px;
    color: var(--accent);
    margin: 0 auto 20px;
}

.tech-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary);
}

.tech-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ===== AI SOLUTIONS ===== */
.section-ai {
    background: linear-gradient(135deg, #3e3e3e 0%, #2a2a2a 100%);
    color: white;
    padding: 120px 0;
}

.ai-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.ai-text .section-tag { color: var(--accent-light); }

.ai-text h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 20px;
}

.text-accent { color: var(--accent); }

.ai-intro {
    color: rgba(255,255,255,0.7);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 36px;
}

.ai-steps {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 36px;
}

.ai-step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.ai-step-num {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--accent);
    flex-shrink: 0;
    width: 40px;
}

.ai-step h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.ai-step p {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    line-height: 1.5;
}

.ai-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.ai-feature-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    padding: 24px;
    transition: all 0.3s;
}

.ai-feature-card:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--accent);
}

.ai-feature-card svg {
    width: 28px;
    height: 28px;
    color: var(--accent);
    margin-bottom: 14px;
}

.ai-feature-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.ai-feature-card p {
    color: rgba(255,255,255,0.55);
    font-size: 0.82rem;
    line-height: 1.5;
}

/* ===== INDUSTRIES ===== */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.industry-card {
    background: white;
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    border: 1px solid var(--border-light);
    transition: all 0.3s;
}

.industry-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.industry-icon {
    width: 48px;
    height: 48px;
    color: var(--accent);
    margin: 0 auto 16px;
}

.industry-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--primary);
}

.industry-card p {
    color: var(--text-light);
    font-size: 0.85rem;
    line-height: 1.6;
}

/* ===== CERTIFICATIONS ===== */
.certs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.cert-card {
    text-align: center;
    padding: 40px 24px;
    border-radius: var(--radius-lg);
    background: var(--bg-alt);
    border: 1px solid var(--border-light);
    transition: all 0.3s;
}

.cert-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-light);
}

.cert-badge {
    display: inline-block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 12px;
}

.cert-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--primary);
}

.cert-card p {
    color: var(--text-light);
    font-size: 0.85rem;
    line-height: 1.6;
}

/* ===== LOCATIONS ===== */
.locations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.location-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    border: 1px solid var(--border-light);
    transition: all 0.3s;
    position: relative;
}

.location-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.location-new {
    border-color: var(--accent-light);
    background: linear-gradient(135deg, white, var(--accent-bg));
}

.location-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--accent);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.location-flag {
    width: 48px;
    height: 36px;
    margin-bottom: 20px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.location-card h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 4px;
}

.location-role {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 12px;
}

.location-card > p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.location-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

.location-details span {
    font-size: 0.82rem;
    color: var(--text-light);
}

.location-link {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s;
}

.location-link:hover { color: var(--accent-dark); }

/* ===== ABOUT / VALUES ===== */
.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.about-text .section-tag { margin-bottom: 16px; }

.about-text h2 {
    font-size: clamp(1.8rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 20px;
    line-height: 1.2;
}

.about-text p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.value-item {
    background: var(--bg-alt);
    border-radius: var(--radius);
    padding: 24px;
    border: 1px solid var(--border-light);
}

.value-item h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.value-item p {
    color: var(--text-light);
    font-size: 0.85rem;
    line-height: 1.5;
}

/* ===== CONTACT ===== */
.section-contact {
    background: linear-gradient(135deg, #3e3e3e 0%, #2a2a2a 100%);
    color: white;
    padding: 100px 0;
}

.contact-centered {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.contact-centered h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.contact-centered > p {
    color: rgba(255,255,255,0.6);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 40px;
}

.contact-email-main {
    margin-bottom: 56px;
}

.contact-email-main a {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s;
    letter-spacing: -0.01em;
}

.contact-email-main a:hover {
    color: var(--accent-light);
}

.contact-offices {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    text-align: left;
}

.contact-office h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.contact-office span,
.contact-office a {
    display: block;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: color 0.2s;
    line-height: 1.6;
}

.contact-office a:hover { color: var(--accent); }

.btn-submit {
    width: 100%;
    justify-content: center;
    padding: 16px;
    font-size: 1rem;
    margin-top: 4px;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--primary);
    color: rgba(255,255,255,0.6);
    padding: 64px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo-text {
    font-size: 1.4rem;
    color: white;
}

.footer-brand p {
    margin-top: 12px;
    font-size: 0.85rem;
    line-height: 1.6;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-col h4 {
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.footer-col a {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.45);
    text-decoration: none;
    transition: color 0.2s;
}

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

.footer-certs {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 24px;
}

.footer-certs span {
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255,255,255,0.3);
    letter-spacing: 0.04em;
}

.footer-bottom {
    text-align: center;
    font-size: 0.78rem;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-in {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.animate-in:nth-child(2) { animation-delay: 0.1s; }
.animate-in:nth-child(3) { animation-delay: 0.2s; }
.animate-in:nth-child(4) { animation-delay: 0.3s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: 1fr; }
    .service-featured { grid-row: span 1; }
    .tech-grid { grid-template-columns: 1fr 1fr; }
    .industries-grid { grid-template-columns: 1fr 1fr; }
    .certs-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
    .ai-layout { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--border-light);
        box-shadow: var(--shadow-lg);
    }

    .nav-links.open { display: flex; }

    .nav-cta {
        text-align: center;
    }

    .mobile-menu { display: flex; }

    .hero {
        min-height: auto;
        padding: 120px 24px 60px;
    }

    .hero h1 { font-size: 2.2rem; }
    .hero-stats { gap: 24px; }
    .stat-number { font-size: 1.5rem; }

    .services-grid,
    .tech-grid,
    .industries-grid,
    .certs-grid,
    .locations-grid { grid-template-columns: 1fr; }

    .ai-features { grid-template-columns: 1fr; }

    .about-layout,
    .contact-offices { grid-template-columns: 1fr; }

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

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .footer-certs { flex-wrap: wrap; }
}
