/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #0b0c10; /* deep charcoal */
    color: #e8e8e8;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
a { color: #f97316; text-decoration: none; }
a:hover { color: #fb923c; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.skip-link {
    position: absolute; top: -100px; left: 1rem; background: #f97316; color: #0b0c10; padding: 0.5rem 1rem;
    z-index: 1000; border-radius: 0 0 4px 4px; font-weight: 600;
}
.skip-link:focus { top: 0; }

/* ===== HEADER ===== */
.site-header {
    background: #16181d;
    border-bottom: 1px solid #2a2d35;
    position: sticky; top: 0; z-index: 500;
}
.header-inner {
    display: flex; align-items: center; justify-content: space-between; padding: 0.75rem 1.5rem;
}
.logo {
    font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; color: #f97316;
}
.mobile-toggle {
    display: none; background: none; border: none; color: #e8e8e8; font-size: 1.8rem; cursor: pointer; padding: 0.25rem;
}
.main-nav ul {
    display: flex; gap: 1.5rem; align-items: center;
}
.main-nav a {
    color: #c0c4cc; font-weight: 500; font-size: 0.95rem; transition: color 0.2s;
}
.main-nav a:hover, .main-nav a:focus { color: #f97316; }

/* ===== MOBILE NAV ===== */
@media (max-width: 768px) {
    .mobile-toggle { display: block; }
    .main-nav {
        display: none; position: absolute; top: 100%; left: 0; right: 0; background: #16181d;
        border-bottom: 1px solid #2a2d35; padding: 1rem;
    }
    .main-nav.open { display: block; }
    .main-nav ul { flex-direction: column; gap: 0.75rem; }
    .main-nav a { display: block; padding: 0.5rem 0; }
}

/* ===== HERO ===== */
.hero {
    padding: 5rem 0 4rem;
    background: linear-gradient(145deg, #0b0c10 0%, #1a1d24 100%);
}
.hero-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
}
.hero-text h1 {
    font-size: 2.8rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; color: #ffffff;
    margin-bottom: 1rem;
}
.hero-text p {
    font-size: 1.15rem; color: #b0b4be; margin-bottom: 2rem; max-width: 90%;
}
.hero-visual {
    display: flex; justify-content: center; align-items: center;
}
.abstract-network {
    width: 220px; height: 220px; position: relative;
}
.node {
    position: absolute; width: 18px; height: 18px; border-radius: 50%; background: #f97316;
}
.node-1 { top: 10%; left: 20%; }
.node-2 { top: 50%; right: 10%; }
.node-3 { bottom: 15%; left: 50%; }
.node-4 { bottom: 50%; left: 10%; }
.connector {
    position: absolute; top: 50%; left: 50%; width: 120px; height: 2px; background: #f97316;
    transform: rotate(45deg); opacity: 0.5;
}
@media (max-width: 768px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-text p { max-width: 100%; }
    .hero-text h1 { font-size: 2rem; }
    .hero-visual { display: none; }
}

/* ===== SECTIONS ===== */
.section { padding: 4.5rem 0; }
.section-title {
    font-size: 2rem; font-weight: 700; color: #ffffff; margin-bottom: 2.5rem; letter-spacing: -0.02em;
}

/* ===== EXPERTISE CARDS ===== */
.cards-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem;
}
.card {
    background: #1e2028; border-radius: 12px; padding: 2rem 1.5rem;
    border: 1px solid #2e313b; transition: transform 0.3s, border-color 0.3s;
}
.card:hover { transform: translateY(-4px); border-color: #f97316; }
.card h3 { color: #f97316; margin-bottom: 0.75rem; font-size: 1.2rem; }
.card p { color: #b0b4be; font-size: 0.95rem; }

/* ===== COUNTERS ===== */
.impact { background: #0f1117; }
.counters-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; text-align: center;
    margin-bottom: 0.75rem;
}
.counter-item {
    font-size: 3rem; font-weight: 800; color: #f97316; padding: 0.5rem;
}
.counters-labels {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; text-align: center;
    color: #888d99; font-size: 0.9rem;
}
@media (max-width: 600px) {
    .counters-grid, .counters-labels { grid-template-columns: repeat(2, 1fr); }
}

/* ===== APPROACH ===== */
.approach-layout {
    display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
}
.approach-text p { color: #b0b4be; font-size: 1.05rem; line-height: 1.8; }
.approach-steps .step {
    display: flex; align-items: center; gap: 1rem; padding: 0.75rem 0;
    border-bottom: 1px solid #2a2d35; color: #c0c4cc; font-weight: 500;
}
.approach-steps .step span { color: #f97316; font-weight: 700; font-size: 1.1rem; min-width: 2rem; }
@media (max-width: 768px) {
    .approach-layout { grid-template-columns: 1fr; }
}

/* ===== CONTACT ===== */
.contact { background: #0f1117; }
.contact-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem;
}
.contact-info p { margin-bottom: 0.6rem; color: #c0c4cc; }
.contact-info strong { color: #f97316; }
.contact-form label { display: block; margin-bottom: 0.3rem; font-weight: 500; color: #e8e8e8; }
.contact-form input, .contact-form textarea {
    width: 100%; padding: 0.7rem 1rem; margin-bottom: 1.2rem; border: 1px solid #2e313b;
    border-radius: 8px; background: #1a1d24; color: #e8e8e8; font-size: 1rem; transition: border 0.2s;
}
.contact-form input:focus, .contact-form textarea:focus {
    outline: none; border-color: #f97316;
}
.form-feedback { margin-top: 0.5rem; color: #f97316; font-weight: 500; }
@media (max-width: 768px) {
    .contact-grid { grid-template-columns: 1fr; }
}

/* ===== BUTTON ===== */
.button {
    display: inline-block; padding: 0.8rem 2rem; border-radius: 8px; font-weight: 600;
    font-size: 1rem; cursor: pointer; border: none; transition: background 0.3s, transform 0.2s;
}
.button-primary {
    background: #f97316; color: #0b0c10;
}
.button-primary:hover {
    background: #fb923c; color: #0b0c10; transform: scale(1.02);
}

/* ===== LEGAL PAGES ===== */
.legal-page {
    padding: 3rem 1.5rem 5rem;
}
.legal-page h1 {
    font-size: 2.2rem; font-weight: 700; color: #ffffff; margin-bottom: 0.25rem;
}
.legal-page .effective-date {
    color: #888d99; margin-bottom: 2rem; font-size: 0.95rem;
}
.legal-page section {
    margin-bottom: 2rem;
}
.legal-page h2 {
    font-size: 1.3rem; color: #f97316; margin-bottom: 0.6rem; margin-top: 1.5rem;
}
.legal-page p {
    font-size: 1rem; line-height: 1.7; color: #c0c4cc; margin-bottom: 0.5rem;
}
.legal-page a {
    color: #fb923c;
}

/* ===== FOOTER ===== */
.site-footer {
    background: #16181d; border-top: 1px solid #2a2d35; padding: 1.5rem 0;
    text-align: center; color: #888d99; font-size: 0.9rem;
}
.footer-inner p { margin-bottom: 0.3rem; }
.footer-inner a { color: #f97316; }

/* ===== SCROLL FADE ===== */
.scroll-fade {
    opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease;
}
.scroll-fade.visible {
    opacity: 1; transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 480px) {
    .hero-text h1 { font-size: 1.7rem; }
    .section-title { font-size: 1.6rem; }
    .counter-item { font-size: 2.2rem; }
}