:root {
    --primary: #007bff;
    --dark: #0f172a;
    --light: #f8fafc;
    --accent: #f97316;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --footer-bg: #111827;
}

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

body { 
    font-family: 'Inter', -apple-system, sans-serif; 
    line-height: 1.6; 
    color: var(--dark);
    background-color: #fff;
    overflow-x: hidden;
}

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

/* --- NAVIGATION & HEADER --- */
header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 1rem 0; 
}

.logo-wrapper { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.header-img { height: 45px; width: auto; border-radius: 4px; }
.logo { font-weight: 800; font-size: 1.4rem; letter-spacing: -1px; }
.logo span { color: var(--primary); }

.nav-links { display: flex; list-style: none; gap: 25px; align-items: center; }
.nav-links a { text-decoration: none; color: var(--dark); font-weight: 500; transition: 0.3s; }
.nav-links a:hover { color: var(--primary); }

/* --- HERO SECTION --- */
.hero { 
    background: linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.85)), 
                url('images/hero-bg.jpg') no-repeat center center/cover;
    color: white; 
    padding: 140px 0; 
    text-align: center;
}

.hero h1 { font-size: clamp(2.5rem, 6vw, 4rem); line-height: 1.1; margin-bottom: 1.5rem; }
.hero p { font-size: 1.25rem; max-width: 700px; margin: 0 auto 2rem; opacity: 0.9; }
.hero-btns { display: flex; gap: 15px; justify-content: center; }

/* --- SERVICES GRID --- */
.section-title { text-align: center; margin: 80px 0 40px; font-size: 2.2rem; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.card {
    background: var(--light);
    padding: 40px;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border);
}

.card:hover { 
    transform: translateY(-10px); 
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1); 
    border-color: var(--primary);
}

.card .icon { 
    font-size: 2.5rem; 
    color: var(--primary); 
    margin-bottom: 1.5rem; 
    transition: 0.3s;
}

.card:hover .icon { transform: scale(1.1); color: var(--accent); }

/* --- AUDIT PAGE & FORMS --- */
.audit-hero { 
    background: var(--dark); 
    color: white; 
    padding: 80px 0 120px; 
    text-align: center; 
}

.audit-container { 
    max-width: 750px !important; 
    margin: -60px auto 80px !important; 
    position: relative; 
    z-index: 10; 
}

.audit-form {
    background: white;
    padding: 45px;
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 22px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 8px; font-size: 0.9rem; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 14px; border: 1px solid var(--border); border-radius: 6px; font-size: 1rem;
}

/* --- FOOTER SECTION --- */
.site-footer {
    background: var(--footer-bg);
    color: white;
    padding: 80px 0 0;
    margin-top: 80px;
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 60px;
    align-items: start;
}

.footer-brand .logo { font-size: 1.6rem; margin-bottom: 15px; }
.footer-brand p { color: #94a3b8; max-width: 320px; margin-top: 15px; line-height: 1.7; }

.footer-links h4 { 
    margin-bottom: 25px; 
    font-size: 0.85rem; 
    color: white; 
    text-transform: uppercase; 
    letter-spacing: 1.5px; 
    font-weight: 700;
}

.footer-links ul { list-style: none; padding: 0; margin: 0; }
.footer-links ul li { 
    margin-bottom: 14px; 
    color: #94a3b8; 
    display: flex; 
    align-items: center; 
    gap: 10px;
}

.footer-links ul li a { 
    color: #94a3b8; 
    text-decoration: none; 
    transition: all 0.3s ease; 
}

.footer-links ul li a:hover { 
    color: var(--primary); 
    padding-left: 8px; 
}

.footer-socials a { font-size: 1.2rem; transition: 0.3s; text-decoration: none; }
.footer-socials a:hover { color: var(--primary) !important; }

.footer-bottom {
    background: #0b111d;
    padding: 30px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-bottom span { font-weight: 600; }

/* --- BUTTONS --- */
.btn { 
    background: var(--primary); color: white !important; padding: 12px 24px; border-radius: 6px; 
    text-decoration: none; font-weight: 600; transition: 0.3s; display: inline-block; border: none;
    cursor: pointer;
}
.btn:hover { background: #0056b3; transform: translateY(-2px); }

.btn-alt { 
    border: 2px solid white; color: white !important; padding: 12px 24px; border-radius: 6px; 
    text-decoration: none; font-weight: 600; transition: 0.3s;
}
.btn-alt:hover { background: white; color: var(--dark) !important; }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero { padding: 80px 0; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .footer-brand p { margin: 15px auto; }
    .footer-links ul li { justify-content: center; }
    .footer-socials { justify-content: center; }
    .footer-bottom .container { flex-direction: column; text-align: center; gap: 15px; }
    .form-row { grid-template-columns: 1fr; }
}