/* ===== Lucex Consulting — Global Styles ===== */
:root {
    --navy: #0a1628;
    --navy-light: #132040;
    --gold: #c8963e;
    --gold-light: #e0b860;
    --white: #ffffff;
    --gray-50: #f8f9fb;
    --gray-100: #edf0f4;
    --gray-200: #d8dce3;
    --gray-400: #8b95a5;
    --gray-600: #4a5568;
    --gray-800: #1f2a3f;
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --shadow-sm: 0 1px 3px rgba(10,22,40,0.06);
    --shadow-md: 0 4px 16px rgba(10,22,40,0.10);
    --shadow-lg: 0 12px 40px rgba(10,22,40,0.12);
    --radius: 8px;
    --radius-lg: 12px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    color: var(--gray-800);
    background: var(--white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

/* ===== Typography ===== */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; color: var(--navy); }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); letter-spacing: -0.01em; }
h3 { font-size: 1.25rem; }

.section-subtitle {
    color: var(--gray-400);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0.5rem auto 0;
}

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

/* ===== Navbar ===== */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(10,22,40,0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 0 2rem;
    height: 68px;
    display: flex; align-items: center; justify-content: space-between;
}

.nav-logo {
    font-size: 1.5rem; font-weight: 800; color: var(--white);
    text-decoration: none; letter-spacing: -0.01em;
}
.nav-logo span { color: var(--gold); }

.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
    color: rgba(255,255,255,0.78); text-decoration: none;
    font-size: 0.92rem; font-weight: 500;
    transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }

.nav-cta {
    background: var(--gold);
    color: var(--navy) !important;
    padding: 0.5rem 1.25rem;
    border-radius: 6px;
    font-weight: 600 !important;
    transition: background 0.2s;
}
.nav-cta:hover { background: var(--gold-light); }

.mobile-toggle {
    display: none; background: none; border: none; cursor: pointer;
    flex-direction: column; gap: 5px;
}
.mobile-toggle span {
    display: block; width: 24px; height: 2px;
    background: var(--white); border-radius: 2px;
}

/* ===== Hero ===== */
.hero {
    min-height: 92vh;
    display: flex; align-items: center;
    background: linear-gradient(135deg, var(--navy) 0%, #0f1f3d 50%, #132848 100%);
    position: relative; overflow: hidden;
    padding: 6rem 2rem 4rem;
}

.hero::before {
    content: '';
    position: absolute; top: -50%; right: -20%;
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(200,150,62,0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content { max-width: 700px; position: relative; z-index: 1; }

.hero-badge {
    display: inline-block;
    background: rgba(200,150,62,0.15);
    color: var(--gold-light);
    font-size: 0.85rem; font-weight: 600;
    padding: 0.4rem 1rem; border-radius: 20px;
    margin-bottom: 1.5rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hero h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero p {
    color: rgba(255,255,255,0.72);
    font-size: 1.15rem; max-width: 540px;
    margin-bottom: 2rem; line-height: 1.8;
}

.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn {
    display: inline-block; padding: 0.8rem 1.75rem;
    border-radius: 6px; font-weight: 600; font-size: 0.95rem;
    text-decoration: none; transition: all 0.2s; cursor: pointer;
    border: none;
}

.btn-primary { background: var(--gold); color: var(--navy); }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }

.btn-outline {
    background: transparent; color: var(--white);
    border: 1.5px solid rgba(255,255,255,0.3);
}
.btn-outline:hover { border-color: var(--white); }

/* ===== Sections ===== */
.section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center; margin-bottom: 3.5rem;
}

/* ===== Service Cards ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 2rem 1.75rem;
    transition: box-shadow 0.25s, transform 0.25s;
}
.service-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.service-icon {
    width: 48px; height: 48px;
    background: rgba(200,150,62,0.12);
    border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; margin-bottom: 1.25rem;
}

.service-card h3 { margin-bottom: 0.6rem; }
.service-card p { color: var(--gray-600); font-size: 0.94rem; }

/* ===== Trust Bar ===== */
.trust-bar {
    background: var(--gray-50);
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
    padding: 2.5rem 2rem;
}

.trust-inner {
    max-width: 1200px; margin: 0 auto;
    display: flex; align-items: center; justify-content: center;
    gap: 3rem; flex-wrap: wrap;
}

.trust-label {
    color: var(--gray-400); font-size: 0.85rem;
    font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.06em;
}

.trust-logos {
    display: flex; gap: 2.5rem; align-items: center;
    flex-wrap: wrap; justify-content: center;
}

.trust-logo {
    color: var(--gray-400); font-weight: 700; font-size: 1.05rem;
    letter-spacing: 0.02em; opacity: 0.7;
}

/* ===== About ===== */
.about-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 4rem; align-items: center;
}

.about-text h2 { margin-bottom: 1.25rem; }
.about-text p { color: var(--gray-600); margin-bottom: 1rem; }

.stats-row { display: flex; gap: 2.5rem; margin-top: 2rem; }

.stat h3 {
    font-size: 2rem; color: var(--gold);
    margin-bottom: 0.2rem;
}
.stat p { font-size: 0.88rem; color: var(--gray-400); margin: 0; }

.about-visual {
    background: var(--navy);
    border-radius: var(--radius-lg);
    padding: 3rem;
    text-align: center;
    color: var(--white);
}
.about-visual h3 { color: var(--white); margin-bottom: 0.5rem; }
.about-visual p { color: rgba(255,255,255,0.65); font-size: 0.94rem; }

/* ===== Case Studies ===== */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 1.5rem;
}

