:root { 
    --bg-color: #050505; 
    --text-color: #F2F2F2; 
    --text-muted: #cccccc; 
    --line-color: #333333; 
    --accent-color: #ffffff; 
    --font-stack: 'Inter', sans-serif; 
    --pad: 2rem; 
    --header-height: 80px; 
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body { 
    background-color: var(--bg-color); 
    color: var(--text-color); 
    font-family: var(--font-stack); 
    font-size: 16px; 
    line-height: 1.6; 
    overflow-x: hidden; 
}

a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
a:hover { opacity: 0.8; }

.label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: #888; display: block; margin-bottom: 0.5rem; }
.section-title { font-size: 2rem; font-weight: 400; margin-bottom: 3rem; border-bottom: 1px solid var(--line-color); padding-bottom: 1rem; display: inline-block; }

/* --- HEADER --- */
.header { display: flex; justify-content: space-between; align-items: center; padding: 0 var(--pad); height: var(--header-height); border-bottom: 1px solid var(--line-color); position: sticky; top: 0; background: rgba(5, 5, 5, 0.9); backdrop-filter: blur(10px); z-index: 1000; }
.logo { font-weight: 600; letter-spacing: -0.02em; font-size: 1.1rem; z-index: 1001; }
.nav { display: flex; gap: 2rem; }
.nav a { font-size: 0.9rem; color: #aaa; position: relative; }
.nav a:hover { color: var(--accent-color); }
.nav a.active { color: var(--accent-color); }
.nav a.active::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 100%; height: 1px; background: var(--accent-color); }
.hamburger { display: none; background: none; border: none; cursor: pointer; z-index: 1001; padding: 10px; }
.hamburger span { display: block; width: 25px; height: 2px; background-color: var(--text-color); margin: 5px 0; transition: 0.3s; }

/* --- HERO SECTION --- */
.hero { min-height: 70vh; padding: var(--pad); display: flex; flex-direction: column; justify-content: center; border-bottom: 1px solid var(--line-color); background: radial-gradient(circle at 80% 20%, rgba(255,255,255,0.03) 0%, transparent 40%); }
.hero h1 { font-size: clamp(3rem, 7vw, 6rem); line-height: 1.1; letter-spacing: -0.03em; font-weight: 500; margin-bottom: 1.5rem; }
.hero p { font-size: clamp(1.1rem, 2vw, 1.4rem); color: var(--text-muted); max-width: 650px; margin-bottom: 2rem; }
.hero-cta { display: inline-block; border: 1px solid var(--text-color); padding: 1rem 2rem; font-weight: 500; margin-top: 1rem; width: fit-content; }
.hero-cta:hover { background: var(--text-color); color: var(--bg-color); opacity: 1; }

/* --- STATS BAR --- */
.stats-bar { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line-color); }
.stat-item { padding: var(--pad); border-right: 1px solid var(--line-color); text-align: center; }
.stat-item:last-child { border-right: none; }
.stat-number { display: block; font-size: 2.5rem; font-weight: 600; margin-bottom: 0.5rem; }
.stat-desc { font-size: 0.85rem; color: #888; text-transform: uppercase; letter-spacing: 0.05em; }

/* --- FEATURES & PROCESS --- */
.features-section, .process-section { padding: calc(var(--pad)*2) var(--pad); border-bottom: 1px solid var(--line-color); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--pad); margin-top: 2rem; }
.feature-card { transition: transform 0.3s ease; }
.feature-card:hover { transform: translateY(-5px); }
.feature-card h3 { font-size: 1.5rem; margin-bottom: 1rem; font-weight: 400; }
.feature-card p { color: #999; line-height: 1.6; }
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-top: 3rem; counter-reset: step; }
.step::before { counter-increment: step; content: "0" counter(step); font-size: 3rem; font-weight: 700; color: #222; display: block; margin-bottom: 1rem; }
.step h4 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.step p { font-size: 0.9rem; color: #888; }

/* --- INDUSTRIES LIST --- */
.industries-section { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line-color); }
.ind-header { padding: calc(var(--pad)*2) var(--pad); border-right: 1px solid var(--line-color); }
.ind-list { display: flex; flex-direction: column; }
.ind-item { padding: var(--pad); border-bottom: 1px solid var(--line-color); font-size: 1.2rem; color: #999; display: flex; justify-content: space-between; }
.ind-item:last-child { border-bottom: none; }
.ind-item:hover { color: #fff; background: #111; cursor: pointer; }

/* --- GRIDS & CARDS --- */
.services-wrapper { padding: var(--pad); border-bottom: 1px solid var(--line-color); }
.services-grid-clean { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; margin-top: 2rem; }
.service-card-clean { background: #0a0a0a; border: 1px solid var(--line-color); padding: 2rem; transition: transform 0.3s ease, border-color 0.3s ease; display: flex; flex-direction: column; justify-content: space-between; min-height: 300px; }
.service-card-clean:hover { border-color: #fff; transform: translateY(-5px); }
.service-card-clean h3 { font-size: 1.8rem; margin-bottom: 1rem; color: #fff; }
.service-card-clean p { color: #ccc; margin-bottom: 2rem; line-height: 1.6; }
.read-more-btn { align-self: flex-start; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.05em; border-bottom: 1px solid #666; padding-bottom: 2px; }

/* --- DETAIL PAGES --- */
.content-section { padding: 4rem var(--pad); border-bottom: 1px solid var(--line-color); background: #080808; }
.content-wrapper-narrow { max-width: 900px; margin: 0 auto; }
.content-wrapper-narrow h2 { font-size: 2rem; margin-bottom: 1.5rem; color: #fff; }
.content-wrapper-narrow p { font-size: 1.1rem; color: #bbb; line-height: 1.8; margin-bottom: 2rem; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 3rem; }
.feature-item h4 { color: #fff; margin-bottom: 0.5rem; font-size: 1.2rem; }
.feature-item p { font-size: 0.95rem; color: #888; }
.page-hero-img { width: 100%; height: 50vh; object-fit: cover; border-bottom: 1px solid var(--line-color); filter: grayscale(100%) contrast(1.1); }

/* --- CONTACT --- */
.contact-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 4rem; max-width: 1200px; margin: 0 auto; }
.contact-form-wrapper { padding-right: 2rem; border-right: 1px solid var(--line-color); }
.contact-form { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group label { font-size: 0.9rem; color: #888; }
.form-group input, .form-group textarea, .form-select { background: transparent; border: 1px solid var(--line-color); padding: 1rem; color: var(--text-color); font-family: var(--font-stack); font-size: 1rem; width: 100%; }
.form-select option { background: #000; }
.btn-submit { background: var(--text-color); color: var(--bg-color); border: none; padding: 1rem 2rem; font-size: 1rem; font-weight: 600; cursor: pointer; align-self: flex-start; transition: 0.3s; }
.offices-wrapper h2 { font-size: 1.5rem; margin-bottom: 2rem; }
.office-card { margin-bottom: 2.5rem; }
.office-card h3 { font-size: 1.1rem; color: #fff; margin-bottom: 0.5rem; }
.office-card p { font-size: 0.95rem; color: #888; margin-bottom: 0.5rem; line-height: 1.5; }
.office-link { color: #ccc; font-size: 0.95rem; border-bottom: 1px solid #444; }

/* --- INDUSTRY HERO --- */
.industry-hero { min-height: 50vh; display: flex; flex-direction: column; justify-content: flex-end; padding: var(--pad); background: linear-gradient(to top, #050505 0%, transparent 100%); border-bottom: 1px solid var(--line-color); }
.industry-hero h1 { font-size: 4rem; line-height: 1; margin-bottom: 1rem; }
.industry-tag { display: inline-block; padding: 0.5rem 1rem; border: 1px solid #333; border-radius: 50px; font-size: 0.8rem; color: #ccc; margin-bottom: 1rem; width: fit-content; }

/* --- FOOTER --- */
.footer { display: grid; grid-template-columns: repeat(3, 1fr); }
.footer-col { padding: var(--pad); border-right: 1px solid var(--line-color); }
.footer-col:last-child { border-right: none; }

/* --- PARTNERS BAR --- */
.partners-bar { padding: 2rem; background: #0a0a0a; border-bottom: 1px solid var(--line-color); }
.partners-grid { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 2rem; opacity: 0.7; }
.partner-item { font-size: 1.2rem; font-weight: 600; color: #666; text-transform: uppercase; letter-spacing: 0.05em; }

/* --- TECH STACK (New) --- */
.tech-stack { padding: 3rem 2rem; background: #050505; text-align: center; border-bottom: 1px solid #222; }
.tech-logos { display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap; margin-top: 1.5rem; opacity: 0.6; }
.tech-item { font-size: 1.1rem; font-weight: 600; color: #fff; letter-spacing: 1px; text-transform: uppercase; }

/* --- DNA SECTION (New) --- */
.dna-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; margin-top: 3rem; }
.dna-item { border-left: 2px solid #fff; padding-left: 1.5rem; }
.dna-item h4 { color: #fff; font-size: 1.2rem; margin-bottom: 0.5rem; }
.dna-item p { color: #888; font-size: 0.95rem; }

/* --- TESTIMONIALS (Updated) --- */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 2rem; }
.testimonial-card { background: #0a0a0a; border: 1px solid #333; padding: 2rem; border-radius: 4px; display: flex; flex-direction: column; justify-content: space-between; }
.quote { color: #ccc; font-style: italic; margin-bottom: 2rem; line-height: 1.6; flex-grow: 1; }
.testimonial-author-info { display: flex; align-items: center; gap: 1rem; }
.author-photo { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; border: 2px solid #333; }
.author { color: #fff; font-weight: 600; font-size: 1rem; margin: 0; }
.author span { color: #666; font-weight: 400; display: block; font-size: 0.85rem; margin-top: 0.25rem; }

/* --- LEGAL PAGES (New) --- */
.legal-wrapper { max-width: 900px; margin: 0 auto; padding: 4rem 2rem; }
.legal-section { margin-bottom: 4rem; padding-bottom: 2rem; border-bottom: 1px solid #333; }
.legal-section:last-child { border-bottom: none; }
.legal-title { font-size: 2rem; color: #fff; margin-bottom: 1.5rem; }
.legal-text { color: #ccc; line-height: 1.6; margin-bottom: 1rem; }
.legal-text strong { color: #fff; }
.legal-list { padding-left: 1.5rem; color: #ccc; margin-bottom: 1rem; }
.legal-list li { margin-bottom: 0.5rem; }
.nav-legal { display: flex; gap: 1rem; margin-bottom: 3rem; }
.nav-legal a { color: #888; text-decoration: none; border-bottom: 1px solid transparent; transition: 0.3s; }
.nav-legal a:hover { color: #fff; border-bottom-color: #fff; }

/* --- SERVICES EXTRAS --- */
.service-icon { width: 40px; height: 40px; margin-bottom: 1.5rem; stroke: #fff; fill: none; stroke-width: 1.5; }
.cta-section { text-align: center; padding: 6rem 2rem; background: #0a0a0a; border-bottom: 1px solid #333; }
.cta-section h2 { font-size: 2.5rem; margin-bottom: 1rem; color: #fff; }
.cta-section p { color: #888; margin-bottom: 2rem; max-width: 600px; margin-left: auto; margin-right: auto; }
.update-date { font-size: 0.8rem; color: #555; margin-top: 0.5rem; }

/* --- MOBILE --- */
@media (max-width: 768px) {
    :root { --pad: 1.5rem; }
    .header { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .nav { position: fixed; top: 0; right: 0; height: 100vh; width: 100%; background: #050505; flex-direction: column; justify-content: center; align-items: center; transform: translateX(100%); transition: transform 0.4s; }
    .nav.open { transform: translateX(0); }
    .hamburger { display: block; position: absolute; right: var(--pad); top: 1.5rem; }
    .stats-bar { grid-template-columns: 1fr 1fr; }
    .stat-item:nth-child(2) { border-right: none; }
    .stat-item { border-bottom: 1px solid var(--line-color); }
    .features-grid, .process-steps, .industries-section, .footer, .services-grid-clean, .feature-list, .contact-layout { grid-template-columns: 1fr; }
    .ind-header, .footer-col, .contact-form-wrapper { border-right: none; border-bottom: 1px solid var(--line-color); }
    .industry-hero h1 { font-size: 2.5rem; }
}

/* --- UTILS --- */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.8s ease, transform 0.8s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.cookie-banner { position: fixed; bottom: 0; left: 0; width: 100%; background: #111; border-top: 1px solid var(--line-color); padding: 1.5rem var(--pad); display: flex; justify-content: space-between; align-items: center; z-index: 2000; transition: transform 0.5s ease; }
.cookie-banner.hidden { transform: translateY(100%); }
.btn-cookie { background: #fff; color: #000; border: none; padding: 0.5rem 1.5rem; cursor: pointer; font-weight: 600; }