/* ==================================================
   PacNex Group – Corporate Styles (FINAL)
================================================== */

/* ===============================
   Base Reset
================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont,
                 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #111827;
    background: #ffffff;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ===============================
   Typography
================================ */
h1, h2, h3 {
    font-weight: 600;
    margin: 0 0 16px 0;
}

h1 {
    font-size: 38px;
    line-height: 1.2;
}

h2 {
    font-size: 26px;
    position: relative;
    padding-left: 20px;
}

h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 3px;
    height: 70%;
    background: #111827;
    border-radius: 2px;
}

h3 {
    font-size: 20px;
    margin-top: 28px;
}

p {
    margin: 0 0 16px 0;
    color: #4b5563;
}

/* ===============================
   Layout
================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.content-block {
    max-width: 760px;
}

/* ===============================
   Header / Navigation
================================ */
.site-header {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.brand-logo {
    height: 32px;
}

/* Desktop nav */
.main-nav {
    display: flex;
    align-items: center;
}

.main-nav a {
    margin-left: 24px;
    font-size: 14px;
    font-weight: 500;
    color: #6b7280;
}

.main-nav a:hover {
    color: #111827;
}

.nav-cta {
    margin-left: 28px;
    padding: 8px 18px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 13px;
}

/* Hamburger */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #111827;
    margin: 5px 0;
}

/* ===============================
   Hero & Sections
================================ */
.hero {
    padding: 64px 0 48px;
}


.hero-block {
    border-left: 4px solid #111827;
    padding-left: 20px;
}

.hero-meta {
    font-size: 14px;
    color: #6b7280;
    margin-top: 24px;
}

.section {
    padding: 56px 0;
}

.section.alt {
    background: #f8f9fb;
}

/* ===============================
   Grid / Cards
================================ */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
    margin-top: 40px;
}

.card {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 28px;
    background: #ffffff;
}

.muted {
    color: #6b7280;
}

/* ===============================
   Lists
================================ */
ul {
    list-style: none;
    padding-left: 0;
}

ul li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 10px;
}

ul li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: #9ca3af;
}

/* ===============================
   Buttons
================================ */
.primary-btn {
    display: inline-block;
    margin-top: 24px;
    padding: 12px 22px;
    background: #111827;
    color: #ffffff;
    border-radius: 6px;
}

.primary-btn:hover {
    background: #000000;
}

.small-note {
    margin-top: 12px;
    font-size: 13px;
    color: #6b7280;
}

/* ===============================
   Footer
================================ */
.site-footer {
    background: #111827;
    color: #d1d5db;
    padding: 40px 24px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-brand {
    font-weight: 600;
    font-size: 14px;
}

.footer-meta {
    font-size: 12px;
    color: #9ca3af;
    margin-top: 6px;
}

.footer-right a {
    font-size: 12px;
    margin-left: 20px;
}

.footer-right a:hover {
    color: #ffffff;
}

/* ===============================
   MOBILE STYLES (CRITICAL)
================================ */
@media (max-width: 900px) {

    /* Header */
    .nav-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: 72px;
        left: 0;
        width: 100%;
        background: #ffffff;
        border-top: 1px solid #e5e7eb;
        display: none;
        flex-direction: column;
        padding: 16px 24px;
    }

    .main-nav.active {
        display: flex;
    }

    .main-nav a {
        margin: 12px 0;
        font-size: 15px;
    }

    .nav-cta {
        margin: 16px 0 0;
        width: fit-content;
    }

    /* Typography */
    h1 { font-size: 30px; }
    h2 { font-size: 22px; }

    /* Footer */
    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-right a {
        margin-left: 0;
        margin-right: 16px;
    }
}