.case-card {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: box-shadow 0.25s;
}
.case-card:hover { box-shadow: var(--shadow-lg); }

.case-banner {
    height: 160px;
    background: linear-gradient(135deg, var(--navy-light) 0%, #1a3358 100%);
    display: flex; align-items: center; justify-content: center;
}
.case-banner span {
    color: rgba(255,255,255,0.25);
    font-size: 2rem; font-weight: 800;
}

.case-body { padding: 1.5rem; }
.case-body .tag {
    display: inline-block;
    background: rgba(200,150,62,0.12);
    color: var(--gold);
    font-size: 0.78rem; font-weight: 600;
    padding: 0.2rem 0.65rem; border-radius: 4px;
    margin-bottom: 0.75rem;
}
.case-body h3 { margin-bottom: 0.5rem; }
.case-body p { color: var(--gray-600); font-size: 0.92rem; }

/* ===== CTA Banner ===== */
.cta-banner {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    text-align: center;
    padding: 5rem 2rem;
}

.cta-banner h2 { color: var(--white); margin-bottom: 0.75rem; }
.cta-banner p {
    color: rgba(255,255,255,0.65);
    max-width: 500px; margin: 0 auto 2rem;
    font-size: 1.05rem;
}

/* ===== Contact ===== */
.contact-grid {
    display: grid; grid-template-columns: 1fr 1.3fr;
    gap: 3rem; max-width: 900px;
}

.contact-info h2 { margin-bottom: 1rem; }
.contact-info p { color: var(--gray-600); margin-bottom: 2rem; }

.contact-detail {
    display: flex; gap: 0.75rem; align-items: flex-start;
    margin-bottom: 1.25rem;
}
.contact-detail .icon {
    font-size: 1.2rem; min-width: 28px; text-align: center;
}
.contact-detail strong { display: block; font-size: 0.9rem; }
.contact-detail span { color: var(--gray-600); font-size: 0.9rem; }

.contact-form {
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid var(--gray-200);
}

.form-group { margin-bottom: 1.25rem; }
.form-group label {
    display: block; font-size: 0.88rem; font-weight: 600;
    color: var(--navy); margin-bottom: 0.35rem;
}
.form-group input, .form-group textarea, .form-group select {
    width: 100%; padding: 0.7rem 0.9rem;
    border: 1px solid var(--gray-200);
    border-radius: 6px; font-size: 0.94rem;
    font-family: var(--font-sans);
    transition: border-color 0.2s;
    background: var(--white);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    outline: none; border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(200,150,62,0.1);
}

/* ===== Footer ===== */
.footer {
    background: var(--navy);
    color: rgba(255,255,255,0.55);
    padding: 3rem 2rem 1.5rem;
}

.footer-inner {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2.5rem;
}

.footer-brand h3 { color: var(--white); margin-bottom: 0.5rem; }
.footer-brand h3 span { color: var(--gold); }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; }

.footer-col h4 {
    color: var(--white); font-size: 0.85rem;
    text-transform: uppercase; letter-spacing: 0.05em;
    margin-bottom: 1rem;
}
.footer-col a {
    display: block; color: rgba(255,255,255,0.5);
    text-decoration: none; font-size: 0.9rem;
    margin-bottom: 0.5rem; transition: color 0.2s;
}
.footer-col a:hover { color: var(--gold); }

.footer-bottom {
    max-width: 1200px; margin: 2rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    text-align: center; font-size: 0.82rem;
}

/* ===== Page Hero (inner pages) ===== */
.page-hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    padding: 8rem 2rem 4rem;
    text-align: center;
}
.page-hero h1 { color: var(--white); margin-bottom: 0.75rem; }
.page-hero p { color: rgba(255,255,255,0.6); font-size: 1.1rem; max-width: 550px; margin: 0 auto; }

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-toggle { display: flex; }

    .nav-links.open {
        display: flex; flex-direction: column;
        position: absolute; top: 68px; left: 0; right: 0;
        background: var(--navy);
        padding: 1.5rem 2rem; gap: 1.25rem;
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }

    .hero { min-height: auto; padding: 8rem 1.5rem 4rem; }
    .about-grid { grid-template-columns: 1fr; gap: 2rem; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .cases-grid { grid-template-columns: 1fr; }
    .stats-row { gap: 1.5rem; }
}
